﻿var pageID;

onload=function(id){
//function leftNavFire() {
//alert(pageID);
	if (pageID == 'one') {document.getElementById('one').style.fontWeight='bold';} 
	    if (pageID == 'resellerAssistProviders') {document.getElementById('resellerAssistProviders').style.fontWeight='bold';} 
	if (pageID == 'alliance') {document.getElementById('alliance').style.fontWeight='bold';} 
	if (pageID == 'applications') {document.getElementById('applications').style.fontWeight='bold';} 
		if (pageID == 'solution_certified') {document.getElementById('solution_certified').style.fontWeight='bold';} 
		if (pageID == 'integrated') {document.getElementById('integrated').style.fontWeight='bold';}
		if (pageID == 'businessapplications') {document.getElementById('businessapplications').style.fontWeight='bold';} 
		if (pageID == 'datacenter') {document.getElementById('datacenter').style.fontWeight='bold';} 
		if (pageID == 'identity') {document.getElementById('identity').style.fontWeight='bold';} 
		if (pageID == 'networkmanagement') {document.getElementById('networkmanagement').style.fontWeight='bold';} 
		if (pageID == 'networkoptimization') {document.getElementById('networkoptimization').style.fontWeight='bold';} 
		if (pageID == 'securecontent') {document.getElementById('securecontent').style.fontWeight='bold';} 
		if (pageID == 'wirelessservices') {document.getElementById('wirelessservices').style.fontWeight='bold';} 
		if (pageID == 'collaboration') {document.getElementById('collaboration').style.fontWeight='bold';} 
		if (pageID == 'physicalsecurity') {document.getElementById('physicalsecurity').style.fontWeight='bold';} 
	if (pageID == 'networkproducts') {document.getElementById('networkproducts').style.fontWeight='bold';} 
	if (pageID == 'programrules') {document.getElementById('programrules').style.fontWeight='bold';} 
	if (pageID == 'servicessupport') {document.getElementById('servicessupport').style.fontWeight='bold';} 
};

/* ########### Sub-sub navigation for overview ############ */
var overviewSecondary = false;
var overviewSecondaryContent = '<ul class="linksUnit">';  
overviewSecondaryContent += '	<li>&raquo;<a id="programrules" href="/other/procurve/cn/zh/network/one/programrules/index.htm">计划条款</a></li>';
overviewSecondaryContent += '	</ul>';

if ((pageID == 'one') || (pageID == 'programrules') || (pageID == 'servicessupporta')) { 
	overviewSecondary = true; 
	} else {
	overviewSecondary = false 
	}; 
	

/* ########### Sub-sub navigation for overview ############ */
var servicessupportSecondary = false;
var servicessupportSecondaryContent = '<ul class="linksUnit">';  
servicessupportSecondaryContent += '	<li>&raquo;<a id="resellerAssistProviders" href="/other/procurve/cn/zh/network/one/servicessupport/resellerAssistProviders.htm">经销商帮助服务提供商</a></li>';
servicessupportSecondaryContent += '	</ul>';

if ((pageID == 'servicessupport') || (pageID == 'resellerAssistProviders')) {
	servicessupportSecondary = true; 
	} else {
	servicessupportSecondary = false 
	}; 

/* ########### Sub-sub navigation for security ############ */
var applicationsSecondary = false;
var applicationsSecondaryContent = '<ul class="linksUnit">';  
applicationsSecondaryContent += '		<li>&raquo;<a id="integrated" href="/other/procurve/cn/zh/network/one/alliance/integratedPartners.htm">集成应用程序</a></li>';
applicationsSecondaryContent += '		<li>&raquo;<a id="solution_certified" href="http://www.procurve.com/one/alliance/solution-certified.htm">认证解决方案</a></li>';
applicationsSecondaryContent += '		<li></li>';

applicationsSecondaryContent += '<table width="90%" border="0" cellspacing="0" cellpadding="0"><tr><td height="1" bgcolor="#999999"></td></tr></table>';


