jQuery(document).ready(function(){

 //if this is not the first tab, hide it

 jQuery(".tab_small:not(:first)").hide();
 //to fix u know who
 jQuery(".tab_small:first").show();
jQuery(".htabs_small a:first").addClass('active');
 //when we click one of the tabs

 jQuery(".htabs_small a").click(function(){
jQuery(".htabs_small a").removeClass('active');  
jQuery(this).addClass('active');
//get the ID of the element we need to show
 stringref = jQuery(this).attr("href").split('#')[1];
 //hide the tabs that doesn't match the ID
 jQuery('.tab_small:not(#'+stringref+')').hide()
 //fix
 if (jQuery.browser.msie && jQuery.browser.version.substr(0,3) == "6.0") {
 jQuery('.tab_small#' + stringref).show();
 }
 else
 //display our tab fading it in
 jQuery('.tab_small#' + stringref).fadeIn();
//stay with me
 return false;
 });



});


