<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

ieHover = function() {
	var ieLIs = document.getElementById('meni').getElementsByTagName('li');
	for (var i=0; i<ieLIs.length; i++) if (ieLIs[i]) {
		ieLIs[i].onmouseover=function() {
			
		var ieUL = this.getElementsByTagName('ul')[0];
		if (ieUL) {
		var ieMat = document.createElement('iframe');
						ieMat.style.width=ieUL.offsetWidth+"px";
						ieMat.style.height=ieUL.offsetHeight+"px";	
						ieUL.insertBefore(ieMat,ieUL.firstChild);
						ieUL.style.zIndex="99";
						}
			
			this.className+=" iehover";
			}
		ieLIs[i].onmouseout=function() {
			this.className=this.className.replace(' iehover', '');
			}
			}
	}
if (window.attachEvent) window.attachEvent('onload', ieHover);


function PHOTO(sPicURL) { 
				window.open("/popup.htm?"+sPicURL, "", "resizable=0,WIDTH=280,HEIGHT=280");
			}


function changelanguage()
{
   window.location = document.myform.ID_Jezik.value;
}

   function convertdata()
{
   var tecaj1=document.getElementById("tecaj1")
   mytecaj1 = tecaj1.options[tecaj1.selectedIndex].value
   var tecaj2=document.getElementById("tecaj2")
   mytecaj2 = tecaj2.options[tecaj2.selectedIndex].value
   var vrijednost = document.getElementById("convert1").value
   document.getElementById("convert2").value = Math.round(((mytecaj1*vrijednost)/mytecaj2)*100)/100
}
	function bookmarksite(title, url){
	if (document.all)
	window.external.AddFavorite(url, title);
	else if (window.sidebar)
	window.sidebar.addPanel(title, url,"");
}


function formValidation(form)
			{
					if(notEmpty(form.email))
				{
						if(notEmpty(form.password))
					{
											return true;
					}
				}

			return false;
		}

function notEmpty(elem)
{
	var str = elem.value;
	if(str.length == 0)
	{
		alert("You must fill required fields.");
		return false;
	}
	else
	{
		return true;
	}
}
function checkemail(source)
{
	var emailFilter=/^.+@.+\..{2,3}$/;
	if (!(emailFilter.test(source.value)))
	{ 
		   alert("Invalid e-mail address.");
		   return false;
   }
   return true;
}
function Check(sender)
{
	if(!formValidation(sender))
	{
		return false;				
	}
	if(!checkemail(sender.email))
	{
		return false;
	}

	return true;
}

function loadFlash(movieName, movieWidth, movieHeight, backColour, version) {

document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=" + version + ",0,0,0\" width=\"" + movieWidth + "\" height=\"" + movieHeight + "\">");
   document.write("<param name=movie value=\"" + movieName + "\">");
   document.write("<param name=menu value=false>");
   document.write("<param name=quality value=high>");
   document.write("<param name=wmode value=transparent>");
   document.write("<param name=wmode value=opaque>");
   document.write("<PARAM NAME=bgcolor VALUE=#" + backColour + ">");
   document.write("<embed src=\"" + movieName + "\" menu=false quality=high  bgcolor=#" + backColour + " pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"" + movieWidth + "\" height=\"" + movieHeight + "\">");
   document.write("</embed></object>");
} 

   function sendform_acc(ID)
   {
      if (ID == 1)
	  {
	  }
	  else if (ID == 3)
	  {
	     document.myFormacc.action="clearselection_acc.asp"
	  }
	  else
	  {
	  }
	  document.myFormacc.submit()
   }   




//-->
