function openNewWindow(URLtoOpen,windowName,windowFeatures){
newWindow=window.open(URLtoOpen,windowName,windowFeatures)}
function MM_jumpMenu(targ,selObj,restore){
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'")
if(restore)selObj.selectedIndex=0}
function cambiarPagina(menu){
if(menu.selectedIndex !=0)
window.document.location=menu[menu.selectedIndex].value}
function MM_abrirPagina(menu){
window.open(menu[menu.selectedIndex].value)}
function abrirPopUp(url){
WindowObjectReference=window.open(url,'popupeltiempo','width=1024,height=800,menubar=no,location=no,resizable=no,scrollbars=no,status=no')}
function abrirVentana(url,ancho,alto){
vf=window.open(url,'FotoGrande','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,menubar=no,width='+ancho+' ,height='+alto)}
function isEmpty(s){return ((s == null) || (s.length == 0));}

function isEmpty(s){
return((s==null)||(s.length==0))}
function isWhitespace(s){
var i
if(isEmpty(s))return true
for(i=0;i<s.length;i++){
var c=s.charAt(i)
if(whitespace.indexOf(c)==-1)return false}
return true}
function isEmail(s){
if(isEmpty(s))
if(isEmail.arguments.length==1)return defaultEmptyOK
else return(isEmail.arguments[1]==true)
if(isWhitespace(s))return false
var i=1
var sLength=s.length
while((i<sLength)&&(s.charAt(i)!="@")){
i++}
if((i>=sLength)||(s.charAt(i)!="@"))return false
else i+=2
while((i<sLength)&&(s.charAt(i)!=".")){
i++}
if((i>=sLength-1)||(s.charAt(i)!="."))return false
else return true}

