jQuery(document).ready(function() {
	jQuery('#bubbleleft').mouseenter(function(){
		jQuery('#bubblewelcome').fadeOut();
		jQuery('#bubblechurch').fadeIn();
	});
	
	jQuery('#bubbleleft').mouseleave(function(){
		jQuery('#bubblechurch').fadeOut();
		jQuery('#bubblewelcome').fadeIn();
	});	
	
	jQuery('#birdright').mouseenter(function(){
		jQuery('#bubblecontent').fadeIn();
	});
	
	jQuery('#bubbleright').mouseleave(function(){
		jQuery('#bubblecontent').fadeOut();
	});

	jQuery('.placeholder').each(function(i,v){
		var $this = jQuery(this);
		if(undefined !== $this.attr('alt')){
			var alt = $this.attr('alt');
			if(!$this.val())
				$this.val(alt);
			
			if(alt.length>0) {
				$this.focus(function(){
					if (alt == $this.val()){
						$this.val('');
					}
				});
				$this.blur(function(){
					if (!$this.val()){
						$this.val(alt);
					}
				});
			}
		}
	});
});
