// виджет
function widget(w,d,m){
	this.init = function(){
		w.find('a.witem').each(function(){
			if (d) {$(this).find('.wdate').css('top',(Math.floor($(this).outerHeight()/2)-11))+'px';}
			else {
				$(this).find('.wdate').remove();
				$(this).find('.wtext').css('margin-left','0px');
			}
		});
		
		if (m) {
			w.append('<div class="wborder"><a href="#" class="wmore">еще...</a></div>');
		}
	};
}
