function openNewWindow(fpath,wWidth,wHeight,wName) {
	var winX = (screen.availWidth - wWidth)*.5;
	var winY = (screen.availHeight - wHeight)*.5;
	win1 = window.open(fpath, wName, "toolbar=no,menubar=no,statusbar=no,scrolling=no,width=" + wWidth + ",height=" + wHeight + ",left=" + winX + ",top=" + winY + ",scrollbars=no");
}

function hideObjects()
{
    var selCount;
    if (navigator.userAgent.indexOf("explorer") > -1) {
        selCount = document.all.tags("select");
    }
    else {
        selCount = document.getElementsByTagName("select");
    }
    for (i=0; i<selCount.length; i++)
        selCount[i].style.visibility = "hidden";

}

function showObjects() {
    var selCount;
    if (navigator.userAgent.indexOf("explorer") > -1) {
        selCount = document.all.tags("select");
    }
    else {
        selCount = document.getElementsByTagName("select");
    }
    for (i=0;i<selCount.length;i++)
        selCount[i].style.visibility="visible"
}

