$(document).ready(function() {

	//Add/Remove Input Values
	$('input[title]').each(function() {
		if($(this).val() == '') {
			$(this).val($(this).attr('title'));	
		}
		
		$(this).focus(function() {
			if($(this).val() == $(this).attr('title')) {
				$(this).val('');	
			}
		});
		$(this).blur(function() {
			if($(this).val() == '') {
				$(this).val($(this).attr('title'));	
			}
		});
	});
	//End Add/Remove Input Values
	
	$("#newsContainer .module.standards dl dd:eq(0)").addClass("first");

	// striping 
	$("tbody.striped tr:odd").addClass("odd");
	$("tbody.striped tr:even").addClass("even");

	$("#team.striped div:odd").addClass("odd");

	$("#mainNav li a, .module h3").textShadow();
	$(".ie7 #mainNav li a, .ie8 #mainNav li a").hover(function() {
	    $(this).addClass("hover");
	    $(".ie7 #mainNav li a.hover, .ie8 #mainNav li a.hover").textShadow();
	}, function() {
	    $(this).removeClass("hover");
	    $(".ie7 #mainNav li a, .ie8 #mainNav li a").textShadow();
	});



	$('#interestReviewer').change(function() {
	  toggleStatus();
	});
	
	$('#interestCanvass').change(function() {
		  toggleStatus();
		});	
	


	function toggleStatus() {
	    if ($('#interestReviewer').is(':checked')) {
	        $('input[name="categoryType"]').attr('disabled', true);
	        $('input[name="categoryType"]').attr("checked", false);  
	        
	    } else {
	        $('input[name="categoryType"]').removeAttr('disabled');
	    }
	}



});



