var CLASSID = "";
function init()
{
	var URL = unescape(location.href);
	var xstart = URL.lastIndexOf("/") + 1;
	var xend = URL.length;
	CLASSID = URL.substring(xstart,xend);
	if(CLASSID=='') CLASSID = 'index.html';
	
	//menu(size, orientation, x, y, offsetX, offsetY, bgOut, bgOver, fontFace, fontSize, 
	//	fontStyleOut, fontStyleOver, textColorOut, textColorOver, borderSize, borderColor, margin, showChar, 
	//	showOnClick, sepItems, isMainMenu, hasAnimations, animationType, hasShadow, sOffX, sOffY, shadowColor)
	//
	// bgOut,bgOver - transparent background color, opacity:[HTMLCOLOR]:[0-100]
	//
	//additem(link, target, iSize, alignment, content, menuToShow)
	//
	// content - rollover image (supports png), rollover:[URLROLLOVER]:[URLROLLOUT]:[WIDTH]:[HEIGHT]
	//
	//floatMenu(scrWidth, scrHeight, mrgLeft, adjustNum)
		
	// bottom menu bar
	menus[0] = new menu(25, "horizontal", 755,40, 15, 0, "", "", "Arial", 8, 
		"normal", "normal", "", "", 0, "", 0, "", false, false, true, false, 5, false, 0, 0, "black");
		menus[0].addItem("index.php", "", 59, "left", "rollover:i/btn-home-trans.png:i/btn-home1-trans.png:59:25", 0);
		menus[0].addItem("", "", 10, "left", "rollover:i/white.gif:i/white.gif:10:25", 0);
		menus[0].addItem("photographer.html", "", 111, "left", "rollover:i/btn-photo-trans.png:i/btn-photo1-trans.png:111:25", 0);
		menus[0].addItem("", "", 10, "left", "rollover:i/white.gif:i/white.gif:10:25", 0);
		menus[0].addItem("gallery.php?id=1", "", 71, "left", "rollover:i/btn-portfolio-trans.png:i/btn-portfolio1-trans.png:71:25", 1);
		menus[0].addItem("", "", 10, "left", "rollover:i/white.gif:i/white.gif:10:25", 0);
		menus[0].addItem("contact.html", "", 83, "left", "rollover:i/btn-contact-trans.png:i/btn-contact1-trans.png:83:25", 0);
		menus[0].floatMenu(1280, 1024, 0, 0);
		
		menus[1] = new menu(130, "vertical", 0, 0, 0, 5, "opacity:#efefef:80", "opacity:#ffffff:90", "Arial", 8, 
		"normal", "normal", "#333333", "#333333", 1, "#efefef", 3, 0	, false, true, false, false, 0, false, 0, 0, "");	
		menus[1].addItem("gallery.php?id=1", "", 25 , "center", "Primary Photography", 2);
		menus[1].addItem("gallery.php?id=3", "", 25 , "center", "Also Capture", 3);
		menus[1].addItem("gallery.php?id=8", "", 25 , "center", "News", 0);
		
		menus[2] = new menu(120, "vertical", 0, 0, 0, 0, "opacity:#efefef:80", "opacity:#ffffff:90", "Arial", 8, 
		"normal", "normal", "#333333", "#333333", 1, "#efefef", 3, 0	, false, true, false, false, 0, false, 0, 0, "");	
		menus[2].addItem("gallery.php?id=1", "", 25 , "center", "Interior/Architecture", 0);
		menus[2].addItem("gallery.php?id=2", "", 25 , "center", "Portraits", 0);
		
		menus[3] = new menu(100, "vertical", 0, 0, 0, 0, "opacity:#efefef:80", "opacity:#ffffff:90", "Arial", 8, 
		"normal", "normal", "#333333", "#333333", 1, "#efefef", 3, 0	, false, true, false, false, 0, false, 0, 0, "");
		menus[3].addItem("gallery.php?id=3", "", 25 , "center", "Advertising", 0);
		menus[3].addItem("gallery.php?id=4", "", 25 , "center", "Still Life", 0);
		menus[3].addItem("gallery.php?id=5", "", 25 , "center", "Food", 0);
		menus[3].addItem("gallery.php?id=6", "", 25 , "center", "Products", 0);
		menus[3].addItem("gallery.php?id=7", "", 25 , "center", "Industrial&nbsp; ", 0);
	
} //OUTER CLOSING BRACKET. EVERYTHING ADDED MUST BE ABOVE THIS LINE.
