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 

slideMenu = new createSlideMenu('slideMenu')

//Variables to set:
slideMenu.menuy=16 //The top placement of the menu.
slideMenu.menux=135 //The left placement of the menu
slideMenu.useImages = 1 //Are you using images or not?
slideMenu.pxspeed=16 //The pixel speed of the animation
slideMenu.timspeed=25 //The timer speed of the animation
slideMenu.inset=0 //How much the selected elements should pop to the left
slideMenu.arrow=0

//Needed dummy classes
slideMenu.bgClass =	'slideMenuBG'
slideMenu.txtClass = 'slideMenuText'

//Level properties - ALL properties have to be spesified in level 0
//This works the same way as the CM4 script (if you have seen it)
slideMenu.level[0] = new slideMenu_makeLevel(
	left = 0,
	width = 180,
	height = 25,
	between = 0,
	className = "clSlideMenu0",
	classNameA = "clA0",
	regImage = "images/menu_out.gif",
	overImage = "images/menu_over.gif",
	roundImg = "",
	roundImg2 = "",
	subImg = "images/menu_over.gif",
	subRound= "")
	
slideMenu.level[1] = new slideMenu_makeLevel(0,180,25,0,"clSlideMenu1","clA1","images/menu2_out.gif","images/menu2_over.gif")


//Image preload --- leave this
for(var i=0;i<slideMenu.level;i++){
	var l = slideMenu.level[i]
	
}

//Menu 1
slideMenu.makeMenu('top','HOME','default.htm')

slideMenu.makeMenu('top','TANZANITE')
	slideMenu.makeMenu('sub','History','tanzanite_history.htm')
	slideMenu.makeMenu('sub','Geology','tanzanite_geology.htm')
	slideMenu.makeMenu('sub','Mining &#38; Processing','tanzanite_mining_process.htm')
	slideMenu.makeMenu('sub','Trading &#38; Sightholders','tanzanite_sightholders.htm')
	slideMenu.makeMenu('sub','The Tanzanite Foundation','tanzanite_tanzanite_foundation.htm')
	slideMenu.makeMenu('sub','The Tanzanite Experience','tanzanite_tanzanite_experience.htm')
	slideMenu.makeMenu('sub','FAQs','tanzanite_FAQ.htm')
	
slideMenu.makeMenu('top','TANZANITE ONE')
	slideMenu.makeMenu('sub','Company Overview','tanzaniteone_comp_over.htm')
	slideMenu.makeMenu('sub','Corporate Information','tanzaniteone_corp_info.htm')
	slideMenu.makeMenu('sub','Board of Directors &#38; Management','tanzaniteone_board.htm')
	slideMenu.makeMenu('sub','Corporate Goverance','tanzaniteone_corp_gov.htm')
	slideMenu.makeMenu('sub','Corporate Social Responsibility','tanzaniteone_social.htm')
	 
	
slideMenu.makeMenu('top','INVESTORS &#38; MEDIA')
	slideMenu.makeMenu('sub','Announcements','investor_announcements.htm')
	slideMenu.makeMenu('sub','Results &#38; Annual Reports','investor_financial.htm')
	slideMenu.makeMenu('sub','Presentations &#38; Factsheets','investor_presentations.htm')
	slideMenu.makeMenu('sub','Media','investor_media.htm')
	slideMenu.makeMenu('sub','Research','investor_research.htm')
	slideMenu.makeMenu('sub','Image Gallery','investor_image_gallery.htm')
	slideMenu.makeMenu('sub','AIM Rule 26','investor_rule26.htm')


		
slideMenu.makeMenu('top','CONTACTS','contact.htm')

slideMenu.init()		

