// JavaScript Document

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 linkGoHome_Click()
{
  window.location = "http://www.getgameshere.com";
  return true;
}

// 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 ;
}

// GetGamesHere
function search_focus(inputcontrol)
{
	inputcontrol.select();
}

function thumb_onmouseover(mylink)
{
  var myimg = document.getElementById(mylink.href);
  myimg.src = "http://www.getgameshere.com/images/cover1b.png";
}
function thumb_onmouseout(mylink)
{
  var myimg = document.getElementById(mylink.href);
  myimg.src = "http://www.getgameshere.com/images/cover1.png";
}

//Rating
function rating(gameid,rating)
{
	return false;
}
function rating_over(index)
{
	for (var i = 1;i<=index; i++)
		document.getElementById("rating".concat(i)).src = 'http://www.getgameshere.com/images/rating_yes.png';

}
function rating_out(index)
{
	for (var i = 1;i<=index; i++)
		document.getElementById("rating".concat(i)).src = 'http://www.getgameshere.com/images/rating_no.png';
}