var mypix=new Array(); var ctitle="Mensa Status"; var nExpand=0; var sublinkId=0; function preloadImages() { for (i=0;i window.innerWidth || saveInnerHeight > window.innerHeight || saveInnerHeight< window.innerHeight ) { window.history.go(0); } } if (parseInt(navigator.appVersion.charAt(0)) >=4) { var bName; bName=navigator.userAgent; isNav6=bName.search("Gecko")!=-1?true:false; bName=navigator.appName; isNav4=(navigator.appName=="Netscape") ? true && !isNav6: false; isIE4=(bName.search("Microsoft") !=-1) ? true:false; } function List(visible, width, height, bgColor) { this.addItem=addItem; // this.addDiv=addDiv; // this.addMyLink=addMyLink; // this.addSubLink=addSubLink; this.addList=addList; this.build=build; this.rebuild=rebuild; this.setFont=_listSetFont; this._writeList=_writeList; this._showList=_showList; this._updateList=_updateList; this._updateParent=_updateParent; this.lists=new Array();// sublists this.items=new Array();// layers this.types=new Array();// type this.strs=new Array();// content this.link=new Array();// link this.lid=new Array();// itemId this.x=0; this.y=0; this.visible=visible; this.id=_id; this.i=18; this.space=true; this.pid=0; this.fontIntro=false; this.fontOutro=false; this.width=width || 350; this.height=height || 22; this.parLayer=false; this.built=false; this.shown=false; this.needsUpdate=false; this.needsRewrite=false; this.parent=null; this.l=0; if (bgColor) this.bgColor=bgColor; else this.bgColor=null; _mLists[_id++]=this; this.updateGif ; } function _listSetFont(i, j) { this.fontIntro=i; this.fontOutro=j; } function setClip(layer, l, r, t, b) { if (isNav4) { layer.clip.left=l;layer.clip.right=r; layer.clip.top=t;layer.clip.bottom=b; } else { layer.style.pixelWidth=r-l; layer.style.pixelHeight=b-t; layer.style.clip="rect("+t+","+r+","+b+","+l+")"; } } function _writeList() { void(0); var layer, str, clip; for (var i=0;i< this.types.length;i++) { layer=this.items[i]; if (isNav4) layer.visibility="hidden"; else layer.style.visibility="hidden"; str=""; if (isNav4) layer.document.open(); str +=""; str +=""; str +=""; if (this.types[i]=="div") { str +=""; } else if (this.types[i]=="mylink") { str +=""; _pid++; } else if (this.types[i]=="list") { str +=""; str +=""; str +=""; _pid++; } else if (this.space) str +=""; else str +=""; str +=""; else str +=""; str +=""; str +=""; str +="

"; str +=""; str +=""; if (this.types[i]=="list") { str +=""; } else if (this.types[i]=="item") { str +=""; } else if (this.types[i]=="sublink") { str +=""; sublinkId++; this.setFont(ftLinkStart, ftLinkEnd); } else if (this.types[i]=="lang") { str +=""; } if (this.fontIntro) { if (this.types[i]=="list") { str +=""; str +=this.fontIntro ; str +="" } else { str +=""; str +=this.fontIntro ; str +="" } str +=""; } str +="
"+this.strs[i]+"
"; if (this.fontOutro) str +=this.fontOutro; if (this.types[i]=="item2") str +="
"; if (isNav4) { layer.document.writeln(str); layer.document.close(); } else layer.innerHTML=str; if (this.types[i]=="list" && this.lists[i].visible) this.lists[i]._writeList(); } this.built=true; this.needsRewrite=false; void(0); } function _showList() { var layer; for (var i=0;i< this.types.length;i++) { layer=this.items[i]; setClip(layer, 0, this.width, 0, this.height); if (isIE4||isNav6) { if (layer.oBgColor) layer.style.backgroundColor=layer.oBgColor; else { layer.style.backgroundColor=this.bgColor; } } else { if (layer.oBgColor) layer.document.bgColor=layer.oBgColor; else layer.document.bgColor=this.bgColor; } if (this.types[i]=="list" && this.lists[i].visible) { this.lists[i]._showList(); } } this.shown=true; this.needsUpdate=false; } function _updateList(pVis, x, y) { var currTop=y, layer; for(var i=0;i'); for(var i=0;i'); } //function clWarning() //{ // //}