var defaultMenuWidth="180px";var badArray=new Array;badArray.each=true;badArray.eachSlice=true;badArray.all=true;badArray.any=true;badArray.collect=true;badArray.detect=true;badArray.findAll=true;badArray.grep=true;badArray.include=true;badArray.inGroupsOf=true;badArray.inject=true;badArray.invoke=true;badArray.max=true;badArray.min=true;badArray.partition=true;badArray.pluck=true;badArray.reject=true;badArray.sortBy=true;badArray.toArray=true;badArray.zip=true;badArray.inspect=true;badArray.find=true;badArray.select=true;badArray.member=true;badArray.entries=true;badArray._reverse=true;badArray._each=true;badArray.clear=true;badArray.first=true;badArray.last=true;badArray.compact=true;badArray.flatten=true;badArray.without=true;badArray.reduce=true;badArray.uniq=true;badArray.clone=true;badArray.call=true;function menuHover(B){var C="red";var A="black";if(menuHoverColor){C=menuHoverColor}if(menuBgColor){A=menuBgColor}if(B.hovering){B.style.backgroundColor=A;B.hovering=false}else{B.style.backgroundColor=C;B.hovering=true}}var i=99;function testFunc(){if(i>=0){if(i<=9){i="0"+i}document.getElementById("column-content").style.opacity="."+i;document.getElementById("content").style.opacity="."+i;document.getElementById("p-cactions").style.opacity="."+i;document.getElementById("testContent").style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+i+")";document.getElementById("column-content").style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+i+")";document.getElementById("p-cactions").style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+i+")";document.getElementById("testContent").innerHTML+=i+"<br>";i=i-5;setTimeout("testFunc()",1)}}var ie5=document.all&&!window.opera;var ns6=document.getElementById;if(ie5||ns6){document.write('<div id="popitmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')}function iecompattest(){return(document.compatMode&&document.compatMode.indexOf("CSS")!=-1)?document.documentElement:document.body}function showmenu(D,E,A){if(!document.all&&!document.getElementById){return false}clearhidemenu();menuobj=ie5?document.all.popitmenu:document.getElementById("popitmenu");menuobj.innerHTML=E;menuobj.style.width=(typeof A!="undefined")?A:defaultMenuWidth;menuobj.contentwidth=menuobj.offsetWidth;menuobj.contentheight=menuobj.offsetHeight;eventX=ie5?event.clientX:D.clientX;eventX=148;eventY=ie5?event.clientY:D.clientY;var C=ie5?iecompattest().clientWidth-eventX:window.innerWidth-eventX;var B=ie5?iecompattest().clientHeight-eventY:window.innerHeight-eventY;if(C<menuobj.contentwidth){menuobj.style.left=ie5?iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px":window.pageXOffset+eventX-menuobj.contentwidth+"px"}else{menuobj.style.left=ie5?iecompattest().scrollLeft+eventX+"px":window.pageXOffset+eventX+"px"}if(B<menuobj.contentheight){menuobj.style.top=ie5?iecompattest().scrollTop+eventY-menuobj.contentheight+"px":window.pageYOffset+eventY-menuobj.contentheight+"px"}else{menuobj.style.top=ie5?iecompattest().scrollTop+event.clientY+"px":window.pageYOffset+eventY+"px"}menuobj.style.visibility="visible";return false}function contains_ns6(B,A){while(A.parentNode){if((A=A.parentNode)==B){return true}}return false}function hidemenu(){if(window.menuobj){menuobj.style.visibility="hidden"}}function dynamichide(A){if(ie5&&!menuobj.contains(A.toElement)){hidemenu()}else{if(ns6&&A.currentTarget!=A.relatedTarget&&!contains_ns6(A.currentTarget,A.relatedTarget)){hidemenu()}}}function delayhidemenu(){delayhide=setTimeout("hidemenu()",500)}function clearhidemenu(){if(window.delayhide){clearTimeout(delayhide)}}if(ie5||ns6){document.onclick=hidemenu}var topLogoColor="none";var flashing=0;var dgFlasherColors=new Array("#FF0000","#ef000f","#cf002e","#9f005d","#5f009c","#2f00cb","#0f00ea","#0000FF","#0f00ea","#2f00cb","#5f009c","#9f005d","#cf002e","#ef000f");var dgFlasherInt=0;function dgFlasher(B){if(topLogoColor=="none"){topLogoColor=document.getElementById("topLogo").style.color}if(B==1){flashing=1;dgFlasher()}else{if(B==2){flashing=0;document.getElementById("topLogo").style.color=topLogoColor}else{if(flashing){var A;dgFlasherInt++;if(dgFlasherInt>dgFlasherColors.length){dgFlasherInt=0}A=dgFlasherColors[dgFlasherInt];document.getElementById("topLogo").style.color=A;setTimeout("dgFlasher()",50)}}}}function fadeIn(B,A){if(A){document.getElementById("altcontent").innerHTML='<iframe src="'+B+'" id="altcontentiframe" width="100%" height="100%" name="altcontentiframe" frameborder=0>'}else{ajaxpage(B,"altcontent")}dgFadeIn(1)}var dgFade_o=99;function dgFadeIn(A){if(A==1){}else{if(A==2){}else{if(A==3){}else{if(A==4){}}}}}var DGoverlayEffect=null;var sip=null;var slideInEffect=null;var slideOutEffect=null;function DGInit(B){var A=document.getElementsByTagName("body").item(0);var C=document.createElement("div");C.setAttribute("id","DGoverlay");C.onclick=function(){slideOut();return false};A.appendChild(C);sip=document.getElementById("slideInPane");C.style.display="none";if(!B){DGoverlayEffect=new fx.Opacity(C,{duration:300,onComplete:afterOverlay});DGoverlayEffect.hide();slideInEffect=new fx.Opacity(sip,{duration:300,onComplete:afterSlideInEffect});slideOutEffect=new fx.Opacity(sip,{duration:300,onComplete:afterSlideOutEffect})}}function slideIn(A,F,B,K,I){if(effInProgress){return}effInProgress=true;var J=0;B=700;K=500;if(document.documentElement.scrollTop){J=document.documentElement.scrollTop}else{if(document.body.scrollTop){J=document.body.scrollTop}}var L=0;var G=0;if(self.innerWidth){L=self.innerWidth;G=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientWidth){L=document.documentElement.clientWidth;G=document.documentElement.clientHeight}else{if(document.body){L=document.body.clientWidth;G=document.body.clientHeight}}}B=Math.round(L*0.8);K=Math.round(G*0.9);var D=(L-B)/2;var C=J+((G-K)/2);var E=B-20;var H=K-60;document.getElementById("slideInPane").style.top=C+"px";document.getElementById("slideInPane").style.left=D+"px";document.getElementById("slideInPane").style.width=B+"px";document.getElementById("slideInPane").style.height=K+"px";if(F==2){document.getElementById("altcontent").innerHTML=A;doSlideIn(K)}else{if(F){document.getElementById("altcontent").innerHTML='<iframe src="'+A+'" id="altcontentiframe" width="'+E+'" height="'+H+'" name="altcontentiframe" frameborder=0>';doSlideIn(K,I)}else{ajaxpage(A,"altcontent",true,null,doSlideIn)}}}var effInProgress=false;var lastEffect=0;var slidePaneHeight=0;var effForum=false;function doSlideIn(C,A){slidePaneHeight=C;var B=DGgetPageSize();if(A){effForum=true}else{effForum=false}if(!document.getElementById("DGoverlay")){DGInit(A)}document.getElementById("DGoverlay").style.display="";document.getElementById("DGoverlay").style.height=B[1]+"px";document.getElementById("slideInPane").style.display="";if(!A){DGoverlayEffect.custom(0,0.8);slideInEffect.custom(0,1)}else{document.getElementById("slideInPane").style.overflow="auto";effInProgress=false}}function afterSlideInEffect(){document.getElementById("slideInPane").style.overflow="auto";effInProgress=false}function slideOut(){if(effInProgress){return}effInProgress=true;if(document.getElementById("altcontentiframe")){document.getElementById("altcontentiframe").src="about:blank"}if(effForum){document.getElementById("slideInPane").style.display="none";document.getElementById("DGoverlay").style.display="none";slidingOut=false;effInProgress=false}else{slideOutEffect.custom(0.8,0)}}var slidingOut=false;function afterSlideOutEffect(){slidingOut=true;document.getElementById("slideInPane").style.display="none";DGoverlayEffect.custom(0.8,0)}function afterOverlay(){if(slidingOut){slidingOut=false;effInProgress=false}}function slideInOld(B,A,C,D){if(A){document.getElementById("altcontent").innerHTML='<iframe src="'+B+'" id="altcontentiframe" width="100%" height="100%" name="altcontentiframe" frameborder=0>';scroll(0,0);if(D>=1){document.getElementById("altcontentiframe").style.height=D+"px"}if(C>=1){document.getElementById("altcontentiframe").style.width=C+"px"}}else{ajaxpage(B,"altcontent");scroll(0,0)}dgSwap(1)}var dgSwap_i;var dgSwap_i_content;var dgSwap_i_altcontent;var dgSwap_i_tabbar;var dgSwap_mode;var dgSwap_jump=1;function dgSwap(E){var B=document.getElementById("content");var C=document.getElementById("altcontent-container");var D=document.getElementById("p-cactions");var A=document.getElementById("topLogo");dgSwap_jump=dgSwap_jump+10;if(E==1){document.getElementById("p-subnav").style.display="none";dgSwap_i_content=156;dgSwap_i_altcontent=screen.width;dgSwap_mode="main_out";D.style.display="none";dgSwap_jump=1;dgSwap()}else{if(E==2){dgSwap_mode="alt_in";C.style.display="block";C.style.marginLeft=screen.width;dgSwap_i_altcontent=screen.width;dgSwap_jump=1;dgSwap()}else{if(E==3){dgSwap_mode="alt_out";dgSwap_i_altcontent=dgSwap_i_altcontent+dgSwap_jump;dgSwap_jump=1;dgSwap()}else{if(E==4){dgSwap_mode="main_in";B.style.display="block";B.style.marginLeft=screen.width;dgSwap_i_content=screen.width;dgSwap_jump=1;dgSwap()}else{if(dgSwap_mode=="main_out"){if(dgSwap_i_content<=screen.width){B.style.marginLeft=dgSwap_i_content+"px";dgSwap_i_content=dgSwap_i_content+dgSwap_jump;setTimeout("dgSwap(0)",1)}else{B.style.display="none";dgSwap(2)}}else{if(dgSwap_mode=="alt_in"){if(dgSwap_i_altcontent>146){C.style.marginLeft=dgSwap_i_altcontent+"px";dgSwap_i_altcontent=dgSwap_i_altcontent-dgSwap_jump;setTimeout("dgSwap(0)",1)}else{C.style.marginLeft="156px"}}else{if(dgSwap_mode=="alt_out"){if(dgSwap_i_altcontent<=screen.width){C.style.marginLeft=dgSwap_i_altcontent+"px";dgSwap_i_altcontent=dgSwap_i_altcontent+dgSwap_jump;setTimeout("dgSwap(0)",1)}else{C.style.display="none";dgSwap(4)}}else{if(dgSwap_mode=="main_in"){if(dgSwap_i_content>146){B.style.marginLeft=dgSwap_i_content+"px";dgSwap_i_content=dgSwap_i_content-dgSwap_jump;setTimeout("dgSwap(0)",1)}else{B.style.marginLeft="156px";document.getElementById("p-subnav").style.display="block";D.style.display="block"}}}}}}}}}}function filesEditDesc(E){var A=document.getElementById("file"+E);var B=document.getElementById("fileedit"+E);var D=A.innerHTML;var C=B.innerHTML;if(C=="Edit"||C=="<a>Edit</a>"){A.innerHTML='<textarea name="fileeditcontent'+E+'" id="fileeditcontent'+E+'" rows=3 cols=50>'+D+"</textarea>";B.innerHTML="Ok"}else{A.innerHTML=document.getElementById("fileeditcontent"+E).value;B.innerHTML="Edit"}}function DGgetPageSize(){var C,B;if(window.innerHeight&&window.scrollMaxY){C=document.body.scrollWidth;B=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){C=document.body.scrollWidth;B=document.body.scrollHeight}else{C=document.body.offsetWidth;B=document.body.offsetHeight}}var A,D;if(self.innerHeight){A=self.innerWidth;D=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){A=document.documentElement.clientWidth;D=document.documentElement.clientHeight}else{if(document.body){A=document.body.clientWidth;D=document.body.clientHeight}}}if(B<D){pageHeight=D}else{pageHeight=B}if(C<A){pageWidth=A}else{pageWidth=C}arrayPageSize=new Array(pageWidth,pageHeight,A,D);return arrayPageSize}var currentSelectedTab;function ajaxTab(A){if(document.getElementById(A+"tab")){ajax("http://www.DeadGod.net/index.php?mode=ajax&do="+A,A)}else{document.location="http://www.DeadGod.net/index.php?do="+A}}var bustcachevar=1;var loadedobjects="";var rootdomain="http://"+window.location.hostname;var jsonData="null";var gotoTop=true;var ajaxInProgress=false;function ajaxpage(B,D,E,H,C,F){if(ajaxInProgress){return}ajaxInProgress=true;B=B+"&ajaxpage=1";var A=false;if(E){gotoTop=false}else{gotoTop=true}if(H){if(document.getElementById("editLink")){document.getElementById("editLink").href=B+"&mode=edit"}}if(window.XMLHttpRequest){A=new XMLHttpRequest()}else{if(window.ActiveXObject){try{A=new ActiveXObject("Msxml2.XMLHTTP")}catch(G){try{A=new ActiveXObject("Microsoft.XMLHTTP")}catch(G){}}}else{ajaxInProgress=false;return false}}A.onreadystatechange=function(){loadpage(A,D,C,F)};if(bustcachevar){var I=(B.indexOf("?")!=-1)?"&"+new Date().getTime():"?"+new Date().getTime()}A.open("GET",B+I,true);A.send(" ")}var jsonTooltips;function loadpage(D,C,A,B){if(D.readyState==4&&(D.status==200||window.location.href.indexOf("http")==-1||D.status==0)){ajaxInProgress=false;document.getElementById(C).innerHTML=D.responseText;if(gotoTop){scroll(0,0)}if(A){A(D.responseText)}if(B){document.location=B}}}function loadobjs(){if(!document.getElementById){return}for(i=0;i<arguments.length;i++){var A=arguments[i];var B="";if(loadedobjects.indexOf(A)==-1){if(A.indexOf(".js")!=-1){B=document.createElement("script");B.setAttribute("type","text/javascript");B.setAttribute("src",A)}else{if(A.indexOf(".css")!=-1){B=document.createElement("link");B.setAttribute("rel","stylesheet");B.setAttribute("type","text/css");B.setAttribute("href",A)}}}if(B!=""){document.getElementsByTagName("head").item(0).appendChild(B);loadedobjects+=A+" "}}}var ua=navigator.userAgent;var ps=navigator.productSub;var dom=(document.getElementById)?1:0;var ie4=(document.all&&!dom)?1:0;var ie5=(document.all&&dom)?1:0;var nn4=(navigator.appName.toLowerCase()=="netscape"&&parseInt(navigator.appVersion)==4);var nn6=(dom&&!ie5)?1:0;var sNav=(nn4||nn6||ie4||ie5)?1:0;var cssFilters=((ua.indexOf("MSIE 5.5")>=0||ua.indexOf("MSIE 6")>=0)&&ua.indexOf("Opera")<0)?1:0;var Style=[],Text=[],Count=0,sbw=0,move=0,hs="",mx,my,scl,sct,ww,wh,obj,sl,st,ih,iw,vl,hl,sv,evlh,evlw,tbody;var HideTip="eval(obj+sv+hl+';'+obj+sl+'=0;'+obj+st+'=-800')";var doc_root=((ie5&&ua.indexOf("Opera")<0||ie4)&&document.compatMode=="CSS1Compat")?"document.documentElement":"document.body";var PX=(nn6)?"px":"";if(sNav){window.onresize=ReloadTip;document.onmousemove=MoveTip;if(nn4){document.captureEvents(Event.MOUSEMOVE)}}if(nn4||nn6){mx="e.pageX";my="e.pageY";scl="window.pageXOffset";sct="window.pageYOffset";if(nn4){obj="document.TipLayer.";sl="left";st="top";ih="clip.height";iw="clip.width";vl="'show'";hl="'hide'";sv="visibility="}else{obj="document.getElementById('TipLayer')."}}if(ie4||ie5){obj="TipLayer.";mx="event.x";my="event.y";scl="eval(doc_root).scrollLeft";sct="eval(doc_root).scrollTop";if(ie5){mx=mx+"+"+scl;my=my+"+"+sct}}if(ie4||dom){sl="style.left";st="style.top";ih="offsetHeight";iw="offsetWidth";vl="'visible'";hl="'hidden'";sv="style.visibility="}if(ie4||ie5||ps>=20020823){ww="eval(doc_root).clientWidth";wh="eval(doc_root).clientHeight"}else{ww="window.innerWidth";wh="window.innerHeight";evlh=eval(wh);evlw=eval(ww);sbw=15}function applyCssFilter(){if(cssFilters&&FiltersEnabled){var A=" progid:DXImageTransform.Microsoft.";TipLayer.style.filter="revealTrans()"+A+"Fade(Overlap=1.00 enabled=0)"+A+"Inset(enabled=0)"+A+"Iris(irisstyle=PLUS,motion=in enabled=0)"+A+"Iris(irisstyle=PLUS,motion=out enabled=0)"+A+"Iris(irisstyle=DIAMOND,motion=in enabled=0)"+A+"Iris(irisstyle=DIAMOND,motion=out enabled=0)"+A+"Iris(irisstyle=CROSS,motion=in enabled=0)"+A+"Iris(irisstyle=CROSS,motion=out enabled=0)"+A+"Iris(irisstyle=STAR,motion=in enabled=0)"+A+"Iris(irisstyle=STAR,motion=out enabled=0)"+A+"RadialWipe(wipestyle=CLOCK enabled=0)"+A+"RadialWipe(wipestyle=WEDGE enabled=0)"+A+"RadialWipe(wipestyle=RADIAL enabled=0)"+A+"Pixelate(MaxSquare=35,enabled=0)"+A+"Slide(slidestyle=HIDE,Bands=25 enabled=0)"+A+"Slide(slidestyle=PUSH,Bands=25 enabled=0)"+A+"Slide(slidestyle=SWAP,Bands=25 enabled=0)"+A+"Spiral(GridSizeX=16,GridSizeY=16 enabled=0)"+A+"Stretch(stretchstyle=HIDE enabled=0)"+A+"Stretch(stretchstyle=PUSH enabled=0)"+A+"Stretch(stretchstyle=SPIN enabled=0)"+A+"Wheel(spokes=16 enabled=0)"+A+"GradientWipe(GradientSize=1.00,wipestyle=0,motion=forward enabled=0)"+A+"GradientWipe(GradientSize=1.00,wipestyle=0,motion=reverse enabled=0)"+A+"GradientWipe(GradientSize=1.00,wipestyle=1,motion=forward enabled=0)"+A+"GradientWipe(GradientSize=1.00,wipestyle=1,motion=reverse enabled=0)"+A+"Zigzag(GridSizeX=8,GridSizeY=8 enabled=0)"+A+"Alpha(enabled=0)"+A+"Dropshadow(OffX=3,OffY=3,Positive=true,enabled=0)"+A+"Shadow(strength=3,direction=135,enabled=0)"}}function stm(t,s){if(sNav){if(t.length<2||s.length<25){var ErrorNotice="DHTML TIP MESSAGE VERSION 1.2 ERROR NOTICE.\n";if(t.length<2&&s.length<25){alert(ErrorNotice+"It looks like you removed an entry or more from the Style Array and Text Array of this tip.\nTheir should be 25 entries in every Style Array even though empty and 2 in every Text Array. You defined only "+s.length+" entries in the Style Array and "+t.length+" entry in the Text Array. This tip won't be viewed to avoid errors")}else{if(t.length<2){alert(ErrorNotice+"It looks like you removed an entry or more from the Text Array of this tip.\nTheir should be 2 entries in every Text Array. You defined only "+t.length+" entry. This tip won't be viewed to avoid errors.")}else{if(s.length<25){alert(ErrorNotice+"It looks like you removed an entry or more from the Style Array of this tip.\nTheir should be 25 entries in every Style Array even though empty. You defined only "+s.length+" entries. This tip won't be viewed to avoid errors.")}}}}else{var ab="";var ap="";var titCol=(s[0])?"COLOR='"+s[0]+"'":"";var txtCol=(s[1])?"COLOR='"+s[1]+"'":"";var titBgCol=(s[2])?"BGCOLOR='"+s[2]+"'":"";var txtBgCol=(s[3])?"BGCOLOR='"+s[3]+"'":"";var titBgImg=(s[4])?"BACKGROUND='"+s[4]+"'":"";var txtBgImg=(s[5])?"BACKGROUND='"+s[5]+"'":"";var titTxtAli=(s[6]&&s[6].toLowerCase()!="left")?"ALIGN='"+s[6]+"'":"";var txtTxtAli=(s[7]&&s[7].toLowerCase()!="left")?"ALIGN='"+s[7]+"'":"";var add_height=(s[15])?"HEIGHT='"+s[15]+"'":"";if(!s[8]){s[8]="Verdana,Arial,Helvetica"}if(!s[9]){s[9]="Verdana,Arial,Helvetica"}if(!s[12]){s[12]=1}if(!s[13]){s[13]=1}if(!s[14]){s[14]=200}if(!s[16]){s[16]=0}if(!s[17]){s[17]=0}if(!s[18]){s[18]=10}if(!s[19]){s[19]=10}hs=s[11].toLowerCase();if(ps==20001108){if(s[2]){ab="STYLE='border:"+s[16]+"px solid "+s[2]+"'"}ap="STYLE='padding:"+s[17]+"px "+s[17]+"px "+s[17]+"px "+s[17]+"px'"}var closeLink=(hs=="sticky")?"<TD ALIGN='right'><FONT SIZE='"+s[12]+"' FACE='"+s[8]+"'><A HREF='javascript:void(0)' ONCLICK='stickyhide()' STYLE='text-decoration:none;color:"+s[0]+"'><B>Close</B></A></FONT></TD>":"";var title=(t[0]||hs=="sticky")?"<TABLE WIDTH='100%' BORDER='0' CELLPADDING='0' CELLSPACING='0'><TR><TD "+titTxtAli+"><FONT SIZE='"+s[12]+"' FACE='"+s[8]+"' "+titCol+"><B>"+t[0]+"</B></FONT></TD>"+closeLink+"</TR></TABLE>":"";var txt="<TABLE "+titBgImg+" "+ab+" WIDTH='"+s[14]+"' BORDER='0' CELLPADDING='"+s[16]+"' CELLSPACING='0' "+titBgCol+" ><TR><TD>"+title+"<TABLE WIDTH='100%' "+add_height+" BORDER='0' CELLPADDING='"+s[17]+"' CELLSPACING='0' "+txtBgCol+" "+txtBgImg+"><TR><TD "+txtTxtAli+" "+ap+" VALIGN='top'><FONT SIZE='"+s[13]+"' FACE='"+s[9]+"' "+txtCol+">"+t[1]+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";if(nn4){with(eval(obj+"document")){open();write(txt);close()}}else{eval(obj+"innerHTML=txt")}tbody={Pos:s[10].toLowerCase(),Xpos:s[18],Ypos:s[19],Transition:s[20],Duration:s[21],Alpha:s[22],ShadowType:s[23].toLowerCase(),ShadowColor:s[24],Width:parseInt(eval(obj+iw)+3+sbw)};if(ie4){TipLayer.style.width=s[14];tbody.Width=s[14]}Count=0;move=1}}}function MoveTip(e){if(move){var X,Y,MouseX=eval(mx),MouseY=eval(my);tbody.Height=parseInt(eval(obj+ih)+3);tbody.wiw=parseInt(eval(ww+"+"+scl));tbody.wih=parseInt(eval(wh+"+"+sct));switch(tbody.Pos){case"left":X=MouseX-tbody.Width-tbody.Xpos;Y=MouseY+tbody.Ypos;break;case"center":X=MouseX-(tbody.Width/2);Y=MouseY+tbody.Ypos;break;case"float":X=tbody.Xpos+eval(scl);Y=tbody.Ypos+eval(sct);break;case"fixed":X=tbody.Xpos;Y=tbody.Ypos;break;default:X=MouseX+tbody.Xpos;Y=MouseY+tbody.Ypos}if(tbody.wiw<tbody.Width+X){X=tbody.wiw-tbody.Width}if(tbody.wih<tbody.Height+Y+sbw){if(tbody.Pos=="float"||tbody.Pos=="fixed"){Y=tbody.wih-tbody.Height-sbw}else{Y=MouseY-tbody.Height}}if(X<0){X=0}eval(obj+sl+"=X+PX;"+obj+st+"=Y+PX");ViewTip()}}function ViewTip(){Count++;if(Count==1){if(cssFilters&&FiltersEnabled){for(Index=28;Index<31;Index++){TipLayer.filters[Index].enabled=0}for(s=0;s<28;s++){if(TipLayer.filters[s].status==2){TipLayer.filters[s].stop()}}if(tbody.Transition==51){tbody.Transition=parseInt(Math.random()*50)}var applyTrans=(tbody.Transition>-1&&tbody.Transition<24&&tbody.Duration>0)?1:0;var advFilters=(tbody.Transition>23&&tbody.Transition<51&&tbody.Duration>0)?1:0;var which=(applyTrans)?0:(advFilters)?tbody.Transition-23:0;if(tbody.Alpha>0&&tbody.Alpha<100){TipLayer.filters[28].enabled=1;TipLayer.filters[28].opacity=tbody.Alpha}if(tbody.ShadowColor&&tbody.ShadowType=="simple"){TipLayer.filters[29].enabled=1;TipLayer.filters[29].color=tbody.ShadowColor}else{if(tbody.ShadowColor&&tbody.ShadowType=="complex"){TipLayer.filters[30].enabled=1;TipLayer.filters[30].color=tbody.ShadowColor}}if(applyTrans||advFilters){eval(obj+sv+hl);if(applyTrans){TipLayer.filters[0].transition=tbody.Transition}TipLayer.filters[which].duration=tbody.Duration;TipLayer.filters[which].apply()}}eval(obj+sv+vl);if(cssFilters&&FiltersEnabled&&(applyTrans||advFilters)){TipLayer.filters[which].play()}if(hs=="sticky"){move=0}}}function stickyhide(){eval(HideTip)}function ReloadTip(){if(nn4&&(evlw!=eval(ww)||evlh!=eval(wh))){location.reload()}else{if(hs=="sticky"){eval(HideTip)}}}function htm(){if(sNav){if(hs!="keep"){move=0;if(hs!="sticky"){eval(HideTip)}}}}var mydgFixlast=9;function dgfix(){mydgFixlast++;document.getElementById("content").style.paddingLeft=mydgFixlast+"px";if(mydgFixlast!=10){setTimeout("dgfixback()",50)}}function dgfixback(){document.getElementById("content").style.paddingLeft="10px"}var Unselectable={enable:function(C){var C=C?C:window.event;if(C.button!=1){if(C.target){var B=C.target}else{if(C.srcElement){var B=C.srcElement}}var A=B.tagName.toLowerCase();if((A!="input")&&(A!="textarea")){return false}}},disable:function(){return true}};var subtable_sections=new Array(3);subtable_sections[0]="recent_posts";subtable_sections[1]="popular_articles";subtable_sections[2]="popular_threads";var subtable_cache=new Array;subtable_cache.recent_posts=null;subtable_cache.popular_articles=null;subtable_cache.popular_threads=null;var subtable_loading="";function subtable(C){for(var A=0;A<subtable_sections.length;A++){var B=subtable_sections[A];if(C==B){document.getElementById("subtable_"+B).style.color="#FFFFFF"}else{document.getElementById("subtable_"+B).style.color="#B0B0B0"}}if(subtable_cache[C]){document.getElementById("subtable").innerHTML=subtable_cache[C]}else{document.getElementById("subtable").innerHTML="Loading...";subtable_loading=C;ajaxpage("/dg3-subtable.php?section="+C,"subtable",true,null,subtable_cb)}}function subtable_cb(A){subtable_cache[subtable_loading]=A};