var counter=0;
var step=25;

$(document).ready(function() {
	$('input[type=checkbox],input[type=radio]').prettyCheckboxes({
			checkboxWidth: 17, // The width of your custom checkbox
			checkboxHeight: 17, // The height of your custom checkbox
			className : 'prettyCheckbox', // The classname of your custom checkbox
			display: 'list' // The style you want it to be display (inline or list)
		});
});

function doitN() { 
	    $("#show-list").toggle("blind", { 
	        direction: "vertical" 
	    }, 
	    800); 
		
	}

function doit(which) { 

	if ($("#checkbox-"+which).attr('checked') == true) {
		$("#lb"+which).addClass("strike").innerHTML="333";	
		counter=counter+step;
	} else 
	{
		$("#lb"+which).removeClass("strike");
		if (which < 7) {
			counter = counter - step;
		}
	}
	
	$("#row"+which).toggle("blind", { 
        direction: "vertical" 
    }, 
    800); 
	
	//$("#counter").fadeIn(800);
	$("#counter").fadeOut(800,function(){
		$("#counter").html("<span style='display:block;margin-top:30px; margin-bottom:30px'>"+counter+"</span>").fadeIn(800,function(){
			if (counter>=150) {
				$("#bonus").fadeIn(800);
			}
		});
	})
//	showCounter();
}

function showCounter() {
	$("#counter").empty().appand("25");

}
	
