
function CenterPopupScroll(URL, wt, ht)
	{

    	
    	popupScroll = window.open(URL, 'PopUp', 
			'resizable=yes ' +
    		'scrollbars=yes ' +
    		'width=' + wt + ' ' +
    		'height=' + ht + ' ' +
    		'top=0'  + ' ' +
    		'left=0'  
    		)
    	
    	popupScroll.focus()
	}
	
function HeaderLink (iRoll)
	{
	switch (iRoll) {
           case(0): window.event.srcElement.className = "HeaderLinksOff";
               break;
           case(1): window.event.srcElement.className = "HeaderLinksOn";
               break;
	}
	}
	
function menuInTextroll (iRoll)
	{
	switch (iRoll) {
           case(0): window.event.srcElement.className = "IntextLinksOff";
               break;
           case(1): window.event.srcElement.className = "IntextLinksOn";
               break;
	}
	}
	
function Aboutmenuroll (iRoll)
	{
	switch (iRoll) {
           case(0): window.event.srcElement.className = "aboutmenu";
               break;
           case(1): window.event.srcElement.className = "aboutmenuon";
               break;
	}
	}

function Schedmenuroll (iRoll)
	{
	switch (iRoll) {
           case(0): window.event.srcElement.className = "Schedmenu";
               break;
           case(1): window.event.srcElement.className = "Schedmenuon";
               break;
	}
	}

function menuroll (iRoll)
	{
	switch (iRoll) {
           case(0): window.event.srcElement.className = "menu";
               break;
           case(1): window.event.srcElement.className = "menuon";
               break;
           case(2): window.event.srcElement.className = "menuonTD";
               break;
           case(3): window.event.srcElement.className = "menuTD";
               break;
	}
	}

	
function getbrowserwidth()
{
    	if (navigator.userAgent.indexOf("MSIE") > 0)
        	{
        		return(document.body.clientWidth);
        	}
        else
            {
            		return window.outerWidth;
            	}
}
        
function getbrowserheight()
{
 	if (navigator.userAgent.indexOf("MSIE") > 0)
     	{
     		return(document.body.clientHeight);
     	} 
     else
         {
         		return(window.outerHeight);
  		}
}

var popupScroll = new Object()
function CenterPopupScroll2(URL, wt, ht)
{

    	// get center of browser window
    	var X = getbrowserwidth() / 2
    	var Y = getbrowserheight() / 2
    	
    	popupScroll = window.open(URL, 'PopUp', 
			'resizable=yes ' +
    		'scrollbars=yes ' +
    		'width=' + wt + ' ' +
    		'height=' + ht + ' ' +
    		'top=' + (window.screenTop + (Y - (ht/2))) + ' ' +
    		'left=' + (window.screenLeft + (X - (wt/2))) 
    		)
    	
    	popupScroll.focus()
}
