function menuItem(item){
  if (lastItem == '') {
    lastItem = 'txtHome';
  }
  if (ns4) {
    daLast = document.layers[lastItem];
    daItem = document.layers[item];
  } else if (ns6) {
    daLast = document.getElementById(lastItem).style;
    daItem = document.getElementById(item).style;
  } else {
    daLast = document.all(lastItem).style;
    daItem = document.all(item).style;
  }
  daLast.visibility = hidden;
  daItem.visibility = visible;
  lastItem = item;
}

function ot(URL){
//	newWin = window.open("http://www.guide2prince.org/Lasso.acgi?[database]=items.db&[layout]=detail&[response]=%2fjoeycoco%2fdetail.html&[recid]=" + URL + "&[search]","titleWindow","height=400,width=420,scrollbars=yes");
//	newWin = window.open("http://www.guide2prince.org/Lasso.acgi?[database]=items.db&[layout]=detail&[response]=%2fsmallclub%2fdetail.html&[recid]=" + URL + "&[search]","titleWindow","height=400,width=420,scrollbars=yes");
	newWin = window.open("http://www.guide2prince.org/Lasso.acgi?[database]=bootlegs.db&[layout]=detail&[response]=%2fsmallclub%2fdetail.html&[recid]=" + URL + "&[search]","titleWindow","height=400,width=420,scrollbars=yes,resizable=yes");
	newWin.focus();
}

function oi(URL){
	newWin = window.open("idetail.asp?fn=" + URL,"titleWindow","height=400,width=420,scrollbars=yes,resizable=yes");
	newWin.focus();
}

function closePop() {
  if (!document.layers) {
    LE=document.getElementsByTagName('DIV');
    if (LE.length > 0) {
      i = LE.length-1;
      //window.alert(LE[i].getAttribute('id'));
      popid = LE[i].getAttribute('id');
      clA(popid);
    }
  }
}

function closePop3() {
  if (!document.layers) {
    LE=document.getElementsByTagName('DIV');
    if (LE[0].getAttribute('id') != 'mytopdiv') {
      LE[2].style.visibility="hidden"; 
      LE[2].style.display="none";
    }
    if (LE[LE.length-1].getAttribute('id') != 'mybottomdiv') {
      LE[LE.length-1].style.visibility="hidden"; 
      LE[LE.length-1].style.display="none";
    }
  }
}




