jQuery(document).ready(function() {
		jQuery('input[type=text]').each( function(i) {
			var t = jQuery(this);
			var thisval = t.val();
			t.blur( function() {
				if (t.val() == '') t.val(thisval);
			}); // end blur function
			t.focus( function() {
				if (t.val() == thisval) t.val('');
			});// end focus function
		}); //END each function

		// slider en header
		var banner_small= "350px";
		var banner_full= "700px";
		var speed_in= 500;
		var speed_out= 300;

		$("#ads div.add").mouseover(function(){
			$("#ads div").clearQueue();
	 		$("#ads div").stop();
			$("#ads div").not(this).each(function(){
			   if(!$(this).hasClass("toplogo")){
					$(this).animate({width: "0px" }, speed_in );   
			   }
			});
		  $(this).animate({ width: banner_full }, speed_in );
		});

		$("#ads div.add").mouseout(function(){
			$("#ads div").clearQueue();
	 		$("#ads div").stop();
			$("#ads div").not(this).each(function(){
			   if(!$(this).hasClass("toplogo")){
					$(this).animate({width: banner_small }, speed_out );   
			   }
			});
			$(this).animate({width: banner_small}, speed_out );
		});


	}); // END document ready function
