jQuery(document).ready(function(){

	// Slideshow
	$('div.slides').cycle({ 
		fx:		 'fade',
		speed:	 1500,
		timeout: 5000,
		delay:	 -1500,
		random:	true
	});

	// Swap values
	jQuery(function() {
	    swapValues = [];
	    jQuery(".sv").each(function(i){
	        swapValues[i] = jQuery(this).val();
	        jQuery(this).focus(function(){
	            if (jQuery(this).val() == swapValues[i]) {
	                jQuery(this).val("");
	            }
	        }).blur(function(){
	            if (jQuery.trim(jQuery(this).val()) == "") {
	                jQuery(this).val(swapValues[i]);
	            }
	        });
	    });
	});
});
