function popup(target, name)
{
  var popupWin;
if(window.screen.availHeight <= 480)
{
  if(name == 'Win2')
   popupWin = window.open(target, name, 'resizable,width=600,height=380,left=10,top=10,screenX=10,screenY=10,scrollbars');
  else
  popupWin =window.open(target, name, 'resizable,width=600,height=380,scrollbars');

  popupWin.focus();
}
else
{
  if(name == 'Win2')
    popupWin = window.open(target, name, 'resizable,width=600,height=440,left=100,top=100,screenX=100,screenY=100,scrollbars');
  else
    popupWin = window.open(target, name, 'resizable,width=600,height=520,left=20,top=20,screenX=20,screenY=20,scrollbars');

  popupWin.focus();
  }
}
function confirmSignup()
{
  return confirm("Complete Sign-up?");
}

// browser detection code extracted from:
// Ultimate client-side JavaScript client sniff. Version 3.02
// (C) Netscape Communications 1999-2001.
// Permission granted to reuse and distribute.

var agt = navigator.userAgent.toLowerCase();
var appVer = parseInt(navigator.appVersion);

var is_nav = ((agt.indexOf('mozilla') != - 1) && (agt.indexOf('spoofer') == -1)
              && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera') == -1)
              && (agt.indexOf('webtv') == -1) && (agt.indexOf('hotjava') == -1));

// remove background image for Netscape 4.x, since it doesn't
// implement the CSS-1 positioning model

if(is_nav && (appVer == 4))
  document.write("<style>\n<!--\n  body\n  {\n    background-image: none;\n  }\n-->\n</style>\n");

function printPage()
{
  if(window.print)
  {
    if (is_nav && (appVer == 4))
    {
      window.focus();
    }
    window.print();
  }
}

function validate(destination)
{
  if(destination == "IntroBack")
  {
    document.write("<input type=\"hidden\" name=\"Destination\" value=\"IntroBack\">");
    submit();
    return true;
  }
  else
  {
    return false;
  }
}

