function enlarge(number) {
newwin = window.open('index.php','screenshot','width=820px, height=620px');
newwin.document.location="screenshot"+number+".gif";
}

function writepic(number) {
document.write("<a href='javascript:enlarge(\""+number+"\")'>");
document.write("<image src='screenshot"+number+".gif' style='border:0; width: 200px; height: 150px'>");
document.write("</a>");
}
