$(document).ready(function() {

	  $(document).pngFix(); 
	  
      $('a img')
      		.bind(
      			'mouseover',
      			function()
      			{
      				
      			    if(!$(this).hasClass("bookmarkimg")){
	                    $(this).animate({opacity: 0.7}, 200);
	                    $(this).animate({opacity: 1}, 200);
      			    }
      			}
      		)
	  
      $('.menu img')
      		.bind(
      			'mouseover',
      			function()
      			{
      			    if(!$(this).hasClass("selected")){
                        var src = $(this).attr("src").replace(".jpg","") + "_a.jpg";
                        $(this).attr("src", src);
                    }
      			}
      		)
      		.bind(
      			'mouseout',
      			function()
      			{
      			    if(!$(this).hasClass("selected")){
                        var src = $(this).attr("src").replace("_a", "");
                        $(this).attr("src", src);
                    }
      			}
      		)

      $('.bookmark img')
      		.bind(
      			'mouseover',
      			function()
      			{
      			    if(!$(this).hasClass("selected")){
                        var src = $(this).attr("src").replace(".png","") + "_a.png";
                        $(this).attr("src", src);
                    }
      			}
      		)
      		.bind(
      			'mouseout',
      			function()
      			{
      			    if(!$(this).hasClass("selected")){
                        var src = $(this).attr("src").replace("_a", "");
                        $(this).attr("src", src);
                    }      				
      			}
      		)
});