$(document).ready( function(){

/**
      $('#sail-nav').hover(function() {

        $(this).addClass('sailhover');
		$('.imghover').hide();
      }, function() {

        $(this).removeClass('sailhover');
		$('.imghover').show();
      });
**/

$(".rollover").hover(
	function(){
		if($(this).attr("src").indexOf("-active") == -1) {
			var newSrc = $(this).attr("src").replace(".png","-active.png#hover");
			$(this).attr("src",newSrc);
		}
	},
	function(){
		if($(this).attr("src").indexOf("-active.png#hover") != -1) {
			var oldSrc = $(this).attr("src").replace("-active.png#hover",".png");
			$(this).attr("src",oldSrc);
		}
	}
);

$(".block-pointer").hover(function(){
       $(this).animate({opacity: "0.7", width: "240"}, "fast")
      }, function() {
       $(this).animate({opacity: "1.0", width: "247"}, "fast")
    });

//fader
$(".fader").hover(function(){
    $(this).animate({opacity: "0.6"}, "fast")
      }, function() {
	//	 $(this).animate( { width:"151px" }, 100 );
	 $(this).animate({opacity: "1.0"}, "fast")
    });
});

