﻿leftNavFire = function(){
	if (pageID == 'support') {document.getElementById('support').style.fontWeight='bold';} 
	if (pageID == 'software') {document.getElementById('software').style.fontWeight='bold';} 
	if (pageID == 'warranty') {document.getElementById('warranty').style.fontWeight='bold';} 
		if (pageID == 'after4198') {document.getElementById('after4198').style.fontWeight='bold';} 
		if (pageID == 'before4198') {document.getElementById('before4198').style.fontWeight='bold';} 
	if (pageID == 'faqs') {document.getElementById('faqs').style.fontWeight='bold';} 
	if (pageID == 'manuals') {document.getElementById('manuals').style.fontWeight='bold';} 
	if (pageID == 'referencelibrary') {document.getElementById('referencelibrary').style.fontWeight='bold';} 
	if (pageID == 'configurationexamples') {document.getElementById('configurationexamples').style.fontWeight='bold';} 
	if (pageID == 'knowledgebase') {document.getElementById('knowledgebase').style.fontWeight='bold';} 
	if (pageID == 'supportforms') {document.getElementById('supportforms').style.fontWeight='bold';} 
	if (pageID == 'securitynotices') {document.getElementById('securitynotices').style.fontWeight='bold';} 
	if (pageID == 'dst') {document.getElementById('dst').style.fontWeight='bold';} 
};

/* ########### Sub-sub navigation for security ############ */
var warrantySecondary = false;
var warrantySecondaryContent = '<ul class="linksUnit">';
warrantySecondaryContent += '		<li>&raquo;<a id="after4198" href="/other/procurve/cn/zh/network/customercare/support/warranty/after4-1-98.htm">1998年4月1日后购买的ProCurve产品的保修覆盖范围</a></li>';
warrantySecondaryContent += '		<li>&raquo;<a id="before4198" href="/other/procurve/cn/zh/network/customercare/support/warranty/before4-1-98.htm">1998年4月1日前购买的ProCurve产品的保修覆盖范围 </a></li>';   
warrantySecondaryContent += '	</ul>';

if ((pageID == 'warranty') || (pageID == 'after4198') || (pageID == 'before4198')) { 
	warrantySecondary = true; 
	} else {
	warrantySecondary = false 
	}; 

document.write('<style type="text/css">');
document.write('/* layout overrides */');
document.write('div#sectionalNavLinks { padding-bottom:7px !important; }');
document.write('h3.sectionalNavSubHeader + ul.linksUnit { margin-top:7px !important; }');
document.write('h3.sectionalNavsouce1 + ul.linksUnit { margin-top:7px !important; }');
document.write('</style>');
document.write('	<div id="sectionalNav">');
document.write('		<div id="sectionalNavLinks">');
document.write('			<h2 id="sectionalNavHeader">&raquo;<a href="/other/procurve/cn/zh/network/customercare/index.htm">客户互动</a></h2>');
document.write('                <ul class="linksUnit">');
document.write('                    <li>&raquo;<a id="support" href="/other/procurve/cn/zh/network/customercare/Support/index.htm">保修与支持概述</a></li>  ');
document.write('                    <li>&raquo;<a id="software" href="/other/procurve/cn/zh/network/customercare/support/software/index.htm">软件</a></li>');
document.write('                    <li>&raquo;<a id="warranty" href="/other/procurve/cn/zh/network/customercare/support/warranty/index.htm">详细保修信息</a>');
    	                    if (warrantySecondary != false) {document.write(warrantySecondaryContent)};
document.write('                    </li>');
document.write('                    <li>&raquo;<a id="faqs" href="/other/procurve/cn/zh/network/customercare/support/faqs/index.htm">常见问题解答</a></li>');
document.write('                    <li>&raquo;<a id="manuals" href="/other/procurve/cn/zh/network/customercare/support/manuals/index.htm">手册</a></li>');
document.write('                    <li>&raquo;<a id="configurationexamples" href="/other/procurve/cn/zh/network/customercare/support/config-examples/index.htm">配置示例 </a></li>');
document.write('                    <li>&raquo;<a id="supportforms" href="/other/procurve/cn/zh/network/customercare/support/forms/index.htm">支持申请表</a></li>');
document.write('                    <li>&raquo;<a id="securitynotices" href="/other/procurve/cn/zh/network/customercare/support/security/index.htm">安全通知</a></li>');
document.write('                    <li>&raquo;<a id="Colubris" href="http://www.procurve.com/customercare/support/converter/index.htm">Colubris 产品编号转换工具 </a></li>'); 
document.write('                </ul>');
// this code determines whether a services or support link appears on the page.
// if the page falls under "services", the "support" link should appear, and vice versa.
var servicePages = new Array("nac","partners","carepacks","designcenter","services","contractualsupport");
var supportPages = new Array("warranty","switches","securerouters","routers","network_security","network_management","MIBs","software","hubs","dial_a_LAN","bridges","100VG_LAN_adapters","securitynotices","manuals","referencelibrary","supportforms","sw_408","sw_212_224","sw_2124","faqs","9408sl","93xx_6308","8212zl","8100fl","7000dl","1800","dst","configurationexamples","support","after4198","before4198");


	document.write('<h3 class="sectionalNavSubHeader" line-height:25px>寻求服务？</h3>');
	document.write('<br>&nbsp;&nbsp;&raquo;&nbsp;<a href="/other/procurve/cn/zh/network/customercare/services/index.htm">HP ProCurve 服务</a>');
	
	document.write('<h3 class="sectionalNavSubHeader" line-height:25px>资源</h3>');
	document.write('<br>&nbsp;&nbsp;&raquo;&nbsp;<a href="http://h20430.www2.hp.com/other/procurve/cn/zh/network/library/index.htm">参考资料库</a>');
	document.write('<br>&nbsp;&nbsp;&raquo;&nbsp;<a href="http://www.procurve.com/ask-procurve/index.htm">知识库</a>');
	document.write('<br>&nbsp;&nbsp;&raquo;&nbsp;<a href="http://www.procurve.com/customercare/design-implementation.htm">设计与实施</a>');



