function popup_window(x, y, href)
{
  var caracs = "";
  if((x <= screen.width) && (y <= screen.height)) 
  {
	caracs = "status=no,directories=no,location=no,toolbar=no,menubar=no,scrollbars=no,resizable=no,width=" + x + ",height=" + y + ",innerHeight=" + y + ",innerWidth=" + x; 
  }

  var winHandle = window.open(href, "gameblog_popup", caracs);
  winHandle.focus();
}