function DT_WriteFlashCode()
{
    var player = new MM_FlashInfo();

    if (player.installed)
	{
		DT_WriteObjectEmbed();
    }
    else
    {
		document.write("<img src=\"images/overview/homepage.jpg\" width=\"686\" height=\"201\">");
    }

}

function DT_WriteObjectEmbed()
{
		document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0\" width=\"686\" height=\"201\">");
		document.write("<param name=movie value=\"images/overview/ivarson_11_02.swf\">");
		document.write("<param name=quality value=high>");
		document.write("<embed src=\"images/overview/ivarson_11_02.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"686\" height=\"201\">");
		document.write("</embed>");
		document.write("</object>");
}

function DT_TestFlashCode()
{
	alert("Detecting Flash...");
	
    var player = new MM_FlashInfo();

    if (player.installed)
	{
		document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0\" width=\"686\" height=\"201\">");
		document.write("<param name=movie value=\"images/overview/ivarson_11_02.swf\">");
		document.write("<param name=quality value=high>");
		document.write("<embed src=\"images/overview/ivarson_11_02.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"686\" height=\"201\">");
		document.write("</embed>");
		document.write("</object>");
		alert("Flash Detected.");
    }
    else
    {
		alert("Flash Not Detected.");
		document.write("<img src=\"images/overview/homepage.jpg\" width=\"686\" height=\"201\">");
    }

}


