var disp = 7;          // days to display
var imgn = '../graphic/new06.gif';  // image filename
var imgw = 36;         // image width
var imgh = 11;         // 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" \/>');}}
                  