//***************Banner*****************
function js_Banner(strCode,strPath)
{
	var strTable=new Array(39),count;
	var strLb=strCode.substr(0,2);
	if(strPath=="default")
	{
		strPath="../"
	}

	strTable[0]='<TABLE cellSpacing="0" cellPadding="0" border="0"  width="778px"  align="center">';
	strTable[1]='<TR>';
	strTable[2]='<TD width="16" height="66"><IMG alt="" src="'+strPath+'images/pixel-clear.gif" width="16"></TD>';
	strTable[3]='<TD vAlign="top" width="260" height="66"><IMG height="66" alt="click to return to the Woman\'s Hospital Home page" src="'+strPath+'images/logo_en_green.gif" width="500" border="0"></TD>';
	strTable[4]='<TD vAlign="top" width="504" bgColor="#009ea0" height="66">';
	strTable[5]='<TABLE cellSpacing="0" cellPadding="0" width="260" bgColor="#009ea0" border="0">';
	strTable[6]='<TR>';
	strTable[7]='<TD height="4"><IMG height="4" alt="" src="'+strPath+'images/pixel-clear.gif"  width="1"></TD>';
	strTable[8]='</TR>';
	strTable[9]='<TR>';
	strTable[10]='';
	strTable[11]='<TD align="right" height="30">';
//	strTable[12]='<INPUT maxLength="100" size="14" name="query"> &nbsp; <INPUT ';
//	strTable[13]='onclick="javascript:window.MONDOSEARCHFORM.submit();" type="image" ';
//	strTable[14]='src="'+strPath+'images/arrow-go-jax.gif" ';
//	strTable[15]='value="Go" border="0"> ';
/*
	strTable[9]='<TR>';
	strTable[10]='<FORM name="MONDOSEARCHFORM" action="" method="get">';
	strTable[11]='<TD align="right" height="30"><SPAN  class="head5">search:</SPAN> ';
	strTable[12]='<INPUT maxLength="100" size="14" name="query"> &nbsp; ';
	strTable[13]=' ';
	strTable[14]='<IMG border="0" alt="" src="'+strPath+'images/arrow-go-jax.gif"> ';
	strTable[15]='';
	strTable[16]='</TD></FORM></TR>';
*/
	strTable[12]=' ';
	strTable[13]=' ';
	strTable[14]='';
	strTable[15]='';
	strTable[16]='</TD></TR>';
	strTable[17]='<TR>';
	strTable[18]='<TD height="6"><IMG height="6" alt="" src="'+strPath+'images/pixel-clear.gif" width="1"></TD>';
	strTable[19]='</TR>';
	strTable[20]='<TR>';
	strTable[21]='<TD align="right" height="26"><SPAN class="head5"> ';
	strTable[22]='Language: &nbsp; <A ';
	strTable[23]='class="head5" ';
	strTable[24]='href="'+strPath+'index.htm" ';
	strTable[25]='alt="click to visit womanhospital in Scottsdale">English</A> | <A ';
	strTable[26]='class="head5" ';
	strTable[27]='href="'+strPath+'../chinese/index.htm" ';
	strTable[28]='alt="click to visit womanhospital in Jacksonville">Chinese</A> | <A ';
	strTable[29]='class="head5" ';
	strTable[30]='href="http://www.womanhospital.cn/" ';
	strTable[31]='alt="click to visit womanhospital in Rochester"></A></SPAN> ';
	strTable[32]='</TD>';
	strTable[33]='</TR>';
	strTable[34]='</TABLE>';
	strTable[35]='</TD>';
	strTable[36]='<TD width="100%" bgColor="#009ea0"><IMG alt="" src="'+strPath+'images/pixel-clear.gif"></TD>';
	strTable[37]='</TR>';
	strTable[38]='</TABLE>';


	for(count=0;count<39;count++)
	{
		document.write(strTable[count]);
	}
}


