notifications of todo items
diff --git a/erpnext/startup/startup.js b/erpnext/startup/startup.js
index d40f233..c68650a 100644
--- a/erpnext/startup/startup.js
+++ b/erpnext/startup/startup.js
@@ -29,13 +29,16 @@
 
 		// setup toolbar
 		erpnext.toolbar.setup();
+		
+		// set interval for updates
+		erpnext.startup.set_periodic_updates();
 
 		// border to the body
 		// ------------------
 		$('footer').html('<div class="erpnext-footer">\
 			Powered by <a href="https://erpnext.com">ERPNext</a></div>');
 	}
-	
+
 	$('#startup_div').toggle(false);
 }
 
@@ -77,6 +80,35 @@
 	if(callback) this.callback = function(){ callback(); }
 }
 
+// ========== Update Messages ============
+var update_messages = function() {
+	// Updates Team Messages
+	
+	if(inList(['Guest', 'Administrator'], user)) { return; }
+	
+	$c_page('home', 'event_updates', 'get_unread_messages', null,
+		function(r,rt) {
+			if(!r.exc) {
+				// This function is defined in toolbar.js
+				page_body.wntoolbar.set_new_comments(r.message);
+			}
+		}
+	);
+}
+
+erpnext.startup.set_periodic_updates = function() {
+	// Set interval for periodic updates of team messages
+	wn.updates = {};
+
+	if(wn.updates.id) {
+		clearInterval(wn.updates.id);
+	}
+
+	wn.updates.id = setInterval(update_messages, 180000);
+}
+
+// =======================================
+
 // start
 $(document).bind('startup', function() {
 	erpnext.startup.start();