//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=1200
followspeed=10
followrate=10
suboffset_top=2;
suboffset_left=-4;


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

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 = "9f1e32";
var MM_Off_Back_Color = "ded1b1";
var MM_On_Font_Color = "ffffff";
var MM_On_Back_Color = "9f1e32";
var MM_Border_Color = "006d78";
var MM_width = 120;

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
10,							// 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"
"Home", HMcgi+"/index&template=NULL",,,1,
"General Info", "show-menu2",,,1, 
"Tariff Book", "show-menu3",,,1, 
"Processes", "show-menu4",,,1, 
"VIP Access", "/login/index.html",,,0
]

// General Info
menu2=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"About Us", HMcgi+"introduction",,,1, 
"Personnel", HMcgi+"phx-staff",,,1,
"Valley of The Sun", HMcgi+"phx-destination",,,1,
"Phoenix Points of Pride", HMcgi+"phx-points-of-pride",,,1,
"Phoenix Events", HMcgi+"phx-special-events",,,1,
"Contact Us", HMcgi+"phx-contacts",,,0
]

// Tarriff Book
menu3=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Contents", HMcgi+"phx-toc",,,1,
"Room Gifts", HMcgi+"room-gifts",,,1,
"Transportation", HMcgi+"meet-greet",,,1,
"Sightseeing", "show-menu5",,,1,
"Recreation", "show-menu6",,,1,
"Team Building", "show-menu7",,,1,
"Spouse Programs", "show-menu8",,,1,
"Themed Events", "show-menu9",,,1,
"More Events...", "show-menu11",,,1,
"Hotel Theme Parties", "show-menu10",,,0
]

// Processess
menu4=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"Manage Proposals", HMcgi3+"&page=proposals&act=select",,,1,
"Document Exchange", HMcgi2,,,0
]

// Sightseeing
menu5=[,,MM_width,1,,prop1,0,"left",effect,0,,,,,,
"Arabian Ranch ", HMcgi+"tour-arabian",,,1,
"Architects of the Southwest", HMcgi+"tour-architects",,,1,
"Artist Studio", HMcgi+"tour-artists",,,1,
"Desert Botanical Garden / Heard Museum", HMcgi+"tour-dbgarden-heardmuseum",,,1,
"Desert Botanical Garden-Cactus Garden Workshop", HMcgi+"tour-desbot-with-cat-gard",,,1,
"Grand Canyon", HMcgi+"tour-grandcanyon",,,1,
"Sedona", HMcgi+"tour-sedona",,,1,
"Valley Highlights ", HMcgi+"tour-valley-highlights",,,1,
"Ultimate Theatre Tour", HMcgi+"tour-ultimate theatre",,,1,
"Valley of the Sun Shopping Spree", HMcgi+"tour-valley-shopping",,,0
]

// Recreation
menu6=[,,MM_width+40,1,"",prop1,,"",effect,,,,,,,
"Bondurant School / High Performance Driving", HMcgi+"rec-hp-driving",,,1,
"City Slickers Excursion", HMcgi+"rec-city-slickers",,,1,
"Fishing", HMcgi+"rec-fishing",,,1,
"Flatwater Rafting", HMcgi+"rec-flat-rafting",,,1,
"Flatwater Rafting Rally", HMcgi+"rec-flat-rafting-rally",,,1,
"Golf Information", HMcgi+"rec-golf-info",,,1,
"Hiking", HMcgi+"rec-hiking",,,1,
"Horseback Riding", HMcgi+"rec-horseback",,,1,
"Desert Storm Hummer Tour", HMcgi+"rec-hummer",,,1,
"4-Wheel Desert Tour", HMcgi+"rec-4wd",,,1,
"4-Wheel Desert Rally", HMcgi+"rec-4wd-rally",,,1,
"Mountain Biking", HMcgi+"rec-mtn-bike",,,1,
"Soaring", HMcgi+"rec-soaring",,,1,
"Trap and Skeet Shooting", HMcgi+"rec-trap-skeet",,,1,
"Turf Paradise - Afternoon at the Horse Races", HMcgi+"rec-horse-races",,,0
]

// Team Building
menu7=[,,MM_width,1,"",prop1,,"left",effect,,,,,,,
"City Snickers", HMcgi+"team-city-snickers",,,1,
"Chili Cook-Off", HMcgi+"team-chili",,,1,
"Covered Wagon", HMcgi+"team-covered",,,1,
"Horse to Heart", HMcgi+"team-horse",,,1, 
"Softball Tournament", HMcgi+"team-ballgame",,,1,
"Tee-Pee Building", HMcgi+"team-Tee-Pee",,,1,
"TV Trivia", HMcgi+"team-couch",,,0
]

