

$(document).ready(function(){

jQuery('.rss').click(function() {
    _gaq.push(['_trackEvent', 'rss', 'clicked']);
});


			$(".gallery a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'});
	

$('donate-link').click(function() {
			pageTracker._trackPageview('/calculator-clicks/my-calulator');
		});


	
	var current_data = new Array();

	$('.clearinput').each(function(i){
		$(this).removeClass('clearinput').addClass('clearinput'+i);
		current_data.push($(this).val());

		$(this).focus(function(){
			if($(this).val() == current_data[i]) {
				$(this).val('');
			}
		});
		$(this).blur(function(){
			var stored_data = current_data[i];
			if($(this).val()==''){
				$(this).val(stored_data);
			}
		})
	});
	$('.button').hover(function() {
		$(this).fadeTo("fast", 1);
	}, function() {
		$(this).fadeTo("fast", .94);
	});

		});

