var loadxml;var loadingData=false;var mapLang="en";var mapShowLang="true";var mapWidth=700;var mapHeight=350;var mapMiles=true;var mapLines=true;var mapScale=true;var mapSmallControl=true;var mapBlowup=false;var mapLogo="";var mapLogoWidth=660;var mapLogoHeight=80;var mapLogoPos="left";var mapIcon="";var mapIconWidth=37;var mapIconHeight=35;var mapBannerColour="106,0,106";var mapBackgroundColour="230,230,230";function bs0(){var xp;try{xp = new ActiveXObject("Msxml2.XMLHTTP");} catch (e) {try{xp = new ActiveXObject("Microsoft.XMLHTTP");} catch (e) {xp = null;}}if(!xp && typeof XMLHttpRequest!='undefined'){try{xp = new XMLHttpRequest();} catch (e) {xp=null;}}if(xp==null)alert("Sorry - this browser does not support XML Http so cannot operate correctly");return xp;}function bs1(){if(loadingData==true){alert("Busy...please wait.");return;}loadxml.open("GET",root+"options.xml?r="+Math.random(),true);loadxml.onreadystatechange=bs2;loadingData=true;loadxml.send(null);}function bs2(){if(loadxml.readyState!=4)return;loadingData=false;var ps=loadxml.responseXML.getElementsByTagName("options");if(ps.length==1){var opt=ps[0];mapLang=opt.getAttribute("lang");if(opt.getAttribute("showlang")=="true"){mapShowLang=true;}else{mapShowLang=false;}mapWidth=parseInt(opt.getAttribute("width"));if(isNaN(mapWidth) || mapWidth==null || mapWidth==0)mapWidth=700;mapHeight=parseInt(opt.getAttribute("height"));if(isNaN(mapHeight) || mapHeight==null || mapHeight==0)mapHeight=350;if(opt.getAttribute("miles")=="true"){mapMiles=true;}else{mapMiles=false;}if(opt.getAttribute("lines")=="true"){mapLines=true;}else{mapLines=false;}if(opt.getAttribute("scale")=="true"){mapScale=true;}else{mapScale=false;}if(opt.getAttribute("smallcontrol")=="true"){mapSmallControl=true;}else{mapSmallControl=false;}if(opt.getAttribute("blowup")=="true"){mapBlowup=true;}else{mapBlowup=false;}mapLogo=opt.getAttribute("logo");mapLogoPos=opt.getAttribute("logopos");mapLogoWidth=parseInt(opt.getAttribute("logowidth"));mapLogoHeight=parseInt(opt.getAttribute("logoheight"));mapIcon=opt.getAttribute("icon");mapIconWidth=parseInt(opt.getAttribute("iconwidth"));mapIconHeight=parseInt(opt.getAttribute("iconheight"));mapBannerColour=opt.getAttribute("banner");mapBackgroundColour=opt.getAttribute("background");}bs7();}