/*************************************************
 *
 *************************************************/
 function uniChecker(){
 
//imdex must be last for fill in your own
//num of unis in pull down
	uniChosen = false;
	goodInput = false;
	numUnis = document.quote.property_type.length;
	currUni = document.quote.property_type.selectedIndex;
	//check to see if the make selection is not selected, get uni name if "make selection" is not selected.
	if(currUni < (numUnis - 1)){
		//get institution name
		selUni = document.quote.property_type[currUni].value;	
		uniChosen = true;
 	}	
 	//property_type_other - get value there
	 property_type_other = document.quote.property_type_other.value;
	 	 
/***************************************
 * check whether input is valid
 **************************************/ 
 	//check if input is blank
 	isU_blank = (property_type_other == "" || property_type_other == " " || property_type_other == null)?true: false;
 	//if it is not blank, let's check to see what is there
 	if(!isU_blank){
		// reg expression that checks to see that there are a minimum of four characters in a row...
		// ie University of California would return true, but UC San Diego would not.  UCSD would be okay
 		regExp = /([A-Za-z][A-Za-z][A-Za-z][A-Za-z])+/;		
		goodInput = regExp.test(property_type_other);					
 	}			
	
	if((uniChosen && goodInput) || (!uniChosen && !goodInput)){
		alert("Please select a Property Type from the pull-down list or enter a new one into the 'Other' box if the name of yours does not appear in the list.");
		document.quote.property_type_other.focus()
		return false;
	}	
	return true;
}