function keyword_check(){
	
	// look through the radio buttons
	for (var i=0; i < document.form.choice.length; i++){
   		// find the one that was checked
		if (document.form.choice[i].checked){
			// place its value into a variable
      		var searchOption = document.form.choice[i].value;
      	}
   	}
	// check the variable and execute a function
	if (searchOption == "website"){
   		Gsitesearch(document.form.searcharg.value);
		document.form.action = "http://www.google.com/search";
	}
	else if (searchOption == "catalog"){   		
		document.form.action = "http://connelly.lasalle.edu/search/";
	}

}
function Gsitesearch(curobj){	
	document.form.q.value="site:"+"www.lasalle.edu/library"+" "+curobj;
}	


/****************************************************************************
*********************** BACKUP NAVIGATION ROLL OVER *************************
****************************************************************************/
startList = function() {
	if (document.all&document.getElementById) {
		navRoot = document.getElementById("library_nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
					alert("using this function");
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
window.onload=startList;
