<pre>function addDays pDate,pDays  if char 1 of pDays is "+" then delete char 1 of pDays  convert pDate to seconds  add pDays*60*60*24 to it  convert it to short date  return itend addDays</pre>