Index: ossiedev/branches/jsnyder/trunk/tools/cornetApps/templates/HtmlPages/map.html
===================================================================
--- ossiedev/branches/jsnyder/trunk/tools/cornetApps/templates/HtmlPages/map.html	(revision 10936)
+++ ossiedev/branches/jsnyder/trunk/tools/cornetApps/templates/HtmlPages/map.html	(revision 11092)
@@ -1,2 +1,4 @@
+<!--makes a map for the specific floor given their position for each floor-->
+
 {% ifequal floor "1" %}
 	<img style="z-index:-1; top: 0px; left: 0px;" src="{{STATIC_URL}}floor1_small_nonodes.jpg"/>
@@ -4,5 +6,5 @@
 		{% for node_top, node_left in node_position_1 %}
 		{% if node and forloop.counter0 == forloop.parentloop.counter0 %}
-			<a id="node" href="#"><img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}green_ball.gif"/></a>
+			<a id="node" href="javascript:loadNode({{node}});"><img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}green_ball.gif"/></a>
 		{% else %}
 			{% if forloop.counter0 == forloop.parentloop.counter0 %}
@@ -18,5 +20,5 @@
 		{% for node_top, node_left in node_position_2 %}
 		{% if node and forloop.counter0 == forloop.parentloop.counter0 %}
-			<a id="node" href="#"><img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}green_ball.gif"/></a>
+			<a id="node" href="javascript:loadNode({{node}});"><img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}green_ball.gif"/></a>
 		{% else %}
 			{% if forloop.counter0 == forloop.parentloop.counter0 %}
@@ -32,5 +34,5 @@
 		{% for node_top, node_left in node_position_3 %}
 		{% if node and forloop.counter0 == forloop.parentloop.counter0 %}
-			<a id="node" href="#"><img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}green_ball.gif"/></a>
+			<a id="node" href="javascript:loadNode({{node}});"><img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}green_ball.gif"/></a>
 		{% else %}
 			{% if forloop.counter0 == forloop.parentloop.counter0 %}
@@ -46,5 +48,5 @@
 		{% for node_top, node_left in node_position_4 %}
 		{% if node and forloop.counter0 == forloop.parentloop.counter0 %}
-			<a id="node" href="#"><img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}green_ball.gif"/></a>
+			<a id="node" href="javascript:loadNode({{node}});"><img width="20" style="position: absolute; top: {{node_top}}px; left: {{node_left}}px; z-index: 3;" src="{{STATIC_URL}}green_ball.gif"/></a>
 		{% else %}
 			{% if forloop.counter0 == forloop.parentloop.counter0 %}
