Blame | Last modification | View Log | RSS feed
var displaymode="always"var noteVisibility="hidden"function initfunction(){var ie=document.all && !window.operavar dom=document.getElementByIdiebody=(document.compatMode=="CSS1Compat")? document.documentElement : document.bodyobjref=(dom)? document.getElementById("notebox") : document.all.noteboxvar scroll_top=(ie)? iebody.scrollTop : window.pageYOffsetvar docwidth=(ie)? iebody.clientWidth : window.innerWidthdocheight=(ie)? iebody.clientHeight: window.innerHeightvar objwidth=objref.offsetWidthobjheight=objref.offsetHeightif(docwidth > 1000) {docwidth=1000}if(docheight > 650) {docheight=650}objref.style.left=docwidth/2-objwidth/2+"px"objref.style.top=scroll_top+docheight/2-objheight/2+"px"objref.style.visibility=noteVisibility}function showHideNote() {if(noteVisibility == "visible") {noteVisibility="hidden"}else {noteVisibility="visible"}objref.style.visibility=noteVisibility}function saveNote() {document.forms["noteManagerForm"].submit()}function saveBlankNote() {document.getElementById("noteboxcontents").value = ""document.forms["noteManagerForm"].submit()}//Mainlineif (parseInt(displaymode)!=NaN){if (window.addEventListener)window.addEventListener("load", initfunction, false)else if (window.attachEvent)window.attachEvent("onload", initfunction)else if (document.getElementById)window.onload=initfunction}