<!-- hide script content from old browsers

// Set global Variables
// --------------------
// gintEnvironment - 	Integer denoting run-time environment, use:
// 						-1 for relative
// 						0 for development/integration
//						1 for staging
// 						2 for production
// 						3 for production dry-run
// This variable should be set by a server-side variable, such as:
// gintEnvironment = <%= srvEnv %>;
//gintEnvironment = -1;
// --------------------
// gblnPreview - 		Boolean denoting access to preview or final url links, use:
// 						true for preview links
//						false for final links
// This variable should be set by a server-side variable, such as:
// gintEnvironment = <%= srvPreview %>;
//gblnPreview = false;
// --------------------
// gblnLocation - 		Boolean denoting physical location of server environment
// 						Default value is set to true for 3Com J2EE environment
//						Change to false for other server environments (e.g. INSO, Get Access, CSO apps, ...)
gblnLocation = true;
// --------------------
// gstrImagePath - 		String denoting relative path to common images used in header & footer
// 						Default value is set for J2EE environment
//						Change, when appropriate, for other environments (e.g. INSO, Get Access, CSO apps, ...)
gstrImagePath = "/images/common/en_US/";
//
// gstrHMDomain - 		Domain path prepended to HM_Script files for remote site pages
//				used in HM_Loader.js     10/4/2001  shana holtan
gstrHMDomain = "";
// gstrHMDisable - 		Boolean denoting HM menus should be disabled and not displayed  
//			        default is false    10/5/2001 shana holtan
gstrHMDisable = 0;

/**
 * objProject
 * ===============
 *
 * Constructor function for project objects
 *
 * Parameters
 * ----------
 * in      strDev - Development hostname
 * in      strStg - Staging hostname
 * in      strProd - Production hostname
 * in      strDryRun - Production - dry run hostname (default: production hostname)
 *
 * For example, for Solutions, these properties could be defined as follows:
 *
 * strDev = "snweb-migdev2.ops.3com.com"
 * strStg = "snweb-migstg2.ops.3com.com"
 * strProd = "www.3com.com"
 * strDryRun = "www-dr.3com.com"
 *
 */
function objProject (strDev, strStg, strProd, strDryRun) {
	this.development = strDev;
	this.staging = strStg;
	this.production = strProd;
	this.dryrun = strProd;
	if (strDryRun != null)
		{this.dryrun = strDryRun;}
}

// Declare web redesign v5 projects
gobjJ2EEProject = new objProject("http://cfgdev2.ops.3com.com", "http://wwwstg.ops.3com.com", "http://www.3com.com", "http://www-dr.3com.com");
gobjProductsProject = new objProject("http://cfgdev2.ops.3com.com", "http://wwwstg.ops.3com.com", "http://www.3com.com", "http://www-dr.3com.com");
gobjProductRegistrationProject = new objProject("http://cfgdev2.ops.3com.com", "http://wwwstg.ops.3com.com", "http://www.3com.com");
gobjB2CProject = new objProject("http://b2cdev.ops.3com.com", "http://txstg.ops.3com.com", "http://order.3com.com");
gobjCommWorksProject = new objProject("http://www.commworks.com", "http://www.commworks.com", "http://www.commworks.com");
gobjDIProject = new objProject("", "", "http://www.3com.com", "");
gobjDummyProject = new objProject("", "", "", "");
gobjSearchProject = new objProject("http://searchstg.ops.3com.com", "http://searchstg.ops.3com.com", "http://search.3com.com", "http://search.3com.com");

/**
 * objRollover
 * ===============
 *
 * Constructor function for rollover objects
 *
 * Parameters
 * ----------
 * in      strOnImage - Relative path & filename for <on> image
 * in      strOffImage - Relative path & filename for <off> image
 * in      objProject - Associated project
 *
 */
