function ShowPreview(fileName,msg,msg1)
	{
		
		var wt,ht,src,WndHandle;
		wt = screen.availWidth/2 - 350;
		ht = screen.availHeight/2 - 350;
		if (fileName.indexOf(".pdf") != -1) {
			WndHandle = window.open ("pdf/"+fileName,"newWindow","width=780,height=550,top="+0+",left="+0+",addressbar=no,scrollbars=yes");
			WndHandle.focus();
		}
		else {
			WndHandle = window.open ("","newWindow","width=780,height=550,top="+0+",left="+0+",addressbar=no,scrollbars=yes");
			WndHandle.document.open();
			WndHandle.document.write("<html><link rel='stylesheet' href='clasticon.css' type='text/css'><Title>"+msg+"</Title><body class='bgpop' leftmargin='0' topmargin='0'><br><span class='popcontent'>"+msg+msg1+"</span><table width=100% height=100% border=0><tr><td valign=top align=center><br><img src='images/"+fileName+"' alt='"+msg+"' align='top'></td></tr><tr><td span class='copyright'><br><br><a href='javascript:window.close();'>Close</a></td></tr></table></body></html>");
			WndHandle.document.close();
			WndHandle.focus();
		}
	}
