$(document).ready(function() {	
/** Domain search - strip domain name down to first part before the dot if any dots are present in the search string. (.) **/
	$("#domsearchform").submit(function(event){  
		val = $('#domain').val();
		split = val.split('.');
		$('#domain').val(split[0])
		return true;
	});
});
