ID Tips Life History BBS Map CBC Map Song "; if (x=="cbc") a=""; if (x=="song") a="/id/framlst/Song/h"+aou+"so.mp3"; if (x=="glos") a="/id/framlst/Glossary/glossary.html"; if (x.substring(0,1)=="p") a=""; y=a if (x=="idtips" | x=="life") { $.get(a,function(data) { y=data.replace(/.+BODY./gi,"").replace(/.+HTML.+/gi,"").replace("
","") document.getElementById("main").innerHTML=y },'text') } if (x=="glos") { $.get(a,function(data) { i=data.indexOf("H1"); y=data.substring(i-2) j=y.indexOf("
"); y=y.substring(0,j-2) document.getElementById("main").innerHTML=y },'text') } if (x=="song") new Audio(a).play() if (x=="bbs" | x =="cbc" | x.substring(0,1)=="p") document.getElementById("main").innerHTML=a } show("idtips") window.onload = function() { var sn=document.getElementById("sidenav").getBoundingClientRect() var h=sn.height var z=document.getElementsByClassName("footer")[0].style z.top=0 }