/*
Milonic DHTML Menu - JavaScript Website Navigation System.
Copyright 2004 (c) Milonic Solutions Limited. All Rights Reserved.
Version 5+ Data File structure is the property of Milonic Solutions Ltd and must only be used in Milonic DHTML Products
This is a commercial software product, please visit http://www.milonic.com/ for more information.
See http://www.milonic.com/license.php for Commercial License Agreement
All Copyright statements must always remain in place in all files at all times
*******  PLEASE NOTE: THIS IS NOT FREE SOFTWARE, IT MUST BE LICENSED FOR ALL USE  *******
*/

fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=2               // Sub menu top offset
_subOffsetLeft=-2             // Sub menu left offset


with(menuStyle=new mm_style()){

	// off link
	offcolor="#336699";
	offbgcolor="#E4E2DD";

	// rollover link
	oncolor="#E48028";
	onbgcolor="#FFFFFF";

	// selected link
	pagecolor="#E48028";
	pagebgcolor="#FFFFFF";

	// menu style
	bordercolor="#666666";
	borderstyle="solid";
	borderwidth=1;
	separatorcolor="#999999";
	separatorsize="1";
	padding="3 20 4 7";

	// menu font
	fontsize="11px";
	fontfamily="Verdana, Arial";
	fontstyle="normal";

	// menu headers (not used)
	headercolor="#000000";
	headerbgcolor="#FFFFFF";

	// nested menus (not used)
	subimage="images/icon/arrow.gif";
	subimagepadding="2";
	overfilter="";
	outfilter="";
}

// HOME MENU
with(milonic=new menuname("homemenu")){
	style=menuStyle;
	top=-1;
	left=0;
//	aI("text=Overview;url=/v2006/overview.jsp;");
//	aI("text=Evaluate;url=/v2006/evaluate.jsp;");
}

// LEARN MENU
with(milonic=new menuname("learnmenu")){
	style=menuStyle;
	top=-1;
	left=0;
	aI("text=About ArcWeb Content;url=/v2006/content.jsp;");
	aI("text=About ArcWeb Capabilities;url=/v2006/capabilities.jsp;");
	aI("text=About ArcWeb Publishers;url=/v2006/publishers.jsp;");
	aI("text=About Help Resources;url=/v2006/help_resources.jsp;");
	aI("text=Use of Data Restrictions;url=/v2006/content/use_of_data.jsp;");
//	aI("text=Industry Guides;url=/v2006/industries.jsp;");
}



// USE MENU
with(milonic=new menuname("usemenu")){
	style=menuStyle;
	top=-1;
	left=0;
	aI("text=Demos;showmenu=usemenu-demos");
	aI("text=Solutions;showmenu=usemenu-solutions");
//	aI("text=Customizable Applications;showmenu=usemenu-custom");
	aI("text=Evaluate;url=/v2006/evaluate.jsp;");
	aI("text=Buy;url=/v2006/buy.jsp;");
}


// USE MENU CREATE SUB-MENU
with(milonic=new menuname("usemenu-demos")){
	style=menuStyle;
	aI("text=Showcase Applications;url=/v2006/solutions/sc.jsp;");
	aI("text=Third-Party;url=/v2006/solutions/3rdparty.jsp;");
}


// USE MENU CREATE SUB-MENU
with(milonic=new menuname("usemenu-solutions")){
	style=menuStyle;
	aI("text=Address Manager;url=/v2006/solutions/manager.jsp;");
	aI("text=ArcWeb Explorer;url=/v2006/solutions/awx.jsp;");
//	aI("text=ArcWeb Logistics;url=/v2006/solutions/logistics.jsp;");
//  aI("text=ArcWeb Toolbar for ArcGIS;url=/v2006/solutions/toolbar.jsp;");
//	aI("text=ArcWeb Viewer;url=/v2006/solutions/viewer.jsp;");
//	aI("text=ArcWeb Wireless;url=/v2006/solutions/wireless.jsp;");
	aI("text=Business Analyst Online;url=/v2006/solutions/business.jsp;");
	aI("text=Map Studio;url=/v2006/solutions/mapstudio.jsp;");
}


// USE MENU CREATE SUB-MENU
with(milonic=new menuname("usemenu-custom")){
	style=menuStyle;
	aI("text=Locator;url=/v2006/solutions/locator.jsp;");
}


// DEVELOP MENU
with(milonic=new menuname("developmenu")){
	style=menuStyle;
	top=-1;
	left=0;
	aI("text=ArcWeb Explorer JavaScript;url=/v2006/develop/awx.jsp;");
	aI("text=ArcWeb Explorer Flex;url=/v2006/develop/flex.jsp;");
	aI("text=REST;url=/v2006/develop/rest.jsp;");
	aI("text=OpenLS;url=/v2006/develop/openls.jsp;");
	aI("text=J2ME Mobile Toolkit;url=/v2006/develop/j2me.jsp;");
	aI("text=ESRI Adapters for IBM WEA LAS;url=/v2006/develop/las.jsp;");
	aI("text=SOAP;url=/v2006/develop/soap.jsp;");
	aI("text=ArcWeb Public Services;url=/v2006/develop/public.jsp;");
	aI("text=ArcWeb Labs;url=/v2006/labs.jsp;");
}


// BUILDER MENU
//with(milonic=new menuname("buildermenu")){
// 	style=menuStyle;
// 	top=-1;
// 	left=0;
// 	aI("text=Browse &amp; Edit;url=/v2006/library/index.do;");
// 	aI("text=Upload Data File;url=javascript:openUploadWin('/v2006/library/builder/uploadStart.do');");
// 	aI("text=Modify Layer;url=javascript:openLayerWin('/v2006/library/builder/layerBrowse.do?ownerType=user');");
// 	aI("text=Create Service;url=/v2006/builder_services.jsp;");
// 	aI("text=Upload Marker;url=javascript:openLibraryUploadIconWin('/v2006/library/library_popup_upload_icon.do');");
//}

// COMMUNITY MENU

with(milonic=new menuname("communitymenu")){
	style=menuStyle;
	top=-1;
	left=0;
	aI("text=ArcWeb News;url=/v2006/community/events.jsp;target=_blank;");
	aI("text=Top 5 FAQS;url=/v2006/community/faq.jsp;target=_blank;");
	aI("text=Important Tips;url=/v2006/community/tip.jsp;target=_blank;");
	aI("text=Solutions and APIs;url=/v2006/community/whatsnew.jsp;target=_blank;");
	aI("text=Feedback;url=/v2006/community/feedback.jsp;target=_blank;");
}

drawMenus();
