// JavaScript for Riktad NetWorks
// Copyright (c) 2003 MikeL
// All rights reserved


var popUpWin=0;

function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

function popUpWinText(s)
{
	twin = open("","thankswin","width=550,height=350,scrollbars=yes,status=no,toolbar=no,menubar=no");
  twin.document.write("<body text=black bgcolor=white><font size=1 color=black>");
  twin.document.write("\\n");
  twin.document.write(s);
  twin.document.write("\\n");
 twin.document.write("</font><right><p><input type=button value='<CLOSE>' onClick=window.close()></p></right>");
 twin.document.write("</body></html>");
 twin.document.close();

}



function closePopUpWin()
{
    if(!popUpWin.closed) popUpWin.close();
}	