
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.frame="frmMain"

oCMenu.useclick=0

oCMenu.useNS4links=0  

oCMenu.NS4padding=2 

oCMenu.checkselect=0


oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1
oCMenu.wait=600

oCMenu.usebar=0
oCMenu.barcolor="#637b7b"
oCMenu.barwidth="583"
oCMenu.barheight="19"
oCMenu.barx=177
oCMenu.bary=114
oCMenu.barinheritborder=0

oCMenu.rows=1
oCMenu.fromleft=0
oCMenu.fromtop=103
oCMenu.pxbetween=1
oCMenu.menuplacement=new Array(193,326,431,569,701)


oCMenu.level[0]=new Array()
oCMenu.level[0].width=130
oCMenu.level[0].height=15
oCMenu.level[0].bgcoloroff="#637b7b" //The default background color for each level[0] (top) items.
oCMenu.level[0].bgcoloron="#c0c0c0" //The default "on" background color for each level[0] (top) items. 
oCMenu.level[0].textcolor="#ffffff" //The default text color for each level[0] (top) items.
oCMenu.level[0].hovercolor="#000000" //The default "on" text color for each level[0] (top) items.
//You can override this on each item by spesifying the "on" text color when making the item. - Value: "color" {acest lucru se poate utiliza si pentru liniile de mai sus : 66, 67, 68
oCMenu.level[0].style="padding:2px; font-family:verdana,arial,helvetica; font-size:10px; font-weight:bold" 
oCMenu.level[0].border=1
oCMenu.level[0].bordercolor="#000000"
oCMenu.level[0].offsetX=1
oCMenu.level[0].offsetY=1
oCMenu.level[0].NS4font="verdana,arial,helvetica"
oCMenu.level[0].NS4fontSize="1"

oCMenu.level[0].clip=1
oCMenu.level[0].clippx=20
oCMenu.level[0].cliptim=50
//Filters - This can be used to get some very nice effect like fade, slide, stars and so on. EXPLORER5.5+ ONLY - If you set this to a value it will override the clip on the supported browsers
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Pixelate(duration=0.5,maxSquare=10)"

/*Different filter specs you can try:
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Barn(duration=0.5,orientation=horizontal)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Blinds(duration=0.5,bands=5)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.CheckerBoard(duration=0.5)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.5,wipeStyle=0)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=STAR)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=CIRCLE)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Pixelate(duration=0.5,maxSquare=40)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.RadialWipe(duration=0.5)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.RandomBars(duration=0.5,orientation=vertical)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Spiral(duration=0.5)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Stretch(duration=0.5,stretchStyle=push)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Strips(duration=0.5,motion=rightdown)"
*/

oCMenu.level[0].align="bottom" //Value: "top" || "bottom" || "left" || "right" 

//EXAMPLE SUB LEVEL[1] PROPERTIES 
oCMenu.level[1]=new Array()
oCMenu.level[1].width=oCMenu.level[0].width+80
oCMenu.level[1].height=18
oCMenu.level[1].style="padding:2px; font-family:arial,helvetica; font-size:11px; font-weight:regular"
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="#000000"

//EXAMPLE SUB LEVEL[2] PROPERTIES 
oCMenu.level[2]=new Array() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=240
oCMenu.level[2].height=17

oCMenu.level[2].style="padding:4px; font-family:verdana,arial,helvetica; font-size:10px; font-weight:regular"
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="#000000"
oCMenu.level[2].NS4font="verdana,arial,helvetica"
oCMenu.level[2].NS4fontSize="1"
oCMenu.level[2].clip=1 
oCMenu.level[2].clippx=20
oCMenu.level[2].cliptim=50

//EXAMPLE SUB LEVEL[3] PROPERTIES 
oCMenu.level[3]=new Array() //Add this for each new level (adding one to the number)
oCMenu.level[3].width=100
oCMenu.level[3].height=17

oCMenu.level[3].style="padding:4px; font-family:verdana,arial,helvetica; font-size:10px; font-weight:regular"
oCMenu.level[3].align="bottom" 
oCMenu.level[3].offsetX=-(oCMenu.level[0].width-2)/2+100
oCMenu.level[3].offsetY=1
oCMenu.level[3].border=1
oCMenu.level[3].bordercolor="#000000"
oCMenu.level[3].NS4font="verdana,arial,helvetica"
oCMenu.level[3].NS4fontSize="1"
oCMenu.level[3].clip=1 
oCMenu.level[3].clippx=20
oCMenu.level[3].cliptim=50

/*Buttons*/

