 sfHover = function() {
 	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
 	for (var i=0; i<sfEls.length; i++) {
 		sfEls[i].onmouseover=function() {
 			this.className+=" sfhover";
 		}
 		sfEls[i].onmouseout=function() {
 			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
 		}
 	}
 }
 if (window.attachEvent) window.attachEvent("onload", sfHover);

$(function() {
			
	   		$("select").change(function () {
		          var str = "";
		         str=$(this).find("option:selected");
		         str = str.attr("value");
		         splitstr = str.split(".");
		         
		         if(splitstr[1]=="htm") {
		        	 $("#redirectInput").attr("value",str);
	         	 }
	        })
	
		});

$(function() { 
$(".paymentPlsSelect").change(function() {
$(".paymentPlsSelect").removeClass("v_required");
$(".paymentPlsSelect").removeClass("paymentPlsSelect");
});
$(".courseSelect").change(function() {
$(".courseSelect").removeClass("v_required");
$(".courseSelect").removeClass("courseSelect");
});
$(".tickOneTickAll").click(function() {
if($(this).is(":checked")) {
$(".tickOneTickAll").attr("checked","checked");
}
});
});
