// ------------------ VALIDATE FORMS ------------------- //
function ValidateForm(myform) {
	var elem = document.getElementById(myform).elements;
	for(var i = 0; i < elem.length; i++) {
		if (elem[i].value == "" && elem[i].className == "textfld required") {
			for(var a = 0; a < elem.length; a++) {
				if (elem[a].value == "" && elem[a].className == "textfld required") {
					elem[a].style.backgroundColor = "#d8f8fc";
				} else {
					elem[a].style.backgroundColor = "#ffffff";
				}
			}
			alert('Please fill in all required fields');
			return false;
		}
	}
	return true;
}
// ------------------ IMAGE ROLLOVERS ------------------- //
function RollOver(name,file) {
	document[name].src = "images/" + file;
}