
 $(document).ready(function(){

     $.ajaxSetup ({  
         cache: false  
     });  

function rbn_item_hover() {

$(".index_explorer_left_content_ajax_itembox_container").hover(
      function () {
		$(this).addClass("index_explorer_left_content_ajax_itembox_hover");
      }, 
      function () {
		$(this).removeClass("index_explorer_left_content_ajax_itembox_hover")
		}
    );

}




$(".index_explorer_left_menuitem").click(function(){
$(".index_explorer_left_menuitem").removeClass("index_explorer_left_menuitem_highlight");									  
$(this).addClass("index_explorer_left_menuitem_highlight");
});





$("#index_featured").click(function(){
$(".index_explorer_left_content_ajax").html('<div style="height:500px;">Loading...</div>');
$(".index_explorer_left_content_ajax").load("dummy.aspx #featured", {},  function(){rbn_item_hover(); });



});

$("#index_programs").click(function(){
$(".index_explorer_left_content_ajax").html('<div style="height:500px;">Loading...</div>');
$(".index_explorer_left_content_ajax").load("dummy.aspx #programs", {}, function(){
																				 






/* $("").hover(function () {

				$("div.index_explorer_left_content_ajax_categorybox_name a", this).css({'color': '#fff',});
      }, 
      function () {

		
		}
    );
*/

    $("div.index_explorer_left_content_ajax_categorybox_container").hover(
      function () {
		$(this).addClass("index_explorer_left_content_ajax_categorybox_hover");
		$(this).find(".index_explorer_left_content_ajax_categorybox_name a").addClass("index_explorer_left_content_ajax_categorybox_name_hover");
		$(this).find(".index_explorer_left_content_ajax_categorybox_summary").addClass("index_explorer_left_content_ajax_categorybox_summary_hover");

		      }, 
      function () {
		$(this).removeClass("index_explorer_left_content_ajax_categorybox_hover")
		$(this).find(".index_explorer_left_content_ajax_categorybox_name a").removeClass("index_explorer_left_content_ajax_categorybox_name_hover");
		$(this).find(".index_explorer_left_content_ajax_categorybox_summary").removeClass("index_explorer_left_content_ajax_categorybox_summary_hover");

}
    );





																				 } );
});

$("#index_newest").click(function(){
								  
$(".index_explorer_left_content_ajax").html('<div style="height:500px;">Loading...</div>');
$(".index_explorer_left_content_ajax").load("dummy.aspx #newest", {}, function(){rbn_item_hover();

 } );



});

$("#index_explore").click(function(){
$(".index_explorer_left_content_ajax").html('<div style="height:500px;">Loading...</div>');
$(".index_explorer_left_content_ajax").load("dummy.aspx #explore");
});

$("#index_onair").click(function(){
$(".index_explorer_left_content_ajax").html('<div style="height:500px;">Loading...</div>');
$(".index_explorer_left_content_ajax").load("dummy.aspx #onair");

});





$("#index_featured").click();





  $('div.slides ul').cycle({
    context: false,
    tabs: false,
    timeout: 10000,      // time before next slide appears (in ms)
    slideSpeed: 1000,   // time it takes to slide in each slide (in ms)
    tabSpeed: 1000,      // time it takes to slide in each slide (in ms) when clicking through tabs
    fx: 'scrollHorz',   // the slide effect to use       
	pager: $('#index_banner_left_slideshow_nav'),
	pagerAnchorBuilder: function(idx, slide) { return '<a href="#">' + slide.id + '</a>'; },
            pauseOnPagerHover: true,
            pause: true
        });            







																		








});

