/* 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 ******* */ buildAllMenus=1; retainClickValue=0; _menuCloseDelay=500 // The time delay for menus to remain visible on mouse out _menuOpenDelay=500 // The time delay before menus open on mouse over _subOffsetTop=-5 // Sub menu top offset _subOffsetLeft=5 // Sub menu left offset // DEFINE any custom functions next.. /* See: http://www.milonic.com/forum/viewtopic.php?p=14348#14348 for a full explanation */ function mm_changeItemProperty(menuName, itemName, codeRef, newValue, updateDisplay) { menuName = menuName.toLowerCase(); for (i=0; i<_mi.length; i++) if (_mi[i][1].replace(/\ \;/ig,' ') == itemName && _m[_mi[i][0]][1] == menuName) break; if (i == _mi.length) return; _mi[i][codeRef] = newValue; if (updateDisplay) BDMenu(_mi[i][0]); } /* See: http://www.milonic.com/forum/viewtopic.php?t=4853&highlight=type+form for a full explanation */ function mm_changeMenuProperty(menuName, propertyRef, newValue) { var menuNum = getMenuByName(menuName); _m[menuNum][propertyRef] = newValue; BDMenu(menuNum); } // DEFINE the styles used by the various menues & sub menues with(TopMainMenuStyle=new mm_style()){ openonclick=0; closeonclick=1; oncolor="#ffffff"; onborder='0px solid #ffffff'; offcolor="#ffffff"; separatorcolor="#2D729D"; separatorsize="1"; padding=5; fontsize="75%"; fontstyle="normal"; fontfamily="Verdana, Tahoma, Arial"; headercolor="#FBDFB4"; headerbgcolor="none"; bordercolor="none"; } with(TopSubTwoHeaderStyle=new mm_style()){ followscroll=0; openonclick=0; closeonclick=1; fontsize="75%"; fontstyle="normal"; fontfamily="Verdana, Tahoma, Arial"; bgimage="/images/trans_BlueGrey.png"; align="right"; valign="middle"; bordercolor="#FFFFFF"; borderwidth="1px"; borderstyle="solid"; padding="2px"; onborder='0px solid #ffffff'; } with(TopPDFsByDepartmentStyle=new mm_style()){ openonclick=0; closeonclick=1; onbgcolor="#ccffcc"; oncolor="#000000"; offbgcolor="#cccccc"; offcolor="#99061C"; bordercolor="#292B4A"; borderstyle="solid"; borderwidth=1; padding=5; fontsize="12px"; fontstyle="normal"; fontweight="normal"; fontfamily="Verdana, Tahoma, Arial"; headercolor="#FFFFFF"; headerbgcolor="#292B4A"; imagepadding="0 20 0 10"; onborder='0px solid #ffffff'; } with(AdvancedSearchSubTabStyle=new mm_style()){ //closeonclick=1; retainClickValue=1; onbgcolor="#ccffcc"; oncolor="#000000"; offbgcolor="#cccccc"; offcolor="#0000CC"; bordercolor="#292B4A"; borderstyle="solid"; borderwidth=1; padding=5; fontsize="12px"; fontweight="normal"; fontfamily="Verdana, Tahoma, Arial"; headercolor="#FFFFFF"; headerbgcolor="#292B4A"; imagepadding="0 20 0 10"; onborder='0px solid #ffffff'; } /* These are variants of the TopMainMenuStyle */ TopSubOneMainMenuStyle=new copyOf(TopMainMenuStyle); TopSubOneMainMenuStyle.bgimage="/images/trans_BlueGrey.png"; //TopSubOneMainMenuStyle.menubgcolor="#cccccc"; TopSubOneMainMenuStyle.offcolor="#FFFFFF"; TopSubOneMainMenuStyle.offbgcolor="#FFFFFF"; TopSubOneMainMenuStyle.pageborder='1px solid #ffffff';; TopSubOneMainMenuStyle.padding="3 10 3 10"; TopSubOneMainMenuStyle.valign="bottom"; /* These are variants of the TopMainMenuStyle - One layer down */ TopSubTwoMainMenuStyle=new copyOf(TopSubOneMainMenuStyle); TopSubTwoMainMenuStyle.padding=5; TopSubOneMainMenuStyle.bgimage="/images/trans_BlueGrey.png"; TopSubTwoMainMenuStyle.overbgimage="/images/overSubTwoNav_bg.gif"; TopSubTwoMainMenuStyle.pagebgimage="/images/inverseSubTwoNav_bg.gif"; TopSubTwoMainMenuStyle.onbgcolor="none"; TopSubTwoMainMenuStyle.separatoralign="left"; //TopSubTwoMainMenuStyle.separatorwidth="221"; TopSubTwoMainMenuStyle.pageborder="none"; TopSubTwoMainMenuStyle.oncolor="#2847AA"; /* These are variants of the TopMainMenuStyle - Two layers down */ TopSubThreeMainMenuStyle=new copyOf(TopSubOneMainMenuStyle); TopSubThreeMainMenuStyle.openonclick=0; TopSubThreeMainMenuStyle.align="center"; TopSubThreeMainMenuStyle.offcolor="#FBDFB4"; TopSubThreeMainMenuStyle.offbgcolor="#292B4A"; TopSubThreeMainMenuStyle.oncolor="gold"; TopSubThreeMainMenuStyle.onbgcolor="#292B4A"; TopSubThreeMainMenuStyle.bgimage="none"; TopSubThreeMainMenuStyle.bordercolor="#292B4A"; TopSubThreeMainMenuStyle.borderstyle="solid"; TopSubThreeMainMenuStyle.borderwidth=0; TopSubThreeMainMenuStyle.imagepadding="0 15 0 15"; with(milonic=new menuname("Main Menu")){ position="absolute"; style=TopMainMenuStyle; top=62; left=300; alwaysvisible=1; orientation="horizontal"; aI("text=Home;"); aI("text=Board of Directors;"); aI("text=REALTORĀ®s;"); aI("text=REALTORĀ® Offices;"); aI("text=Member Information;"); aI("text=Property Search;"); aI("text=Affiliates;"); aI("text=MLS;"); aI("text=Calendar;"); aI("text=Press Room;"); aI("text=Contact Us;"); aI("text=Document Library;"); } // Simple search with(milonic=new menuname("TopSearch")){ style=TopSubTwoHeaderStyle; screenposition="left"; left="11"; top="91"; itemwidth=578; aI("type=header;rawcss=font-variant:small-caps;text=
Do a simple search of this site ... search every document in every category
;"); aI("openonclick=0;bgimage=/images/solidblue.gif;itemheight=60;text=As an alternative, try out our ADVANCED SEARCH  ;fontsize=75%;align=right;url=/pages/advancedSearch.lasso;"); } // Sub search (advanced) tab with(milonic=new menuname("AdvancedSearch")){ style=AdvancedSearchSubTabStyle; top="offset=68"; itemwidth=577; aI("text=The Advanced Search Form or whatever you're using for advanced search will open here..;align=right;"); } // Example, using TopMyCity of form when "type=header" with(milonic=new menuname("TopMyCity")){ style=TopSubTwoHeaderStyle; screenposition="left"; top="91"; itemwidth=577; //aI("type=header;rawcss=font-variant:small-caps;text=
Our Newsletter...
;"); } drawMenus();