$().ready(function() {
	$("input.label").focus(function() {
		var label = $("label[for='" + $(this).attr('id') + "']");
		if (label.html() == $(this).val()) {
			$(this).val('');	
		}
	});
	$("input.label").blur(function() {
		if ($(this).val() == '') {
			$(this).val($("label[for='" + $(this).attr('id') + "']").html());	
		}
	});		
	
	$('.galleryview').animate({opacity: '+=0'}, 2000).fadeIn('slow');
});
