SHOWWARNING=true;SHOWINFO=true;DEBUGLEVEL=0;document.displayWarning=function(A){if(!SHOWWARNING){return }var B;if(B=document.getElementById("globalWarningBox")){B.innerHTML+="<br />"+A}else{B=document.createElement("span");B.className="alert";B.id="globalWarningBox";B.style.margin="0";B.style.zIndex="200";B.innerHTML=A;document.body.insertBefore(B,document.body.firstChild)}};document.displayInfo=function(A){if(!SHOWINFO){return }var B;if(B=document.getElementById("globalInfoBox")){B.innerHTML+="<br />"+A}else{B=document.createElement("span");B.className="info";B.id="globalInfoBox";B.style.margin="0";B.style.zIndex="200";B.style.textAlign="left";B.innerHTML=A;document.body.insertBefore(B,document.body.firstChild)}};document.displayNote=function(B){if(!SHOWWARNING){return }var A;if(A=document.getElementById("globalNoteBox")){A.innerHTML+="<br />"+B}else{A=document.createElement("span");A.className="note";A.id="globalNoteBox";A.style.margin="0";A.style.zIndex="200";A.innerHTML=B;document.body.insertBefore(A,document.body.firstChild)}};document.displayDownload=function(B){if(!SHOWWARNING){return }var A;if(A=document.getElementById("globalDownloadBox")){A.innerHTML+="<br />"+B}else{A=document.createElement("span");A.className="download";A.id="globalDownloadBox";A.style.margin="0";A.style.zIndex="200";A.innerHTML=B;document.body.insertBefore(A,document.body.firstChild)}};document.debug=function(A,B){if(arguments.length<=1){B=1}if(DEBUGLEVEL<B){return }document.displayInfo(A);document.getElementById("globalInfoBox").style.fontSize="80%"};