

function bookmarksite()
{
title = "Tvchurrasco - O Canal do Sabor";
url = "http://www.tvchurrasco.com.br";

if (window.sidebar) { // Mozilla Firefox Bookmark
window.sidebar.addPanel(title, url,"");
} else if( window.external ) { // IE Favorite
window.external.AddFavorite( url, title); }
else if(window.opera && window.print) { // Opera Hotlist
return true; }
}


function toggle(){
	var div1 = document.getElementById('div1')
	if (div1.style.display == 'none') {
		div1.style.display = 'block'
	} else {
		div1.style.display = 'none'
	}
}


      
      



function exibeFlash(swf, width, height, wmode, cache)
{
noCache = cache || cache == undefined ? "" : "?";
wmode = wmode || wmode == undefined ? "opaque" : "transparent";
monta_swf = "";
monta_swf += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\""+ width +"\" height=\""+ height +"\" title=\"\">";
monta_swf += "<param name=\"movie\" value=\""+ swf + noCache +"\" />";
monta_swf += "<param name=\"quality\" value=\"high\" />";
monta_swf += "<param name=\"menu\" value=\"0\" />";
monta_swf += "<param name=\"wmode\" value=\"transparent\" />";
monta_swf += "<param name=\"scale\" value=\"noborder\" />";
monta_swf += "<embed src=\""+ swf + noCache +"\" quality=\"high\" wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+ width +"\" height=\""+ height +"\"></embed>";
monta_swf += "</object>";
document.write(monta_swf);
}


function atualizartamanhoiframe(){
if (typeof parent.frames['central'] != 'undefined') {
		if (window.ActiveXObject) { // IE
			parent.document.getElementById('iFrame').style.height=document.getElementById("conteudo").scrollHeight +50;
			//parent.document.getElementById('iFrame').style.height=1900;
		}else{
			parent.document.getElementById('iFrame').height = document.getElementById('conteudo').offsetHeight +50;
//			parent.document.getElementById('iFrame').height = 1900;
		}
}
 }

