var listName='FietsDagBoeken...'; 
var mpic=new Array();
mpic[mpic.length] = new info('2012 Suriname', ' suriname/images/flag.gif', 'Suriname', 'php/dagboek.php?lend=suriname', 'm' + mpic.length);
mpic[mpic.length] = new info('2011 Italie II', ' it2/images/thumbs/58.jpg', 'Italie', 'php/dagboek.php?lend=it2', 'm' + mpic.length);
mpic[mpic.length] = new info('2011 Ecuador', ' ecuador/images/thumbs/145.jpg', 'Ecuador', 'php/dagboek.php?lend=ecuador', 'm' + mpic.length);
mpic[mpic.length] = new info('2010 Italie', ' italie/images/thumbs/57.jpg', 'Italie', 'php/dagboek.php?lend=italie', 'm' + mpic.length);
mpic[mpic.length] = new info('2010 India', ' india/images/thumbs/140.jpg', 'India', 'php/dagboek.php?lend=india', 'm' + mpic.length);
mpic[mpic.length] = new info('2009 Zuid Afrika', ' za/images/thumbs/116.jpg', 'Zuid Afrika', 'php/dagboek.php?lend=za', 'm' + mpic.length);
mpic[mpic.length] = new info('2009 Zuid Korea', ' zk/images/thumbs/167.jpg', 'Zuid Korea', 'php/dagboek.php?lend=zk', 'm' + mpic.length);
mpic[mpic.length] = new info('2008 Nieuw Zeeland', ' nz/images/thumbs/138.jpg', 'Nieuw Zeeland', 'php/dagboek.php?lend=nz', 'm' + mpic.length);
mpic[mpic.length] = new info('2008 Frankrijk', ' frankrijk/images/thumbs/23.jpg', 'Frankrijk', 'php/dagboek.php?lend=frankrijk', 'm' + mpic.length);
mpic[mpic.length] = new info('2008 Mexico', ' mexico/images/thumbs/39.jpg', 'Mexico', 'php/dagboek.php?lend=mexico', 'm' + mpic.length);
mpic[mpic.length] = new info('2007 Polen', ' polen/images/thumbs/69.jpg', 'Polen', 'php/dagboek.php?lend=polen', 'm' + mpic.length);
mpic[mpic.length] = new info('2007 Malawi', ' malawi/images/thumbs/76.jpg', 'Malawi', 'php/dagboek.php?lend=malawi', 'm' + mpic.length);
//mpic[mpic.length] = new info('2006 Egypte', ' egypte/images/thumbs/45.jpg', 'Egypte', 'php/dagboek.php?lend=egypte', 'm' + mpic.length);
//mpic[mpic.length] = new info('2006 Filippijnen', ' filippijnen/images/thumbs/89.jpg', 'Filippijnen', 'filippijnen/dagboek.php', 'm' + mpic.length);
//mpic[mpic.length] = new info('2006 Vietnam', ' vietnam/images/thumbs/53.jpg', 'Vietnam', 'vietnam/dagboek.php', 'm' + mpic.length);
//mpic[mpic.length] = new info('2005 Australie', 'australie/images/thumbs/83.jpg', 'Australie', 'australie/dagboek.php', 'm' + mpic.length);
//mpic[mpic.length] = new info('2005 Oekraine', 'oekraine/images/thumbs/13.jpeg', 'Oekraine', 'oekraine/dagboek.php', 'm' + mpic.length);
//mpic[mpic.length] = new info('2005 Marokko', 'marokko/images/thumbs/55.jpeg', 'Marokko', 'marokko/dagboek.php', 'm' + mpic.length);
//mpic[mpic.length] = new info('2004 Oman', 'oman/images/thumbs/109.jpeg', 'Oman', 'oman/oman.htm', 'm' + mpic.length);
//mpic[mpic.length] = new info('2004 Estland Letland', 'estland_letland/images/thumbs/3.jpeg', 'Estland Letland', 'estland_letland/estland_letland.htm', 'm' + mpic.length);
//mpic[mpic.length] = new info('2004 Libanon', 'libanon/images/thumbs/110.jpeg', 'Libanon', 'libanon/libanon.htm', 'm' + mpic.length);
//mpic[mpic.length] = new info('2004 Costa Rica', 'costarica_panama/images/thumbs/96.jpeg', 'Costa Rica Panama', 'costarica_panama/costarica_panama.htm', 'm' + mpic.length);
//mpic[mpic.length] = new info('2003 Cambodja', 'cambodja/images/thumbs/1.jpeg', 'Cambodja', 'cambodja/dagboek.php', 'm' + mpic.length);
//mpic[mpic.length] = new info('2002 Roemenie', 'roemenie/images/thumbs/17.jpeg', 'Roemenie', 'roemenie/dagboek.php', 'm' + mpic.length);
//mpic[mpic.length] = new info('2001 Cuba', 'cuba/images/thumbs/32.jpeg', 'Cuba', 'cuba/dagboek.php', 'm' + mpic.length);
/* ------ Do not edit below this line ------ */

var minArr=new Array();
for (i=0; i<mpic.length; i++) {
  minArr[i]=new Image();
  minArr[i].src=mpic[i].thumb;
}

function info(nam, thumb, Title, web, markID) {
  this.nam = nam;
  this.thumb = thumb;
  this.Title = Title;
  this.web = web;
  this.markID = markID;
}

function codeIt() {
  document.write('<div id="hotlist"><b>' + listName + '<\/b>');
  document.write('<hr width="100%" size="1">');
  for (j=0; j<mpic.length; j++) {
    document.write('<a target="_self" href="');
    document.write(mpic[j].web);
    document.write('" onMouseover="preview(' + j + ',\'' + mpic[j].markID + '\')">');
    document.write(mpic[j].nam);
    document.write('<\/a><span class="arrow" id="' + mpic[j].markID + '">&nbsp;&#9668<\/span><br>');
  }
  document.write('<br>');
  document.write('<div id="preview">');
  document.write('<img class="thumbnail" alt="" name="screenshot" src="' + minArr[0].src + '" onClick="dest()">');
  document.write('<div id="caption"><\/div>');
 
  document.write('<\/div><\/div>');

}

function preview(t,a) {
  unmarkAll();
  document.getElementById(a).style.visibility='visible';
  document.getElementById('preview').style.display='block';
  document.getElementById('caption').innerHTML=mpic[t].Title;
  document.images.screenshot.src=minArr[t].src;
  document.images.screenshot.title='Click to visit ' + mpic[t].nam + '\'s site';
}

function dest() {
  for (x=0; x<mpic.length; x++) {
    if (document.images.screenshot.src==minArr[x].src) {
      window.open(mpic[x].web, '_self');
    }
  }
}

function hide() {
  document.getElementById('preview').style.display='none';
  unmarkAll();
}

function unmarkAll() {
  for (c=0; c<mpic.length; c++) document.getElementById(mpic[c].markID).style.visibility='hidden';
}
