/*****************************************************************************
Default browsercheck - Leave this one
******************************************************************************/
function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion; this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck() //Making browsercheck object

var mDebugging=2 //General debugging variable. Set to 0 for no debugging, 1 for alerts or 2 for status debugging.

oCMenu=new makeCoolMenu("oCMenu") //Making the menu object. Argument: menuname
oCMenu.useframes=0 //no frames (1 for frames)
oCMenu.frame="" //no frames

oCMenu.useclick=0 //on over (on click=1)
oCMenu.useNS4links=0  
oCMenu.NS4padding=2 
oCMenu.checkselect=0

oCMenu.offlineUrl="file:///C|/WINDOWS/Desktop/Sym-15-7/sym-15-7/scripts/" 
oCMenu.onlineUrl="http://www.iaaf.uwa.edu.au/sym/"
oCMenu.pagecheck=1 
oCMenu.checkscroll=2 
oCMenu.resizecheck=1 
oCMenu.wait=1000 

//Background bar properties
oCMenu.usebar=0 //If you want to use a background-bar for the top items set this on - Value: 1 || 0
oCMenu.barcolor="#CAE193" //The color of the background bar - Value: "color""#B4DE00"
oCMenu.barwidth="menu" 
oCMenu.barheight="menu"
oCMenu.barx="menu" 
oCMenu.bary="menu" 
oCMenu.barinheritborder=0 //Set this to 1 if you want the bar to have the same border as the top menus - Value: 0 || 1

//Placement properties
oCMenu.rows=5
oCMenu.fromleft=5 
oCMenu.fromtop=4
oCMenu.pxbetween=3 
oCMenu.menuplacement=5

//TOP LEVEL PROPERTIES - ALL OF THESE MUST BE SPESIFIED FOR LEVEL[0]
oCMenu.level[0]=new Array() //Add this for each new level
oCMenu.level[0].width=100 //The default width for each level[0] (top) items. You can override this on each item by spesifying the width when making the item. - Value: px || "%"
oCMenu.level[0].height=15 //The default height for each level[0] (top) items. You can override this on each item by spesifying the height when making the item. - Value: px || "%"
oCMenu.level[0].bgcoloroff="#fff000" //"#B4DE00" The default background color for each level[0] (top) items. You can override this on each item by spesifying the backgroundcolor when making the item. - Value: "color"
oCMenu.level[0].bgcoloron="#EEFcCC" //The default "on" background color for each level[0] (top) items. You can override this on each item by spesifying the "on" background color when making the item. - Value: "color"
oCMenu.level[0].textcolor="#333333" //  "#7D7F7C" The default text color for each level[0] (top) items. You can override this on each item by spesifying the text color when making the item. - Value: "color"
oCMenu.level[0].hovercolor="#7D7F7C" //The default "on" text color for each level[0] (top) items. You can override this on each item by spesifying the "on" text color when making the item. - Value: "color"
oCMenu.level[0].style="padding:2px; font-family:arial,helvetica; font-size:9px;" //The style for all level[0] (top) items. - Value: "style_settings"
oCMenu.level[0].border=1 //The border size for all level[0] (top) items. - Value: px
oCMenu.level[0].bordercolor="#ffff00" //The border color for all level[0] (top) items. - Value: "color"
oCMenu.level[0].offsetX=3 //The X offset of the submenus of this item. This does not affect the first submenus, but you need it here so it can be the default value for all levels. - Value: px
oCMenu.level[0].offsetY=3 //The Y offset of the submenus of this item. This does not affect the first submenus, but you need it here so it can be the default value for all levels. - Value: px
oCMenu.level[0].NS4font="arial,helvetica"
oCMenu.level[0].NS4fontSize="1"
oCMenu.level[0].align="bottom" //Value: "top" || "bottom" || "left" || "right" 

oCMenu.makeMenu('top0','','  Home','http://www.visiblespace.com')//item 1
	
