(function($) {
	$.fn.extend({
		expandClickArea : function(settings) {
		    settings = $.extend({
		        refSource: 'a:first',
				refAttach: false,
				hoverClass:false//notAdded 2DO
		    }, settings || {});
			return this.each(function(){
				var teaseOBJ = (!settings.refAttach)?this:$(this).find(settings.refAttach);
				$(teaseOBJ).css('cursor','pointer').click(function(e){
					var refSource = $(this).find(settings.refSource);
                    if(e.target != refSource.get(0)){
                        window.location = $(this).find(settings.refSource).attr('href');
                    }
                        
				});
			});
		}
	});
})(jQuery);
$(function() {
	
    
    var overNaviA = function(){ // selects all anchors in the specified container and listens to the "mouseover" event
            
            if(typeof $.data(this,'overFocus') == 'undefined' || !$.data(this,'overFocus')){
                $.data(this,'overFocus',true);
                var $this = $(this);
                var text = $this.text();
                var dfnText = $('dfn',this).text();
                text = text.replace(dfnText,'');
                var liElm = $this.parents('li:first').get(0);
                $("p#description-1").remove();
                $("div#nav-primary ul").after('<p id="description-1"><strong>'+text+': </strong>'+$('p.description:first',liElm).html()+'</p>');
                if($.browser.msie) $("p#description-1").show(); else $("p#description-1").fadeIn("slow"); // cool effects for cool browsers, poor effects for bad browsers
            }
            
	};
    var outNaviA = function(){ // selects all anchors in the specified container and listens to the "mouseout" event
        if($.data(this,'overFocus')){
            $.data(this,'overFocus',false);
            $("#description-1").remove(); // removes the generated paragraph
        }
            
	};
	$('body').addClass('js');
	$("#nav-primary a").hover(overNaviA,outNaviA).focus(overNaviA).blur(outNaviA);
    $('#col-2 ul.blog li.clearfix').expandClickArea();
});