function RunFoo2(fla,ww,hh,t,txt,div){
	if (ww=='100%')
	 {navigateur= navigator.appName;
      if(navigateur != 'Netscape') {h='100%';w='100%';} else {h=document.documentElement.clientHeight; w=document.documentElement.clientWidth-50;};}
	 else
	  {w=ww; h=hh;};

	var s = ''
	s+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+w+'" height="'+h+'" />\n';
	s+='<param name="movie" value="'+fla+'" />\n';
	s+='<param name="quality" value="high" />\n';
	s+='<param name="width" value="'+w+'" />';
	s+='<param name="height" value="'+h+'" />';
	if(t){
		s+='<param name="bgcolor" value="'+t+'" />\n';
	}else{
		s+='<param name="wmode" value="transparent" />\n';
	}
	s+='<PARAM NAME=FlashVars VALUE="foo='+txt+'">';
	s+='<embed src="'+fla+'" FlashVars="foo='+txt+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"';
	if(t){s+=' bgcolor="'+t+'"';}
	s+='></embed>\n';
	s+='</object>\n';

	if(div){
		//alert(s)
		optest(s);
	}else{
		document.write(s);
	}
}


function optest(s) {
	aa = window.open('', 'pop', 'top=10, left=10'); 
	setTimeout(function(){aa.document.write(s);aa.document.close();},500);
}