if ( navigator.userAgent.toLowerCase()!='msie') { // browser is ff document.getElementById('scoreInner_bctimer').style.left='-69px'; } else { for(var i=0; i=0) { var spacerDiv = document.getElementById("spacerDiv"); if (spacerDiv) { spacerDiv.style.display = "block"; spacerDiv.innerHTML = ''; } } } } } ActivateChatroom(); //enter the count down date using the format year/month/day countdown_bctimer(2012,03,12,08,30,00) function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } /* var chatVisible; chatVisible = (readCookie('bcMatchChatVisible')==='1'); UpdateChatWindow(); function HideChat() { alert('hiding'); document.getElementById('chatWindow').style.display='none'; document.getElementById('chatIcon').src="/alochona/chat/img/chatopen.png"; createCookie('bcMatchChatVisible','0',365); } function ShowChat() { document.getElementById('chatWindow').style.display='block'; document.getElementById('chatIcon').src="/alochona/chat/img/chatclose.png"; createCookie('bcMatchChatVisible','1',365); } function UpdateChatWindow() { if (!chatVisible) { HideChat(); } else { ShowChat(); } } */