function submitForm() { document.myForm.submit(); } function popupWindowCMS() { var newWindow=window.open("","popupCMS","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,width=1000,height=600"); newWindow.focus(); } function popupWindow() { var newWindow=window.open("","popup","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,width=960,height=600"); newWindow.focus(); } function switchlayer(Layer_Name) { {document.getElementById(Layer_Name).style.display=(document.getElementById(Layer_Name).style.display=='block') ? 'none' : 'block';} } /* function initBlock() { // vertical slide window.addEvent('domready', function() { var status = { 'true': '» Liste schliessen', 'false': '» Liste öffnen' }; //-vertical1 if(document.getElementById('v_toggle1')) { var myVerticalSlide1 = new Fx.Slide('vertical_slide1'); $('v_toggle1').addEvent('click', function(e){ e.stop(); myVerticalSlide1.toggle(); }); // When Vertical Slide ends its transition, we check for its status // note that complete will not affect 'hide' and 'show' methods myVerticalSlide1.addEvent('complete', function() { $('vertical_status1').set('html', status[myVerticalSlide1.open]); }); } //-vertical2 if(document.getElementById('v_toggle1')) { var myVerticalSlide2 = new Fx.Slide('vertical_slide2'); $('v_toggle2').addEvent('click', function(e){ e.stop(); myVerticalSlide2.toggle(); }); // When Vertical Slide ends its transition, we check for its status // note that complete will not affect 'hide' and 'show' methods myVerticalSlide2.addEvent('complete', function() { $('vertical_status2').set('html', status[myVerticalSlide2.open]); }); } }); } */