/* Author: Travis Wolf

*/
var isHotSheet = true;
var isHotSheetMfg = true;

$(function () {
		
	
	
	/* doesn't work in IE6
    if ($('.label_cb').length > 0) {
	
        $('.label_cb').click(function () {
            setupLabel();
        });
        setupLabel();
    }*/
});


function checkHotSheet() {
    
    if (isHotSheet) {
       // alert("setting false");
		$("#hotsheetOptIn").prop("checked", false);
		$('#lblHotsheetOptIn').removeClass('r_on');
		isHotSheet = false
    } else {
       // alert("setting true");
        $("#hotsheetOptIn").prop("checked", true);	
		$('#lblHotsheetOptIn').addClass('r_on');	
		isHotSheet = true
    }

   
};

function checkHotSheetMfg() {
	
	if(isHotSheetMfg){
		$("#hotsheetMfgOptIn").prop("checked", false);
		$('#lblHotsheetMfgOptIn').removeClass('r_on');
		isHotSheetMfg = false
	}else{
		$("#hotsheetMfgOptIn").prop("checked", true);		
		$('#lblHotsheetMfgOptIn').addClass('r_on');	
		isHotSheetMfg = true
	}
};

/**
*
* Doesn't work in IE6

function setupLabel() {
	
	if ($('.label_cb input').length) {
	    $('.label_cb').each(function () {					 
	        $(this).removeClass('r_on');
	    });
		$('.label_cb input:checked').each(function(){
			$(this).parent('label').addClass('r_on');
			
		});
	};
};
*/




















