var popUpWin=0;

function popup(file,sb){
  if(popUpWin){
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin=open(file, "displayWindow","width=640, height=480, top=300, left=300, scrollbars="+sb+",status=no,toolbar=no,menubar=no,resizable=no, fullscreen=no");
}

function BGset(color){
    document.bgColor = color;
}

function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=20
}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if (window.highlighting)
clearInterval(highlighting)
}