function objRollover (strOnImage, strOffImage, objProject) {
	this.on = new Image();
	this.off = new Image();
	// check if project has been specified or not
	// warning: missing objProject parameters fail null test in Netscape if version in js load
	// is set to JavaScript1.2 instead of  JavaScript1.1, so be sure to set as 1.1  - shana 12/7/01
	if (objProject == null)	{
		if (gblnLocation)
			// if in 3Com J2EE environment, then use DI caching
			{objProject = gobjDIProject;}
		else
			// if not, then use dummy project properties to avoid prepending with DI hostname
			{ objProject = gobjDummyProject;}
	}
	// set host property according to environment
	this.host = "";
	if (gintEnvironment == 0)
		{ this.host = objProject.development;}
	if (gintEnvironment == 1)
		{ this.host = objProject.staging;}
	if (gintEnvironment == 2)
		{ this.host = objProject.production;}
	if (gintEnvironment == 3)
		{this.host = objProject.dryrun; }
	// check if relative path to image is specified or not
	// no path implies that this is a global rollover object defined in the navobjects file
	if ((strOnImage.indexOf("/") == -1) || (strOffImage.indexOf("/") == -1))
	{
		if (gintEnvironment > 1) {
			// for production and production dry run, use path to common images in www.3com.com
			strOnImage = "/images/common/en_US/" + strOnImage;
			strOffImage = "/images/common/en_US/" + strOffImage;	
		}
		else {
			// for integration and staging, use local path specified by gstrImagePath
			strOnImage = gstrImagePath + strOnImage;
			strOffImage = gstrImagePath + strOffImage;	
		}
	}
	this.on.src = this.host + strOnImage;
	this.off.src = this.host + strOffImage;	
}

// Declare global rollover objects
gobjSearchRollover = new objRollover("btn_3gy_on.gif", "btn_3gy.gif", gobjDIProject);
gobjGlobalNav1Rollover = new objRollover("navprodon.gif", "navprodoff.gif", gobjDIProject);
gobjGlobalNav2Rollover = new objRollover("navsolon.gif", "navsoloff.gif", gobjDIProject);
gobjGlobalNav3Rollover = new objRollover("navsupon.gif", "navsupoff.gif", gobjDIProject);
gobjGlobalSubNavRollover = new objRollover("gnav_bar_on.gif", "gnav_bar_off.gif", gobjDIProject);
gobjLocalSubNavRollover = new objRollover("lnv_sub_on.gif", "clear.gif", gobjDIProject);

gobj3ComLogo = new objRollover("3com_logo.jpg", "3com_logo.jpg", gobjDIProject);
gobjClear = new objRollover("clear.gif", "clear.gif", gobjDIProject);
gobjSearch = new objRollover("hdr_btn_search.gif", "hdr_btn_search.gif", gobjDIProject);
gobjEntireSite = new objRollover("hdr_btn_entste.gif", "hdr_btn_entste.gif", gobjDIProject);
gobjHeaderLinks1 = new objRollover("login_header.gif", "login_header.gif", gobjDIProject);
gobjHeaderLinks2 = new objRollover("login_header_2.gif", "login_header_2.gif", gobjDIProject);
gobjFooterLinks1 = new objRollover("ftr_v2.gif", "ftr_v2.gif", gobjDIProject);
gobjFooterLinks2 = new objRollover("home_ftr_v2.gif", "home_ftr_v2.gif", gobjDIProject);
gobjReviewCart1 = new objRollover("reviewcart_header.gif", "reviewcart_header.gif", gobjDIProject);
gobjReviewCart2 = new objRollover("reviewcart_header_2.gif", "reviewcart_header_2.gif", gobjDIProject);

/**
 * objNav
 * ===============
 * Constructor function for navigation objects
 *
 * Parameters
 * ----------
 * in      intType - Integer denoting navigation element type:
 *					 0 for generic nav
 *					 1 for global nav
 *					 2 for global sub nav
 *					 3 for local nav
 *					 4 for local sub nav
 *					 5 for global sub-sub nav
 * in      strLabel - Link text, i.e. text label to be displayed in anchor, menu, alt tag, etc.
 * in      strPath - Relative path for navigation link
 * in      strPreviewPath - Relative path for preview navigation link
 * in      objProject - Associated project
 * in      strRollover - Associated rollover image tag name
 * in      objRollover - Associated rollover object
 * in      blnMode - Boolean denoting mode for adding hostname:
 *					 true for adding environment-dependent hostname (default)
 *					 false for not adding environment-dependent hostname
 *
 * For example, for Solutions, these properties could be defined as follows:
 *
 * intType = 1
 * strLabel = "Home & Home Office"
 * strPath = "/solutions/en_US/index.jsp"
 * strPreviewPath = "/solutions/preview/en_US/index.jsp"
 * objProject = gobjJ2EEProject
 * strRollover = "imgGlobalSubNav1"
 * objRollover = gobjGlobalSubNavRollover
 * blnMode = true
 */
