function colocaswf(swf)
{
	if (screen.availWidth<950)
	{
		var a='<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="560" height="350">';
		//Layer1.style.pixelLeft=585;
	}
	else
	{
		var a='<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="670" height="530">';
	}

	if(swf == "naruto")
	{
		var a="<iframe src='http://www.cartoonnetwork.com/games/naruto/chuninshowdown/preload.swf' width='670' height='530' align='center' scrolling='no' frameborder='0'></iframe>";
	}
	else if(swf == "xadres-online-gratis")
	{
		var a="<IFRAME  id=ifrmGame name=ifrmGame src=\"http://mpweb98.mp.oberon-media.com/UserLogin1.aspx?register=1&code=110342160&channel=110277640\" frameBorder=0 width=600 scrolling=no height=440 ></IFRAME>";
	}
	else if(swf == "dardos-301")
	{
		var a="<IFRAME  id=ifrmGame name=ifrmGame src=\"http://mpweb98.mp.oberon-media.com/UserLogin1.aspx?register=1&code=110390167&channel=110277640\" frameBorder=0 width=600 scrolling=no height=440 ></IFRAME>";
	}
	else if(swf == "poker-texas-holden")
	{
		var a="<iframe  id=ifrmGame name=ifrmGame src=\"http://mpweb98.mp.oberon-media.com/UserLogin1.aspx?register=1&code=110500140&channel=110277640\" frameborder=0 width=600 scrolling=no height=440 ></iframe>";
	}
	else
	{
		a=a+'<param name="movie" value="http://i272.photobucket.com/albums/jj177/rubensd7/jogos/'+swf+'"';
		a=a+'<param name="quality" value="high">';
		a=a+'<embed src="http://i272.photobucket.com/albums/jj177/rubensd7/jogos/'+swf+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="650" height="520"></embed>';
		a=a+'</object>';
	}

	document.write(a);

	setTimeout("mostrajogo()",10000);
}

function mostrajogo()
{
	document.getElementById("google").style.display="none";
	document.getElementById("jogo").style.display="block";
}