<!--
// Publicações
function visualizarCat(IdEscola,id) {
	document.verCat.action = "http://www.educacional.com.br/escolas/mural/mural_aberto.asp?idCategoria=" + id;
	document.verCat.EscolaID.value = IdEscola;
	document.verCat.submit();
}
function visualizarPub(IdEscola,id) {
	document.verPub.action = "http://www.educacional.com.br/escolas/mural/mural_aberto.asp?idPublicacao=" + id;
	document.verPub.EscolaID.value = IdEscola;
	document.verPub.submit();
}
// Publicações

// MOSTRA DIV
function mostra(objeto) { 
 var div = window.document.getElementById(objeto);
 if (div.style.display=='none') { 
  div.style.display=''; 
 } else {
  div.style.display='none'; 
 } 
}
// MOSTRA DIV

//CSS Browser Selector
function css_browser_selector(u){var ua = u.toLowerCase(),is=function(t){return ua.indexOf(t)>-1;},g='gecko',w='webkit',s='safari',o='opera',h=document.getElementsByTagName('html')[0],b=[(!(/opera|webtv/i.test(ua))&&/msie\s(\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?g+' ff2':is('firefox/3.5')?g+' ff3 ff3_5':is('firefox/3')?g+' ff3':is('gecko/')?g:is('opera')?o+(/version\/(\d+)/.test(ua)?' '+o+RegExp.$1:(/opera(\s|\/)(\d+)/.test(ua)?' '+o+RegExp.$2:'')):is('konqueror')?'konqueror':is('chrome')?w+' chrome':is('iron')?w+' iron':is('applewebkit/')?w+' '+s+(/version\/(\d+)/.test(ua)?' '+s+RegExp.$1:''):is('mozilla/')?g:'',is('j2me')?'mobile':is('iphone')?'iphone':is('ipod')?'ipod':is('mac')?'mac':is('darwin')?'mac':is('webtv')?'webtv':is('win')?'win':is('freebsd')?'freebsd':(is('x11')||is('linux'))?'linux':'','js']; c = b.join(' '); h.className += ' '+c; return c;}; css_browser_selector(navigator.userAgent);
//CSS Browser Selector
//-->

// MOSTRA DIV
function abreCal(unidade) { 
if (unidade == 'barra1' || unidade == 'barra2' || unidade == 'barra3' || unidade == 'barra4' || unidade == 'barra5' || unidade == 'barra6') { 
 window.open('popCalbarra.asp?unidade='+unidade,'cal','width=1049,height=710,top=100,left=150,scrollbars=yes');
 }
 if (unidade == 'bento1' || unidade == 'bento2' || unidade == 'bento3' || unidade == 'bento4' || unidade == 'bento5' || unidade == 'bento6') { 
 window.open('popCalbento.asp?unidade='+unidade,'cal','width=1049,height=710,top=100,left=150,scrollbars=yes');
 }
 if (unidade == 'campo1' || unidade == 'campo2' || unidade == 'campo3' || unidade == 'campo4' || unidade == 'campo5' || unidade == 'campo6') { 
 window.open('popCalcampo.asp?unidade='+unidade,'cal','width=1049,height=710,top=100,left=150,scrollbars=yes');
 }
 if (unidade == 'casca1' || unidade == 'casca2' || unidade == 'casca3' || unidade == 'casca4' || unidade == 'casca5' || unidade == 'casca6') { 
 window.open('popCalcasca.asp?unidade='+unidade,'cal','width=1049,height=710,top=100,left=150,scrollbars=yes');
 }
 if (unidade == 'fregue1' || unidade == 'fregue2' || unidade == 'fregue3' || unidade == 'fregue4' || unidade == 'fregue5' || unidade == 'fregue6') { 
 window.open('popCalfregue.asp?unidade='+unidade,'cal','width=1049,height=710,top=100,left=150,scrollbars=yes');
 }
 if (unidade == 'ilha1' || unidade == 'ilha2' || unidade == 'ilha3' || unidade == 'ilha4' || unidade == 'ilha5' || unidade == 'ilha6') { 
 window.open('popCalilha.asp?unidade='+unidade,'cal','width=1049,height=710,top=100,left=150,scrollbars=yes');
 }
 if (unidade == 'madu1' || unidade == 'madu2' || unidade == 'madu3' || unidade == 'madu4' || unidade == 'madu5' || unidade == 'madu6') { 
 window.open('popCalmadu.asp?unidade='+unidade,'cal','width=1049,height=710,top=100,left=150,scrollbars=yes');
 }
 if (unidade == 'mari1' || unidade == 'mari2' || unidade == 'mari3' || unidade == 'mari4' || unidade == 'mari5' || unidade == 'mari6') { 
 window.open('popCalmari.asp?unidade='+unidade,'cal','width=1049,height=710,top=100,left=150,scrollbars=yes');
 }
 if (unidade == 'recre1' || unidade == 'recre2' || unidade == 'recre3' || unidade == 'recre4' || unidade == 'recre5' || unidade == 'recre6') { 
 window.open('popCalrecre.asp?unidade='+unidade,'cal','width=1049,height=710,top=100,left=150,scrollbars=yes');
 }
 if (unidade == 'sta1' || unidade == 'sta2' || unidade == 'sta3' || unidade == 'sta4' || unidade == 'sta5' || unidade == 'sta6') { 
 window.open('popCalsanta.asp?unidade='+unidade,'cal','width=1049,height=710,top=100,left=150,scrollbars=yes');
 }
 if (unidade == 'sero1' || unidade == 'sero2' || unidade == 'sero3' || unidade == 'sero4' || unidade == 'sero5' || unidade == 'sero6') { 
 window.open('popCalsero.asp?unidade='+unidade,'cal','width=1049,height=710,top=100,left=150,scrollbars=yes');
 }
}

// MOSTRA DIV

// ABRIR E FECHAR OS SUBMENUS DO MENU PRINCIPAL
function abreSubMenu(elem){
  var subElem = elem.getElementsByTagName('ul');
  subElem[0].style.display = '';
}
function fechaSubMenu(elem){
  var subElem = elem.getElementsByTagName('ul');
  subElem[0].style.display = 'none';
}
// ABRIR E FECHAR OS SUBMENUS DO MENU PRINCIPAL