// daily inThisDay should be saved in the format 0818.htm // The variables below should be set to reflect the comic being syndicated. var inThisDayDir = "inThisDay/"; var inThisDayFormat = "htm"; // The following code should only be modified where specified function last_inThisDay() { var prevDate = new Date(date - 24*60*60*1000); var d = prevDate.getDate(); var day = (d < 10) ? '0' + d : d; var m = prevDate.getMonth() + 1; var month = (m < 10) ? '0' + m : m; // If you change IMG NAME below, you will need to change OnlineComic in the next line //document.images.OnlineComic.src = inThisDayDir + year + month + day + '.' + inThisDayFormat; } var date = new Date(); var d = date.getDate(); var day = (d < 10) ? '0' + d : d; var m = date.getMonth() + 1; var month = (m < 10) ? '0' + m : m; // You should change the IMG NAME below if you want to allow multiple syndicated comics on a single webpage document.write('
'); document.write('');