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.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.useclick=0
								oCMenu.useNS4links=1  
								oCMenu.NS4padding=2 
								oCMenu.checkselect=0
								oCMenu.offlineUrl="file:///D:/my-work/New_iranmetallurgy_esfand83/" 
								oCMenu.onlineUrl="http://localhost/iranmetallurgy/"
								oCMenu.pagecheck=0 
								oCMenu.checkscroll=0 
								oCMenu.resizecheck=0 
								oCMenu.wait=500
								oCMenu.usebar=0 
								oCMenu.barcolor="#ffff00" 
								oCMenu.barwidth="370" 
								oCMenu.barheight="0" 
								oCMenu.barx="0" 
								oCMenu.bary="0" 
								oCMenu.barinheritborder=0 
								oCMenu.rows=1 
								oCMenu.fromleft="335" 
								oCMenu.fromtop="109" 
								oCMenu.pxbetween=33 
								oCMenu.menuplacement=""
								
								oCMenu.level[0]=new Array() 
								oCMenu.level[0].width=90 
								oCMenu.level[0].height=16 
								oCMenu.level[0].textcolor="White" 
								oCMenu.level[0].hovercolor="#ff9900" 
								oCMenu.level[0].style="padding:2px;font-family:tahoma; font-size:10px;" 
								oCMenu.level[0].border=0 
								oCMenu.level[0].bordercolor="#373800" 
								oCMenu.level[0].offsetX=0
								oCMenu.level[0].offsetY=1 
								oCMenu.level[0].NS4font="tahoma,arial,helvetica,Nazanin"
								oCMenu.level[0].NS4fontSize="2"
								oCMenu.level[0].clip=0 
								oCMenu.level[0].clippx=0 
								oCMenu.level[0].cliptim=0  
								oCMenu.level[0].filter=0 
								oCMenu.level[0].align="bottom" 
								
								oCMenu.level[1]=new Array() 
								oCMenu.level[1].textcolor="White"
								oCMenu.level[1].hovercolor="#ffff66"  
								oCMenu.level[1].bgcoloroff="#707070" 
								oCMenu.level[1].bgcoloron="#8c8a82" 
								oCMenu.level[1].width=80
								oCMenu.level[1].height=17
								oCMenu.level[1].style="padding:1px; font-family:tahoma, arial,helvetica; font-size:11px; text-align:left"
								oCMenu.level[1].align="center"
								oCMenu.level[1].offsetX=-15
								oCMenu.level[1].offsetY=5
								oCMenu.level[1].border=1 
								oCMenu.level[1].bordercolor="black"
								
								oCMenu.level[2]=new Array() 
								oCMenu.level[2].width=100
								oCMenu.level[2].height=15
								oCMenu.level[2].bgcoloroff="#73675C"
								oCMenu.level[2].bgcoloron="#a8a8a8"
								oCMenu.level[2].textcolor="#ffffcc" 
								oCMenu.level[2].hovercolor="#000000"
								oCMenu.level[2].style="padding:2px; font-family:tahoma,arial,helvetica; font-size:9px; text-align:left"
								oCMenu.level[2].align="left" 
								oCMenu.level[2].offsetX=0
								oCMenu.level[2].offsetY=0
								oCMenu.level[2].border=1 
								oCMenu.level[2].bordercolor="#373800"
								oCMenu.level[2].NS4font="tahoma,arial,helvetica"
								oCMenu.level[2].NS4fontSize="2"
								
								// start menu							
								oCMenu.makeMenu('top6','','About Us','e-index.asp','_self','50')
																	
								oCMenu.makeMenu('top2','','Metallurgy industry activity','','_self','120')
									oCMenu.makeMenu('sub20','top2','Cast Iron & Steel Casting','eshowbranchlist.asp?brunchcode=1','_self','170') 
									oCMenu.makeMenu('sub21','top2','Die & Mold Makers','eshowbranchlist.asp?brunchcode=23','_self','170') 									
									oCMenu.makeMenu('sub22','top2','Die Cast','eshowbranchlist.asp?brunchcode=2','_self','170') 
									oCMenu.makeMenu('sub23','top2','Metallurgy Machinery','','_self','170')
										oCMenu.makeMenu('sub231','sub23','Machinery','eshowbranchlist.asp?brunchcode=3','_self','140')
										oCMenu.makeMenu('sub232','sub23','Furnaces','eshowbranchlist.asp?brunchcode=5','_self','140')
										oCMenu.makeMenu('sub233','sub23','Lab Equipment & Instruments','eshowbranchlist.asp?brunchcode=6','_self','140')
										oCMenu.makeMenu('sub234','sub23','Engineering Services','eshowbranchlist.asp?brunchcode=22','_self','140')
									oCMenu.makeMenu('sub24','top2','Material Suppliers','eshowbranchlist.asp?brunchcode=7','_self','170') 
									oCMenu.makeMenu('sub25','top2','Iron-Steel-Aluminum ... Plants','eshowbranchlist.asp?brunchcode=8','_self','170')
									oCMenu.makeMenu('sub26','top2','Welding & Powder Metallurgy','eshowbranchlist.asp?brunchcode=9','_self','170') 
									oCMenu.makeMenu('sub27','top2','Electroplating & Heat Treatment','eshowbranchlist.asp?brunchcode=10','_self','170') 
									oCMenu.makeMenu('sub28','top2','Auto Parts','eshowbranchlist.asp?brunchcode=11','_self','170') 
									oCMenu.makeMenu('sub29','top2','Power & Electricity Parts','','_self','170')
										oCMenu.makeMenu('sub291','sub29','Power & Electricity','eshowbranchlist.asp?brunchcode=13','_self','120')
										oCMenu.makeMenu('sub292','sub29','Wire & Cable','eshowbranchlist.asp?brunchcode=14','_self','120')
									oCMenu.makeMenu('sub210','top2','Oil Gas & Petrochemical Parts','','_self','170')
										oCMenu.makeMenu('sub2101','sub210','Oil-Gas-...Parts','eshowbranchlist.asp?brunchcode=15','_self','120')
										oCMenu.makeMenu('sub2102','sub210','Piping - Corrosion','eshowbranchlist.asp?brunchcode=17','_self','120')
									oCMenu.makeMenu('sub211','top2','Cement Equipments','eshowbranchlist.asp?brunchcode=18','_self','170')
									oCMenu.makeMenu('sub212','top2','Building & Construction Parts','','_self','170')
										oCMenu.makeMenu('sub2121','sub212','Building & Construction','eshowbranchlist.asp?brunchcode=19','_self','120')
										oCMenu.makeMenu('sub2122','sub212','Tools Makers','eshowbranchlist.asp?brunchcode=21','_self','120')
											
								oCMenu.makeMenu('top5','','Societies','e-society.asp','_self','42')
								
								oCMenu.makeMenu('top0','','Contact Us','e-contactus.asp','_self','60')
									
								//end menu
								oCMenu.makeStyle(); oCMenu.construct()