MAX=30;
function renew(y,m,d)
{
oldDay = new Date(y+"/"+m+"/"+d);
newDay = new Date();
n = (newDay - oldDay)/(1000*60*60*24);
if (n <= MAX) document.write("<img src='../js/star.gif' border='0'>"+"<img src='../js/renew.gif' border='0'>");
}

