function getShortDate(date)
{
   var months = new Array(13);
   months[0]  = "Jan";
   months[1]  = "Feb";
   months[2]  = "Mar";
   months[3]  = "Apr";
   months[4]  = "May";
   months[5]  = "Jun";
   months[6]  = "Jul";
   months[7]  = "Aug";
   months[8]  = "Sep";
   months[9]  = "Oct";
   months[10] = "Nov";
   months[11] = "Dec";

   temp = date.split("/");
   shortmonth = months[temp[1]-1];
   dateString = shortmonth + ' ' + temp[2];
   return dateString;
}

 function getkeydate(date) {
   temp = date.replace(/\//g,"");
   return temp.substring(2);
 }