/*****************************************************************************
Default browsercheck
******************************************************************************/
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=""
oCMenu.useNS4links=1
oCMenu.NS4padding=2
oCMenu.checkselect=1
oCMenu.offlineUrl=""
oCMenu.onlineUrl=""

oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1
oCMenu.wait=50

oCMenu.usebar=1
oCMenu.barcolor="white"
oCMenu.barwidth="69%"
oCMenu.barheight="menu"
oCMenu.barx=0
oCMenu.bary="menu"
oCMenu.barinheritborder=0

oCMenu.rows=1
oCMenu.fromleft=0
oCMenu.fromtop=103
oCMenu.pxbetween=1
oCMenu.menuplacement=0
oCMenu.NS4hover=1

oCMenu.level[0]=new Array() 
oCMenu.level[0].width=109.3
oCMenu.level[0].height=18 
oCMenu.level[0].bgcoloroff="green"
oCMenu.level[0].bgcoloron="red" 
oCMenu.level[0].textcolor="white"
oCMenu.level[0].hovercolor="yellow" 
oCMenu.level[0].style="font-family:verdana,helvetica; font-size:12px; font-weight:Bold"
oCMenu.level[0].border=1 
oCMenu.level[0].bordercolor="white" 
oCMenu.level[0].offsetX=0 
oCMenu.level[0].offsetY=-1 
oCMenu.level[0].NS4font="arial,helvetica"
oCMenu.level[0].NS4fontSize="2"
oCMenu.level[0].NS4fontColor="darkyellow"
oCMenu.level[0].align="bottom"
oCMenu.level[0].clip=1
oCMenu.level[0].clippx=2
oCMenu.level[0].cliptim=2
oCMenu.level[0].filter=0


oCMenu.level[1]=new Array() 
oCMenu.level[1].width=110
oCMenu.level[1].height=18
oCMenu.level[1].bgcoloroff="black"
oCMenu.level[1].bgcoloron="blue"
oCMenu.level[1].textcolor="white"
oCMenu.level[1].hovercolor=""
oCMenu.level[1].style="padding:2px; font-family:Arial,helvetica; font-size:11px; font-weight:Bold"
oCMenu.level[1].align="bottom" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=1 
oCMenu.level[1].bordercolor="white"
oCMenu.level[1].NS4font="arial,helvetica"
oCMenu.level[1].NS4fontSize="2"
oCMenu.level[1].NS4fontColor="black"

oCMenu.makeMenu('top0','','&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Learn A.R','http://www.niar.org/intro/default.htm')
 oCMenu.makeMenu('sub86','top0','&nbsp;Introduction Tour','http://www.niar.org/intro/default.htm')
 oCMenu.makeMenu('sub21','top0','&nbsp;What is','http://www.niar.org/whatis.html')
 oCMenu.makeMenu('sub22','top0','&nbsp;Become Ham','http://www.niar.org/become.html')
 oCMenu.makeMenu('sub23','top0','&nbsp;Procedure','http://www.niar.org/procedure.html')
 oCMenu.makeMenu('sub82','top0','&nbsp;Benifits','http://www.niar.org/arbenifits.html')
 oCMenu.makeMenu('sub24','top0','&nbsp;WPC Rules','http://www.niar.org/wpc.html')  

