

<!--
function HealthcareRatings(cur){
	if (cur.State.value == ""){
		alert("Please select a State or Province");
		cur.State.focus();
	return false;
	}
}

function checkMDrating(cur){
	lastnameLength = cur.Lastname.value.length;
	if (lastnameLength<2){
		alert("Please enter a 'Lastname', currently there are " + lastnameLength + " characters.");
		cur.Lastname.focus();
		return false;
	}	
}

function checkHospitalrating(cur){
	institutionLength = cur.Institution.value.length;
	if (institutionLength<2){
		alert("Please enter an 'Institution' name (or part of it) greater than 2 characters in length, currently there are " + institutionLength + " characters.");
		cur.Lastname.focus();
		return false;
	}	
}
function ViewDoctorRatings(cur){
	lastnameLength = cur.Lastname.value.length;
	if (lastnameLength<1){
		alert("Please enter a 'Lastname' or the first letter(s) of the 'Lastname', currently there are " + lastnameLength + " characters.");
		cur.Lastname.focus();
		return false;
	}	
	if (cur.State.value == ""){
		alert("Please select a State or Province");
		cur.State.focus();
	return false;
	}
}
function ViewHospitalRatings(cur){
	institutionLength = cur.Institution.value.length;
	if (institutionLength<1){
		alert("Please enter an 'Institution' or the first letter(s) of the 'Institution', currently there are " + institutionLength + " characters.");
		cur.Institution.focus();
		return false;
	}	
	if (cur.State.value == ""){
		alert("Please select a State or Province");
		cur.State.focus();
	return false;
	}
}


/*http://www.dhtmlshock.com/text-effects/CellBackground/default.asp*/
function cOn(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#A52322";
}
}

function cOut(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#B2634D";
}
}
function cOn2(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#1A640D";
}
}

function cOut2(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#5DA34B";
}
}
function cOn3(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#731F21";
}
}

function cOut3(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#A52322";
}
}

function cOn4(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#2222A5";
}
}

function cOut4(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#2263A5";
}
}
// end hiding script-->

