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 jsBanner(strCode,strPath)
{
	var strCode;
	var strLb=strCode.substr(0,2);
	
	if(strPath=="default")
	{
		strPath="../";
	}	
	
	document.write('<table border="0" cellpadding="0" cellspacing="0" height="269" width="780px" id="BcTable1" align="center">');
	document.write('<tr>');
	document.write('<td >');
	
	
	document.write('<table border="0" align="center" cellpadding="0" cellspacing="0" width="780px" height="66">');
	document.write('<tr>');
	document.write('<td width="540px" rowspan="2"><img src="'+strPath+'images/logo.gif" width="540px"></td>');
	document.write('<td height="26px" align="right"><a href="index.html" class="a3">Home</a> | <a href="AboutUs.html" class="a3">About us</a> | <a href="Feedback.html" class="a3">Feedback</a>&nbsp;&nbsp;</td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="240px"><img src="'+strPath+'images/banner_01.jpg"></td>');
	document.write('</tr>');
	document.write('</table>');
	
	document.write('</td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td background="'+strPath+'images/banner_02.jpg" width="780" height="203">');
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="780px" height="203px" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="'+strPath+'images/banner.swf" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="bgcolor" value="#ffffff" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="'+strPath+'images/banner.swf" wmode="transparent" quality="high" bgcolor="#ffffff" width="780px" height="203px" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object></td>');
	document.write('</tr>');
	document.write('</table>');
}


function jsTopNavigator_b(strCode,strPath)
{
	var strCode;
	var strLb=strCode.substr(0,2);
	
	if(strPath=="default")
	{
		strPath="../";
	}	
	
	var posLeft;
	posLeft=(window.screen.width-800)/2;
	document.write('<Div style="left:'+posLeft+';top:0px;width:780px;BACKGROUND-COLOR: #66A6E5;LAYER-BACKGROUND-COLOR: #66A6E5;">');
	document.write('<script type="text/javascript" src="'+strPath+'inc/mmenu.js"></script>');
	document.write('</Div>');
}



