function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function RunHome(MovieName1,MovieName2,Movie1Size,Movie2Size,flashurl)
{

	document.write('<div id="klein" style="position:absolute; top:0px; right:0px; width:75px;	height:75px; z-index:1;	visibility: visible;">');
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+Movie1Size+'" height="'+Movie1Size+'" onmouseover="MM_showHideLayers(\'klein\',\'\',\'hide\'); MM_showHideLayers(\'gross\',\'\',\'show\');"  id="Header" align="left">\n');
	document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
    document.write('<param name="movie" value="'+MovieName1+'" />\n');
	document.write('<param name="quality" value="high" />\n');
	document.write('<param name="wmode" value="transparent" />\n');
	document.write('<param name="bgcolor" value="#ffffff" />\n');
	document.write('<param name="FlashVars" value="clickTAG='+flashurl+'" />\n');
	document.write('<embed src="'+MovieName1+'" quality="high" wmode="transparent" bgcolor="#ffffff" FlashVars="clickTAG='+flashurl+'" width="'+Movie1Size+'" height="'+Movie1Size+'" name="Header" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" />\n');
	document.write('</object>\n');
	document.write('</div>');
	
	document.write('<div id="gross" style="position:absolute; right:0px;	top:0px; width:500px; height:500px; z-index:2; visibility: hidden;">');
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+Movie2Size+'" height="'+Movie2Size+'" id="Header" align="left" onmouseout=" MM_showHideLayers(\'gross\',\'\',\'hide\'); MM_showHideLayers(\'klein\',\'\',\'show\')" >\n');
	document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
    document.write('<param name="movie" value="'+MovieName2+'" />\n');
	document.write('<param name="quality" value="high" />\n');
	document.write('<param name="wmode" value="transparent" />\n');
	document.write('<param name="bgcolor" value="#ffffff" />\n');
	document.write('<param name="FlashVars" value="clickTAG='+flashurl+'" />\n');
	document.write('<embed src="'+MovieName2+'" quality="high" wmode="transparent" bgcolor="#ffffff" FlashVars="clickTAG='+flashurl+'" width="'+Movie2Size+'" height="'+Movie2Size+'" name="Header" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" />\n');
	document.write('</object>\n');
	document.write('</div>');
	
}
