// Script Antialone.

if (top.frames.length == 0) {
  var page = top.location.href;
  if (page.substring(0,5) == 'http:') {
    top.location.href = "http://www.edelmag.cl/p4_edelmag/antialone.html?page=" + page;
  };
};
// CODIGO DE ROLLOVER DE COLOR DE CELDAS

function cOvr(src) {
if (!src.contains(event.fromElement)) {
src.style.cursor = 'hand';
}
}

function cOut(src) {
if (!src.contains(event.toElement)) {
src.style.cursor = 'default';
}
}

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();
}
}


// COMPATIBILIZACION TAMA„O TEXTBOX
function textbox(nombre, tamanio, valor, evento)
{
if (navigator.appName.substring(0,1)=="M") {
document.write('<input style="font-family: Tahoma,Verdana,Arial,Helvetica; font-size: 8pt" type=text name='+ nombre +' size=' + tamanio + ' value=\"' + valor + '\" ' + evento + '>');
} else	{
document.write('<input type=text name='+ nombre +' size=' + (tamanio-3) + ' value=\"' + valor +  '\" ' + evento + '>');
}
}

function textboxpass(nombre, tamanio, valor)
{
if (navigator.appName.substring(0,1)=="M") {
document.write('<input style="font-family: Tahoma,Verdana,Arial,Helvetica; font-size: 8pt" type=password name='+ nombre +' size=' + tamanio + ' value=' + valor +'>');
} else	{
document.write('<input type=password name='+ nombre +' size=' + (tamanio-3) + ' value=' + valor +'>');
}
}

