$(document).ready(function() {
	$(document).superSelectify({
		manualSelectors: '#uwgbfooter > ul > li:last-child, input[type="text"], input[type="password"], #sidebar dt:hover, #sidebar dd li:hover'
	});	//initialize super-selectors
	
	$('.clearfix').parent().append('<div class="clearboth"></div>'); //apply jquery clearfix
	
	/* accordionize the sidebar */
	$('#sidebar dt a').click(function(){
		if ($(this).parent().next().length > 0) {
			$(this).parent().next().slideToggle(250);
			return false;
		}
	});
	
	/* get the search bar rocking */
	$("#searchText").focus(function() {
		if( this.value == this.defaultValue ) {
			this.value = "";
		}
	}).blur(function() {
		if( !this.value.length ) {
			this.value = this.defaultValue;
		}
	});
});