		//Vars
		navSet = {
			x:225,	//Left of nav
			y:145,//Top of nav
			w:72, //Width of nav box
			h:72,	//Height of nav box
			z:10,	//zIndex to be on top
			c:"", //Current Menu selected
			t:""	//Current Menu selected
		}
		aPosW = [(navSet.w/2),(navSet.w*2)+(navSet.w/2),(navSet.w*4)+(navSet.w/2)];
		aPosH = [(navSet.h/2),(navSet.h*2)+(navSet.h/2),(navSet.h*4)+(navSet.h/2)];
		aChild = ["","art","image","image","image","image","image","text","text","text"];
	
		//Object Screen
		oS = {
			cW:function() { return document.body.clientWidth },
			cH:function() { return document.body.clientHeight }
		}
		//Page Title/Logo
		oT = new oDiv("pageTitle","oT",0,0,354,10,354,60,0,'','','l',true,"");
		//Object Container
		oC = new oDiv("container","oC",navSet.x,navSet.y,20,20,0,0,0,'DCD662','CDC51F','l',true,"");
		//Nav Containers
		oC1 = new oDiv("container1","oC1",0,0,5,5,50,50,1,'FFFFFF','CDC51F','c',true,"");
		oC2 = new oDiv("container2","oC2",0,0,5,5,50,50,1,'FFFFFF','CDC51F','c',true,"");
		oC3 = new oDiv("container3","oC3",0,0,5,5,50,50,1,'FFFFFF','CDC51F','c',true,"");
		oC4 = new oDiv("container4","oC4",0,0,5,5,50,50,1,'FFFFFF','CDC51F','c',true,"");
		oC5 = new oDiv("container5","oC5",0,0,5,5,50,50,1,'FFFFFF','CDC51F','c',true,"");
		oC6 = new oDiv("container6","oC6",0,0,5,5,50,50,1,'FFFFFF','CDC51F','c',true,"");
		oC7 = new oDiv("container7","oC7",0,0,5,5,50,50,1,'FFFFFF','CDC51F','c',true,"");
		oC8 = new oDiv("container8","oC8",0,0,5,5,50,50,1,'FFFFFF','CDC51F','c',true,"");
		oC9 = new oDiv("container9","oC9",0,0,5,5,50,50,1,'FFFFFF','CDC51F','c',true,"");
		sC1 = new oDiv("subCont1","sC1",0,0,5,5,50,50,3,'FFFFFF','CDC51F','l',true,"");
		sC2 = new oDiv("subCont2","sC2",0,0,5,5,50,50,3,'FFFFFF','CDC51F','l',true,"");
		//Menu Container
		oM = new oDiv("menu","oM",(navSet.x/2),(navSet.y/2),0,0,0,0,0,'DCD662','CDC51F','c',true,"",6);
		oMs1 = new oDiv("subMenu1","oMs1",2,2,75,0,0,0,0,'FFFFFF','00FF00','l',true,"");

		function initialise(stage) {
			if (stage == 1) {
				//Animate headings
	//			oT.tH = 60;
	//			oT.redraw();
				
				//Set Container width/height to page. +2 is for border
				oC.w = (navSet.w * 6)+2;
				oC.tW = oC.w;
				oC.h = (navSet.h * 5)+2;
				oC.tH = oC.h;
				for (i=1; i<=9; i++) {
					eval("oC"+i+".d = true");
					eval("oC"+i+".tY = "+parseInt(oC.h/2,10));
					eval("oC"+i+".x = "+(parseInt(oC.w/2,10)+(i*10-50)));
					eval("oC"+i+".tX = "+(parseInt(oC.w/2,10)+(i*10-50)));
				}
				oC.redraw();
				redrawNav();
				document.getElementById(oC.id).style.display = "block";
				//Move to default positions
				oC5.action = function() { setTimeout('animateNav()',200) };
			} else {
				oC.w = (navSet.w * 6)+2;
				oC.tW = oC.w;
				oC.h = (navSet.h * 5)+2;
				oC.tH = oC.h;
				oC.redraw();
				counter = 0;
				for (i=0; i<aPosH.length; i++) {
					for (j=0; j<aPosW.length; j++) {
						counter++;
						eval("oC"+counter+".d = true");
						eval("oC"+counter+".x = "+(aPosW[j]+1));
						eval("oC"+counter+".tX = "+aPosW[j]);
						eval("oC"+counter+".y = "+(aPosH[i]+1));
						eval("oC"+counter+".tY = "+aPosH[i]);
						eval("oC"+counter+".tW = "+navSet.w);
						eval("oC"+counter+".tH = "+navSet.h);
						eval("oC"+counter+".tPCol = 'DCD662'");
						eval("oC"+counter+".oPCol = 'DCD662'");
						eval("oC"+counter+".tBPix = 3");
					}
				}
/*
				for (i=1; i<=9; i++) {
					eval("oC"+i+".tX = "+aPosW[i-1]);
					eval("oC"+i+".tY = "+aPosH[i-1]);
				}
*/
				redrawNav();
				document.getElementById(oC.id).style.display = "block";
				//Move to default positions
//				oC5.action = function() { animateNav() };
			}
		}
		
		function buildMenu(stage,name) {
			switch (stage) {
				case 1:
					redefine('oM',(navSet.x-2),navSet.y,1,(navSet.h*5),'l');
					oM.d = true;
					oM.tBgCol = "900314";
					oM.step = 4;
					oM.action = function() { buildMenu(2) };
				break;
				case 2:
					redefine('oM',0,navSet.y,navSet.x,(navSet.h*5));
					oM.action = function() { buildMenu(5) };
				break;
				case 3:
					oMs1.redraw();
					oMs1.d = true;
					redefine('oMs1',2,2,100,(navSet.h*5)-10,2);
					oMs1.action = function() { buildMenu(5) };
					oM.action = function() { };
					oMs1.redraw();
				break;
				case 4:
					eval(name+".d = false");
					eval(name+".action = function() { }");
					eval(name+".redraw()");
				break;
				case 5:
					oMs1.action = function() { };
					obj= document.getElementById("m_main").childNodes;
					newURL = "";
					counter = 0;
					target = (navSet.c != "")?parseInt(navSet.c.substring(2,3),10):0;
					for (locI=0; locI<obj.length; locI++) {
						if (document.getElementById("m_main").childNodes[locI].tagName == 'LI' && newURL == "") {
							counter++;
							if (target == counter) {
								newURL = document.getElementById("m_main").childNodes[locI].childNodes[0].href;
							}
						}
					}
					document.location.href = newURL;
				break;
				case 6:
					navSet.t = (navSet.c != "")?parseInt(navSet.c.substring(2,navSet.c.length),10):0;
					eval(name+".action = function() { };");
					oTarg = eval(name);
					nObj = document.getElementById(oTarg.id);
					sC1.x = nObj.offsetWidth - sC1.bPix;
					sC1.tX = sC1.x;
					sC1.h = 0;
					sC1.tH = 0;
					sC1.w = 0;
					sC1.tW = 0;
					sC1.y = oTarg.tH - sC1.tH;
					sC1.tY = sC1.y;
					sC1.redraw();
					sC1.tBgCol = sC1.oBgCol;
					switch (aChild[navSet.t]) {
						case "art":
							sC1.action = function() { buildMenu(7,'sC1'); };
							redefine('sC1',null,null,(navSet.w*2),(navSet.h*2),"lb",null,true);
						break;
						case "text":
							sC1.x = -1;
							sC1.tX = 0;
							sC1.y = -1;
							sC1.tY = 0;
							getObject('subCont1').className = "subContainer2Alt";
							sC1.action = function() { buildMenu(8,'sC2'); };
							redefine('sC1',null,null,(navSet.w*5),(navSet.h*8),"l",null,true);
						break;
						case "image":
							getObject('subCont1').className = "subContainer1Alt";
							sC1.action = function() { buildMenu(7,'oC'+navSet.t); };
							redefine('sC1',null,null,(navSet.w*7),(navSet.h*3),"lb",null,true);
						break;
					}
				break;
				case 7:
					eval(name+".action = function() { };");
					oTarg = eval(name);
					nObj = document.getElementById(oTarg.id);
					sC2.x = oTarg.tX;
					sC2.tX = sC2.x;
					sC2.y = oTarg.tY + nObj.offsetHeight - sC2.bPix;
					sC2.tY = sC2.y;
					sC2.w = 0;
					sC2.tW = 0;
					sC2.h = 0;
					sC2.tH = 0;
					sC2.redraw();
					switch (aChild[navSet.t]) {
						case "art":
							redefine('sC2',null,null,(navSet.w*5),(navSet.h*5),null,null,true);
						break;
						case "text":
							redefine('sC2',null,null,(navSet.w*5),(navSet.h*5),null,null,true);
						break;
						case "image":
							getObject('subCont2').className = "subContainer2Alt";
							redefine('sC2',null,null,(navSet.w*5),(navSet.h*5),null,null,true);
						break;
					}
					sC2.action = function() { buildMenu(8,'sC2'); };
				break;
				case 8:
					//initialise menu block
					eval(name+".action = function() { };");
					redefine('oM',navSet.x,navSet.y,1,1,'l');
					oM.tBgCol = "AAA428";
					oM.action = function() { buildMenu(1); };
				break;
			}
		}
		
		function animateNav() {
			oC5.action = function() { };
			counter = 0;
			for (i=0; i<aPosH.length; i++) {
				for (j=0; j<aPosW.length; j++) {
					counter++;
					eval("oC"+counter+".tX = "+aPosW[j]);
					eval("oC"+counter+".tY = "+aPosH[i]);
					eval("oC"+counter+".tPCol = 'DCD662'");
					eval("oC"+counter+".oPCol = 'DCD662'");
				}
			}
			redrawNav();
			setTimeout('growNav()',600);
		}
		
		function redrawNav() {
			setTimeout('oC1.redraw()',10);
			setTimeout('oC2.redraw()',60);
			setTimeout('oC3.redraw()',110);
			setTimeout('oC4.redraw()',130);
			setTimeout('oC6.redraw()',200);
			setTimeout('oC9.redraw()',210);
			setTimeout('oC8.redraw()',260);
			setTimeout('oC7.redraw()',160);
			setTimeout('oC5.redraw()',280);
		}
	
		function growNav() {
			for (i=1; i<=9; i++) {
				eval("oC"+i+".tW = "+navSet.w);
				eval("oC"+i+".tH = "+navSet.h);
				eval("oC"+i+".tBPix = 3");
				document.getElementById("mh"+i).style.display = "block";
			}
			redrawNav();
		}
		
		function overDiv(item,status) {
			oGet = eval("oC"+item);
			if (status==1) {
				eval("oC"+item+".tPCol = 'FFFFFF'");
				document.getElementById(oGet.id).style.cursor = "hand";
				document.getElementById("mh"+item).style.display = "block";
				tsrc = document.getElementById("ming"+item).src;
				if (tsrc.indexOf("_ov.gif")!=-1)
					document.getElementById("ming"+item).src = tsrc.substring(0,tsrc.length-7)+".gif";
			} else {
				eval("oC"+item+".tPCol = '"+oGet.oPCol+"'");
				document.getElementById(oGet.id).style.cursor = "arrow";
				if (navSet.c != "mh"+item) {
					tsrc = document.getElementById("ming"+item).src;
					if (tsrc.indexOf("_ov.gif")==-1)
						document.getElementById("ming"+item).src = tsrc.substring(0,tsrc.length-4)+"_ov.gif";
				}
			}
			eval("oC"+item+".redraw()");
		}

		function expandFade(eDiv,sqrX,sqrY) {
			newTarget = "";
			counter = 0;
			newURL = "";
			obj= document.getElementById("m_main").childNodes;
			for (locI=0; locI<obj.length; locI++) {
				if (document.getElementById("m_main").childNodes[locI].tagName == 'LI' && newURL == "") {
					counter++;
					if (eDiv == counter) {
						newTarget = document.getElementById("m_main").childNodes[locI].childNodes[0].target;
						newURL = document.getElementById("m_main").childNodes[locI].childNodes[0].href;
					}
				}
			}
			navSet.c = "mh"+eDiv;
			obj = eval('oC'+eDiv);
			document.getElementById(obj.id).className = "containerSet";
			eval("oC"+eDiv+".action = function() { buildMenu(6,this.name); }");
			redefine('oC'+eDiv,aPosW[0]-(navSet.w/2),aPosH[0]-(navSet.h/2),(navSet.w*sqrX),(navSet.h*sqrY),'l','top');
			eval("oC"+eDiv+".oPCol = 'FFFFFF'");
			for (i=1; i<=9; i++) {
				if (i != eDiv) {
					eval("oC"+i+".tPCol = 'CDC51F'");
					eval("oC"+i+".action = function() { buildMenu(4,this.name); }");
				}
			}
			redrawNav();
		}
	
		function alertPopup(itemNum) {
			switch (itemNum) {
				case 'pastEhibitions':
					alert("This section is currently under construction\nplease come back soon.");
				break;
				case 'gallery':
					alert("Some web browsers may block popup windows,\nif an alert comes up, please click\n'allow popups from this site'.")
					var prevWindow = window.open('http://mprg.mornpen.vic.gov.au/','_blank','width=800,height=600,menubar=yes,toolbar=yes,scrollbars=yes,status=yes,resizable=yes,location=yes,directories=yes');
				break;
			}
		}
