	function getNewPosition()
	{
		var varIncrementX;			// This parameter calculates the X distance that needs to be added
		var newleft;				// This is the new X co-ordinate

		// Get the portion from left/right that is outside the main table boundary
		
		if(document.layers)								// If NS4.7
			varIncrementX = (window.innerWidth-1000)/2;
		else
			varIncrementX = (document.body.clientWidth-1000)/2;
		
		
		if(varIncrementX > 0)
			newleft = 0 + varIncrementX;
		else
			newleft = -1;

		
		// For menu1
		 newleft = newleft + 430;
		 
		if(document.layers)								// If NS4.7
		{
			if(varIncrementX > 0)
				document.layers[0].left = newleft + 1;
			else
				document.layers[0].left = newleft;
		}
		else
			document.getElementById("Menu0").style.left = newleft + "px";
	}
	
	
	