var
  //                   Name,        Status text, Link text,   URL, Description
  allLinks = new Array(''         , ''         , ''         , '', '',
                       'Home'     , 'Home'     , 'Home'     , 'http://www.artyfactz.com', '',
                       'Artifacts', 'Artifacts', 'Artifacts', '', '',
                       'Products' , 'Products' , 'Products' , '', '',
                       'Register' , 'Register' , 'Register' , '', '',
                       'Download' , 'Download' , 'Download' , '', '',
                       'Contact'  , 'Contact'  , 'Contact'  , '', '');

function showStatus(sMsg) {
  window.status = sMsg;
  return true;
}
function putLink(sURL, sStatus, sLink, sText) {
  Q = "'";
  omOver = 'onMouseOver="return showStatus('+Q+sStatus+Q+');"';
  omOut = 'onMouseOut="return showStatus('+Q+Q+');"';
  document.write('<a href="'+sURL+'" '+omOver+' '+omOut+'>'+sLink+'</a>'+sText);
}
function writeLink(iIndex) {
  imgHTML = '&nbsp;<img src="./images/yel_dot.gif" alt="*" border=0>';
  padHTML = '&nbsp;&nbsp;';
  putLink(allLinks[iIndex*5 + 3], allLinks[iIndex*5 + 1], imgHTML+padHTML+allLinks[iIndex*5 + 2], allLinks[iIndex*5 + 4]);
  
//  switch (iIndex) {
//    case 1: putLink('', '', imgHTML+padHTML+'Home', ''); break;
//    case 2: putLink('', '', imgHTML+padHTML+'Artifacts', ''); break;
//    case 3: putLink('', '', imgHTML+padHTML+'Products', ''); break;
//    case 4: putLink('', '', imgHTML+padHTML+'Register', ''); break;
//    case 5: putLink('', '', imgHTML+padHTML+'Download', ''); break;
//    case 6: putLink('', '', imgHTML+padHTML+'Contact', ''); break;
//  }
}