oCMenu.makeMenu('top0','','&nbsp;Pregatirea Calatoriei','','',128,0)/*trebuie calea exacta*/
	oCMenu.makeMenu('sub00','top0','<li>Acte de calatorie si Vize','http://www.jiuvalley.com/romana/turism/visas_doc.asp')
	oCMenu.makeMenu('sub01','top0','<li>Asigurari','http://www.jiuvalley.com/romana/turism/insurance.asp')
	oCMenu.makeMenu('sub02','top0','<li>Transport','')
	oCMenu.makeMenu('sub03','top0','<li>Informatii','http://www.jiuvalley.com/romana/turism/information.asp')
	oCMenu.makeMenu('sub04','top0','<li>Mancaruri si Bauturi specifice Zonei','http://www.jiuvalley.com/romana/turism/food_drinks.asp')
	oCMenu.makeMenu('sub05','top0','<li>Posibilitati de cazare ','')
	oCMenu.makeMenu('sub06','top0','<li>Locuri de distractie','http://www.jiuvalley.com/romana/turism/nightlife_entertain.asp')
	oCMenu.makeMenu('sub07','top0','<li>Costuri, Bani si Banci','http://www.jiuvalley.com/romana/turism/cost_money_banks.asp')
	oCMenu.makeMenu('sub08','top0','<li>Comunicare si Internet ','http://www.jiuvalley.com/romana/turism/post_comm.asp')
	oCMenu.makeMenu('sub09','top0','<li>Media','http://www.jiuvalley.com/romana/turism/media.asp')
	oCMenu.makeMenu('sub10','top0','<li>Program de functionare - Institutii Publice','http://www.jiuvalley.com/romana/turism/public_institutions.asp')
	oCMenu.makeMenu('sub11','top0','<li>Festivale si Sarbatori Publice','http://www.jiuvalley.com/romana/turism/festivals_holidays.asp')
	oCMenu.makeMenu('sub12','top0','<li>Servicii Medicale','http://www.jiuvalley.com/romana/turism/health_medical.asp')
	oCMenu.makeMenu('sub13','top0','<li>Servicii ale Politiei-Siguranta Publica','http://www.jiuvalley.com/romana/turism/police_troubles.asp')
	oCMenu.makeMenu('sub14','top0','<li>Catalog','http://www.jiuvalley.com/romana/turism/directory.asp')
		oCMenu.makeMenu('sub001','sub02','&nbsp;- Inspre si dinspre Romania','http://www.jiuvalley.com/romana/turism/getting_there.asp','',180,0)
		oCMenu.makeMenu('sub002','sub02','&nbsp;- Transport Local','http://www.jiuvalley.com/romana/turism/local_transp.asp','',180,0)
		oCMenu.makeMenu('sub007','sub05','&nbsp;- Informatii generale','http://www.jiuvalley.com/romana/turism/accomodation.asp','',200,0)
		oCMenu.makeMenu('sub003','sub05','&nbsp;- Hoteluri / Moteluri ','http://www.jiuvalley.com/romana/turism/hotels_motels.asp','',200,0)
		oCMenu.makeMenu('sub004','sub05','&nbsp;- Cabane Comerciale','http://www.jiuvalley.com/romana/turism/comm_cabanas.asp','',200,0)
		oCMenu.makeMenu('sub005','sub05','&nbsp;- Cabane Private','http://www.jiuvalley.com/romana/turism/private_cabanas.asp','',200,0)
		oCMenu.makeMenu('sub006','sub05','&nbsp;- Locuri de campare','http://www.jiuvalley.com/romana/turism/campgrounds.asp','',200,0)
		
		//oCMenu.makeMenu('sub008','sub11','&nbsp;- Festivals','http://www.jiuvalley.com/romana/development/dzone.asp','',100,0)
		//oCMenu.makeMenu('sub009','sub11','&nbsp;- Customs','http://www.jiuvalley.com/romana/development/dzone.asp','',100,0)


oCMenu.makeMenu('top1','','&nbsp;Despre Turism','','',100,0)
	oCMenu.makeMenu('sub15','top1','<li>Obiective Istorice','http://www.jiuvalley.com/romana/turism/historical_sites.asp','',100,0)
	oCMenu.makeMenu('sub16','top1','<li>Muzee','http://www.jiuvalley.com/romana/turism/museum.asp','',100,0)
	oCMenu.makeMenu('sub17','top1','<li>Turism Rural','','',100,0)
		oCMenu.makeMenu('sub010','sub17','&nbsp;- Definitii-Descrieri','http://www.jiuvalley.com/romana/turism/def_description.asp','',250,0)
		oCMenu.makeMenu('sub011','sub17','&nbsp;- Lista Participantilor, Poze ale Oraselor','http://www.jiuvalley.com/romana/turism/farms_villages.asp','',250,0)
		oCMenu.makeMenu('sub012','sub17','&nbsp;- Agenti Turistice Rurale','http://www.jiuvalley.com/romana/turism/rural_agency.asp','',250,0)



