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=0;
_subOffsetLeft=0;




with(horizStyle=new mm_style()){
bordercolor="#03A9CC";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#03A9CC";
headerborder=1;
headercolor="#ffffff";
offbgcolor="#03A9CC";
offcolor="#ffffff";
onbgcolor="#03A9CC";
onborder="1px solid #03A9CC";
oncolor="#00346e";
onsubimage="/_menuimages/Downarrow4_orange_11x10.gif";
padding=3;
separatoralign="right";
separatorcolor="#03A9CC";
separatorsize=25;
separatorheight=11;
separatorpadding=5;
subimage="/_menuimages/Downarrow4_orange_11x10.gif";
pagecolor="#00346e";
}

with(vertStyle=new mm_style()){
styleid=1;
bordercolor="#03A9CC";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Arial, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#03A9CC";
headerborder=1;
headercolor="#ffffff";
offbgcolor="#03A9CC;";
offcolor="#ffffff";
onbgcolor="#03A9CC";
onborder="1px solid #03A9CC";
oncolor="#00346e";
outfilter="Fade(duration=0.2)";
overfilter="Fade(duration=0.1);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#03A9CC";
pagecolor="#00346e";
separatoralign="right";
separatorcolor="#ffffff";
separatorpadding=4;
separatorsize=1;
separatorwidth="100%";
subimage="/_menuimages/Downarrow4_orange_11x10.gif";
menubgcolor="#03A9CC";
}

with(milonic=new menuname("Main Menu")){
position="relative";	
alwaysvisible=1;
left=100;
margin=2;
orientation="horizontal";
style=horizStyle;
top=0;
aI("text=Home;title=Back to Home Page;url=/index.php;pagematch=/index.php;");
aI("showmenu=Human Givens;text=Human Givens;");
aI("showmenu=Journal;text=Journal;");
aI("showmenu=Publications;text=Publications;");
aI("showmenu=Search;text=Search;url=/search.php;pagematch=/search.php;");
aI("text=Contact Us;url=/help.php?section=contactus&mode=update;pagematch=/help.php?section=contactus&mode=update;");
}

with(milonic=new menuname("Human Givens")){
margin=3;
style=vertStyle;
top="offset=0";
aI("text=What are they?;url=/pages.php?pageid=12;pagematch=/pages.php?pageid=12;");
aI("text=Further info;url=/pages.php?pageid=5;pagematch=/pages.php?pageid=5;");
aI("text=Book;url=/product.php?productid=28&cat=0&page=1;pagematch=/product.php?productid=28&cat=0&page=1;");
aI("target=_new;text=Training;url=http://www.mindfields.org.uk/;pagematch=http://www.mindfields.org.uk/;");
}

with(milonic=new menuname("Journal")){
margin=3;
style=vertStyle;
top="offset=0";
aI("text=About;url=/pages.php?pageid=16;pagematch=/pages.php?pageid=16;");
aI("text=Subscribe;url=/pages.php?pageid=17;pagematch=/pages.php?pageid=17;");
aI("text=Current issue;url=/home.php?cat=2;pagematch=/home.php?cat=2;");
aI("text=Back issues;url=/home.php?cat=3;pagematch=/home.php?cat=3;");
aI("text=Editorial board;url=/pages.php?pageid=13;pagematch=/pages.php?pageid=13;");

}

with(milonic=new menuname("Publications")){
margin=3;
style=vertStyle;
top="offset=0";
aI("text=Books;url=/home.php?cat=4;pagematch=/home.php?cat=4;");
aI("text=CDs;url=/home.php?cat=6;pagematch=/home.php?cat=6;");
aI("text=Monographs;url=/home.php?cat=5;pagematch=/home.php?cat=5;");
}

with(milonic=new menuname("Search")){
margin=3;
style=vertStyle;
aI("text=`<form style='margin:0px;' name=input action=http://www.humangivens.com/search method=post><input type=text name=posted_data[substring]><br><input type=submit value=Search name=search><input type=hidden name=simple_search value=Y /><input type=hidden name=mode value=search /><input type=hidden name=posted_data[by_title] value=Y /><input type=hidden name=posted_data[including] value=any /><input type=hidden name=posted_data[extra_fields][1] value=Y /><input type=hidden name=posted_data[extra_fields][3] value=Y /><input type=hidden name=posted_data[extra_fields][2] value=Y /><input type=hidden name=posted_data[extra_fields][7] value=Y /><input type=hidden name=posted_data[extra_fields][4] value=Y /><input type=hidden name=posted_data[by_sku] value=Y /></form>`;type=form;onbgcolor=;onborder=;image=;align=center");
	aI("text=Advanced Search;align=center;url=/search.php;");
}

drawMenus();