//***************MenuBar*****************
function js_MenuBar(strCode,strPath)
{
	var strTable=new Array(12),count;
	var strLb=strCode.substr(0,2);
	if(strPath=="default")
	{
		strPath="../"
	}

	
	var strUrl="";
	switch(strLb)
	{
		case "01":
			strUrl='<A class="trail1" href="../news/news_index.htm">Brief News</A>';
			break;
		case "02":
			strUrl='<A class="trail1" href="../general/gen_intro.htm">General Information</A>';
			break;
		case "03":
			strUrl='<A class="trail1" href="../edu/edu_index.htm">Education & research</A>';
			break;
		case "04":
			strUrl='<A class="trail1" href="../msi/msi_index.htm">Medical services Information</A>';
			break;
		case "05":
			strUrl='<A class="trail1" href="../nursing/nursing_index.htm">Nursing</A>';
			break;
	}
	
	
	strTable[0]='<TABLE cellSpacing="0" cellPadding=0" width="778px" border="0" align="center">';
	strTable[1]='<TR>';
	strTable[2]='<TD width="214">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A class="trail1" href="'+strPath+'index.htm">home</A> <IMG height="12" alt="" src="../images/arrow-trail.gif" width="10" align="center"> '+strUrl+'</TD>';
	strTable[3]='<TD  class="kuang" width="566" height="30" >';
	strTable[4]='<A class="menu"  href="../news/news_index.htm">Brief News</A> <SPAN  class="menuvbar">|</SPAN> ';
	strTable[5]='<A class="menu" href="../general/gen_intro.htm">General Information</A> <SPAN class="menuvbar">|</SPAN> ';
	strTable[6]='<A class="menu"  href="../edu/edu_index.htm">Education & research</A> <SPAN class="menuvbar">|</SPAN> ';
	strTable[7]='<A class="menu"  href="../msi/msi_index.htm">Medical services Information</A> <SPAN class="menuvbar">|</SPAN> ';
	strTable[8]='<A class="menu"  href="../nursing/nursing_index.htm">Nursing </A> ';
	strTable[9]='</TD>';
	strTable[10]='</TR>';
	strTable[11]='</TABLE>';


	for(count=0;count<12;count++)
	{
		document.write(strTable[count]);
	}
	strUrl="";
}

//***************news*****************
function js_news(strCode,strPath)
{
	var strLb=strCode.substr(0,2);
	if(strPath=="default")
	{
		strPath="../"
	}

	document.write('<TABLE cellSpacing=0 cellPadding=0 width=158 border=0><TR>');
	document.write('<TD vAlign=bottom width=1 bgColor="#999999"><IMG alt="" src="'+strPath+'images/999999.gif"  width=1></TD>');
	document.write('<TD width=5 bgColor="#999999"><IMG height=1 alt=""  src="'+strPath+'images/999999.gif" width=3></TD>');
	document.write('<TD class="headwhite" align=middle width=145 bgColor="#999999"  height=20>Brief&nbsp;&nbsp;&nbsp;News</TD>');
	document.write('<TD width=4 bgColor="#999999"><IMG height=1 alt=""  src="'+strPath+'images/999999.gif"  width=4></TD>');
	document.write('</TR></TABLE>');
	document.write('<TABLE cellSpacing=0 cellPadding=0 width=158 border=0><TR>');
	document.write('<TD vAlign=bottom width=1 bgColor="#cccccc"><IMG height=1 src="'+strPath+'images/pixel-clear.gif"  width=1></TD>');
	document.write('<TD vAlign=top width=157 bgColor="#ffffff">');
	document.write('<TABLE cellSpacing="0" cellPadding="0" width="157" border="0" bgColor="#ffffff">');
	document.write('<TR>');
	document.write('<TD vAlign="center" width="12" height="4"></TD>');
	document.write('<TD vAlign="center" width="10" height="4"></TD>');
	document.write('<TD vAlign="top" width="135" height="4"></TD>');
	document.write('</TR>');
	document.write('<TR>');
	document.write('<TD vAlign="top" width="12" align="right"><IMG height="7" alt="blue arrow" src="'+strPath+'images/arrow-body-rst.gif" width="10">&nbsp;</TD>');
	document.write('<TD vAlign="top" colSpan="2">');
	document.write('<A class="news1"  href="javascript:details_window('+"'news'"+','+"'025'"+','+"'default'"+')"  >A pair of Sino-Australian Sister Hospital Being Continued</A>');
	document.write('</TD>');
	document.write('</TR>');
	document.write('<TR>');
	document.write('<TD vAlign="top" width="12" align="right"><IMG height="7" alt="blue arrow" src="'+strPath+'images/arrow-body-rst.gif" width="10">&nbsp;</TD>');
	document.write('<TD vAlign="top" colSpan="2">');
	document.write('<A class="news1"  href="javascript:details_window('+"'news'"+','+"'024'"+','+"'default'"+')"  >This hospital\'s two research topics acquiring the subsidies from National Natural Science Foundation</A>');
	document.write('</TD>');
	document.write('</TR>');
	document.write('<TR>');
	document.write('<TD vAlign="center" width="12" height="4"></TD>');
	document.write('<TD vAlign="center" width="10" height="4"></TD>');
	document.write('<TD vAlign="top" width="135" height="4"></TD>');
	document.write('</TR>');
	document.write('<TR>');
	document.write('<TD vAlign="top" width="12" align="right"><IMG height="7" alt="blue arrow" src="'+strPath+'images/arrow-body-rst.gif" width="10">&nbsp;</TD>');
	document.write('<TD vAlign="top" colSpan="2">');
	document.write('<A class="news1"  href="javascript:details_window('+"'news'"+','+"'023'"+','+"'default'"+')"  >Prof. Xie Xing winning the "Followship of Kunshan Zongrenqing Commemoration Hospital"</A>');
	document.write('</TD>');
	document.write('</TR>');
	document.write('<TR>');
	document.write('<TD vAlign="center" width="12" height="4"></TD>');
	document.write('<TD vAlign="center" width="10" height="4"></TD>');
	document.write('<TD vAlign="top" width="135" height="4"></TD>');
	document.write('</TR>');
	document.write('<TR>');
	document.write('<TD vAlign="top" width="12" align="right"><IMG vspace="0" height="7" alt="blue arrow" src="'+strPath+'images/arrow-body-rst.gif" width="10">&nbsp;</TD>');
	document.write('<TD vAlign="top" colSpan="2">');
	document.write('<A class="news1"  href="javascript:details_window('+"'news'"+','+"'022'"+','+"'default'"+')"  >Zhejiang Province Diagnosis & Treatment Center for Fetus Medicine Founded</A>');
	document.write('</TD>');
	document.write('</TR>');
	document.write('<TR>');
	document.write('<TD vAlign="center" width="12" height="7"></TD>');
	document.write('<TD vAlign="center" width="10" height="7"></TD>');
	document.write('<TD vAlign="top" width="135" height="7"></TD>');
	document.write('</TR>');
	document.write('</TABLE>');


	document.write('</TD>');
	document.write('</TR>');
	document.write('<TR><TD colSpan=2 height=15>&nbsp;</TD></TR>');
	document.write('</TABLE>');
	

}

