<!--
function rollin(boton) {
  if (boton.className.substr(boton.className.length - 1) == "0") {
     boton.className = boton.className.substr(0,boton.className.length - 1) + "1";
  }
}

function rollout(boton) {
  if (boton.className.substr(boton.className.length - 1) == "1") {
     boton.className = boton.className.substr(0,boton.className.length - 1) + "0";
  }
}

function hacerClick(src) {
	if(event.srcElement.tagName=='TD' && src.children.tags('A').length > 0)
		src.children.tags('A')[0].click();
}

function CambiarStatus(Mensaje) {
  status=Mensaje;
  document.MH_retorno = true;
}

function AgregarAFavoritos() {
	window.external.AddFavorite("http://www.todohuatulco.com","TodoHuatulco.com - Noticias y Eventos");
}

function abreventana(url, ancho, alto) {
       resto = 'scrollbars=yes,width=' + ancho + ',height=' + alto + ',screenX=100,screenY=20,resizable=yes,status=yes'
		window.open(url, '_blank', resto);
}

function preview (url, ancho, alto) {
	var v=window.open(url, '_blank', 'left=30,top=30,width=' + ancho + ',height=' + alto + ',toolbar=no,location=no,status=no,menubar=no,resizable=yes,scrollbars=yes')
}

function preview2 (url, ancho, alto) {
	var v=window.open(url, '_blank', 'left=30,top=30,width=' + ancho + ',height=' + alto + ',toolbar=no,location=no,status=no,menubar=no,resizable=yes,scrollbars=no')
}

function printPage() {
	print(document);
} 


function initArray() {
 for(i=0;i<initArray.arguments.length; i++)
  this[i] = initArray.arguments[i];
}

var isnMonths=new initArray("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre");
var isnDays= new initArray("Domingo","Lunes","Martes","Miercoles","Jueves","Viernes","Sabado","Domingo");
today=new Date();
hrs=today.getHours();
min=today.getMinutes();
sec=today.getSeconds();
clckh=""+((hrs>12)?hrs-12:hrs); 
clckm=((min<10)?"0":"")+min;
clcks=((sec<10)?"0":"")+sec;
clck=(hrs>=12)?"p.m.":"a.m.";
var stnr="";
var ns="0123456789";
var a="";

function getFullYear(d) { // d is a date object
 yr = d.getYear();
 if (yr < 1000)
  yr+=1900;
 return yr;
}
//-->
