function postflash(widthx, heighty, flashname, flashvars){
	var domain=window.location+"";
	domain=domain.replace("http://","");
	domain="http://" + domain.substring(0,domain.lastIndexOf("/")) + "/";
	document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width='+widthx+' height='+heighty+'>\n');
	document.write(' <param name="movie" value="'+flashname+'" />\n');
	document.write(' <PARAM NAME=FlashVars VALUE="SERVER_PATH='+domain+'&'+flashvars+'">\n');
	document.write(' <param name="menu" value="false" />\n');
	document.write(' <param name="quality" value="high" />\n');
	document.write(' <param name="wmode" value="transparent">\n');
	document.write(' <embed src="'+flashname+'" FlashVars="SERVER_PATH='+domain+'&'+flashvars+'" menu="false" name='+flashname+' wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width='+widthx+' height='+heighty+'></embed></object>');
}