function show(id) {
        if (document.getElementById) document.getElementById(id).style.visibility = "visible";
        else if (document.layers) document[id].visibility = "show";
        else if (document.all) document.all[id].style.visibility = "visible";
        return;
}


function hide(id) {
        if (document.getElementById) document.getElementById(id).style.visibility = "hidden";
        else if (document.layers) document[id].visibility = "hide";
        else if (document.all) document.all[id].style.visibility = "hidden";
        return;
}



function newb(id, bgc) {
        if (document.getElementById) document.getElementById(id).style.backgroundColor = bgc;
        else if (document.layers) document[id].backgroundColor = bgc;
        else if (document.all) document.all[id].style.backgroundColor = bgc;
        return;
}

function showlede(id) {
    hide("tbox1");
    show(id);
    return;
    };

function hidelede(id) {
    hide(id);
    show("tbox1");
    return;
    }
    
function showblurb(blurbid) {
      if ((document.getElementById) || (document.all)) {
        if (document.getElementById) {
          document.getElementById(blurbid).style.width="115";
          }
        else {
          document.all[blurbid].style.width="120";
          document.all[blurbid].style.font="bold 8pt sans-serif";
          };
        hide('expertcenter');
        hide('ecstuff');
        show(blurbid);
     }
      else {
        document[blurbid].left="18";
        document[blurbid].right="600";
        document[blurbid].top="135";
        document[blurbid].clip.bottom="335";
        show(blurbid);
        }
     return;
    }
    
    function hideblurb(blurbid) {
    if ((document.getElementById) || (document.all)) {
        hide(blurbid);
        show('ecstuff');
        show('expertcenter');
      }
      else {
       hide(blurbid);
      };
    return;
    }
    
    function move4(id) {
    if (document.layers) {
            document[id].top="160";
            document[id].left="150";
            document[id].right="70";
        };
    return;
    }
    
    function ns4hack() {
    if (document['tbox1']) move4('tbox1');
    if (document['tbox2']) move4('tbox2');
    if (document['tbox3']) move4('tbox3');
    if (document['tbox4']) move4('tbox4');
    if (document['tbox5']) move4('tbox5');
    if (document['tbox6']) move4('tbox6');
    if (document['tbox7']) move4('tbox7');
    if (document['tbox8']) move4('tbox8');
    if (document['tbox9']) move4('tbox9');
    if (document['tbox10']) move4('tbox10');
    if (document['tbox11']) move4('tbox11');
    if (document['tbox12']) move4('tbox12');
    if (document['tbox13']) move4('tbox13');
    if (document['tbox14']) move4('tbox14');
    if (document['tbox15']) move4('tbox15');
    if (document['tbox16']) move4('tbox16');
    if (document['tbox17']) move4('tbox17');
    if (document['tbox18']) move4('tbox18');
    if (document['tbox19']) move4('tbox19');
    return;
    };
    

    function init() {
    blurbon('tbox1');
/*
 *    ns4hack();
 *
 */
   };
   
function blurbon(id) {
        blurboff("blurb");
        if (document.getElementById) {
        document.getElementById("blurb").innerHTML = document.getElementById(id).innerHTML;
        document.getElementById("blurb").style.display = "block";
        }
        else if (document.layers) {
        for (i=1; i<=18; i++) {
        var targ = "tbox"+i;
        if (document[targ]) hide(targ);
        };
        show(id);
        }
        else if (document.all) {
        blurb.innerHTML = eval(id).innerHTML;
        document.all["blurb"].style.display = "block";
        }
        return;
}

function blurboff(id) {
        if (document.getElementById) document.getElementById("blurb").style.display = "none";
        else if (document.layers) {
        hide(id);
        }
        else if (document.all) document.all["blurb"].style.display = "none";
        return;
}   
            
// initialize if ns 4

if (( document.layers ) && !(document.getElementById)) {
document.writeln('<link type="text/css" rel="stylesheet" href="http://www.itjungle.com/style/webns.css">');
};


    
            
