function searchForm() {

	var errorMsg = "";
	var errorMsgLong = "";

	
	//search
	if (document.formsearch.search.value.length <= 2){
		errorMsg += "\nEnter atleast 3 characters !";
	}
	

	//If there is aproblem with the form then display an error
	if ((errorMsg != "") || (errorMsgLong != "")){
		msg = "Please\n";
		
		errorMsg += alert(msg + errorMsg + "\n" + errorMsgLong);
		document.formsearch.search.focus();
		return false;
	}
	
	return true;
}
