

function submitResourceForm(form) {
	// If they didn't select the default "---Select--" item, submit the form
	if(form.resource_name.selectedIndex != 0) {
		form.submit();	
	}
}

function clearSearch(myForm) {
	if (myForm.defaultValue==myForm.value)
	myForm.value = "";
}

function showSearch(myForm) {
	if (myForm.value=="") myForm.value =
	myForm.defaultValue;
}