oCMenu.makeMenu('top1','','Information','')//Item 2
	oCMenu.makeMenu('sub10','top1','emails','email.html')
	oCMenu.makeMenu('sub11','top1','Contact','contact.html')
	oCMenu.makeMenu('sub12','top1','blog','http://i-500.org/blog/cat/midas/')
	oCMenu.makeMenu('sub13','top1','Bibliography','bios.htm' )
	//oCMenu.makeMenu('sub14','top1','distributed difference','exhibitions/distributed/index.html')
		
oCMenu.makeMenu('top2','','midas','')//Item 3
	oCMenu.makeMenu('sub20','top2','Premise','premise.html')
	oCMenu.makeMenu('sub21','top2','Context','context.html')
	oCMenu.makeMenu('sub22','top2','Midas exhibition','test.html')
	//oCMenu.makeMenu('sub22','top2','Funding Source','test.html')
	//oCMenu.makeMenu('sub23','top2','Issues','context.html')
	//oCMenu.makeMenu('sub24','top2','Themes/concepts','planning.html')
	//oCMenu.makeMenu('sub25','top2','Scope','test.html')
	//oCMenu.makeMenu('sub26','top2','Partners','test.html')

	
	//oCMenu.makeMenu('sub27','top2','Prototypes','test.html')
	//oCMenu.makeMenu('sub24','top2','distributed difference','test.html')
		
oCMenu.makeMenu('top3','','Nano node','')
	oCMenu.makeMenu('sub30','top3','Context','nplanning.html')
	oCMenu.makeMenu('sub31','top3','Ideas','nanonotes.html')
		oCMenu.makeMenu('sub32','top3','Midas exhibition','test.html')
			oCMenu.makeMenu('sub33','top3','visual reference','midasimages/index.htm')
	

oCMenu.makeMenu('top4','','Bio node','')
	oCMenu.makeMenu('sub40','top4','Context','planning.html')
	oCMenu.makeMenu('sub41','top4','Ideas','symnotes.html')
		oCMenu.makeMenu('sub42','top4','visual reference','midasimages/index.htm')
			//oCMenu.makeMenu('sub43','top4','Seminars','test.html')
			
oCMenu.makeMenu('top5','','i-500 project','')
	oCMenu.makeMenu('sub50','top5','Concepts','http://www.i-500.org')
	/oCMenu.makeMenu('sub51','top5','Approach','http://www.i-500.org/approach.html')
		//oCMenu.makeMenu('sub52','top5','Draft papers','test.html')
			//oCMenu.makeMenu('sub53','top5','Research design','test.html')
			//oCMenu.makeMenu('sub54','top5','Presentations','test.html')

	
oCMenu.makeMenu('top6','','Project','')//Item 6
oCMenu.makeMenu('sub60','top6','Partners','')
oCMenu.makeMenu('sub600','sub60','Symbiotica','http://www.symbiotica.uwa.edu.au')
oCMenu.makeMenu('sub601','sub60','NRI','http://www.nanochemistry.curtin.edu.au/about/index.cfm')
oCMenu.makeMenu('sub602','sub60','iVEC','http://www.ivec.org/')
oCMenu.makeMenu('sub603','sub60','i-dat','<a href="http://www.i-dat.org/go/home')
	//oCMenu.makeMenu('sub61','top6','ARC','')
	//oCMenu.makeMenu('sub604','sub61','applications','test.html')
		//oCMenu.makeMenu('sub62','top6','Funding sources','test.html')
			//oCMenu.makeMenu('sub63','top6','Reports','test.html')
				//oCMenu.makeMenu('sub64','top6','Performance indicators','test.html')
					//oCMenu.makeMenu('sub65','top6','Agenda meetings','test.html')
						//oCMenu.makeMenu('sub66','top6','Project plans','test.html')
						//oCMenu.makeMenu('sub67','top6','Budget template','test.html')
						//oCMenu.makeMenu('sub68','top6','Project briefs','test.html')
						//oCMenu.makeMenu('sub69','top6','Potential partners','test.html')

oCMenu.makeMenu('top7','','Midas login','http://i-500.org/blog/cat/midas/')
		
		
//Leave these two lines! Making the styles and then constructing the menu
oCMenu.makeStyle(); oCMenu.construct()		