jQuery(document).ready(function() {

	jQuery.fn.cleardefault = function() {
	return this.focus(function() {
		if( this.value == this.defaultValue ) {
			this.value = "";
		}
	}).blur(function() {
		if( !this.value.length ) {
			this.value = this.defaultValue;
		}
	});
};
jQuery(".clearit input, .clearit textarea").cleardefault();

});


/*

jQuery(document).ready(function() {
	$('li.title').each(function (i) {
		$(this).mouseover(function(){
		
		
			$(this).find('ul.subs a').each(function(index) { this.addclass('shownav') });
			
			//$(this).find('ul.subs a').hover(function() { $(this).css('color','pink') });
		
			//$(this).find('ul.subs a').css('color','#8c7c69');
			
		}).mouseout(function(){
			//$(this).find('ul.subs a').delay(800).css('color','transparent');
			$(this).find('ul.subs a').delay(800).removeClass('shownav');
		});
	});
}); */



$(document).ready(function() {

	$('li.title').each(function(i) {
	
		$(this).mouseover(function() {
		
			$(this).addClass('activenav');
			// show links
		}).mouseout(function() {
			$(this).removeClass('activenav');
			//hide links
		});
	
	});

});
