// note: all page levels pull in the same footer file, so all links need to be made absolute. example (http://www.domain.com/folder/file.html)
// all links are set to "#". To change find the "url=#;" beside the appropriate section and replace "#" with the appropriate absolute url.

//  To add a super submenu to an existing submenu add "showmenu=MENU NAME;" to your aI string then add the following below the menu cluster.

//  with(milonic=new menuname("MENU NAME")){
	//  style=SUBmenuStyle;
	//  aI("text=MENU TEXT;url=#;");
	//  }

// A license has to be purchase from 'http://www.milonic.com/licensing.php' to use this menu.


//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(menuStyle=new mm_style()){
bordercolor="";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle="strong";
headerbgcolor="";
headercolor="#8c99bc";
offcolor="#ffffff";
oncolor="#4d1e07";
padding=0;
pagebgcolor="";
pagecolor="black";
separatorcolor="#ffffff";
separatorsize=1;
subimage="";
subimagepadding=0;
}

with(SUBmenuStyle=new mm_style()){
bordercolor="#793F23";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle="strong";
headerbgcolor="";
headercolor="#8c99bc";
offbgcolor="#ffffff";
offcolor="#1e4c4c";
onbgcolor="#b16743";
oncolor="#ffffff";
padding=6;
pagebgcolor="";
pagecolor="black";
separatorcolor="#793F23";
separatorsize=1;
subimage="/main_navMenu/arrow.gif";
subimagepadding=2;
}

// Main menu
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
aI("text=HOME&nbsp;&nbsp;;url=/index.php;");
aI("showmenu=aboutus;text=&nbsp;&nbsp;ABOUT US&nbsp;&nbsp;;url=/whoweare.php;");
aI("showmenu=coursematerials;text=&nbsp;&nbsp;COURSE MATERIALS&nbsp;&nbsp;;url=#;");
aI("showmenu=downloads;text=&nbsp;&nbsp;DOWNLOADS&nbsp;&nbsp;;url=/downloads.php;");
aI("showmenu=blog;text=&nbsp;&nbsp;BLOG&nbsp;&nbsp;;url=http://stevesuranovic.blogspot.com;");
aI("showmenu=newsopinion;text=&nbsp;&nbsp;NEWS/OPINION&nbsp;&nbsp;;url=/Opinion/opinion.php;");
aI("text=&nbsp;&nbsp;SEARCH&nbsp;&nbsp;;url=/search.php;");
aI("text=&nbsp;&nbsp;CONTACT&nbsp;&nbsp;;url=mailto:smsuran@gwu.edu;");
}

// About us
with(milonic=new menuname("aboutus")){
style=SUBmenuStyle;
top="249"
aI("text=Who We Are;url=/whoweare.php;");
aI("text=About Steven Suranovic;url=http://www.gwu.edu/~econ/faculty/suranovic.cfm;target=_blank;");
aI("text=Privacy Policy;url=/privacypolicy.php;");
}

// Course Materials
with(milonic=new menuname("coursematerials")){
style=SUBmenuStyle;
top="249"
aI("text=International Trade Theory &amp; Policy Textbook;url=/Trade/tradehome.php;");
aI("text=International Finance Theory &amp; Policy Textbook;url=/Finance/financehome.php;");
aI("text=Fairness in International Trade;url=/Trade/Tch125/Tch125.php;");
aI("text=Materials Download;url=/downloads.php;");
aI("text=Course Syllabi;url=/coursesyllabi.php;");
}

// Downloads
with(milonic=new menuname("downloads")){
style=SUBmenuStyle;
top="249"
aI("text=International Trade Theory &amp; Policy Text;url=/downloads.php;");
aI("text=International Finance Theory &amp; Policy Text;url=/downloads.php;");
aI("text=International Trade Answer Keys;url=/downloads.php;");
aI("text=International Finance Answer Keys;url=/downloads.php;");
aI("text=International Trade Individual Chapters;url=/downloads.php;");
aI("text=International Finance Individual Chapters;url=/downloads.php;");
}

// Blog
with(milonic=new menuname("blog")){
style=SUBmenuStyle;
top="249"
aI("text=Steve Suranovic's Blog;url=http://stevesuranovic.blogspot.com;");
aI("showmenu=otherblogs;text=Other EconBlogs;url=#;");
}

// Blog - supersub OtherBlogs
with(milonic=new menuname("otherblogs")){
style=SUBmenuStyle;
aI("text=Greg Mankiw's Blog;url=http://gregmankiw.blogspot.com;");
aI("text=Dani Rodrick's Blog;url=http://rodrik.typepad.com/dani_rodriks_weblog/;");
}

// News/Opinion
with(milonic=new menuname("newsopinion")){
style=SUBmenuStyle;
top="249"
aI("showmenu=economicsnews;text=Economics News;url=#;");
aI("text=Economics Opinion;url=/Opinion/opinion.php;");
aI("text=ICTSD Bridges;url=http://www.ictsd.org/weekly/index.htm;target=_blank;");
aI("text=Exchange Rates;url=http://www.x-rates.com/;target=_blank;");
}

// News/Opinion - supersub Economics News
with(milonic=new menuname("economicsnews")){
style=SUBmenuStyle;
aI("text=Latest WTO News;url=http://news.google.com/news?hl=en&edition=us&q=WTO;target=_blank;");
aI("text=WTO Disputes;url=http://news.google.com/news?hl=en&edition=us&q=WTO+and+%22dispute+settlement%22;target=_blank;");
aI("text=Free Trade Area News;url=http://news.google.com/news?hl=en&edition=us&q=%22free+trade+area%22&btnG=Search+News;target=_blank;");
aI("text=Trade Imbalances;url=http://news.google.com/news?hl=en&edition=us&q=%22trade+deficit%22+or+%22trade+surplus%22&btnG=Search+News;target=_blank;");
aI("text=Exchange Rate News;url=http://news.google.com/news?hl=en&edition=us&q=%22exchange+rate%22&btnG=Search+News;target=_blank;");
}


drawMenus();
