var mv_syslibObj;function mv_loadSVGTiles(a,b){mv_syslibObj=a;for(var c=0;c<b.length;c++)mv_SendRequestSVG(b[c],_mv_loadLayerFragmentXML,_mv_CBloadLayerFragment)}function mv_SendRequestSVG(a,b,c){window.getURL?getURL(a,c):void 0!==window.ActiveXObject&&-1!=document.URL.indexOf("file://")?_mv_IELocalRequest(a):parent.dojo.xhrGet({url:a,timeout:5E4,handleAs:"xml",load:b,error:function(a,b){window.status="Error when retrieving data from the server! "+a}})}
function _mv_CBloadLayerFragment(a){a.success?(a=parseXML(a.content,mv_syslibObj.mv_Map.Root),_mv_loadLayerFragment(a)):window.status="Error in loading data"}function _mv_loadLayerFragmentXML(a){var b=a;parent.dojo.isIE&&1==_mv_Is("Object",a)&&(b=(new DOMParser).parseFromString(a.xml,"text/xml"));objFragment=document.importNode(b.documentElement,!0);_mv_loadLayerFragment(objFragment)}
function _mv_loadLayerFragment(a){if(a&&(a=mv_syslibObj.mv_dynLayerAppend(a),""!=a)){var b=mv_syslibObj.mv_getSVGLayerProperties(a);mv_syslibObj.mv_Map.InitScale!=mv_syslibObj.mv_Map.Scale&&mv_syslibObj.mv_scaleSymTheme(a,mv_syslibObj.mv_Map.InitScale,b.ScaleEle);null!=mv_syslibObj.mv_Map.colorMapLayer()&&(b=mv_syslibObj.mv_getThemaId(a),b==mv_syslibObj.mv_Map.colorMapLayer()&&(b=mv_syslibObj.mv_Map.Layers.item(b),"undefined"!=typeof b.VectorSettings.field&&""!=b.VectorSettings.field&&mv_syslibObj.mv_colorMapVector_Tiling(a,
b.VectorSettings)))}}function _mv_Is(a,b){var c=Object.prototype.toString.call(b).slice(8,-1);return void 0!==b&&null!==b&&c===a}function _mv_IELocalRequest(a){var b=new ActiveXObject("Microsoft.xmlHTTP");b.open("GET",a,!0);b.onreadystatechange=function(){if(4==b.readyState){var a=(new DOMParser).parseFromString(b.responseText,"text/xml");objFragment=document.importNode(a.documentElement,!0);_mv_loadLayerFragment(objFragment)}};b.send()}
window.parseXML||(window.parseXML=function(a,b){var c=(new DOMParser).parseFromString(a,"text/xml");try{return c=document.importNode(c.documentElement,!0)}catch(d){}});