TIP_POINTER=0;TIPS=null;function transitionTip(){tip=$e(TIPS[TIP_POINTER]);if(tip){tip.unsetClassValue("showMode");TIP_POINTER++}rotateTips()}ROTATION_INTERVAL=8000;function rotateTips(){processRoomInfo();if(!TIPS){TIPS=$e("theTips").gEBTN("li")}if(!TIPS[TIP_POINTER]){TIP_POINTER=0}tip=$e(TIPS[TIP_POINTER]);tip.setClassValue("showMode");setTimeout(transitionTip,ROTATION_INTERVAL)}function processRoomInfo(){activeChan=(parent&&parent.ACTIVE_CHANNEL)?parent.ACTIVE_CHANNEL:DEFAULT_ROOM;chanRefs=$e("theTips").gEBCN("chanRef");chanRefNames=$e("theTips").gEBCN("chanRefName");for(crc=0;cr=chanRefs[crc];crc++){cr.href="/go/"+activeChan}for(crc=0;cr=chanRefNames[crc];crc++){cr.setTextData(activeChan)}}function closeHints(){iface=parent.$e("interface");if(parent&&iface){iface.setClassValue("hideHintsMode")}}