/*
 *  Section Navigation: Teachings
 */
  
  
  
     
/**                                            **
 **    TOP LEVEL (ALWAYS VISIBLE) NAV ITEMS    **
 **                                            **/
 
var yogalife   		= new NavItem ( "yogalife",         	'YOGALife',        		"/publications/yogalife/index.html" );  
var mailinglists   	= new NavItem ( "mailinglists",         	'Mailing Lists',        		"/publications/mailinglists/index.html" ); 
var quotes        	= new NavItem ( "quotes",         	'Quotes and Sutras',        		"/publications/quotes/daily_quote.html" ); 

// NOTE: gurugram is defined in javascript-exec.inc as follows:
//var gurugram   	= new NavItem ( "gurugram",         	'Current Gurugram',        		'<!--#exec cgi="/cgi/getGuruGram.pl" -->' ); 
     
     
    // variable 'base_section_home' is global, and always represents the section's homepage
    // all top-level nav items are always a child of base_section_home
    base_section_home.addChild(yogalife);
    base_section_home.addChild(mailinglists);
    base_section_home.addChild(quotes);
    
    // gurugram must go last
    base_section_home.addChild(gurugram);
    



/**                                            **
 **         NESTED SUBLEVEL NAV ITEMS          **
 **                                            **/
   
var summer2004        	= new NavItem ( "summer2004",         	'Summer 2004',        		"/publications/yogalife/summer2004/index.html" );  
var fall2003        	= new NavItem ( "fall2003",         	'Fall 2003',        		"/publications/yogalife/fall2003/index.html" );  
var fall2002        	= new NavItem ( "fall2002",         	'Fall 2002',        		"/publications/yogalife/fall2002/index.html" );  
var spring1998        	= new NavItem ( "spring1998",         	'Spring 1998',        		"/publications/yogalife/spring98/index.html" );  
var spring1996        	= new NavItem ( "spring1996",         	'Spring 1996',        		"/publications/yogalife/spring96/index.html" );  
var fall1995        	= new NavItem ( "fall1995",         	'Fall 1995',        		"/publications/yogalife/fall95/index.html" );  
var spring1994        	= new NavItem ( "spring1994",         	'Spring 1994',        		"/publications/yogalife/spring94/index.html" );  
var subscribe        	= new NavItem ( "subscribe",         	'Subscribe',        		"/publications/mailinglists/subscribe.html" );  
var unsubscribe        	= new NavItem ( "unsubscribe",         	'Unsubscribe',        		"/publications/mailinglists/unsubscribe.html" );  
var random_quote        = new NavItem ( "random_quote",         	'Random Daily Quote',        		"/publications/quotes/random_quote.html" );  
var gita_quote        	= new NavItem ( "gita_quote",         	'Bhagavad Gita Verse',        		"/publications/quotes/gita_quote.html" );  
var rajayoga_quote      = new NavItem ( "rajayoga_quote",         	'Raja Yoga Sutra',        		"/publications/quotes/rajayoga_quote.html" );  
    
    // build the hierarchy 
    yogalife.addChild(summer2004);
    yogalife.addChild(fall2003);
    yogalife.addChild(fall2002);
    yogalife.addChild(spring1998);
    yogalife.addChild(spring1996);
    yogalife.addChild(fall1995);
    yogalife.addChild(spring1994);
    mailinglists.addChild(subscribe);
    mailinglists.addChild(unsubscribe);
    quotes.addChild(random_quote);
    quotes.addChild(gita_quote);
    quotes.addChild(rajayoga_quote);

