function pic_change(str1,str3){
	id=str1;
	value=str3;
	document.getElementById(id).src=value;
}

function MM_swapImgRestore() { //v3.0
  	var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  	var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    	d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  	if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  	var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   	if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function showBottom1(){
	var content = '<table width="800" border="0" align="center" cellspacing="0" cellpadding="0">'+
		'<tr><td height="35" align="center">&nbsp;</td></tr>'+
		'<tr><td align="center"><a href="pages/about.html">关于我们</a> <a href="pages/customer.html">媒体合作</a> <a href="pages/user.html">使用协议</a> <a href="pages/copyright.html">隐私版权</a> <a href="pages/contact.html">联系我们</a> <a href="pages/recruit.html">人才招聘</a></td></tr>'+
		'<tr><td align="center" class="index_font_css"> 2006-2007  fix8, a division of Mobinex, Inc. 沪ICP证：沪Al-2006789 </td></tr>'+
		'</table>';
	document.write(content);
}

function showTopMenu1(){
	var content = '<tr>'+
    '<td width="80" align="right"><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'fix8cn_head_home\',\'\',\'images/fix8cn_head_home.gif\',1)"><img src="images/fix8cn_head_home_0.gif" alt="飞吧主页" name="fix8cn_head_home" width="66" height="18" border="0" id="fix8cn_head_home" /></a><a href="#"></a></td>'+
    '<td width="80" align="right"><a href="download.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'fix8cn_head_download\',\'\',\'images/fix8cn_head_download_1.gif\',1)"><img src="images/fix8cn_head_download_1.gif" alt="飞吧下载" name="fix8cn_head_download" width="68" height="20" border="0" id="fix8cn_head_download" /></a><a href="download.html"></a></td>'+
    '<td width="80" align="right"><a href="video.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'fix8cn_head_video\',\'\',\'images/fix8cn_head_video.gif\',1)"><img src="images/fix8cn_head_video_0.gif" alt="飞常视频" name="fix8cn_head_video" width="66" height="18" border="0" id="fix8cn_head_video" /></a><a href="video.html"></a></td>'+
    '<td width="80" align="right"><a href="inventory.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image22\',\'\',\'images/fix8cn_head_inventory.gif\',1)"><img src="images/fix8cn_head_inventory_0.gif" alt="飞买不可" name="Image22" width="66" height="18" border="0" id="Image22" /></a><a href="inventory.html"></a></td>'+
    '<td width="80" align="right"><a href="blog.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'fix8cn_head_blog\',\'\',\'images/fix8cn_head_blog.gif\',1)"><img src="images/fix8cn_head_blog_0.gif" alt="飞炫博客" name="fix8cn_head_blog" width="66" height="18" border="0" id="fix8cn_head_blog" /></a><a href="blog.html"></a></td>'+
    '<td width="80" align="right"><a href="help.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'fix8cn_head_help\',\'\',\'images/fix8cn_head_help.gif\',1)"><img src="images/fix8cn_head_help_0.gif" alt="飞问飞答" name="fix8cn_head_help" width="66" height="18" border="0" id="fix8cn_head_help" /></a><a href="help.html"></a></td>'+
    '<td>&nbsp;</td>'+
    '</tr>';
	document.write(content);
}


function showBottom(){
	var content = ''+
		'<table width="920" border="0" cellspacing="0" cellpadding="0">'+
        '<tr>'+
          '<td height="100" align="center" class="font12"><p><a href="aboutus.html">关于我们</a> <a href="customer.html">媒体合作</a> <a href="user.html">使用协议</a> <a href="copyright.html">隐私版权</a> <a href="contact.html">联系我们</a> <a href="recruit.html">人才招聘</a></p>'+
          '<p> 2006-2007  fix8, a division of Mobinex, Inc. <a href="http://www.miibeian.gov.cn/" target="_blank">沪ICP证：沪Al-2006789</a></p></td>'+
        '</tr>'+
        '</table>';
	document.write(content);
}




function showTopMenu(id){

	var img1 = "images/Home1.jpg";
	var img2 = "images/Download1.jpg";
	var img3 = "images/Featured_Video1.jpg";
	var img4 = "images/Inventory1.jpg";
	var img5 = "images/Fix8_Blog1.jpg";
	var img6 = "images/Help1.jpg";
	
	switch (id){
		case 0  : break;
		case 1	: img1 ="images/Home.jpg"; break;
		case 2	: img2 ="images/Download.jpg"; break;
		case 3	: img3 ="images/Featured_Video.jpg"; break;
		case 4	: img4 ="images/Inventory.jpg"; break;
		case 5	: img5 ="images/Fix8_Blog.jpg"; break;
		case 6	: img6 ="images/Help.jpg"; break;
	}

	var content = ''+
	  '<table width="920" border="0" cellspacing="0" cellpadding="0">'+
        '<tr>'+
          '<td width="241"><a href="index.jsp"><img src="images/Logo.gif" width="241" height="73" border="0" /></a></td>'+
          '<td width="679" align="right" valign="bottom"><table width="639" border="0" cellspacing="0" cellpadding="0">'+
            '<tr>'+
              '<td width="108"><a href="index.jsp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'home\',\'\',\'images/Home.jpg\',1)"><img id="menu_img_1" src="'+img1+'" name="home" width="107" height="40" border="0" id="home" /></a><a href="index.html"></a></td>'+
              '<td width="101"><a href="download.do?method=list" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'download\',\'\',\'images/Download.jpg\',1)"><img id="menu_img_2" src="'+img2+'" name="download" width="100" height="40" border="0" id="download" /></a><a href="download.html"></a></td>'+
              '<td width="115"><a href="video.do?method=list" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'video\',\'\',\'images/Featured_Video.jpg\',1)"><img id="menu_img_3" src="'+img3+'" name="video" width="114" height="40" border="0" id="video" /></a><a href="video.html"></a></td>'+
              '<td width="105"><a href="inventory.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'inventory\',\'\',\'images/Inventory.jpg\',1)"><img id="menu_img_4" src="'+img4+'" name="inventory" width="104" height="40" border="0" id="inventory" /></a><a href="inventory.html"></a></td>'+
              '<td width="104"><a href="news.do?method=list" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'blog\',\'\',\'images/Fix8_Blog.jpg\',1)"><img id="menu_img_5" src="'+img5+'" name="blog" width="103" height="40" border="0" id="blog" /></a><a href="blog.html"></a></td>'+
              '<td width="106"><a href="help_1_4.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'help\',\'\',\'images/Help.jpg\',1)"><img id="menu_img_6" src="'+img6+'" name="help" width="111" height="40" border="0" id="help" /></a><a href="help.html"></a></td>'+
            '</tr>'+
          '</table>'+
          '</td>'+
        '</tr>'+
      '</table>';
	document.write(content);
	
}


