function _clearSearch(obj_ref, def_value){
	if(def_value==""){
		//if there is no default value for the input, then just clear it's value.
		obj_ref.value = "";
	}else{
		//if there IS a default value, then check to see if the current value it equal to it before clearing 
		if(obj_ref.value == def_value){
			obj_ref.value = "";
		}
	}
}
function _Search()
{
	f = document.getElementById('SearchForm');
	f.method = "get";
	f.q.value = ''+ f.q.value;
	f.action = 'http://search.komando.com/search';
	f.submit();
}
function _ProcSearch(e)
{	
	var kcode; 
	if(window.event) {
		kcode = e.keyCode;
	}
	else if(e.which) {
		kcode = e.which;
	}
	if ( kcode == 13 && document.forms[0].q.value != "")
	{
		_Search();
	}
}