function tocItem (name, width, height) {
 this.on = new Image();
 this.on.src = name + "on.gif"
 this.off = new Image();
 this.off.src = name + "off.gif"
}


function toc_new (name) {
 tocItem[name] = new tocItem(name);
}

function img_act (imgName) {
 if (document.images) document[imgName].src = tocItem[imgName].on.src;
}

function img_inact (imgName) {
 if (document.images) document[imgName].src = tocItem[imgName].off.src;
}


function load_toc (name, num) {
 for (i = 1; i <= num; i++) toc_new(name + i);
}

if (document.images != null) load_toc ('toc', 16);



function PopUp(theURL){
    if (navigator.appName == "Netscape")
       window.open(theURL,"screenp","width=655,height=500,scrollbars=1,resizable=1,location=1,menu=1,toolbar=1,screenX=120,screenY=15");
    else if (navigator.appName == "Microsoft Internet Explorer")
       window.open(theURL,"screenp","width=655,height=500,scrollbars=1,toolbar=1, status=1, resizable=1,location=1,menu=0,left=120,top=15"); 
}

function PopUp2(theURL2,w,h){

    if (navigator.appName == "Netscape")
       (window.open(theURL2,"screenp","width="+w+",height="+h+",scrollbars=0,resizable=1,location=0,menu=0,toolbar=0,screenX=120,screenY=15")).focus();
    else if (navigator.appName == "Microsoft Internet Explorer")
       (window.open(theURL2,"aNewWindow","width="+w+",height="+h+",scrollbars=0,toolbar=0, status=0, resizable=1,location=0,menu=0,left=120,top=15,")).focus();

}

function PopUp3(theURL){
    if (navigator.appName == "Netscape")
       window.open(theURL,"","scrollbars=1,resizable=1,location=1,menu=1,toolbar=1,menubar=1");
    else if (navigator.appName == "Microsoft Internet Explorer")
       window.open(theURL,"","scrollbars=1,toolbar=1, status=1, resizable=1,location=1,menu=1,menubar=1"); 
}

function attention(){
  window.focus()
}