function objNav (intType, strLabel, strPath, strPreviewPath, objProject, strRollover, objRollover, blnMode) {
	this.type = intType;
	this.label = strLabel;
	this.path = strPath;
	this.preview = strPreviewPath;
	this.project = objProject;
	// set object mode to add hostname to the specified path
	// if not specified, defaults to true
	if (blnMode != null)
		{ this.mode = blnMode; }
	else
		{ this.mode = true; }
	// set host property according to environment
	this.host = "";
	if (this.mode)
	{
		if (gintEnvironment == 0)
			{ this.host = objProject.development;}
		if (gintEnvironment == 1)
			{ this.host = objProject.staging; }
		if (gintEnvironment == 2)
			{ this.host = objProject.production; }
		if (gintEnvironment == 3)
			{ this.host = objProject.dryrun; }
	}
	// set href according to selected preview option
	if (gblnPreview)
	{
		if (this.preview.indexOf("javascript:fncOpenWindow(") < 0)
			{ this.href = this.host + this.preview; }
		else
			{ this.href = "javascript:fncOpenWindow('" + this.host + this.preview.substring(27); }
	}
	else {
		if (this.path.indexOf("javascript:fncOpenWindow(") < 0)
			{ this.href = this.host + this.path;}
		else
			{ this.href = "javascript:fncOpenWindow('" + this.host + this.path.substring(26); }
	}
	// create pointer to rollover object, if any
	this.rollovername = strRollover;
	this.rollover = objRollover;
	// create array for pointers to child nav objects
	this.child = new Array();
}

// Declare global object array for navigation objects
var gobjNavArray = new Array();


// Main navigation: Products 
gobjNavArray[0] = new objNav(1, "Products", "/products/en_US/productsindex.jsp?tab=cat&pathtype=purchase", "/products/en_US/productsindex.jsp?tab=cat&pathtype=purchase", gobjProductsProject, "imgGlobalNav1", gobjGlobalNav1Rollover);

gobjNavArray[0].child[0] = new objNav(2, "Cabling Products", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=12&selcat=Cabling+Products+%26+Power+Adapters", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=12&selcat=Cabling+Products+%26+Power+Adapters", gobjProductsProject, "imgGlobalSubNav0", gobjGlobalSubNavRollover);

gobjNavArray[0].child[1] = new objNav(2, "Firewalls & Filters", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=134482&selcat=Firewalls+%26+Filters", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=134482&selcat=Firewalls+%26+Filters", gobjProductsProject, "imgGlobalSubNav1", gobjGlobalSubNavRollover);

gobjNavArray[0].child[2] = new objNav(2, "Hubs", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=25&selcat=Hubs", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=25&selcat=Hubs", gobjProductsProject, "imgGlobalSubNav2", gobjGlobalSubNavRollover);

gobjNavArray[0].child[3] = new objNav(2, "Internet Gateway Routers & LAN Modems", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=32&selcat=Internet+Gateway+Routers+%26+LAN+Modems", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=32&selcat=Internet+Gateway+Routers+%26+LAN+Modems", gobjProductsProject, "imgGlobalSubNav3", gobjGlobalSubNavRollover);

gobjNavArray[0].child[4] = new objNav(2, "LAN Switches (Core)", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=27&selcat=LAN+Switches+%28Core%29", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=27&selcat=LAN+Switches+%28Core%29", gobjProductsProject, "imgGlobalSubNav4", gobjGlobalSubNavRollover);

gobjNavArray[0].child[5] = new objNav(2, "LAN Switches (Workgroup/Desktop)", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=4&selcat=LAN+Switches+%28Workgroup%2FDesktop%29", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=4&selcat=LAN+Switches+%28Workgroup%2FDesktop%29", gobjProductsProject, "imgGlobalSubNav5", gobjGlobalSubNavRollover);

gobjNavArray[0].child[6] = new objNav(2, "Maintenance Services", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=33&selcat=Maintenance+Services", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=33&selcat=Maintenance+Services", gobjProductsProject, "imgGlobalSubNav6", gobjGlobalSubNavRollover);

gobjNavArray[0].child[7] = new objNav(2, "Network Interface Cards & LOMs", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=19&selcat=Network+Interface+Cards+%26+LOMs", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=19&selcat=Network+Interface+Cards+%26+LOMs", gobjProductsProject, "imgGlobalSubNav7", gobjGlobalSubNavRollover);

gobjNavArray[0].child[8] = new objNav(2, "Network Jacks", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=61&selcat=Network+Jacks", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=61&selcat=Network+Jacks", gobjProductsProject, "imgGlobalSubNav8", gobjGlobalSubNavRollover);

gobjNavArray[0].child[9] = new objNav(2, "Network Management", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=65&selcat=Network+Management", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=65&selcat=Network+Management", gobjProductsProject, "imgGlobalSubNav9", gobjGlobalSubNavRollover);

