
$(document).ready(function(){ 
$(".pzoom ").fadeTo("slow", 0.0); 
$(".pzoom").hover(function(){ 
$(this).fadeTo("slow", 0.9); 
},function(){ 
$(this).fadeTo("slow", 0.0); 
}); 
});

$(document).ready(function(){ 
$(".pzoom2 ").fadeTo("slow", 0.0); 
$(".pzoom2").hover(function(){ 
$(this).fadeTo("slow", 0.9); 
},function(){ 
$(this).fadeTo("slow", 0.0); 
}); 
});


$(document).ready(function(){ 
$(".pzoom3 ").fadeTo("slow", 0.0); 
$(".pzoom3").hover(function(){ 
$(this).fadeTo("slow", 0.9); 
},function(){ 
$(this).fadeTo("slow", 0.0); 
}); 
});


$(document).ready(function(){ 
$(".vzoom ").fadeTo("slow", 0.0); 
$(".vzoom").hover(function(){ 
$(this).fadeTo("slow", 0.9); 
},function(){ 
$(this).fadeTo("slow", 0.0); 
}); 
});



$(document).ready(function(){ 
$(".pzoomh ").fadeTo("slow", 0.0); 
$(".pzoomh").hover(function(){ 
$(this).fadeTo("slow", 0.9); 
},function(){ 
$(this).fadeTo("slow", 0.0); 
}); 
});


$(document).ready(function(){ 
$(".vzoomh ").fadeTo("slow", 0.0); 
$(".vzoomh").hover(function(){ 
$(this).fadeTo("slow", 0.9); 
},function(){ 
$(this).fadeTo("slow", 0.0); 
}); 
});

$(document).ready(function(){ 
$(".vzoom2 ").fadeTo("slow", 0.0); 
$(".vzoom2").hover(function(){ 
$(this).fadeTo("slow", 0.9); 
},function(){ 
$(this).fadeTo("slow", 0.0); 
}); 
});

$(document).ready(function(){ 
$(".vzoom3 ").fadeTo("slow", 0.0); 
$(".vzoom3").hover(function(){ 
$(this).fadeTo("slow", 0.9); 
},function(){ 
$(this).fadeTo("slow", 0.0); 
}); 
});

$(document).ready(function(){
		
		var SEARCH_BOX_DEFAULT_TEXT = 'your@email.com'
		var searchBarInput = $('#subscription-input');
		var searchBarSubmit = $('#subscription-submit');
		
		if (!searchBarInput.attr('value')) {
			searchBarInput.attr('value', SEARCH_BOX_DEFAULT_TEXT);
		}
		
		searchBarInput.focus(function(){
			if(this.value == SEARCH_BOX_DEFAULT_TEXT) {
				this.value = '';
			}
		});
		
		searchBarInput.blur(function(){
			if (this.value == '') {
				this.value = SEARCH_BOX_DEFAULT_TEXT;
			}
		});
		
		searchBarSubmit.click(function(){
			if(searchBarInput.val() == SEARCH_BOX_DEFAULT_TEXT) {
				searchBarInput.val('');
			}
		});

	
});




