var disp = 120;          // days to display
var imgn = 'allimages\/new.gif';  // image filename
var imgw = 31;         // image width
var imgh = 12;         // image height

// display "new" image for set period
// copyright Stephen Chapman, 25th February  2005
// you may copy this provided that you retain the copyright notice
function newCheck(y,m,d) {var after = new Date(); after.setDate(after.getDate() - disp); var nc = new Date(); nc.setFullYear(y); nc.setMonth(m-1); nc.setDate(d); if (nc.valueOf() >= after.valueOf()) {document.write('<img src="'+imgn+'" width="'+imgw+'" height="'+imgh+'"alt="new" \/>');}}
                    