function init()
{
var horizontalMenuWidth= 200;
var horizontalMenuHeight= 20;
var verticalMenuWidth=150;

var horizontalCoordinate=5;
var verticalCoordinate=5;

var fontSize =10;
var fontSizeSubMenu =8;
var styleWhenNoMouse="bold"; // space seperated multiple styles allowed
var styleWhenMouseOver="bold" ; // space seperated multiple styles allowed

var menuBgColor= "#CCFFFF";
var menuBgColorOnHover= "#0099FF";
var menuTextColor = "black";
var menuTextColorOnHover = "white";

var tableBorder =1;
var tableBorderColor = "black";

var buildMenuShadow = true ;
var shadowLengthVertical = 2;
var shadowLengthHorizontal = 2;
var shadowColor = "black";

var blnTransitionEffect = false;
var transitionEffectType =0;

	//Main Menu items: 6,5,6,1,6,3
	menus[0] = new menu(horizontalMenuHeight, "horizontal", horizontalCoordinate, verticalCoordinate, -2, -2,
	     menuBgColor, menuBgColorOnHover,  "Verdana,Helvetica", fontSize, styleWhenNoMouse,
	     styleWhenMouseOver, menuTextColor, menuTextColorOnHover, tableBorder, tableBorderColor, 2,
	     "rollover:javascript/menu/images/tri-down1.gif:javascript/menu/images/tri-down2.gif",
		 false, true, true, blnTransitionEffect, transitionEffectType, buildMenuShadow,
		 shadowLengthHorizontal, shadowLengthVertical, shadowColor);
	menus[0].addItem("index.html", "", horizontalMenuWidth, "center", "Home ", 0);
	menus[0].addItem("#", "", horizontalMenuWidth, "center", "Artificial Intelligence", 1);
	menus[0].addItem("#", "", horizontalMenuWidth, "center", "Computer Science", 2);
	//menus[0].addItem("#", "", horizontalMenuWidth, "center", "Resume", 4);
	menus[0].addItem("resume.html", "", horizontalMenuWidth, "left", "Resume", 0);

//Sub Menu for 2nd Main Menu Item ("Current Projects"):
	menus[1] = new menu(horizontalMenuWidth, "vertical", 0, 0, -5, -5, 
	     menuBgColor, menuBgColorOnHover,  "Verdana,Helvetica", fontSize, styleWhenNoMouse,
	     styleWhenMouseOver, menuTextColor, menuTextColorOnHover, tableBorder, tableBorderColor, 2, 
	     "rollover:javascript/menu/images/tri-right1.gif:javascript/menu/images/tri-right2.gif", 
	     false, true, false,blnTransitionEffect, transitionEffectType, buildMenuShadow,
	     shadowLengthHorizontal, shadowLengthVertical, shadowColor);
	menus[1].addItem("kbs.html", "", 35, "left", "Knowledge-Based Systems", 0);
	menus[1].addItem("ci.html", "", 35, "left", "Computational Intelligence", 0);
	//menus[1].addItem("nn.html", "", 30, "left", "Neural Networks", 0);
	menus[1].addItem("nlp.html", "", 45, "left", "Natural Language Processing", 0);
	menus[1].addItem("aiphil.html", "", 35, "left", "Psychology & Philosophy", 0);
	

//Sub Menu for 3rd Main Menu Item ("Past Projects"):
	menus[2] = new menu(horizontalMenuWidth, "vertical", 0, 0, 0, 0,
	    menuBgColor, menuBgColorOnHover,  "Verdana,Helvetica", fontSize, styleWhenNoMouse,
	     styleWhenMouseOver, menuTextColor, menuTextColorOnHover, tableBorder, tableBorderColor, 2,
		"rollover:javascript/menu/images/tri-right1.gif:javascript/menu/images/tri-right2.gif",
		 false, true, false, blnTransitionEffect, transitionEffectType, buildMenuShadow,
		 shadowLengthHorizontal, shadowLengthVertical, shadowColor);
	menus[2].addItem("ebi.html", "", 25, "left", "Web Project", 0);
	menus[2].addItem("hci.html", "", 40, "left", "Human Computer Interaction", 0);
	menus[2].addItem("photoshop.html", "", 25, "left", "Photoshop", 0);



} //OUTER CLOSING BRACKET. EVERYTHING ADDED MUST BE ABOVE THIS LINE.








