function GoToURL(target, location)
{
  eval(target + ".location='" + location + "'");
}//end of GoToURL

function GoToUrlConfirm(message, location)
{
  if(confirm(message))
  {
    GoToURL('parent', location);
  }
}//end of GoToUrlConfirm

function OpenPopupWindow(theUrl, winName, features)
{
  if(window.menubar)
    window.open(theUrl, winName, features);
  else
  {
    var wnd = window.open(theUrl, winName, features);
    wnd.focus();
  }
}//end of open popup window


