
	
	/* Mouseovers for the "i want to..." images inside #links, and the footer logos */
	window.addEvent('domready', function() {  
		$$('#links img,#footer_logos img').each(function(img) {  
			var src = img.getProperty('src');  
			var extension = src.substring(src.lastIndexOf('.'),src.length)  
			img.addEvent('mouseenter', function() { img.setProperty('src',src.replace(extension,'_over' + extension)); });
			img.addEvent('mouseleave', function() { img.setProperty('src',src); });  
		});  
	});	

	// Necessary code for the drop-down CSS menus to work on IE < ver 7
	sfHover = function() {
	var sfEls = document.getElementById("nav").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 MM_openBrWindow(theURL,winName,features) { //v2.0
		window.open(theURL,winName,features);
	}
	function popwin(newURL, w, h) {
		window.open(newURL, "newwin","toolbar=no, width="+w+",height="+h+",location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no");
	}
