top.defaultStatus = 'STRAWANZA Restaurant - Pizzeria';
if (top.frames.length > 0)
{
	top.location.href = self.location.href;
}

function status_show(text)
{
	status = text;
	return true;
}

function FilterCharacters(obj)
{
  var changed = false;
  var digits = '0123456789.';
  var value = obj.value;
  var tempstr = '';
  for (var i = 0; i < value.length; i++)
  {
    if (digits.indexOf(value.charAt(i)) >= 0)
      tempstr = tempstr + value.charAt(i);
    else
      changed = true;
  }

  if (changed)
    obj.value = tempstr;
}
function open_window(url)
{
	winWidth = 440;
	winHeight = 270;
	winLeft = (screen.width - winWidth) / 2;
	winTop = (screen.height - winHeight) / 2;
	window.open(url, "newwin","scrollbars=1,width=" + winWidth + ", height=" + winHeight + ", left=" + winLeft + ", top=" + winTop + " ");
}

