- parent.innerHTML =
- "<p>Click any point to add an annotation to it or click 'Add Annotation'.</p>" +
- "<input type='button' value='Add Annotation' onclick='add()' />" +
- "<input type='button' value='Shove to bottom' onclick='bottom(this)' />" +
- "<div id='list'></div>" +
- "<div id='g_div'></div>" +
- "<div id='events'></div>";
+ parent.innerHTML = [
+ "<p>Click any point to add an annotation to it or click 'Add Annotation'.</p>",
+ "<button id='add'>Add Annotation></button>",
+ "<button id='bottom'>Shove to bottom</button>",
+ "<div id='list'></div>",
+ "<div id='g_div'></div>",
+ "<div id='events'></div>" ].join("\n");