$(function(){
			
	/* borough map list tooltips */
	$("map > area").tooltip({
		positionLeft: true,
		showURL: false
		});
	
	var cssObj = {
        color: "#006699",
        fontWeight: "normal",
        fontSize: "115%",
		marginTop: "0.25em"
      };
	
	/* $(".showimg + p").css(cssObj); */
	$(".date + p").css(cssObj);

	/*
	$('#mainmenu').corner({
			  tl: { radius: 16 },
			  tr: { radius: 16 },
			  bl: { radius: 16 },
			  br: { radius: 16 },
			  antiAlias: true,
			  autoPad: true,
			  validTags: ["div"] });

	$('#members').corner({
			  tl: { radius: 16 },
			  tr: { radius: 16 },
			  bl: { radius: 16 },
			  br: { radius: 16 },
			  antiAlias: true,
			  autoPad: true,
			  validTags: ["div"] });

	$('#searchy11111').corner({
			  tl: { radius: 16 },
			  tr: { radius: 16 },
			  bl: { radius: 16 },
			  br: { radius: 16 },
			  antiAlias: true,
			  autoPad: true,
			  validTags: ["div"] });
	*/
	
	$("#donations").submit(function() {
      if ($("#amount").val() > 0) {
        return true;
      } else {
		  /*alert("You must enter an amount!");*/
		  $("span").text("You must enter an amount!").show().fadeOut(3000);
		  return false;
	  }
    });	
    
	$('#news-sign-up input[type="text"]').each(function(){
	
		this.value = $(this).attr('title');
		$(this).addClass('text-label');
	
		$(this).focus(function(){
			if(this.value == $(this).attr('title')) {
				this.value = '';
				$(this).removeClass('text-label');
			}
		});
	
		$(this).blur(function(){
			if(this.value == '') {
				this.value = $(this).attr('title');
				$(this).addClass('text-label');
			}
		});
	});    
	
});
