<!--
// Write Flash Object to Bypass MSIE Interactivity

//#############################
//#####   Homepage Flash  #####
//#############################

function writeFlash() {
	
	var flashSource = "base.swf";          //Flash File Location
	var flashName = "base";                 //Reference Name
	var flashQuality = "high";                 //Default Playback Quality
	var flashWidth = "100%";                   //Flash Width
	var flashHeight = "100%";                  //Flash Height
	var flashID = "shell";                     //HTML ID of Flash
	var flashAlign = "middle";                 //Horizontal Alignment
	var flashSalign = "TC";                    //Horizontal Alignment
	var flashBGColor = "#ebe8e9";              //Background Color Hex Value
	var flashPlay = "true";                    //Autoplay (true/false)
	var flashLoop = "false";                   //Loop (true/false)	
	var flashAllowScriptAccess = "sameDomain"; //Script Scope
	var flashMenu = "false";                   //Allow Right Click
	var flashScale = "noscale";			   //scaling	
	
	//////////////////////////////////////////////////////////////////////////////////	
	
	// Flash Embed Constructor
	var l1 = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="' + flashWidth + '" height="' + flashHeight + '" id="' + flashID + '" align="' + flashAlign + '" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" >';
	var l2 = '<param name="allowScriptAccess" value="' + flashAllowScriptAccess + '" />';
	var l3 = '<param name="movie" value="' + flashSource + '" />';
	var l4 = '<param name="menu" value="' + flashMenu + '" />';
	var l5 = '<param name="quality" value="' + flashQuality + '" />';
	var l6 = '<param name="salign" value="' + flashSalign + '" />';
	var l7 = '<param name="bgcolor" value="' + flashBGColor + '" />';
	var l9 = '<param name="scale" value="' + flashScale + '" />';
	var l8 = '<embed src="' + flashSource + '" quality="' + flashQuality + '" bgcolor="' + flashBGColor + '" scale="' + flashScale + '" width="' + flashWidth + '" height="' + flashHeight + '" name="' + flashName + '" align="' + flashAlign + '" salign="' + flashSalign + '" play="' + flashPlay + '" loop="' + flashLoop + '" allowScriptAccess="' + flashAllowScriptAccess + '" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" >';
	

	// write all lines
	document.write(l1+l2+l3+l4+l5+l6+l7+l9+l8);
}

//-->

