﻿leftNavFire = function(){
	if (pageID == 'services') {document.getElementById('services').style.fontWeight='bold';} 
	if (pageID == 'edas') {document.getElementById('edas').style.fontWeight='bold';} 
	if (pageID == 'nac') {document.getElementById('nac').style.fontWeight='bold';} 
	if (pageID == 'partners') {document.getElementById('partners').style.fontWeight='bold';} 
	if (pageID == 'carepacks') {document.getElementById('carepacks').style.fontWeight='bold';} 
	if (pageID == 'contractualsupport') {document.getElementById('contractualsupport').style.fontWeight='bold';} 
	if (pageID == 'designcenter') {document.getElementById('designcenter').style.fontWeight='bold';} 
};

/* ########### Sub-sub navigation for security ############ */
var nacSecondary = false;
var nacSecondaryContent = '<ul class="linksUnit">';
nacSecondaryContent += '		    <li>&raquo;<a id="partners" href="http://www.procurve.com/customercare/services/nac/partners.htm">Find a qualified NAC Endpoint Integrity partner</a></li>';
nacSecondaryContent += '	</ul>';

if ((pageID == 'nac') || (pageID == 'partners')) { 
	nacSecondary = true; 
	} else {
	nacSecondary = false 
	}; 

document.write('<style type="text/css">');document.write('div#sectionalNavLinks { padding-bottom:7px !important; }');
document.write('h3.sectionalNavSubHeader + ul.linksUnit { margin-top:7px !important; }');
document.write('/* layout overrides */');

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="services" href="/other/procurve/cn/zh/network/customercare/services/index.htm">服务概述</a></li>');
document.write('                <li>&raquo;<a id="edas" href="/other/procurve/cn/zh/network/customercare/services/edas/index.htm">HP ProCurve EDAS</a></li>');
document.write('                <li>&raquo;<a id="nac" href="/other/procurve/cn/zh/network/customercare/services/nac/index.htm">NAC服务</a>');

    	            	if (nacSecondary != false) {document.write(nacSecondaryContent)};
            
document.write('                </li>');
document.write('                <li>&raquo;<a id="carepacks" href="/other/procurve/cn/zh/network/customercare/services/carepacks/care-packs.htm">HP ProCurve金牌服务</a></li>');
document.write('                <li>&raquo;<a id="contractualsupport" href="/other/procurve/cn/zh/network/customercare/services/contractual-support/index.htm">HP ProCurve 合同服务</a></li>');
document.write('                <!--li>&raquo;<a href="/other/procurve/cn/zh/network/customercare/services/design-center/index.htm">网络设计中心</a></li-->');
document.write('                <li>&raquo;<a id="designcenter" href="/other/procurve/cn/zh/network/customercare/services/design-center/index.htm">网络设计中心</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.

	document.write('<h3 class="sectionalNavSubHeader" line-height:25px>寻求支持？</h3>');
	document.write('<br>&nbsp;&nbsp;&raquo;&nbsp;<a href="/other/procurve/cn/zh/network/customercare/Support/index.htm">HP ProCurve 支持</a>');
	
	document.write('<h3 class="sectionalNavSubHeader" line-height:25px>资源</h3>');
	document.write('<br>&nbsp;&nbsp;&raquo;&nbsp;<a href="/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('		</div>');
document.write('    <div style="height:20px;">&nbsp;</div>    ');
document.write('	<a href="http://my.procurve.com/partnerlocator/partnerlocator.aspx"><div align="center"><img src="/other/procurve/cn/zh/network/images/left_support_1.gif" width="148" height="111"></div></a>');
document.write('<br><br>');

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>');