<!-- Begin hiding JavaScript

function scrollMsg(myMsg, i) {
     window.status = myMsg.substring(i,myMsg.length) + myMsg.substring(0,i)
     if (i < myMsg.length) { i++ }
     else {i = 0 }
     setTimeout('scrollMsg()',50)  
}

function calendar_window(image, width, height) {         // Pop-up Window function.
     // Add extra pixels to the width and height.
     width = width + 20;
     height = height + 20;

     // If window open, resize to new dimentions.
     if (window.popup_window && !window.popup_window.closed) {
         window.popup_window.resizeTo(width, height);  }


     // Set the window properties.
     var window_specs = "location=no, scrollbars=no, menubar=no, toolbar=no, resizable=no, left=135, top=0, width=" + width + ", height=" + height + "";

     // Set the URL.
     var url =  "" + image + "" ;

     // Create pop-up window.
     popup_window = window.open(url, "SelectWindow", window_specs);
     popup_window.focus();

}

function wrapper_window(image, width, height) {         // Pop-up Window function.
     // Add extra pixels to the width and height.
     width = width + 200;
     height = height + 200;

     // If window open, resize to new dimentions.
     if (window.popup_window && !window.popup_window.closed) {
         window.popup_window.resizeTo(width, height);  }


     // Set the window properties.
     var window_specs = "location=no, scrollbars=yes, menubar=yes, toolbar=yes, resizable=yes, left=135, top=0, width=" + width + ", height=" + height + "";

     // Set the URL.
     var url =  "" + image + "" ;

     // Create pop-up window.
     popup_window = window.open(url, "SelectWindow", window_specs);
     popup_window.focus();

}

function login_window(image, screen) {         // Pop-up Window function.
     // Add extra pixels to the width and height.
     width = 700;
     height = 375;

     // If window open, resize to new dimentions.
     if (window.popup_window && !window.popup_window.closed) {
         window.popup_window.resizeTo(width, height);  }


     // Set the window properties.
     var window_specs = "location=no, scrollbars=no, menubar=no, toolbar=no, resizable=yes, left=150, top=150, width=" + width + ", height=" + height + "";

     // Set the URL.
     var url = "" + image + "?screen=" + screen + ".php";

     // Create pop-up window.
     popup_window = window.open(url, "LoginWindow", window_specs);
     popup_window.focus();

}

function openWindow(){
     var window_specs = "location=no, scrollbars=yes, menubar=no, toolbar=no, resizable=yes, left=130, top=50, width=700, height=290";
     newWindow = window.open("ResMgrs.php", "ResMgrs", window_specs);
     newWindow.focus();
}


// (C) 2001 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header
function closeMe(){
     var howLong = 5000;
     t = null;
     t = setTimeout("self.close()",howLong);
}

function win(webpage){

     window.opener.location.href="" + webpage + ".php";
     self.close();
}

function refreshParent() {
     window.opener.location.href = window.opener.location.href;

     if (window.opener.progressWindow)  {
        var howLong = 3000;
        t = null;
        t = setTimeout("window.opener.progressWindow.close()",howLong);

     }
     var howLong = 3000;
     t = null;
     t = setTimeout("window.close()",howLong);

}




// End hiding JavaScript -->

