
 
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.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?1:0;
	this.ie8=(this.ver.indexOf("MSIE 8")>-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() 

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.pagecheck=1 
oCMenu.checkscroll=0 
oCMenu.resizecheck=1 
oCMenu.wait=500 

//Background bar properties
oCMenu.usebar=0 
oCMenu.barcolor="#6699cc" 
oCMenu.barwidth="100%" 
oCMenu.barheight="menu" 
oCMenu.barx=0 
oCMenu.bary=0 
oCMenu.barinheritborder=0 

//Placement properties
oCMenu.rows=1 
oCMenu.fromleft=140 
oCMenu.fromtop=20 
oCMenu.pxbetween=9 

oCMenu.menuplacement="left"

//TOP LEVEL PROPERTIES - ALL OF THESE MUST BE SPESIFIED FOR LEVEL[0]
oCMenu.level[0]=new Array() 
oCMenu.level[0].width=58 
oCMenu.level[0].height=18 
oCMenu.level[0].bgcoloroff="#b4cdc8" 
oCMenu.level[0].bgcoloron="#336699" 
oCMenu.level[0].textcolor="#000000" 
oCMenu.level[0].hovercolor="White" 
oCMenu.level[0].style="padding:2px; font-family:tahoma,arial,helvetica; font-size:12px; font-weight:" 
oCMenu.level[0].border=0 
oCMenu.level[0].bordercolor="red" 
oCMenu.level[0].offsetX=0 
oCMenu.level[0].offsetY=-1 
oCMenu.level[0].NS4font="tahoma,arial,helvetica"
oCMenu.level[0].NS4fontSize="2"


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="bottom" //Value: "top" || "bottom" || "left" || "right" 

//EXAMPLE SUB LEVEL[1] PROPERTIES  
oCMenu.level[1]=new Array() 
oCMenu.level[1].width=200
oCMenu.level[1].height=18
oCMenu.level[1].style="padding:2px; font-family:tahoma, arial,helvetica; font-size:11px; font-weight:"
oCMenu.level[1].align="bottom" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=1 
oCMenu.level[1].bordercolor="#006699"

//EXAMPLE SUB LEVEL[2] PROPERTIES 
oCMenu.level[2]=new Array() 
oCMenu.level[2].width=145
oCMenu.level[2].height=17
oCMenu.level[2].bgcoloroff="#6699cc"
oCMenu.level[2].bgcoloron="#336699"
oCMenu.level[2].style="padding:2px; font-family:tahoma,arial,helvetica; font-size:10px; font-weight:"
oCMenu.level[2].align="bottom" 
oCMenu.level[2].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[2].offsetY=0
oCMenu.level[2].border=1 
oCMenu.level[2].bordercolor="#006699"
oCMenu.level[2].NS4font="tahoma,arial,helvetica"
oCMenu.level[2].NS4fontSize="1"
oCMenu.level[2].clip=1 
oCMenu.level[2].clippx=20
oCMenu.level[2].cliptim=50


oCMenu.makeMenu('top0','','&nbsp;Главная','http://84.52.75.3/index.php')
	oCMenu.makeMenu('sub00','top0','Институт сегодня','http://84.52.75.3/int.htm')
	oCMenu.makeMenu('sub01','top0','История института','http://84.52.75.3/history.htm')
	oCMenu.makeMenu('sub02','top0','Директора института','http://84.52.75.3/dir.htm')
	oCMenu.makeMenu('sub03','top0','Наши друзья','http://84.52.75.3/friends.htm')
	oCMenu.makeMenu('sub04','top0','Г.И.Турнер','http://84.52.75.3/turner.htm')
	oCMenu.makeMenu('sub05','top0','Нам 75!','http://84.52.75.3/75.htm')
	      oCMenu.makeMenu('sub051','sub05', 'Детский праздник','http://84.52.75.3/gal2/index.htm')
		  oCMenu.makeMenu('sub052','sub05', 'Друзья и гости','http://84.52.75.3/gal3/index.htm')
    oCMenu.makeMenu('sub06','top0','Школа','http://84.52.75.3/school.htm')
	oCMenu.makeMenu('sub07','top0','Карта сайта','http://84.52.75.3/karta.htm')		  
	
	
	
	
oCMenu.makeMenu('top1','','&nbsp;Новости','http://84.52.75.3/news03.htm')
	
	
oCMenu.makeMenu('top2','','&nbsp;Наука','http://84.52.75.3/science.htm')	
     oCMenu.makeMenu('sub20','top2','Ученый совет','http://84.52.75.3/uchs.htm')
	oCMenu.makeMenu('sub21','top2','Клиническая ординатура и аспирантра','http://84.52.75.3/uchs_asp.htm','',200,30)
	oCMenu.makeMenu('sub22','top2','Научно-организационный отдел','http://84.52.75.3/science_org.htm')
	oCMenu.makeMenu('sub23','top2','Кафедра МАПО','http://84.52.75.3/mapo.htm')
	oCMenu.makeMenu('sub24','top2','Детский городской ожоговый центр','http://84.52.75.3/1-gor.htm')
	
oCMenu.makeMenu('top3','','&nbsp;Клиники','http://84.52.75.3/clinic.htm')
	oCMenu.makeMenu('sub30','top3','Клиника костной патологии <br>(1 отделение)','http://84.52.75.3/kl1.htm','',200,30)
	oCMenu.makeMenu('sub31','top3','Клиника патологии позвоночника и нейрохирургии (2 отделение)','http://84.52.75.3/kl2.htm','',200,30)
	oCMenu.makeMenu('sub32','top3','Клиника патологии тазобедренного сустава (3 отделение)','http://84.52.75.3/kl3.htm','',200,30)
	oCMenu.makeMenu('sub33','top3','Клиника патологии стопы, голени, системных заболеваний <br>(4 отделение)','http://84.52.75.3/kl4.htm','',200,45)
	oCMenu.makeMenu('sub34','top3','Клиника детского церебрального паралича (5 отделение)','http://84.52.75.3/kl5.htm','',200,30)
	oCMenu.makeMenu('sub35','top3','Клиника хирургии кисти и реконструктивной микрохирургии <br>(6 отделение)','http://84.52.75.3/kl6.htm','',200,45)
	oCMenu.makeMenu('sub36','top3','Клиника последствий травмы, ревматоидного артрита и комбустиологии (7 отделение)','http://84.52.75.3/kl7.htm','',200,45)
	oCMenu.makeMenu('sub37','top3','Клиника челюстно-лицевой хирургии (8 отделение)','http://84.52.75.3/nkl8.htm','',200,30)
	oCMenu.makeMenu('sub38','top3','Клиника артрогрипоза<br>(10 отделение)','http://84.52.75.3/kl10.htm','',200,30) 
	oCMenu.makeMenu('sub39','top3','Ортопедо-травмотологическое реабилитационное отделение<br>(11 отделение)','http://84.52.75.3/kl11.htm','',200,30) 
	oCMenu.makeMenu('sub391','top3','Операционный блок и анестезиологическое обеспечение операций','http://84.52.75.3/oper.htm','',200,45)
	oCMenu.makeMenu('sub392','top3','Отделение двигательной реабилитации','http://84.52.75.3/lokomat.htm','',200,30)
	
	
oCMenu.makeMenu('top4','','Услуги','http://www.rosturner.ru/med.htm')
	oCMenu.makeMenu('sub40','top4','Консультативно-диагностическое отделение','http://84.52.75.3/amb.htm')
	oCMenu.makeMenu('sub41','top4','Отделение госпитализации','http://84.52.75.3/stac.htm')
	oCMenu.makeMenu('sub42','top4','Лабораторно-диагностический отдел','http://84.52.75.3/labor.htm')
	oCMenu.makeMenu('sub43','top4','Телемедицина (Консультации по  документам)','http://84.52.75.3/consul.htm','',200,30)
	
	
oCMenu.makeMenu('top5','','Контакты','http://84.52.75.3/contact.htm')
	<!-- oCMenu.makeMenu('sub50','top5','xxxxxxx','http://84.52.75.3/kl1.htm','',200,30) -->
	<!-- oCMenu.makeMenu('sub51','top5','xxxxxxx','http://v/kl1.htm','',200,30) -->
	<!--oCMenu.makeMenu('sub52','top5','xxxxxx','http://www.')-->	
	<!--oCMenu.makeMenu('sub53','top5','xxxx','http://www.','',200,30)-->	
	<!-- oCMenu.makeMenu('sub52','top5','Запись на телемедицинскую консультацию','http://www.','',200,45) -->
	<!-- oCMenu.makeMenu('sub53','top5','xxxx','http://www.','',200,30) -->
	
oCMenu.makeMenu('top6','','Как нас найти','http://84.52.75.3.htm','',90)


	

		

oCMenu.makeStyle(); oCMenu.construct()	


		
