/** * @author lkuhs */ function maphover(idContinent) { var objMap = document.getElementById("world_map_hover"); var intPos = -121 * idContinent; if(objMap) { objMap.style.backgroundPosition = "-208px " + intPos + "px" } } function checkContinent() { var stringURI = window.location.href.toLowerCase(); var objMap = document.getElementById("world_map"); var idContinent = 0; var intPos = 0; if(objMap) { //check which on continent we are if(stringURI.indexOf("/amerika/") > -1) { idContinent = 1; }else if(stringURI.indexOf("/europa/") > -1) { idContinent = 2; }else if(stringURI.indexOf("/afrika/") > -1) { idContinent = 3; }else if(stringURI.indexOf("/asien/") > -1) { idContinent = 4; }else if(stringURI.indexOf("/ozeanien/") > -1) { idContinent = 5; } intPos = -121 * idContinent; objMap.style.backgroundPosition = "0px " + intPos + "px" } } /** * @author iwoersdoerfer */ function showSearchButton(){ var txtField = document.getElementById("InputKeywords"); var searchBtn = document.getElementById("SearchButton"); if(txtField.value != '') searchBtn.style.display="block"; else searchBtn.style.display="none"; } function changeBgImg(nr){ if(nr=1) document.getElementById("SearchButton").style.backgroundImage="../images/search_hover.gif"; else document.getElementById("SearchButton").style.backgroundImage="../images/search.gif"; } /** * SOS Includes made by Siemens */ try { document.execCommand("BackgroundImageCache", false, true); } catch(err) {} function ExecuteSearch(event) { // using standard functionality for performing search tasks if(event.which || event.keyCode) { if ((event.which == 13) || (event.keyCode == 13)) { ExecuteSearchButton(); } } } function ExecuteSearchButton() { // using standard functionality for performing search tasks GoSearch(null,'InputKeywords',null,true,false,null,null,null,null,'\u002fSuche\u002fdefault.aspx', 'This Site','This List', 'This Folder', 'Related Sites', '\u002f_layouts\u002fOSSSearchResults.aspx'); } function bookmark() { bookmarkurl=window.location.href; bookmarktitle=window.document.title; if (document.all) window.external.AddFavorite(bookmarkurl,bookmarktitle) else if (window.sidebar) // firefox window.sidebar.addPanel(bookmarktitle, bookmarkurl, ""); } function printPage() { window.print(); }