function WriteSWF(sMovie, sWidth, sHeight, sWindowMode)
{
	document.writeln('<object '); 
	document.writeln('classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ');
	document.writeln('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
	document.writeln('width="' + sWidth + '" '); 
	document.writeln('height="' + sHeight + '">');
	document.writeln('<param name="movie" value="' + sMovie + '">'); 
	document.writeln('<param name="quality" value="high">'); 
	document.writeln('<param name="wmode" value="' + sWindowMode + '">');
	document.writeln('<embed src="' + sMovie + '" '); 
	document.writeln('quality="high" '); 
	document.writeln('wmode="' + sWindowMode + '" '); 
	document.writeln('width="' + sWidth + '" '); 
	document.writeln('height="' + sHeight + '" '); 
	document.writeln('type="application/x-shockwave-flash" ');
	document.writeln('pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
	document.writeln('</object>');
}
function WriteSWFhome(sMovie, sWidth, sHeight, sWindowMode)
{
	document.writeln('<style ');
	document.writeln('>'); 
	document.writeln('.sIFR-hasFlash h2 { font-size: 23px; padding:0; margin:15px 0 30px 0;}'); 
	document.writeln('</style>');	
	document.writeln('<h2><object '); 
	document.writeln('classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ');
	document.writeln('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
	document.writeln('width="' + sWidth + '" '); 
	document.writeln('height="' + sHeight + '">');
	document.writeln('<param name="movie" value="' + sMovie + '">'); 
	document.writeln('<param name="quality" value="high">'); 
	document.writeln('<param name="bgcolor" value="#6a4988">');	
	document.writeln('<param name="wmode" value="' + sWindowMode + '">');
	document.writeln('<embed src="' + sMovie + '" bgcolor="#6a4988" '); 
	document.writeln('quality="high" '); 
	document.writeln('wmode="' + sWindowMode + '" '); 
	document.writeln('width="' + sWidth + '" '); 
	document.writeln('height="' + sHeight + '" '); 
	document.writeln('type="application/x-shockwave-flash" ');
	document.writeln('pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
	document.writeln('</object></h2>');
}
/*
function WriteHPSWF() {
document.writeln('<object '); 
document.writeln('classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ');
document.writeln('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
document.writeln('width="200" '); 
document.writeln('height="92" class="sIFR-flash">');
document.writeln('<param name="movie" value="swf/foundrymonomed.swf?txt=Great news for <br />your holidays with <br />Virgin Atlantic!&textcolor=#ffffff&w=200&h=92">'); 
document.writeln('<param name="quality" value="high">'); 
document.writeln('<param name="bgcolor" value="#6a4988">'); 
document.writeln('<embed class="sIFR-flash" src="swf/foundrymonomed.swf" '); 
document.writeln('quality="high" bgcolor="#6a4988" '); 
document.writeln('width="200" '); 
document.writeln('height="92" sifr="true" ');
document.writeln('flashvars="txt=Great news for <br />your holidays with <br />Virgin Atlantic!&textcolor=#ffffff&w=200&h=92" ');
document.writeln('type="application/x-shockwave-flash" ');
document.writeln('pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.writeln('</object>');	
}
*/