$(document).ready(function(){
/* gallery post/comment toggle */
	$("#commentTabTog").click(function(){  
		$(this).parent().addClass("current");								
		$("#postTabTog").parent().removeClass("current");								
		$("#postThePost").addClass("hide-sContent");
		$(".theComments").show();
	});  
	$("#postTabTog").click(function(){  
		$(this).parent().addClass("current");
		$("#commentTabTog").parent().removeClass("current");							
		$("#postThePost").removeClass("hide-sContent");
		$(".theComments").hide();
	});  	
/* add browser class  .msie, .mozilla, .opera, .safari or .other  */
	$.each($.browser,function(brow,bool) {        
	  !!bool && $("html").addClass(brow); 
 	});
});
jQuery(function () {
	$(".postcolumn").columnize({balance: false, height: 433});
});
jQuery(document).ready(function(){
  $(":text").labelify();
});
jQuery(function( $ ){
	$('.postLoader-long').mousewheel(function(event, delta){				
		if (delta>0){
			$(this).stop().scrollTo( {top:'0px',left:'+=103'}, 0 );
		} else if (delta<0){
			$(this).stop().scrollTo( {top:'0px',left:'-=103'}, 0 );
			return false; // prevent default
		}
	});
	$('.theComments-long').mousewheel(function(event, delta){				
		if (delta>0){
			$(this).stop().scrollTo( {top:'0px',left:'+=102'}, 0 );
		} else if (delta<0){
			$(this).stop().scrollTo( {top:'0px',left:'-=102'}, 0 );
			return false; // prevent default
		}
	});
});

