//alert('global.js');

function Page_Load(){

    // Add more code here if needed
    // ...
    //alert("pre server script");

    // It is assumed that this function is generated on the server
//    alert(OnLoadScriptFromServer);
    OnLoadScriptFromServer();
//alert("OK!");

    // Add more code here if needed
    // ...
    //alert("pos server script");

}

function GetControlByID(id)
{
    var CtrlPrefix = 'ctl00__centralContentPlaceHolder_';
    var ctrl = document.getElementById(CtrlPrefix + id);
    if(ctrl == null)
        ctrl = document.getElementById(id);
        
    return ctrl;
}