oCMenu.makeMenu('top1','','&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Activities','')
  oCMenu.makeMenu('sub00','top1','&nbsp;Relief Operation','http://www.niar.org/relief.html')
  oCMenu.makeMenu('sub01','top1','&nbsp;Demonstrations','http://www.niar.org/demo.html')
  oCMenu.makeMenu('sub02','top1','&nbsp;Training','http://www.niar.org/train.html')
  oCMenu.makeMenu('sub03','top1','&nbsp;Events','http://www.niar.org/events.html')
  oCMenu.makeMenu('sub04','top1','&nbsp;H.F. Nets in India','http://www.niar.org/nets.html')
  oCMenu.makeMenu('sub44','sub04','&nbsp;Charminar Net','http://www.niar.org/charminar.html')
  oCMenu.makeMenu('sub45','sub04','&nbsp;Belgaum Net','http://www.niar.org/belgaum.html')
  oCMenu.makeMenu('sub46','sub04','&nbsp;CW Net','http://www.niar.org/cw.html')
  oCMenu.makeMenu('sub47','sub04','&nbsp;AM Net','http://www.niar.org/am.html')
  oCMenu.makeMenu('sub48','sub04','&nbsp;AIR Net','http://www.niar.org/airnet.html')
  oCMenu.makeMenu('sub49','sub04','&nbsp;Malabar Net','http://www.niar.org/malbar.html')
  oCMenu.makeMenu('sub50','sub04','&nbsp;GEM Net','http://www.niar.org/gem.html')
  oCMenu.makeMenu('sub61','sub04','&nbsp;Other Nets','http://www.niar.org/other.html')
  oCMenu.makeMenu('sub05','top1','&nbsp;Repeaters in India','http://www.niar.org/repeaters.html')
  oCMenu.makeMenu('sub62','sub05','&nbsp;Bangalore','http://www.niar.org/ban.html')
  oCMenu.makeMenu('sub63','sub05','&nbsp;Chennai','http://www.niar.org/chennai.html')
  oCMenu.makeMenu('sub64','sub05','&nbsp;Coimbatore','http://www.niar.org/coim.html')  
  oCMenu.makeMenu('sub65','sub05','&nbsp;Hyderabad','http://www.niar.org/hyd.html')
  oCMenu.makeMenu('sub66','sub05','&nbsp;Iddukki','http://www.niar.org/idduk.html')
  oCMenu.makeMenu('sub67','sub05','&nbsp;Kodaikanal','http://www.niar.org/kodai.html')
  oCMenu.makeMenu('sub68','sub05','&nbsp;Kollam','http://www.niar.org/kollam.html')
  oCMenu.makeMenu('sub69','sub05','&nbsp;New Delhi','http://www.niar.org/delhi.html')
  oCMenu.makeMenu('sub70','sub05','&nbsp;Palghat','http://www.niar.org/palg.html')
  oCMenu.makeMenu('sub71','sub05','&nbsp;Rajapalayam','http://www.niar.org/rajap.html')
  

oCMenu.makeMenu('top2','','&nbsp;&nbsp;&nbsp;&nbsp;Achievement','')
  oCMenu.makeMenu('sub10','top2','&nbsp;Andaman Expedition','http://www.niar.org/andaman.html')
  oCMenu.makeMenu('sub11','top2','&nbsp;Lakshadweep Exped','http://www.niar.org/lakshadweep.html')
  oCMenu.makeMenu('sub12','top2','&nbsp;M.P.L.A.D','http://www.niar.org/mplad.html')
  oCMenu.makeMenu('sub13','top2','&nbsp;Golden Antenna','http://www.niar.org/golden.html')
  oCMenu.makeMenu('sub14','top2','&nbsp;CBSE','http://www.niar.org/cbse.html')
  oCMenu.makeMenu('sub15','top2','&nbsp;PSB','http://www.niar.org/psb.html')

oCMenu.makeMenu('top3','','&nbsp;&nbsp;&nbsp;Technology','')
  oCMenu.makeMenu('sub1','top3','&nbsp;&nbsp;&nbsp;Digital','http://www.niar.org/digital.html')
  oCMenu.makeMenu('sub2','top3','&nbsp;&nbsp;&nbsp;Echolink','http://www.niar.org/echolink.html')
  oCMenu.makeMenu('sub3','top3','&nbsp;&nbsp;&nbsp;IRLP','http://www.niar.org/irlp.html') 
  oCMenu.makeMenu('sub4','top3','&nbsp;&nbsp;&nbsp;HF-BBS / Telpac','http://www.niar.org/bbs.html')
  oCMenu.makeMenu('sub5','top3','&nbsp;&nbsp;&nbsp;Satellites','http://www.niar.org/sat.html')
  oCMenu.makeMenu('sub6','top3','&nbsp;&nbsp;&nbsp;SSTV','http://www.niar.org/sstv.html')



oCMenu.makeMenu('top4','','&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gallery','')
   oCMenu.makeMenu('sub31','top4','&nbsp;Orissa Cyclone','http://www.niar.org/orissa/origal.html')
   oCMenu.makeMenu('sub32','top4','Gujarat Earthquake','http://www.niar.org/gujarat/gujgal.html')
   oCMenu.makeMenu('sub33','top4','TDPS','http://www.niar.org/tdps/index.html')
   oCMenu.makeMenu('sub34','top4','Appreciation Letters','http://www.niar.org/app/appgal.html')
   oCMenu.makeMenu('sub35','top4','Hamfest India 2003','http://www.niar.org/hfi/default.htm')
  
  
