/* POP OUT MENU */
sfHover = function() {
	
	var sfEls = document.getElementById("nav25").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);
/* VERTICAL EXPANDING MENU 
function P7_swapClass(){ //v1.4 by PVII
 var i,x,tB,j=0,tA=new Array(),arg=P7_swapClass.arguments;
if(document.getElementsByTagName){for(i=4;i<arg.length;i++){tB=document.getElementsByTagName(arg[i]);
for(x=0;x<tB.length;x++){tA[j]=tB[x];j++;}}for(i=0;i<tA.length;i++){
if(tA[i].className){if(tA[i].id==arg[1]){if(arg[0]==1){
tA[i].className=(tA[i].className==arg[3])?arg[2]:arg[3];}else{tA[i].className=arg[2];}
}else if(arg[0]==1 && arg[1]=='none'){if(tA[i].className==arg[2] || tA[i].className==arg[3]){
tA[i].className=(tA[i].className==arg[3])?arg[2]:arg[3];}
}else if(tA[i].className==arg[2]){tA[i].className=arg[3];}}}}
}
// the following PVII (www.projectseven.com) function writes the styles that control menu hiding and showing
// so that browsers with script disabled can see a fully expanded menu without having to toggle
// the entire menu onLoad, allowing the onLoad event to simply expose a single menu
function P7_writeStyles(a){ //v1.1 by PVII
 var tS="<sty"+"le type=\"text/css\">";
 tS+="\n"+a+"\n<"+"/sty"+"le>";document.write(tS);
}
P7_writeStyles('.closed ul{display:none;}.open ul{display:block;}.closed2 ul{display:none;}.open2 ul{display:block;}.closed3 ul {display:none;}.open3 ul {display:block;}.closed4 ul {display:none;}.open4 ul {display:block;}.closed5 ul {display:none;}.open5 ul {display:block;}.closed6 ul {display:none;}.open6 ul {display:block;}.closed7 ul {display:none;}.open7 ul {display:block;}.closed8 ul {display:none;}.open8 ul {display:block;}');
*/
