/*
* jquery document initilization method 
* @param $ object the short notation for the jQuery function 
* begining the document.ready function with jQuery instead of $ allows 
* other libraries like prototype to be run in conjunction with jQuery
* 
* @return null
*/
jQuery(document).ready(function($){
	$(".print_button").click(function(){window.print();}); 
	$("#search_bar").focus(function(){$("#search_input_box").val("");});
	$("#search_input_box").focus(function() {
                $(this).attr("value","");
		$(this).val(""); 
        });

	$('#sports_list').cycle({ 
	    fx:     'scrollRight', 
	    speed:   400, 
	    timeout: 13000,
	    next:   '#news_ticker_right', 
	    prev:   '#news_ticker_left' 
	});
	$("#poll ul li a").click(function(){
		$("#poll ul li").attr("class","");
		$(this).parent().attr("class","selected");
	});
	$("#see_results").click(function(){$(".lg-poll-results_hidden").show();});
});


