var BV=navigator.appVersion;
BV=parseFloat(BV.indexOf('MSIE')>0?BV.split(';')[1].split(' ')[2]:BV.split(' ')[0]);
var BN=window.navigator.appName;
var OP=(navigator.userAgent.indexOf('Opera')!=-1&&BV>=4)?true:false;
var SM=(BN.indexOf('Netscape')!=-1&&(BV>=5)||OP)?true:false;
var IE=(BN.indexOf('Explorer')!=-1&&(BV>=4)||SM)?true:false;
var showing='none';

function getElement(ID) {
  if(IE)
  if(SM) { // Netscape 6 hits here
    return document.getElementById(ID);
  }
  else { // IE 5 & 6 hit here
     return document.all[ID];
  }
}

function ShowBlurb(Item) {
  var divid = getElement(Item);
  divid.style.display = 'block';
  if (!(showing=='none') & !(showing==Item)) {
  HideBlurb(showing);
  }
  showing = Item;
  return(true);
}

function HideBlurb(Item) {
  var divid = getElement(Item);
  divid.style.display = 'none';
  return(true);
}

function popScreen(ID,iW,iH) {
  popWindow = window.open("articles/" + ID + ".jpg","popWindow",
  "width=" + iW + ",height=" + iH + ",menubar=no,resizable=no,status=no,scrollbars=no,left=20,top=400");
  popWindow.focus();
}

