function init()
{

height=screen.height; 
width= screen.width;

var actwidth=width-25;
var widcol=parseInt(actwidth/8)
//alert(widcol);




	//Main Menu items:
	menus[0] = new menu(20, "horizontal", 8,78, -2, -2, "#F3FCF0", "#477873", "Verdana,Helvetica", 9, 
		"bold", "bold", "black", "white", 1, "gray", 2, "rollover:images/tri-down1.gif:images/tri-down2.gif", false, true, true, true, 12, true, 0, 0, "black");


	menus[0].addItem("index.htm", "", 80, "center", "Home", 0);
	menus[0].addItem("#", "", widcol, "center", "About BVF", 1);
	menus[0].addItem("mission.htm", "", widcol, "center", "Mission", 0);
	menus[0].addItem("#", "", widcol, "center", "Functions", 2);
	menus[0].addItem("#", "", widcol, "center", "Events", 3);
	menus[0].addItem("#", "", widcol, "center", "Projects", 4);
	menus[0].addItem("#", "", widcol, "center", "Awards", 5);
	menus[0].addItem("#", "", widcol, "center", "Publications", 6);


//Sub Menu for 2nd Main Menu Item ("web building"):
	menus[1] = new menu(182, "vertical", 0, 0, -5, -5, "#F3FCF0", "#477873", "Verdana,Helvetica", 8, "bold", 
		"bold", "black", "white", 1, "gray", 2, 75, false, true, false, true, 6, true, 4, 4, "black");
	menus[1].addItem("aboutbvf.htm", "", 22, "left", "About Us", 0);
	menus[1].addItem("chapters.htm", "", 22, "left", "Local Chapter", 0);
	menus[1].addItem("patrons.htm", "", 22, "left", "Patrons", 0);
	menus[1].addItem("executive.htm", "", 22, "left", "Executive Committee", 0);
	menus[1].addItem("governingboard.htm", "", 22, "left", "Governing Board", 0);
	menus[1].addItem("advisors.htm", "", 22, "left", "Advisors", 0);
	menus[1].addItem("objective.htm", "", 22, "left", "Objectives", 0);



//Sub Menu for 3rd Main Menu Item ("Functions"):
	menus[2] = new menu(195, "vertical", 0, 0, 0, 0, "#F3FCF0", "#477873", "Verdana,Helvetica", 8, "bold", 
		"bold", "black", "white", 1, "gray", 2, "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, false, 0, true, 4, 4, "black");
	menus[2].addItem("thinktank.htm", "", 22, "left", "Think Tank Advocacy", 0);
	menus[2].addItem("orgvacuum.htm", "", 22, "left", "Filling the Org.Vaccum", 0);
	menus[2].addItem("networking.htm", "", 22, "left", "Networking", 0);
	menus[2].addItem("synergy.htm", "", 22, "left", "Promotion of Synergy", 0);



//Sub Menu for 3rd Main Menu Item ("Events"):
	menus[3] = new menu(188, "vertical", 0, 0, 0, 0, "#F3FCF0", "#477873", "Verdana,Helvetica", 8, "bold", 
		"bold", "black", "white", 1, "gray", 2, "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, false, 0, true, 4, 4, "black");
	menus[3].addItem("", "", 22, "left", "Conferences", 7);
	menus[3].addItem("training.htm", "", 22, "left", "Training Programme", 0);
	menus[3].addItem("earthday.htm", "", 22, "left", "Earth Day Celebration", 0);


//Sub Menu for 3rd Main Menu Item ("Projects"):
	menus[4] = new menu(177, "vertical", 0, 0, 0, 0, "#F3FCF0", "#477873", "Verdana,Helvetica", 8, "bold", 
		"bold", "black", "white", 1, "gray", 2, "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, false, 0, true, 4, 4, "black");
	menus[4].addItem("projects.htm", "", 22, "left", "On-going Task", 0);
	menus[4].addItem("projects2.htm", "", 22, "left", "Task Accomplished", 0);

//Sub Menu for 3rd Main Menu Item ("Awards"):
	menus[5] = new menu(160, "vertical", 0, 0, 0, 0, "#F3FCF0", "#477873", "Verdana,Helvetica", 8, "bold", 
		"bold", "black", "white", 1, "gray", 2, "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, false, 0, true, 4, 4, "black");
	menus[5].addItem("bhooaward.htm", "", 22, "left", "Conferred By BVF", 0);
	menus[5].addItem("", "", 22, "left", "Conferred to BVF", 0);

//Sub Menu for 3rd Main Menu Item ("Publications"):
	menus[6] = new menu(195, "vertical", 0, 0, 0, 0, "#F3FCF0", "#477873", "Verdana,Helvetica", 8, "bold", 
		"bold", "black", "white", 1, "gray", 2, "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, false, 0, true, 4, 4, "black");
	menus[6].addItem("books.htm", "", 22, "left", "Books", 0);
	menus[6].addItem("newsletters.htm", "", 22, "left", "Newsletters", 0);
	menus[6].addItem("papers.htm", "", 22, "left", "Discussion Papers", 0);
	

//Sub Menu for 3rd Main Menu Item ("Conferences"):
	menus[7] = new menu(165, "vertical", 0, 0, 0, 0, "#F3FCF0", "#477873", "Verdana,Helvetica", 8, "bold", 
		"bold", "black", "white", 1, "gray", 2, "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, false, 0, true, 4, 4, "black");
	menus[7].addItem("bvf/index.htm", "blank", 22, "left", "Third Conference", 0);
	


} //OUTER CLOSING BRACKET. EVERYTHING ADDED MUST BE ABOVE THIS LINE.