<!--

<!-- Begin

var swidth=120

var sheight=150

var sspeed=1

var singletext=new Array()
  singletext[0]= 

    '<p align="center" style="margin-top:-8; margin-bottom:5; margin-left:6; margin-right:6">'+
    '<br><font face=Arial size=1 color="black">2 a 15 de Junho</font>'+
    '<br><font color="#ffffff" size=1><span style="background-color: #8a3399"><font size=1 color="#ffffff">Provas Globais do 9ºAno</font></span></font></p>'+

    '<p align="center" style="margin-top:-8; margin-bottom:5; margin-left:6; margin-right:6">'+
    '<br><font face=Arial size=1 color="black">4 de Junho</font>'+
    '<br><font color="#ffffff" size=1><span style="background-color: #8a3399"><font size=1 color="#ffffff">Fim das actividades lectivas para o 12º Ano</font></span></font></p>'+

    '<p align="center" style="margin-top:-8; margin-bottom:5; margin-left:6; margin-right:6">'+
    '<br><font face=Arial size=1 color="black">4 de Junho</font>'+
    '<br><font color="#ffffff" size=1><span style="background-color: #8a3399"><a href="javascript: AbreNovaJanela(\'site_noticias/noticia031.htm\',\'\',\'HEIGHT=400\,WIDTH=400\,toolbar=no\,scrollbars=yes\,resizable=no\')"><font size=1 color="#ffffff">Grande Festa da Música</font></a></span></font></p>'


	
	
	
//if (singletext.length>1)
 // i=1
//else
  //i=0

function start(){
  if (document.all){
    ieslider1.style.top=sheight
    iemarquee(ieslider1)
  }
  else if (document.layers){
    document.ns4slider.document.ns4slider1.top=sheight
    document.ns4slider.document.ns4slider1.visibility='show'
    ns4marquee(document.ns4slider.document.ns4slider1)
  }
  else if (document.getElementById&&!document.all){
    document.getElementById('ns6slider1').style.top=sheight
    ns6marquee(document.getElementById('ns6slider1'))
  }
}

function iemarquee(whichdiv){
  iediv=eval(whichdiv)
  //iediv.innerHTML=singletext[i]
  
  if (iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){
    iediv.style.pixelTop=0
    setTimeout("iemarquee(iediv)",110)
  }
  
  if (iediv.style.pixelTop>=sheight*-1){
    iediv.style.pixelTop-=sspeed
    setTimeout("iemarquee(iediv)",110)
  }
  else{
    iediv.style.pixelTop=sheight
    iediv.innerHTML=singletext[0]
    if (i==singletext.length-1)
      i=0
    else
      i++
  }
}

function ns4marquee(whichlayer){
  ns4layer=eval(whichlayer)

  if (ns4layer.top>0&&ns4layer.top<=sspeed){
    ns4layer.top=0
    setTimeout("ns4marquee(ns4layer)",110)
  }

  if (ns4layer.top>=sheight*-1){
    ns4layer.top-=sspeed
    setTimeout("ns4marquee(ns4layer)",110)
  }
  else{
    ns4layer.top=sheight
    ns4layer.document.write(singletext[i])
    ns4layer.document.close()
  if (i==singletext.length-1)
    i=0
  else
    i++
  }
}

function ns6marquee(whichdiv){
  ns6div=eval(whichdiv)
  if (parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){
    ns6div.style.top=0
    setTimeout("ns6marquee(ns6div)",110)
  }

  if (parseInt(ns6div.style.top)>=sheight*-1){
    ns6div.style.top=parseInt(ns6div.style.top)-sspeed
    setTimeout("ns6marquee(ns6div)",110)
  }
  else{
    ns6div.style.top=sheight
    ns6div.innerHTML=singletext[i]
    if (i==singletext.length-1)
      i=0
    else
      i++
  }
}
//  End -->

