function popUpGame(URL){winpops=window.open(URL,"","width=800,height=600,left=100,top=100,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0")}function popUp(URL){winpops=window.open(URL,"","width=200,height=125,left=100,top=100,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0")}function popUp2(URL){winpops=window.open(URL,"","width=200,height =450,left=100,top=100,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0")}function popUpFavorite(URL){winpops=window.open(URL,"","width=200,height=100,left=100,top=100,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0")}function popComments(URL){winpops=window.open(URL,"","width=500,height=500,left=100,top=100,status=0,scrollbars=1,resizable=1,menubar=0,location=0,toolbar=0")}function popRecoverPassword(URL){winpops=window.open(URL,"","width=440,height=200,left=100,top=100,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0")}function popReportGame(URL){winpops=window.open(URL,"","width=250,height=225,left=100,top=100,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0")}function MM_jumpMenu(targ,selObj,restore){eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");if(restore){selObj.selectedIndex=0}}function confirmDeleteMessage(){var agree=confirm("Are you sure you wish to delete this message?");if(agree){return true}else{return false}}function bookmarksite(title,url){if(window.sidebar){window.sidebar.addPanel(title,url,"")}else{if(window.opera&&window.print){var elem=document.createElement("a");elem.setAttribute("href",url);elem.setAttribute("title",title);elem.setAttribute("rel","sidebar");elem.click()}else{if(document.all){window.external.AddFavorite(url,title)}}}}if(window.attachEvent){window.attachEvent("onload",setListeners)}function setListeners(){inputList=document.getElementsByTagName("INPUT");for(i=0;i<inputList.length;i++){inputList[i].attachEvent("onpropertychange",restoreStyles);inputList[i].style.backgroundColor=""}selectList=document.getElementsByTagName("SELECT");for(i=0;i<selectList.length;i++){selectList[i].attachEvent("onpropertychange",restoreStyles);selectList[i].style.backgroundColor=""}}function restoreStyles(){if(event.srcElement.style.backgroundColor!=""){event.srcElement.style.backgroundColor=""}}if(window.attachEvent){window.attachEvent("onload",resetStyles)}else{window.addEventListener("load",resetStyles,false);window.addEventListener("focus",resetStyles,false)}function resetStyles(){resetStyle("input");resetStyle("select")}function resetStyle(inputType){var count=document.getElementsByTagName(inputType);for(var i=0;i<count.length;i++){if(window.attachEvent){count[i].attachEvent("onpropertychange",resetBC)}else{resetOther(count[i])}}}function resetOther(El){if(El.style.backgroundColor!=""){El.style.backgroundColor=""}}function resetBC(){if(event.srcElement.style.backgroundColor!=""){event.srcElement.style.backgroundColor=""}};
