/**********************************************************************************
makemenu 3.0
*   Copyright (C) 2000-2005 Sudesh Jha
*   This may be used and changed freely as long as this msg is intact!
*   We will also appreciate any links you could give us.
*   Made by Sudesh Jha (jha_sudesh@hotmail.com)
*Script date: 07/01/2009 (keep this date to check versions)
*********************************************************************************/

function lib_bwcheck(){ 
    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.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?1:0;
    this.ie8=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?1:0;
    this.ie4=(document.all && !this.dom)?1:0;
    this.ie=this.ie4||this.ie5||this.ie6||this.ie7||this.ie8
    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.ie8 || this.ie7 || this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
    return this
}
var bw=new lib_bwcheck() 

oCMenu=new makeCoolMenu("oCMenu")
oCMenu.useframes=0 
oCMenu.frame="frmMain" 

oCMenu.useclick=0
oCMenu.useNS4links=0  
oCMenu.NS4padding=0 
oCMenu.checkselect=0

oCMenu.pagecheck=1

oCMenu.resizecheck=1 
oCMenu.wait=500

oCMenu.usebar=1 
//oCMenu.barcolor="#5C0083" 
oCMenu.barwidth="100%" 
oCMenu.barheight="20" 
oCMenu.barx=0 
oCMenu.bary=62
oCMenu.barinheritborder=0 

oCMenu.rows=1
oCMenu.fromleft=0
oCMenu.fromtop=8

/**Top Menu Bar - with main 6 options**/

oCMenu.level[0]=new Array() 
oCMenu.level[0].width=125 
oCMenu.level[0].height=20
/**oCMenu.level[0].bgcoloroff="#1F35C9" 
oCMenu.level[0].bgcoloron="#000000"**/ 
oCMenu.level[0].textcolor="#FFFFFF" 
oCMenu.level[0].hovercolor="#00FFFF" 
oCMenu.level[0].style="padding:3px; font-family:tahoma,arial,helvetica; font-size:12px; font-weight:bold; text-align:center;"
oCMenu.level[0].border=0
oCMenu.level[0].bordercolor="#C0C0C0"
oCMenu.level[0].offsetX=5
oCMenu.level[0].offsetY=1
oCMenu.level[0].NS4font="arial,tahoma,helvetica"
oCMenu.level[0].NS4fontSize="2"
oCMenu.level[0].clip=1 
oCMenu.level[0].clippx=30
oCMenu.level[0].cliptim=20
oCMenu.level[0].align="bottom"


oCMenu.level[1]=new Array() 
oCMenu.level[1].width=125
oCMenu.level[1].height=28
oCMenu.level[1].bgcoloroff="#0000FF"
oCMenu.level[1].bgcoloron="#FFFFFF"
oCMenu.level[1].textcolor="#FFFFFF" 
oCMenu.level[1].hovercolor="#0000FF"
oCMenu.level[1].style="padding:1px; font-family:tahoma,arial,helvetica; font-size:11px;"
oCMenu.level[1].align="center" 
oCMenu.level[1].offsetX=2
oCMenu.level[1].offsetY=2
oCMenu.level[1].border=1 
oCMenu.level[1].bordercolor="#000000"
oCMenu.level[1].NS4font="arial,tahoma,helvetica"
oCMenu.level[1].NS4fontSize="1"

oCMenu.level[2]=new Array() 
oCMenu.level[2].width=125
oCMenu.level[2].height=20
oCMenu.level[2].bgcoloroff="#0000FF"
oCMenu.level[2].bgcoloron="#ffffff"
oCMenu.level[2].textcolor="#FFFFFF" 
oCMenu.level[2].hovercolor="#0000FF"
oCMenu.level[2].style="padding:2px; font-family:tahoma,arial,helvetica; font-size:11px;"
oCMenu.level[2].offsetX=2
oCMenu.level[2].offsetY=2
oCMenu.level[2].align="center" 
oCMenu.level[2].border=1 
oCMenu.level[2].bordercolor="#000000"
oCMenu.level[2].NS4font="arial,tahoma,helvetica"
oCMenu.level[2].NS4fontSize="1"