function AbreNovaJanela(URL,winName,features) { 
  window.open(URL,winName,features);
}

function nav_item(name,section,tabs){
 if(section!="index"&&tabs==0){
   document.write('<img src="white.gif" width="247" height="2" border="0" hspace="0" vspace="0" /><br />\r');
 }
 if(section!=""){
  document.write(
'                  <span id="pop_'+section+'" class="pop">::</span> <a href="');
  if(section=="e-mail"){
   document.write('mailto:info@esec-palmela.rcts.pt');}
  if(section=="jornalonline"){
   document.write('espnoticias/');}
  if(section!="e-mail"&&section!="jornalonline"){
   document.write(section+'.html');}
  document.write('" class="nav" onmouseover="pop_'+section+'.style.color=\'rgb(255,255,255)\'; return true;" onmouseout="pop_'+section+'.style.color=\'rgb(138,51,153)\'; return true;">');}
 if(section==""){
  document.write('<span class="still">::</span> ');}
 document.write(name);
 if(section!=""){
  document.write('</a>');}
 for(j=0;j<tabs;j++){
  document.write('<img src="clear.gif" width="20" height="1" border="0" hspace="0" vspace="0" />');}
 document.write('&nbsp;<br />\r');}
function pic(url){
 openwin=window.open(url,'picwin',config='width=535,height=395,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,directories=no,status=yes');
 openwin.document.write(
'<html>\r'+
' <head>\r'+
'  <title>ESP :: Escola Secundária de Palmela &gt; Imagem</title>\r'+
' </head>\r'+
' <body lang="pt" style="background-color: rgb(255,255,255); margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;">\r'+
'  <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">\r'+
'   <tbody>\r'+
'    <tr>\r'+
'     <td width="100%" height="100%" align="center" valign="middle">\r'+
'      <img src="'+url+'" border="0" hspace="0" vspace="0" /><br />\r'+
'     </td>\r'+
'    </tr>\r'+
'   </tbody>\r'+
'  </table>\r'+
' </body>\r'+
'</html>\r');
 openwin.document.close();}
var names=new Array("Página Inicial","Destaques","Notícias","E-mail","Jornal Online","Sobre a Escola","Localização/Contactos","Ofertas de Escola","Espaços","História","Órgãos de Admin. e Gestão","Conselho Pedagógico","Assembleia","Conselho Executivo","Conselho Administrativo","Direcção de Turma","O que se Faz na Escola","Clubes e Projectos","CRE","Clube Europeu","Clube de Teatro","Clube do Ambiente","Clube de Informática","Desporto Escolar","Trabalhos de Alunos","Trabalhos de Professores","A Comunidade Educativa","Professores","Funcionários","Associação de Estudantes","Associação de Pais","Documentos de Escola","Plano Anual de Actividades","Projecto Educativo da Escola","Regulamento Interno","Links");
var sections=new Array("index","","noticias","e-mail","jornalonline","","localizacaocontactos","ofertasdeescola","espacos","historia","","conselhopedagogico","assembleia","conselhoexecutivo","conselhoadministrativo","direccaodeturma","","","cre","clubeeuropeu","clubedeteatro","clubedoambiente","clubeinformatica","desportoescolar","trabalhosdealunos","trabalhosdeprofessores","","professores","funcionarios","associacaodeestudantes","associacaodepais","","planoanualdeactividades","projectoeducativodaescola","regulamentointerno","links");
var tabs=new Array(0,0,1,1,1,0,1,1,1,1,1,2,2,2,2,1,0,1,2,2,2,2,2,2,1,1,0,1,1,1,1,0,1,1,1,0);
document.write(
'<html>\r'+
' <head>\r'+
'  <meta http-equiv="content-type" content="text/html; charset=\'iso-8859-1\';" />\r'+
'  <meta http-equiv="content-language" content="pt" />\r'+
'  <title>ESP :: Escola Secundária de Palmela');
if(header!="Home"){
 document.write(' &gt; '+header);}
