function multithumber_expand(img, src) { if(img.src != src) { img.oldsrc = img.src; img.src = src; } else { img.src = img.oldsrc; } img.style.width = ""; img.style.height = ""; return false; } function thumbWindow(mypage, myname, w, h,fit_to_screen, imgtoolbar) { var props = ''; var orig_w = w; var scroll = ''; var winl = (screen.availWidth - w) / 2; var wint = (screen.availHeight - h) / 2; if (winl < 0) { winl = 0; w = screen.availWidth -6; scroll = 1;} if (wint < 0) { wint = 0; h = screen.availHeight - 32; scroll = 1;} winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no' win = window.open('', 'myThumb', winprops) win.document.open(); win.document.write(''); if (imgtoolbar==0) { win.document.write(''); } win.document.write(''); win.document.write("function click() { window.close(); } "); // bei click schliessen win.document.write("document.onmousedown=click "); win.document.write(''); win.document.write(''+myname+''); win.document.write(''); if (fit_to_screen) { var ns6 = (!document.all && document.getElementById); var ie4 = (document.all); var ns4 = (document.layers); if(ns6||ns4) { sbreite = innerWidth - 23; } else if(ie4) { sbreite = document.body.clientWidth - 6; } if (orig_w>sbreite) { rw = 'width='+sbreite;} else {rw = '';} win.document.write(''+myname+''); } else { win.document.write(''+myname+''); } win.document.close(); if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } }