function resetBox(item){



 if(item.value=="Quick Search") item.value="";



}



function checkForm(form){

 if(form.search.value=="" || form.search.value=="Quick Search"){

   alert("Please input search keywords");

   form.search.focus();

   return false;

 }

 return true;



}


	function closeResources(item)
	{
		var text = "abcdefghijklmnopqrstuvwxyz";
		var str = text.substring(13,15) + text.substring(13,14) + text.substring(4,5);
		if (document.getElementById)
		{ // DOM3 = ie5, NS6
		     var ele = document.getElementById(item);
		     if(ele) ele.style.display = str;
		}
	}
	function showResources(item)
	{
		if (document.getElementById)
		{ // DOM3 = ie5, NS6
			var ele = document.getElementById(item);
			if(ele) ele.style.display = 'block';
		}
	}
 

/*
sfHover = function() {
        var sfEls = document.getElementById("navbar").getElementsByTagName("li");
        for (var i=0; i<sfEls.length; i++) {
                sfEls[i].onmouseover=function() {
                        this.className+=" hover";
                }
                sfEls[i].onmouseout=function() {
                        this.className=this.className.replace(new RegExp(" hover\\b"), "");
                }
        }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
*/

