wid=560;
high=360;
if(screen.width<1000) {
wid=448;
high=278;}

function writeMovie(fname)
{

document.writeln(''
+'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+wid+'" height="'+high+'" id="wmap" name="wmap" align="middle">'
+'<param name="allowScriptAccess" value="sameDomain" />'
+'<param name="movie" value="'+fname+'.swf" />'
+'<param name="quality" value="best" />'
+'<param name="bgcolor" value="#e1e1e5" />'
+'<param name="wmode" value="transparent" />'
+'<param name="swliveconnect" value="true">'
+'<param name="scale" value="noborder" />'
+'<embed src="'+fname+'.swf" quality="best" scale="noborder" swliveconnect="true" wmode="transparent" bgcolor="#e1e1e5" width="'+wid+'" height="'+high+'" id="wmap" name="wmap" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" id="open" name="open" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
+'</object>');



}



var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;

function wmap_DoFSCommand(command, agent) {
	var wmapObj = isInternetExplorer ? document.all.wmap : document.wmap;
	
showagent(agent);
	
}

if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub wmap_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call wmap_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}





function showagent(agent)
{
aginfo=eval('details.'+agent);
document.getElementById("info").innerHTML=aginfo;

document.getElementById("info").style.visibility='visible';
}