document.write('		</div>');
document.write('    <div style="height:20px;">&nbsp;</div>  ');  
document.write('	<div align="center"><a href="http://my.procurve.com/partnerlocator/partnerlocator.aspx"><img src="/other/procurve/cn/zh/network/images/left_support_1.gif" width="148" height="110"></a></div>');

document.write('    <div style="height:20px;">&nbsp;</div>  ');  
document.write('  <div align="center">');


	gID = function(e){return document.getElementById(e);}
	chkURL = function(str){return document.URL.indexOf(str);}
	if((chkURL('com.au') != -1)||(chkURL('com.sg') != -1)){
		if(chkURL('com.au') != -1) { gID('partnerURL').href = 'http://h20465.www2.hp.com/GPL/Search.aspx?Country_code=au&language_code=en'; }
		if(chkURL('com.sg') != -1) { gID('partnerURL').href = 'http://h20465.www2.hp.com/GPL/Search.aspx?Country_code=sg&language_code=en'; }
	}


function RandomAdRotator() {
                    numberOfAds = 5;
                    var x = Math.round((Math.random() * numberOfAds) % numberOfAds);
					
					if ( x==0 ) {
                        document.write("<a href='https://h30406.www3.hp.com/campaigns/2009/promo/1-7MVWT/index.php?mcc=EWTF&jumpid=ex_r2548_promo/link/kimtsg/4Q09IDCWhitepaperDG/1-7MVWT/Default_mcc|EWTF' onclick=\"s_sendCustomLinkEvent('','IDC White paper | mq')\" onkeypress=\"s_sendCustomLinkEvent('','IDC White paper | mq')\"><img src='/other/procurve/cn/zh/network/images/idc_whitepaper.jpg' alt='了解转变后以太网解决方案的投资回报能力' width='148' height='110' border='0'></a>"); 
                    }
					if ( x==1 ) {
                        document.write("<a href='http://www.procurve.com/gartner/gartner2009.htm' onclick=\"s_sendCustomLinkEvent('','148x110banner | mq')\" onkeypress=\"s_sendCustomLinkEvent('','148x110banner | mq')\" ><img src='/other/procurve/cn/zh/network/images/mq_banner.gif' alt='Magic Quadrant for Enterprise LAN (Global)' width='148' height='110' border='0'></a>"); 
                    }
                    if ( x==2 ) {
                        document.write("<a href='http://twitter.com/procurve' onclick=\"s_sendCustomLinkEvent('','148x110banner | twitter')\" onkeypress=\"s_sendCustomLinkEvent('','148x110banner | twitter')\" ><img src='/other/procurve/cn/zh/network/images/left_support_2.gif' width=148 height='110' alt='与我们一起舞动' border='0'></a>"); 
                    }
					if ( x==3 ) {
                        document.write("<a href='http://www.facebook.com/pages/HP-ProCurve-Networking/55051266598' target='_blank' onclick=\"s_sendCustomLinkEvent('','148x110banner | facebook')\" onkeypress=\"s_sendCustomLinkEvent('','148x110banner | facebook')\"><img src='/other/procurve/cn/zh/network/images/fb_option3.gif' alt='从Facebook上查找我们' width='148' height='110' border='0'></a>"); 
                    }
					if ( x==4 ) {
                        document.write("<a href=http://h71028.www7.hp.com/enterprise/us/en/messaging/feature-ent-innovationeconomy.html' target='_blank' onclick=\"s_sendCustomLinkEvent('','148x110banner | facebook')\" onkeypress=\"s_sendCustomLinkEvent('','148x110banner | facebook')\"><img src='/other/procurve/cn/zh/network/images/innovateArticle.jpg' alt='经济萧条带来创新良机' width='148' height='110' border='0'></a>"); 
                    }
					
                }

				chkURL = function(str){return document.URL.indexOf(str);}
				if((chkURL('com.au') == -1)&&(chkURL('com.sg') == -1)){
					RandomAdRotator();
				}

document.write('	</div>');

document.write('	</div>');