function affiche(image, titre, legende, width, height, nltexte) { if ((screen.width<1024) || (screen.height<768)) { width *= 0.7; height *= 0.7; } widthfen = width + 20; heightfen = height + 60 +nltexte*20; CodeHtml = ""; CodeHtml += "La vie en Bois"; CodeHtml += ""; CodeHtml += "
"; CodeHtml += ""+titre+"
"; CodeHtml += legende +"
"; CodeHtml += "+titre+"; CodeHtml += "
Fermer /Close"; CodeHtml += ""; photo = window.open("","photow","height="+heightfen+",width="+widthfen+",status=no,toolbar=no,menubar=no,location=no,titlebar=no"); photo.document.open(); photo.document.write(CodeHtml); photo.document.close(); }