Hallo Jan,
[code lang=javascript]function MapInit() {
alert("Test");
if(document.readyState != "complete") {
window.setTimeout(MapInit(), 100);
return false;
}
MapLoad();
}
schon mal an Eventhandler wie onload oder DomContentLoaded gedacht?
var Lat = document.getElementById("LocationLat").innerText;
soll das nur im IE laufen?
Gruß, Jürgen