// JavaScript Document
jQuery.fn.extend({
  slideRightShow: function() {
    return this.each(function() {
        $(this).show('slide', {direction: 'right'}, 1000);
    });
  },
  slideLeftHide: function(speed) {
    return this.each(function() {
      $(this).hide('slide', {direction: 'left'}, speed);
    });
  },
  slideRightHide: function() {
    return this.each(function() {
      $(this).hide('slide', {direction: 'right'}, 1000);
    });
  },
  slideLeftShow: function(speed) {
    return this.each(function() {
      $(this).show('slide', {direction: 'left'}, speed);
    });
  }
});

$(document).ready(function(){
	$(document).pngFix();
	$("ul#grid li a").hover(
      function () {
		//$(this).parent().find('h3').fadeTo(500, 0.8);
		$(this).parent().find('h3').slideLeftShow(350);
		
      }, 
      function () {
      	//$(this).parent().find('h3').fadeTo(500, 0);
		$(this).parent().find('h3').slideLeftHide(200);
      }
    );
						   
})