//helpStatusMessage
helpmsg = new Array (
    "Click here for an explanation.",
    "Click here for Detail options.",
    "Click here for Premium Details.",
    "Click here for a side by side comparison.",
    "Click here to Find a Broker",
    "Click here to make changes to your survey",
    "Click here to run a new survey",
    "Click here for a printable version of this page.",
    "Click here for Medical Evidence.",
    "Click here for a Cash Flow report.",
    "Click here for a Plan Description.",
    "Click here for an Application."
);

function helpstatmsg(msg)  {
  window.status = "";
  window.status = helpmsg[msg];
};

function openerHelp(url)  {
//alert("url="+url);	
  if (helpWin)
    closeHelp();
  helpWin = window.open(url,'','dependent=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=350,height=350,screenX=10,screenY=10,Left=10,Top=10');
  helpWin.focus();
};
// if the 'Close this Window' link is clickied in the help window
function closerHelp()  {
  window.close();
};

// when new help page is displayed or a page is unloaded, close help window (if any open)
function closeHelp()  {
//alert("helpWin="+helpWin);

  if (NS4 || NS_DHTML)  {	
    if (helpWin.closed == "false")  {
      helpWin.close();
    }
  }
  else if (IE4 || IE_DHTML)  {
    if (helpWin)  {
      helpWin.close();
    }
  }
  helpWin = "";
};

/*
var currentPageY = 0;
function trackIt(evt)
{
  if (nsDHTML)  {
    currentPageY = evt.pageY;
  }
  if (ieDHTML)  {
// find the variable that keeps track of position for whole page, NOT current window - like NS
    currentPageY = event.clientY + document.body.scrollTop - 11;
  }
};
*/

function showObject(object)  {
  msg = help[object];
  alert(msg);
};

/*
function hideObject()  {
  helpHTML = eval(doc + '["helpLayer"]' + htm);
  helpSTYLE = eval(doc + '["helpLayer"]' + sty);
// display a blank to clear text
  msg = help[0];
  if (nsDHTML)  {
    helpHTML.write(msg);
    helpHTML.close();
  }
  else if (ieDHTML)  {
    helpHTML.innerHTML = msg;
  }
  helpSTYLE.visiblity = "hidden";
};
*/