// JavaScript Document
NS = (document.layers) ? 1 : 0
IE = (document.all) ? 1: 0

function getWinWidth()
{

  if (document.layers)
    return(window.innerWidth);
  else if (document.all)
    return(document.body.clientWidth);
  else
    return(null);
}
 

function setXPos(){
	if(!(IE || NS)) return;
	if (IE){
	menuX = ((getWinWidth() - 760)/2);
	}
	else
		{
		 menuX = ((getWinWidth() - 760)/2);	
		}
	if (NS){
	menuX = ((window.innerWidth-760)/2);	
	}
	if(getWinWidth()<=760)
	{
		menuX = 0
	}
	if(IE)
		{		
			document.all.lyExh.style.pixelLeft = (menuX + 472)
		} 
	else
		{				
			document.lyExh.left = (menuX + 472)
		}
}