function changerColors() {
	if($('#item .left')){
		$('dl#color-variation dd img').hover(function(){
			$('#item-image img').hide();
			$('#item-image img').attr({
				'src': $(this).attr('src'),
				'alt': $(this).attr('alt'),
				'title': $(this).attr('alt')
			});

			//IE6 Support
			if(!jQuery.support.opacity){
				if(!jQuery.support.style){
					if (typeof document.documentElement.style.maxHeight == "undefined") {
					$('#item-image img').attr({'src': $(this).attr('pngSrc')});
					}
				}
			}
			$('#item-image img').show();
			$("#color_name").text('');
			$("#color_name").text($('#item-image img').attr('alt'));
		});
	}
}

function zoomDetail() {
	//CONFIG
		
	xOffset = 420;
	yOffset = -200;
		
		
	//END CONFIG
	$("#function-list li span img").hover(function(e){
		this.t = this.alt;
		var c = (this.t != "") ? "<br/>" + this.t : "";
		$("body").append("<p id='preview'><img src='"+ this.src +"' alt='"+ this.alt +"' /></p>");								 
		$("#preview")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");						
    },
	function(){
		this.title = this.t;	
		$("#preview").remove();
    });	
	$("#function-list li span img").mousemove(function(e){
		$("#preview")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});	

	//CONFIG
		
	xOffset2 = -35;
	yOffset2 = -175;
		
		
	//END CONFIG
	$("ul#tag li img").hover(function(e){
		this.t = this.alt;
		var c = (this.t != "") ? "<br/>" + this.t : "";
		$("body").append("<p id='preview'><img src='/common/img/products/tag_popup/"+ this.alt +"_popup.gif' alt='"+ this.alt +"' /></p>");								 
		$("#preview")
			.css("top",(e.pageY - xOffset2) + "px")
			.css("left",(e.pageX + yOffset2) + "px")
			.fadeIn("fast");						
    },
	function(){
		this.title = this.t;	
		$("#preview").remove();
    });	
	$("ul#tag li img").mousemove(function(e){
		$("#preview")
			.css("top",(e.pageY - xOffset2) + "px")
			.css("left",(e.pageX + yOffset2) + "px");
	});			

}


