jQuery(document).ready(function(){
	jQuery("ul li:first-child").addClass("first");
	jQuery("ul li:last-child").addClass("last");	
	var config = {   
	sensitivity: 3, 
	interval: 20,  
	over: doOpen, 
	timeout: 100, 
	out: doClose  
	};
	/*jQuery('.hentry').each(function(){
			
	});*/
	function doOpen() {
	jQuery(this).addClass("hover");
	jQuery('ul:first',this).stop(true, true).slideDown('fast');
	}
	function doClose() {
	jQuery(this).removeClass("hover");
	jQuery('ul:first',this).stop(true, true).slideUp('fast');
	}	
	jQuery("#access > div > ul > li").hoverIntent(config);
	
	jQuery('#secondary .widget:first').addClass('like-me');
	jQuery('a[rel="external"]').click(function(){
	    this.target = "_blank";
	});	
	if (jQuery.browser.msie) {
		jQuery('.like-me').boxShadow( 10, 10, 0, "#04222f");
		jQuery('#third .textwidget a, .pp_pic_holder').boxShadow( 10, 10, 0, "#DD4F02");
				
	
	} 
	jQuery('input[type="text"], textarea').each(function() {
			var default_value = this.value;	
			jQuery(this).focus(function() {
			if(this.value == default_value) {
			this.value = '';
			}
			});
			jQuery(this).blur(function() {
			if(this.value == '') {
			this.value = default_value;
			}
			});
	});	
});
