// front-end javascripts go here

jQuery(function($) {
	//put your init junk here
	jQuery("#product_images > ul > li > a").click( function(e) {
		e.preventDefault();
		this_image = jQuery("#product_images > ul > li").index(jQuery(this).parent());
		jQuery("#product_image > ul > li").each( function() {
			jQuery(this).fadeOut();
		});
		jQuery("#product_image > ul > li:eq(" + this_image+ ")").fadeIn();
	});

});