$(document).ready(function(){
	$("#btnSubscribe").click(function(){
		$.post("subscribe.php", {
			type: 'ajax',
			name: $("#subscribeName")[0].value, 
			email: $("#subscribeEmail")[0].value
		},
		function(data){
		
			alert(data);
			tb_remove();
			
		})
	})
});
$(function(){
 // Make sure all the divs at the bottom of the page are the same height as the first one as it has the question of the day in it and is often tall
 $( '#rand > div.top' ).css( 'height', $( '#rand > div.top:first' ).css( 'height' ) );
});
