if(jQuery) {
	$(function() {
		$('input[name=lab][value=other],input[type=checkbox][value=other]').removeAttr('checked');
		$('#lab-other, #product-other, #request textarea').attr('disabled','disabled').addClass('disabled');
  	$("#request textarea").defaultvalue("Please use this space for comments, specific requests not listed above, or questions.");
		// workaround to make onchange event work in IE as in other browsers
		if (jQuery.support.cssFloat == false) {
		  $("input[name=lab][value=other],input[type=checkbox][value=other]").click(function() {
		    this.blur();
		    this.focus();
		  });
		}
		// end workaround
		$('input[name=lab][value=other]').change(function() {
			if($(this).is(':checked')) {
				$(this).attr('checked','checked');
				$('#lab-other').removeAttr('disabled').focus();
			}
		});
		$('input[name=lab]:not([value=other])').change(function() {
			if($('input[name=lab][value=other]:not(:checked)')) {
				$('#lab-other').attr('disabled','disabled').removeAttr('value').blur();
			}
		});
		$('input[type=checkbox][value=other]').change(function() {
			if($(this).is(':checked')) {
				$(this).attr('checked','checked');
				$('#product-other').removeAttr('disabled').focus();
			}
			else {
				$(this).removeAttr('checked');
				$('#product-other').attr('disabled','disabled').removeAttr('value').blur();
			}
		});
		$('#request textarea').attr('disabled','disabled');
		$('#req_other, #req_info, input[name=receive_sample]').change(function() {
			if($(this).is(':checked')) {
				$(this).attr('checked','checked');
				$('#request textarea').removeAttr('disabled').focus();
			}
			else {
				$(this).removeAttr('checked');
				$('#request textarea').attr('disabled','disabled').blur();
			}
		});
	});
}