<!--
 
 
 
var  timerId=0 ;
 
 
 
function clearTimer() {
  if (timerId!=0) {
    clearTimeout(timerId); timerId=0; }}
 
 
 
function startTimer() {
  clearTimer(); timerId=setTimeout('timerId=0;hideMenus()',600); }
 
 
 
function rollbg(chosen, objectID) {
if(chosen == "roll") {
document.getElementById(objectID).className="roll";
}
else {
document.getElementById(objectID).className="over";
}
}
function rollbg2(chosen, objectID) {
if(chosen == "roll2") {
document.getElementById(objectID).className="roll2";
}
else {
document.getElementById(objectID).className="over2";
}
}


function showMenu(menuNum) {
  clearTimer(); hideMenus();
  document.getElementById('menu_'+menuNum).style.display=""; }
 
 
 
function hideMenus() {
 
  var  i=1 ;
 
  while (document.getElementById('menu_'+i)) {
    document     .getElementById('menu_'+i).style.display="none";
    i++; }}
 
 
 
function hiLite(theOption) {
  clearTimer();
  document.getElementById('opt_'+theOption).style.background='#FFFFFF'; }

 
 
function unLite(theOption) {
  startTimer();
  document.getElementById('opt_'+theOption).style.background='#FFFFFF'; }
 
 
 
function optClick(theOption) {
  unLite(theOption); clearTimer(); hideMenus();
  alert('You clicked option '+theOption.toUpperCase()+'.  '+
  'This code should actually do something in response to that.'); }
 
 
 
//-->
