var disp = 7;          // days to display



var imgn = '/images/flashnew.gif';  // new image filename

var imgnw = 30;         // new image width

var imgnh = 15;         // new image height



var imgu = '/images/redyellow.gif';  // updated image filename

var imguw = 10;         // updated image width

var imguh = 10;         // updated 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 border=0 src="'+imgn+'" width="'+imgnw+'" height="'+imgnh+'"alt=""\/><br>');}}

function updatedCheck(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 border=0 src="'+imgu+'" width="'+imguw+'" height="'+imguh+'"alt="" \/><br>');}}



