// Custom Mini-profile function PBProfile(a) { var b = a.getElementsByTagName("b")[0], c = a.getElementsByTagName("center")[a.getElementsByTagName("center").length - 1].innerHTML; a = a.innerHTML; this.name = b.innerHTML; this.rank = b.nextSibling.nextSibling.data; a.match(/()/i); this.rankIcon = RegExp.$1.split(/
/i)[0]; if(!a.split(this.rankIcon)[1].split(/
member is/i)[0].match(/((online<\/b>|offline)

)|^$/i)) this.custom = a.split(this.rankIcon)[1].split(/
member is/i)[0].replace(/
/i, ""); a.match(/member is (off|on)line/i); this.status = RegExp.$1.replace(//i, "") + "line"; if(c.match(/alt="?\[avatar\]"?/)) this.avatar = c.split(/
/i)[0]; if(c.match(/([^>]+)
/i)) if(RegExp.$1 != " ") this.personal = RegExp.$1; if(c.match(/
(( ?/g, ""); a.match(/joined: (... \d{4})/i); this.joined = RegExp.$1; if(a.match(/gender: (f?e?male)/i)) this.gender = RegExp.$1; a.match(/posts: (,?\d+)+/i); this.posts = RegExp.$1; if(a.match(/location: ([^<]+)/i)) this.location = RegExp.$1; if(a.match(/karma: (.+)/i)) this.karma = RegExp.$1; } if(/=(display|(pm|calendar)?view)/.test(location.href)) for(var i = document.getElementsByTagName("td"), x = 0; x < i.length; x ++) if(i[x].width == "20%" && i[x].innerHTML.match(/posts/i)) { var $e = new PBProfile(i[x]), j = ""; if($e.contact) { j += "
" + $e.name + "
" + $e.rank; if($e.rankIcon) j += "
" + $e.rankIcon; if($e.custom) j += "
" + $e.custom; if($e.avatar) j += "
" + $e.avatar; if($e.personal) j += "
" + $e.personal; j += "
Status: " + $e.status + "
Joined: " + $e.joined; if($e.gender) j += "
Gender: " + $e.gender; j += "
Posts: " + $e.posts + "
Karma: " + $e.karma.split("<")[0]; if($e.location) j += "
Location: " + $e.location; if($e.karma.split("<")[1]) j += "
" + $e.karma.split(/br>/i)[1] + "
" + $e.contact; if($e.msng) j += "
" + $e.msng; } i[x].innerHTML = j + "
"; }