// Son-Of-Sucker-Fish IE Hack
// -----------------------------------------------------------------
sfHover = function() {
if (document.getElementById("nav")) {
	  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);
 

// Imagemap
// ----------------------------------------------------------------- 
function changeMap(img,src){
	var baseSrc = "http://graphics.fansonly.com/schools/bgu/graphics/";
	if(!document.layers){
		document[img].src = baseSrc + src;
	}
}


// IFrame loadnew function
// ----------------------------------------------------------------- 
function loadnew(targ,file){
		frames[targ].location.href = file;
}


// Clears and replaces input field (this is specific to the yahoo search)
// ----------------------------------------------------------------- 
function clearSearch(){
	document.getElementById('yahooBox').className = 'searchformOff';
	}
			
function fillSearch(){
	document.getElementById('yahooBox').className = 'searchformOn';
	}
