jQuery(document).ready(function(){

  jQuery(document).pngFix();
  
  jQuery('#icon_basket').bind("mouseenter",function(){
      jQuery('#icon_basket').css("background-position","right -60px");
      jQuery('#icon_basket').stopTime("hide");
      jQuery('#onpage_basket').show();
    }).bind("mouseleave",function(){
      jQuery('#icon_basket').css("background-position","top right");      
      jQuery('#icon_basket').oneTime(100, "hide", function() {
        jQuery('#onpage_basket').hide();
    });
  });
  
  jQuery('#onpage_basket').bind("mouseenter",function(){
      jQuery('#icon_basket').css("background-position","right -60px");
      jQuery('#icon_basket').stopTime("hide");
      jQuery('#onpage_basket').show();      
    }).bind("mouseleave",function(){
      jQuery('#icon_basket').css("background-position","top right");      
      jQuery('#icon_basket').oneTime(100, "hide", function() {
        jQuery('#onpage_basket').hide();
    });
  });
  
  if (browserIsIE6) {
    jQuery('td.product-top').bind("mouseenter", function(){
      jQuery(this).addClass("hover");
    }).bind("mouseleave", function(){
      jQuery(this).removeClass("hover");
    });
    
    jQuery('#product-hero-top').bind("mouseenter", function(){
      jQuery(this).addClass("hover");
    }).bind("mouseleave", function(){
      jQuery(this).removeClass("hover");
    });
  }
  
  // Enable Tooltips
  if(undefined!==window.tt_Enabled){
    tt_Init();
  }
  
});


/**
 * Show/Hide tabs
 */

function showTab(tabID){  
  // Reset Tabs Content  
  jQuery('.tab').attr("class","tab hidden");
  
  // Reset Tab Links
  jQuery('#tab_selector_list li a').attr("class","");
  
  // Mark Tab Link Selected
  jQuery('#tab_select_'+tabID).attr("class",'selected');
  
  // Show Tab Content
  jQuery('#tab-'+tabID).attr("class",'tab visible');
}

function UnTip(){
}