// JavaScript Document
$("*").ready(function(){ 
$(".best_selling1").css("background-color","#98e396").css("border","#1e7c1b solid 1px"); 
$(".best_view1").css("background-color","#98e396").css("border","#1e7c1b solid 1px"); 
$(".best_view_img1").show();$(".best_view_img2").hide();$(".best_view_img3").hide();
$(".best_selling_img1").show();$(".best_selling_img2").hide();$(".best_selling_img3").hide();
					});

$(document).ready(function(){
		$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
	});
	
	$(document).ready(function(){
  $(".best_selling1").click(function(){
 $(this).css("background-color","#98e396").css("border","#1e7c1b solid 1px"); 
  $(".best_selling_img1").show();$(".best_selling_img2").hide();$(".best_selling_img3").hide();
 $(".best_selling2").css("background-color","#96B9E3").css("border","#6e9bd2 solid 1px"); 
 $(".best_selling3").css("background-color","#96B9E3").css("border","#6e9bd2 solid 1px"); 
 
  });
    $(".best_selling2").click(function(){
 $(this).css("background-color","#98e396").css("border","#1e7c1b solid 1px"); 
  $(".best_selling_img1").hide();$(".best_selling_img2").show();$(".best_selling_img3").hide();
 $(".best_selling1").css("background-color","#96B9E3").css("border","#6e9bd2 solid 1px"); 
 $(".best_selling3").css("background-color","#96B9E3").css("border","#6e9bd2 solid 1px"); 
 
  });

  $(".best_selling3").click(function(){
 $(this).css("background-color","#98e396").css("border","#1e7c1b solid 1px"); 
  $(".best_selling_img1").hide();$(".best_selling_img2").hide();$(".best_selling_img3").show();
 $(".best_selling2").css("background-color","#96B9E3").css("border","#6e9bd2 solid 1px"); 
 $(".best_selling1").css("background-color","#96B9E3").css("border","#6e9bd2 solid 1px"); 
 
  });
/*-----------------------------------------------------------------------*/

  $(".best_view1").click(function(){
 $(this).css("background-color","#98e396").css("border","#1e7c1b solid 1px");
   $(".best_view_img1").show();$(".best_view_img2").hide();$(".best_view_img3").hide();
 $(".best_view2").css("background-color","#96B9E3").css("border","#6e9bd2 solid 1px"); 
 $(".best_view3").css("background-color","#96B9E3").css("border","#6e9bd2 solid 1px"); 
 
  });
    $(".best_view2").click(function(){
 $(this).css("background-color","#98e396").css("border","#1e7c1b solid 1px"); 
  $(".best_view_img1").hide();$(".best_view_img2").show();$(".best_view_img3").hide();
 $(".best_view1").css("background-color","#96B9E3").css("border","#6e9bd2 solid 1px"); 
 $(".best_view3").css("background-color","#96B9E3").css("border","#6e9bd2 solid 1px"); 
 
  });

  $(".best_view3").click(function(){
 $(this).css("background-color","#98e396").css("border","#1e7c1b solid 1px"); 
  $(".best_view_img1").hide();$(".best_view_img2").hide();$(".best_view_img3").show();
 $(".best_view2").css("background-color","#96B9E3").css("border","#6e9bd2 solid 1px"); 
 $(".best_view1").css("background-color","#96B9E3").css("border","#6e9bd2 solid 1px"); 
 
  });

});
