/*
	This is for the Suckerfish menu from http://www.htmldog.com/articles/suckerfish/dropdowns/
	It loop through all the list elements within the sfnav element, and gives them mouseover
	and mouseout functions to change their class to a hovering one.
*/
sfHover = function() {
	if (document.getElementById("sfmenu")) {
		var sfEls = document.getElementById("sfmenu").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);


//Window opening function added 11/11/2010 by Paul so that it will be included from all pages
function PopupWindow (url, options) {var w = window.open (url, 'ipe_popupwindow', options); w.focus();}
function PopupWindowMin (url, w, h) {PopupWindow (url, 'menubar=no,toolbar=no,location=no,scrollbars=yes,status=no,resizable=yes,width='+w+',height='+h);}

