//name of images
TblName = ['menu01','menu02','menu03','menu04','menu05','menu06','menu07','menu08','menu09','menu10'];

//alternative text
TblAlt = ['Message from the President','Corporate Profile','Management Philosophy','Our Corporate Charter on the Environment','Financial Data','Products','Sales Network','News Release','Topics &amp; Events','Chinese Home Page : KING JIMiSHANGHAIj TRADING CO,.LTD.'];

//width=170px
TblHeight = ['42','29','29','42','29','29','29','29','29','47'];

//navigation url
TblUrl = ['message.html','corporate.html','philosophy.html','environment.html','financial.html','products/index.html','retailers.html','news.html','event.html','http://www.kingjimmakino.com.cn/'];



function Navi(kaiso,pname,idx){//kaiso,page name,index or not
	document.writeln('<img src="/english/image/spacer.gif" width="180" height="4" alt="" border="0"><br>');
	document.writeln('<table width="172" border="0" cellspacing="0" cellpadding="0">');
	document.writeln('<tr>');
	document.writeln('<td style="background-color:#999999;"><table border="0" width="170" cellspacing="1" cellpadding="0">');
	for( i=0 ; i<TblName.length ; i++ ){
		if( pname!=99 && i==pname ){
			if( idx==1 ){
				document.writeln('<tr>');
				document.write('<td><a href="index.html" title="',TblAlt[i],'">');
				document.writeln('<img src="',kaiso,'image/',TblName[i],'.gif" width="170" height="',TblHeight[i],'" alt="',TblAlt[i],'" border="0"></a></td>');
				document.writeln('</tr>');
			}else{
				document.writeln('<tr>');
				document.writeln('<td><img src="',kaiso,'image/',TblName[i],'.gif" width="170" height="',TblHeight[i],'" alt="',TblAlt[i],'" title="',TblAlt[i],'" border="0"></td>');
				document.writeln('</tr>');
			}
		}else{
			document.writeln('<tr>');
			document.write('<td>');
			if( i==TblName.length-1 ){//Chinese Home Page
				document.write('<a href="',TblUrl[i],'" title="',TblAlt[i],'" target="_blank">');
			}else{//usually
				document.write('<a href="',kaiso+TblUrl[i],'" title="',TblAlt[i],'">');
			}
			document.write('<img src="',kaiso,'image/',TblName[i],'.gif" width="170" height="',TblHeight[i],'" alt="',TblAlt[i],'" border="0"></a></td>');
			document.writeln('</tr>');
		}
	}
	document.writeln('</table></td>');
	document.writeln('</tr>');
	document.writeln('</table>');
}