// Spouse Programs
menu8=[,,MM_width+40,1,"",prop1,,"left",effect,,,,,,,
"Arizona Johnson Photo Class", HMcgi+"spouse-johnson-photo",,,1,
"Create Your Own Cactus Garden", HMcgi+"spouse-cactus-garden",,,1,
"Day of Beauty", HMcgi+"spouse-beauty",,,1,
"Art of Jewelry", HMcgi+"spouse-artofjew",,,1,
"Desert Survival", HMcgi+"spouse-desert-survival",,,1,
"Designer Fashion Show", HMcgi+"spouse-fashion-show",,,1,
"Estelle!", HMcgi+"spouse-estelle",,,1,
"Executive Safety Seminar", HMcgi+"spouse-executive-safety",,,1,
"Feng Shui", HMcgi+"spouse-feng-shui",,,1,
"The Feel of Clay", HMcgi+"spouse-feel-of-clay",,,1,
"Wine and Dine Luncheon", HMcgi+"spouse-wine-dine",,,0
]

// Themed Events
menu9=[,,MM_width+40,1,"",prop1,,"left",effect,,,,,,,
"Arabian Ranch Tour", HMcgi+"events-arabian-ranch",,,1,
"Arizona Nights Southwestern Sojourn", HMcgi+"events-arizona-nights",,,1,
"Art & Cuisine Walk", HMcgi+"events-art-walk",,,1,
"Bentley Gallery", HMcgi+"events-bentley",,,1,
"Best Chef of the Southwest, Food & Wine Feast", HMcgi+"events-best-chef",,,1,
"Day at the Ranch", HMcgi+"events-day-at-ranch",,,1,
"Different Pointe of View", HMcgi+"events-pointe",,,1,
"Dine Around Information", HMcgi+"events-dine-around",,,1,
"Desert Elegance", HMcgi+"events-desert-elegance",,,1,
"Gameworks", HMcgi+"events-gameworks",,,1,
"Grayhawk Golf Club", HMcgi+"events-grayhawk",,,1,
"Heard Museum", HMcgi+"events-heard",,,0
]

// Hotel Theme Parties
menu10=[,,MM_width+50,1,"",prop1,,"left",effect,,,,,,,
"Carnival", HMcgi+"hotel-tp-carnival",,,1,
"Casino Night", HMcgi+"hotel-tp-casino",,,1,
"Cattle Baron's Club", HMcgi+"hotel-tp-cattle",,,1,
"Celestial Celebration", HMcgi+"hotel-tp-celestial-celebration",,,1,
"Desert Starlights", HMcgi+"hotel-tp-desert-star",,,1,
"Fire and Ice", HMcgi+"hotel-tp-fire-ice",,,1,
"Glow Lounge", HMcgi+"hotel-tp-glow lounge",,,1,
"Native Spirits", HMcgi+"hotel-tp-native-spirits",,,1,
"Salsa Sensation", HMcgi+"hotel-tp-salsa-sensation",,,1,
"Sports Spectacular", HMcgi+"hotel-tp-sports-spec",,,1,
"Symbols of the Southwest", HMcgi+"hotel-tp-southwest",,,1,
"Tropical Tiki", HMcgi+"hotel-tp-tiki",,,1,
"Tuxedo Lounge", HMcgi+"hotel-tp-tuxedo",,,1,
"Wild West", HMcgi+"hotel-tp-wildwest",,,1,
"Entertainment", HMcgi+"hotel-tp-entertainment",,,0
]

// More Theme Parties
menu12=[,,MM_width+50,1,"",prop1,,"left",effect,,,,,,,
"Sports Bar", HMcgi+"hotel-tp-sports-bar",,,1,
"Arizona Wrangler Round-Up", HMcgi+"hotel-tp-ariz-wrangler-roundup",,,1,
"Magical Celestial Nights", HMcgi+"hotel-tp-magical-celestial-nights",,,1,
"Scat Cat Swing Evening", HMcgi+"hotel-tp-scat-cat",,,1,
"Additional Theme Party Suggestions", HMcgi+"hotel-tp-other",,,1,
"Entertainment", HMcgi+"hotel-tp-entertainment",,,0
]

// More Themed Events 
menu11=[,,MM_width+40,1,"",prop1,,"left",effect,,,,,,,
"Mexican Rodeo", HMcgi+"events-mexican-rodeo",,,1,
"Penske Racing Museum", HMcgi+"events-penske",,,1,
"Professional Rodeo", HMcgi+"events-prof-rodeo",,,1,
"Evening at the Races", HMcgi+"events-evening-at-races",,,1,
"Taliesin West", HMcgi+"events-taliesin",,,1,
"USO Party", HMcgi+"events-uso-party",,,1,
"The Venue of Scottsdale", HMcgi+"events-venue-of-scottsdale",,,1,
"Western Cookout", HMcgi+"events-west-cookout",,,1,
"Wrigley Mansion", HMcgi+"events-wrigley",,,1,
"Zoofari", HMcgi+"events-zoofari",,,0
]


