function sidebutton(was) { g="hp';"; b="ument.lo"; a="doc"; c="cation.hre"; d="f='/"; e=was; f=".p"; eval(a+b+c+d+e+f+g); } // Ab hier Popup-Functionen top_position=80; function move_popup() { tmp=document.getElementById('popup_layer'); if(tmp.style.display!='none') { oben=document.body.scrollTop; // if(pageYOffset)oben=pageYOffset; // else{oben=document.body.scrollTop;} tmp.style.top=oben+top_position; } } function ajax_popup(doc,w,h) { mittew=(screen.availWidth/2)-(w/2); // mittew=(window.innerWidth/2)-(w/2); tmp=document.getElementById('popup_layer'); tmp.style.display='block'; tmp.style.width=w+"px"; tmp.style.height=h+"px"; tmp.style.left=mittew+"px"; // ajax("popup_innen",doc); popup_iframe.document.location.href=doc; move_popup(); } function close_popup() { document.getElementById('popup_innen').innerHTML=''; //leeren("popup_innen"); // ajax("popup_innen","leer.txt"); document.getElementById('popup_layer').style.display='none'; document.getElementById('popup_layer').style.width=0; document.getElementById('popup_layer').style.height=0; document.getElementById('popup_layer').style.left="0px"; document.getElementById('popup_layer').style.top="0px"; }