<!--

function roll(img_name, img_src)
   {
   document[img_name].src = img_src;
   }
//-->
function abrir(pagina,largura,altura) {

//pega a resolução do visitante
w = screen.width;
h = screen.height;

//divide a resolução por 2, obtendo o centro do monitor
meio_w = w/2;
meio_h = h/2;

//diminui o valor da metade da resolução pelo tamanho da janela, fazendo com q ela fique centralizada
altura2 = altura/2;
largura2 = largura/2;
meio1 = meio_h-altura2;
meio2 = meio_w-largura2;

//abre a nova janela, já com a sua devida posição
window.open(pagina,'','height=' + altura + ', width=' + largura + ', top='+meio1+', left='+meio2+'');
}
<!--
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->

<!--
function MM_validateForm() { //v4.0
  if (document.getElementById){
    var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
    for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
      if (val) { nm=val.name; if ((val=val.value)!="") {
        if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
          if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
        } else if (test!='R') { num = parseFloat(val);
          if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
          if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
            min=test.substring(8,p); max=test.substring(p+1);
            if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
      } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
    } if (errors) alert('The following error(s) occurred:\n'+errors);
    document.MM_returnValue = (errors == '');
} }
//-->

function openwin()
{
	NewWindow =window.open("hebrew.htm","hebrew","width=500,height=200")
}
function submitit(){
var email=document.subform.email.value;
if (email==""){
alert("Por favor, digite seu e-mail!!!")
document.subform.email.focus()
return false
	}
if (email.indexOf('@', 0) == -1 || email.indexOf('.', 0) == -1){ alert("No valid e-mail address!");
		document.subform.email.focus()
		return false
		}
}

function MostrarData() { 
  
hoje = new Date();
 dia = hoje.getDate();
 dias = hoje.getDay();
 if (dia < 10)
 dia = "0" + dia
 mes = hoje.getMonth();
 ano = hoje.getFullYear();
function CriaArray (n) {
 this.length = n }
 NomeDia = new CriaArray(7)
 NomeDia[0] = "Domingo"
 NomeDia[1] = "Segunda-feira"
 NomeDia[2] = "Terça-feira"
 NomeDia[3] = "Quarta-feira"
 NomeDia[4] = "Quinta-feira"
 NomeDia[5] = "Sexta-feira"
 NomeDia[6] = "Sábado"
 NomeMes = new CriaArray(12)
 NomeMes[0] = "janeiro"
 NomeMes[1] = "fevereiro"
 NomeMes[2] = "março"
 NomeMes[3] = "abril"
 NomeMes[4] = "maio"
 NomeMes[5] = "junho"
 NomeMes[6] = "julho"
 NomeMes[7] = "agosto"
NomeMes[8] = "setembro"
 NomeMes[9] = "outubro"
 NomeMes[10] = "novembro"
 NomeMes[11] = "dezembro"
document.write ("<small>"+ 'São Paulo' + ", " + dia + " de "+ NomeMes[mes] + " de "+ ano +" </small>")}