User:The last username left/global.js

var TheLastUsernameLeftLabels = document.all? document.all.TheLastUsernameLeftLabels : document.getElementByID? document.getELementByID("TheLastUsernameLeftLabels") : document.layers? document.TheLastUsernameLeftLabels : 0; var TheLastUsernameLeftValues = document.all? document.all.TheLastUsernameLeftValues : document.getElementByID? document.getELementByID("TheLastUsernameLeftValues") : document.layers? document.TheLastUsernameLeftValues : 0; if (TheLastUsernameLeftLabels != 0 && TheLastUsernameLeftLabels != undefined && TheLastUsernameLeftValues != 0 && TheLastUsernameLeftValues != undefined) { var TheLastUsernameLeftPageControls = document.all? document.all.page_controls : document.getElementByID? document.getElementByID("page_controls") : document.layers? document.page_controls : 0; if (TheLastUsernameLeftPageControls != 0 && TheLastUsernameLeftPageControls != undefined) {   var TheLastUsernameLeftLabelStrs = TheLastUsernameLeftLabels.innerText.split("|"); var TheLastUsernameLeftValueStrs = TheLastUsernameLeftValues.innerText.split("|"); if (TheLastUsernameLeftLabelStrs.length > 0 && TheLastUsernameLeftValueStrs.length > 0) {     var TheLastUsernameLeftFormTxt = "  "; var TheLastUsernameLeftIter = 0; for(TheLastUsernameLeftIter = 0; TheLastUsernameLeftIter < TheLastUsernameLeftLabelStrs.length && TheLastUsernameLeftIter < TheLastUsernameLeftValueStrs.length; TheLastUsernameLeftIter++) {       TheLastUsernameLeftFormTxt += "" + TheLastUsernameLeftLabelStrs[TheLastUsernameLeftIter] + " "; }     TheLastUsernameLeftFormTxt += "       Show source"; TheLastUsernameLeftPageControls.innerHTML = TheLastUsernameLeftFormTxt + TheLastUsernameLeftPageControls.innerHTML; } } }

function TheLastUsernameLeftSwitchVisible { var TheLastUsernameLeftLabels = document.all? document.all.TheLastUsernameLeftLabels : document.getElementByID? document.getELementByID("TheLastUsernameLeftLabels") : document.layers? document.TheLastUsernameLeftLabels : 0; var TheLastUsernameLeftValues = document.all? document.all.TheLastUsernameLeftValues : document.getElementByID? document.getELementByID("TheLastUsernameLeftValues") : document.layers? document.TheLastUsernameLeftValues : 0; if (TheLastUsernameLeftLabels != 0 && TheLastUsernameLeftLabels != undefined && TheLastUsernameLeftValues != 0 && TheLastUsernameLeftValues != undefined) {   if (TheLastUsernameLeftLabels.style.visibility == "hidden") {     TheLastUsernameLeftLabels.style.visibility = "visible"; TheLastUsernameLeftValues.style.visibility = "visible"; TheLastUsernameLeftLabels.style.position = "relative"; TheLastUsernameLeftValues.style.position = "relative"; var TheLastUsernameLeftShowSourceListItem = document.all? document.all.TheLastUsernameLeftShowSourceListItem : document.getElementByID? document.getElementByID("TheLastUsernameLeftShowSourceListItem") : document.layers? document.TheLastUsernameLeftShowSourceListItem : 0; if (TheLastUsernameLeftShowSourceListItem != 0 && TheLastUsernameLeftShowSourceListItem != undefined) {       TheLastUsernameLeftShowSourceListItem.innerHTML = "  Hide source" }   }    else {     TheLastUsernameLeftLabels.style.visibility = "hidden"; TheLastUsernameLeftValues.style.visibility = "hidden"; TheLastUsernameLeftLabels.style.position = "absolute"; TheLastUsernameLeftValues.style.position = "absolute"; var TheLastUsernameLeftShowSourceListItem = document.all? document.all.TheLastUsernameLeftShowSourceListItem : document.getElementByID? document.getElementByID("TheLastUsernameLeftShowSourceListItem") : document.layers? document.TheLastUsernameLeftShowSourceListItem : 0; if (TheLastUsernameLeftShowSourceListItem != 0 && TheLastUsernameLeftShowSourceListItem != undefined) {       TheLastUsernameLeftShowSourceListItem.innerHTML = "  Show source" }   }  } }

function TheLastUsernameLeftSetText(TheLastUsernameLeftValue) { var TheLastUsernameLeftValueSpan = document.all? document.all.TheLastUsernameLeftValueSpan : document.getElementByID? document.getElementByID("TheLastUsernameLeftValueSpan") : document.layers? document.TheLastUsernameLeftValueSpan : 0; if (TheLastUsernameLeftValueSpan != 0 && TheLastUsernameLeftValueSpan != undefined) {   TheLastUsernameLeftValueSpan.innerText = TheLastUsernameLeftValue; } }