//***************Links*****************
function js_Links(strCode,strPath)
{
	var strTable=new Array(30),count;
	var strLb=strCode.substr(0,2);
	if(strPath=="default")
	{
		strPath="../"
	}


	strTable[0]='<TABLE cellSpacing="0" cellPadding="0" width="162" border="0">';
	strTable[1]='<TR>';
	strTable[2]='<TD vAlign="bottom" width="1" bgColor="#999999"><IMG alt="" src="'+strPath+'images/999999.gif"  width="1"></TD>';
	strTable[3]='<TD width="5" bgColor="#999999"><IMG height="1" alt=""  src="'+strPath+'images/999999.gif" width="3"></TD>';
	strTable[4]='<TD class="headwhite" align="middle" width="152" bgColor="#999999"  height="38">&nbsp;Links&nbsp;</TD>';
	strTable[5]='<TD width="4" bgColor="#999999"><IMG height="1" alt=""  src="'+strPath+'images/999999.gif"  width="4"></TD>';
	strTable[6]='</TR>';
	strTable[7]='<TR>';
	strTable[8]='<TD vAlign="bottom" width="1" bgColor="#999999"><IMG alt="" src="'+strPath+'images/999999.gif"  width="1"></TD>';
	strTable[9]='<TD vAlign="bottom" width="5" bgColor="#eeeeee"><IMG height="1" alt="" src="'+strPath+'images/eeeeee.gif"  width="5"></TD>';
	strTable[10]='<TD width="152" bgColor="#eeeeee">';
	strTable[11]='<TABLE cellSpacing="0" cellPadding="0" width="152" bgColor="#eeeeee"  border="0">';
	strTable[12]='<TR><TD height="6"></TD></TR>';
	strTable[13]='<TR><TD vAlign="top"  width="152px">';
	strTable[14]='';
	strTable[15]='<A target="_blank" href="http://www.zju.edu.cn/english/">www.zju.edu.cn</A><BR>';
	strTable[16]='<A target="_blank" href="http://www.obgyn.net/">www.obgyn.net</A><BR>';
	strTable[17]='<A target="_blank" href="http://www.apgo.org/">www.apgo.org</A><BR>';
	strTable[18]='<A target="_blank" href="http://www.isge.org/">www.isge.org</A><BR>';
	strTable[19]='<A target="_blank" href="http://www.us.elsevierhealth.com/">www.us.elsevierhealth.com</A><BR>';
	strTable[20]='<A target="_blank" href="http://www.socrei.org/">www.socrei.org</A><BR>';
	strTable[21]='<A target="_blank" href="http://www.sgo.org/">www.sgo.org</A><BR>';
	strTable[22]='';
	strTable[23]='</TD></TR>';
	strTable[24]='<TR><TD height="6"></TD></TR>';
	strTable[25]='</TABLE>';
	strTable[26]='</TD>';
	strTable[27]='<TD vAlign="bottom" width="4" bgColor="#eeeeee"><IMG height="1" alt="" src="'+strPath+'images/eeeeee.gif"  width="4"></TD>';
	strTable[28]='</TR>';
	strTable[29]='</TABLE>';
	
		
	for(count=0;count<30;count++)
	{
		document.write(strTable[count]);
	}
}