gobjNavArray[0].child[10] = new objNav(2, "PC Cards & Mini PCI Cards", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=10&selcat=PC+Cards+%26+Mini+PCI+Cards", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=10&selcat=PC+Cards+%26+Mini+PCI+Cards", gobjProductsProject, "imgGlobalSubNav10", gobjGlobalSubNavRollover);

gobjNavArray[0].child[11] = new objNav(2, "Professional Services", "/products/en_US/prof_services/index.html", "/products/en_US/prof_services/index.html", gobjProductsProject, "imgGlobalSubNav11", gobjGlobalSubNavRollover);

gobjNavArray[0].child[12] = new objNav(2, "Redundant Power Systems", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=9&selcat=Redundant+Power+Systems", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=9&selcat=Redundant+Power+Systems", gobjProductsProject, "imgGlobalSubNav12", gobjGlobalSubNavRollover);

gobjNavArray[0].child[13] = new objNav(2, "Telephone Systems & Applications", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=23&selcat=Telephone+Systems+%26%2338%3B+Applications", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=23&selcat=Telephone+Systems+%26%2338%3B+Applications", gobjProductsProject, "imgGlobalSubNav13", gobjGlobalSubNavRollover);

gobjNavArray[0].child[14] = new objNav(2, "Webcaches & Server Load Balancers", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=134486&selcat=Webcaches+%26+Server+Load+Balancers", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=134486&selcat=Webcaches+%26+Server+Load+Balancers", gobjProductsProject, "imgGlobalSubNav14", gobjGlobalSubNavRollover);

