/*
notificationWaitTime = 15000;
var updateNotifications = function() {
	
	// Place AJAX call to get notifications
	new Ajax.Request(
		'/inc/script/messageAnnounce/messageAnnounce.php', {
		method: 'get',
		onSuccess: function(transport) {
			// Only update not empty response, else insert space
			if(transport.responseText != "") {
				$('newMessage').update(transport.responseText);	
			} else {
				$('newMessage').update('&nbsp;');	
			}
			
			// Recall but extend wait by 1 second
			notificationWaitTime += 1000;
			setTimeout(updateNotifications, notificationWaitTime);
		},
		onFailure: function() {
			// Avoid outputing error messages, place space instead
			$('newMessage').update('&nbsp;');	
		}
	});
}

// start updateing notifications
//updateNotifications();
*/
