function insertIntFlash(p,v,b,f) {
	
	myWidth = 842;
	myHeight = 372;
	pureswfpath = "/FMISPlayer/racetvplayerinterno.swf";
	
	if ( f == 0 ) {
		f = "false";
	} else if ( f == 1 ) {
		f = "true";
	}
	
	if ( (p == null) || (v == null) ) {
		swfpath = pureswfpath;
	} else {
		swfpath = pureswfpath + "?p=" + p + "&v=" + v + "&b=" + b + "&f=" + f + '$x=http://www.racetv.com.br/_arqs/xml/destaques_home.xml' 
	}
	
	document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0\" width=\"" + myWidth + "\" height=\"" + myHeight + "\" id=\"racetvhome\" align=\"middle\" wmode=\"transparent\">");
	document.write("<param name=\"allowScriptAccess\" value=\"sameDomain\" />");
	document.write("<param name=\"allowFullScreen\" value=\"true\" />");
	document.write("<param name=\"movie\" value=\"" + swfpath + "\" />");
	document.write("<param name=\"quality\" value=\"high\" />");
	document.write("<param name=\"bgcolor\" value=\"#ffffff\" />");
	document.write("<param name=\"wmode\" value=\"transparent\" />");	
	document.write("<embed src=\"" + swfpath + "\" quality=\"high\" bgcolor=\"#ffffff\" width=\"" + myWidth + "\" height=\"" + myHeight + "\" name=\"racetvhome\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"true\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.adobe.com/go/getflashplayer\" />");
	document.write("</object>");
	
}