
// general
// Use can place a source url here i.e., "http://www.oklahomamcc.net". 
var path			= "http://"

// dropdown
var dropdown_font		= "Arial, New Roman Times"
var dropdown_indent		= "&nbsp;"

//text descriptions
var textdisplay=new Array()


/*********************************************************************/

//FORMAT: path to page, page name, parent page name

links = new Array
(
 
new link(path+"www.discovertheone.com/mcc", "Home", ""),
 
new link(path+"www.discovertheone.com/mcc/items.htm", "Items", ""),
 
new link(path+"www.discovertheone.com/mcc/schedule.htm", "Schedule", ""),
  
new link(path+"www.discovertheone.com/mcc/maps.htm", "Maps", ""),
 
new link(path+"www.mccsale.org/mccsales.html", "Other Relif Sales", ""),
 
new link(path+"www.oklahomamcc.net/mcc/history.htm", "Mennonite History", ""),
 
new link(path+"www.mcc.org", "MCC Website", ""),
 
new link(path+"www.discovertheone.com/mcc/resources.htm", "Resources", ""),
 
new link(path+"www.lippardauctions.com/", "Lippard Auctions", ""),
 
new link(path+"info.mennolink.org", "Links", "")
 
  

// Remember no comma at the end on the last one
 
// new link(path+"wmbc-us.org/mminutes", "Board Minutes", ""),

 // new link(path+"wmbc-us.org/prayerline", "Prayline", "Board Minutes"),

 // new link(path+"wmbc-us.org/information", "Other Information", "Board Minutes")

)

/*********************************************************************/

function link(path, name, parent)
{
 this.path = path
 this.name = name
 this.parent = parent
 this.props = new Array (path, name, parent)
}
/*********************************************************************/

//WARNING: do_dropdown may not work with older versions of netscape. It does work with IE, Opera & 1.2 Mozilla & greater.

function do_dropdown(level)
{
 document.writeln ("<font face='" + dropdown_font + "' size=1>")
 document.writeln ("<form name='wmbc'>")
 document.writeln ("<p align='left'>")
 document.writeln ("<select name='list' size=1 style=\"font-family='" + dropdown_font + "'; font-size=12\"")
 document.writeln (" onChange=\"if(this.value){document.location=this.value}\">")
 document.writeln ("<option value='' selected>MCC RELIEF")
 document.writeln ("<option value=''>---------")

 var links_length = links.length;

 for(num=0; num<links_length; num++)
 {
  if((links[num].parent == level && level == "") || links[num].name == level)
  {
   document.writeln ("<option value='" + links[num].path + "'>" + links[num].name + " ")
   for(sub=0; sub<links_length; sub++)
   {
    if(links[sub].parent == links[num].name)
    {
     document.writeln ("<option value='" + links[sub].path + "'>" + dropdown_indent + links[sub].name + " ")
    }
   }
  }
 }
 document.writeln ("</select></form>")
}

/*********************************************************************/




//use the following in html where you want script to run 
//<script src='MCC.js'></script> 
//<script>do_dropdown("")</script>