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 popReportGame(URL){
winpops=window.open(URL,,width=300,height=300,left=100,top=100,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0)
}

function popUp2(URL){
winpops=window.open(URL,,width=300,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=300,height=150,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 MM_jumpMenu(targ,selObj,restore){ v3.0
  eval(targ+.location='+selObj.options[selObj.selectedIndex].value+');
  if (restore) selObj.selectedIndex=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 popUpGame(URL,width,height){
	winpops=window.open(URL,"","width="+width+",height="+height+",left=1,top=1,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0")
}
function confirmDeleteMessage()
{
var agree=confirm(Are you sure you wish to delete this message);
if (agree)
return true ;
else
return false ;
}

function startChat(username){
var xOffSet = (screen.width - 225)  2;
var yOffSet = (screen.height - 500)  2;
var features = 'width=600,height=488,toolbar=0,directories=0,menubar=0,status=0,location=0,scrollbars=0,resizable=1';
var winName = chatrooms;
var theURL = 'httpwww.v3chat.comchatroomssub_index.phpuserid=0&username=' + username + '&website=KGHMemberChat';

myWin = window.open(theURL,winName,features);
}