// JavaScript Document
newWindow="";
function oeffneFenster(Picture,Breit,Hoch,Alttext) {
xsize = Breit+1;
ysize = Hoch+25; //Zusatz fÃ¼r Rand oben und unten - damit Buttons angezeigt werden kÃ¶nnen

ScreenWidth = screen.width;
ScreenHeight = screen.height;

xpos = (ScreenWidth/2)-(xsize/2);
ypos = (ScreenHeight/2)-((ysize+50)/2);

if (!newWindow.closed && newWindow.location) {newWindow.close();}

html = ('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"><head><title>Fotos del viaje a India - '+Alttext+'</title><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" /><style type="text/css">html, body, p, img, a {margin:0; padding:0; border: 0; font-family: Verdana,Geneva,Arial,sans-serif; color:#003366; text-align: center;} body {font-size:100.01%; background:white;} p {font-size: 0.8em;} </style></head><body onload="focus()"><p><img src="'+Picture+'" alt="'+Alttext+'" width="'+Breit+'" height="'+Hoch+'"  /><br /><a href="javascript:self.close()">cerrar ventana</a>&nbsp;|&nbsp;<a href="javascript:window.print()">imprimir pagina</a></p></body></html>');

newWindow=window.open("","Picture","height="+ysize+",width="+xsize+",resizable=yes,top="+ypos+",left="+xpos+"");

  newWindow.document.open("text/html", "replace")
  newWindow.document.write(html)
  newWindow.document.close()

  return false;
}

// Neues Fenster öffnen
function f1(a,b,h){window.open(a,'x','width='+b+',height='+h)}
function f2(a,b,h){window.open(a,'x','width='+b+',height='+h+',scrollbars,resizable')}