<!--
$(document).ready(function(){

   // - Best Sellers Box
   $("#bestsellers-box-button").click(function() {
	  strTitle = $(this).attr("title"); 
	  if(strTitle=="BEST-SELLERS-SHOW") {
		   $(".bestsellers-box-container").slideToggle("slow");
			strTitle = $(this).attr("title","BEST-SELLERS-HIDE"); 
			$(this).css({ "background-position": "right -81px"}); 
	  }else{
		   $(".bestsellers-box-container").slideToggle("slow");
			strTitle = $(this).attr("title","BEST-SELLERS-SHOW"); 
			$(this).css({ "background-position": "right 3px"}); 
	  }
	});

 

   // - Best Sellers
   $("#bestsellers-button").click(function() {
	  strTitle = $(this).attr("title"); 
	  if(strTitle=="BEST-SELLERS-SHOW") {
		   $(".bestsellers-container-main").slideToggle("slow");
			strTitle = $(this).attr("title","BEST-SELLERS-HIDE"); 
			$(this).css({ "background-position": "right -84px"}); 
	  }else{
		   $(".bestsellers-container-main").slideToggle("slow");
			strTitle = $(this).attr("title","BEST-SELLERS-SHOW"); 
			$(this).css({ "background-position": "right 0px"}); 
	  }
	});

 

	
	// -  Event
	$(function() {
	   $('.shadeColoritemDiv').hover( function(){
			jQuery(".shadeColoritemOnstateDiv", this).show();
			$(this).css('background-color', '#E7EEEB');
			strColor=jQuery(".shadeColoritemImgDiv", this).attr('title');
			$("#shadeColorViewImgDiv").css('background',strColor);
			strName=jQuery(".shadeColoritemTxtDiv", this).attr('title');
			$("#shadeColorViewTxtDiv").html(strName);
	   },
	   function(){
		jQuery(".shadeColoritemOnstateDiv", this).hide();
		  $(this).css('background-color', '#ffffff');
	   });
	});

});



function showTab(id,activeId){
     if(!activeId){activeId=id;}
	$("#producttab li").removeClass("selected");
	$("#producttab li").eq(activeId).addClass("selected");

	$(".product_content_tab").hide();
	$(".product_content_tab").eq(id).show();
}

function ChangeTab(id,activeId,bodywidth,bodyheight){
     if(!activeId){activeId=id;}
	$("#headingtab li").removeClass("selected");
	$("#headingtab li").eq(activeId).addClass("selected");

	$(".bodytab").hide();
	$(".bodytab").eq(id).show();
	$(".bodytab").eq(id).css("width",bodywidth);
	$(".bodytab").eq(id).css("height",bodyheight);
}

//-->