<!--hide
function selectObject() {
  return (this);
}

function makeSelectArray() {
  var thisindex = 0; // main menu index
  var argindex = 0;  // indexes thru parameters
  while ((makeSelectArray.arguments.length) > argindex) {
    this[thisindex]=new selectObject();
    this[thisindex].Name=makeSelectArray.arguments[argindex++]; 
    this[thisindex].Url=makeSelectArray.arguments[argindex++]; 
    this[thisindex].Target=makeSelectArray.arguments[argindex++];
    thisindex++;
  }
  return (this);
}

function displaySelectArray (ArrayName){
  //document.write(this[ArrayName].length,"<P>");
  for (var i in this[ArrayName]){
    document.write(this[ArrayName][i].Name,"<BR>");
  }
  document.writeln("<p>");
}

function writeSelectMenu(ArrayName) {
  document.write('<FORM NAME = "',curName(),'">');
  // write categories menu  
  document.write('<SELECT NAME="Categories" onChange="confirmChange(\'',curName(),'\', \'',ArrayName,'\')">');   
  for (var i in this[ArrayName]){
    document.write('<OPTION>', this[ArrayName][i].Name, '</OPTION>');
  }
  document.writeln('</SELECT></FORM>');
  newName();
}
 
function confirmChange(MenuName, ArrayName) {
  var PIdx=document[MenuName].Categories.selectedIndex;
  document[MenuName].Categories.options[0].selected = true;
  if (this[ArrayName][PIdx].Url != null) {
    if (this[ArrayName][PIdx].Target == "_parent") {
      parent.location.href=this[ArrayName][PIdx].Url;
    } else if (this[ArrayName][PIdx].Target == null){
      document.location.href=this[ArrayName][PIdx].Url;
    } else {
      parent[this[ArrayName][PIdx].Target].location.href=this[ArrayName][PIdx].Url;
    }
  }
}
// unhide -->