function popWindow(fileType,fileName,fileWidth,fileHeight,alt,posLeft,posTop) {  // v4.01
	newWindow = open("jpg","newWindow","width="+fileWidth+",height="+fileHeight+",scrollbars=auto,left="+posLeft+",top="+posTop);
	//window.open("jpg","newWindow","width="+fileWidth+",height="+fileHeight+",scrollbars=auto,left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html>\n<head>\n<title>'+alt+'</title>\n<link rel="stylesheet" media="screen" href="css.css" type="text/css" />\n</head>\n<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">\n'); 
	if (fileType == "swf"){
	newWindow.document.write('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"'+fileWidth+'\" height=\"'+fileHeight+'\">');
	newWindow.document.write('<param name=movie value=\"'+fileName+'\"><param name=quality value=high>');
	newWindow.document.write('<embed src=\"'+fileName+'\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"'+fileWidth+'\" height=\"'+fileHeight+'\">');
	newWindow.document.write('</embed></object>');	
	} else if (fileType == "php") {
		newWindow.document.write('<?php include(\"'+fileName+'\"); ?>'); 
	} else {
		
		newWindow.document.write('<img src=\"'+fileName+'\" width='+fileWidth+' height='+fileHeight+' alt=\"'+alt+'\">'); 	
	}
	newWindow.document.write('</body>\n</html>');
	newWindow.document.close();
	newWindow.focus();

}
