jQuery(function($)
{
	$("textarea, input[type=text]").focus(function() {
		if (this.value == this.defaultValue)
            this.value = ''; 
	});

	$("textarea, input[type=text]").blur(function() {
		if ($.trim(this.value) == '')
			this.value = (this.defaultValue ? this.defaultValue : '');  
	});

	$('ul.pagenavi > li a').not('ul.pagenavi li ul li a').replaceWith(function(){
		return '<h3><a href="' + $(this).attr('href') + '">' + $(this).text() + '</a></h3>';
	})

}); //end jQuery
