function screenSizeH() {H = 400;if(typeof(window.innerWidth)=='number'){H = window.innerHeight;}else if(document.documentElement &&(document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {H = document.documentElement.clientHeight;} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {H = document.body.clientHeight;}return H;}
function d(url,w,h){da=document.all;fr=da.Lprop; if (h==0){h=screenSizeH()-42;};fr.style.top=(window.document.body.scrollTop)+screenSizeH()/3.5;fr.style.display='';da.td1.innerHTML='<iframe name="frame1" src="'+url+'" height="'+h+'" width="'+w+'" frameborder="0" scrolling="auto"></iframe>';}
function ocultaLayer(){document.all.Lprop.style.display='none';}
var s_f1=null;bIn='#FFF4B7';bOut='#FFFCEC';
function f1_out(){if(s_f1!=null){s_f1.bgColor=bOut;s_f1.borderColor=bOut;}}
function f1(s){s.style.cursor='hand';s.bgColor = bIn;s.borderColor = bIn;if(s_f1==null){s_f1=s;}else{s_f1.bgColor=bOut;s_f1.borderColor=bOut;s_f1=s;}}
function abre_tela_cheia(nome,url){window.open(url,nome,'width='+((screen.width)-10)+',	height='+((screen.height)-57)+',toolbar=no,location=no,status=no,menubar=no,resizable=no,left=0,top=0');} 
function AbreJanela(pagina,janela,w,h,scrolling){if(scrolling=='' && (screen.height)<768){scrolling='auto';}wAbreJanela=w+16;window.open(pagina,janela,'width='+wAbreJanela+',height='+h+',scrollbars=yes,toolbar=no,location=no,status=no,menubar=no,resizable=no,left=220,top=0');}
function redirGuia(r){parent.document.location='/guia/?r='+r;}
