function invertcell(elmnt) {
elmnt.style.background="#ffffff"; 
elmnt.style.border="3px solid red"; 
} 
function revertcell(elmnt) {
elmnt.style.background ="#f0f8ff"; 
elmnt.style.border="3px inset blue"; 
}
function newitem(str)
 {
  endDate = new Date(str);
  if (Date.parse(Date()) < Date.parse(endDate))
  {
   document.write('&nbsp;<img src="./img/new_icon.gif" width="25" height="17" border="0" alt="New"  style="vertical-align: text-bottom;">');
  }
 }
function upditem(str)
 {
  endDate = new Date(str);
  if (Date.parse(Date()) < Date.parse(endDate))
  {
   document.write('&nbsp;<img src="./img/update.gif" width="47" height="10" border="0" alt="Updated" style="vertical-align: text-bottom;">');
  }
 }
