// JavaScript Document
<!--
function write_flash(movie, nsmovie, id, version, width, height, bgcolor, quality, wmode, FlashVars, Asa)
{
	document.write("<OBJECT classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+version+",0,0,0\" WIDTH=\""+width+"\" HEIGHT=\""+height+"\" id=\""+id+"\" name=\""+id+"\" ALIGN=\"middle\">\n");
	document.write("<PARAM NAME=\"movie\" VALUE=\""+movie+"\">\n");
	document.write("<PARAM NAME=\"loop\" VALUE=\"true\">\n");
	document.write("<PARAM NAME=\"menu\" VALUE=\"false\">\n");
	document.write("<PARAM NAME=\"quality\" VALUE=\""+quality+"\">\n");
	document.write("<PARAM NAME=\"scale\" VALUE=\"exactfit\">\n");
	document.write("<PARAM NAME=\"bgcolor\" VALUE=\""+bgcolor+"\">\n");
	document.write("<PARAM NAME=\"allowScriptAccess\" VALUE=\""+Asa+"\">\n");
	if(FlashVars!="undefined"){document.write("<PARAM NAME=\"FlashVars\" VALUE=\""+FlashVars+"\">\n");}
	if(wmode!="undefined"){document.write("<PARAM NAME=\"wmode\" VALUE=\""+wmode+"\">\n");}
	document.write("<EMBED src=\""+nsmovie+"\" ");
	if(FlashVars!="undefined"){document.write("FlashVars=\""+FlashVars+"\" ");}
	document.write("loop=\"true\" menu=\"false\" quality=\""+quality+"\" scale=\"exactfit\" bgcolor=\""+bgcolor+"\" WIDTH=\""+width+"\" HEIGHT=\""+height+"\" swLiveConnect=\"true\" id=\""+id+"\" NAME=\""+id+"\" allowScriptAccess=\""+Asa+"\" ALIGN=\"middle\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\">\n</EMBED>\n");
	document.write("</OBJECT>\n");
}

function focus_browser(id)
{
	var name =  navigator.appName;
	var platform = navigator.platform;
	if(navigator.appVersion.indexOf("MSIE")!=-1)
	{
		window.document.getElementById(id).focus();
	}
}
//-->