<div id="map" class="map"></div>

<script type="text/javascript">
oGeneralProperties = {$generalProperties};
oWorkerProperties = {$workerProperties};
oViewProperties = {$viewProperties};
oRotationProperties = {$rotationProperties};

// Kick of the worker
addDOMLoadEvent(function()\{runWorker(0, 'map', '{$mapName}')});

// This disables the context menu when someone clicked anywhere on the map
document.onmousedown = contextMouseDown;
</script>
