/*
    内容的框架结构
	js_table_begin(strCode,strPath)
	js_td_left_begin(strCode,strPath)
	js_td_left_end(strCode,strPath)
	js_td_mid_begin(strCode,strPath)
	js_td_mid_end(strCode,strPath)
	js_td_right_begin(strCode,strPath)
	js_td_right_end(strCode,strPath)
	js_table_end(strCode,strPath)
*/
//*************************js_table_begin------ js_table_end**********************
function js_table_begin(strCode,strPath)
{
	
	var strTable=new Array(2),count;
	var strLb=strCode.substr(0,2);
/*
	var strFlashName,intRandNum,intModNum;
    strFlashName = "";
	intRandNum=0;
	intModNum=0;
	intRandNum = Math.ceil((Math.random( ) * 10));
	intModNum = intRandNum % 3;
	
	switch(intModNum)
	{
		
		case 1:
			 strFlashName='main_banner1.swf';
			 break;
		case 2:
			 strFlashName='main_banner2.swf';
 			 break;
		case 0:
			 strFlashName='main_banner3.swf';
			 break;
	   default :
			 strFlashName='main_banner1.swf';
			 break;
	}
	
*/	
	
	if(strPath=="default")
	{
		strPath="../";
	}	


	
	strTable[0]='<table  align="center" border="0" cellspacing="0" cellpadding="0" width="778px">';
	strTable[1]='<tr>';

	for(count=0;count<2;count++)
	{
		document.write(strTable[count]);
	}
	
}

function js_table_end(strCode,strPath)
{
	
	var strTable=new Array(2),count;
	var strLb=strCode.substr(0,2);

	if(strPath=="default")
	{
		strPath="../";
	}	

	strTable[0]='</tr>';
	strTable[1]='</table>';

	for(count=0;count<2;count++)
	{
		document.write(strTable[count]);
	}
	
}



