jQuery.noConflict();     
jQuery(document).ready(function($){
	
	var adminView = $('#adminbar #toolbar').length;
	
	if (!(adminView)) {
		
		var subColFeatureTop = $('#subColFeatureTop').html();

		if ( subColFeatureTop.replace(/\s/g,'') == '') {
			$("#subColFeature").hide();
		}
	}
	
});

// jQuery.noConflict();     
// jQuery(document).ready(function($){
// 	
// 	// var subColFeatureTopContent = $('#subColFeatureTop').html();
// 	// 
// 	// if ( subColFeatureTopContent.replace(/\s/g,'') == '') {
// 	// 	$("#subColFeature").hide();
// 	// } 
// 	
// 	$("#socialToggle").toggle(
// 		function(){
// 			$(this).addClass('closeSocial');
// 			$("#socialLinks").animate({'width':'200px'});
// 		},
// 		function(){
// 			$(this).removeClass('closeSocial');
// 			$("#socialLinks").animate({'width':'0px'});
// 		}
// 	);
// 	
// 	
// 	$("#topWrapper").click(function(){
// 		$("#socialToggle").removeClass('closeSocial');
// 		$("#socialLinks").animate({'width':'0px'});
// 	});
// 
// 	var isSocialReady = false;
// 	var alreadyRun = false;
// 
// 	if (!($('body').hasClass("home"))){ 
// 		$('#socialToggle').load(function(){
// 
// 			if (isSocialReady) {
// 
// 				isSocialReady = false;
// 
// 				} else {
// 
// 				if (!alreadyRun) {
// 
// 					$.ajax({
// 					type: "GET",
// 					url: "/",
// 					dataType: "html",
// 					success: function(html) {
// 						$('#socialLinksMain',html).contents().appendTo('#socialLinksMain');
// 						alreadyRun = true;			
// 					},
// 					error: function() {
// 						$('#socialLinksMain').append('<div class="ajax-error"><h2>Hmmm... there seems to be a problem</h2></div>');
// 						alreadyRun = true;
// 					}
// 					});
// 
// 				}
// 
// 				isSocialReady = true;
// 
// 				}
// 			return false;
// 		});
// 	}
// 	
// 	var adminView = $('#adminbar #toolbar').length;
// 	
// 	if (adminView) {
// 
// 		$("#social").css({'position':'fixed','top':'200px'});
// 	
// 	}
// });
