//  FileName:   Global.js
//   Created:   2008-00-00;
//  Modified:   0000-00-00;
//Descrition:   This is the global javascript file.
//    Notice:   This script was purpose written by Professional Web Pages. 
//              Copyright 2008 Professional Web Pages.



 
 
 
//START - Window Onload
window.onload = load;
function load()
    {
        
        
    }
    //END - Window Onload  

    //START - Function to place proper margin at the top of the page so it is more centered.
function VerticalAlign() 
    {
        //note: calculate height based on the users screen
        //note: only call this function when needed as some pages do not require it to be centered vertically
        var iHeight = Math.floor((0.10 * screen.availHeight));
        var sHeight = iHeight.toString() + "px";
        if (screen.availHeight > 900) {
            document.getElementById("aspnetForm").style.marginTop = sHeight;
        }
    }
