// JavaScript Document
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){//v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore)selObj.selectedIndex=0;
}
// Nannette Thacker http://www.shiningstar.net
function confirmDeleteMessage()
{
var agree=confirm("Are you sure you wish to delete this message?");
if (agree)
	return true;
else
	return false;
}
//Start bookmark.js
/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar)// firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){// opera
	var elem=document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
}
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
//End bookmark.js
//Start noyellow.js
<!--
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)
{//Attach to onload event in IE
window.attachEvent("onload",resetStyles);
}
else
{//Attach to load event in Other Browser
window.addEventListener("load",resetStyles,false);
//Attach to focus event in other browsers to disable
//background color change in tabbed browsing  
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)
{//Attach to onpropertychange event in IE
count[i].attachEvent('onpropertychange',resetBC);
}
else
{//Apply the style reset onload
resetOther(count[i]);
}
}
}
function resetOther(El)
{
if(El.style.backgroundColor!='')
El.style.backgroundColor='';
}
function resetBC()
{
if(event.srcElement.style.backgroundColor!='')
event.srcElement.style.backgroundColor='';
}
//End noyellow.js
//
var loadedobjects=""
var rootdomain="http://"+window.location.hostname
function ajaxpage(url, containerid){
var page_request=false
if (window.XMLHttpRequest)// if Mozilla, Safari etc
page_request=new XMLHttpRequest()
else if (window.ActiveXObject){// if IE
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){//Check to see if this object has not already been added to page before proceeding
if (file.indexOf(".js")!=-1){//If object is a js file
fileref=document.createElement('script')
fileref.setAttribute("type","text/javascript");
fileref.setAttribute("src", file);
}
else if (file.indexOf(".css")!=-1){//If object is a css file
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+" " //Remember this object as being already added to page
}
}
}
//Start bookmark.js
/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar)// firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){// opera
	var elem=document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
}
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
//End bookmark.js
//Start noyellow.js
<!--
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='';
}
//End noyellow.js
//Start rotatecontent.js
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);
}
}
//End rotatecontent.js
