ns = (document.layers) ? 1:0
ie = (document.all) ? 1:0

function show(obj) {
  if (ns) obj.visibility = "show"
  else if (ie) obj.visibility = "visible" }

function hide(obj) {
  if (ns) obj.visibility = "hide"
  else if (ie) obj.visibility = "hidden" }

function go(){
  if (ns||ie) {
    if (ns) {
      ll1=document.l1;
      ll2=document.l2;
      ll3=document.l3;
      ll4=document.l4;
      ll5=document.l5;
    }
    if (ie) {
      ll1=l1.style;
      ll2=l2.style;
      ll3=l3.style;
      ll4=l4.style;
      ll5=l5.style;
    }
    start_ticker()
  }
}

if (document.images) {
        a1 = new Image(); a1.src = "img/t__a1.gif";
        a2 = new Image(); a2.src = "img/t__a2.gif";
        a3 = new Image(); a3.src = "img/t__a3.gif";
        b1 = new Image(); b1.src = "img/t__b1.gif";
        b2 = new Image(); b2.src = "img/t__b2.gif";
        b3 = new Image(); b3.src = "img/t__b3.gif";
        c1 = new Image(); c1.src = "img/t__c1.gif";
        c2 = new Image(); c2.src = "img/t__c2.gif";
        c3 = new Image(); c3.src = "img/t__c3.gif";
}

function picon(i) {
  if (document.images) {
    document.images[i].src = "img/t__" + i + ".gif";
  }
}
function picoff(i) {
  if (document.images) {
    document.images[i].src = "img/t_" + i + ".gif";
  }
}

function on1()  { show(ll1); picon('a1');}
function off1() { hide(ll1); picoff('a1');}
function on2()  { show(ll2); picon('a2');  picon('b1');}
function off2() { hide(ll2); picoff('a2'); picoff('b1');}
function on3()  { show(ll3); picon('a3');  picon('b2');  picon('c1');}
function off3() { hide(ll3); picoff('a3'); picoff('b2'); picoff('c1');}
function on4()  { show(ll4); picon('b3');  picon('c2');  }
function off4() { hide(ll4); picoff('b3'); picoff('c2'); }
function on5()  { show(ll5); picon('c3');  }
function off5() { hide(ll5); picoff('c3'); }
