

EventProcessor=function(e,c,d){
	
}

InitProcessor=function(a){
	_fileName=$.url().filename().toString();
	_path=$.url().path().toString().replace($.url().protocol().toString()+":\/\/"+$.url().host().toString(),"");
	_filePath=(_path+_fileName).toLowerCase();
	
	var postsPostAspx=function(){
		$("div.ms-PostFooter>nobr>span").each(function(i,itm){$(itm).find("img:eq(1)").remove();});
		$("div.ms-CommentFooter>nobr>span").each(function(i,itm){$(itm).find("img:eq(1)").remove();});
		$("div.ms-CommentFooter").each(function(i,itm){if($(itm).text().trim().substr(0,2)=="at"){$(itm).text("Anonymous "+$(itm).text())}});
		//$("td.ms-blogedit").html("");
		$("td#td_BlogPosts").css({display:""});
		return;
	}
	var rootDefaultAspx=function(){
		$("#td_AdminLinks").css({display:(($("tr[name='tr_AdminLink']").length>0)?"":"none")});
		$("div.ms-PostFooter>nobr>span").each(function(i,itm){$(itm).find("img:eq(1)").remove();});
		$("div#BlogRSSMain>a").attr({href:"http://feeds2.feedburner.com/Pathlight"});
		$("td#td_BlogPosts").css({display:""});
		return;
	}
	
	switch(_filePath){
		case"/blog/default.aspx":rootDefaultAspx();break;
		case"/blog/lists/posts/post.aspx":postsPostAspx();break
	}
	return;
}

$(document).ready(InitProcessor);