//oCMenu.makeMenu('top0','','HOME','http://www.nrnchina.com/','',80)
    
/**User sub10-sub39 for main pulldown**/

oCMenu.makeMenu('top10','','NRN-China','http://www.nrnchina.com/nrnchina.htm')
    oCMenu.makeMenu('sub100','top10','About NRN China','http://www.nrnchina.com/aboutus.htm')
    oCMenu.makeMenu('sub101','top10','Logo Usage','http://www.nrnchina.com/logousage.htm')
    oCMenu.makeMenu('sub102','top10','Terms Of Use','http://www.nrnchina.com/terms.htm')
    oCMenu.makeMenu('sub103','top10','Privacy','http://www.nrnchina.com/privacy.htm')
    oCMenu.makeMenu('sub104','top10','About NRN','http://www.nrnchina.com/nrn.htm')
		oCMenu.makeMenu('sub1040','sub104','Introduction','http://www.nrn.org.np/nrna/intro.php','',130)
	    oCMenu.makeMenu('sub1041','sub104','Objective','http://www.nrn.org.np/nrna/objective.php','',130)
	    oCMenu.makeMenu('sub1042','sub104','NRN-ICC','http://www.nrn.org.np/nrna/nrnicc.php','',130) 
    oCMenu.makeMenu('sub106','top10','Contact Us','http://www.nrnchina.com/contactus.htm')
    
oCMenu.makeMenu('top1','','Committee','http://www.nrnchina.com/committee.htm','')
    oCMenu.makeMenu('sub109','top1','Executive Committee(2009~2011)', 'http://www.nrnchina.com/executive2.htm','',130)
		
    oCMenu.makeMenu('sub11','top1','Executive Committee(2007~2009)', 'http://www.nrnchina.com/executive1.htm','',130)
		
    oCMenu.makeMenu('sub12','top1','Adhoc Committee(2006~2007)', 'http://www.nrnchina.com/executive.htm','',130)
		
    oCMenu.makeMenu('sub13','top1','Sub Committee','','',130)
		oCMenu.makeMenu('sub130','sub13','Constitution Draft','http://www.nrnchina.com/const-draft-comiti.htm','',130)

     oCMenu.makeMenu('sub14','top1','Regional Committee','','',130)
		oCMenu.makeMenu('sub140','sub14','Beijing','','',130)
		oCMenu.makeMenu('sub141','sub14','Shanghai','','',130)
		oCMenu.makeMenu('sub142','sub14','YiWu','','',130)
		oCMenu.makeMenu('sub143','sub14','Fujian','','',130)
		

	
	
/**Use sub40-59 for main pulldown**/
oCMenu.makeMenu('top4','','Support','http://www.nrnchina.com/support.htm')
    oCMenu.makeMenu('sub40','top4','Download', '','',130)
    	oCMenu.makeMenu('sub401','sub40','Membership Form','http://www.nrnchina.com/nrnmemberform.pdf','',130)
    	oCMenu.makeMenu('sub402','sub40','Constitution (Bidhan)','http://www.nrnchina.com/bidhan.pdf','',130)
    	oCMenu.makeMenu('sub403','sub40','Code of Conduct','http://www.nrnchina.com/codeofconduct.pdf','',130)
    oCMenu.makeMenu('sub41','top4','Feedback & Suggestion','http://www.nrnchina.com/feedback.htm','',130)
    /**oCMenu.makeMenu('sub42','top4','Feedback','http://www.rancostyle.com/feedback.htm','',130)**/
    oCMenu.makeMenu('sub43','top4','FAQ','','',130)
    
/**Use sub60-79 for main pulldown**/
oCMenu.makeMenu('top6','','Activities','http://www.nrnchina.com/activities.htm')
    oCMenu.makeMenu('sub60','top6','Future Events','','',130)
    oCMenu.makeMenu('sub61','top6','Past Activities','','',130)
    oCMenu.makeMenu('sub62','top6','News Archive','http://www.nrnchina.com/2009/newslist.htm','',130)
 
oCMenu.makeMenu('top9','','HOME','http://www.nrnchina.com','')