function doPosition(){
	ie = (document.all)? true:false;
	pageWidth = (ie)? pageWidth = document.body.offsetWidth : pageWidth = window.innerWidth;
	mainWidth = "550";
	mainLeft =((pageWidth /2) - (mainWidth)/2);
	document.getElementById('main').style.left = mainLeft + "px";
	document.getElementById('main').style.visibility = "visible";
	document.getElementById('submenu').style.visibility = "visible";
}
function doMenu(option){
var myMenu;	
	myMenu = "";
	if (option=="services"){
		myMenu += "<table  border='0' align='center' cellpadding='0' cellspacing='0'><tr class='trBlue'>";
		myMenu += "<td height ='15' align='center' width ='138'><a href='project.html'><img border='0' src='images/proj_man_menu.gif' alt='Project Mangement'></a></td>";
		myMenu += "<td align='center' width ='138'><a href='kitchen_des.html'><img border='0' src='images/kitch_des_menu.gif' alt='Kitchen Design'></a></td>";
		myMenu += "<td align='center' width ='138'><a href='procurement.html'><img border='0' src='images/procurement_menu.gif' alt='Procurement'></a></td>";
		myMenu += "<td align='center'  width ='138'><a href='installation.html'><img border='0' src='images/installation_menu.gif' alt='Installation and Aftersales'></a></td>";
		myMenu +="</tr></table>";
	}
	if (option=="about"){
		myMenu += "<table  border='0' align='center' cellpadding='0' cellspacing='0'><tr class='trBlue'>";
		myMenu += "<td height ='15' align='center' width ='138'><a href='history.html'><img border='0' src='images/history_menu.gif' alt='History'></a></td>";
		myMenu += "<td height ='15' align='center' width ='138'></td><td height ='15' align='center' width ='138'></td>";
		myMenu +="</tr></table>";
	}
	if (option=="case"){
		myMenu += "<table  border='0' align='center' cellpadding='0' cellspacing='0'><tr class='trBlue'>";
		myMenu += "<td height ='15' align='center' width ='138'><a href='walsall.html'><img border='0' src='images/walsall_menu.gif' alt='Walsall Academy'></a></td>";
		myMenu += "<td align='center' width ='138'></td>";
		myMenu += "<td height ='15' align='center' width ='138'></td><td height ='15' align='center' width ='138'></td>";
		myMenu +="</tr></table>";
	}
	document.getElementById('submenu').innerHTML = myMenu;
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);