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;
}

function confirmDeleteMessage()
{
var agree=confirm("Are you sure you wish to delete this message?");
if (agree)
	return true ;
else
	return false ;
}


function playFlash(f,w,h){
var str='';
str+='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"';
str+=' codebase="http:\/\/fpdownload.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,0,0"';
str+=' width="'+w+'" height="'+h+'" id="rating" align="middle">';
str+=' <param name="allowScriptAccess" value="sameDomain">';
str+=' <param name="movie" value="'+f+'">';
str+=' <param name="quality" value="high">';
str+=' <param name="bgcolor" value="#ffffff">';
str+=' <param name="wmode" value="transparent">';
str+=' <embed src="'+f+'" quality="high" bgcolor="#ffffff" width="'+w+'"';
str+=' height="'+h+'" name="rating" align="middle" allowScriptAccess="sameDomain"';
str+=' type="application\/x-shockwave-flash" wmode="transparent';
str+=' pluginspage="http:\/\/www.macromedia.com\/go\/getflashplayer"><\/embed>';
str+='<\/object>';
document.write(str);
}
