function printDate() {
	dows = new Array("Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado");
	months = new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre");
	now = new Date();
	dow = now.getDay();
	d = now.getDate();
	m = now.getMonth();
	h = now.getTime();
	y = now.getYear();
	document.write("<b>"+dows[dow]+", "+d+" de "+months[m]+" de "+y+"</b>");
}		

function MM_openPopUp(theURL,winName,features) { //v2.0
 window.open(theURL,winName,features);
}

function popimage(imagesrc,imagetitle,winwidth,winheight){
var look='width='+winwidth+',height='+winheight+',';
popwin=window.open("","",look);
popwin.document.open();
popwin.document.write('<html><head><title>'+imagetitle+'</title></head><body topmargin=0 rightmargin=0 leftmargin=0 marginheight=0 marginwidth=0><table cellpadding=0 cellspacing=0 border=0 width=100% height=100%><tr><td align=center><a HREF=javascript:window.close()><img src="'+imagesrc+'" border=0 alt=\"Hacer click para cerrar\" width="'+winwidth+'" height="'+winheight+'"></a></td></tr></table></body></html>');
popwin.document.close();
}

//mena izquierda
var ie4=document.all

function mOvr(src,clrOver) {
	if ( !src.contains(event.fromElement)) {
		src.style.cursor = 'hand';
		src.style.backgroundColor = clrOver;
	}
}
function mOut(src,clrIn) {
	if (!src.contains(event.toElement)) {
		src.style.cursor = 'default';
		src.style.backgroundColor = clrIn;
	}
}
function mClk(src) {
	if ( !ie4 ) { src.children.tags('A')[0].click();return; }
	if(event.srcElement.tagName=='TD'){
		src.children.tags('A')[0].click();
	}
}
