function setPointer(theRow, thePointerColor)
{
    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;
}
// end of the 'setPointer()' function

function FullpopUp(url) {
sealWin=window.open(url,"win",'top=10,left=10,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
self.name = "mainWin"; }

function popUp(url) {
sealWin=window.open(url,"win",'top=10,left=10,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=500,height=450');
self.name = "mainWin"; }

function chkPass() {
if (document.form1.passwd1.value != document.form1.passwd2.value) {
alert("Your Passwords Don't Match");
return false;
}
else
return true;
}
function squirrelmail_loginpage_onload() {
document.forms[0].js_autodetect_results.value = '1';
document.forms[0].elements[0].focus();
}
