function header(page)
{
	var str="";
	str+="<div id='header'>";
	str+="<div class='logo'><a href='index.html'><img src='images/logo.jpg' border='0' alt='' style='float:left;' /></a></div>";
	str+="<div class='top_right'><div>Commercial Catering Equipment Manufacturing Services | Sheet Metal Fabrication Sheet Metal Engineering Manufacturing Services | Commercial Stainless Steel Sinks and Tables General Sheet Metal Manufacturing Services | Sheet Metal Fabrication and Design Services Restaurant Equipment Assembly and Fabrication | Quality Sheet metal fabrication and assembly</div></div>";
	if (page=='home')
	{	str+="<div class='country'>select your language  &nbsp; &nbsp;<a href='index.html'><img src='images/country1.jpg'  border='0' alt='' align='middle'/></a> &nbsp; &nbsp; <a href='ch_index.html'><img src='images/country2.jpg' border='0' alt='' align='middle'/></a></div>";
	} 
	if (page=='profile')
	{	str+="<div class='country'>select your language  &nbsp; &nbsp;<a href='company_profile.html'><img src='images/country1.jpg'  border='0' alt='' align='middle'/></a> &nbsp; &nbsp; <a href='ch_company_profile.html'><img src='images/country2.jpg' border='0' alt='' align='middle'/></a></div>";
	} 
	if (page=='managementteam')
	{	str+="<div class='country'>select your language  &nbsp; &nbsp;<a href='management_team.html'><img src='images/country1.jpg'  border='0' alt='' align='middle'/></a> &nbsp; &nbsp; <a href='ch_management_team.html'><img src='images/country2.jpg' border='0' alt='' align='middle'/></a></div>";
	} 
	if (page=='ourfactory')
	{	str+="<div class='country'>select your language  &nbsp; &nbsp;<a href='our_factory.html'><img src='images/country1.jpg'  border='0' alt='' align='middle'/></a> &nbsp; &nbsp; <a href='ch_our_factory.html'><img src='images/country2.jpg' border='0' alt='' align='middle'/></a></div>";
	} 
	if (page=='capabilities')
	{	str+="<div class='country'>select your language  &nbsp; &nbsp;<a href='capabilities.html'><img src='images/country1.jpg'  border='0' alt='' align='middle'/></a> &nbsp; &nbsp; <a href='ch_capabilities.html'><img src='images/country2.jpg' border='0' alt='' align='middle'/></a></div>";
	} 
	if (page=='products')
	{	str+="<div class='country'>select your language  &nbsp; &nbsp;<a href='products.html'><img src='images/country1.jpg'  border='0' alt='' align='middle'/></a> &nbsp; &nbsp; <a href='ch_products.html'><img src='images/country2.jpg' border='0' alt='' align='middle'/></a></div>";
	} 
	if (page=='contactus')
	{	str+="<div class='country'>select your language  &nbsp; &nbsp;<a href='contactus.html'><img src='images/country1.jpg'  border='0' alt='' align='middle'/></a> &nbsp; &nbsp; <a href='ch_contactus.html'><img src='images/country2.jpg' border='0' alt='' align='middle'/></a></div>";
	} 
	str+="</div>";
	document.write(str);
}

