// misc archive functions

var arcW;

function woArc(url,wid,hei) {
  arcW = window.open(url,'arcwin','left=0,top=0'
    +',width='+wid+',height='+hei+',scrollbars=yes');
  arcW.focus();
}

function opGloss(what) {
  var w = window.open('../glossary.htm#'+what,'risktheory','');
  w.focus();
}

function opComment(url,wid,hei) {
  var w = window.open(url,'comment','width='+wid+',height='+hei+',scrollbars=yes');
  w.focus();
}

function opLect(what) {
  var w = window.open('../lectures.htm#'+what,'risktheory','');
  w.focus();
}

function opIllustration() {
  var w = window.open('../index.html#Illustration','risktheory','');
  w.focus();
}

function illOp(fn) {
  var wid = 410;
  var lef = screen.availWidth - wid - 10;
  var hei = 560;
  var w = window.open('arcs/scrnShot.htm?'+fn,'scrs'
    ,'left='+lef+',top=0'
    +',width='+wid+',height='+hei+',scrollbars=yes');
  w.focus();
}

