////Animation Image Rollover
$(function() {
$(" a > img,#thumbList > li,li > a ").hover(
  function () {
    $(this).animate({opacity: 0.6,},200 );
  },
  function () {
    $(this).animate({opacity: 1.0,},200 );
  }
);
});

////Smooth Scroll
jQuery.fn.extend({
  scrollTo : function(speed, easing) {
    if(!$(this)[0].hash || $(this)[0].hash == "#") {
      return false;
    }
    return this.each(function() {
      var targetOffset = $($(this)[0].hash).offset().top;
      $('html,body').animate({scrollTop: targetOffset}, speed, easing);
    });
  }
});
$(document).ready(function(){
  $('a[href*=#]').click(function() {
    $(this).scrollTo(800);
    return false;
  });
});
