/*ajaxrating*/
var loadedobjects=""
var rootdomain="http://"+window.location.hostname
function ajaxpage(url,containerid){var page_request=false
if(window.XMLHttpRequest)
page_request=new XMLHttpRequest()
else if(window.ActiveXObject){try{page_request=new ActiveXObject("Msxml2.XMLHTTP")}
catch(e){try{page_request=new ActiveXObject("Microsoft.XMLHTTP")}
catch(e){}}}
else
return false
page_request.onreadystatechange=function(){loadpage(page_request,containerid)}
page_request.open('GET',url,true)
page_request.send(null)}
function loadpage(page_request,containerid){if(page_request.readyState==4&&(page_request.status==200||window.location.href.indexOf("http")==-1))
document.getElementById(containerid).innerHTML=page_request.responseText}
function loadobjs(){if(!document.getElementById)
return
for(i=0;i<arguments.length;i++){var file=arguments[i]
var fileref=""
if(loadedobjects.indexOf(file)==-1){if(file.indexOf(".js")!=-1){fileref=document.createElement('script')
fileref.setAttribute("type","text/javascript");fileref.setAttribute("src",file);}
else if(file.indexOf(".css")!=-1){fileref=document.createElement("link")
fileref.setAttribute("rel","stylesheet");fileref.setAttribute("type","text/css");fileref.setAttribute("href",file);}}
if(fileref!=""){document.getElementsByTagName("head").item(0).appendChild(fileref)
loadedobjects+=file+" "}}}
/*arcade*/
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=440,height=400,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='';}
/*morescript*/
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='';}
if(document.all||document.getElementById){document.write('<style type="text/css">\n');document.write('.BIGDOG_dyncontent{display: none;width: 250px;height: 60px;}\n');document.write('</style>');}
var BIGDOG_curcontentindex=0;var BIGDOG_messages=new Array();function BIGDOG_getElementByClass(classname){var BIGDOG_inc=0;var BIGDOG_alltags=document.all?document.all:document.getElementsByTagName("*");for(i=0;i<BIGDOG_alltags.length;i++){if(BIGDOG_alltags[i].className==classname)
BIGDOG_messages[BIGDOG_inc++]=BIGDOG_alltags[i];}}
function BIGDOG_rotatecontent(){BIGDOG_curcontentindex=(BIGDOG_curcontentindex<BIGDOG_messages.length-1)?BIGDOG_curcontentindex+1:0;BIGDOG_prevcontentindex=(BIGDOG_curcontentindex==0)?BIGDOG_messages.length-1:BIGDOG_curcontentindex-1;BIGDOG_messages[BIGDOG_prevcontentindex].style.display="none";BIGDOG_messages[BIGDOG_curcontentindex].style.display="block";}
function BIGDOG_doitnow(){if(document.all||document.getElementById){BIGDOG_getElementByClass("BIGDOG_dyncontent");setInterval("BIGDOG_rotatecontent()",5000);}}