// JavaScript Document

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];}
}

function fnopen()
{
	window.open("trial-room.html","","titlebar=yes,height=398,width=750,left=50,top=150,scrollbars=no");
}
function fnopen_1()
{
	window.open("../trial-room.html","","titlebar=yes,height=398,width=750,left=50,top=150,scrollbars=no");
}

function fntop(page)
{
	var str="";
    str+="<table cellpadding='0' cellspacing='0' border='0' width='760'>";
	str+="<tr>";
	str+="<td class='logo' width='50%'><a href='index.asp'><img src='images/logo1.jpg' width='425' height='58' alt='' title='Ammen Mills Export House - Manufacturers and Exports of Knitted Garments' border='0' /></a></td>";
	str+="<td valign='top' style='padding-top:26px; padding-right:0px;' width='50%'><div class='toplinks'><div style='float:left; width:136px; padding-right:25px;'><a href='downloads/AMMEN_FINAL_PROFILE3.pdf' target='_blank' title='Profile'><img src='images/download_pdf.gif' border='0' alt=''></a></div><a href='enquiry.asp' style='Cursor:pointer' title='Enquiry' class='home'>Enquiry</a><a href='sitemap.asp' title='Sitemap' class='sitemap'>Sitemap</a></div></td>";
	str+="</tr>";
	str+="<tr>";
	str+="<td colspan='2'><table cellpadding='0' cellspacing='0' border='0' align='center'>";
	str+="<tr>";
	str+="<td><img src='images/menubg.jpg' width='35' height='46' alt='' border='0' /></td>";
	if (page=="home")
		{
			str+="<td><a href='" + linkPath + "index.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('home','','" + linkPath + "images/home-over.jpg',1)\"><img src='" + linkPath + "images/home-over.jpg' alt='' title='Home' name='home' width='102' height='46' border='0' id='home' /></a></td>";
		}
	else 
		{
			str+="<td><a href='" + linkPath + "index.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('home','','" + linkPath + "images/home-over.jpg',1)\"><img src='" + linkPath + "images/home.jpg' alt='' title='Home' name='home' width='102' height='46' border='0' id='home' /></a></td>";	
		}
	if (page=='profile')
		{
			str+="<td><a href='" + linkPath + "profile.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('profile','','" + linkPath + "images/profile-over.jpg',1)\"><img src='" + linkPath + "images/profile-over.jpg' alt='' title='Profile' name='profile' width='111' height='46' border='0' id='profile' /></a></td>";
		}
	else
		{
			str+="<td><a href='" + linkPath + "profile.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('profile','','" + linkPath + "images/profile-over.jpg',1)\"><img src='" + linkPath + "images/profile.jpg' alt='' title='Profile' name='profile' width='111' height='46' border='0' id='profile' /></a></td>";
		}
	if (page=='infra')
		{
			str+="<td><a href='" + linkPath + "infrastructure.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('infrastructure','','" + linkPath + "images/infrastructure-over.jpg',1)\"><img src='" + linkPath + "images/infrastructure-over.jpg' alt='' title='Infrastructure' name='infrastructure' width='155' height='46' border='0' id='infrastructure' /></a></td>";
		}
	else
		{
			str+="<td><a href='" + linkPath + "infrastructure.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('infrastructure','','" + linkPath + "images/infrastructure-over.jpg',1)\"><img src='" + linkPath + "images/infrastructure.jpg' alt='' title='Infrastructure' name='infrastructure' width='155' height='46' border='0' id='infrastructure' /></a></td>";	
		}	
	if (page=='clients')
		{
			str+="<td><a href='" + linkPath + "clients.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('clients','','" + linkPath + "images/clients-over.jpg',1)\"><img src='" + linkPath + "images/clients-over.jpg' alt='' title='Clients' name='clients' width='113' height='46' border='0' id='clients' /></a></td>";
		}
	else
		{
			str+="<td><a href='" + linkPath + "clients.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('clients','','" + linkPath + "images/clients-over.jpg',1)\"><img src='" + linkPath + "images/clients.jpg' alt='' title='Clients' name='clients' width='113' height='46' border='0' id='clients' /></a></td>";
		}	
	if (page=='product')
		{
			str+="<td><a href='" + linkPath + "products.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('products','','" + linkPath + "images/products-over.jpg',1)\"><img src='" + linkPath + "images/products-over.jpg' alt='' title='Products' name='products' width='124' height='46' border='0' id='products' /></a></td>";
	    }
	else
		{
			str+="<td><a href='" + linkPath + "products.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('products','','" + linkPath + "images/products-over.jpg',1)\"><img src='" + linkPath + "images/products.jpg' alt='' title='Products' name='products' width='124' height='46' border='0' id='products' /></a></td>";
		}	
	if (page=='certification')
		{
			str+="<td><a href='" + linkPath + "certification.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('certification','','" + linkPath + "images/certification-over.jpg',1)\"><img src='" + linkPath + "images/certification-over.jpg' alt='' title='Certification' name='certification' width='153' height='46' border='0' id='certification' /></a></td>";
	    }
	else
		{
			str+="<td><a href='" + linkPath + "certification.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('certification','','" + linkPath + "images/certification-over.jpg',1)\"><img src='" + linkPath + "images/certification.jpg' alt='' title='Certification' name='certification' width='153' height='46' border='0' id='certification' /></a></td>";
		}	
/*	if (page=='trailRoom')
		{
			str+="<td><a href='" + linkPath + "javascript:fnopen();' style='Cursor:pointer' title='Trial Room' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('trailroom','','" + linkPath + "images/trailRoomHover.jpg',1)\"><img src='" + linkPath + "images/trailRoomHover.jpg' alt='' title='Trail Room' name='TrailRoom' width='122' height='46' border='0' id='TrailRoom' /></a></td>";
	    }
	else
		{
			str+="<td><a href='" + linkPath + "javascript:fnopen();' style='Cursor:pointer' title='Trial Room' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('trailroom','','" + linkPath + "images/trailRoomHover.jpg',1)\"><img src='" + linkPath + "images/trailRoom.jpg' alt='' title='Trail Room' name='TrailRoom' width='122' height='46' border='0' id='TrailRoom' /></a></td>";
		}	*/
	if (page=='contact')
		{
			str+="<td><a href='" + linkPath + "contact.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('contact','','" + linkPath + "images/contact-over.jpg',1)\"><img src='" + linkPath + "images/contact-over.jpg' alt='' name='contact' title='contact' width='116' height='46' border='0' id='contact' /></a></td>";
	    }
	else
		{
			str+="<td><a href='" + linkPath + "contact.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('contact','','" + linkPath + "images/contact-over.jpg',1)\"><img src='" + linkPath + "images/contact.jpg' alt='' name='contact' title='contact' width='116' height='46' border='0' id='contact' /></a></td>";
	    }	
	str+="<td colspan='2'><img src='images/menubg1.jpg' width='35' height='46' alt='' border='0' /></td>";
	str+="</tr>";
	str+="</table></td>";
	str+="</tr>";
	if (page=='home')
		{
		str+="<tr><td valign='top' colspan='3'><img src='images/main-toparc.gif' width='944' height='37' alt='' border='0' style='padding-right:0px;' /></td></tr>";
		}
	else
		{
		str+="<tr><td valign='top' colspan='2'><img src='images/inner-toparc.gif' width='944' height='37' alt='' border='0' /></td></tr>";	
		}
    str+="</table>";
	document.write(str);	
}

