


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 CenterPopupScroll(URL, width, height)
    {
    	// get center of browser window
    	var X = getbrowserwidth() / 2
    	var Y = getbrowserheight() / 2
    	popupScroll = window.open(URL, 'PopUp', 
			'resizable=yes ' +
    		'scrollbars=yes ' +
    		'width=' + width + ' ' +
    		'height=' + height + ' ' +
    		'top=' + (window.screenTop + (Y - (height/2))) + ' ' +
    		'left=' + (window.screenLeft + (X - (width/2))) 
    		)
    	
    	popupScroll.focus()
}
    
				
var popup = new Object()
function CenterPopup(URL, width, height)
    {
    	// get center of browser window
    	var X = getbrowserwidth() / 2
    	var Y = getbrowserheight() / 2

    	popup = window.open(URL, 'PopUp', 
    		'scrollbars=no ' +
    		'width=' + width + ' ' +
    		'height=' + height + ' ' +
    		'top=' + (window.screenTop + (Y - (height/2))) + ' ' +
    		'left=' + (window.screenLeft + (X - (width/2))) 
    		)
    	
    	popup.focus()
}
    
