$(document).ready(function() {
	
	$("ul.stateList li:odd").css("background-color", "#eeeeee");
	
	$("div.stateControl").click(function(){
		if ( $(this).hasClass("closedControl") ) {
			$("p.stateInfo").hide();
			$("div.stateControl").removeClass("openControl");
			$("div.stateControl").addClass("closedControl");
			$(this).parent().find("p.stateInfo").fadeIn("fast");
			$(this).addClass("openControl");
			$(this).removeClass("closedControl");
			return
		}
		if ( $(this).hasClass("openControl") ) {
			$("p.stateInfo").hide();
			$(this).addClass("closedControl");
			$(this).removeClass("openControl");
			return
		}
	});
	
});