var $ = jQuery.noConflict();
	$(document).ready(function () {
		$(".topnav li:first-child").addClass("noBg");
		$(".nav li:first-child").addClass("noBg");
		$(".nav li:last-child").addClass("last");
		$(".nav li:last-child li:last-child").removeClass("last");
		$("li.timelinks li:first-child").addClass("noBg");
		$("#footer ul.menu li:first-child").addClass("noBg");
		
		$(".fNav li:first-child").addClass("noBg");
		
		
		$(".nav ul, .topnav ul ").css({display: "none"});
		$(".nav li, .topnav li ").hover(function(){
			$(this).find('ul:first').css({visibility: "visible",display: "none"}).slideDown(400);
			$(this).children('a').addClass('active');
		},function(){
			$(this).find('ul:first').css({visibility: "hidden",display: "none"});
			$(this).children('a').removeClass('active');
		});
		
		$("#tabs .tab_wrapper br").show();
		//$(".one_half:even").addClass("colLeft");
		//$(".one_half:odd").addClass("colRight");
		
		$('p').each(function() {
		if($(this).html().replace(/\s|&nbsp;/g, '').length == 0)
			$(this).remove();
		});
		$('.colLeft br:eq(0), .colRight br:eq(0)').remove();
		
		$.fn.setAllToMaxHeight = function(){
		return this.height( Math.max.apply(this, $.map( this , function(e){ return $(e).height() }) ) );
		}

		$("#footer .widget-area").setAllToMaxHeight()
		
	});
