function search(Language) { if(document.suche.suchfeld.value == '') { if(Language == "DE") alert("Bitte Suchbegriff eingeben"); else alert("Please type a word"); } else { MyQuery = '*' + document.suche.suchfeld.value + '*'; MyQuery = '../name/searchresult-' + Language + '?OpenDocument&Query=' + MyQuery.replace(/ /, '+'); document.location.href = MyQuery; } return false; } function PopUp(URLLink, Width, Height) { if (Width == null) Width = 500; if (Height == null) Height = 500; status = ''; winprops = "'width=" + eval(Width) + ",height=" + eval(Height) + ",scrollbars=yes,resizable=yes,menubar=no,toolbar=no,status=no'"; if(URLLink.indexOf("http") == -1) { if(URLLink.indexOf("?OpenDocument") == -1 && URLLink.indexOf("&DL=PopUp") == -1) URLLink = URLLink + "?OpenDocument&DL=PopUp"; else if(URLLink.indexOf("?OpenDocument") > 0 && URLLink.indexOf("&DL=PopUp") == -1) URLLink = URLLink + "&DL=PopUp"; } win = window.open(URLLink, "PopUp", eval(winprops)); win.focus(); } function PrintPreview(URLLink, Width, Height) { if (Width == null) Width = 500; if (Height == null) Height = 500; status = ''; if(top.name != "PopUp" && top.name != "Preview" && top.name != "Search") { winprops = "'width=" + eval(Width) + ",height=" + eval(Height) + ",scrollbars=yes,resizable=yes,menubar=no,toolbar=no,status=no'"; if(URLLink.indexOf("?OpenDocument") == -1 && URLLink.indexOf("&DL=PopUp") == -1) URLLink = URLLink + "?OpenDocument&DL=PopUp"; else if(URLLink.indexOf("?OpenDocument") > 0 && URLLink.indexOf("&DL=PopUp") == -1) URLLink = URLLink + "&DL=PopUp"; win = window.open(URLLink, "Preview", eval(winprops)); win.focus(); win.print(); } else { window.print(); } } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i