function showpopup(path, file, windowname, print) {
	if (windowname == undefined) windowname = '';
	msgWindow=window.open("", '', 'fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no, width=850,height=600,left='+((screen.availWidth/2)-425)+',top='+((screen.availHeight/2)-300));
	msgWindow.document.write('<html><head>');
	msgWindow.document.write('<title>'+windowname+'</title>');
	msgWindow.document.write('</head><body LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>');
	msgWindow.document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="850" height="600" id="banner" align="middle">');
	msgWindow.document.write('<param name="allowScriptAccess" value="sameDomain" />');
	msgWindow.document.write('<param name="allowFullScreen" value="false" />');
	msgWindow.document.write('<param name="movie" value="loadPage_1.swf" />');
	msgWindow.document.write('<param name="quality" value="high" />');
	msgWindow.document.write('<param name="bgcolor" value="#FFFFFF" />');
	msgWindow.document.write('<param name="flashvars" value="p1='+path+'&f='+file+'&p2='+print+'" />');
	msgWindow.document.write('<embed src="loadPage_1.swf" flashvars="p1='+path+'&f='+file+'&p2='+print+'" quality="high" bgcolor="#FFFFFF" width="850" height="600" name="banner" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	msgWindow.document.write('</object>');
	msgWindow.document.write('</body></html>');
	msgWindow.document.close();

  }