	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-762)/2;
		else
			varIncrementX = (document.body.clientWidth-762)/2;
		
		
		if(varIncrementX > 0)
			newleft = 1 + varIncrementX;
		else
			newleft = 2;

		
		// For menu1
		 newleft = newleft + 8;
		 
		if(document.layers)								// If NS4.7
		{
			if(varIncrementX > 0)
				document.layers[0].left = newleft+4;
			else
				document.layers[0].left = newleft;
		}
		else
			document.getElementById("Menu0").style.left = newleft + "px";
			
		
		 newleft = newleft + 365;
		 
		if(document.layers)								// If NS4.7
		{
			if(varIncrementX > 0)
				document.layers[1].left = newleft+4;
			else
				document.layers[1].left = newleft;
		}
		else
			document.getElementById("Menu1").style.left = newleft + "px";
			
		 newleft = newleft + 89;
		 
		if(document.layers)								// If NS4.7
		{
			if(varIncrementX > 0)
				document.layers[2].left = newleft+4;
			else
				document.layers[2].left = newleft;
		}
		else
			document.getElementById("Menu2").style.left = newleft + "px";
			
		 newleft = newleft + 114;
		 
		if(document.layers)								// If NS4.7
		{
			if(varIncrementX > 0)
				document.layers[3].left = newleft+4;
			else
				document.layers[3].left = newleft;
		}
		else
			document.getElementById("Menu3").style.left = newleft + "px";
			
						
	
	}
	
	
	