//Get cookie routine by Shelley Powers 
function get_cookie(Name) {
  var search = Name + "="
  var returnvalue = "";
  if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search) 
    // if cookie exists
    if (offset != -1) { 
      offset += search.length
      // set index of beginning of value
      end = document.cookie.indexOf(";", offset);
      // set index of end of cookie value
      if (end == -1) end = document.cookie.length;
      returnvalue=unescape(document.cookie.substring(offset, end))
      }
   }
  return returnvalue;
}
var MMCookieName = "hi-keys";
var myCookie = get_cookie(MMCookieName);

timegap=500;
followspeed=5; 
followrate=40;
suboffset_top=1;
suboffset_left=-4;


effect = "fade(duration=0.3);Shadow(color='#444444', Direction=135, Strength=7)"

function openwin(url)
{
	nwin=window.open(url, "nwin",config="scrollbars=yes,resizable=yes,toolbar=yes,location=yes,status=yes,menubar=yes,");
	nwin.focus();
}

var MM_Off_Font_Color = "000000";
var MM_Off_Back_Color = "ffff88";
var MM_On_Font_Color = "ffff88";
var MM_On_Back_Color = "83674d";
var MM_Border_Color = "000000";
var MM_width = 115;

prop1=[						// prop1 is an array of properties you can have as many property arrays as you need
MM_Off_Font_Color,			// Off Font Color
MM_Off_Back_Color,			// Off Back Color
MM_On_Font_Color,			// On Font Color
MM_On_Back_Color,			// On Back Color
MM_Border_Color,			// Border Color
11,							// Font Size
"normal",					// Font Style 
"normal",					// Font Weight
"Verdana,Tahoma,Helvetica",	// Font
3,							// Padding
"/black_right_arrow.gif",				// Sub Menu Image
1,							// 3D Border & Separator
"f8f8f8",					// 3D High Color
"222222"					// 3D Low Color
]
//"006699" 					   Referer item Font Color (leave this blank to disable)
//"006699" 					  Referer item Back Color (leave this blank to disable)


