  var pagecount = 8;
  var pages = ['CanalTrip','HappyDay','James21','Wedding','Live','DregsII','Misc','China'];
  var titles = ['Canal Trip','Happy Day','James\'s 21<sup>st</sup>','<em>The</em> Wedding','Live Gigs','Dregs II Weekend', 'Miscellany','China Mission'];
  var path = ""; 

  aPath = location.pathname.split('/');
  sCurrentDir = aPath[aPath.length-2];

  if (depth==0) document.write('<img border="0" src="../Images/News/Media.gif" width="156" height="24"><br>');
  else {
    document.write('<a href="../index.html"><img border="0" src="../../Images/News/Media.gif" width="156" height="24"></a><br>');
    path="../";
  }
  
  for (var x=0; x<pagecount; x++) {
    if (sCurrentDir == pages[x]) {
      if (show==1) document.write('<u><a href="index.html">'+titles[x]+'</a></u><br>');
      else document.write('<u>'+titles[x]+'</u><br>'); 
    } else document.write('<a href="'+path+pages[x]+'/index.html">'+titles[x]+'</a><br>');
  }
