jQuery(document).ready(function(){
 //if this is not the first tab, hide it
 jQuery(".tab:not(:first)").hide();

 //to fix u know who
 jQuery(".tab:first").show();

jQuery(".htabs a:first").addClass('active');

 //when we click one of the tabs
 jQuery(".htabs a").click(function(){
 
jQuery(".htabs 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:not(#'+stringref+')').hide();
 //fix
 if (jQuery.browser.msie && jQuery.browser.version.substr(0,3) == "6.0") {
 jQuery('.tab#' + stringref).show();
 }
 else
 //display our tab fading it in
 jQuery('.tab#' + stringref).fadeIn();
  

 //stay with me
 return false;
 });

});


jQuery(document).ready(function(){
	jQuery(".quick_tab").hide();
	///jQuery(".quick_tab:not(:first)").hide();

	//to fix u know who
	///jQuery(".tab:first").show();
	
	jQuery(".quick_view span").mouseover(function(){
		stringref = jQuery(this).attr("id").split('#')[1];

		jQuery('.quick_tab:not(#'+stringref+')').hide();

		if (jQuery.browser.msie && jQuery.browser.version.substr(0,3) == "6.0") {
			jQuery('.quick_tab#' + stringref).show();
		}
		else 
			jQuery('.quick_tab#' + stringref).fadeIn();
		
		return false;
	});
	
	
	
	jQuery(".wrapper").click(function (){
											
	jQuery(".quick_tab").hide();									
	
      });
	
});







////////////////////////////////////////////////////////////




