﻿// Common JavaScript functions

/////////////////////////////////////////////////////////////////////



function DisplayNavBar()
{
    document.open();
    document.writeln("<table border='0' width='100%' cellspacing='0' cellpadding='0'>");
    document.writeln("<tr>");
    document.writeln("<td background='images/bk1.gif'>");
    document.writeln("<div align='center'>");
    document.writeln("<center>");
    document.writeln("<script type='text/javascript' language='JavaScript1.2'>");
    document.writeln("<!--");
    document.writeln("stm_bm(['mainmenu',430,'','images/sp.gif',0,'','',1,0,0,0,50,1,0,0,'','',0],this);");
    document.writeln("stm_bp('p0',[0,4,0,0,3,0,15,0,100,'progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.20)',-2,'',-2,90,0,0,'#7f7f7f','#000000','images/bk1.gif',3,0,0,'#000000']);");
    document.writeln("stm_ai('p0i0',[6,15,'transparent','images/d2.gif',2,16,0]);");
    document.writeln("stm_ai('p0i1',[0,'产品','','',-1,-1,0,'default.asp','_self','','','','',1,0,0,'','',-1,-1,0,0,1,'#f0f0f0',1,'#f0f0f0',1,'','',2,3,0,0,'#ffffff','#ffff00','#505050','#d00000','bold 8pt Verdana','bold 8pt Verdana',0,0]);");
    document.writeln("stm_bp('p1',[1,4,-10,4,0,3,7,0,100,'',-2,'',-2,90,0,0,'#cccccc','transparent','',3,1,1,'#808080']);");
    document.writeln("stm_aix('p1i0','p0i1',[0,'所有产品','','',-1,-1,0,'default.asp','_self','','','images/a1.gif','images/a1.gif',7,7,0,'','',0,0,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
    document.writeln("stm_aix('p1i1','p0i0',[6,1,'#cccccc','',-1,-1]);");
    
     document.writeln("stm_aix('p1i2','p1i0',[0,'金伙伴进出存管理软件（有色金属行业版）','','',-1,-1,0,'jxcmanagerWu.asp']);");
     document.writeln("stm_aix('p1i2','p1i0',[0,'鼠标管家','','',-1,-1,0,'mouse_manager.asp']);");
    //document.writeln("stm_aix('p1i0','p0i1',[0,'鼠标管家','','',-1,-1,0,'mouse_manager.asp','_self','','','images/a1.gif','images/a1.gif',7,7,0,'','',0,0,0,0,1,'#f0f0f0',0,'#969696',0,'','',3,3,0,0,'#ffffff','#ffffff','#505050','#ffffff','11px Verdana','11px Verdana']);");
   // document.writeln("stm_aix('p1i1','p0i0',[6,1,'#cccccc','',-1,-1]);");
    document.writeln("stm_aix('p1i2','p1i0',[0,'文件/文件夹铁锁','','',-1,-1,0,'folder_watch_dog.asp']);");
   // document.writeln("stm_aix('p1i3','p1i1',[]);");
    document.writeln("stm_aix('p1i10','p1i0',[0,'多臂井径测井解释软件（免费）','','',-1,-1,0,'CaliperLogging.asp']);");
    document.writeln("stm_aix('p1i11','p1i1',[]);");
//    document.writeln("stm_aix('p1i12','p1i0',[0,'Manuals','','',-1,-1,0,'manuals.asp']);");
//    document.writeln("stm_aix('p1i13','p1i1',[]);");
    document.writeln("stm_aix('p1i14','p1i0',[0,'在线注册','','',-1,-1,0,'registration.asp']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i2','p0i0',[]);");
    document.writeln("stm_aix('p0i2','p0i1',[0,'下载中心','','',-1,-1,0,'download.asp']);");
    document.writeln("stm_bpx('p2','p1',[1,4,-10,4,0,3,7,7]);");
    document.writeln("stm_aix('p2i1','p1i1',[]);");
	document.writeln("stm_aix('p3i0','p1i0',[0,'产品下载','','',-1,-1,0,'download.asp']);");
    document.writeln("stm_aix('p3i1','p1i1',[]);");
    document.writeln("stm_aix('p2i2','p1i0',[0,'金伙伴进出存管理软件（有色金属行业版）','','',-1,-1,0,'download_WuJcc.asp']);");
    document.writeln("stm_aix('p2i2','p1i0',[0,'鼠标管家','','',-1,-1,0,'download_Mosue.asp']);");
    //document.writeln("stm_aix('p2i3','p1i1',[]);");
    document.writeln("stm_aix('p2i4','p1i0',[0,'文件/文件夹铁锁','','',-1,-1,0,'download_RFF.asp']);");
	document.writeln("stm_aix('p2i5','p1i1',[]);");
    document.writeln("stm_aix('p2i6','p1i0',[0,'产品帮助手册','','',-1,-1,0,'Manuals.asp']);");
    document.writeln("stm_aix('p2i7','p1i1',[]);");
    document.writeln("stm_aix('p2i8','p1i0',[0,'免费软件','','',-1,-1,0,'freeware.asp']);");
//    document.writeln("stm_aix('p2i9','p1i1',[]);");
//    document.writeln("stm_aix('p2i10','p1i0',[0,'Distribution Kit','','',-1,-1,0,'http://www.axdn.com']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i6','p0i0',[]);");
    document.writeln("stm_aix('p0i7','p0i1',[0,'支持','','',-1,-1,0,'Technical Support.asp']);");
    document.writeln("stm_bpx('p5','p1',[]);");
    document.writeln("stm_aix('p5i7','p1i1',[]);");
    document.writeln("stm_aix('p5i8','p1i0',[0,'技术支持','','',-1,-1,0,'Technical Support.asp']);");
    document.writeln("stm_aix('p5i11','p1i1',[]);");
    document.writeln("stm_aix('p5i8','p1i0',[0,'联系金伙伴技术支持中心  ','','',-1,-1,0,'contact.asp']);");
    document.writeln("stm_aix('p5i11','p1i1',[]);");
    document.writeln("stm_aix('p5i10','p1i0',[0,'产品常见问题和回答','','',-1,-1,0,'Product FAQ.asp']);");
    document.writeln("stm_aix('p5i11','p1i1',[]);");
    document.writeln("stm_aix('p5i12','p1i0',[0,'留言本','','',-1,-1,0,'MessageBoard/index.asp']);");
    document.writeln("stm_ep();");
        document.writeln("stm_aix('p0i6','p0i0',[]);");
    document.writeln("stm_aix('p0i7','p0i1',[0,'在线教程','','',-1,-1,0,'']);");
    document.writeln("stm_bpx('p5','p1',[]);");

    document.writeln("stm_aix('p5i4','p1i0',[0,'鼠标管家','','',-1,-1,0,'../eng/!SSL!/WebHelp_MouseManager/Mouse_Manager_Help.htm']);");

    document.writeln("stm_aix('p5i6','p1i0',[0,'文件/文件夹铁锁','','',-1,-1,0,'!SSL!/WebHelp_FolderWatchDog_CHS/Folder_Watch_Dog_chs.htm','_top']);");
 document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i8','p0i0',[]);");
    document.writeln("stm_aix('p0i9','p0i1',[0,'公司动态','','',-1,-1,0,'company_information.asp']);");
    document.writeln("stm_bpx('p6','p1',[]);");
    document.writeln("stm_aix('p6i0','p1i0',[0,'关于金伙伴志铭软件公司','','',-1,-1,0,'company_information.asp']);");
    document.writeln("stm_aix('p6i1','p1i1',[]);");
    document.writeln("stm_aix('p6i2','p1i0',[0,'联系我们','','',-1,-1,0,'contact.asp']);");
    document.writeln("stm_ep();");
    document.writeln("stm_aix('p0i10','p0i0',[]);");
    document.writeln("stm_em();");
    document.writeln("//-->");
    document.writeln("</script>");
    document.writeln("</center>");
    document.writeln("</div>");
    document.writeln("</td>");
    document.writeln("</tr>");
    document.writeln("</table>");

}


/////////////////////////////////////////////////////////////////////
function openPopup(url,x,y){
  if (!x){x=760;};
  if (!y){y=630;};
  window.open(url,null,'toolbar=yes,menubar=no,resizable=yes,scrollbars=yes,width='+x+',height='+y)
}

/////////////////////////////////////////////////////////////////////
function openPopupFixed(url,x,y){
  if (!x){x=760;};
  if (!y){y=630;};
  window.open(url,null,'toolbar=no,status=no,menubar=no,resizable=yes,scrollbars=no,width='+x+',height='+y)
}
