
//alert('common.js');
function empty(returnVal){
	if(returnVal){
		return returnVal;
	}else{
		return;
	}
}

function cat_submit(){
	if(document.quick_search.lookup_text){
		if(document.quick_search.lookup_text.value != ""){
			document.quick_search.submit();
		}else{
			//alert("%%alert%%");
			if(document.getElementById('searchAlert')){
				alert(document.getElementById('searchAlert').value);
			}
		}
	}else{
		document.quick_search.submit();
	}
}

function show_hide(id){
	if(document.getElementById(id)){
		var obj = document.getElementById(id);
		if(obj.style.display == 'none'){
			obj.style.display='';
		}else{
			obj.style.display='none';
		}
	}
}


