//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);
var CGI = "/cgi/Process.cgi?";
var SSLCGI = "/cgi/Process.cgi?";
var NOCGI = "/";

timegap=1200
followspeed=90
followrate=90
suboffset_top=0;
suboffset_left=10;

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

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

prop1=[						// prop1 is an array of properties you can have as many property arrays as you need
"ffffff",					// Off Font Color
"348b67",					// Off Back Color
"348b67",					// On Font Color
"ffffff",					// On Back Color
"000000",					// Border Color
10,							// Font Size
"normal",					// Font Style 
"bold",					// Font Weight
"Verdana,Tahoma,Helvetica",	// Font
10,							// Padding
"/JavaScript_files/black_right_arrow.gif",				// Sub Menu Image
"0",							// 3D Border & Separator
"ffffff",					// 3D High Color
"000000",					// 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
130,					// Width
0,					// 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
"left",			// Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation
,					// Follow Scrolling - Tells the menu item to follow the user down the screen
, 					// 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        ", NOCGI + "index.shtml",,,1,
     "About Us", NOCGI + "about.shtml",,,1,
     "Our Services", "show-menu3",,,1,
     "Press Releases", "show-menu5",,,1,
     "Request A Proposal", NOCGI + "rfq.shtml",,,0
]

// About Us

menu2=[,,120,1,"",prop1,,"left",effect,,,,,,,
    "Announcements", NOCGI + "about.shtml",,,1,
    "News", "show-menu4",,,1,
    "Chicago Event Calendar", NOCGI + "about.shtml",,,1,
	"Guestbook", NOCGI + "",,,1,
	"", "",,,0
]

//      Our Store
 
menu3=[,,120,1,"",prop1,,"left",effect,,,,,,,
     "Transportation", NOCGI + "transportation.shtml",,,1,
     "Team Events", NOCGI + "teamevents.shtml",,,1,
     "Sporting Events", NOCGI + "sportingevents.shtml",,,1,
     "Water Events", NOCGI + "waterevents.shtml",,,1,
     "Theme Events", NOCGI + "themeevents.shtml",,,1,
     "Gala Events", NOCGI + "galsevents.shtml",,,1,
     "Tours", NOCGI + "tours.shtml",,,1,
     "Other Services", NOCGI + "otherservices.shtml",,,1,
	"", "",,,0
]

// News

menu4=[,,120,1,"",prop1,,"left",effect,,,,,,,
    "Press Releases",  "show-menu5",,,1,
	"", "",,,0
]

// Press Releases

menu5=[,,120,1,"",prop1,0,"left",effect,0,,,,,,
    "10-16-2008", "about.shtml target=press",,,1,
	"12-03-2008","/Press/GeoffPoundsJoinsBeyondChicagoDMC.htm target=press",,,1,
	"", "",,,0
]