//***************About Us*****************
function js_AboutUs(strCode,strPath)
{
	var strTable=new Array(22),count;
	var strLb=strCode.substr(0,2);
	if(strPath=="default")
	{
		strPath="../"
	}

	strTable[0]='<TABLE cellSpacing="0" cellPadding="0" width="162" border="0">';
	strTable[1]='<TR>';
	strTable[2]='<TD vAlign="bottom" width="1" bgColor="#999999"><IMG alt="" src="'+strPath+'images/999999.gif"  width="1"></TD>';
	strTable[3]='<TD width="5" bgColor="#999999"><IMG height="1" alt=""  src="'+strPath+'images/999999.gif" width="3"></TD>';
	strTable[4]='<TD class="headwhite" align="middle" width="152" bgColor="#999999"  height="25">Contact&nbsp;&nbsp;Us</TD>';
	strTable[5]='<TD width="4" bgColor="#999999"><IMG height="1" alt=""  src="'+strPath+'images/999999.gif"  width="4"></TD>';
	strTable[6]='</TR>';
	strTable[7]='<TR>';
	strTable[8]='<TD vAlign="bottom" width="1" bgColor="#999999"><IMG alt="" src="'+strPath+'images/999999.gif"  width="1"></TD>';
	strTable[9]='<TD vAlign="bottom" width="5" bgColor="#eeeeee"><IMG height="1" alt="" src="'+strPath+'images/eeeeee.gif"  width="5"></TD>';
	strTable[10]='<TD width="152" bgColor="#eeeeee">';
	strTable[11]='<TABLE cellSpacing="0" cellPadding="0" width="152" bgColor="#eeeeee"  border="0">';
	strTable[12]='<TR><TD height="6"></TD></TR>';
	strTable[13]='<TR><TD vAlign="top" width="152px">';
	strTable[14]='<b>Post Code&nbsp;:</b><br>&nbsp;&nbsp;&nbsp;&nbsp;310006 <br> <b>Telephone Number&nbsp;:</b>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;0086-571-87061501 <br> <b>Fax Number&nbsp;:</b><br>&nbsp;&nbsp;&nbsp;&nbsp;0086-571-87061878 <br><b>Email&nbsp;:</b><br>&nbsp;&nbsp;&nbsp;&nbsp;zjpwhh@zju.edu.cn <br> &nbsp;&nbsp;&nbsp;&nbsp;zjpwhh@cmm.zju.edu.cn';
	strTable[15]='</TD></TR>';
	strTable[16]='<TR><TD height="6"></TD></TR>';
	strTable[17]='</TABLE>';
	strTable[18]='</TD>';
	strTable[19]='<TD vAlign="bottom" width="4" bgColor="#eeeeee"><IMG height="1" alt="" src="'+strPath+'images/eeeeee.gif"  width="4"></TD>';
	strTable[20]='</TR>';
	strTable[21]='</TABLE>';
	


	for(count=0;count<22;count++)
	{
		document.write(strTable[count]);
	}
}


