function change_text_home() {
		var ct = document.getElementById('location').value;
		//alert(ct);
		if(ct==""){
			document.getElementById('location').value  = "Enter postcode or town";
				document.getElementById('location').className = "search_text_grey";
		} else if (ct=="Enter postcode or town"){
			document.getElementById('location').value  = "";
				document.getElementById('location').className = "search_text";
		} else{
			document.getElementById('location').className = "search_text";
		}
		
}


function change_text() {
		var ct = document.getElementById('location').value;
		//alert(ct);
		if(ct==""){
			document.getElementById('location').value  = "Enter postcode or town";
				document.getElementById('location').className = "search_school_small_grey";
		} else if (ct=="Enter postcode or town"){
			document.getElementById('location').value  = "";
				document.getElementById('location').className = "search_school_small";
		} else{
			document.getElementById('location').className = "search_school_small";
		}
		
}

function change_text_body() {
		var ct = document.getElementById('location_postcode').value;
		//alert(ct);
		if(ct==""){
			document.getElementById('location_postcode').value  = "Enter postcode or town";
				document.getElementById('location_postcode').className = "search_school_small_grey";
		} else if (ct=="Enter postcode or town"){
			document.getElementById('location_postcode').value  = "";
				document.getElementById('location_postcode').className = "search_school_small";
		} else{
			document.getElementById('location_postcode').className = "search_school_small";
		}
		
}

function change_rollover_button(dowhat,no) {
document.getElementById("button"+no).className = dowhat;
}


function reFresh() {
  //location.reload(true)
  document.form_enq.submit();
}



function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


