nav_top.js
资源名称:VCSDB.rar [点击查看]
上传用户:hjieqiu
上传日期:2013-05-11
资源大小:16494k
文件大小:14k
源码类别:
企业管理
开发平台:
C#
- //*************导航条***************
- function ShowMainNavBar(n,subn){
- with(document){
- //主导航条开始
- write("<table width=770 border=0 align=center cellpadding=5 cellspacing=0 background=http://www.rising.com.cn/img0310/bg_top.jpg class=topfade><tr><td width=215 height=46 > <a href=http://www.rising.com.cn><img src=http://www.rising.com.cn/img0310/Rising_Logo1.gif alt=瑞星反病毒资讯网 width=159 height=34 border=0></a></td><td width=555 align=right valign=top > <a href=http://www.rising.com.cn class=site>·中国</a> <a href=http://www.rising-hk.com/tradition/default.htm class=site>·香港</a> <a href=http://www.rising-global.com/ class=site>·ENGLISH</a> </td></tr></table>");
- write("<table width=770 border=0 align=center cellpadding=2 cellspacing=0><tr><td width=180 bgcolor=#125FA7> </td><td width=590 bgcolor=#125FA7><font color=#FFFFFF><a href=http://www.rising.com.cn class=nav>首页</a> <a href=http://it.rising.com.cn/newSite/Channels/info/index.htm class=nav>业界资讯</a>·<a href=http://it.rising.com.cn/newSite/Channels/anti_virus/index.htm class=nav>病毒与安全</a>·<a href=http://it.rising.com.cn/antivirus/antivirus7.asp class=nav>病毒资料库</a> <a href=http://it.rising.com.cn/product/default.htm class=nav>产品与方案</a>·<a href=http://it.rising.com.cn/newSite/Channels/service/index.htm class=nav>服务与支持</a>·<a href=http://it.rising.com.cn/service/afterservice/servicenet.asp class=nav>经销商</a>·<a href=http://it.rising.com.cn/product/network/pronetwork.htm class=nav>网络版</a>·<a href=http://it.rising.com.cn/product/safety/prosafety.htm class=nav>防火/防毒墙</a></font></td></tr><tr><td height=1 colspan=2 bgcolor=C6C6C6></td></tr><tr><td bgcolor=#2A6FB0> </td><td bgcolor=#2A6FB0><font color=#FFFFFF><nobr><a href=http://go.rising.com.cn/index.asp class=nav>杀毒软件</a>·<a href=http://fw.rising.com.cn/ class=nav>防火墙</a>·<a href=http://online.rising.com.cn/ class=nav>在线杀毒</a>·<a href=http://www.rising.com.cn/ebusiness/order/OrderStart.asp class=nav>在线订购</a> <a href=http://sos.rising.com.cn/ class=nav>数据修复</a>·<a href=http://it.rising.com.cn/service/nettrain/train4.asp class=nav>培训认证</a> <a href=http://online.rising.com.cn/ravonline/RavSoft/Rav.asp class=nav>免费查毒</a>·<a href=http://it.rising.com.cn/service/technology/tool.htm class=nav>专杀工具</a> <a href=http://sms.rising.com.cn/ class=nav>短信</a>·<a href=http://community.rising.com.cn/ class=nav>社区</a></font></nobr></td></tr><tr><td height=1 colspan=2 bgcolor=C6C6C6></td></tr></table>");
- //主导航条结束
- //频道导航条开始
- write("<table border='0' width='770' cellspacing='0' cellpadding='0' align='center'>");
- write("<tr><td width='770' height=20 align=right bgcolor='#417FB9'><font color=white>");
- //产品频道导航
- if(n==9){
- write(subn==1?"<a class=nav href='/product/default.htm'><font color=#FFFF00>":"<a class=nav href='/product/default.htm'>")
- write("产品首页")
- write(subn==1?"</font></a>":"</a>")
- write(" | ");
- write(subn==2?"<a class=nav href='/product/2004/index.htm'><font color=#FFFF00>":"<a class=nav href='/product/2004/index.htm'>")
- write("瑞星杀毒软件2004版(含个人防火墙)")
- write(subn==2?"</font></a>":"</a>")
- write(" | ");
- write(subn==3?"<a class=nav href='/product/priorpro/prior.htm'><font color=#FFFF00>":"<a class=nav href='/product/priorpro/prior.htm'>")
- write("单机历史版本")
- write(subn==3?"</font></a>":"</a>")
- write(" | ");
- write(subn==4?"<a class=nav href='/product/network/pronetwork.htm'><font color=#FFFF00>":"<a class=nav href='/product/network/pronetwork.htm'>")
- write("网络版")
- write(subn==4?"</font></a>":"</a>")
- write(" | ");
- write(subn==5?"<a class=nav href='/product/safety/prosafety.htm'><font color=#FFFF00>":"<a class=nav href='/product/safety/prosafety.htm'>")
- write("防火/防毒墙")
- write(subn==5?"</font></a>":"</a>")
- write(" ");
- }
- //服务频道导航
- if(n==6){
- write(subn==1?"<a class=nav href='http://it.rising.com.cn/newSite/Channels/service/index.htm'><font color=#FFFF00>":"<a class=nav href='http://it.rising.com.cn/newSite/Channels/service/index.htm'>")
- write("服务首页")
- write(subn==1?"</font></a>":"</a>")
- write(" | ");
- write(subn==2?"<a class=nav href='http://it.rising.com.cn/service/upgrade/upgrade.htm'><font color=#FFFF00>":"<a class=nav href='http://it.rising.com.cn/service/upgrade/upgrade.htm'>")
- write("版本升级")
- write(subn==2?"</font></a>":"</a>")
- write(" | ");
- write(subn==3?"<a class=nav href='http://it.rising.com.cn/service/technology/technology.htm'><font color=#FFFF00>":"<a class=nav href='http://it.rising.com.cn/service/technology/technology.htm'>")
- write("技术支持")
- write(subn==3?"</font></a>":"</a>")
- write(" | ");
- write(subn==4?"<a class=nav href='http://sos.rising.com.cn/index.htm'><font color=#FFFF00>":"<a class=nav href='http://sos.rising.com.cn/index.htm'>")
- write("数据修复")
- write(subn==4?"</font></a>":"</a>")
- write(" | ");
- write(subn==5?"<a class=nav href='http://it.rising.com.cn/service/nettrain/train4.asp'><font color=#FFFF00>":"<a class=nav href='http://it.rising.com.cn/service/nettrain/train4.asp'>")
- write("培训认证")
- write(subn==5?"</font></a>":"</a>")
- write(" | ");
- write(subn==6?"<a class=nav href='http://it.rising.com.cn/service/waibao/waibao.htm'><font color=#FFFF00>":"<a class=nav href='http://it.rising.com.cn/service/waibao/waibao.htm'>")
- write("外包服务")
- write(subn==6?"</font></a>":"</a>")
- write(" | ");
- write(subn==7?"<a class=nav href='http://it.rising.com.cn/service/clientclub/intro.htm'><font color=#FFFF00>":"<a class=nav href='http://it.rising.com.cn/service/clientclub/intro.htm'>")
- write("客户俱乐部")
- write(subn==7?"</font></a>":"</a>")
- write(" | ");
- write(subn==8?"<a class=nav href='http://community.rising.com.cn/Forum/ShowForum.asp?FmID=39'><font color=#FFFF00>":"<a class=nav href='http://community.rising.com.cn/Forum/ShowForum.asp?FmID=39'>")
- write("在线技术支持")
- write(subn==8?"</font></a>":"</a>")
- }
- if(n==4){
- write(subn==1?"<a class=nav href='http://it.rising.com.cn/newSite/Channels/Safety/index.htm'><font color=#FFFF00>":"<a class=nav href='http://it.rising.com.cn/newSite/Channels/Safety/index.htm'>")
- write("频道首页")
- write(subn==1?"</font></a>":"</a>")
- write(" | ");
- write(subn==2?"<a class=nav href='http://it.rising.com.cn/newSite/Channels/Safety/LatestHole/index.htm'><font color=#FFFF00>":"<a class=nav href='http://it.rising.com.cn/newSite/Channels/Safety/LatestHole/index.htm'>")
- write("最新漏洞")
- write(subn==2?"</font></a>":"</a>")
- write(" | ");
- write(subn==3?"<a class=nav href='http://it.rising.com.cn/newSite/Channels/Safety/SysSafety/index.htm'><font color=#FFFF00>":"<a class=nav href='http://it.rising.com.cn/newSite/Channels/Safety/SysSafety/index.htm'>")
- write("系统安全")
- write(subn==3?"</font></a>":"</a>")
- write(" | ");
- write(subn==4?"<a class=nav href='http://it.rising.com.cn/newSite/Channels/Safety/SafeDefend/index.htm'><font color=#FFFF00>":"<a class=nav href='http://it.rising.com.cn/newSite/Channels/Safety/SafeDefend/index.htm'>")
- write("安全防范")
- write(subn==4?"</font></a>":"</a>")
- write(" | ");
- write(subn==5?"<a class=nav href='http://it.rising.com.cn/newSite/Channels/Safety/SafetyResourse/index.htm'><font color=#FFFF00>":"<a class=nav href='http://it.rising.com.cn/newSite/Channels/Safety/SafetyResourse/index.htm'>")
- write("安全资源")
- write(subn==5?"</font></a>":"</a>")
- write(" | ");
- write(subn==7?"<a class=nav target='_blank' href='http://community.rising.com.cn/Forum/ShowForum.asp?FmID=33'><font color=#FFFF00>":"<a class=nav target='_blank' href='http://community.rising.com.cn/Forum/ShowForum.asp?FmID=33'>")
- write("安全论坛")
- write(subn==7?"</font></a>":"</a>")
- }
- //资讯频道
- if(n==2){
- write(subn==1?"<a class=nav href='/newSite/Channels/info/index.htm'><font color=#FFFF00>":"<a class=nav href='/newSite/Channels/info/index.htm'>")
- write("频道首页")
- write(subn==1?"</font></a>":"</a>")
- write(" | ");
- write(subn==2?"<a class=nav href='/newSite/Channels/info/security/index.htm'><font color=#FFFF00>":"<a class=nav href='/newSite/Channels/info/security/index.htm'>")
- write("安全动态")
- write(subn==2?"</font></a>":"</a>")
- write(" | ");
- write(subn==3?"<a class=nav href='/newSite/Channels/info/virus/index.htm'><font color=#FFFF00>":"<a class=nav href='/newSite/Channels/info/virus/index.htm'>")
- write("病毒快讯")
- write(subn==3?"</font></a>":"</a>")
- write(" | ");
- write(subn==6?"<a class=nav href='/newSite/Channels/info/rav_news/index.htm'><font color=#FFFF00>":"<a class=nav href='/newSite/Channels/info/rav_news/index.htm'>")
- write("瑞星动态")
- write(subn==6?"</font></a>":"</a>")
- write(" | ");
- write(subn==4?"<a class=nav href='/newSite/Channels/info/rav_media/index.htm'><font color=#FFFF00>":"<a class=nav href='/newSite/Channels/info/rav_media/index.htm'>")
- write("瑞星文摘")
- write(subn==4?"</font></a>":"</a>")
- write(" | ");
- write(subn==5?"<a class=nav href='/newSite/Channels/info/corp_news/index.htm'><font color=#FFFF00>":"<a class=nav href='/newSite/Channels/info/corp_news/index.htm'>")
- write("厂商动态")
- write(subn==5?"</font></a>":"</a>")
- }
- //瑞星之家导航
- if(n==7){
- write(subn==8?"<a class=nav href='/corp/rsenglish/rising.htm' target='_blank'><font color=#FFFF00>":"<a class=nav href='/corp/rsenglish/rising.htm' target='_blank'>")
- write("About Rising")
- write(subn==8?"</font></a>":"</a>")
- write(" | ");
- write(subn==1?"<a class=nav href='/aboutrising/about.htm'><font color=#FFFF00>":"<a class=nav href='/aboutrising/about.htm'>")
- write("公司简介")
- write(subn==1?"</font></a>":"</a>")
- write(" | ");
- write(subn==2?"<a class=nav href='/aboutrising/leadoration.htm'><font color=#FFFF00>":"<a class=nav href='/aboutrising/leadoration.htm'>")
- write("领导致辞")
- write(subn==2?"</font></a>":"</a>")
- write(" | ");
- write(subn==3?"<a class=nav href='/aboutrising/group.htm'><font color=#FFFF00>":"<a class=nav href='/aboutrising/group.htm'>")
- write("精英团队")
- write(subn==3?"</font></a>":"</a>")
- write(" | ");
- write(subn==4?"<a class=nav href='/aboutrising/culfure.htm'><font color=#FFFF00>":"<a class=nav href='/aboutrising/culture.htm'>")
- write("瑞星文化")
- write(subn==4?"</font></a>":"</a>")
- write(" | ");
- write(subn==5?"<a class=nav href='/aboutrising/rising.htm'><font color=#FFFF00>":"<a class=nav href='/aboutrising/rising.htm'>")
- write("Rising瑞星")
- write(subn==5?"</font></a>":"</a>")
- write(" | ");
- write(subn==6?"<a class=nav href='/aboutrising/memorabiliajx.htm'><font color=#FFFF00>":"<a class=nav href='/aboutrising/memorabilia.htm'>")
- write("公司大事记")
- write(subn==6?"</font></a>":"</a>")
- write(" | ");
- write(subn==7?"<a class=nav href='/aboutrising/joinus.htm'><font color=#FFFF00>":"<a class=nav href='/aboutrising/joinus.htm'>")
- write("加盟瑞星")
- write(subn==7?"</font></a>":"</a>")
- }
- //**********病毒频道导航
- if(n==3){
- write(subn==1?"<a class=nav href='/newSite/Channels/anti_virus/index.htm'><font color=#FFFF00>":"<a class=nav href='/newSite/Channels/anti_virus/index.htm'>")
- write("频道首页")
- write(subn==1?"</font></a>":"</a>")
- write(" | ");
- write(subn==2?"<a class=nav href='/newSite/Channels/anti_virus/Virus_Alert/index.htm'><font color=#FFFF00>":"<a class=nav href='/newSite/Channels/anti_virus/Virus_Alert/index.htm'>")
- write("病毒报警")
- write(subn==2?"</font></a>":"</a>")
- write(" | ");
- write(subn==6?"<a class=nav href='/newSite/Channels/anti_virus/Upgrade_Report/index.htm'><font color=#FFFF00>":"<a class=nav href='/newSite/Channels/anti_virus/Upgrade_Report/index.htm'>")
- write("升级报告")
- write(subn==6?"</font></a>":"</a>")
- write(" | ");
- write(subn==4?"<a class=nav href='http://it.rising.com.cn/antivirus/antivirus7.asp'><font color=#FFFF00>":"<a class=nav href='http://it.rising.com.cn/antivirus/antivirus7.asp'>")
- write("病毒资料库")
- write(subn==4?"</font></a>":"</a>")
- write(" | ");
- write(subn==3?"<a class=nav href='/newSite/Channels/anti_virus/Antivirus_Base/index.htm'><font color=#FFFF00>":"<a class=nav href='/newSite/Channels/anti_virus/Antivirus_Base/index.htm'>")
- write("反病毒基地")
- write(subn==3?"</font></a>":"</a>")
- write(" | ");
- write(subn==5?"<a class=nav href='/newSite/Channels/anti_virus/Antivirus_Faq/index.htm'><font color=#FFFF00>":"<a class=nav href='/newSite/Channels/anti_virus/Antivirus_Faq/index.htm'>")
- write("反病毒FAQ")
- write(subn==5?"</font></a>":"</a>")
- write(" | ");
- write(subn==7?"<a target=_blank class=nav href='http://community.rising.com.cn/Forum/ShowForum.asp?FmID=28'><font color=#FFFF00>":"<a target=_blank class=nav href='http://community.rising.com.cn/Forum/ShowForum.asp?FmID=28'>")
- write("反病毒论坛")
- write(subn==7?"</font></a>":"</a>")}
- //*******************************************************************
- if (n!=1) {
- write(" ");
- write("</font></td></tr>");
- write("<tr><td width=770 bgcolor=#C6C6C6 height=1>");
- write("</td></tr>");
- write("<tr><td width=770></td></tr>");}
- write("</table>");
- }
- }
- /*function Q(){
- var name,value,i;
- var str=location.href;
- var str1='Error';
- str=str.toUpperCase()
- var num=str.indexOf("R")
- if(num!=-1){
- str1=str.substr(num,6);
- }
- if(str1!='RISING')
- document.location.href="http://www.rising.com.cn/";
- }
- var Request=new Q();
- */
- // 20030530 by J.W.
- if ( top != self )
- {
- top.location.href = unescape(window.location.pathname);
- }