function moveFooter() { // alert("moveFooter") var f = document.getElementById('footer') var wH = getWindowHeight() var fabsH = absTop(f) var frelH = f.offsetTop var fH = f.offsetHeight // if(document.all) { /*alert( "footer abstop: " + fabsH + "\n" + "footer frelH: " + frelH + "\n" + "footer fH: " + fH + "\n" + "getWindowHeight: " + wH + "\n" + "footerMarginTop: " + (wH - fabsH - fH)+ "\n" + "") */ // } if ((document.body.scrollHeight + fH) < wH) { f.style.top = (wH - fabsH - fH - 5) + 'px' } } function hideLanguageSelectionPulldown(evt,el) { evt = evt ? evt : event; selPull = document.getElementById('language_selector') if (!el.contains(evt.relatedTarget || evt.toElement)) { selPull.style.display = "none" } } function showLanguageSelectionPulldown() { document.getElementById('language_selector').style.display='block'; } // P R O D U K T A L T E R N A T I V E N prodAltholderPos = 0; anzVon = 1; anzBis = 5; function moveProdAlt(direction,Anz) { /* 5 Elemente pro Reihe */ maxpos = Anz-5; buttonL = document.getElementById('prodAltButtonLeft') buttonR = document.getElementById('prodAltButtonRight') holder = document.getElementById('prodAltPush') divArr = getElementsByClassNameM(holder,'','pro_altern_img'); divWidthArr = new Array() for(i=0; i 0) { prodAltholderPos-- holder.style.marginLeft = -divWidthArr[prodAltholderPos]+'px' anzBis-- anzVon-- } } buttonL.className = "pro_altern_left" buttonR.className = "pro_altern_right" if (prodAltholderPos==0) buttonL.className = "pro_altern_left_grey"; if (prodAltholderPos==maxpos) buttonR.className = "pro_altern_right_grey"; //report(prodAltholderPos + ' ' + holder.style.marginLeft ,0) document.getElementById('anzVon').innerHTML = anzVon; document.getElementById('anzBis').innerHTML = anzBis; } // end P R O D U K T A L T E R N A T I V E N