function fnleft()
{
	var str="";
       str+="<table cellpadding='0' cellspacing='0' border='0' width='214'>";
	   str+="<tr><td><img src='images/img-product.gif' width='214' height='42' alt='' title='Products' border='0' /></td></tr>";
		str+="<tr>";
			str+="<td class='productbg'>";
					str+="<ul><li><b><a href='products.asp' class='leftlnk'>Mens Garments</a></b></li>";
					str+="<li><b><a href='products.asp' class='leftlnk'>Womens Garments</a></b></li>";
					str+="<li><b><a href='products.asp' class='leftlnk'>Boys Garments</a></b></li>";
					str+="<li><b><a href='products.asp' class='leftlnk'>Girls Garments</a></b></li>";
				str+="</ul>";
				str+="<ul class='sub'>";
				str+="<li><a href='products.asp' class='leftlnk'>T-shirt</a></li>";
				str+="<li><a href='products.asp' class='leftlnk'>Pullovers & jackets</a></li>";
					str+="<li><a href='products.asp' class='leftlnk'>Polo shirts</a></li>";
					str+="<li><a href='products.asp' class='leftlnk'>Sweat shirts</a></li>";
					str+="<li><a href='products.asp' class='leftlnk'>Bermudas</a></li>";
					str+="<li><a href='products.asp' class='leftlnk'>Pants</a></li>";
				str+="</ul></td>";
		str+="</tr>";
		str+="<tr><td><img src='images/product-bottomarc.gif' width='214' height='12' alt='' border='0' /><br /><br /></td></tr>";
		str+="<tr><td><img src='images/product-toparc.gif' width='214' height='12' alt='' border='0' /></td></tr>";
		str+="<tr>";
			str+="<td class='productbg' align='center'><a href='certification.asp'><img src='images/img-dnv.jpg' width='151' height='89' alt='' title='ISO 9001: 2001 & SA 8000:2001' border='0' /></a></td>";
		str+="</tr>";
		str+="<tr><td><img src='images/product-bottomarc.gif' width='214' height='12' alt='' border='0' /></td>";
	str+="</tr>";
    str+="</table>";
	document.write(str);	
}
	
	function fnbottom()
{
	var str="";
    str+="<table cellpadding='0' cellspacing='0' border='0' align='center' width='944'>";
	str+="<tr><td valign='top'><img src='images/main-bottomarc.gif' width='944' height='17' alt='' border='0' style='padding-right:3px;' /></td>";
	str+="<tr>";
    str+="<td class='footerbg'><a href='index.asp' class='btmlink'>Home</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='profile.asp' class='btmlink'>Profile</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='infrastructure.asp' class='btmlink'>Infrastructure</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='products.asp' class='btmlink'>Products</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='clients.asp' class='btmlink'>Clients</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='certification.asp' class='btmlink'>Certification</a>  &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='contact.asp' class='btmlink'>Contact Us</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='enquiry.asp' class='btmlink'>Enquiry</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='sitemap.asp' class='btmlink'>Sitemap</a><br />&copy; 2007 Ammen Mills,  All Rights Reserved.</td>";
	str+="</tr>";									
	str+="</table>";
	document.write(str);	
}
function fnbottom_1()
{
	var str="";
    str+="<table cellpadding='0' cellspacing='0' border='0' align='center' width='944'>";
	str+="<tr><td valign='top' align='left' style='padding-right:4px;' ><img src='../images/main-bottomarc.gif' width='944' height='17' alt='' border='0' /></td>";
	str+="<tr>";
    str+="<td class='footerbg'><a href='../index.asp' class='btmlink'>Home</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../profile.asp' class='btmlink'>Profile</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../infrastructure.asp' class='btmlink'>Infrastructure</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='products.asp' class='btmlink'>Products</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../clients.asp' class='btmlink'>Clients</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../certification.asp' class='btmlink'>Certification</a>  &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../contact.asp' class='btmlink'>Contact Us</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../enquiry.asp' class='btmlink'>Enquiry</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../sitemap.asp' class='btmlink'>Sitemap</a><br />&copy; 2007 Ammen Mills,  All Rights Reserved.</td>";
	str+="</tr>";									
	str+="</table>";
	document.write(str);	
}
function fnbottom_2()
{
	var str="";
    str+="<table cellpadding='0' cellspacing='0' border='0' align='center' width='944'>";
	str+="<tr><td valign='top' align='left' style='padding-right:4px;' ><img src='../images/main-bottomarc.gif' width='944' height='17' alt='' border='0' /></td>";
	str+="<tr>";
    str+="<td class='footerbg'><a href='../index.asp' class='btmlink'>Home</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../profile.asp' class='btmlink'>Profile</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../infrastructure.asp' class='btmlink'>Infrastructure</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='products.asp' class='btmlink'>Products</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../clients.asp' class='btmlink'>Clients</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../certification.asp' class='btmlink'>Certification</a>  &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../contact.asp' class='btmlink'>Contact Us</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../enquiry.asp' class='btmlink'>Enquiry</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='../sitemap.asp' class='btmlink'>Sitemap</a><br />&copy; 2007 Ammen Mills,  All Rights Reserved.</td>";
	str+="</tr>";									
	str+="</table>";
	document.write(str);	
}
	function fnhomebottom()
{
	var str="";
    str+="<table cellpadding='0' cellspacing='0' border='0' align='center' width='944'>";
	str+="<tr><td valign='top'><img src='images/main-bottomarc.gif' width='944' height='17' alt='' border='0' style='padding-right:3px;' /></td>";
	str+="<tr>";
    str+="<td class='footerbg'><a href='index.asp' class='btmlink'>Home</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='profile.asp' class='btmlink'>Profile</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='infrastructure.asp' class='btmlink'>Infrastructure</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='products.asp' class='btmlink'>Products</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='clients.asp' class='btmlink'>Clients</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='certification.asp' class='btmlink'>Certification</a> &nbsp;&nbsp; | &nbsp;&nbsp;      <a href='contact.asp' class='btmlink'>Contact Us</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='enquiry.asp' class='btmlink'>Enquiry</a>   &nbsp;&nbsp; | &nbsp;&nbsp;   <a href='sitemap.asp' class='btmlink'>Sitemap</a><br />&copy; 2007 Ammen Mills,  All Rights Reserved. &nbsp; Websolutions by: <a href='http://www.advanceecomsolutions.com/' class='btmlink'>AES Technologies (India) Pvt Ltd.,</a> </td>";
	str+="</tr>";									
	str+="</table>";
	document.write(str);	
}




