User:KyleH/global.js

$(function { var my_messages = $(".usermessage a").length;  if (my_messages > 0) {    if ($(".usermessage").find("a[href*='diff=cur']").length > 0) {      my_messages--;    }    $("#header_mytalk").append('' + my_messages + ' ');    $("#usermessage_splotch").click(function { $(".usermessage").slideToggle("fast"); }); } });