menu1=[				// This is the array that contains your menu properties and details
MMtop,				// Top
MMleft,				// left
MM_width,			// Width
1,					// Border Width
"left",			    // Screen Position - here you can use "center;middle;right"
prop1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time
"center",			// Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
effect,				// Filter - Text variable for setting transitional effects on menu activation
,					// Follow Scrolling - Tells the menu item to follow the user down the screen
1, 					// Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
,					// Position of sub image left:center:right:middle:top:bottom
,					// Show an image on top menu bars indicating a sub menu exists below
,					// Reserved for future use
// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
// top;
"Home", "/index.shtml",,,1,
"Information", "show-menu2",,,1, 
"News", "show-menu10",,,1,
"Events", "show-menu15",,,1,
"Programs", "show-menu19",,,1,
"Maps", "show-menu20",,,1,
"GWTA", "show-menu22",,,0
]
// Information;
menu2=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"GWT", "show-menu3",,,1,
"GWT by State", "show-menu5",,,1,
"Nat. Trail System", "show-menu6",,,1,
"Other Trails", "show-menu8",,,1,
"Links", "http://www.greatwesterntrail.org",,,0
]
// Information / GWT;
menu3=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Background", "show-menu4",,,1,
"Description", "/not_ready.shtml",,,1,
"Current Status", "/not_ready.shtml",,,1,
"Feasibility Study", "/not_ready.shtml",,,1,
"Points of Discovery", "/not_ready.shtml",,,1,
"Gallery", "/not_ready.shtml",,,0
]
// Information / GWT / Background;
menu4=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Proposal", "/background.shtml",,,1,
"History", "/not_ready.shtml",,,0
]
// Information / GWT by State;
menu5=[,,MM_width,1,,prop1,0,"left",effect,0,,,,,,
"Arizona", "/desc/arizona.shtml",,,1,
"Idaho", "/desc/idaho.shtml",,,1,
"Montana", "/desc/montana.shtml",,,1,
"Utah", "/desc/utah.shtml",,,1,
"Wyoming", "/desc/wyoming.shtml",,,0
]
// Information / Nat. Trails System;
menu6=[,,MM_width,1,,prop1,0,"left",effect,0,,,,,,
"Act", "/not_ready.shtml",,,1,
"Map", "/not_ready.shtml",,,1,
"Trails", "show-menu7",,,1,
"Partnership", "/not_ready.shtml",,,1,
"TrailLink", "http://www.millenniumtrails.org/",,,0
]
// Information / Nat. Trails System / trails;
menu7=[,,MM_width,1,,prop1,0,"left",effect,0,,,,,,
"Historic", HMcgi+"inf-NationalHistoricTrails",,,1,
"Scenic", HMcgi+"inf-NationalScenicTrails",,,1,
"Discovery", "/not_ready.shtml",,,1,
"Recreation", "/not_ready.shtml",,,0
]
// Information / Other Trails;
menu8=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Long Distance", "show-menu9",,,1,
"Millennium", "http://www.millenniumtrails.org/mt_active_pages/Nmt/main.asp",,,1,
"Other", "/not_ready.shtml",,,0
]
// Information / Other Trails / Long Distance;
menu9=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Continental Divide Trail", "http://cdtrail.org",,,1,
"North Courtry Trail", "http://www.northcountrytrail.org",,,1,
"Pacific Crest Trail", "http://www.pcta.org",,,1,
"East Coast Greenway Trail", "http://www.greenway.org",,,1,
"American Discovery Trail", "http://discoverytrail.org",,,1,
"Pacific Northwest Trail", "http://www.pnt.org",,,1,
"Appalachian Trail", "http://www.appalachiantrail.org",,,0
]
// News;
menu10=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"eNews", "/news/news-oct-2002.shtml",,,1,
"eNews Archive", "show-menu11",,,1,
"Newsletter", "/news/news.shtml",,,1,
"Newsletter Archive", "show-menu12",,,1,
"Forum", "http://www.greatwesterntrail.org/forum",,,1,
"Message Board", "show-menu13",,,1,
"Members Only", "show-menu14",,,0
]
// News / eNews Archive;
menu11=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"October 2002", "/news/news-oct-2002.shtml",,,1,
"            ", "/not_ready.shtml",,,0
]
// News / Newsletter Archive;
menu12=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"10/2002", "/news/news.shtml",,,1,
"       ", "/not_ready.shtml",,,0
]
// News / Forums;
menu13=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Letters", "",,,1,
"Member Messages", "/members/messages/index.shtml",,,1,
"               ", "/not_ready.shtml",,,0
]
// News / Members Only;
menu14=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Land Use", "/members/land/index.shtml",,,1,
"Letters", "/members/letters/index.shtml",,,1,
"Activities", "/members/activity/index.shtml",,,1,
"GPS Logs", "/members/gps/index.shtml",,,1,
"Photos", "/members/pix/index.shtml",,,1,
"Recipes", "/members/recipe/index.shtml",,,1,
"Kids Show & Tell", "/members/show/index.shtml",,,1,
"Membership", "/register.shtml",,,1,
"BOD", "/members/bod/index.shtml",,,0
]
// Events & Activities;
menu15=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Past", "show-menu16",,,1,
"Present", "show-menu17",,,1,
"Future", "show-menu18",,,0
]
// Events & Activities / Past;
menu16=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Az Bulldog Canyon Dedication 1996", "/desc/AZ_bulldog_canyon.shtml",,,1,
"Millennium Trails", "/not_ready.shtml",,,1,
"2k in Y2k", "/trips/CDSSC-2-2000.shtml",,,1,
"         ", "/not_ready.shtml",,,0
]
// Events & Activities / Present;
menu17=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"        ", "/not_ready.shtml",,,1, 
"        ", "/not_ready.shtml",,,0
]
// Events & Activities / Future;
menu18=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"        ", "/not_ready.shtml",,,1, 
"        ", "/not_ready.shtml",,,0
]
// Programs
menu19=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"SKY", "/not_ready.shtml",,,1, 
"Adopt-A-Trail", "/not_ready.shtml",,,1, 
"Volunteer", "/not_ready.shtml",,,1, 
"Scouts", "/not_ready.shtml",,,1, 
"Store", "/not_ready.shtml",,,0 
]
//  Maps;
menu20=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Trailwide", "/maps/overview.shtml",,,1, 
"Arizona", "/maps/arizona.shtml",,,1,
"Idaho", "/maps/idaho.shtml",,,1,
"Montana", "/maps/montana.shtml",,,1,
"Utah", "/maps/utah.shtml",,,1, 
"Wyoming", "/maps/wyoming.shtml",,,1,
"Other", "show-menu19",,,0
]
//  Maps / Others;
menu21=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"USFS", "http://www.fs.fed.us/r4/sawtooth/gwtmaps.htm",,,1, 
"    ", "/not_ready.shtml",,,0
]
//  GWTA;
menu22=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Description", "/not_ready.shtml",,,1,
"National", "/not_ready.shtml",,,1,
"Arizona", "/not_ready.shtml",,,1,
"Idaho", "/not_ready.shtml",,,1,
"Montana", "/not_ready.shtml",,,1,
"Utah", "/not_ready.shtml",,,1,
"Wyoming", "/not_ready.shtml",,,1,
"Partners", "show-menu23",,,1,
"Join Us", "show-menu24",,,1,
"Contact Us", "mailto:info@gwt.org",,,0
]
//  GWTA / Partners;
menu23=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Agency", "/not_ready.shtml",,,1,
"Private", "/not_ready.shtml",,,1,
"Sponsors", "/not_ready.shtml",,,0
]
//  GWTA / Join Us;
menu24=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Membership", "/register.shtml",,,1,
"Sponsorship", "/not_ready.shtml",,,1,
"Advertising", "/not_ready.shtml",,,1,
"...........", "/template.shtml",,,0
]

