// Copyright to Paper. Please ask before editing, redistributing and reuploading $("#menu_pm ul").append("
  • Global PM Inbox
  • Recount Global PMs
  • "); function createCookie(name,value) { var date = new Date(); date.setTime(date.getTime()+(300000)); // Five minutes var expires = "; expires="+date.toGMTString(); document.cookie = name+"="+value+expires+"; path=/"; } function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } if (document.location.href.match("ginbox=")) { top.location.href='javascript:void($("#menu_pm small").html($("#menu_pm small").html() + " \/ ' + document.location.href.split("ginbox=")[1] + '<\/font>"));'; createCookie("gpm",document.location.href.split("ginbox=")[1]); document.body.innerHTML=""; // IE7 bug fix if (parseFloat(navigator.appVersion.split("MSIE")[1]) >= 7) { document.execCommand('Stop'); } } else { if (readCookie("gpm") == null) { createCookie("gpm","-"); document.getElementById("nav").innerHTML+=""; } else if (readCookie("gpm") != "-") { $("#menu_pm small").html($("#menu_pm small").html() + " \/ " + readCookie("gpm") + "<\/font>"); } } function gp_view() { document.getElementById("wrap").innerHTML="
    "; document.write("
    Increase Global PM viewing space:

    "); }