// JavaScript Document
//
//
// Format :
// menuAdd(<nodetype>,<navtitle>,<url>)
// Definitions 
// <nodetype> : 
//			The type of menu entry. 
//			Valid entries are :
//			'root_nochildren' - a root (level 1) level link that has no children - URL variable required
//			'rootparent' - a node at the root (level 1) that does have children - URL variable is required for NS4/IE4
//			'rootchild' - a link that sits under a root node (level 2) - URL variable required
//			'subparent' - a parent node at level2 that has children - URL variable is NOT required
//			'subchild' = a child node that sits directly underneath 'subparent' nodes - URL variable required
//<navtitle> This is the title of the menu item that will be displayed to the user			
// <url> The URL that the user will be taken to when clicking on this nav item.
//

var thisitem = 1; 
menu= new Array(); 

function menuAdd(type,display,URL)
{
	if (arguments.length <= 2)
  		URL = null;
	menu[thisitem] = new Object;
	menu[thisitem].type = type;
  	menu[thisitem].display = display;
  	menu[thisitem].URL = URL;
 	thisitem++;
 }


menuAdd('root_nochildren',':: Home','index.htm');
menuAdd('rootparent',':: Whats New','bw-whatsnew.htm');
	menuAdd('rootchild','- Latest News','bw-whatsnew.htm');
	menuAdd('rootchild','- Garden Week 2004','bw-gw.htm');
	menuAdd('rootchild','- Westland Turf Trials','bw-westland.htm');
	menuAdd('rootchild','- N&B BankWest Telethon Makeover','bw-nbtelethon.htm');
	menuAdd('rootchild','- Subiaco Sustainable Home','bw-subihome.htm');

menuAdd('root_nochildren',':: Buy Now','bw-buynow.htm');
menuAdd('root_nochildren',':: Stakeholder Consultative Group','stakeholder-consultative-group.htm');
menuAdd('root_nochildren',':: Links','bw-links.htm');
// menuAdd('root_nochildren','-winter rainfall in Perth','/media/dams_winterrain.htm');
// menuAdd('root_nochildren','-rainfall at our dams','/media/dams_rain_locations.htm');
// menuAdd('root_nochildren','-yearly streamflow','/media/dams_streamflow.htm');

// Media Releases;
menuAdd('rootparent',':: Using BioWise','bw-applications.htm');
	menuAdd('rootchild','- Introduction','bw-applications.htm#top');
	menuAdd('rootchild','- Turf & Lawns','bw-applications.htm#lawns');
	menuAdd('rootchild','- Minesite Rehabilitation','bw-applications.htm#minesite');
	menuAdd('rootchild','- Landscaping','bw-applications.htm#landscaping');
	menuAdd('rootchild','- Nursery','bw-applications.htm#nursery');
	menuAdd('rootchild','- Sports Oval','bw-applications.htm#sportsoval');
	menuAdd('rootchild','- Road Verge','bw-applications.htm#roadverge');
	menuAdd('rootchild','- Horticulture','bw-applications.htm#horticulture');

	//water restrictions menu;
menuAdd('rootparent',':: Technical info','bw-techinfo.htm');
	menuAdd('rootchild','- Introduction','bw-techinfo.htm#top');
	menuAdd('rootchild','- Quality & Aust Standards','bw-techinfo.htm#as4454');
	menuAdd('rootchild','- Quality Assurance','bw-techinfo.htm#qa');

// menuAdd('root_nochildren','-publications','publications.htm?id=0');

//contact;
menuAdd('root_nochildren',':: Contact Us','bw-contactus.htm');	