jQuery(document).ready(function(){

	/* Truncate the snippet titles, if they run over a single line */
	jQuery(".ez-snippetMod-item .main h4 a").each(function(){
		var myTitle = jQuery(this);
		if(myTitle.text().length > 80){
			myTitle.attr("title", '|'+myTitle.text()).truncate(80, {
		    chars: /./,
		    leave: false,
		    trail: [true, '...','']
		  })
		}
	});
});