$(document).ready(function(){
	$(".new").attr("target","_blank");
	if($.browser.mozilla) $("form").attr("autocomplete", "off");
	
	
	
	$("#home_2_9").click(function(){
		var checkedValue = $('#home_2_9:checked').val() + "";
		if (checkedValue != "undefined"){
			$("#home_2_10").attr("checked","");
			$("#home_2_11").attr("checked","");
			$("#home_2_12").attr("checked","");
			$("#home_2_10").attr("disabled","disabled");
			$("#home_2_11").attr("disabled","disabled");
			$("#home_2_12").attr("disabled","disabled");
		}else{
			$("#home_2_10").removeAttr("disabled");
			$("#home_2_11").removeAttr("disabled");
			$("#home_2_12").removeAttr("disabled");
		}
	});


//	var originalSelectedValue = $("#motor_2_1").attr("value");
//	if (selectedValue != "Comprehensive"){
//		$("#motor_2_2").attr("disabled","disabled");
//	};
	
	$("#motor_2_1").change(function(){
		var selectedValue = $(this).attr("value");
		if (selectedValue != "Comprehensive"){
			$("#motor_2_2").attr("disabled","disabled");
		}else{
			$("#motor_2_2").attr("disabled","");
		};
	});
	
	
	
	
	
});