var now = new Date();
document.write('<img src="');
document.write(now.getDate());
document.write('.jpg">');