/*
Filename: pulldown_menus.js
Desc:     Pulldown menu definitions for Riverwood
Author:   Relevant Arts Enterprise, Inc. <http://www.relevantarts.com/>
          John A. Lock <jlock@relevantarts.com>
Created:  2006-Aug-10
Modified: 
*/

fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=150;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

// Set some default values
var RealWidth = 0;

// Get the actual window width depending on browser
(navigator.appName.indexOf("Netscape") != -1) ? RealWidth = window.innerWidth + 6 : RealWidth = document.body.scrollWidth;

commonY = 127;
companyX = ((RealWidth - 756) / 2) + 220;
if (companyX < 3) { companyX = 220 }
retailX = companyX + 103;
availX = retailX + 141;

with(DefaultStyle=new mm_style()){
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#004F76";
offcolor="#FFFFFF";
onbgcolor="#F7943D";
oncolor="#FFFFFF";
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana,Arial,Helvetica";
fontsize="12";
fontstyle="normal";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Alpha(opacity=75)";
padding=2;
//pagebgcolor="#82B6D7";
//pagecolor="black";
//separatorcolor="#999999";
//separatorsize=1;
//subimage="img/white_arrow.gif";
//subimagepadding=2;
}

with(milonic=new menuname("company_menu")){
top=commonY;
left=companyX;
style=DefaultStyle;
aI("text=Home;url=index.html;");
aI("text=About the Company;url=company.html;");
aI("text=Professional Profile;url=professional.html;");
}

with(milonic=new menuname("retail_menu")) {
top=commonY;
left=retailX;
style=DefaultStyle;
overflow="scroll";
aI("text=All Retail Centers;url=centers.html;");
//aI("text=Albany Square;url=centers.html#albanysquare;");
aI("text=Austell Promenade;url=centers.html#austellprome;");
aI("text=Billingsley Promenade;url=centers.html#billingsleyp;");
aI("text=Brookfield Promenade;url=centers.html#brookfieldpr;");
aI("text=Camp Creek Station;url=centers.html#campcreeksta;");
aI("text=Canton Mill Commons;url=centers.html#cantonmillco;");
aI("text=Cascade Promenade;url=centers.html#cascadeprome;");
aI("text=Cherrydale Hollywood Video Center;url=centers.html#cherrydalepo;");
aI("text=Cumming Festival;url=centers.html#cummingfesti;");
aI("text=Cumming Promenade;url=centers.html#cummingprome;");
aI("text=Dawsonville Commons;url=centers.html#dawsonvillec;");
aI("text=Dawsonville Promenade;url=centers.html#dawsonvillep;");
aI("text=Douglasville Promenade;url=centers.html#dvillepromen;");
aI("text=Eagle Plaza;url=centers.html#eagleplaza;");
aI("text=Eastern Shore Promenade;url=centers.html#easternshore;");
aI("text=Five Forks Promenade;url=centers.html#fiveforkspro;");
aI("text=Greenwood Promenade;url=centers.html#greenwoodpro;");
aI("text=Hickory Flat;url=centers.html#hickoryflat;");
aI("text=Hudson Bridge Pavilion;url=centers.html#hudsonbridge;");
aI("text=Indian Trail Center;url=centers.html#indiantrailc;");
aI("text=Just Brakes;url=centers.html#justbrakes;");
aI("text=Lakeshore Station;url=centers.html#lakeshoresta;");
aI("text=Loganville Promenade;url=centers.html#loganvillepr;");
aI("text=McDonough Promenade;url=centers.html#mcdonoughpro;");
aI("text=Merchant's Crossing;url=centers.html#merchantscro;");
aI("text=Mt. Zion Road Center;url=centers.html#mtzionroadce;");
aI("text=Newnan Promenade;url=centers.html#newnanpromen;");
aI("text=Northlake Plaza;url=centers.html#northlakepla;");
aI("text=Old Milton Festival;url=centers.html#oldmiltonfes;");
aI("text=Ponce de Leon Center;url=centers.html#poncedeleonc;");
aI("text=Peachtree City Promenade;url=centers.html#ptreecitypro;");
aI("text=Satellite Commons;url=centers.html#satellitecom;");
aI("text=Satellite Promenade;url=centers.html#satellitepro;");
aI("text=Shoppes of Woodstock;url=centers.html#shoppesofwoo;");
aI("text=Springs Landing;url=centers.html#springslandi;");
aI("text=Springs Promenade;url=centers.html#springsprome;");
aI("text=Sandy Springs Promenade;url=centers.html#sspringsprom;");
aI("text=Texaco Express Lube;url=centers.html#texacoexpres;");
aI("text=Towne Lake Promenade;url=centers.html#townelakepro;");
aI("text=Uptown Square;url=centers.html#uptownsquare;");
aI("text=Viera Shops;url=centers.html#vierashops;");
aI("text=Village II at Locust Grove;url=centers.html#villageiiatl;");
aI("text=Weatherstone Promenade;url=centers.html#weatherstone;");
aI("text=Windward Promenade;url=centers.html#windwardprom;");
}

with(milonic=new menuname("avail_menu")) {
top=commonY;
left=availX;
style=DefaultStyle;
aI("text=Availability Report;url=availability.html;");
aI("text=Southeast Map;url=area_map.html;");
aI("text=Montgomery/Mobile, AL Map;url=map_montgomery.html;");
aI("text=Leesburg, FL Map;url=map_leesburg.html;");
aI("text=Melbourne, FL Map;url=map_melbourne.html;");
//aI("text=Albany, GA Map;url=map_albany.html;");
aI("text=Atlanta, GA Map;url=map_atlanta.html;");
aI("text=Greenville, SC Map;url=map_greenville.html;");
}

drawMenus();
