function openBigPictureWindow() { var nWindowWidth, nPictureWidth, nWindowHeight, nPictureHeight; //Falls ein Bild hinterlegt ist... if (eval (document.bildergalerie1_volleGroesse.src.lastIndexOf('/') + 1) != document.bildergalerie1_volleGroesse.src.length) { if (window.BigPicture) {window.BigPicture.close();} nWindowWidth = eval( document.bildergalerie1_volleGroesse.width + 25 ); nWindowHeight = eval( document.bildergalerie1_volleGroesse.height + 25 ); if (nWindowWidth > 800) {nWindowWidth = 800} if (nWindowHeight > 600) {nWindowHeight = 600} nPictureWidth = eval (nWindowWidth - 20); nPictureHeight = eval (nWindowHeight - 20); BigPicture = window.open("", "BigPicture","width=" + nWindowWidth + ",height=" + nWindowHeight + ",top=10,left=10,scrollbars=yes"); BigPicture.document.open(); BigPicture.document.write(""); BigPicture.document.close(); window.BigPicture.focus(); } } // Lädt beim Klick auf ein Thumbnail die grossen Bilder. function setBigImages(sBigPicture,sFullPicture) { if (sBigPicture != "") document.images['Bildergalerie1Gross'].src = sBigPicture else document.images['Bildergalerie1Gross'].src = "" if (sFullPicture != "") document.bildergalerie1_volleGroesse.src = sFullPicture else document.bildergalerie1_volleGroesse.src = "" } function openBigPictureWindowUniversal_Part2(sPicSrcVolleGroesse) { nWindowWidth = eval( document.bild_volleGroesse.width + 25 ); nWindowHeight = eval( document.bild_volleGroesse.height + 25 ); if (nWindowWidth > 800) {nWindowWidth = 800} if (nWindowHeight > 600) {nWindowHeight = 600} nPictureWidth = eval (nWindowWidth - 20); nPictureHeight = eval (nWindowHeight - 20); BigPicture = window.open("", "BigPicture","width=" + nWindowWidth + ",height=" + nWindowHeight + ",top=10,left=10,scrollbars=yes"); BigPicture.document.open(); BigPicture.document.write(""); BigPicture.document.close(); window.BigPicture.focus(); } function openBigPictureWindowUniversal(sPicSrcVolleGroesse) { var nWindowWidth, nPictureWidth, nWindowHeight, nPictureHeight; //Falls ein Bild hinterlegt ist... if (sPicSrcVolleGroesse != "") { document.bild_volleGroesse = new Image(); document.bild_volleGroesse.src = sPicSrcVolleGroesse if (eval (document.bild_volleGroesse.src.lastIndexOf('/') + 1) != document.bild_volleGroesse.src.length) { if (window.BigPicture) {window.BigPicture.close();} window.setTimeout("openBigPictureWindowUniversal_Part2(\"" + sPicSrcVolleGroesse+ "\")",600); } } } // Lädt beim Klick auf ein Thumbnail die grossen Bilder. function setBigImagesUniversal(sType, sBigPicture,sFullPicture) { /* if (sBigPicture != "") document.images[sType].src = sBigPicture else document.images[sType].src = "" */ if (sFullPicture != "") document.getElementById["bild_TEXT1_volleGroesse"].src = sFullPicture else document.getElementById["bild_TEXT1_volleGroesse"].src = "" } function setPicSubline(sName, nID,nMax) { for (var i = 1;i<=nMax;i++) document.getElementById(sName+i).style.display = 'none'; document.getElementById(sName+nID).style.display = 'inline'; }