sfHover = function() {	var sfEls = document.getElementById("navigation").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"), "");		}	}}if (window.attachEvent) window.attachEvent("onload", sfHover);function initMenus() {	$('ul.menu ul').hide();	$.each($('ul.menu'), function(){		// ORIGINAL // $('#' + this.id + '.expandfirst ul:first').show();		$('#' + this.id +" li ul"+ '.expandfirst').show(); // THIS LETS YOU SPECIFY WHICH SECONDARY NAV TO DISPLAY FIRST. PUT THE CLASS ON THE SECONDARY NAV'S <UL>	});	$('ul.menu li a').click(		function() {			var checkElement = $(this).next();			var parent = this.parentNode.parentNode.id;			if($('#' + parent).hasClass('noaccordion')) {				$(this).next().slideToggle('normal');				return false;			}			if((checkElement.is('ul')) && (checkElement.is(':visible'))) {				if($('#' + parent).hasClass('collapsible')) {					$('#' + parent + ' ul:visible').slideUp('normal');				}				return false;			}			if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {				$('#' + parent + ' ul:visible').slideUp('normal');				checkElement.slideDown('normal');				return false;			}		}	);}$(document).ready(function() {initMenus();});