Holland1=new Array();
Holland1[0]=new Array("/photos/holland/holl1-1.jpg", "Famous windmills in Kinderdijk");
Holland1[1]=new Array("/photos/holland/holl1-2.jpg", "Kinderdijk");
Holland1[2]=new Array("/photos/holland/holl2-1.jpg", "Rotterdam, around the central station");
Holland1[3]=new Array("/photos/holland/holl2-2.jpg", "Rotterdam");
Holland1[4]=new Array("/photos/holland/holl2-3.jpg", "View from a hotel onto the ancient railway station of Amsterdam");
Holland1[5]=new Array("/photos/holland/holl2-4.jpg", "Beautiful draw bridge in Amsterdam");
Holland1[6]=new Array("/photos/holland/holl2-5.jpg", "Around the old port of Rotterdam");
Holland1[7]=new Array("/photos/holland/holl2-6.jpg", "Neat buildings in Amsterdam");
Holland1[8]=new Array("/photos/holland/holl3-1.jpg", "Antique buildings contribute to the charm of Amsterdam");
Holland1[9]=new Array("/photos/holland/holl3-2.jpg", "View to one of the countless &quot;Grachten&quot; in Amsterdam");
Holland2=new Array();
Holland2[0]=new Array("/photos/holland/holl3-3.jpg", "Beautiful spots around the Grachten");
Holland2[1]=new Array("/photos/holland/holl3-4.jpg", "Pond before the Government buildings (Hofvijverin) in The Hague");
Holland2[2]=new Array("/photos/holland/holl3-5.jpg");
Holland2[3]=new Array("/photos/holland/holl3-6.jpg", "Another draw bridge in Amsterdam, featuring my sister");
Holland2[4]=new Array("/photos/holland/holl3-7.jpg");
Holland2[5]=new Array("/photos/holland/holl4-1.jpg", "Lighthouse at &quot;Hoek van Holland&quot");
Holland2[6]=new Array("/photos/holland/holl4-2.jpg", "Nice houses at Hoek van Holland");
Holland2[7]=new Array("/photos/holland/holl4-3.jpg", "Relicts of World War II at the beach of The Hague");
Holland2[8]=new Array("/photos/holland/holl4-4.jpg", "Exhibition of art in Utrecht");
Holland2[9]=new Array("/photos/holland/holl4-8.jpg", "Rotterdams famous harbour");
Basel99=new Array();
Basel99[0]=new Array("/photos/1999/fontain.jpg", "Fountain at the Museum of Art in Basel");
Basel99[1]=new Array("/photos/1999/faehre.jpg", "Ferry boat &quot;Klingental&quot; in Basel");
Basel99[3]=new Array("/photos/1999/darksun.jpg", "Pyramid reflecting sun and clouds");
Basel99[2]=new Array("/photos/1999/pyramid.jpg", "Pyramids above the Halls of Art in Basel");
Fuerte99=new Array();
Fuerte99[0]=new Array("/photos/fuerte/01.jpg", "Roger, Vincenzo and Samuel standing by for the flight back home");
Fuerte99[1]=new Array("/photos/fuerte/03.jpg", "Samuel trying to catch the wind");
Fuerte99[2]=new Array("/photos/fuerte/04.jpg", "Roger, Vincenzo and Samuel testing underwater equipment");
Fuerte99[3]=new Array("/photos/fuerte/05.jpg", "Trying to find the lens underwater...");
Fuerte99[4]=new Array("/photos/fuerte/06.jpg", "Sunny breakfast on the bungalow's terrace");
Fuerte99[5]=new Array("/photos/fuerte/07.jpg", "Dune on the meagre island");
Fuerte99[6]=new Array("/photos/fuerte/08.jpg", "Unnatural looking settlement");
Fuerte99[7]=new Array("/photos/fuerte/09.jpg", "The troup on a day trip...");
Fuerte99[8]=new Array("/photos/fuerte/10.jpg", "... discovering lonesome beaches");
Fuerte99[9]=new Array("/photos/fuerte/11.jpg", "... and enjoying beautiful sunsets!");
Fuerte99[10]=new Array("/photos/fuerte/12.jpg","Stop for a quick photo-shooting");
Fuerte99[11]=new Array("/photos/fuerte/13.jpg","Playing ghosts on the highest point of the island");
Fuerte99[12]=new Array("/photos/fuerte/14.jpg","Trying to catch the right moment... well, some of them didn't get it");
Fuerte99[13]=new Array("/photos/fuerte/15.jpg","Vincenzo doing some speed surfing");
Fuerte99[14]=new Array("/photos/fuerte/16.jpg","Fighting against 2-3m high waves");
Maschi=new Array();
Maschi[0]=new Array("/photos/maschi/911-480.jpg", "2 Porsches 911 Turbo; note the airflow which obviously tears off at the front screen of the old model");
Maschi[2]=new Array("/photos/maschi/Z8.jpg", "BMW Z8");
Maschi[1]=new Array("/photos/maschi/cobra427.jpg", "Wonderful A/C Cobra");
Maschi[4]=new Array("/photos/maschi/f03.jpg", "Ducati 998");
Maschi[3]=new Array("/photos/maschi/triumph.jpg", "Triumph Speed Triple, 100 Nm");
Maschi[5]=new Array("/photos/maschi/rah6607.jpg", "Boeing Sikorsky RAH-66, known as Comanche");
Maschi[6]=new Array("/photos/maschi/axalpfa182.jpg", "Swiss F/A-18 at Axalp");
Miami=new Array();
Miami[0]=new Array("/photos/miami2004/m001.jpg", "");
Miami[1]=new Array("/photos/miami2004/m002.jpg", "");
Miami[2]=new Array("/photos/miami2004/m003.jpg", "");
Miami[3]=new Array("/photos/miami2004/m004.jpg", "");
Miami[4]=new Array("/photos/miami2004/m005.jpg", "");
Miami[5]=new Array("/photos/miami2004/m006.jpg", "");
Miami[6]=new Array("/photos/miami2004/m007.jpg", "");
Miami[7]=new Array("/photos/miami2004/m008.jpg", "");
Miami[8]=new Array("/photos/miami2004/m009.jpg", "");
Miami[9]=new Array("/photos/miami2004/m010.jpg", "");
Miami[10]=new Array("/photos/miami2004/m011.jpg", "");
Miami[11]=new Array("/photos/miami2004/m012.jpg", "");
Miami[12]=new Array("/photos/miami2004/m013.jpg", "");
Miami[13]=new Array("/photos/miami2004/m014.jpg", "");
Miami[14]=new Array("/photos/miami2004/m015.jpg", "");
Miami[15]=new Array("/photos/miami2004/m016.jpg", "");
Miami[16]=new Array("/photos/miami2004/m017.jpg", "");
Miami[17]=new Array("/photos/miami2004/m018.jpg", "");
Miami[18]=new Array("/photos/miami2004/m019.jpg", "");
Miami[19]=new Array("/photos/miami2004/m020.jpg", "");

