function ct(obj) {
	obj.target = '_blank';
}


jQuery(window).load(function(){
  
  var currentURL = window.location.href;
  if(currentURL.indexOf('#') !=  -1 ){
    jQuery('#multiContentPanel h3').each(function(index) {
      var linkNum =currentURL.split('#');
      var headNum =linkNum[1];
      
      if(headNum.indexOf("c") == -1) {
        headNum = 'c'+headNum;
      }

      if(headNum == jQuery(this).children("a").attr("name")) {
        jQuery(this).toggleClass('open');
        jQuery(this).next().toggle(
          function(){return false;}
        )
      }
    });
  }
});

jQuery(document).ready(function(){


    jQuery("#stageContent").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 10000, true);
    jQuery("#stageContent").hover(
	   function() {   
		 jQuery("#stageContent").tabs("rotate",0,true);
		 
	   },  
		function() { 
 
	     jQuery("#stageContent").tabs("rotate",10000,true);
	
	  }  
     ); 
	
	


  });  
