// JavaScript Document

// This code was added to
// Insert Flash Object in Web Page
// To make it W3 Complient

function insertFlash()
{
	var str;
	var flash;
	var width;
	var height;
	var container;
	
	// Duplicate this block in case of multiple sockwave files
	if(document.getElementById("indexFlash") != null)
	{
		container = document.getElementById("indexFlash");
		flash = "Final.swf";
		width = 449;
		height = 210;
	}
	
	// Do not modify below this
	if(container && flash && width && height)
	{
		str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + width + '" height="' + height + '">';
		str += '<param name="movie" value="' + flash +'">';
		str += '<param name="quality" value="high">';
		str += '<embed src="' + flash + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>';
		str += '</object>';
		
		container.innerHTML = str;
	}
}