function init()
{
	//Main Menu items:
	if(screen.width<=1024 && screen.height>=768)
	{
		menus[0] = new menu(22, "horizontal", 27, 161, -2, -2, "#A9420A", "#D2703A", "Arial", 9, 
			"bold", "bold", "#FFFFFF", "#340606", 1, "#5F1306", 2, "rollover:images/tri-down2.gif:images/tri-down1.gif", false, true, true, true, 16, true, 0, 0, "");
		menus[0].addItem("./sos_updates/index.php", "", 140, "center", "Home", 0);
		menus[0].addItem("#", "", 155, "center", "About Us", 1);
		menus[0].addItem("#", "", 169, "center", "What We Do", 2);
		menus[0].addItem("#", "", 160, "center", "Contribute", 5);
		menus[0].addItem("site_map.php", "", 160, "center", "Site Map", 0);
		menus[0].addItem("contact_us.php", "", 160, "center", "Contact Us", 0);
	}
	else if(screen.width<=1280 && screen.height>=720)
	{
		menus[0] = new menu(22, "horizontal", 156, 161, -2, -2, "#A9420A", "#D2703A", "Arial", 9, 
			"bold", "bold", "#FFFFFF", "#340606", 1, "#5F1306", 2, "rollover:images/tri-down2.gif:images/tri-down1.gif", false, true, true, true, 16, true, 0, 0, "");
		menus[0].addItem("./sos_updates/index.php", "", 140, "center", "Home", 0);
		menus[0].addItem("#", "", 155, "center", "About Us", 1);
		menus[0].addItem("#", "", 169, "center", "What We Do", 2);
		menus[0].addItem("#", "", 160, "center", "Contribute", 5);
		menus[0].addItem("site_map.php", "", 160, "center", "Site Map", 0);
		menus[0].addItem("contact_us.php", "", 160, "center", "Contact Us", 0);
	
	}else if(screen.width<=1280 && screen.height>=1024)
	{
		menus[0] = new menu(22, "horizontal", 156, 161, -2, -2, "#A9420A", "#D2703A", "Arial", 9, 
			"bold", "bold", "#FFFFFF", "#340606", 1, "#5F1306", 2, "rollover:images/tri-down2.gif:images/tri-down1.gif", false, true, true, true, 16, true, 0, 0, "");
		menus[0].addItem("./sos_updates/index.php", "", 140, "center", "Home", 0);
		menus[0].addItem("#", "", 155, "center", "About Us", 1);
		menus[0].addItem("#", "", 169, "center", "What We Do", 2);
		menus[0].addItem("#", "", 160, "center", "Contribute", 5);
		menus[0].addItem("site_map.php", "", 160, "center", "Site Map", 0);
		menus[0].addItem("contact_us.php", "", 160, "center", "Contact Us", 0);
	}
	else if(screen.width<=1366 && screen.height>=768)
	{
		menus[0] = new menu(22, "horizontal", 198, 161, -2, -2, "#A9420A", "#D2703A", "Arial", 9, 
			"bold", "bold", "#FFFFFF", "#340606", 1, "#5F1306", 2, "rollover:images/tri-down2.gif:images/tri-down1.gif", false, true, true, true, 16, true, 0, 0, "");
		menus[0].addItem("./sos_updates/index.php", "", 140, "center", "Home", 0);
		menus[0].addItem("#", "", 155, "center", "About Us", 1);
		menus[0].addItem("#", "", 169, "center", "What We Do", 2);
		menus[0].addItem("#", "", 160, "center", "Contribute", 5);
		menus[0].addItem("site_map.php", "", 160, "center", "Site Map", 0);
		menus[0].addItem("contact_us.php", "", 160, "center", "Contact Us", 0);
	}
	else
	{
		menus[0] = new menu(22, "horizontal", 1, 161, -2, -2, "#A9420A", "#D2703A", "Arial", 9, 
			"bold", "bold", "#FFFFFF", "#340606", 1, "#5F1306", 2, "rollover:images/tri-down2.gif:images/tri-down1.gif", false, true, true, true, 16, true, 0, 0, "");
		menus[0].addItem("./sos_updates/index.php", "", 140, "center", "Home", 0);
		menus[0].addItem("#", "", 155, "center", "About Us", 1);
		menus[0].addItem("#", "", 169, "center", "What We Do", 2);
		menus[0].addItem("#", "", 160, "center", "Contribute", 5);
		menus[0].addItem("site_map.php", "", 160, "center", "Site Map", 0);
		menus[0].addItem("contact_us.php", "", 160, "center", "Contact Us", 0);
		
	}

//Sub Menu for 2nd Main Menu Item ("web building"):
	menus[1] = new menu(157, "vertical", 0, 0, -5, -5, "#A9420A", "#D2703A", "Arial", 9, "bold", 
		"bold", "#FFFFFF", "#340606", 1, "#5F1306", 2, "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, true, 16, true, 0, 0, "");
	menus[1].addItem("who_we_are.php?page=1", "", 22, "left", "Who We Are", 0);
	menus[1].addItem("#", "", 22, "left", "Our Organisation", 3);
	menus[1].addItem("about_founder_hermann.php?page=2", "", 22, "left", "Founder Profile", 0);
	
//Sub Menu for 3rd Main Menu Item ("News"):
	menus[2] = new menu(185, "vertical", 0, 0, 0, 0, "#A9420A", "#D2703A", "Arial", 9, "bold", 
		"bold", "#FFFFFF", "#340606", 1, "#5F1306", 2, "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, true, 16, true, 0, 0, "");
	
	menus[2].addItem("mission.php?page=3", "", 22, "left", "Mission", 0);
	menus[2].addItem("#", "", 22, "left", "Projects & Programmes", 4);
	menus[2].addItem("childrens_village.php?page=1", "", 22, "left", "Nationwide Span", 0);
	
//Sub Menu for Sub Menu "Sports News":
	menus[3] = new menu(170, "vertical", 0, 0, 0, 0, "#A9420A", "#D2703A", "Arial", 9, "bold", "bold", "#FFFFFF", "#340606", 1, "#5F1306", 2, "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, false, 0, true, 0, 0, "");
	menus[3].addItem("satieties_facilities.php?page=1", "", 22, "left", "Statistics & Facilities", 0);
	//menus[3].addItem("organization_structure.php?page=2", "", 22, "left", "Organization Structure", 0);
	//menus[3].addItem("board_of_directors.php?page=3", "", 22, "left", "Board of Members", 0);
	menus[3].addItem("recognition.php?page=4", "", 22, "left", "Recognition", 0);
	menus[3].addItem("2009.php?page=90", "", 22, "left", "Milestones", 0);

//Sub Menu for 4th Main Menu Item ("Search"):
	menus[4] = new menu(255, "vertical", 0, 0, 0, 0, "#A9420A", "#D2703A", "Arial", 9, "bold", "bold", "#FFFFFF", "#340606", 1, "#5F1306", 2, ">>", false, true, false, false, 0, true, 0, 0, "");
	
	menus[4].addItem("project_programm.php?page=1", "", 22, "left", "Children's Village", 0);
	menus[4].addItem("family_sprogram.php?page=2", "", 22, "left", "Family Strengthening Programmes", 0);
	menus[4].addItem("education.php?page=4", "", 22, "left", "Education", 0);	
	menus[4].addItem("emergency_rwork.php?page=3", "", 22, "left", "Emergency Relief Work", 0);
	menus[4].addItem("advocacy.php?page=5", "", 22, "left", "Advocacy", 0);
	//menus[4].addItem("research.php?page=7", "", 22, "left", "Research", 0);
	menus[4].addItem("proposed_proj.php?page=7", "", 22, "left", "New & Proposed Projects", 0);
	
	menus[5] = new menu(161, "vertical", 0, 0, 0, 0, "#A9420A", "#D2703A", "Arial", 9, "bold", "bold", "#FFFFFF", "#340606", 1, "#5F1306", 2, ">>", false, true, false, false, 0, true, 0, 0, "");
	
	menus[5].addItem("how_you_can_help.php?page=1", "", 22, "left", "How You Can Help", 0);
	menus[5].addItem("corporate_for_child.php?page=2", "", 22, "left", "Corporate for Child", 0);
	menus[5].addItem("young_ambassador.php?page=3", "", 22, "left", "School Programmes", 0);
	//menus[5].addItem("volunteer_initiative.php?page=4", "", 22, "left", "Volunteer Initiative", 0);
	menus[5].addItem("individual_sponsors.php?page=5", "", 22, "left", "Individual Sponsors", 0);

} //OUTER CLOSING BRACKET. EVERYTHING ADDED MUST BE ABOVE THIS LINE.
