// JavaScript Document
function popup(img, ww, hh){
  derecha=(screen.width-ww)/2;
  arriba=(screen.height-hh)/2;
  string="titlebar='no',toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=1,width="+ww+",height="+hh+",left="+derecha+",top="+arriba+"";
  fin=window.open(img,this.target,string);
}

function setPointerOverT(theRow){
	thePointerColor='#fff';
    if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
        return false;
    }
    if (typeof(document.getElementsByTagName) != 'undefined') {
        var theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        var theCells = theRow.cells;
    }
    else {
        return false;
    }

    var rowCellsCnt  = theCells.length;
    for (var c = 0; c < rowCellsCnt; c++) {
        theCells[c].style.backgroundColor = thePointerColor;
    }

    return true;
}

function setPointerOutT(theRow){
	thePointerColor='#fff4d8';
    if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
        return false;
    }
    if (typeof(document.getElementsByTagName) != 'undefined') {
        var theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        var theCells = theRow.cells;
    }
    else {
        return false;
    }

    var rowCellsCnt  = theCells.length;
    for (var c = 0; c < rowCellsCnt; c++) {
        theCells[c].style.backgroundColor = thePointerColor;
    }

    return true;
}
function foco(){
	document.frmLogin.email.focus();	
}
