jQuery(document).ready(function() {
	/*
	 * tabs
	 */
   
	// onclick...
	jQuery(".main_tabs .tabs li").click(function() {
	  
		/* clear active status */
		jQuery(".main_tabs .tabs li").removeClass("active");
    jQuery(".main_tabs .tabs li a").each(function (i) {
        jQuery(this).html(jQuery(this).html().replace("What's New in ",""));
    });
    
		/* assign active status to clicked tab */
		jQuery(this).addClass("active");
    jQuery('a', this).html("What's New in " + jQuery('a', this).html());
    
		/* hide any content tabs */
		jQuery(".tc_con").hide();
		
		/* make corresponding content tab show */
		var activetabcontent = jQuery(this).find("a:first").attr("href")+"-content";		
		if (jQuery(activetabcontent))
			jQuery(activetabcontent).show();
	});
  
  var tab = window.location.href;
  tab = tab.replace("http://"+window.location.host, "");
  tab = tab.replace("/","");
  if (tab.indexOf("#tab") == 0) {
    the_li = jQuery(".main_tabs .tabs li " + tab.replace("#", ".")).parent().click();
  }
  
	//Remove IE Outline
	jQuery(".main_tabs .tabs li a").focus(function(){$(this).blur();});

});

















