$(document).ready(function() {
				
  $("#gallery-thumbs img").click(function()
  {
    var imgAlt = $(this).attr("alt");
    var imgPath = $(this).next('input').val();
		  $("#feature-box img").hide();
    $("#feature-box img").load( function()
    {
      $("#feature-box img").fadeIn();
    }).attr({"src": imgPath, "alt": imgAlt });
  });
});  
/*
$(document).ready(function(){
  $("#gallery-thumbs img").click(function(){
    var large_src = "/"+$(this).attr('alt');
    //console.log(large_src);
		  $("#feature-box img").hide();
    $("#feature-box img").load(large_src, {}, function()
    {
      $("#feature-box img").fadeIn();
    }).attr("src", large_src);;
  });  
});

/********************  WORKING ***
jQuery(document).ready(function() {
				
  jQuery("#gallery img").click(function()
  {
    var imgAlt = jQuery(this).attr("alt");
    var imgPath = jQuery(this).next('input').val();
		  jQuery("#feature img").hide();
    jQuery("#feature img").load( function()
    {
      jQuery("#feature img").fadeIn();
    }).attr({"src": imgPath, "alt": imgAlt });
  });
  
  jQuery("#cat-gallery a").hover(function()
  {
    var imgAlt = jQuery(this).attr("alt");
    var imgPath = jQuery(this).children('input').val();
    
		  jQuery("#feature img").hide();
    jQuery("#feature img").load( function()
    {
      jQuery("#feature img").fadeIn();
    }).attr({"src": imgPath, "alt": imgAlt });
  }, function(){});
});

 */