function jsTopNavigator(strCode,strPath)
{
	var strCode;
	var strLb=strCode.substr(0,2);
	
	if(strPath=="default")
	{
		strPath="../";
	}
	
	document.write('<tr>')
	document.write('<td height="25">')
	document.write('<table border="0" align="center" cellpadding="0" cellspacing="0" width="780px"  height="25" style="border-top:1px #ffffff solid;">');
	document.write('<tr bgcolor="#6A99B5">');
	document.write('<td width="92px" align="center" valign="middle"><a href="index.html" class="amenu"><div>Home</div></a></td>');
	document.write('<td width="1px" bgcolor="#ffffff"></td>');
	document.write('<td width="119" align="center"><a href="product_list.asp?type=1"  class="amenu"><div>Sanitary Napkins</div></a></td>');
	document.write('<td width="1px" bgcolor="#ffffff"></td>');
	document.write('<td width="119px" align="center"><a href="product_list.asp?type=2" class="amenu"><div>Pantyliner Series</div></a></td>');
	document.write('<td width="1px" bgcolor="#ffffff"></td>');
	document.write('<td width="116px" align="center"><a href="product_list.asp?type=3" class="amenu"><div>Wipes</div></a></td>');
	document.write('<td width="1px" bgcolor="#ffffff"></td>');
	document.write('<td width="116px" align="center"><a href="product_list.asp?type=4" class="amenu"><div>Diaper</div></a></td>');
	document.write('<td width="1px" bgcolor="#ffffff"></td>');
	document.write('<td width="116px" align="center"><a href="product_list.asp?type=5" class="amenu"><div>Raw Materials</div></a></td>');
	document.write('<td width="1px" bgcolor="#ffffff"></td>');
	document.write('<td width="96px" align="center"><a href="Factory.html" class="amenu"><div>Factory</div></a></td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('</td>')
	document.write('</tr>')
}


//function jsTopNavigator_c(strCode,strPath)
//{
	//var strCode;
//	var strLb=strCode.substr(0,2);

//	if(strPath=="default")
//	{
//		strPath="../";
//	}
	
//	document.write('<tr>');
//	document.write('<td valign="top" width="780px">');
//	document.write('<DIV id=menu>');
//	document.write('<DIV class=menu>');
//	document.write('<UL>');
//	document.write('<LI><A href="index.html">Home</A></LI>');
//	document.write('<LI><A href="product_list.asp?type=1">Sanitary Towels</A></LI>');
//	document.write('<LI><A href="product_list.asp?type=2">Pantyliner Series</A></LI>');
//	document.write('<LI><A href="product_list.asp?type=3">Wipes</A></LI>');
//	document.write('<LI><A href="product_list.asp?type=4">Diaper</A></LI>');
//	document.write('<LI><A href="product_list.asp?type=5">Raw Materials</A></LI>');
//	document.write('</UL>');
//	document.write('</DIV></DIV>');
//	document.write('</td>');
//	document.write('</tr>');
	
//}





function jsAdjHeight(strCode,strPath,strName){
	var strStr1='<tr><td id="BcLocation" colspan="2" height="25px"><font class="FontLocation">';
	var strStr2='</font></td></tr>';
	var strStr3='';

	if(strPath=="default")
	{
		strPath="../";
	}
	var strLb=strCode.substr(0,4);

	switch(strLb)
	{
		
		case "0100":
			//Home
			strStr3='&nbsp;Location:&nbsp;&nbsp;Home&nbsp;';
			break;
		case "0200":
			//
			strStr3='&nbsp;Location:&nbsp;&nbsp;Home&nbsp;>>&nbsp;'+strName;
			break;
		case "0300":
			//
			strStr3='&nbsp;Location:&nbsp;&nbsp;Home&nbsp;>>&nbsp;'+strName;
			break;
		case "0400":
			//
			strStr3='&nbsp;Location:&nbsp;&nbsp;Home&nbsp;>>&nbsp;'+strName;
			break;
		case "0500":
			//
			strStr3='&nbsp;Location:&nbsp;&nbsp;Home&nbsp;>>&nbsp;'+strName;
			break;
		case "0600":
			//
			strStr3='&nbsp;Location:&nbsp;&nbsp;Home&nbsp;>>&nbsp;'+strName;
			break;
		case "0700":
			//
			strStr3='&nbsp;Location:&nbsp;&nbsp;Home&nbsp;>>&nbsp;Detail';
			break;
		case "0701":
			//
			strStr3='&nbsp;Location:&nbsp;&nbsp;Home&nbsp;>>&nbsp;Detail&nbsp;>>&nbsp;BigPic';
			break;
		case "0800":
			//
			strStr3='&nbsp;Location:&nbsp;&nbsp;Home&nbsp;>>&nbsp;About us';
			break;
		case "0900":
			//
			strStr3='&nbsp;Location:&nbsp;&nbsp;Home&nbsp;>>&nbsp;Feedback';
			break;
		case "1100":
			//
			strStr3='&nbsp;Location:&nbsp;&nbsp;Home&nbsp;>>&nbsp;Factory';
			break;
		
	}
	//调高度
	//document.write('<tr><td colspan="2" height="22px"></td></tr>');
	//位置栏
	document.write(strStr1+strStr3+strStr2);

	
	
}


function jsBottNavigator(strCode,strPath)
{
	var strCode;
	var strLb=strCode.substr(0,2);
	
	if(strPath=="default")
	{
		strPath="../";
	}	
	document.write('<table  class="BorderTd1" border="0" cellpadding="0" cellspacing="0"  width="778px" id="BcTable1" align="center">');
	document.write('<tr>');
	document.write('<td colspan="2" style="padding-top:30;">');
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">');
	document.write('<tr>');
	document.write('<td><img src="images/1.gif" border="0" width="254" height="5" alt=""></td>');
	document.write('<td><a href="index.htm">[home]</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#aboutus">[about us]</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#contactus">[contact us]</a></td>');
	document.write('<td align="right"><img src="'+strPath+'images/2.gif" border="0" width="201" height="5" alt=""></td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('</td>');
	document.write('</tr>');
	document.write('</table>');

}


function jsAddr(strCode,strPath)
{
	var strCode;
	var strLb=strCode.substr(0,2);
	
	if(strPath=="default")
	{
		strPath="../";
	}	
	
	document.write('<table  border="0" cellpadding="0" cellspacing="0"  width="780px" id="BcTable1" align="center">');
	document.write('<tr>');
	document.write('<td colspan="2" height="5" bgcolor="#6A99B5">&nbsp;</td>');
	document.write('</tr>'); 
	
	document.write('<tr>');
	document.write('<td colspan="2" class="FontAdd2" valign="middle" align="center" height="70"><br>Copyright &copy  2009 Zhejiang B.I. Imp. & Exp. Co. Ltd.  All Rights Reserved. <br>Support : <a class="a2" href="http://www.sinitica.com/">Sinitica Technologies</a></td>');
	document.write('</tr>'); 
	document.write('</table>');

}


function jsAboutUs(strCode,strPath)
{
	var strCode;
	var strLb=strCode.substr(0,2);
	
	if(strPath=="default")
	{
		strPath="../";
	}	
	//document.write('<td valign="top">');
	document.write('<table border="0" align="center" cellpadding="0" cellspacing="0" width="215px" height="234px">');
	document.write('<tr>');
	document.write('<td><a href="AboutUs.html"><img src="images/titles_aboutus.gif" height="27" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td class="Tbg4" height="190px" valign="top">');
	document.write('<p class="Psyright">Zhejiang B.I. established in 2003 is one of  the leading company in Chinese health and hygiene products export business  providing health and hygiene innovative products worldwide.<br>');
	document.write('The company is experienced, knowledgeable  and aggressively seeking potential market and service opportunities.We are  dedicated to providing services to various size of the business...<br><div align="right" style="margin-bottom:-1.4em;"><a href="AboutUs.html" class="amore">more</a> <img src="images/icon/icon2.gif" border="0">&nbsp;&nbsp;</div></p>');
	document.write('</td></tr>');
	document.write('<tr>');
	document.write('<td><img src="images/bg_Rb.gif" height="17"></td>');
	document.write('</tr>');    
	document.write('</table>');
	document.write('<table border="0" align="center" cellpadding="0" cellspacing="0" height="10px">');
	document.write('<tr>');
	document.write('<td valign="top"></td>');
	document.write('</tr>');
	document.write('</table>');

}


function jsContactUs(strCode,strPath)
{
	var strCode;
	var strLb=strCode.substr(0,2);
	
	if(strPath=="default")
	{
		strPath="../"
	}	
	document.write('<table border="0" align="center" cellpadding="0" cellspacing="0" width="215px" >');
	document.write('<tr>');
	document.write('<td><img src="images/titles_contactus.gif" height="27"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td class="Tbg4"  valign="top">');
	document.write('<p class="Psyright"><font class="FontMenuAdd">Add: </font><br>4thFloor, Tower C, Jian Qiao Gong She, No.789 Shenhua Rd, West Lake District, Hangzhou, 310030, P.R.C. <br><br>');
	document.write('<font class="FontMenuAdd">Tel: </font><br>(86) 571 8702 7532<br><br>');
	document.write('<font class="FontMenuAdd">Fax: </font><br>(86) 571 8707 6295<br><br>');
	document.write('<font class="FontMenuAdd">Post Code: </font><br>310012<br><br>');
	document.write('<font class="FontMenuAdd">E-mail: </font><br><a class="a2" href="mailto:wenny@ehealth-care.com">wenny@ehealth-care.com</a><br></p>');
	document.write('</td>'); 
	document.write('</tr>'); 
	document.write('<tr>'); 
	document.write('<td><img src="images/bg_Rb.gif" height="17"></td>'); 
	document.write('</tr>');
	document.write('</table>');
	//document.write('</td>');
	

}


//*****************打开窗口函数2003-10-27********************************
function openWin(url,x,y,name)
{
	var temp;
	temp='"'+" toolbar=yes,menubar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,resizable=yes,titlebar=yes,"+" width="+x+",height="+y+'"';
	news=open(url,name,temp);
	news.moveTo(0,0);
}



