function init()
{
	menus[0] = new menu(40, "horizontal", 20, 8, 1, 0,  "img:nav_images/background1.jpg", 
								"img:nav_images/background1.jpg", 
								"Arial", 8,
								"bold", 
								"bold",
								"black",
								"#d03732",
								 3, 
								"#ffffff",
								 1,
								"",
								 false,
								 true,
								 true,
								 false,
								 0,
								 true,
								 0,
								 0,
								 "gray"
);
	
function getUrlVars()
{
    var vars = [], hash;
    var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');

    for(var i = 0; i < hashes.length; i++)
    {
        hash = hashes[i].split('=');
        vars.push(hash[0]);
        vars[hash[0]] = hash[1];
    }

    return vars;
}

var hash = getUrlVars();
//alert(hash['switch']); 
//print (hash['switch']); 


	menus[0].addItem("http://gogaywesthollywood.com/index.php?switch="+(hash['switch'])+"","", 160, "CENTER", "<img src=/images/goGayWestHollywood-2008/home.gif width=160 height=37  >", 	0);
	menus[0].addItem("http://gogaywesthollywood.com/visitor-info/index.php?switch="+(hash['switch'])+"","", 182, "CENTER", "<img src=/images/goGayWestHollywood-2008/visitorsinfo.gif width=182 height=37 >", 	1);
	menus[0].addItem("http://gogaywesthollywood.com/calendar/index.php?switch="+(hash['switch'])+"","", 200, "CENTER", "<img src=/images/goGayWestHollywood-2008/citycalendar.gif width=200 height=37 >", 	0);
	menus[0].addItem("http://gogaywesthollywood.com/directory/index.php?switch="+(hash['switch'])+"","", 200, "CENTER", "<img src=/images/goGayWestHollywood-2008/wehodirectory.gif width=200 height=37 >",3);
 	menus[0].addItem("http://gogaywesthollywood.com/weddingandhoneymoons.php?switch="+(hash['switch'])+"","", 200, "CENTER", "<img src=/images/goGayWestHollywood-2008/communityresources.gif width=200 height=37 >", 	5);
	menus[0].floatMenu(1024, 608, 0, 0);
	
	menus[5] = new menu(200, "vertical", 20, 0, -5, -5, "#E5E5E5", "#ffa300", "Arial", 8, "bold", "bold", "black", "white", 1, "#cccccc", 1, 187, false, false, false, false, 0, true, 0, 0, "gray");
		/// SUBMENUS	
	menus[5].addItem("http://gogaywesthollywood.com/weddings/specials.php?switch="+(hash['switch'])+"", "", 20, "left", "SPECIAL PACKAGES", 0);
	menus[5].addSeparator(1, "#ffa300");
	menus[5].addItem("http://gogaywesthollywood.com/weddings/events_planner.php?switch="+(hash['switch'])+"", "", 20, "left", "EVENT PLANNER RESOURCES", 0);
	menus[5].addSeparator(1, "#ffa300");
	menus[5].addItem("http://gogaywesthollywood.com/weddings/news.php?switch="+(hash['switch'])+"", "", 20, "left", "NEWS", 0);
	menus[5].addSeparator(3, "#ffa300");

	
	menus[1] = new menu(182, "vertical", 20, 0, -5, -5, "#E5E5E5", "#d03732", "Arial", 8, "bold", "bold", "black", "white", 1, "#cccccc", 1, 187, false, false, false, false, 0, true, 0, 0, "gray");
	/// SUBMENUS
	menus[1].addItem("http://gogaywesthollywood.com/visitor-info/about_weho.php?switch="+(hash['switch'])+"", "", 20, "left", "WEST HOLLYWOOD", 0);
	menus[1].addSeparator(1, "#d03732");
	menus[1].addItem("http://gogaywesthollywood.com/visitor-info/travel_guide.php?switch="+(hash['switch'])+"", "", 20, "left", "TRAVEL GUIDE", 0);
	menus[1].addSeparator(1, "#d03732");
	menus[1].addItem("http://gogaywesthollywood.com/visitor-info/accomodations.php?switch="+(hash['switch'])+"", "", 20, "left", "ACCOMMODATIONS", 0);
	menus[1].addSeparator(1, "#d03732");
	menus[1].addItem("http://gogaywesthollywood.com/visitor-info/map.php?switch="+(hash['switch'])+"", "", 20, "left", "MAP", 0);
	menus[1].addSeparator(1, "#d03732");
	menus[1].addItem("http://gogaywesthollywood.com/visitor-info/annual_events.php?switch="+(hash['switch'])+"", "", 20, "left", "ANNUAL EVENTS", 0);
	menus[1].addSeparator(3, "#d03732");
	
	
	menus[2] = new menu(200, "vertical", 20, 0, -5, -5, "#E5E5E5", "#2564c5", "Arial", 8, "bold", "bold", "black", "white", 1, "#cccccc", 1, 187, false, false, false, false, 0, true, 0, 0, "gray");
	/// SUBMENUS
	menus[2].addItem("http://gogaywesthollywood.com/calendar/index.php?switch="+(hash['switch'])+"&cal_WD=MONDAY",	"", 20, "left", "MONDAY", 	0);	
	menus[2].addSeparator(1, "#888888");
	menus[2].addItem("http://gogaywesthollywood.com/calendar/index.php?switch="+(hash['switch'])+"&cal_WD=TUESDAY", "", 20, "left", "TUESDAY", 0);
	menus[2].addSeparator(1, "#888888");
	menus[2].addItem("http://gogaywesthollywood.com/calendar/index.php?switch="+(hash['switch'])+"&cal_WD=WEDNESDAY", "", 20, "left", "WEDNESDAY", 0);
	menus[2].addSeparator(1, "#888888");
	menus[2].addItem("http://gogaywesthollywood.com/calendar/index.php?switch="+(hash['switch'])+"&cal_WD=THURSDAY", "", 20, "left", "THURSDAY", 0);
	menus[2].addSeparator(1, "#888888");	
	menus[2].addItem("http://gogaywesthollywood.com/calendar/index.php?switch="+(hash['switch'])+"&cal_WD=FRIDAY", "", 20, "left", "FRIDAY", 0);
	menus[2].addSeparator(1, "#888888");	
	menus[2].addItem("http://gogaywesthollywood.com/calendar/index.php?switch="+(hash['switch'])+"&cal_WD=SATURDAY", "", 20, "left", "SATURDAY", 0);
	menus[2].addSeparator(1, "#888888");	
	menus[2].addItem("http://gogaywesthollywood.com/calendar/index.php?switch="+(hash['switch'])+"&cal_WD=SUNDAY", "", 20, "left", "SUNDAY", 0);
	menus[2].addSeparator(1, "#888888");			


	menus[3] = new menu(200, "vertical", 20, 0, -5, -5, "#E5E5E5", "#5eb419", "Arial", 8, "bold", "bold", "black", "white", 1, "#cccccc", 1, 187, false, false, false, false, 0, true, 0, 0, "gray");
	/// SUBMENUS
	menus[3].addItem("http://gogaywesthollywood.com/directory/the_boulevard.php?switch="+(hash['switch'])+"", "", 20, "left", "THE BOULEVARD", 0);
	menus[3].addSeparator(1, "#888888");
	menus[3].addItem("http://gogaywesthollywood.com/directory/avenues_of_art_design.php?switch="+(hash['switch'])+"", "", 20, "left", "AVENUES OF ART & DESIGN", 0);
	menus[3].addSeparator(1, "#888888");	
	menus[3].addItem("http://gogaywesthollywood.com/directory/sunset_strip.php?switch="+(hash['switch'])+"", "", 20, "left", "SUNSET STRIP", 0);	
	menus[3].addSeparator(1, "#888888");
	menus[3].addItem("http://gogaywesthollywood.com/directory/dining.php?switch="+(hash['switch'])+"", "", 20, "left", "DINING", 0);
	menus[3].addSeparator(1, "#888888");
	menus[3].addItem("http://gogaywesthollywood.com/directory/nightlife.php?switch="+(hash['switch'])+"", "", 20, "left", "NIGHTLIFE", 0);
	menus[3].addSeparator(1, "#888888");
	menus[3].addItem("http://gogaywesthollywood.com/directory/shopping.php?switch="+(hash['switch'])+"", "", 20, "left", "SHOPPING", 0);
	menus[3].addSeparator(1, "#888888");
	menus[3].addItem("http://gogaywesthollywood.com/directory/fitness.php?switch="+(hash['switch'])+"", "", 20, "left", "SPAS, FITNESS & BEAUTY", 0);
	menus[3].addSeparator(3, "#5eb419");
 
 
	menus[4] = new menu(280, "vertical", 20, 0, -5, -5, "#E5E5E5", "#ffa300", "Arial", 8, "bold", "bold", "black", "white", 1, "#cccccc", 1, 187, false, false, false, false, 0, true, 0, 0, "gray");
		/// SUBMENUS
	menus[4].addItem("http://en.wikipedia.org/wiki/West_Hollywood,_California", "", 20, "left", "WEST HOLLYWOOD ON WIKIPEDIA", 0);
	menus[4].addSeparator(1, "#888888");
	menus[4].addItem("http://gaytravel.about.com/od/gaycaliforniadestinations/p/WeHo_profile.htm", "", 20, "left", "WEST HOLLYWOOD GAY TRAVEL ", 0);
	menus[4].addSeparator(1, "#888888");
	menus[4].addItem("http://laglc.convio.net/site/PageServer", "", 20, "left", "LA GAY & LESBIAN CENTER ", 0);
	menus[4].addSeparator(1, "#888888");
	menus[4].addItem("http://www.laglcc.org/", "", 20, "left", "CHAMBER OF COMMERCE ", 0);
	menus[4].addSeparator(1, "#888888");
	menus[4].addItem("http://www.lapride.org/", "", 20, "left", "LOS ANGELES PRIDE FESTIVAL ", 0);
	menus[4].addSeparator(1, "#888888");
	menus[4].addItem("http://www.outfest.org/", "", 20, "left", "GAY & LESBIAN FILM FESTIVAL ", 0);
	menus[4].addSeparator(1, "#888888");
	menus[4].addItem("http://www.weho.org/", "", 20, "left", "WEST HOLLYWOOD CITY HALL ", 0);
	menus[4].addSeparator(1, "#888888");
	menus[4].addItem("http://www.sportsoutloud.com/", "", 20, "left", "SPORTS OUT LOUD MAGAZINE ", 0);
	menus[4].addSeparator(1, "#888888");
	menus[4].addItem("http://www.frontierspublishing.com/mag/", "", 20, "left", "FRONTIERS MAGAZINE ", 0);
	menus[4].addSeparator(1, "#888888");
	menus[4].addItem("http://www.inlamag.com/1018/index.html", "", 20, "left", "IN LOS ANGELES MAGAZINE ", 0);
	menus[4].addSeparator(1, "#888888");
	menus[4].addItem("http://www.projectangelfood.org", "", 20, "left", "PROJECT ANGEL FOOD ", 0);
	menus[4].addSeparator(1, "#888888");
	menus[4].addItem("http://www.aidforaids.net/index1.html", "", 20, "left", "AID FOR AIDS ", 0);
	menus[4].addSeparator(1, "#888888");
	menus[4].addItem("http://www.candidatefive.com/", "", 20, "left", "CANDIDATE FIVE - CAREER RECRUITING ", 0);
	menus[4].addSeparator(3, "#ffa300");


}