document.write('</title>\r'+
'  <meta name="description" content="Escola Secundária de Palmela" />\r'+
'  <meta name="keywords" content="ensino escola oficial palmela secundária secundário site" />\r'+
'  <meta name="robots" content="ALL" />\r'+
'  <base target="_top" />\r');
document.write(
'  <style type="text/css">\r'+
'<!--\r'+
'   a, a:active, a:visited{\r'+
'    color: 000000;\r'+
'    font-style: normal;\r'+
'    font-weight: normal;\r'+
'    text-decoration: none;}\r'+
'   a.nav, a:active.nav, a:visited.nav{\r'+
'    color: rgb(255,255,255);\r'+
'    font-style: normal;\r'+
'    font-weight: normal;\r'+
'    text-decoration: none;}\r'+
'   a:hover{\r'+
'    color: ffa100;\r'+
'    font-style: normal;\r'+
'    font-weight: normal;\r'+
'    text-decoration: underline;}\r'+
'   a:hover.nav{\r'+
'    color: rgb(255,161,0);\r'+
'    font-style: normal;\r'+
'    font-weight: normal;\r'+
'    text-decoration: none;}\r'+
'   body{\r'+
'    background-color: rgb(255,255,255);\r'+
'    background-image: url("watermark.jpg");\r'+
'    background-repeat: no-repeat;\r'+
'    margin: 0px 0px 0px 0px;\r'+
'    padding: 0px 0px 0px 0px;\r'+
'    scrollbar-arrow-color: rgb(68,68,68);\r'+
'    scrollbar-base-color: rgb(255,255,255);\r'+
'    scrollbar-darkshadow-color: rgb(255,161,0);\r'+
'    scrollbar-face-color: rgb(255,255,255);\r'+
'    scrollbar-highlight-color: rgb(255,161,0);\r'+
'    scrollbar-shadow-color: rgb(255,161,0);\r'+
'    scrollbar-3dlight-color: rgb(255,161,0);\r'+
'    scrollbar-track-color: rgb(240,240,240);}\r'+
'   .pop{\r'+
'    color: rgb(138,51,153);\r'+
'    font-weight: bold;}\r'+
'   .still{\r'+
'    color: rgb(255,161,0);\r'+
'    font-weight: bold;}\r'+
'   .title{\r'+
'    font-weight: bold;\r'+
'    text-transform: uppercase;}\r'+
'   td{\r'+
'    color: rgb(0,0,0);\r'+
'    font-family: arial, helvetica, verdana, sans-serif, system, fixedsys;\r'+
'    font-size: 12px;\r'+
'    font-style: normal;\r'+
'    font-weight: normal;\r'+
'    padding: 0px 0px 0px 0px;\r'+
'    text-decoration: none;\r'+
'    vertical-align: top;}\r'+
'   td.core{\r'+
'    text-align: center;\r'+
'    vertical-align: middle;}\r'+
'   td.header{\r'+
'    color: rgb(255,161,0);\r'+
'    font-family: arial black, arial, helvetica, verdana, sans-serif, system, fixedsys;\r'+
'    font-size: 12px;\r'+
'    font-style: normal;\r'+
'    font-weight: normal;\r'+
'    padding: 0px 0px 0px 4px;\r'+
'    text-align: left;\r'+
'    text-transform: uppercase;\r'+
'    vertical-align: top;}\r'+
'   td.nav{\r'+
'    color: rgb(255,255,255);\r'+
'    font-family: arial black, arial, helvetica, verdana, sans-serif, system, fixedsys;\r'+
'    font-size: 12px;\r'+
'    font-style: normal;\r'+
'    font-weight: normal;\r'+
'    padding: 0px 0px 0px 0px;\r'+
'    text-align: right;\r'+
'    text-decoration: none;\r'+
'    vertical-align: top;}\r'+
'-->\r'+
'  </style>');
document.write('\r'+
' </head>\r'+
' <body lang="pt">\r'+
'  <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">\r'+
'   <tbody>\r'+
'    <tr>\r'+
'     <td width="100%" height="150" align="center">\r'+
'      <a href="index.html"><img src="logo.jpg" width="593" height="169" border="0" hspace="0" vspace="0" /></a><br />\r'+
'     </td>\r'+
'    </tr>\r'+
'    <tr>\r'+
'     <td width="100%" height="2">\r'+
'      <img src="clear.gif" width="1" height="2" border="0" hspace="0" vspace="0" /><br />\r'+
'     </td>\r'+
'    </tr>\r'+
'    <tr>\r'+
'     <td width="100%" height="2" bgcolor="rgb(255,161,0)">\r'+
'      <img src="clear.gif" width="1" height="2" border="0" hspace="0" vspace="0" /><br />\r'+
'     </td>\r'+
'    </tr>\r'+
'    <tr>\r'+
'     <td width="100%" align="center">\r'+
'      <table width="704" height="100%" border="0" cellpadding="0" cellspacing="0">\r'+
'       <tbody>\r'+
'        <tr>\r'+
'         <td width="2" bgcolor="rgb(255,161,0)" rowspan="5">\r'+
'          <img src="clear.gif" width="2" height="1" border="0" hspace="0" vspace="0" /><br />\r'+
'         </td>\r'+
'         <td width="700" height="2" colspan="3">\r'+
'         </td>\r'+
'         <td width="2" bgcolor="rgb(255,161,0)" rowspan="5">\r'+
'          <img src="clear.gif" width="2" height="1" border="0" hspace="0" vspace="0" /><br />\r'+
'         </td>\r'+
'        </tr>\r'+
'        <tr>\r'+
'         <td width="15" background="left_bg.gif">\r'+
'          <img src="clear.gif" width="15" height="1" border="0" hspace="0" vspace="0" /><br />\r'+
'         </td>\r'+
'         <td width="685" height="1">\r'+
'          <table width="685" border="0" cellpadding="0" cellspacing="0">\r'+
'           <tbody>\r'+
'            <tr>\r'+
'             <td width="432" height="18" colspan="2">\r'+
'              <table width="432" height="100%" border="0" cellpadding="0" cellspacing="0">\r'+
'               <tbody>\r'+
'                <tr>\r'+
'                 <td width="432" height="18" colspan="3" background="header.gif" class="header">\r'+
'                  <span class="pop">::</span> '+header+' <span class="pop">&gt;</span><br />\r'+
'                 </td>\r'+
'                </tr>\r'+
'                <tr>\r'+
'                 <td width="426">\r'+
'                  <img src="clear.gif" width="426" height="4" border="0" hspace="0" vspace="0" /><br />\r');
content();
document.write(
'                  <img src="clear.gif" width="426" height="4" border="0" hspace="0" vspace="0" /><br />\r'+
'                 </td>\r'+
'                 <td width="4">\r'+
'                  <img src="clear.gif" width="4" height="1" border="0" hspace="0" vspace="0" /><br />\r'+
'                 </td>\r'+
'                 <td width="2" bgcolor="rgb(138,51,153)">\r'+
'                  <img src="clear.gif" width="2" height="1" border="0" hspace="0" vspace="0" /><br />\r'+
'                 </td>\r'+
'                </tr>\r'+
'                <tr>\r'+
'                 <td width="432" height="18" colspan="3" background="header.gif" class="header">\r'+
'                  <span class="pop">::</span> '+header+' <span class="pop">&lt;</span><br />\r'+
'                 </td>\r'+
'                </tr>\r'+
'               </tbody>\r'+
'              </table>\r'+
'             </td>\r'+
'             <td width="253" rowspan="3">\r'+
'              <table width="253" height="100%" border="0" cellpadding="0" cellspacing="0">\r'+
'               <tbody>\r'+
'                <tr>\r'+
'                 <td width="253" height="2" bgcolor="rgb(138,51,153)" colspan="4">\r'+
'                  <img src="clear.gif" width="253" height="2" border="0" hspace="0" vspace="0" /><br />\r'+
'                 </td>\r'+
'                </tr>\r'+
'                <tr>\r'+
'                 <td width="251" height="2" colspan="3">\r'+
'                  <img src="clear.gif" width="251" height="2" border="0" hspace="0" vspace="0" /><br />\r'+
'                 </td>\r'+
'                 <td width="2" bgcolor="rgb(138,51,153)">\r'+
'                  <img src="clear.gif" width="2" height="1" border="0" hspace="0" vspace="0" /><br />\r'+
'                 </td>\r'+
'                </tr>\r'+
'                <tr>\r'+
'                 <td width="2">\r'+
'                  <img src="clear.gif" width="2" height="1" border="0" hspace="0" vspace="0" /><br />\r'+
'                 </td>\r'+
'                 <td width="247" bgcolor="rgb(138,51,153)" class="nav">\r');
for(i=0;i<sections.length;i++){
 nav_item(names[i],sections[i],tabs[i]);}