applicationsSecondaryContent += '		<li>&raquo;<a id="collaboration" href="/other/procurve/cn/zh/network/one/applications/collaboration.htm">统一通信与协作</a></li>';
applicationsSecondaryContent += '		<li>&raquo;<a id="identity" href="/other/procurve/cn/zh/network/one/applications/identity-access.htm">身份与访问管理</a></li>';
applicationsSecondaryContent += '		<li>&raquo;<a id="networkmanagement" href="/other/procurve/cn/zh/network/one/applications/network.htm">网络管理</a></li>';
applicationsSecondaryContent += '		<li>&raquo;<a id="networkoptimization" href="/other/procurve/cn/zh/network/one/applications/network-optimization.htm">网络优化</a></li>';
applicationsSecondaryContent += '		<li>&raquo;<a id="physicalsecurity" href="/other/procurve/cn/zh/network/one/applications/physical-security.htm">物理安全</a></li>';
applicationsSecondaryContent += '		<li>&raquo;<a id="securecontent" href="/other/procurve/cn/zh/network/one/applications/secure-threat.htm">安全内容与威胁管理</a></li>';
applicationsSecondaryContent += '		<li>&raquo;<a id="wirelessservices" href="/other/procurve/cn/zh/network/one/applications/wirelessservice.htm">无线服务</a></li>';                             
applicationsSecondaryContent += '	</ul>';

if ((pageID == 'identity') || (pageID == 'nac') || (pageID == 'applications') || (pageID == 'solution_certified') || (pageID == 'businessapplications') || (pageID == 'datacenter') || (pageID == 'integrated') || (pageID == 'networkmanagement') || (pageID == 'securecontent') || (pageID == 'wirelessservices') || (pageID == 'collaboration') || (pageID == 'physicalsecurity') || (pageID == 'networkoptimization')) { 
	applicationsSecondary = true; 
	} else {
	applicationsSecondary = false 
	}; 

document.write('	<div id="sectionalNav">');
document.write('		<div id="sectionalNavLinks">');
document.write('			<h2 id="sectionalNavHeader">&raquo;<a href="/other/procurve/cn/zh/network/one/index.htm">ProCurve ONE</a></h2>');
document.write('                <ul class="linksUnit">');
document.write('                    <li>&raquo;<a id="one" href="/other/procurve/cn/zh/network/one/index.htm">ProCurve ONE概述</a>');
    	            		if (overviewSecondary != false) {document.write(overviewSecondaryContent)};
document.write('                    </li>');
document.write('                    <li>&raquo;<a id="servicessupport" href="/other/procurve/cn/zh/network/one/servicessupport/index.htm">服务与支持</a>');
    	            		if (servicessupportSecondary != false) {document.write(servicessupportSecondaryContent)};
document.write('                    </li>');

document.write('                    <li>&raquo;<a id="alliance" href="/other/procurve/cn/zh/network/one/alliance/index.htm">联盟合作伙伴</a></li>');
document.write('                    <li>&raquo;<a id="applications" href="/other/procurve/cn/zh/network/one/applications/index.htm">应用程序</a>');
    	            		if (applicationsSecondary != false) {document.write(applicationsSecondaryContent)};
document.write('                    </li>');

document.write('                    <li>&raquo;<a id="networkproducts" href="/other/procurve/cn/zh/network/one/network/index.htm">网络产品</a></li> ');      
document.write('                </ul>');
document.write('            <h3 class="sectionalNavSubHeader">绿色商业技术</h3>');
            
document.write('            <ul class="linksUnit padTop5">');
document.write('                <li>&raquo;<a href="/other/procurve/cn/zh/network/green/index.htm">环境的可持续性发展</a></li>');
document.write('            </ul>');
document.write('            <h3 class="sectionalNavSubHeader">时事通讯</h3>');

document.write('            <ul class="linksUnit padTop5">');
document.write('                <li>&raquo;<a href="http://www.procurve.com/network-pro-news/index.htm">立即注册</a></li>');
document.write('            </ul>');
document.write('	</div>');