jQuery(document).ready(function(){
	// SLIDESHOW
	jQuery('div.slides').cycle({ 
		fx:     'fade',
		speed:	1500,
		timeout: 5000,
		delay:	-1500,
		prev:   'div.leftArrow a', 
		next:   'div.rightArrow a' 
	});
});

// VALUE SWAP
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]);
            }
        });
    });
});
