jQuery.noConflict();  
jQuery(document).ready(function() {
jQuery('.widget_twitter li').each(function(index, element) {
   jQuery('.entry-content', this).append('<br/>' + jQuery('.entry-meta', this).html()); 
   jQuery('.entry-meta', this).remove();
});
	//When page loads...
	jQuery(".tab_content").hide(); //Hide all content
	jQuery("ul.tabs li:first").addClass("active").show(); //Activate first tab
	jQuery(".tab_content:first").show(); //Show first tab content

	//On Click Event
	jQuery("ul.tabs li").click(function() {

		jQuery("ul.tabs li").removeClass("active"); //Remove any "active" class
		jQuery(this).addClass("active"); //Add "active" class to selected tab
		jQuery(".tab_content").hide(); //Hide all tab content

		var activeTab = jQuery(this).find("a").attr("class"); //Find the href attribute value to identify the active tab + content
	
		jQuery('#' + activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});
	function setEqualHeight(columns)
{
var tallestcolumn = 0;
columns.each(
function()
{
currentHeight = jQuery(this).height();
if(currentHeight > tallestcolumn)
{
tallestcolumn = currentHeight;
}
}
);
columns.height(tallestcolumn);
} 
setEqualHeight(jQuery(".one_half"));
setEqualHeight(jQuery(".cyan.half"));
jQuery('.popular-posts ul li').append('<span class="clear"></span>');
jQuery('.sub-menu').append('<li class="clear"></li>');
jQuery('#menu-main .drop a').each(function(index, element) {
    

		var title = jQuery(this).attr('title');
    if (title != null){
	
		var newSpan = document.createElement('span');
		jQuery(this).parent().find('ul:first').prepend(newSpan).addClass('prep').find('span').text(title);
				
	}
	
});
jQuery('.prep').wrapInner('<div class="ul_wrap" />');
jQuery('.wpcf7-form').append('<div class="clear"></div>');
});