//*************************js_td_left_begin----- js_td_left_end**********************
function js_td_left_begin(strCode,strPath)
{
	
	var strTable=new Array(1),count;
	var strLb=strCode.substr(0,2);
	
	if(strPath=="default")
	{
		strPath="../";
	}	

	strTable[0]='<TD vAlign="top"  id="LeftMenuBg"  width="170px" class="promo-right"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr  valign="top"><td valign="top" align="right" width="100%" >';

	for(count=0;count<1;count++)
	{
		document.write(strTable[count]);
	}


	
/*
document.write('<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" >');
document.write('<tr valign="top">');
document.write('<td colspan="3" height="25px">&nbsp;</td>');
document.write('</tr>');
document.write('<tr valign="top">');
document.write('<td width="30px">&nbsp;</td>');
document.write('<td align="left" nowrap width="131px">');

document.write('<table align="left" border="0" cellpadding="0" cellspacing="0"  width="131px" >');

document.write('<tr valign="top"><td  height="1px"></td></tr>');

document.write('<tr valign="top">');
document.write('<td  width="131px" height="20" valign="bottom" nowrap  class="promo-bottom03">');
document.write('<font  class="fontdot">●</font><a class="navstyle1a"   href="">&nbsp;</a></td>');
document.write('</tr>');

document.write('</table>');
document.write('</td>');
document.write('<td width="10px">&nbsp;</td>');
document.write('</tr>');
document.write('<tr valign="top">');
document.write('<td colspan="3" height="25px"  class="promo-bottom03">&nbsp;</td>');
document.write('</tr>');

document.write('</table>');

*/	
	
	switch(strLb)
	{
		
		case "02":
			//客户中心
			
document.write('<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" >');
document.write('<tr valign="top">');
document.write('<td colspan="3" height="25px">&nbsp;</td>');
document.write('</tr>');
document.write('<tr valign="top">');
document.write('<td width="30px">&nbsp;</td>');
document.write('<td align="left" nowrap width="131px">');

document.write('<table align="left" border="0" cellpadding="0" cellspacing="0"  width="131px" >');

document.write('<tr valign="top"><td  height="1px"></td></tr>');

document.write('<tr valign="top">');
document.write('<td  width="131px" height="20" valign="bottom" nowrap  class="promo-bottom03">');
//document.write('<font  class="fontdot">●</font><a class="navstyle1a"   href="khzx_default.asp">&nbsp;通　知　公　告 </a></td>');
document.write('<img src="../images/icon/icon3.gif" width="8px" height="8px"><span class="font_spacing"><a class="navstyle1a"   href="khzx_default.asp">&nbsp;&nbsp;通知公告 </a></span></td>');
document.write('</tr>');

//document.write('<tr valign="top">');
//document.write('<td  width="131px" height="20" valign="bottom" nowrap  class="promo-bottom03">');
//document.write('<font  class="fontdot">●</font><a class="navstyle1a"   href="khzx_gmzn.asp">&nbsp;购　买　指　南 </a></td>');
//document.write('<img src="../images/icon/icon3.gif" width="8px" height="8px"><span class="font_spacing"><a class="navstyle1a"   href="khzx_gmzn.asp?lb=14&CurPage=1">&nbsp;&nbsp;业务指南 </a></span></td>');
//document.write('</tr>');

document.write('<tr valign="top">');
document.write('<td  width="131px" height="20" valign="bottom" nowrap  class="promo-bottom03">');
//document.write('<font  class="fontdot">●</font><a class="navstyle1a"   href="khzx_cpml.asp">&nbsp;产　品　目　录 </a></td>');
document.write('<img src="../images/icon/icon3.gif" width="8px" height="8px"><span class="font_spacing"><a class="navstyle1a"   href="khzx_cpml.asp">&nbsp;&nbsp;产品目录 </a></span></td>');
document.write('</tr>');

document.write('<tr valign="top">');
document.write('<td  width="131px" height="20" valign="bottom" nowrap  class="promo-bottom03">');
//document.write('<font  class="fontdot">●</font><a class="navstyle1a"   href="khzx_cpml.asp">&nbsp;产　品　目　录 </a></td>');
document.write('<img src="../images/icon/icon3.gif" width="8px" height="8px"><span class="font_spacing"><a class="navstyle1a"   href="khzx_yhzh.asp">&nbsp;&nbsp;优惠组合 </a></span></td>');
document.write('</tr>');

document.write('<tr valign="top">');
document.write('<td  width="131px" height="20" valign="bottom" nowrap  class="promo-bottom03">');
//document.write('<font  class="fontdot">●</font><a class="navstyle1a"   href="khzx_cpml.asp">&nbsp;产　品　目　录 </a></td>');
document.write('<img src="../images/icon/icon3.gif" width="8px" height="8px"><span class="font_spacing"><a class="navstyle1a"   href="khzx_yhzn.asp">&nbsp;&nbsp;常见问题 </a></span></td>');
document.write('</tr>');

/*
document.write('<tr valign="top">');
document.write('<td  width="131px" height="20" valign="bottom" nowrap  class="promo-bottom03">');
document.write('<img src="../images/icon/icon3.gif" width="8px" height="8px"><span class="font_spacing"><a class="navstyle1a"   href="khzx_xgzs.asp">&nbsp;&nbsp;相关知识 </a></span></td>');
document.write('</tr>');
*/

document.write('</table>');
document.write('</td>');
document.write('<td width="10px">&nbsp;</td>');
document.write('</tr>');
document.write('<tr valign="top">');
document.write('<td colspan="3" height="25px"  class="promo-bottom03">&nbsp;</td>');
document.write('</tr>');

document.write('</table>');
			
			break;
		case "03":
			//渠道代理
			break;
		case "04":
			//文 件 柜
			break;
		case "05":
			//汇款方式
			break;
		case "06":
			//联系方式
			break;
		case "07":
			//信息中心
			document.write('<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" >');
			document.write('<tr valign="top">');
			document.write('<td colspan="3" height="25px">&nbsp;</td>');
			document.write('</tr>');
			document.write('<tr valign="top">');
			document.write('<td width="30px">&nbsp;</td>');
			document.write('<td align="left" nowrap width="131px">');
			
			document.write('<table align="left" border="0" cellpadding="0" cellspacing="0"  width="131px" >');
			
			document.write('<tr valign="top"><td  height="1px"></td></tr>');
			
			document.write('<tr valign="top">');
			document.write('<td  width="131px" height="20" valign="bottom" nowrap  class="promo-bottom03">');
			document.write('<img src="../images/icon/icon3.gif" width="8px" height="8px"><span class="font_spacing"><a class="navstyle1a"   href="news_default.asp?lb=1&CurPage=1">&nbsp;&nbsp;公司新闻 </a></span></td>');
			document.write('</tr>');
			
			document.write('<tr valign="top">');
			document.write('<td  width="131px" height="20" valign="bottom" nowrap  class="promo-bottom03">');
			document.write('<img src="../images/icon/icon3.gif" width="8px" height="8px"><span class="font_spacing"><a class="navstyle1a"   href="news_default.asp?lb=13&CurPage=1">&nbsp;&nbsp;行业新闻 </a></span></td>');
			document.write('</tr>');
			
			document.write('<tr valign="top">');
			document.write('<td  width="131px" height="20" valign="bottom" nowrap  class="promo-bottom03">');
			document.write('<img src="../images/icon/icon3.gif" width="8px" height="8px"><span class="font_spacing"><a class="navstyle1a"   href="news_default.asp?lb=14&CurPage=1">&nbsp;&nbsp;通知公告 </a></span></td>');
			document.write('</tr>');
			
			document.write('</table>');
			document.write('</td>');
			document.write('<td width="10px">&nbsp;</td>');
			document.write('</tr>');
			document.write('<tr valign="top">');
			document.write('<td colspan="3" height="25px"  class="promo-bottom03">&nbsp;</td>');
			document.write('</tr>');
			
			document.write('</table>');

			break;
		case "08":
			//COM 论坛
			break;
		case "09":
			//网站地图
			break;
		case "10":
			//ENGLISH
			break;
	   default :
			 break;
	}
	
	
}