function fntop_1(page)
{
	var str="";
    str+="<table cellpadding='0' cellspacing='0' border='0' width='760'>";
	str+="<tr>";
	str+="<td class='logo'><a href='../index.asp'><img src='../images/logo1.jpg' width='425' height='58' alt='' title='Ammen Mills Export House - Manufacturers and Exports of Knitted Garments' border='0' /></a></td>";
	str+="<td valign='top' style='padding-top:26px; padding-right:10px;'><div class='toplinks'><a href='../enquiry.asp' style='Cursor:pointer' title='Enquiry' class='home'>Enquiry</a><a href='../sitemap.asp' title='Sitemap' class='sitemap'>Sitemap</a></div></td>";
	str+="</tr>";
	str+="<tr>";
	str+="<td colspan='2'><table cellpadding='0' cellspacing='0' border='0'>";
	str+="<tr>";
	str+="<td><img src='../images/menubg.jpg' width='35' height='46' alt='' border='0' /></td>";
	if (page=="home")
		{
			str+="<td><a href='" + linkPath + "index.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('home','','" + linkPath + "images/homeHover.jpg',1)\"><img src='" + linkPath + "images/homeHover.jpg' alt='' title='Home' name='home' width='88' height='46' border='0' id='home' /></a></td>";
		}
	else 
		{
			str+="<td><a href='" + linkPath + "index.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('home','','" + linkPath + "images/homeHover.jpg',1)\"><img src='" + linkPath + "images/home.jpg' alt='' title='Home' name='home' width='88' height='46' border='0' id='home' /></a></td>";	
		}
	if (page=='profile')
		{
			str+="<td><a href='" + linkPath + "profile.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('profile','','" + linkPath + "images/profileHover.jpg',1)\"><img src='" + linkPath + "images/profileHover.jpg' alt='' title='Profile' name='profile' width='92' height='46' border='0' id='profile' /></a></td>";
		}
	else
		{
			str+="<td><a href='" + linkPath + "profile.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('profile','','" + linkPath + "images/profileHover.jpg',1)\"><img src='" + linkPath + "images/profile.jpg' alt='' title='Profile' name='profile' width='92' height='46' border='0' id='profile' /></a></td>";
		}
	if (page=='infra')
		{
			str+="<td><a href='" + linkPath + "infrastructure.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('infrastructure','','" + linkPath + "images/infrastructureHover.jpg',1)\"><img src='" + linkPath + "images/infrastructureHover.jpg' alt='' title='Infrastructure' name='infrastructure' width='140' height='46' border='0' id='infrastructure' /></a></td>";
		}
	else
		{
			str+="<td><a href='" + linkPath + "infrastructure.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('infrastructure','','" + linkPath + "images/infrastructureHover.jpg',1)\"><img src='" + linkPath + "images/infrastructure.jpg' alt='' title='Infrastructure' name='infrastructure' width='140' height='46' border='0' id='infrastructure' /></a></td>";	
		}	
	if (page=='clients')
		{
			str+="<td><a href='" + linkPath + "clients.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('clients','','" + linkPath + "images/clientsHover.jpg',1)\"><img src='" + linkPath + "images/clientsHover.jpg' alt='' title='Clients' name='clients' width='96' height='46' border='0' id='clients' /></a></td>";
		}
	else
		{
			str+="<td><a href='" + linkPath + "clients.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('clients','','" + linkPath + "images/clientsHover.jpg',1)\"><img src='" + linkPath + "images/clients.jpg' alt='' title='Clients' name='clients' width='96' height='46' border='0' id='clients' /></a></td>";
		}	
	if (page=='product')
		{
			str+="<td><a href='" + linkPath + "products.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('products','','" + linkPath + "images/productsHover.jpg',1)\"><img src='" + linkPath + "images/productsHover.jpg' alt='' title='Products' name='products' width='103' height='46' border='0' id='products' /></a></td>";
	    }
	else
		{
			str+="<td><a href='" + linkPath + "products.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('products','','" + linkPath + "images/productsHover.jpg',1)\"><img src='" + linkPath + "images/products.jpg' alt='' title='Products' name='products' width='103' height='46' border='0' id='products' /></a></td>";
		}	
	if (page=='certification')
		{
			str+="<td><a href='" + linkPath + "certification.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('certification','','" + linkPath + "images/certificationHover.jpg',1)\"><img src='" + linkPath + "images/certificationHover.jpg' alt='' title='Certification' name='certification' width='133' height='46' border='0' id='certification' /></a></td>";
	    }
	else
		{
			str+="<td><a href='" + linkPath + "certification.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('certification','','" + linkPath + "images/certificationHover.jpg',1)\"><img src='" + linkPath + "images/certification.jpg' alt='' title='Certification' name='certification' width='133' height='46' border='0' id='certification' /></a></td>";
		}	
	if (page=='trailRoom')
		{
			str+="<td><a href='javascript:fnopen_1();' style='Cursor:pointer' title='Trial Room' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('trailroom','','" + linkPath + "images/trailRoomHover.jpg',1)\"><img src='" + linkPath + "images/trailRoomHover.jpg' alt='' title='Trail Room' name='TrailRoom' width='122' height='46' border='0' id='TrailRoom' /></a></td>";
	    }
	else
		{
			str+="<td><a href='javascript:fnopen_1();' style='Cursor:pointer' title='Trial Room' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('trailroom','','" + linkPath + "images/trailRoomHover.jpg',1)\"><img src='" + linkPath + "images/trailRoom.jpg' alt='' title='Trail Room' name='TrailRoom' width='122' height='46' border='0' id='TrailRoom' /></a></td>";
		}	
	if (page=='contact')
		{
			str+="<td><a href='" + linkPath + "contact.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('contact','','" + linkPath + "images/contactHover.jpg',1)\"><img src='" + linkPath + "images/contactHover.jpg' alt='' name='contact' title='contact' width='100' height='46' border='0' id='contact' /></a></td>";
	    }
	else
		{
			str+="<td><a href='" + linkPath + "contact.asp' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('contact','','" + linkPath + "images/contactHover.jpg',1)\"><img src='" + linkPath + "images/contact.jpg' alt='' name='contact' title='contact' width='100' height='46' border='0' id='contact' /></a></td>";
	    }	
	str+="<td colspan='2'><img src='../images/menubg1.jpg' width='35' height='46' alt='' border='0' /></td>";
	str+="</tr>";
	str+="</table></td>";
	str+="</tr>";
	if (page=='home')
		{
		str+="<tr><td valign='top' colspan='3'><img src='../images/main-toparc.gif' width='944' height='37' alt='' border='0' style='padding-right:0px;' /></td></tr>";
		}
	else
		{
		str+="<tr><td valign='top' colspan='2'><img src='../images/inner-toparc.gif' width='944' height='37' alt='' border='0' /></td></tr>";	
		}
    str+="</table>";
	document.write(str);	
}