function menu(page)
{
	var str="";
	str+="<div id='menu'>";
	str+="<div id='smoothmenu1' class='ddsmoothmenu'>";
	str+="<ul>";
	if(page=='home')
	{	str+="<li><a href='index.html' onmouseout='MM_swapImgRestore()' onmouseover=MM_swapImage('Image5','','images/home_h.jpg',1)><img src='images/home_h.jpg' alt='home' name='Image5' width='126' height='52' border='0' id='Image5' /></a></li>";
	}else
	{ 	str+="<li><a href='index.html' onmouseout='MM_swapImgRestore()' onmouseover=MM_swapImage('Image5','','images/home_h.jpg',1)><img src='images/home.jpg' alt='home' name='Image5' width='126' height='52' border='0' id='Image5' /></a></li>";
	}
	if(page=='company_profile')
	{   str+="<li><a href='company_profile.html' onmouseout='MM_swapImgRestore()' onmouseover=MM_swapImage('Image6','','images/company_profile_h.jpg',1)><img src='images/company_profile_h.jpg' alt='company_profile' name='Image6' width='126' height='52' border='0' id='Image6' /></a>";			
		str+="<ul>";
		str+="<li><a href='management_team.html'>Management Team</a></li>";
		str+="<li><a href='pdf/cms-brochure.pdf' target='_blank'>Corporate Brochure</a></li>";
		str+="</ul>";
		str+="</li>";	
	}else
	{   str+="<li><a href='company_profile.html' onmouseout='MM_swapImgRestore()' onmouseover=MM_swapImage('Image6','','images/company_profile_h.jpg',1)><img src='images/company_profile.jpg' alt='company_profile' name='Image6' width='126' height='52' border='0' id='Image6' /></a>";			
		str+="<ul>";
		str+="<li><a href='management_team.html'>Management Team</a></li>";
		str+="<li><a href='pdf/cms-brochure.pdf' target='_blank'>Corporate Brochure</a></li>";
		str+="</ul>";
		str+="</li>";	
	}
	if(page=='our_factory')
	{ 	str+="<li><a href='our_factory.html' onmouseout='MM_swapImgRestore()' onmouseover=MM_swapImage('Image7','','images/our_factory_h.jpg',1)><img src='images/our_factory_h.jpg' alt='our_factory' name='Image7' width='126' height='52' border='0' id='Image7' /></a></li>";
	}else
	{ 	str+="<li><a href='our_factory.html' onmouseout='MM_swapImgRestore()' onmouseover=MM_swapImage('Image7','','images/our_factory_h.jpg',1)><img src='images/our_factory.jpg' alt='our_factory' name='Image7' width='126' height='52' border='0' id='Image7' /></a></li>";
	}
	if(page=='capabilities')
	{	str+="<li><a href='capabilities.html' onmouseout='MM_swapImgRestore()' onmouseover=MM_swapImage('Image8','','images/capabilities_h.jpg',0)><img src='images/capabilities_h.jpg' alt='capabilities' name='Image8' width='126' height='52' border='0' id='Image8' /></a></li>";
	}else
	{	str+="<li><a href='capabilities.html' onmouseout='MM_swapImgRestore()' onmouseover=MM_swapImage('Image8','','images/capabilities_h.jpg',0)><img src='images/capabilities.jpg' alt='capabilities' name='Image8' width='126' height='52' border='0' id='Image8' /></a></li>";
	}
	if(page=='products')
	{	str+="<li><a href='products.html' onmouseout='MM_swapImgRestore()' onmouseover=MM_swapImage('Image9','','images/products_h.jpg',1)><img src='images/products_h.jpg' alt='product' name='Image9' width='126' height='52' border='0' id='Image9' /></a>";
		str+="<ul>";
		str+="<li><a href='pdf/Products_brochure.pdf' target='_blank'>Products brochure</a></li>";
		str+="<li><a href='pdf/Catering_equipment.pdf' target='_blank'>Catering brochure</a></li>";
		str+="<li><a href='pdf/Bakery_equipment.pdf' target='_blank'>Bakery brochure</a></li>";
		str+="<li><a href='pdf/Retail_equipment.pdf' target='_blank'>Retail brochure</a></li>";
		str+="<li><a href='pdf/Refrigeration_equipment.pdf' target='_blank'>Refrigeration brochure</a></li>";
		str+="</ul>";
		str+="</li>";	
	}else
	{	str+="<li><a href='products.html' onmouseout='MM_swapImgRestore()' onmouseover=MM_swapImage('Image9','','images/products_h.jpg',1)><img src='images/products.jpg' alt='product' name='Image9' width='126' height='52' border='0' id='Image9' /></a>";
		str+="<ul>";
		str+="<li><a href='pdf/Products_brochure.pdf' target='_blank'>Products brochure</a></li>";
		str+="<li><a href='pdf/Catering_equipment.pdf' target='_blank'>Catering brochure</a></li>";
		str+="<li><a href='pdf/Bakery_equipment.pdf' target='_blank'>Bakery brochure</a></li>";
		str+="<li><a href='pdf/Retail_equipment.pdf' target='_blank'>Retail brochure</a></li>";
		str+="<li><a href='pdf/Refrigeration_equipment.pdf' target='_blank'>Refrigeration brochure</a></li>";
		str+="</ul>";
		str+="</li>";	
	}
	if(page=='contactus')
	{	str+="<li><a href='contactus.html' onmouseout='MM_swapImgRestore()' onmouseover=MM_swapImage('Image10','','images/contactus_h.jpg',1)><img src='images/contactus_h.jpg' alt='contact_us' name='Image10' width='126' height='52' border='0' id='Image10' /></a></li>";
	}else
	{	str+="<li><a href='contactus.html' onmouseout='MM_swapImgRestore()' onmouseover=MM_swapImage('Image10','','images/contactus_h.jpg',1)><img src='images/contactus.jpg' alt='contact_us' name='Image10' width='126' height='52' border='0' id='Image10' /></a></li>";
	}
	str+="</ul>";
	str+="</div>";
	document.write(str);
}	


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
