jQuery(function($) {
	
    $(document).ready(function() {
		$('.slider').cycle({
			fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		});
	}); 
    
    $('.blink')
        .focus(function(){
            if( $(this).val() == $(this).attr('title') ) {
                $(this).val('');
            }
        })
        .blur(function(){
            if( $(this).val() == '' ) {
                $(this).val( $(this).attr('title') );
            }
        });
        
		function nl2br (str) {   
			return (str + '').replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, '$1<br />$2');
		}			
});

