
	$(document).ready(function(){

		$("#navigationArea #navigation1 li a").textShadow();
		$("#contentNavigation li a").textShadow();
		$("#contentArea h2").textShadow();
		$("#contentArea h3").textShadow();
		

		jQuery.fn.fadeToggle = function(speed, easing, callback) { 
		   return this.animate({opacity: 'toggle'}, speed, easing, callback); 
		}; 			
		
	
		$("dd").hide();
		$("dt").mouseover(function(){
			$(this).next().fadeToggle();
		});
		$("dt").mouseout(function(){
			$(this).next().fadeToggle();
		});
		
		$(".productNaviList li a").click(function(){
			$('.productNaviList li a').removeClass('active');
			offset = $('.productList div img').width();
			counter = $(this).parent().index()+1;
			currentpos = (((Math.abs($('.productList div').position().left))+offset)/offset);
			diff = Math.abs((counter-currentpos));
			if((counter)>(currentpos)){
				$('.productList div').animate({"left": "-="+(offset*diff)}, 600);
			}
			if((counter)<currentpos){
				$('.productList div').animate({"left": "+="+(offset*diff)}, 600);
			}
			$(this).addClass('active');
			return false;
		
		});
		

	});
