function clearField(field_id, term_to_clear) {
	if (document.getElementById(field_id).value == term_to_clear ) {
		document.getElementById(field_id).value = '';
	} 
} // end clearField()

jQuery(document).ready(function($) {
    // $() will work as an alias for jQuery() inside of this function
    
    $(".tabs").tabs();
	//$(".tabs .ui-tabs-panel").removeClass("ui-corner-bottom");
	$(".tabs .ui-tabs-panel").addClass("ui-corner-tr");
	
	// This must be after tabs otherwise neither works in IE6/7	
	$("#navsearch, #primary, #primary .xoxo .widgetcontainer, #index-top").corner( {autoPad: false} );

});

/*
$(document).ready(function(){
	
	$(".tabs").tabs();
	//$(".tabs .ui-tabs-panel").removeClass("ui-corner-bottom");
	$(".tabs .ui-tabs-panel").addClass("ui-corner-tr");
	
	// This must be after tabs otherwise neither works in IE6/7	
	$("#navsearch, #primary, #primary .xoxo .widgetcontainer, #index-top").corner( {autoPad: false} );

});



*/