oCMenu.makeMenu('top2','','&nbsp;Aventura si Recreatie','','',133,0)
	oCMenu.makeMenu('sub18','top2','<li>Destinatii Carpatice','','',160,0)
	     oCMenu.makeMenu('sub013','sub18','&nbsp;- Zona Muntilor Parang','http://www.jiuvalley.com/romana/turism/parang.asp','',160,0)
		oCMenu.makeMenu('sub014','sub18','&nbsp;- Zona Muntilor Vulcan','http://www.jiuvalley.com/romana/turism/valcan.asp','',160,0)
		oCMenu.makeMenu('sub015','sub18','&nbsp;- Parcul National Retezat','http://www.jiuvalley.com/romana/turism/retezat.asp','',160,0)
		oCMenu.makeMenu('sub016','sub18','&nbsp;- Zona Muntilor Sureanu','http://www.jiuvalley.com/romana/turism/surean.asp','',160,0)
	oCMenu.makeMenu('sub19','top2','<li>Sporturi si Activitati specifice','http://www.jiuvalley.com/romana/turism/development/business_data.asp','',160,0)
	      oCMenu.makeMenu('sub017','sub19','&nbsp;- Drumetii Montane','http://www.jiuvalley.com/romana/turism/hiking.asp','',140,0)
		oCMenu.makeMenu('sub018','sub19','&nbsp;- Alpinism / Escalada','http://www.jiuvalley.com/romana/turism/rock_climbing.asp','',140,0)
		oCMenu.makeMenu('sub019','sub19','&nbsp;- Ski / Snowboard','http://www.jiuvalley.com/romana/turism/ski_snow.asp','',140,0)
		oCMenu.makeMenu('sub020','sub19','&nbsp;- Speologie','http://www.jiuvalley.com/romana/turism/caving.asp','',140,0)
		oCMenu.makeMenu('sub021','sub19','&nbsp;- Ciclism Montan','http://www.jiuvalley.com/romana/turism/mountain_biking.asp','',140,0)
		oCMenu.makeMenu('sub022','sub19','&nbsp;- Parapantism','http://www.jiuvalley.com/romana/turism/paragliding.asp','',140,0)
		oCMenu.makeMenu('sub023','sub19','&nbsp;- Bungee Jumping','http://www.jiuvalley.com/romana/turism/bungee.asp','',140,0)
		oCMenu.makeMenu('sub024','sub19','&nbsp;- Canyoning','http://www.jiuvalley.com/romana/turism/canyoning.asp','',140,0)
		oCMenu.makeMenu('sub025','sub19','&nbsp;- Rafting/Kayaking','http://www.jiuvalley.com/romana/turism/rafting.asp','',140,0)
		oCMenu.makeMenu('sub026','sub19','&nbsp;- Pescuit','http://www.jiuvalley.com/romana/turism/fishing.asp','',140,0)
		oCMenu.makeMenu('sub027','sub19','&nbsp;- Drumetii','http://www.jiuvalley.com/romana/turism/mountaineering.asp','',140,0)
		       

	oCMenu.makeMenu('sub20','top2','<li>Inchirieri de Echipamente','http://www.jiuvalley.com/romana/turism/equipment_rent.asp','',160,0)
	oCMenu.makeMenu('sub21','top2','<li>Ghizi / Programe Speciale','','',160,0)
		
		
		oCMenu.makeMenu('sub028','sub21','&nbsp;- Oferte Speciale','http://www.jiuvalley.com/romana/turism/special_offers.asp','',100,0)
		oCMenu.makeMenu('sub029','sub21','&nbsp;- Tururi','http://www.jiuvalley.com/romana/turism/tours.asp','',100,0)
			
			

oCMenu.makeMenu('top3','','&nbsp;Resursele calatorului','','',127,0) 
	oCMenu.makeMenu('sub30','top3','<li>Schimb Valutar','http://www.jiuvalley.com/romana/turism/currency_conv.asp','',140,0)
	oCMenu.makeMenu('sub34','top3','<li>Ora Locala','http://www.jiuvalley.com/romana/turism/local_time.asp','',140,0)
	oCMenu.makeMenu('sub31','top3','<li>Ghid Turistic','http://www.jiuvalley.com/romana/turism/guidebooks.asp','',140,0)
	oCMenu.makeMenu('sub35','top3','<li>Resurse Lingvistice','http://www.jiuvalley.com/romana/turism/languages.asp','',140,0)
	//oCMenu.makeMenu('sub32','top3','<li>Glossary','http://www.jiuvalley.com/romana/turism/glossary.asp','',140,0)
	oCMenu.makeMenu('sub33','top3','<li>Link-uri','http://www.jiuvalley.com/romana/turism/explorers_links.asp','',140,0)
	



oCMenu.makeMenu('top4','','&nbsp;Itinerarii','http://www.jiuvalley.com/romana/turism/itineraries.asp','',61,0) 

	


		
//Leave these two lines! Making the styles and then constructing the menu
oCMenu.makeStyle(); oCMenu.construct()