 $().ready(function(){
    $("#frmCalc").validate({
		errorLabelContainer: $("#frmCalc th.error"),
		wrapper: 'li'
    });
  });


function changeProfile()
{
		var profile = $('#select').val();
		if (profile == "3") {
			$('#unilateral').attr("disabled","disabled");
			$('#bilateral').attr("disabled","disabled");
			
			$('#simple').attr("disabled","disabled");
			$('#oval').attr("disabled","disabled");
			
			$("#white").attr("checked", "checked");
		}
		
		if (profile == "5") {
			$('#unilateral').removeAttr("disabled");
			$('#bilateral').removeAttr("disabled");
			
			$('#simple').removeAttr("disabled");
			$('#oval').removeAttr("disabled");
		}
}
