User:Wikiswiki/monobook.js

var r2d2frame = null; function r2d2 { var d = document.getElementById("content"); var b = document.getElementById("bodyContent"); if (d && b) { var div = document.createElement("div"); r2d2frame = div; div.style.backgroundColor = "#FAFAFA"; div.style.border = "thin solid #AAAAAA"; div.style.padding = "3px"; if (typeof DiskussionFrameReturn != "undefined") div.innerHTML += DiskussionFrameReturn; div.innerHTML += 'Mehr anzeigen'; d.insertBefore(div,b); } } function r2d2mehr { if (typeof DiskussionFrameReturn != "undefined") r2d2frame.innerHTML = DiskussionFrameReturn + HauptautorenResult; else r2d2frame.innerHTML = HauptautorenResult; } document.write(' '); hookEvent("load", r2d2);