/**
 * @author mobitect
 */
 

function updateNotificationDetails(key) {
     // First I need to get all the details for the contact and then update the contact details with this information

	 var notificationXML = localStorage.getItem(key);
	 var xmlobject = (new DOMParser()).parseFromString(notificationXML, "text/xml");
	 var progContainer="";
	 
	  $(xmlobject).find('notification').each(function(){
		setElement("NotificationSubject",$(this).find('subject').text(), "");
		setElement("NotificationBody",$(this).find('body').text(), "");
		setElement("NotificationCreated",$(this).find('updated-at').text(), "");
	  });

}


