/* menu bar builder for toyotsu.com.sg 	 interface	 ==========		 drawLeftMenuBar(focusID);		 	focusID is the line you want to set as default menu item. the id is defined at MenuNames array.				this js filemust work together with a menu definition file, to define a MenuLinks and a MenuNames array.		author: Xiaogang Cao,BeaconSystem 	Created@06 Dec 2001, Nanjing , China.*/function drawMenuItem(id,isFocus){	ss =  "               <tr> "       + "                 <td height='4'> "       + "                   <table width='100%' border='0' cellspacing='0' cellpadding='6'>"       + "                     <tr> "       + "                       <td width='16%'><img src='gif/about_dian.gif' width='8' height='8'></td>"       + "                       <td width='84%' class='p11-2'><a href='"	   		+ menuLinks[id]+"'  ";	if (isFocus)	{		ss += "class='a2'><font color='7F3102'><b>"+ menuNames[id] + "</b></font>";	}	else	{		ss += "class='menu'>"+menuNames[id];	}	ss += "</a></td>"       + "                     </tr>"       + "                   </table>"       + "                 </td>"       + "               </tr>"	   + "  		     <tr> "       + "                 <td height='2'><img src='gif/about_line.gif' width='148' height='2'></td>"       + "               </tr>";	return ss;}function drawLeftMenuBar(focusId){		s = "     <table width='100%' border='0' cellspacing='0' cellpadding='0'>"       + "        <tr> "       + "           <td> "       + "             <table border='0' cellspacing='0' cellpadding='0'>";	for (i=0;   i<menuNames.length;i++)	{		s += drawMenuItem(i,i==focusId);	}	       s += "               <tr align='center'> "       + "                 <td height='38'> <br>"       + "             <select name='ListBoxURL' size='1' onChange='gotoLink(this.form);' width='144' style='width:144px;font-size:11px;font-family:arial;'>";	s += drawDivisionOptionList();	    	s += "             </select>"       + "                 </td>"       + "               </tr>"       + "             </table>"       + "           </td>"       + "         </tr>"       + "         <tr> "       + "           <td>&nbsp;</td>"       + "         </tr>"       + "         <tr align='center'> "       + "           <td><img src='gif/search_1.gif' width='108' height='21'><br>"       + "           </td>"       + "         </tr>"       + "       </table>";	   document.write(s);}