fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect="Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
effect="Shadow(color='#777777', Direction=135, Strength=5)"
}
effect="fade(duration=.3);Shadow(color='#777777', Direction=135, Strength=5)"
function openwin(url)
{
nwin=window.open(url, "nwin",config="scrollbars=yes,resizable=yes,toolbar=yes,location=yes,status=yes,menubar=yes,");
nwin.focus();
}

_menuCloseDelay=500;
_menuOpenDelay=150;
_scrollAmount=3;
_scrollDelay=20;
_followSpeed=5;
_followRate=40;
_subOffsetTop=0;
_subOffsetLeft=0;


with(style1=new mm_style()){
offcolor="#ffffff";
offbgcolor="#205134";
oncolor="#e4e4e4";
onbgcolor="#205134";
bordercolor="#00000";
borderstyle="solid";
borderwidth=0;
fontsize=12;
fontstyle="normal";
fontweight="normal";
fontfamily="Verdana,Tahoma,Helvetica";
padding=10;
high3dcolor="#ffffff";
low3dcolor="#ffffff";
headerbgcolor="#397F29";
image="";
imagepadding=2;
subimage="";
imagepadding=3;

}

with(milonic=new menuname("mainmenu")){
top=254;
left=2;
itemwidth=98;
screenposition="center";
style=style1;
alwaysvisible=1;
alignment="center";
orientation="vertical";
aI("text=Home;url=default.asp;showmenu=menu1;;status=#;separatorsize=1")

aI("text=See Our Homes on Long Island;url=http://www.ballymore-homes.com/081907slideshows/1/;separatorsize=1")
//aI("text=Upcoming Projects;url=upcomingproject.htm;showmenu=menu1;;status=#;separatorsize=1")
aI("text=Designs & Floorplans;url=design_floor_plan.htm;showmenu=menu1;;;separatorsize=1")
aI("text=Why Choose Ballymore;url=why_choose_ballymore.htm;showmenu=menu2;;;separatorsize=1")
/*aI("text=Gallery of Homes;url=http://excelhomes.com/Gallery/Default.aspx#/?source=ballymore-homes;showmenu=menu4;;status=#;separatorsize=1")*/
//aI("text=Additions;showmenu=menu5;;status=#;separatorsize=1")
aI("text=Directions to our Office;url=directions.htm;showmenu=menu5;;status=#;separatorsize=1")
aI("text=Contact Us;url=contact1.php;showmenu=menu5;;status=#;separatorsize=1")
//aI("text=Options;showmenu=menu5;;status=#;separatorsize=1")
//aI("text=Satisfied Customers;showmenu=menu5;;status=#;separatorsize=1")
/*aI("text=Upcoming Projects;url=news2.htm;showmenu=menu5;;status=#;separatorsize=1")*/
aI("text=Our Manufacturer- Excel Homes;url=http://excelhomes.com;;separatorsize=1")
aI("text=Mortgage Connection;url=financing.htm;showmenu=menu5;;status=#;separatorsize=1")
/*aI("text=Upcoming Projects;url=upcomingproject.htm;showmenu=menu1;;status=#;separatorsize=1")*/
}

with(milonic=new menuname("menu1")){
itemwidth=120;
style=style1;
alignment="left";
//aI("text=Events;url=http://www.ballymore-homes.com/events.asp;;separatorsize=1")
//aI("text=Profile;url=http://www.ballymore-homes.com/about.htm;;separatorsize=1")
//aI("text=Contacts;url=http://www.ballymore-homes.com/contact.htm;;separatorsize=1")
//aI("text=News;url=http://www.ballymore-homes.com/news.htm;;separatorsize=1")
//aI("text=News Archive;url=http://www.ballymore-homes.com/news_archive.htm;;separatorsize=1")
//aI("text=Employment;url=http://www.ballymore-homes.com/employment.htm;;separatorsize=1")
//aI("text=Directions;url=http://www.ballymore-homes.com/directions.htm;;separatorsize=1")
}

with(milonic=new menuname("menu2")){
itemwidth=160;
style=style1;
alignment="left";
//aI("text=Gallery;url=http://www.ballymore-homes.com/gallery.htm;;separatorsize=1")
//aI("text=New Homes;url=http://www.ballymore-homes.com/new_homes.htm;;separatorsize=1")
//aI("text=Cutler Collection;url=http://www.ballymore-homes.com/cutler.htm;;separatorsize=1")
//aI("text=Additons;url=http://www.ballymore-homes.com/second_story_additions.htm;;separatorsize=1")
//aI("text=Floorplans;url=http://www.ballymore-homes.com/floorplans.htm;;separatorsize=1")
//aI("text=Options;url=http://www.ballymore-homes.com/options.htm;;separatorsize=1")
//aI("text=Construction Method;url=http://www.ballymore-homes.com/factory_built.htm;;separatorsize=1")
}

with(milonic=new menuname("menu3")){
itemwidth=120;
style=style1;
alignment="left";
//aI("text=Hicksville;url=http://www.ballymore-homes.com/hicksville.htm;;separatorsize=1")
//aI("text=Seacliff;url=http://www.ballymore-homes.com/seacliff.htm;;separatorsize=1")
//aI("text=Bradford;url=http://www.ballymore-homes.com/bradford1.htm;;separatorsize=1")
//aI("text=Atlantic Beach;url=http://www.ballymore-homes.com/atlantic_beach.htm;;separatorsize=1")
//aI("text=Matinicock;url=http://www.ballymore-homes.com/matinicock.htm;;separatorsize=1")
//aI("text=Pallisade;url=http://www.ballymore-homes.com/pallisade.htm;;separatorsize=1")
//aI("text=Majestic;url=http://www.ballymore-homes.com/majestic.htm;;separatorsize=1")
}

with(milonic=new menuname("menu4")){
itemwidth=120;
style=style1;
alignment="left";
//aI("text=FAQ's;url=http://www.ballymore-homes.com/faqs.htm;;separatorsize=1")
//aI("text=Financing;url=http://www.ballymore-homes.com/financing.htm;;separatorsize=1")
//aI("text=Architects;url=http://www.ballymore-homes.com/info.htm;;separatorsize=1")
}

with(milonic=new menuname("menu5")){
itemwidth=115;
style=style1;
//aI("text=Haven;url=http://www.havenhomes.com?source=ballymore-homes;;separatorsize=1")
//aI("text=Wells Fargo;url=http://www.frontpagelab.com/identity8/ballymore/efault.asp;;separatorsize=1")
//aI("text=Anderson;url=http://www.andersenwindows.com?source=ballymore-homes;;separatorsize=1")
//aI("text=Smithtown Appliance;url=http://www.frontpagelab.com/identity8/ballymore/;;separatorsize=1")
}
drawMenus();
//////////////////////////////////
// Editable properties END here //
//////////////////////////////////