$(document).ready(function(){
	swapValue = [];
	$(".txt").each(function(i){
	   swapValue[i] = $(this).val();
   		$(this).focus(function(){
      	if ($(this).val() == swapValue[i]) {
         	$(this).val("");
      	}
    $(this).addClass("focus");
    }).blur(function(){
     	if ($.trim($(this).val()) == "") {
       		$(this).val(swapValue[i]);
	 		$(this).removeClass("focus");
      	}
 	});
    });
	
	//$('.img').animate({opacity: .5}, 400);
	
	$('.teaser').hoverIntent(
     function() {
       
         $(this).find('img').animate({ backgroundColor: '#c3ea00'}, 400);
       
     },
     function() {
       
         $(this).find('img').animate({ backgroundColor: '#f3e7d0' }, 600);
         
     }
   );    
});