/*
$ /js/WUI.js | 2008/12/23 08:00 | 2009/01/30 10:07 $
*/

function addBookmark(B,A){if(document.all){window.external.AddFavorite(A,B)}else{if(window.sidebar){window.sidebar.addPanel(B,A,"")}else{alert("Az Ön böngészője nem támogatja ezt a funkciót.")}}}function InsertSWF(G,B,F,E,D,C){this.Insert=function H(){document.write(A)};var A='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+C+',0,0,0" width="'+B+'" height="'+F+'" title="'+E+'">';A+='  <param name="allowScriptAccess" value="sameDomain" />';A+='  <param name="movie" value="'+G+'" />';A+='  <param name="quality" value="best" />';A+='  <param name="scale" value="exactfit" />';A+='  <param name="bgcolor" value="'+D+'" />';A+='  <embed src="'+G+'" menu="false" quality="best" width="'+B+'" height="'+F+'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';A+="</object>"}function AJAX(){if(window.XMLHttpRequest){xmlhttp=new XMLHttpRequest()}else{if(window.ActiveXObject){xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}else{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")}}return xmlhttp}function getCounties(C,A){var B=new AJAX();if(!B){document.search.submit()}else{B.open("GET","/fooldal/AJAX_getCounties.cgi?course_id="+C+"&label="+A,true);B.onreadystatechange=function(){if((B.readyState==4)&&(B.status==200)){document.getElementById("countylist").innerHTML=B.responseText}};B.send(null)}}function OpenImage(A){var C=(screen.availWidth/2)-(512/2);var B=(screen.availHeight/2)-(384/2);PopUpWindow=window.open(A,"","width=512, height=384, left="+C+", top="+B+", resizable=1, scrollbars=0")}function setTab(A,B){tabShow=document.getElementById("searchBoxTab"+A);boxShow=document.getElementById("searchBoxBody"+A);tabHide=document.getElementById("searchBoxTab"+B);boxHide=document.getElementById("searchBoxBody"+B);if(boxShow){tabShow.className="button search"+A+" active";boxShow.style.display="block"}if(boxHide){tabHide.className="button search"+B;boxHide.style.display="none"}}nbHover=function(){var A=document.getElementById("contentInnerM").getElementsByTagName("div");for(var B=0;B<A.length;B++){if(A[B].className.match("newsBox")&&A[B].className.match("newsBoxL")==null&&A[B].className.match("newsBoxR")==null){A[B].onmouseover=function(){for(var C=0;C<A.length;C++){if(A[C].className.match("newsBox highlight")){A[C].className="newsBox"}}this.className="newsBox highlight"}}}};window.onload=function(){nbHover()};
