
//text resize functionality

$(document).ready(function(){
  var originalFontSize = $('html').css('font-size');
    $(".resetFont").click(function(){
    $('html').css('font-size', originalFontSize);
  });
  // Increase Font Size
  $(".increaseFont").click(function(){
    var currentFontSize = $('html').css('font-size');
	var currentFontSizeNum = parseFloat(currentFontSize, 10);
		if(currentFontSizeNum <24){
			var newFontSize = currentFontSizeNum*1.2;
			$('html').css('font-size', newFontSize);
			return false;
		}
  });
  // Decrease Font Size
  $(".decreaseFont").click(function(){
    var currentFontSize = $('html').css('font-size');
    var currentFontSizeNum = parseFloat(currentFontSize, 10);
    if(currentFontSizeNum >8){
		var newFontSize = currentFontSizeNum*0.8;
		$('html').css('font-size', newFontSize);
		return false;
	}
  });
});


//Get Involved page activity mouseover highlighting

$(document).ready(function(){
	$(".getinvolved_option").hover(
	  function () {
		$(this).stop().animate({
			opacity : 0.92
		},0.2)
	  },
	  function () {
				$(this).stop().animate({
			opacity : 1
		},0.2)
	  }
	);
});

$(document).ready(function(){
	$('#imageslider').removeClass('hidden');
});

$(document).ready(function(){
	$('.zebra tr:even').addClass('alternate');
	$('.zebra tr').hover(function(){
		$(this).addClass('tr_hover');
	},function(){
		$(this).removeClass('tr_hover');
	});
});
