$(function() { 


//Navigation Accordian
$("#accordion").tabs("#accordion div.SubLink", {tabs: 'h2', effect: 'slide'});

  /* by default do not open any pane 
  var initab = -1, 
      lhash = window.location.hash; 
   
  // before installing tabs, check whether we open a pane 
  if (lhash) { 
    // try to exctract initial tab index 
    // assuming #t + index 
    lhash = parseInt(lhash.substring(lhash.lastIndexOf("#t") + 2), 10); 
    initab = isNaN(lhash) ? initab : lhash; 
  } 
   
  $("#accordion").tabs("#accordion div.SubLink", { 
    initialIndex: initab,
	effect: 'slide',
    tabs: "h2" 
  }); 
  
  */
  
$("#accordion-h").tabs("#accordion-h div", {
	tabs: 'a.slider-h', 
	effect: 'horizontal', 
	event:'mouseover',
	initialIndex: null
});  

//Navigation record history and load sub tabs
$(".Loader").tabs("#Content > div", {
				  
				  effect: 'ajax'
				  
				  }).history();

/*Navigation expose instead of tabs
$(".Shade[rel]").overlay({
						 
		expose: { 
        color: '#333', 
        loadSpeed: 20, 
        opacity: 0.9 
    },
 
    closeOnClick: true
						 });

*/



});