function popup(URL){
        reWin=window.open(URL,'_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=800,height=600')
}

function anketa(f){
	var id_answers="";
	for(var i = 0; i < f.vote.length;i++){
       if(f.vote[i].checked){
           id_answers=f.vote[i].value;
       }
    }
    if(id_answers!="")
    	reWin=window.open('?anketa&id='+id_answers,'_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=ho,width=450,height=300');
    else{
    reWin=window.open('?anketa','_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=450,height=300');
    }
}
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); 



