"+ comments[a] + " @ " + dates[a] + "
"+ imglink +"\""+
INDEX ||| "); if(a==0){ document.write("Last photo"); }else{ document.write("Previous"); } document.write(nextlink); document.write(" ||| ||| (Photo "+ next +" of "+ photos.length +")
"); }