jQuery.noConflict();
jQuery (function (){
	jQuery("ul#topNav li").hover (function (){
		jQuery("ul#topNav li h3 a").removeClass("selected");
		jQuery(this).children("h3").children("a:eq(0)").addClass('selected');
		jQuery("#botmenu").html ("<ul>" + jQuery(this).children('ul').html() + "</ul>");
    },function (){
    });
	
	
	var tabContainers = jQuery('div#ajaxContent > div');
	tabContainers.hide().filter(':first').show();

	jQuery('ul#ajaxTab li').click(function () {
		tabContainers.hide();
		tabContainers.filter("#container_" + jQuery (this).attr("id")).show();
		jQuery('ul#ajaxTab li').removeClass('selected');
		jQuery(this).addClass('selected');
		return false;
	}).filter(':first').click();
	
	
	
	jQuery (".footerArea .fCol").each (function (){ jQuery(this).find("li:last").css ('border-bottom-width', '0px'); });
	
	
	
	
	ddsmoothmenu.init({
		mainmenuid: "smoothmenu1", //menu DIV id
		orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
		classname: 'ddsmoothmenu', //class added to menu's outer DIV
		contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
	})
	
	jQuery(".post img").lazyload({
        effect : "fadeIn"
    });
	
	jQuery(".post").lazyload({
        effect : "fadeIn"
    });
	
});
