// JavaScript Document
function RunFoo()
{
 <!--
 // OPTION 1 - Grab variables passed in URL
 var myQueryString=document.location.search;

 // remove the '?' sign if exists
 if (myQueryString[0]='?')
 {
    myQueryString=myQueryString.substr(1, myQueryString.length-1);
 }
myQueryString += "&formHandler=track.php"
 document.write(
   '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"\n'+
   ' codebase="http://macromedia.com/cabs/swflash.cab#version=7,0,0,0"\n'+
   ' WIDTH="100%" HEIGHT="100%" id="launch_web" align="middle">\n'+
   ' <PARAM NAME=movie VALUE="launch_web.swf">\n'+
   ' <PARAM NAME="allowScriptAccess" value="sameDomain">\n'+
   ' <PARAM NAME=FlashVars VALUE="'+myQueryString+'">\n'+
   ' <PARAM NAME=quality VALUE=high>\n'+
   '<PARAM NAME="wmode" value="transparent">\n'+
   ' <EMBED src="launch_web.swf"\n'+
   '  FlashVars="'+myQueryString+'"\n'+ 
   '  quality=high wmode="transparent" WIDTH="100%" HEIGHT="100%" NAME="launch_web" align="middle" allowScriptAccess="sameDomain"\n'+
   '  TYPE="application/x-shockwave-flash"\n'+
   '  PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>\n'+
   '</OBJECT>');

}