// Live Suche function auswahltasten(e) { var keynum; var keychar; var numcheck; if(window.event) // IE { keynum = e.keyCode; } else if(e.which) // Netscape/Firefox/Opera { keynum = e.which; } // wir unterbrechen mal das Fensterschliessen if(timeout_search_for) window.clearTimeout(timeout_popup); timeout_popup = window.setTimeout(function() { closePopup(); }, 15000); if (keynum==13) { wert=document.getElementById('selectbox').options[document.getElementById('selectbox').selectedIndex].value; if (wert>0) { document.getElementById('ifab_pid').value=wert; document.getElementById('direktsuche').submit(); } } } function auswahlmaus() { wert=document.getElementById('selectbox').options[document.getElementById('selectbox').selectedIndex].value; if (wert>0) { document.getElementById('ifab_pid').value=wert; document.getElementById('direktsuche').submit(); } } timeout_search_for = null; timeout_popup = null; function closePopup() { document.getElementById("ergebnis").innerHTML = ''; } function sucheAjax(suchbegriff,lang,sessid,zuff){ if(timeout_popup) window.clearTimeout(timeout_popup); document.getElementById("ergebnis").innerHTML = ''; var xmlHttp = null; // Mozilla, Opera, Safari sowie Internet Explorer 7 if (typeof XMLHttpRequest != 'undefined') { xmlHttp = new XMLHttpRequest(); } if (!xmlHttp) { // Internet Explorer 6 und �lter try { xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { xmlHttp = null; } } } // Wenn das Objekt erfolgreich erzeugt wurde if (xmlHttp) { var url = "https://www.hu-berlin.de/de/service/zisneu/ajax_data.php"; //Suchscript var params = "m=2&lang="+lang+"&ifabsessid="+sessid+"&req="+suchbegriff+"&zuf="+zuff; //Suchbegriff das im Formular eigeben wurde if (lang=='de') document.getElementById("ergebnis").innerHTML = '