// JavaScript Document
function Start(page) {
OpenWin = this.open(page, "CtrlWindow", "height=480, width=620, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no");
}
var myWindow;
function openCenteredWindow(url, width, height) {
    var left = parseInt((screen.availWidth/2) - (width/2));
    var top = parseInt((screen.availHeight/2) - (height/2));
    var windowFeatures = "width=" + width + ",height=" + height +
        ",status,resizable,left=" + left + ",top=" + top +
        ",screenX=" + left + ",screenY=" + top;
    myWindow = window.open(url, "subWind", windowFeatures);
}
// DROP MENUS
var subMenus = new Array();
subMenus.push('linksOrder');
function dropMenu($menu) {
    if($menu != null) {
        $objDrop = document.getElementById($menu);
        if($objDrop.style.display = 'none') {
            $objDrop.style.display = 'block';
        }
    }
}
function closeMenu() {
    for(key in subMenus) {       
        clsSub = document.getElementById(subMenus[key]);
        if(clsSub != null) {
            clsSub.style.display = 'none';
        }
    }
}