function putGoogleEarth(a,b){if(a==null){a=680}if(b==null){b=480}$('<div id="map3d" class="map3d"></div>').insertAfter("div.jstool");$("div.jstool").remove();$("div.map3d").css("width",a);$("div.map3d").css("height",b);google.earth.createInstance("map3d",initCB,failureCB)}function initCB(a){var c=null;c=a;c.getWindow().setVisibility(true);c.getNavigationControl().setVisibility(c.VISIBILITY_AUTO);c.getLayerRoot().enableLayerById(c.LAYER_BORDERS,true);function d(e){if(!e){setTimeout(function(){alert("Bad or null KML.")},0);return}c.getFeatures().appendChild(e);c.getView().setAbstractView(la);try{currentKmlObject=c.parseKml(kmlString);c.getFeatures().appendChild(currentKmlObject)}catch(f){alert("Parse error")}}var b="http://xts.uchicago.edu/geo/Xiangtangshan.kml";google.earth.fetchKml(c,b,d);$("installed-plugin-version").html(c.getPluginVersion().toString())}function failureCB(a){};