function WriteHead()
{ with (window.document) 
  { open("text/html");
    writeln('<html>');
    writeln('<head>');
    writeln('<link rel=stylesheet type="text\/css" href="style.css">');
    writeln('<base target="_blank">');
    writeln('<script src="g_functions.js" type="text/javascript"><\/script>');
    writeln('<style type="text\/css">');
    writeln('  img{border:5px solid #660033;}');
    writeln('<\/style><\/head>');
    writeln('<body>');
  }
} 

function EOF()
{ with (window.document)
  { writeln('<\/body><\/html>');
    close();
  }
}

function WriteNavigation()
{ with (window.document)
{ writeln('<div id="navbox";>');
    writeln('<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="1" width="100" bgcolor="#EEEEEE">');
    writeln('<TR><TD bgcolor="#EEEEEE" nowrap><a href="#" onClick="swap(Holland1); return false;">Netherlands I<\/a><\/TD><\/TR>');
    writeln('<TR><TD bgcolor="#EEEEEE" nowrap><a href="#" onClick="swap(Holland2); return false;">Netherlands II<\/a><\/TD><\/TR>');
    writeln('<TR><TD bgcolor="#EEEEEE" nowrap><a href="gallery_new.html" onClick="swap(Basel99); return false;">Basel 1999<\/a><\/TD><\/TR>');
    writeln('<TR><TD bgcolor="#EEEEEE" nowrap><a href="#" onClick="swap(Fuerte99); return false;">Fuerteventura<\/a><\/TD><\/TR>');
    writeln('<TR><TD bgcolor="#EEEEEE" nowrap><a href="#" onClick="swap(Maschi); return false;">Delighting Pics<\/a><\/TD><\/TR>');
    writeln('<TR><TD bgcolor="#EEEEEE" nowrap><a href="#" onClick="swap(Miami); return false;">Miami 2004<\/a><\/TD><\/TR>');
    writeln('<TR><TD bgcolor="#EEEEEE" nowrap><a href="http://gallery.schulers.ch/g2prog/" target="_self"><i>...more<\/i><\/a><\/TD><\/TR>');
    writeln('<\/TABLE><\/DIV>');
  }
}

function swap(Liste)
{ WriteHead();
  WriteNavigation();
  WriteImage(Liste);
  EOF();
}

function WriteIntro()
{ with (window.document)
  { writeln('<div style="position:absolute;left:150px;top:20px;">');
    writeln('<P> Click on the desired item in the menu box on the left hand side to view the desired gallery.<\/P>');
    writeln('<P> All photos are copyrighted.<\/P>');
    writeln('<\/DIV>');
  }
}

function WriteImage(Liste)
{ window.document.writeln('<div style="position:absolute;left:150px;top:20px;">');
  for(var i = 0; i < Liste.length; i++)
  { window.document.writeln("<img src=" + Liste[i][0] + ">");
    if (Liste[i][1]!=null) {window.document.writeln("<P>" + Liste[i][1] + "<\/P>")}; 
    window.document.writeln("<P><\/P>"); 
  }
  window.document.writeln('<\/div>');
}

function WriteHeadTest() 
{ alert('hallo');
  with (window.document)
  { writeln('<html><body>');
    writeln('Hallihallo Hier und Da jezt');
    writeln('<\/body><\/html>');
  }
}