gobjNavArray[0].child[15] = new objNav(2, "Wireless Products", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=13&selcat=Wireless+Products", "/products/en_US/prodlist.jsp?tab=cat&pathtype=purchase&cat=13&selcat=Wireless+Products", gobjProductsProject, "imgGlobalSubNav15", gobjGlobalSubNavRollover);

// Main navigation: Solutions & Professional Services
gobjNavArray[1] = new objNav(1, "Find a Solution", "/solutions/en_US/index1.html", "/solutions/en_US/index1.html", gobjJ2EEProject, "imgGlobalNav2", gobjGlobalNav2Rollover);

gobjNavArray[1].child[0] = new objNav(2, "Small Office/Small Business", "/solutions/en_US/small_business/index.html", "/solutions/en_US/small_business/index.html", gobjJ2EEProject, "imgGlobalSubNav0", gobjGlobalSubNavRollover);

gobjNavArray[1].child[1] = new objNav(2, "Enterprise", "/solutions/en_US/enterprise/index.html", "/solutions/en_US/enterprise/index.html", gobjJ2EEProject, "imgGlobalSubNav1", gobjGlobalSubNavRollover);

gobjNavArray[1].child[2] = new objNav(2, "Government", "/solutions/en_US/government/index.html", "/solutions/en_US/government/index.html", gobjJ2EEProject, "imgGlobalSubNav2", gobjGlobalSubNavRollover);

gobjNavArray[1].child[3] = new objNav(2, "Education", "/solutions/en_US/index.jsp?solutiontype=1000001", "/solutions/preview/en_US/index.jsp?solutiontype=1000001", gobjJ2EEProject, "imgGlobalSubNav3", gobjGlobalSubNavRollover);



// Main navigation: Support for Products
gobjNavArray[2] = new objNav(1, "Support for Products", "/support/en_US/index3.html", "/support/en_US/index3.html", gobjJ2EEProject, "imgGlobalNav3", gobjGlobalNav3Rollover);
gobjNavArray[2].child[0] = new objNav(2, "Product Support", "/products/en_US/supportindex.jsp", "/products/en_US/supportindex.jsp", gobjProductsProject, "imgGlobalSubNav0", gobjGlobalSubNavRollover);
gobjNavArray[2].child[1] = new objNav(2, "Service & Warranty", "/support/en_US/service_warranty/index.html", "/support/en_US/service_warranty/index.html", gobjJ2EEProject, "imgGlobalSubNav1", gobjGlobalSubNavRollover);
gobjNavArray[2].child[2] = new objNav(2, "Product Registration", "/support/en_US/productreg/frontpg.html", "/support/en_US/productreg/frontpg.html", gobjProductRegistrationProject, "imgGlobalSubNav2", gobjGlobalSubNavRollover);
gobjNavArray[2].child[3] = new objNav(2, "Training", "/support/en_US/jump_page/index.html", "/support/en_US/jump_page/index.html", gobjJ2EEProject, "imgGlobalSubNav3", gobjGlobalSubNavRollover);
gobjNavArray[2].child[4] = new objNav(2, "Downloads", "/products/en_US/downloadsindex.jsp", "/products/en_US/downloadsindex.jsp", gobjJ2EEProject, "imgGlobalSubNav4", gobjGlobalSubNavRollover);

// Main navigation: Search
gobjNavArray[3] = new objNav(0, "Search", "/search/en_US/query.html", "/search/en_US/query.html", gobjSearchProject, "imgSearchNav", gobjSearchRollover);

// Store global variables defining navigation limits due to page design
var gintMainNavEnd = gobjNavArray.length;	// Number of global navigation elements defined
var gintLocalNavMax = 7;					// Maximum number of local nav elements allowed by page designs without sub menus
var gintLocalNavWithSubsMax = 5;			// Maximum number of local nav elements allowed by page designs with sub menus
var gintLocalSubNavMax = 5;					// Maximum number of local sub nav elements allowed by page design

// Main Navigation:  3Com Logo
gobjNavArray[4] = new objNav(0, "3Com Homepage", "/", "/", gobjJ2EEProject);

// Main Navigation for Header Links:  Login, Downloads, Partner & Reseller Site, My Account, Order Status
gobjNavArray[5] = new objNav(0, "Login", "/corpinfo/en_US/login/index.html", "/corpinfo/en_US/login/index.html", gobjJ2EEProject);
gobjNavArray[6] = new objNav(0, "Downloads", "/products/en_US/downloadsindex.jsp", "/products/en_US/downloadsindex.jsp", gobjProductsProject);
gobjNavArray[7] = new objNav(0, "Partner and Reseller Site", "/corpinfo/en_US/partners/index.html", "/corpinfo/en_US/partners/index.html", gobjJ2EEProject);
gobjNavArray[8] = new objNav(0, "My Account", "/b2c/application/commercewf?origin=GlobalHeaderRw.inc&event=link(MyAccount)", "/b2c/application/commercewf?origin=GlobalHeaderRw.inc&event=link(MyAccount)", gobjJ2EEProject);
gobjNavArray[9] = new objNav(0, "Order Status", "/b2c/application/commercewf?origin=GlobalHeaderRw.inc&event=link(OrderStatus)", "/b2c/application/commercewf?origin=GlobalHeaderRw.inc&event=link(OrderStatus)", gobjJ2EEProject);

// Main Navigation:  Review Cart or Check Out
gobjNavArray[10] = new objNav(0, "Review Cart or Checkout", "/products/en_US/purchase.html", "/products/en_US/purchase.html", gobjJ2EEProject);

// Main Navigation for Footer Links:  Glossary, Site Map, Who is 3Com?, Contact Us, Commworks Web Site
gobjNavArray[11] = new objNav(0, "Glossary", "javascript:fncOpenWindow('/corpinfo/en_US/glossary.jsp','winGlossary',400,350,false,null,null,null,null,true,null)", "javascript:fncOpenWindow('/corpinfo/en_US/glossary.jsp','winGlossary',400,350,false,null,null,null,null,true,null)", gobjJ2EEProject);
gobjNavArray[12] = new objNav(0, "Site Map", "/corpinfo/en_US/sitemap/index.html", "/corpinfo/en_US/sitemap/index.html", gobjJ2EEProject);
gobjNavArray[13] = new objNav(0, "Corporate Information", "/corpinfo/en_US/index.html", "/corpinfo/en_US/index.html", gobjJ2EEProject);
gobjNavArray[14] = new objNav(0, "Contact Us", "/corpinfo/en_US/contactus/index.html", "/corpinfo/en_US/contactus/index.html", gobjJ2EEProject);
gobjNavArray[15] = new objNav(0, "CommWorks Site", "/", "/", gobjCommWorksProject);

// Main Navigation for Legal, Privacy, & Copyright
gobjNavArray[16] = new objNav(0, "", "/corpinfo/en_US/legal/index.html", "/corpinfo/en_US/legal/index.html", gobjJ2EEProject);
gobjNavArray[17] = new objNav(0, "", "/corpinfo/en_US/legal/privacy.html", "/corpinfo/en_US/legal/privacy.html", gobjJ2EEProject);
gobjNavArray[18] = new objNav(0, "", "/corpinfo/en_US/legal/index.html", "/corpinfo/en_US/legal/index.html", gobjJ2EEProject);

// end hiding -->