//***************Bottom*****************
function js_Bottom(strCode,strPath)
{
	var strTable=new Array(42),count;
	var strLb=strCode.substr(0,2);
	if(strPath=="default")
	{
		strPath="../"
	}

	strTable[0]='<P>';
	strTable[1]='<TABLE cellSpacing="0" cellPadding="0"  width="778px"  border="0" align="center">';
	strTable[2]='<TR>';
	strTable[3]='<TD width="26" bgColor="#ffffff" height="3">';
	strTable[4]='<IMG height="12" alt="" src="'+strPath+'images/pixel-clear.gif"  width="100%">';
	strTable[5]='</TD>';
	strTable[6]='<TD width="742" bgColor="#ffffff" height="3">';
	strTable[7]='<IMG height="12" alt="" src="'+strPath+'images/pixel-clear.gif" width="100%">';
	strTable[8]='</TD>';
	strTable[9]='<TD width="10" bgColor="#ffffff" height="3">';
	strTable[10]='<IMG height="12" alt="" src="'+strPath+'images/pixel-clear.gif" width="100%">';
	strTable[11]='</TD>';
	strTable[12]='</TR>';
	strTable[13]='<TR>';
	strTable[14]='<TD width="26" bgColor="#cccccc" height="24"><IMG alt="" src="'+strPath+'images/pixel-clear.gif" width="26"></TD>';
	strTable[15]='<TD vAlign="center" noWrap width="742" bgColor="#cccccc">';
	strTable[16]='<A class="foot"  href="'+strPath+'news/news_index.htm">Brief News</A> <SPAN  class="footvbar">|</SPAN> ';
	strTable[17]='<A class="foot" href="'+strPath+'general/gen_intro.htm">General Information</A> <SPAN class="footvbar">|</SPAN> ';
	strTable[18]='<A class="foot"  href="'+strPath+'edu/edu_index.htm">Education & research</A> <SPAN class="footvbar">|</SPAN> ';
	strTable[19]='<A class="foot"  href="'+strPath+'msi/msi_index.htm">Medical services Information</A> <SPAN class="footvbar">|</SPAN> ';
	strTable[20]='<A class="foot"  href="'+strPath+'nursing/nursing_index.htm">Nursing </A>  <SPAN class="footvbar">|</SPAN> ';
	strTable[21]='<A class="foot"  href="'+strPath+'index.htm">Home </A>';
	strTable[22]='</TD>';
	strTable[23]='<TD width="10" bgColor="#cccccc">';
	strTable[24]='<IMG alt="" src="'+strPath+'images/pixel-clear.gif">';
	strTable[25]='</TD>';
	strTable[26]='</TR>';
	strTable[27]='<TR>';
	strTable[28]='<TD colSpan="3" height="16"></TD>';
	strTable[29]='</TR>';
	strTable[30]='<TR>';
	strTable[31]='<TD width="26"><IMG alt="" src="'+strPath+'images/pixel-clear.gif" width="26"></TD>';
	strTable[32]='<TD class="portal3" noWrap width="742" align="center">';
//	strTable[33]='<A class="foot1" href="http://www.womanhospital.cn/global/">TERMS OF USE APPLICABLE TO THIS SITE</A><BR>';
//	strTable[34]='Use of This Site Signifies Your Agreement To the Terms of Use<BR>';
	strTable[33]='';
	strTable[34]='';
	strTable[35]='Copyright &copy; 2001-2003 Women\'s Hospital School of Medicine Zhejiang University ';
	strTable[36]='. All Rights Reserved. <br>Post Code : 310006  Tel : 0086-571-87061501  Fax : 0086-571-87061878 <br> Email : zjpwhh@zju.edu.cn&nbsp;&nbsp;&nbsp;,&nbsp;&nbsp;&nbsp;zjpwhh@cmm.zju.edu.cn';
	strTable[37]='</TD>';
	strTable[38]='<TD width="10"><IMG alt="" src="'+strPath+'images/pixel-clear.gif"></TD>';
	strTable[39]='</TR>';
	strTable[40]='</TABLE>';
	strTable[41]='</P>';


	for(count=0;count<42;count++)
	{
		document.write(strTable[count]);
	}
}

function details_window(strLb,strCode,strPath)
{
	var strOpen,strWindow;
	strWindow="toolbar=yes,location=yes,directories=yes,status=yes,menubar=no,scrollbars=yes,resizable=no,width=600,height=400"
	if(strPath=="default")
	{
		strPath="../"

	}	
	switch(strLb)
	{

		case "zjjs":
			strOpen=strPath+"msi/zjjs_details.asp?code="+strCode;
			break;
		case "lwjs":
			strOpen=strPath+"edu/lwjs_details.asp?code="+strCode;
			break;
		case "hsjs":
			strOpen=strPath+"nursing/hsjs_details.asp?code="+strCode;
			break;
		case "news":
			strOpen=strPath+"news/news_details.asp?code="+strCode;
			break;
	}	
	news=window.open(strOpen,'_blank',strWindow);
	news.focus();
}

