$(document).ready(function(){
	
	
	$("input.prefill").each(function(){
		var $$		= $(this);
		var title	= $(this).attr("title");
		
		$$.val(title);
		
		$$.focus(function(){
			if ( $$.val() == title ) { $$.val(""); }
		});
		
		$$.blur(function(){
			if ( $$.val() == "" ) { $$.val(title); }
		});
	});
	
	$("#news").cycle({timeout:5000});
	$(".cycle").cycle({timeout:25000});
	
	$(".cycler").cycle({
		timeout: 6000,
		fx: 'scrollHorz',
		next: '#cycle-next',
		prev: '#cycle-prev',
		pause: 1
	});
	
	$("h3").each(function(){
		var val = $(this).html();
		$(this).html("<span>"+val+"</span>");
	});
	
});
 
