var timeOutInfoBox = null; var activeInfoBox = null; function overGeraetDetail(id) { var el = window.document.getElementById(id); if(el) { el.className = el.className.replace(/ hoverGeraet/g, ""); el.className = el.className + " hoverGeraet"; } } function outGeraetDetail(id) { var el = window.document.getElementById(id); if(el) { el.className = el.className.replace(/ hoverGeraet/g, ""); } } function overGeraet(id,modus) { var el = window.document.getElementById(id); if(el) { el.className = el.className.replace(/ hoverGeraetList/g, ""); el.className = el.className + " hoverGeraetList"; if(modus == 1) { showInfoBox("info-"+id); } } } function outGeraet(id) { var el = window.document.getElementById(id); if(el) { el.className = el.className.replace(/ hoverGeraetList/g, ""); hideInfoBox("info-"+id); } } function showInfoBox(id) { if(activeInfoBox != id) { if(timeOutInfoBox != null) { window.clearTimeout(timeOutInfoBox); timeOutInfoBox = null; } timeOutInfoBox = window.setTimeout("showInfoBoxIntern(\""+id+"\");", 500); } else { showInfoBoxIntern(id); } activeInfoBox = null; } function hideInfoBox(id) { activeInfoBox = id; if(timeOutInfoBox != null) { window.clearTimeout(timeOutInfoBox); timeOutInfoBox = null; } hideInfoBoxIntern(id); } function showInfoBoxIntern(id) { var el = window.document.getElementById(id); if(el) { el.className = el.className.replace(/ show-infobox/g, ""); el.className = el.className + " show-infobox"; } } function hideInfoBoxIntern(id) { var el = window.document.getElementById(id); if(el) { el.className = el.className.replace(/ show-infobox/g, ""); } } function overTarifDetail(id) { var el = window.document.getElementById(id); if(el) { el.className = el.className.replace(/ hoverTarif/g, ""); el.className = el.className + " hoverTarif"; } } function outTarifDetail(id) { var el = window.document.getElementById(id); if(el) { el.className = el.className.replace(/ hoverTarif/g, ""); } } function overTarif(id,modus) { var el = window.document.getElementById(id); if(el) { el.className = el.className.replace(/ hoverTarifList/g, ""); el.className = el.className + " hoverTarifList"; if(modus == 1) { showInfoBox("info-"+id); } } } function outTarif(id) { var el = window.document.getElementById(id); if(el) { el.className = el.className.replace(/ hoverTarifList/g, ""); hideInfoBox("info-"+id); } } function overAngebotDetail(id) { var el = window.document.getElementById(id); if(el) { el.className = el.className.replace(/ hoverTarif/g, ""); el.className = el.className + " hoverTarif"; } } function outAngebotDetail(id) { var el = window.document.getElementById(id); if(el) { el.className = el.className.replace(/ hoverTarif/g, ""); } } function changeKlasse(id,type) { var el = document.getElementById(id); if(el) { if(type == 1) { el.className = 'netz-preis netzpreis-bottom'; }else{ el.className = 'netz-preis netzpreis-top'; } return true; }else{ return false; } } var __configoptionschange = false; function optionsChangeMain(){ var main = window.document.getElementById('config-on'); var text = window.document.getElementById('config-off'); var arrow = window.document.getElementById('optionsarrow'); if(__configoptionschange) { var el = window.document.getElementById('configoptionshidden'); if(el) { el.value = '1'; document.cookie = 'config_aktiv=1;'; } main.style.display = 'block'; text.style.display = 'none'; arrow.innerHTML = '▲'; }else{ var el = window.document.getElementById('configoptionshidden'); if(el) { el.value = '0'; document.cookie = 'config_aktiv=0;'; } main.style.display = 'none'; text.style.display = 'block'; arrow.innerHTML = '▼'; } __configoptionschange = !__configoptionschange; } function startConfigOptions(){ var el = window.document.getElementById('configoptions'); if(el){ el.style.display="block"; } } function optionsChange(id, show){ var element = window.document.getElementById(id); if(element){ if(show){ element.style.display = 'block'; }else{ element.style.display = 'none'; } } } function hinweisChange(id, show){ var element = window.document.getElementById(id); if(element){ if(show){ element.style.display = 'block'; }else{ element.style.display = 'none'; } } } var selectArray = new Array(); var hinweisArray = new Array(); function selectChange(divid, id){ var el = window.document.getElementById(id); if(el){ for(var fx=0;fx