Cufon.replace('.BauhausMdBT',{fontFamily:'Bauhaus Md BT'});
Cufon.replace('.heading2',{fontFamily:'Bauhaus Md BT', fontSize:'28px'});
Cufon.replace('.sPost p.more a, a.more-link',{fontFamily:'Bauhaus Md BT', fontSize:'14px', hover:false});


jQuery.noConflict();
jQuery (function (){
	
	/*if (jQuery.browser.msie && jQuery.browser.version.substr(0,3)<="6.9"){
		jQuery("div").pngFix(); 
	}*/
	var cHeight = jQuery ("#content").height();
	//jQuery ("#leftbar").height(cHeight);
	//jQuery ("#rightbar").height(cHeight);
	
	jQuery (".footer_widget ul li").hover(function (){ jQuery(this).addClass("mouse_overs"); },function (){ jQuery(this).removeClass("mouse_overs"); })
	jQuery ("ul.dropdown li:last").css ('background', '#181510');
	jQuery (".featuredCats ul li:first").css ('border-left-width', '0px');
	jQuery (".featuredCats ul li:last").css ('border-right-width', '0px');
	
	
	jQuery("ul.dropdown li").hover(function(){
		jQuery(this).addClass("hover");
		jQuery('> .dir',this).addClass("open");
		jQuery('ul:first',this).css('visibility', 'visible');
	},function(){
		jQuery(this).removeClass("hover");
		jQuery('.open',this).removeClass("open");
		jQuery('ul:first',this).css('visibility', 'hidden');
	});
	
	jQuery("ul.listing li").hover(function(){
		jQuery(this).addClass("current-cat");
	},function(){
		jQuery(this).removeClass("current-cat");
	});
	
	jQuery(".breadcrumb, .featuredBlock").corner("top bl 5px");
	jQuery(".round_panes .round_Insides .round_Insides2").corner("top 5px").parent().css('padding', '1px').corner("top 6px")
	jQuery(".round_pane .round_Inside .round_Inside2").corner("round 5px").parent().css('padding', '1px').corner("round 6px")
	jQuery(".tabContent").corner("bottom tr 5px");
	
	var tabContainers = jQuery('div#tabSystem div.tabContent > div');
	tabContainers.hide().filter(':first').show();
	
	jQuery('div#tabSystem ul.tabs li').click(function () {
		tabContainers.hide();
		tabContainers.filter("#tab_" + jQuery (this).attr("id")).show();
		jQuery('div#tabSystem ul.tabs li').removeClass('selected');
		jQuery(this).addClass('selected');
		return false;
	}).filter(':first').click();

	
	
	/*jQuery("#page_preloader").hide();
	jQuery("body").css ('overflow', 'visible');*/
	
})
