
function swapOut(image) 
{
	if(document.images) 
	{
		document.images['menu' + image].src = 'img/anniu/' + image + '-x.gif';
	}
	return false;
}

function swapOver(image) 
{
	if(document.images) 
	{
		document.images['menu' + image].src = 'img/anniu/' + image + '-z.gif';
	}
	return false;
}

//header 

function writeHeader(n) 
{
document.writeln('<table width=778 bgcolor="#04328c" border="0" cellspacing="0" cellpadding="0" height="75" align=center>');
document.writeln('<tr>');
document.writeln('<td><img src=img/logo.gif width=170 height=75 usemap="#map" border=0></td>');
document.writeln('<map name="Map"><area shape="rect" coords="0,0,170,75" href="index.asp" target="_blank"> </map>');
document.writeln('<td><img src=img/blue.gif width=220 height=75 border=0></td>');
document.writeln('<td><img src="img/logo1.gif" width="364" height="75"></td>');
document.writeln('</tr>');
   
document.writeln('</table>');
document.writeln('<table width=778  border="0" cellspacing="0" cellpadding="0" height="1" align=center>');

document.writeln('<tr><td background="img/colorline.gif"></td></tr>');

document.writeln('</table>');
document.writeln('<table width=778  border="0" cellspacing="0" cellpadding="0" height="19" align=center>');
document.writeln('<tr>');
document.writeln('<td  width=480 valign=bottom  background="img/topcolor.gif"></td>');

var params = new Array;
var link = new Array;
params[0] = "首页";
params[1] = "捷通之窗";
params[2] = "捷通动态";
/*params[3] = "资讯中心";*/
params[3] = "服务支持";
params[4] = "网站导航";
params[5] = "联系我们";
params[6] = "";
link[0] = "index.asp";
link[1] = "2-a-1.htm";
link[2] = "2-b-1.htm";
link[3] = "2-d-1.htm";
/*link[3] = "2-d-1.htm";*/
link[4] = "2-e-1.htm";
link[5] = "2-a-7.htm";
link[6] = "#";

document.writeln('<td width=778  valign=bottom background="img/topcolor.gif">');

for (i=0; i<7; i++)
{
	if (i != 0)
		document.writeln('<font color=white> | </font>');
	
	if (i == n)
	{
		document.writeln('<a href=#><font color=#ffffff>');
		document.writeln(params[i]);
		document.writeln('</font></a>');
	}
	else
	{
		document.writeln('<a href=');
		document.writeln(link[i]);
		document.writeln('>');
		document.writeln(params[i]);
		document.writeln('</a>');
	}
}
document.writeln('</td>');
document.writeln('</tr>');
document.writeln('</table>');
document.writeln('<table width=778  border="0" cellspacing="0" cellpadding="0" height="1" align=center>');
document.writeln('<tr><td><img src=img/blank.gif width=1 height=1 border=0></td></tr>');
document.writeln('<tr><td background="img/yellowline.gif"></td></tr>');
document.writeln('</table>');
//footer
document.writeln('<table width=778  border="0" cellspacing="0" cellpadding="0" align=center><tr>');
}
function writeFooter() 
{
document.writeln('</tr></table>');
document.writeln('<table width=778  border="0" cellspacing="0" cellpadding="0" height="2" align=center>');
document.writeln('<tr><td ><img src=img/blank.gif width=100% height=1 border=0></td></tr>');
document.writeln('<tr><td background="img/blueline.gif"></td></tr>');
document.writeln('</table>');

document.writeln('<table width=778  border="0" cellspacing="0" cellpadding="0" height="2" align=center>');
document.writeln('<tr>');
document.writeln('<td width=100><img src=img/blue.gif width=100 height=17 border=0></td>');
document.writeln('<td width=600  bgcolor="#04328c" align=center><font color=#ffffff>Copyright&copy; ');
document.writeln('2000-2009, <a href=index.asp><font color=#ffffff>北京捷通软件技术有限公司</font></a> All Rights Reserved.</font></td>');
document.writeln('<td width=100><img src=img/blue.gif width=100 height=17 border=0></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td width=100><img src=img/blue.gif width=100 height=17 border=0></td>');
document.writeln('<td width=600  bgcolor="#04328c"  align=center><font color=#ffffff>TEL: (86-10)82826886, Email: <a href="mailto:sinovoicemarket@infoquick.com.cn"><font color=#ffffff>sinovoicemarket@infoquick.com.cn</a></font></font></td>');
document.writeln('<td width=100><img src=img/blue.gif width=100 height=17 border=0></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td width=100><img src=img/blue.gif width=100 height=17 border=0></td>');
document.writeln('<td width=600  bgcolor="#04328c"  align=center><font color=yellow>京ICP备05008029号</font></td>');
document.writeln('<td width=100><img src=img/blue.gif width=100 height=17 border=0></td>');
document.writeln('</tr>');
document.writeln('</table>');
document.writeln('<table width=778  border="0" cellspacing="0" cellpadding="0" height="2" align=center>');
document.writeln('<tr><td ><img src=img/blank.gif width=100% height=2 border=0></td></tr>');
document.writeln('<tr><td background="img/blueline.gif"></td></tr>');
document.writeln('</table>');
}
//sidebar
function writeSideBar(height, n, m)
{
var params = new Array;

if (n == 0)
{
    backgif = "blue.gif";
    roundgif = 'round.gif'
}
if (n == 1)
{
    imagebase = "2-a-";
    backgif = "blue.gif";
    roundgif = 'round.gif'
    params[0] = "团队介绍";
    params[1] = "发展历程";
    params[2] = "照片集锦";
    params[3] = "荣誉奖励";
    params[4] = "组织结构";
    params[5] = "合作伙伴";
    params[6] = "联系我们";
}
else if (n == 2)
{
    imagebase = "2-b-";
    backgif = "blue.gif"
    roundgif = 'round.gif'
    params[0] = "公司新闻";
    params[1] = "人才招聘";
    params[2] = "行业动态";
}
else if (n == 3)
{
    imagebase = "2-d-";
    backgif = "blue.gif"
    roundgif = 'round.gif'
    params[0] = "服务政策";
    params[1] = "客服中心";
    params[2] = "常见问题";
    params[3] = "下载中心";

}
else if (n == 4)
{
    imagebase = "2-e-";
    backgif = "blue.gif"
    roundgif = 'round.gif'
    
   
}


document.writeln('<td width=130 valign=top>');
document.writeln('<table width=130 border=0 cellspacing=0 cellpadding=0 valign=top bordercolor="#111111">');
// top background
str = '<tr height=1><td background=img/' + backgif + ' vAlign=top></td></tr>';
document.writeln(str);

if (n == 0)
{
	str = '<tr><td width=130 valign=center bgcolor=#3961ad><img src=img/topcolor.gif width=130 height=1 border=0></td></tr>'+
	'<tr><td bgcolor="#04328c" align=center  height=20 ><font color=#ffffff>捷 通 快 讯</font></td></tr>' + 
	'<tr><td width=130 valign=bottom bgcolor=#3961ad><img src=img/topcolor.gif width=130 height=1 border=0></td></tr>'+
	  '<tr><td width=130 valign=center bgcolor=#04328c><img src=img/blank.gif width=130 height=1 border=0></td></tr>'+   
	      '<tr><td bgcolor="#04328c" align=center><marquee behavior=scroll direction=up width=114 height=110 scrollamount=1 scrolldelay=60 onmouseover="this.stop()" onmouseout="this.start()">'+
'<table  width=200 height=340 align=left   cellPadding=0 cellSpacing=0 >'+
'<tr><td ><font size=2 font color=yellow>&nbsp;&nbsp;[最新招聘信息]</font> </td></tr>'+
'<tr><td ><a href="2-b-2.htm#1" target="_blank"><font color=#ffffff>1.语音合成研究工程</br>师</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#2" target="_blank"><font color=#ffffff>2.语音识别研究工程</br>师</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#3" target="_blank"><font color=#ffffff>3.手写识别研究工程</br>师</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#4" target="_blank"><font color=#ffffff>4.自然语言处理研究</br>工程师</a> </td></tr>'+
'<tr><td ><a href="2-b-2.htm#5" target="_blank"><font color=#ffffff>5.C++ 开发工程师</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#6" target="_blank"><font color=#ffffff>6.BREW手机软件（游</br>戏）开发工程师</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#7" target="_blank"><font color=#ffffff>7.JAVA手机游戏开发</br>工程师</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#8" target="_blank"><font color=#ffffff>8.WEB 开发工程师</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#9" target="_blank"><font color=#ffffff>9.软件测试主管</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#10" target="_blank"><font color=#ffffff>10.技术支持工程师</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#11" target="_blank"><font color=#ffffff>11.产品策划工程师</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#12" target="_blank"><font color=#ffffff>12.手写与嵌入式产品</br>销售经理</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#13" target="_blank"><font color=#ffffff>13.语音合成、识别产</br>品销售经理</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#14" target="_blank"><font color=#ffffff>14.市场策划主管</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#16" target="_blank"><font color=#ffffff>15.网站编辑策划</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#17" target="_blank"><font color=#ffffff>16.国际合作专员</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#18" target="_blank"><font color=#ffffff>17.移动增值业务主管</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#19" target="_blank"><font color=#ffffff>18.移动增值拓展经理</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#20" target="_blank"><font color=#ffffff>19.WAP 业务主管</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#21" target="_blank"><font color=#ffffff>20.WAP 产品经理</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#22" target="_blank"><font color=#ffffff>21.手机网游策划工程</br>师</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#23" target="_blank"><font color=#ffffff>22.手机单机游戏策划</br>工程师</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#24" target="_blank"><font color=#ffffff>23.手机应用策划工程</br>师</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#25" target="_blank"><font color=#ffffff>24.图铃产品编辑与维</br>护</a>  </td></tr>'+
'<tr><td ><a href="2-b-2.htm#26" target="_blank"><font color=#ffffff>25.手机网游GM</a>  </td></tr>'+


        '<br><br><br><tr><td><font size=2 font color=yellow>捷通公司</font><a href="03060201.htm">'+
	'<br><font color=#ffffff>广州分公司</font>'+
	'<br></a><font color=#ffffff>电话：020-85238410</font>'+
	'<br><font color=#ffffff>      020-33336456</font>'+
        '<br><font color=#ffffff>联系人：</font>'+
        '<br><font color=#ffffff>王腾华</font>'+
	'<br><font color=#ffffff>邮件地址：</font>'+
	'<br><font color=#ffffff>wangtenghua</font>'+
	'<br><font color=#ffffff>@sinovoice.com.cn</font></td></tr></table></marquee></td></tr>';
	
	size = 275
	document.writeln(str);
	           document.writeln('<tr><td height=6 background="img/blue.gif"></td></tr>');

	
	document.writeln('<tr><td background="img/topcolor.gif"></td></tr>');
	//document.writeln('<tr><td height=4 background="img/blue.gif"></td></tr>');
	//document.writeln('<tr><td align=center  bgcolor="#04328c"><div align="center"><a href="http://www.infoquick.com.cn"><img src="images/linkbar_1.gif" width="101" height="25" border="0"></font></a></td></tr>');
  //document.writeln('<tr><td height=4 background="img/blue.gif"></td></tr>');
       
	 document.writeln('<tr><td height=2 background="img/blue.gif"></td></tr>');
	document.writeln('<tr><td align=center bgcolor="#04328c"><div align="center"><a href="http://www.sinovoice.com.cn"><img src="images/linkbar_5.gif" width="101" height="30" border="0"></font></a></td></tr>');
	document.writeln('<tr><td height=1 background="img/blue.gif"></td></tr>');
	
	document.writeln('<tr><td height=1 background="img/blue.gif"></td></tr>');
	document.writeln('<tr><td align=center  bgcolor="#04328c"><div align="center"><a href="http://www.sinopen.com.cn"><img src="images/linkbar_3.gif" width="101" height="30" border="0"></font></a></td></tr>');
	document.writeln('<tr><td height=1 background="img/blue.gif"></td></tr>');
	
	document.writeln('<tr><td height=1 background="img/blue.gif"></td></tr>');
	document.writeln('<tr><td align=center  bgcolor="#04328c"><div align="center"><a href="http://www.sinomobile.com.cn"><img src="images/linkbar_4.gif" width="101" height="30" border="0"></font></a></td></tr>');
	document.writeln('<tr><td height=2 background="img/blue.gif"></td></tr>');
	
	document.writeln('<tr><td height=1 background="img/blue.gif"></td></tr>');
	document.writeln('<tr><td align=center  bgcolor="#04328c"><div align="center"><a href="http://www.tiensing.com.cn"><img src="images/sinozone_logo.gif" width="101" height="30" border="0"></font></a></td></tr>');
	document.writeln('<tr><td height=2 background="img/blue.gif"></td></tr>');
         
         document.writeln('<tr><td background="img/topcolor.gif"></td></tr>');
            document.writeln('<tr><td height=10 background="img/blue.gif"></td></tr>');
         str = '<tr><td bgcolor=#04328c align="center" width=130 height=10>'+
                    '<p align="center"><SELECT name=menu onchange="window.open(this.options[this.selectedIndex].value);this.selectedIndex=0" size=1>'+
		      '<OPTION selected value="#">友 情 链 接</OPTION>'+
                      '<OPTION value=http://www. sinovoice.com>捷通华声</OPTION>'+
                      '<OPTION value=http://www.sinopen.com>捷通华文</OPTION>'+
                      '<OPTION value=http://www.sinomobile.com>捷通无限</OPTION>'+
                       '<OPTION value=http://www.51callcenter.com>51callcenter</OPTION> '+
                       '<OPTION value=http://www.ctionline.cn>CTI在线</OPTION> '+
                      '<OPTION value=http://www.spforum.com>SP论坛</OPTION>'+
                      '<OPTION value=http://www.pday.com.cn>水清木华</OPTION>'+
                       '<OPTION   value=http://www.ccmworld.net>客户世界</OPTION>'+ 
                                '<OPTION   value=http://www.callcenterbbs.com>呼叫中心论坛</OPTION>'+ 
		      '</SELECT></P></td></tr>';
	
	document.writeln(str);	      
}

else
{
	// submenu
	for (i=1;i<=params.length;i++)
	{
	    if (i == m)
	    {
	    	str = '<tr><td height=21><img src=img/anniu/' + imagebase + i + 
	    	      '-y.gif width=130 height=21 alt=' + params[i-1] + '></td></tr>';
	    	document.writeln(str);
	    	document.writeln('<tr><td background="img/blueline.gif"></td></tr>');
	    }
	    else
	    {
	    	str = '<tr><td height=21><a href=' + imagebase + i + 
	              '.htm><img src=img/anniu/'+ imagebase + i + '-x.gif width=130 height=21 alt=' + 
	              params[i-1] + ' border = 0 name = menu' + imagebase+ i;
	        document.writeln(str); 
	      
	         
	        str = ' onmouseout=swapOut("' + imagebase + i +
	              '") onmouseover=swapOver("' + imagebase + i + 
	              '");></a></td></tr>';
	        document.writeln(str);
	       document.writeln('<tr><td background="img/blueline.gif"></td></tr>');
	    }
	}
	size = params.length*22;
}

// bottom backgroud
height1 = height-size-20;
str = '<tr height=' + height1 + '><td background=img/' + backgif + '></td></tr>' + 
      '</table></td><td width=26>';
document.writeln(str);

// round area
height1 = height-20;
str = '<table width=20 border=0 cellspacing=0 cellpadding=0 valign=center>' + 
      '<tr height=20><td><img src=img/' + roundgif + ' width=20 height=20 border=0></td></tr>' +
      '<tr height=' + height1 + '><td></td></tr></table></td>';
document.writeln(str);

// space
document.writeln('<td width=60><img src=img/blank.gif width=13 height=1 border=0></td>');
}


