function LoadSWFmain(movie, width, height, id) {


	
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="'+id+'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+width+'" height="'+height+'">\n');
	document.write('<param name="allowScriptAccess" value="sameDomain">')
	document.write('<param name="movie" value="'+movie+'">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="menu" value="false">\n');
	document.write('<param name="scale" value="noscale">\n');
	document.write('<param name="salign" value="lt">\n');
	document.write('<param name="wmode" value="transparent">\n');	
	document.write('<param name="bgcolor" value="#000000">');
	document.write('<embed src="'+movie+'" width="'+width+'" height="'+height+'"  name="'+id+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false"  scale="noscale"  salign="lt" wmode="transparent"></embed>\n');
	document.write('</object>\n');

	
}