oCMenu.makeMenu('top5','','&nbsp;&nbsp;&nbsp;About NIAR','')
  oCMenu.makeMenu('sub51','top5','&nbsp;Profile','http://www.niar.org/profile.html') 
oCMenu.makeMenu('sub52','top5','&nbsp;History','') 
oCMenu.makeMenu('sub100','sub52','&nbsp;&nbsp;&nbsp;Invented','http://www.niar.org/invented.html')
oCMenu.makeMenu('sub101','sub52','&nbsp;&nbsp;&nbsp;First Club','http://www.niar.org/firstclub.html')
oCMenu.makeMenu('sub102','sub52','&nbsp;&nbsp;First Ham','http://www.niar.org/firstham.html')
  oCMenu.makeMenu('sub53','top5','&nbsp;Governing Council','http://www.niar.org/gov.html')
  oCMenu.makeMenu('sub54','top5','&nbsp;Membership Form','http://www.niar.org/members.html')
  oCMenu.makeMenu('sub81','top5','&nbsp;NIAR offers','http://www.niar.org/benifits.html')
  oCMenu.makeMenu('sub55','top5','&nbsp;QSL Bureau','http://www.niar.org/qsl.html')
  oCMenu.makeMenu('sub56','top5','&nbsp;RACES WING','http://www.niar.org/races.html')
  oCMenu.makeMenu('sub57','top5','&nbsp;Jobs','http://www.niar.org/jobs.html')
  oCMenu.makeMenu('sub58','top5','&nbsp;Chairman','http://www.niar.org/sja.html')
  oCMenu.makeMenu('sub59','top5','&nbsp;Founder','http://www.niar.org/my.html')
  oCMenu.makeMenu('sub85','top5','&nbsp;News Letters','http://www.niar.org/news/index.html')
  oCMenu.makeMenu('sub41','top5','&nbsp;NIAR-DERA','http://www.niar.org/dera.html')
  oCMenu.makeMenu('sub42','top5','&nbsp;NIAR-IIH','http://www.niar.org/iih.html')

oCMenu.makeMenu('top6','','&nbsp;&nbsp;&nbsp;FAQs','http://www.niar.org/faqs.html')
oCMenu.makeMenu('sub83','top6','&nbsp;Contact Us','http://www.niar.org/contact.htm')
oCMenu.makeMenu('sub84','top6','&nbsp;Feedback','http://www.niar.org/feed.htm')
oCMenu.makeMenu('sub43','top6','&nbsp;Links','http://www.niar.org/links.html')

oCMenu.makeStyle(); oCMenu.construct()		


function cm_checkScrolled(obj)
   {
     if(bw.ns4 || bw.ns6)
       {
           obj.scrolledY=obj.win.pageYOffset
       }
    else 
       {
           obj.scrolledY=obj.win.document.body.scrollTop
       }
	
    if(obj.scrolledY!=obj.lastScrolled)
          {
	   if(!obj.useframes)
             {
		self.status=obj.scrolledY
		if(obj.scrolledY>119)
                 {
			for(i=0;i<obj.l[0].num;i++)
                           {
                            var sobj=obj.l[0].o[i].oBorder; 
                            sobj.moveY(obj.scrolledY)
                           }
			if(obj.usebar) obj.oBar.moveY(obj.scrolledY)
		}
               else
                {
			for(i=0;i<obj.l[0].num;i++){var sobj=obj.l[0].o[i].oBorder; sobj.moveY(obj.fromtop)}
			if(obj.usebar) obj.oBar.moveY(obj.fromtop)
		}

             }
            obj.lastScrolled=obj.scrolledY; page.y=obj.scrolledY; page.y2=page.y2orig+obj.scrolledY
          if(!obj.useframes || bw.ie)
           {
            clearTimeout(obj.tim); obj.isover=0; obj.hideSubs(1,0)
           }
	}
	if((bw.ns4 || bw.ns6) && !obj.useframes) setTimeout("cm_checkScrolled("+obj.name+")",200)
   }