
  $(document).ready(function() {
  
     Cufon.replace('h2');
			Cufon.replace('h4'); 
			Cufon.replace('li.headingyear');
			Cufon.replace('li.showdate');
			Cufon.replace('li.indexshowdate'); 
			Cufon.replace('li.donorlist_level');
    
   $('#indexscrollwrap').css("display","none");
   
$("#experiencealt").click(function () {
      $("#dmgmcintro").fadeTo('fast', 0);
      $("#indexscrollwrap").fadeTo('slow', 1);
      $('#indexmemberslide').delay(100).animate({marginLeft: ['-445', 'easeInOutQuad']}, 1500, function() {
      $('#dmgmcintro').hide();
      $('#indexmemberslide').css("margin-left","0");
  		});
      });
      
      $('#newsletter').hide();

		$('a#enews').click(function() {
			$('#newsletter').toggle('fast');
			return false;
		});
		
		$('#scrollleft').stop().bind('click',function(event){
			$('html, body').scrollTo( '-=370px', 800, {easing:'easeInOutQuad'} ).stop();
			return false;
		});
		
		$('#scrollright').bind('click',function(event){
			$('html, body').scrollTo( '+=370px', 800, {easing:'easeInOutQuad'} ).stop();
			return false;
		});	
		
		$(window).scroll(function () { 
 			$("#indexscrollwrap").fadeTo('slow', 1);
		});
		
		$("img#byfresk").animate({"opacity": "0.2"}, "fast");
	$("img#byfresk").hover(
	function() {
	$(this).stop().animate({"opacity": "1"}, "fast");
	},
	function() {
	$(this).stop().animate({"opacity": "0.2"}, "fast");
	});
		
		 $("div.indexmemberinfo").hide();
   	 $("div.indexmember").hover(
      function(){$(this).children("div.indexmemberinfo").fadeTo('fast', 1);},
      function(){$(this).children("div.indexmemberinfo").hide()
      ;}
    );
    
    $("img.indexmemberimg").animate({opacity: 1.0});
$("img.indexmemberimg").hover(
function() {
$(this).stop().animate({"opacity": "1.0"}, "slow");
},
function() {
$(this).stop().animate({"opacity": "1.0"}, "slow");
});

  });

  
  
   
    

         
			

          

