function getNewPosition()
	{

	/*	var strOS, strBrowser, strTemp;
		 strOS = "other";
	    strBrowser = "other";  
	 
	    strTemp = navigator.appVersion.toLowerCase();
	 
	  if (strTemp.indexOf("win") > 0)
	     strOS = "windows";
	   
	  if (strTemp.indexOf("mac") > 0)
	     strOS = "mac"; 
	  
	  if (strTemp.indexOf("msie") > 0)
	     strBrowser = "msie";	 */
		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-776)/2;
		else
			varIncrementX = (document.body.clientWidth-776)/2;
		
		/* if ((strOS.toLowerCase() == "windows") && (strBrowser.toLowerCase() == "msie")){
  //ie   
  
  			//newleft = 6 + varIncrementX;			
			newleft=12+varIncrementX;
 		 } 
		 else */
		  	newleft =163 + varIncrementX;
		
			
		// For menu1

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

// For menu2	
		newleft = newleft + 94;		
		if(document.layers)								// If NS4.7
		{
			if(varIncrementX > 0)
				document.layers[1].left = newleft - 28;
			else
				document.layers[1].left = newleft+28
		}
		else
			document.getElementById("Menu1").style.left = newleft + "px";

// For menu3	
		newleft = newleft + 99;		
		if(document.layers)								// If NS4.7
		{
			if(varIncrementX > 0)
				document.layers[2].left = newleft - 28;
			else
				document.layers[2].left = newleft+28
		}
		else
			document.getElementById("Menu2").style.left = newleft + "px";

// For menu4	
		newleft = newleft + 60;		
		if(document.layers)								// If NS4.7
		{
			if(varIncrementX > 0)
				document.layers[3].left = newleft - 28;
			else
				document.layers[3].left = newleft+28
		}
		else
			document.getElementById("Menu3").style.left = newleft + "px";

// For menu5	
		newleft = newleft + 48;		
		if(document.layers)								// If NS4.7
		{
			if(varIncrementX > 0)
				document.layers[4].left = newleft - 28;
			else
				document.layers[4].left = newleft+28
		}
		else
			document.getElementById("Menu4").style.left = newleft + "px";
			
		
	// For menu6	
		newleft = newleft + 101;		
		if(document.layers)								// If NS4.7
		{
			if(varIncrementX > 0)
				document.layers[5].left = newleft - 28;
			else
				document.layers[5].left = newleft+28
		}
		else
			document.getElementById("Menu5").style.left = newleft + "px";
			
	
					
		
			
		}

			
			
			