sfHover = function() {

	/* this allows us to set up suckerfish to be used on different pages, but only initialize once */
	var sfIDs = new Array();
	sfIDs[0] = "related";
	sfIDs[1] = "primary-nav";

	/* this just loops through all possible SF ids and initializes if the ID exists */
	for(n=0;n<sfIDs.length;n++) {
		if(document.getElementById(sfIDs[n])) {
			var sfEls = document.getElementById(sfIDs[n]).getElementsByTagName("LI");
			for (var i=0; i<sfEls.length; i++) {
				sfEls[i].onmouseover=function() {
					this.className+=" sfhover";
				}
				sfEls[i].onmouseout=function() {
					this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
				}
			}
		}
	}	
}

//this function is for site-wide popups
//usage example: <a href="#" onclick="MM_openBrWindow('somelinkhere.php','','scrollbars=yes,width=450,height=450')">Pop goes the weasle</a> 
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}




function message() {
	window.alert("You are about to visit a site not affiliated with Arubanetworks.com");}

window.onload=function() {
	/*hilightLinks(); */
	//externalLinks();
	if (document.all && ie6) sfHover();
	if (document.getElementById("content-product")) accordionInit();
	
}

