var winModalWindow
 
function IgnoreEvents(e)
{
  return false
}
 
function ShowWindow()
{
  if (window.showModalDialog)
  {
    window.showModalDialog("heraeus_00.htm",null,
    "dialogWidth=520px;dialogHeight=500px")
  }
  else
  {
    window.top.captureEvents (Event.CLICK|Event.FOCUS)
    window.top.onclick=IgnoreEvents
    window.top.onfocus=HandleFocus 
    winModalWindow = 
    window.open ("heraeus_00.htm","heraeus_00",
       "dependent=yes,width=520,height=500")
    winModalWindow.focus()
  }
}
function ShowWindow1()
{
  if (window.showModalDialog)
  {
    window.showModalDialog("heraeus_11.htm",null,
    "dialogWidth=520px;dialogHeight=500px")
  }
  else
  {
    window.top.captureEvents (Event.CLICK|Event.FOCUS)
    window.top.onclick=IgnoreEvents
    window.top.onfocus=HandleFocus 
    winModalWindow = 
    window.open ("heraeus_11.htm","heraeus_11",
       "dependent=yes,width=520,height=500")
    winModalWindow.focus()
  }
}
 
function ShowWindow2()
{
  if (window.showModalDialog)
  {
    window.showModalDialog("heraeus_22.htm",null,
    "dialogWidth=520px;dialogHeight=500px")
  }
  else
  {
    window.top.captureEvents (Event.CLICK|Event.FOCUS)
    window.top.onclick=IgnoreEvents
    window.top.onfocus=HandleFocus 
    winModalWindow = 
    window.open ("heraeus_22.htm","heraeus_22",
       "dependent=yes,width=520,height=500")
    winModalWindow.focus()
  }
}

function ShowWindow3()
{
  if (window.showModalDialog)
  {
    window.showModalDialog("heraeus_33.htm",null,
    "dialogWidth=520px;dialogHeight=500px")
  }
  else
  {
    window.top.captureEvents (Event.CLICK|Event.FOCUS)
    window.top.onclick=IgnoreEvents
    window.top.onfocus=HandleFocus 
    winModalWindow = 
    window.open ("heraeus_33.htm","heraeus_33",
       "dependent=yes,width=520,height=500")
    winModalWindow.focus()
  }
}









function HandleFocus()
{
  if (winModalWindow)
  {
    if (!winModalWindow.closed)
    {
      winModalWindow.focus()
    }
    else
    {
      window.top.releaseEvents (Event.CLICK|Event.FOCUS)
      window.top.onclick = ""
    }
  }
  return false
}

