

_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=0            // The time delay before menus open on mouse over
_subOffsetTop=0	             // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset
winWidth=(((document.all?document.body.clientWidth:window.innerWidth)-780)/2);


with(menuStyle=new mm_style()){
onbgcolor="#003399";
oncolor="#CCFFFF";
offbgcolor="#003399";
offcolor="#FFFFFF";
bordercolor="#003399";
borderstyle="solid";
borderwidth=1;
separatorcolor="#003399";
separatorsize="1";
padding=3;
fontsize="10";
fontstyle="normal";
fontweight="bold";
fontfamily="Verdana, Tahoma, Arial";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="fade(duration=0.3);Shadow(color='#777777', Direction=135, Strength=5)";
}

with(SubMenuStyle=new mm_style()){
onbgcolor="#CCCCCC";
oncolor="#000000";
offbgcolor="#F1F1F1";
offcolor="#000000";
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
separatorcolor="#999999";
separatorsize="1";
padding=3;
fontsize="10";
fontstyle="normal";
fontweight="normal";
subimage="images/sidearrow.gif";
subimagepadding="5";
fontfamily="Verdana, Tahoma, Arial";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="fade(duration=0.3);Shadow(color='#777777', Direction=135, Strength=5)";
}



with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=105;
left=winWidth;
alwaysvisible=1;
orientation="horizontal";
aI("text=Our Organization <img src=\"images/downarrowr1.gif\" align=absmiddle border=0 width=60 height=10\>;showmenu=Organization");
aI("text=Our Work <img src=\"images/downarrowr1.gif\" align=absmiddle border=0 width=60 height=10\>;showmenu=Work;");
aI("text=Our Supporters <img src=\"images/blanknoarrow.gif\" align=absmiddle border=0 width=60 height=10\>;showmenu=supporters;");
aI("text=To Donate <img src=\"images/blanknoarrow.gif\" align=absmiddle border=0 width=60 height=10\>;showmenu=donate;");
aI("text=Photo Gallery <img src=\"images/blanknoarrow.gif\" align=absmiddle border=0 width=60 height=10\>;showmenu=gallery;");
}

with(milonic=new menuname("Organization")){
style=SubMenuStyle;
itemwidth=180;
aI("text=What's New;url=index.php?page=whatsnew;");
aI("text=About Us;url=index.php?page=aboutus;");
aI("text=Mission Statement;url=index.php?page=mission;");
aI("text=CAMTA In The Media;url=index.php?page=media;");
aI("text=Links;url=index.php?page=links;");
aI("text=Contact Us;url=index.php?page=contactus;");
}

with(milonic=new menuname("Work")){
style=SubMenuStyle;
itemwidth=180;
aI("text=CAMTA Blog;url=http://www.camta.blogspot.com/;");
aI("text=Patient Stories;showmenu=Stories;");
aI("text=Quito 2007;url=index.php?page=Quito2007;");
aI("text=Quito 2006;url=index.php?page=Quito2006;");
aI("text=Quito 2005;url=index.php?page=Quito2005;");
aI("text=History;url=index.php?page=history;");
}

with(milonic=new menuname("Stories")){
style=SubMenuStyle;
itemwidth=180;
aI("text=Paula;url=index.php?page=paula;");
aI("text=Christina;url=index.php?page=christina;");
aI("text=Maria Q;url=index.php?page=mariaq;");
aI("text=Edison;url=index.php?page=edison;");
aI("text=Luis;url=index.php?page=luis;");
aI("text=Maria;url=index.php?page=maria;");
aI("text=Virginia;url=index.php?page=virginia;");
aI("text=Marcia;url=index.php?page=marcia;");
aI("text=Jorge;url=index.php?page=jorge;");
}

with(milonic=new menuname("supporters")){
style=SubMenuStyle;
itemwidth=180;
aI("text=Financial Donors;url=index.php?page=sponsors1;");
aI("text=In-Kind Donors;url=index.php?page=sponsors2;");
aI("text=Fundraising Events;url=index.php?page=fundraisers;");
aI("text=Members;url=index.php?page=members;");
}

with(milonic=new menuname("donate")){
style=SubMenuStyle;
itemwidth=180;
aI("text=Personal Donation;url=personal.php;");
aI("text=Corporate Donation;url=corporate.php;");
aI("text=Donation Forms;url=index.php?page=donationforms;");
}

with(milonic=new menuname("gallery")){
style=SubMenuStyle;
itemwidth=180;
aI("text=Quito Mission;url=/galleries/QUITO 2004/index.html;");
aI("text=Our Friends;url=/galleries/OUR FRIENDS/index.html;");
aI("text=Faces of Ecuador;url=/galleries/FACES OF ECUADOR/index.html;");
}

drawMenus();

