function sendform() {
    document.searchform.submit();
}//end sendform

function goTo(menu) {
	try {
		if (menu) {
			location = menu.options[menu.selectedIndex].value;
		}//end if 
		else { 
			alert(typeof(menu));
		}//end else
	}// end try
	catch(err) { }//end catch
}//end goTo

//goToWebsite() is deprecated, from now on use goTo()
function goToWebsite() {
    var list = document.colleges.CollegesMenu;
    location = list.options[list.selectedIndex].value;
}
//goToLink() is deprecated, from now on use goTo()
function goToLink() { var site = document.quickLinkslist.colleges; top.location = site.options[site.selectedIndex].value;}


function clearIt(what) {
    what.value = '';
}
function defaultIt(what) {
    if (what.value == '') {
        what.value = what.defaultValue;
    } else {
        what.value = what.value;
    }
}
function validateSearch(which) {
	try {
		if (which.q.value == which.q.defaultValue) {
			which.q.value = '';
			which.submit();
		}//end if 
		else {
			which.submit();
		}//end else
	}// end try
	catch(err) {
		if (document.searchform.q.value == document.searchform.q.defaultValue) {
    	    document.searchform.q.value = '';
      		document.searchform.submit();
    	}//end if 
    	else {
        	document.searchform.submit();
    	}//end else
	}//end catch
}//end validateSearch