/* JavaScript Document
This function takes the path for a swf file (relative to the webpage that embeds this js)
and a collection image (preferably a gif) 650px wide and height of around 24px
*/
function loadSwfNewWin(page,img){	
	var output ='<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'
	output+='<title>SCETI Collection Document</title><link href="/CSS/globalv5.css" rel="stylesheet" type="text/css" /></head><body><center>'
	output +='<img src="'+img+'" alt="top logo" />' 
	output += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="660" height="760" name="mainflash" align="top" id="mainflash"  title="SCETI">';
	output += '<param name="movie" value="/core/swf/myLoader.swf?myFile='+page+'" />';
	output += '<param name="quality" value="high" />';
	output += '<param name="LOOP" value="false" />';
	output += '<param name="BGCOLOR" value="#333333" />';
	output += '<embed src="/core/swf/myLoader.swf?myFile='+page+'" width="660" height="760" loop="false" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#333333" name="mainflash" id="embedMovie" swliveconnect="true" allowScriptAccess="always"></embed>';
	output += '</object></center></body></html>';

	OpenWindow=window.open("","newwin","height=800, width=700,scrollbars=yes,resizable=yes,status=no,toolbar=no");
	OpenWindow.document.write(output);
	OpenWindow.document.close();
}