//updated: November 30, 2008
//
//
// function call notes: TPopMenu(label,icon,clickType,clickParam,status)
// ------------------------------------------------------------------------
// label: the name which appears on the nav bar button
// icon: this inserts an icon to the left of the label on the nav bar button, shifting the label to the right. "0" determines no icon, and the label is centred; '' offsets the label to the right as if an invisible icon exists.
// clickType: this defines the behaviour of the click on that menu selection, including target of the URL
//	"function": 
//	"f":
//	"address": the URL entered in the "clickParam" will be set to target="_blank" (new window)
//	"a": the URL entered in the "clickParam" will be set to target="_top"
//	"a_fr": the URL entered in the "clickParam" will be set to a frame target="mainFrame"
// clickParam: the destination URL
// status: what appears in the status bar of the browser (works on IE, but in FF, this must be enabled under "advanced javascript")
// 
//navigation
  var drop = new TMainMenu('drop','horizontal');
//,'','a_fr',
var dropHome = new TPopMenu('&nbsp;&nbsp;&nbsp;&nbsp;h&nbsp;o&nbsp;m&nbsp;e&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','0','a','index.php?pg=h0','  home  ');

var dropAbout = new TPopMenu('&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;b&nbsp;o&nbsp;u&nbsp;t&nbsp;&nbsp;&nbsp;&nbsp;A&nbsp;E&nbsp;M&nbsp;M&nbsp;A&nbsp;@&nbsp;U&nbsp;o&nbsp;f&nbsp;T&nbsp;&nbsp;&nbsp;&nbsp;','0','a_fr','misc/about.htm','about AEMMA@UofT');
  	var dropAbout_about = new TPopMenu('a b o u t&nbsp;&nbsp;&nbsp;A E M M A @ U o f T','','a_fr','misc/about.htm',' about AEMMA@UofT');
  	var dropAbout_news = new TPopMenu('A E M M A @ U o f T&nbsp;&nbsp;i n&nbsp;&nbsp;&nbsp;t h e&nbsp;&nbsp;&nbsp;n e w s','','a_fr','misc/news.htm#news',' AEMMA@UofT in the news');
  	var dropAbout_guest = new TPopMenu('s i g n&nbsp;&nbsp;/&nbsp;&nbsp;v i e w&nbsp;&nbsp;&nbsp;t h e&nbsp;&nbsp;&nbsp;g u e s t b o o k','','a_fr','guestBook/gb_body.htm',' sign/view the guestbook');
  	var dropAbout_roll = new TPopMenu('<b>r o l l&nbsp;&nbsp;&nbsp;o f&nbsp;&nbsp;&nbsp;a r m s</b>&nbsp;&nbsp;<img src="images/tinyShield.gif" style="vertical-align:middle" alt="" /><img src="images/tinyShield.gif" style="vertical-align:middle" alt="" /><img src="images/tinyShield.gif" style="vertical-align:middle" alt="" />...','','a_fr','http://www.aemma.org/arms/roll_startPage.htm',' selected: about AEMMA ==> roll of arms');

var dropEvents = new TPopMenu('&nbsp;&nbsp;&nbsp;&nbsp;e&nbsp;v&nbsp;e&nbsp;n&nbsp;t&nbsp;s&nbsp;&nbsp;&nbsp;&nbsp;','0','a_fr','misc/events.htm','events');

var dropTrain = new TPopMenu('&nbsp;&nbsp;&nbsp;&nbsp;t&nbsp;r&nbsp;a&nbsp;i&nbsp;n&nbsp;i&nbsp;n&nbsp;g&nbsp;&nbsp;&nbsp;&nbsp;','0','a_fr','misc/train.htm','training');

var dropContact = new TPopMenu('&nbsp;&nbsp;&nbsp;&nbsp;c&nbsp;o&nbsp;n&nbsp;t&nbsp;a&nbsp;c&nbsp;t&nbsp;&nbsp;&nbsp;&nbsp;','0','a_fr','misc/contact.htm','contact');

var dropAEMMA = new TPopMenu('&nbsp;&nbsp;&nbsp;&nbsp;A&nbsp;E&nbsp;M&nbsp;M&nbsp;A&nbsp;&nbsp;&nbsp;T&nbsp;o&nbsp;r&nbsp;o&nbsp;n&nbsp;t&nbsp;o&nbsp;&nbsp;&nbsp;','0','address','http://www.aemma.org','  AEMMA  ');

var dropUofT = new TPopMenu('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;U&nbsp;of&nbsp;T&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','0','address','http://www.utoronto.ca','UofT');


// ---Add Navigation Objects--------------------------------------------------------------------------------

// Navigation
drop.Add(dropHome);

drop.Add(dropAbout);
	dropAbout.Add(dropAbout_about);
	dropAbout.Add(dropAbout_news);
	dropAbout.Add(dropAbout_guest);
	dropAbout.Add(dropAbout_roll);

drop.Add(dropEvents);

drop.Add(dropTrain);

drop.Add(dropContact);

drop.Add(dropAEMMA);

drop.Add(dropUofT);


