ndMessage1() {
					topic1.sendMessage("Message " + ++clickCount);
			}
	
			function sendMessage2() {
					topic2.sendMessage("Message " + ++clickCount);
			}

			var subCounter = 0;
			function addSubscriber(subName){
				var container = dojo.byId("container");
				var newSub = document.createElement("div");
				newSub.id = "subscriber"+subCounter++;
				newSub.innerHTML = newSub.id;
				container.appendChild(newSub);
				return new Subscriber(newSub);
			}

			dojo.addOnLoad(function(){
				topic1 = dojo