document.write(
'                 </td>\r'+
'                 <td width="2">\r'+
'                  <img src="clear.gif" width="2" height="1" border="0" hspace="0" vspace="0" /><br />\r'+
'                 </td>\r'+
'                 <td width="2" bgcolor="rgb(138,51,153)">\r'+
'                  <img src="clear.gif" width="2" height="1" border="0" hspace="0" vspace="0" /><br />\r'+
'                 </td>\r'+
'                </tr>\r'+
'                <tr>\r'+
'                 <td width="251" height="2" colspan="3">\r'+
'                  <img src="clear.gif" width="251" height="2" border="0" hspace="0" vspace="0" /><br />\r'+
'                 </td>\r'+
'                 <td width="2" bgcolor="rgb(138,51,153)">\r'+
'                  <img src="clear.gif" width="2" height="1" border="0" hspace="0" vspace="0" /><br />\r'+
'                 </td>\r'+
'                </tr>\r'+
'                <tr>\r'+
'                 <td width="253" height="2" bgcolor="rgb(138,51,153)" colspan="4">\r'+
'                  <img src="clear.gif" width="253" height="2" border="0" hspace="0" vspace="0" /><br />\r'+
'                 </td>\r'+
'                </tr>\r'+
'               </tbody>\r'+
'              </table>\r'+
'             </td>\r'+
'            </tr>\r'+
'           </tbody>\r'+
'          </table>\r'+
'         </td>\r'+
'         <td width="2">\r'+
'          <img src="clear.gif" width="2" height="1" border="0" hspace="0" vspace="0" /><br />\r'+
'         </td>\r'+
'        </tr>\r'+
'        <tr>\r'+
'         <td width="700" height="2" colspan="3">\r'+
'          <img src="clear.gif" width="700" height="2" border="0" hspace="0" vspace="0" /><br />\r'+
'         </td>\r'+
'        </tr>\r'+
'        <tr>\r'+
'         <td width="700" height="2" bgcolor="rgb(255,161,0)" colspan="3">\r'+
'          <img src="clear.gif" width="700" height="2" border="0" hspace="0" vspace="0" /><br />\r'+
'         </td>\r'+
'        </tr>\r'+
'        <tr>\r'+
'         <td width="700" colspan="3">\r'+
'          <img src="clear.gif" width="700" height="50" border="0" hspace="0" vspace="0" /><br />\r'+
'         </td>\r'+
'        </tr>\r'+
'       </tbody>\r'+
'      </table>\r'+
'     </td>\r'+
'    </tr>\r'+
'   </tbody>\r'+
'  </table>\r'+
' </body>\r'+
'</html>');
document.close();
//-->
