////////////////////////////////////////FX CELDAS MENU
function mOvr(src,clrOver) {
if (!src.contains(event.fromElement)) {
src.style.cursor = 'hand';
src.bgColor = clrOver;
}
}
function mOut(src,clrIn) {
if (!src.contains(event.toElement)) {
src.style.cursor = 'default';
src.bgColor = clrIn;
}
}
function mClk(src) {
if(event.srcElement.tagName=='TD'){
src.children.tags('A')[0].click();
}
}

////////////////////////////////////////FECHA
// Array de los meses
var monthNames = new fecha(12);
monthNames[0] = "Enero";
monthNames[1] = "Febrero";
monthNames[2] = "Marzo";
monthNames[3] = "Abril";
monthNames[4] = "Mayo";
monthNames[5] = "Junio";
monthNames[6] = "Julio";
monthNames[7] = "Agosto";
monthNames[8] = "Septiembre";
monthNames[9] = "Octubre";
monthNames[10] = "Noviembre";
monthNames[11] = "Diciembre";

// Array de los días

var dayNames = new fecha(7);
dayNames[0] = "Domingo";
dayNames[1] = "Lunes";
dayNames[2] = "Martes";
dayNames[3] = "Mi&eacute;rcoles";
dayNames[4] = "Jueves";
dayNames[5] = "Viernes";
dayNames[6] = "S&aacute;bado";

var now = new Date();
var year = now.getYear();

if (year < 2000) year = year + 1900;

function fecha(len) 
{
for (var i = 0; i < len; i++) this[i] = null;
this.length = len;
}
//////////////////////////////////////////POPUP
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=400,left = 0,top = 0');");
}

/////////////////////////////////////////CRITICAS
function criticas(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=415,height=400');");
}
/////////////////////////////////////////BETA
function beta(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=350,height=340');");
}
////////////////////////////////////////COMENTARIOS
function Comentarios(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=400,left = 0,top = 0');");
}

///////////////////////////////////////TRAILERS
function trailers(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=365,height=240');");
}
///////////////////////////////////////TRAILERS
function galeria(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=300');");
}
///////////////////////////////////////MOUSE NONE
/*
function nocontextmenu()  
				{
				event.cancelBubble = true
				event.returnValue = false;
				return false;
				}
				
				function norightclick(e)	
				{
				if (window.Event)	
				{
				if (e.which == 2 || e.which == 3)
				return false;
				}
				else
				if (event.button == 2 || event.button == 3)
				{
				event.cancelBubble = true
				event.returnValue = false;
				return false;
				}	
				}
				document.oncontextmenu = nocontextmenu;		
				document.onmousedown = norightclick;	
*/
/////////////////////////////////////////////////////////////////REMEMBER BY EMAIL
function recordar(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=400,left = 0,top = 0');");
}
/////////////////////////////////////////////////////////////////////////NO SELECCION DE TEXTO
/*
function disabletext(e){return false} {
function reEnable(){return true}
//if the browser is IE4+
document.onselectstart=new Function ("return false")

}*/