
var bro=navigator.appName;
var ver=parseInt(navigator.appVersion);
var bro_ok=0;
if((bro=="Netscape" && ver>=3) || (bro=="Microsoft Internet Explorer" && ver>=4))
    bro_ok=1;

var sel_id=0;
//------------------------------------------------------------------

//------------------------------------------------------------------
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 picopen(id,x,y)
{
    //x+=12;
    //y+=77;
    window.open("imgs.php?img_id="+id+'"',"image","menubar=yes,status=yes,resizable=yes,width="+x+",height="+y+'"');
}