function js_td_left_end(strCode,strPath)
{
	
	var strTable=new Array(1),count;
	var strLb=strCode.substr(0,2);

	if(strPath=="default")
	{
		strPath="../";
	}	

	strTable[0]='</td></tr></table></td>';

	for(count=0;count<1;count++)
	{
		document.write(strTable[count]);
	}
	
}


//*************************js_td_mid_begin----- js_td_mid_end**********************
function js_td_mid_begin(strCode,strPath)
{
	
	var strTable=new Array(1),count;
	var strLb=strCode.substr(0,2);
	
	if(strPath=="default")
	{
		strPath="../";
	}	

	strTable[0]='<TD width="20px" height="100%">';

	for(count=0;count<1;count++)
	{
		document.write(strTable[count]);
	}
	
}

function js_td_mid_end(strCode,strPath)
{
	
	var strTable=new Array(1),count;
	var strLb=strCode.substr(0,2);

	if(strPath=="default")
	{
		strPath="../";
	}	

	strTable[0]='</td>';

	for(count=0;count<1;count++)
	{
		document.write(strTable[count]);
	}
	
}






//*************************js_td_right_begin----- js_td_right_end**********************
function js_td_right_begin(strCode,strPath)
{
	
	var strTable=new Array(5),count;
	var strLb=strCode.substr(0,2);
	
	if(strPath=="default")
	{
		strPath="../";
	}	

	strTable[0]='';
	strTable[1]='<TD valign="top" width="588px">';
	strTable[2]='<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" align="center">';
	strTable[3]='<TR>';
	strTable[4]='<TD width="100%"  valign="top" align="center">';

	for(count=0;count<5;count++)
	{
		document.write(strTable[count]);
	}
	
}

function js_td_right_end(strCode,strPath)
{
	
	var strTable=new Array(4),count;
	var strLb=strCode.substr(0,2);

	if(strPath=="default")
	{
		strPath="../";
	}	

	strTable[0]='</TD>';
	strTable[1]='</TR>';
	strTable[2]='</TABLE>';
	strTable[3]='</TD>';

	for(count=0;count<4;count++)
	{
		document.write(strTable[count]);
	}
	
}


