/*****************************************************************************
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() 
var mDebugging=2 

oCMenu=new makeCoolMenu("oCMenu") 
oCMenu.useframes=0 
oCMenu.frame="frmMain" 
oCMenu.useclick=0 
oCMenu.useNS4links=1  
oCMenu.NS4padding=2 
oCMenu.checkselect=0                                                                                         
oCMenu.offlineUrl="file:///D|/putufolder/bb/" 
oCMenu.onlineUrl="http://www.balifriend.net/" 
oCMenu.pagecheck=1 
oCMenu.checkscroll=1 
oCMenu.resizecheck=1 
oCMenu.wait=500 

//Background bar properties
oCMenu.usebar=0 
oCMenu.barcolor="Navy" 
oCMenu.barwidth="100%" 
oCMenu.barheight="menu" 
oCMenu.barx=0 
oCMenu.bary=0 
oCMenu.barinheritborder=0 

//Placement properties
oCMenu.rows=0 
oCMenu.fromleft=0 
oCMenu.fromtop="55%"
oCMenu.pxbetween=0 
oCMenu.menuplacement="0"


oCMenu.level[0]=new Array() 
oCMenu.level[0].width=120
oCMenu.level[0].height=20 
oCMenu.level[0].bgcoloroff="#333333" 
oCMenu.level[0].bgcoloron="666666" 
oCMenu.level[0].textcolor="#999999" 
oCMenu.level[0].hovercolor="#ffffff" 
oCMenu.level[0].style="padding:0px; font-family:tahoma,arial,helvetica; font-size:12px; font-weight:bold" 
oCMenu.level[0].border=1 
oCMenu.level[0].bordercolor="#444444" 
oCMenu.level[0].offsetX=0 
oCMenu.level[0].offsetY=0 
oCMenu.level[0].NS4font="tahoma,arial,helvetica"
oCMenu.level[0].NS4fontSize="2"

/*New: Added animation features that can be controlled on each level.*/
oCMenu.level[0].clip=1 
oCMenu.level[0].clippx=15 
oCMenu.level[0].cliptim=50 
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 
oCMenu.level[0].align="right" 


oCMenu.level[1]=new Array() 
oCMenu.level[1].width=oCMenu.level[0].width+20
oCMenu.level[1].height=19
oCMenu.level[1].style="padding:2px; font-family:tahoma, arial,helvetica; font-size:11px; font-weight:bold"
oCMenu.level[1].align="top" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=1 
oCMenu.level[1].bordercolor="#444444"


oCMenu.makeMenu('top0','','','http://www.balifriend.net/index.html','',0,0,"http://www.balifriend.net/image/link-home.gif","http://www.balifriend.net/image/link-home2.gif")
		
oCMenu.makeMenu('top1','','','','',0,0,'http://www.balifriend.net/image/link-aboutme.gif','http://www.balifriend.net/image/link-aboutme2.gif')
	oCMenu.makeMenu('sub10','top1','who i am','http://www.balifriend.net/about_bali_driver.html')
	oCMenu.makeMenu('sub11','top1','references','http://www.balifriend.net/references.html')
		
oCMenu.makeMenu('top2','','','','',0,0,'http://www.balifriend.net/image/link-myoffer.gif','http://www.balifriend.net/image/link-myoffer2.gif')
	oCMenu.makeMenu('sub20','top2','bali tours service','http://www.balifriend.net/bali_tours_service.html')
	oCMenu.makeMenu('sub21','top2','bali tours itinerary','http://www.balifriend.net/bali_tour_service/bali_tours_itinerary.html')
		           
oCMenu.makeMenu('top3','','','http://www.balifriend.net/bali-explorer.html','',0,0,'http://www.balifriend.net/image/link-baliexplorer.gif','http://www.balifriend.net/image/link-baliexplorer2.gif')          
oCMenu.makeMenu('top4','','','http://www.balifriend.net/index.html','',0,0,'http://www.balifriend.net/image/link-notes.gif','http://www.balifriend.net/image/link-notes2.gif')
oCMenu.makeMenu('top5','','','http://www.balifriend.net/gallery/index.php','',0,0,'http://www.balifriend.net/image/link-baliphoto.gif','http://www.balifriend.net/image/link-baliphoto2.gif')
oCMenu.makeMenu('top6','','','http://www.balifriend.net/bali_travel_tips.html','',0,0,'http://www.balifriend.net/image/link-balitips.gif','http://www.balifriend.net/image/link-balitips2.gif') 		
oCMenu.makeMenu('top7','','','http://www.balifriend.net/bali_tours_inquiry.html','',0,0,"http://www.balifriend.net/image/link-inquiry.gif","http://www.balifriend.net/image/link-inquiry2.gif")
	
//Leave these two lines! Making the styles and then constructing the menu
oCMenu.makeStyle(); oCMenu.construct()		
