function dm_ext_ruleObjectHide()
{
// Safari detect
   if ((parseInt(navigator.productSub)>=20020000) && (navigator.vendor.indexOf('Apple Computer') != -1) && (navigator.product=='Gecko'))
     return true;
   else
     return false;
} 

var dmObjectsCheck = 1;


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


with(menuStyle=new mm_style()){
bordercolor="#000";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="11px";
fontweight="bold";
fontstyle="normal";
onbold=1;
offbold=1;
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="";
offcolor="#a26933";
oncolor="#bb7635";
padding=0;
pagebgcolor="";
pagecolor="";
separatorcolor="#000";
separatorsize=0;
subimagepadding=0;
textalign="right";
letterspacing=4;
}


with(submenuStyle=new mm_style()){
bordercolor="#000";
borderstyle="solid";
borderwidth=0;
headercolor="#a02008";
fontfamily="Verdana, Tahoma, Arial";
fontsize="11px";
fontweight="bold";
fontstyle="normal";
onbold=1;
offbold=1;
offbgcolor="#000";
offcolor="#ffcc66";
onbgcolor="000";
oncolor="#a26933";
outfilter="Fade(duration=0.1);Alpha(opacity=90);";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="";
separatorcolor="#000";
separatorsize=0;
textalign="left";
}

with(HeadersStyle=new mm_style()){
bordercolor="#000";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="11px";
fontweight="bold";
fontstyle="normal";
onbold=1;
offbold=1;
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#000";
offcolor="#a26933";
onbgcolor="#000";
oncolor="#bb7635";
padding=8;
separatorcolor="#000";
separatorsize=0;
subimagepadding=0;
textalign="right";
}



with(higherlevelStyle=new mm_style()){
bordercolor="#000";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="11px";
fontweight="bold";
fontstyle="normal";
onbold=1;
offbold=1;
offbgcolor="#000";
offcolor="#a02008";
onbgcolor="000";
oncolor="#a26933";
outfilter="Fade(duration=0.1);Alpha(opacity=90);";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="";
separatorcolor="#000";
separatorsize=0;
textalign="left";
}

with(milonic=new menuname("Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
aI("text=HOME&nbsp;&nbsp;&nbsp;&nbsp;url=http://www.johnchianelli.com/index.html;");
aI("showmenu=About;text=ABOUT&nbsp;&nbsp;&nbsp;&nbsp;");
aI("showmenu=Galleries;text=GALLERIES&nbsp;&nbsp;&nbsp;&nbsp;");
aI("showmenu=Events;text=EVENTS&nbsp;&nbsp;&nbsp;&nbsp;");
aI("text=LINKS&nbsp;&nbsp;&nbsp;&nbsp;url=http://www.johnchianelli.com/cgi-bin/DJlinks.cgi?TEMPLATE=links.html;");
aI("showmenu=Contact;text=CONTACT;")
}


with(milonic=new menuname("About")){
style=submenuStyle;
aI("text=BIOGRAPHY;url=http://www.johnchianelli.com/bio.html;menustyle=higherlevelStyle;")
aI("text=ARTIST STATEMENTS;type=header;")
aI("text=&nbsp;&nbsp;Pottery;url=http://www.johnchianelli.com/artist_statement_pottery.html;")
aI("text=&nbsp;&nbsp;Wood Turning;url=http://www.johnchianelli.com/artist_statement_woodturning.html;")
aI("text=PROCESS;type=header;")
aI("text=&nbsp;&nbsp;Pottery;url=http://www.johnchianelli.com/process_pottery.html;")
aI("text=&nbsp;&nbsp;Wood Firing;url=http://www.johnchianelli.com/process_firing.html;")
aI("text=&nbsp;&nbsp;Wood Turning;url=http://www.johnchianelli.com/process_woodshop.html;")

}

with(milonic=new menuname("Galleries")){
style=submenuStyle;
aI("text=PRIMITIVE FIRED CERAMICS;type=header;")
aI("text=&nbsp;&nbsp;Wood Fired;url=http://www.johnchianelli.com/cgi-bin/DJgallery.cgi?T=gallery.html&ZONE=WOODFIRE&MAX=200;")
aI("text=&nbsp;&nbsp;Raku Fired;url=http://www.johnchianelli.com/cgi-bin/DJgallery.cgi?T=gallery.html&ZONE=RAKU&MAX=200;")

aI("text=MODERN FIRED CERAMICS;type=header;")
aI("text=&nbsp;&nbsp;Electric Fired;url=http://www.johnchianelli.com/cgi-bin/DJgallery.cgi?T=gallery.html&ZONE=ELEC&MAX=200;")
aI("text=&nbsp;&nbsp;Gas Fired;url=http://www.johnchianelli.com/cgi-bin/DJgallery.cgi?T=gallery.html&ZONE=GAS&MAX=200;")
aI("text=MIXED MEDIA;url=http://www.johnchianelli.com/cgi-bin/DJgallery.cgi?T=gallery.html&ZONE=MIXED&MAX=200;menustyle=higherlevelStyle;")
aI("text=WOOD TURNINGS;url=http://www.johnchianelli.com/cgi-bin/DJgallery.cgi?T=gallery.html&ZONE=WOOD&MAX=200;menustyle=higherlevelStyle")
aI("text=HISTORICAL EVENTS;type=header;")
aI("text=&nbsp;&nbsp;Pow-Wows;url=http://www.johnchianelli.com/cgi-bin/DJgallery.cgi?T=gallery.html&ZONE=POWWOWS&MAX=200;")
aI("text=&nbsp;&nbsp;Wood Kiln Firing;url=http://www.johnchianelli.com/cgi-bin/DJgallery.cgi?T=gallery.html&ZONE=FIRINGS&MAX=200;")

}

with(milonic=new menuname("Events")){
style=submenuStyle;
aI("text=Future Events;url=http://www.johnchianelli.com/cgi-bin/DJcalendar.cgi?T=events.html&ZONE=EVENTS&SORT=S;")
aI("text=Past Events;url=http://www.johnchianelli.com/cgi-bin/DJcalendar.cgi?T=past_events.html&ZONE=EVENTS&SHOWPAST=Y&SORT=REV;")
}

with(milonic=new menuname("Contact")){
style=submenuStyle;
aI("text=E-mail Contact;url=http://www.johnchianelli.com/contact.html;")
aI("text=Mailing List;url=http://www.johnchianelli.com/mailing_list/mailing_list.html;")
aI("text=Where to Buy;url=/cgi-bin/DJlinks.cgi?TEMPLATE=where_to_buy.html&ZONE=WHER2BUY;")
}

drawMenus();


