	function CrosailOnLineBooking() 
	{ 
		var w=600; 
		var h=650; 
		var BookingWin=window.open('http://www.booking-manager.com/wbm2/page.html?companyid=263','CrosailOnLineBooking','width='+ w +',height='+ h +',toolbar=yes,location=no,scrollbars=yes,resizable=no'); 
		BookingWin.focus() 
	} 
	
	function k2(idp) 
	{ 
		var w=450; 
		var h=255; 
		var NewWin=window.open('poslovnica.aspx?idp='+idp +'&jezik=cro','Detalji','width='+ w +',height='+ h +',toolbar=yes,location=no,scrollbars=yes,resizable=no'); 
		NewWin.focus() 
	} 
			 
	function OtvoriOglas(idp) 
	{ 
		var w=550; 
		var h=500; 
		var NewWin=window.open('posao.aspx?stranica='+idp +'&jezik=<%Response.Write(this.Jezik);%>','Posao','width='+ w +',height='+ h +',toolbar=yes,location=no,scrollbars=yes,resizable=no'); 
		NewWin.focus() 
	} 
			
	function popimage(imagesrc,naslov,naziv){
		var look='status=no,scrollbars=no, width=300,height=300';
		popwin=window.open('',naziv,look);
		popwin.document.open();
		popwin.document.write('<head><title>'+naslov+'</title></head><body onLoad="self.resizeTo(document.imgItemPic.width+10,document.imgItemPic.height+55)" leftmargin="0" topmargin="0">');
		popwin.document.write('<a href="javascript:this.window.close()"><img name="imgItemPic" alt="'+naslov+'" border="0" vspace="0" hspace="0" src="'+imagesrc+'"></a>');
		popwin.document.write('</body>');
		popwin.document.close();
		popwin.focus();
	}	
			
					
	startList = function() {
		if (document.all && document.getElementById) {
			navRoot = document.getElementById("dmenu");
			for (i=0; i < navRoot.childNodes.length; i++) {
				node = navRoot.childNodes[i];
				if (node.nodeName=="LI") {
					node.onmouseover=function() {
						this.className+=" over";
					}
					node.onmouseout=function() {
						this.className=this.className.replace(" over", "");
					}
				}
			}
		}
	}

	window.onload=startList;	
