sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);



sat = function() {
     vrijeme = new Date();
     var sat = vrijeme.getHours();
     var minuta = vrijeme.getMinutes();
     var sekunda = vrijeme.getSeconds();
     var ispis = "" + ((sat < 10) ? "0" : "") + sat;
      ispis += ((minuta < 10) ? ":0" : ":") + minuta + ((sekunda < 10) ? ":0" : ":") + sekunda;
     var theDiv = document.getElementById("vura");
     theDiv.innerHTML = ispis;
     window.setTimeout("sat()", 1000);
     
}

