a.getAttribute("url").replace(/^#/,"");returnthis};return{load:function(b,c,d){vare=0;if(document.implementation&&document.implementation.createDocument){varf=newXMLHttpRequest;f.overrideMimeType&&f.overrideMimeType("text/xml");f.onreadystatechange=function(){if(4==f.readyState){if(0==f.status||200==f.status)f.responseXML?(Ta=c,a(f.responseXML,void0,b)):console.error("ColladaLoader: Empty or non-existing file ("+b+")")}else3==f.readyState&&d&&(0==e&&(e=f.getResponseHeader("Content-Length")),
a.getAttribute("url").replace(/^#/,"");returnthis};return{load:function(b,c,d){vare=0;if(document.implementation&&document.implementation.createDocument){varf=newXMLHttpRequest;f.overrideMimeType&&f.overrideMimeType("text/xml");f.onreadystatechange=function(){if(4==f.readyState){if(0==f.status||200==f.status)f.responseXML?(Ta=c,a(f.responseXML,void0,b)):console.error("ColladaLoader: Empty or non-existing file ("+b+")")}else3==f.readyState&&d&&(0==e&&(e=f.getResponseHeader("Content-Length")),
d({total:e,loaded:f.responseText.length}))};f.open("GET",b,!0);f.send(null)}elsealert("Don't know how to parse XML!")},parse:a,setPreferredShading:function(a){za=a},applySkin:f,geometries:ga,options:Ea}};THREE.JSONLoader=function(a){THREE.Loader.call(this,a)};THREE.JSONLoader.prototype=newTHREE.Loader;THREE.JSONLoader.prototype.constructor=THREE.JSONLoader;THREE.JSONLoader.prototype.supr=THREE.Loader.prototype;
d({total:e,loaded:f.responseText.length}))};f.open("GET",b,!0);f.send(null)}elsealert("Don't know how to parse XML!")},parse:a,setPreferredShading:function(a){za=a},applySkin:f,geometries:ga,options:Ea}};THREE.JSONLoader=function(a){THREE.Loader.call(this,a)};THREE.JSONLoader.prototype=newTHREE.Loader;THREE.JSONLoader.prototype.constructor=THREE.JSONLoader;THREE.JSONLoader.prototype.supr=THREE.Loader.prototype;
THREE.JSONLoader.prototype.loadAjaxJSON=function(a,b,c,d,f){varg=newXMLHttpRequest,e=0;g.onreadystatechange=function(){if(g.readyState===g.DONE)if(200===g.status||0===g.status){if(g.responseText){varh=JSON.parse(g.responseText);a.createModel(h,c,d)}elseconsole.warn("THREE.JSONLoader: ["+b+"] seems to be unreachable or file there is empty");a.onLoadComplete()}elseconsole.error("THREE.JSONLoader: Couldn't load ["+b+"] ["+g.status+"]");elseg.readyState===g.LOADING?f&&(0===e&&(e=g.getResponseHeader("Content-Length")),
THREE.JSONLoader.prototype.loadAjaxJSON=function(a,b,c,d,f){varg=newXMLHttpRequest,e=0;g.onreadystatechange=function(){if(g.readyState===g.DONE)if(200===g.status||0===g.status){if(g.responseText){varh=JSON.parse(g.responseText);a.createModel(h,c,d)}elseconsole.warn("THREE.JSONLoader: ["+b+"] seems to be unreachable or file there is empty");a.onLoadComplete()}elseconsole.error("THREE.JSONLoader: Couldn't load ["+b+"] ["+g.status+"]");elseg.readyState===g.LOADING?f&&(0===e&&(e=g.getResponseHeader("Content-Length")),
function(a){this.url=a.getAttribute("url").replace(/^#/,"");returnthis};return{load:function(b,c,d){vare=0;if(document.implementation&&document.implementation.createDocument){varf=newXMLHttpRequest;f.overrideMimeType&&f.overrideMimeType("text/xml");f.onreadystatechange=function(){if(4==f.readyState){if(0==f.status||200==f.status)f.responseXML?(la=c,a(f.responseXML,void0,b)):console.error("ColladaLoader: Empty or non-existing file ("+b+")")}else3==f.readyState&&d&&(0==e&&(e=f.getResponseHeader("Content-Length")),
function(a){this.url=a.getAttribute("url").replace(/^#/,"");returnthis};return{load:function(b,c,d){vare=0;if(document.implementation&&document.implementation.createDocument){varf=newXMLHttpRequest;f.overrideMimeType&&f.overrideMimeType("text/xml");f.onreadystatechange=function(){if(4==f.readyState){if(0==f.status||200==f.status)f.responseXML?(la=c,a(f.responseXML,void0,b)):console.error("ColladaLoader: Empty or non-existing file ("+b+")")}else3==f.readyState&&d&&(0==e&&(e=f.getResponseHeader("Content-Length")),
d({total:e,loaded:f.responseText.length}))};f.open("GET",b,!0);f.send(null)}elsealert("Don't know how to parse XML!")},parse:a,setPreferredShading:function(a){na=a},applySkin:f,geometries:U,options:R}};THREE.JSONLoader=function(a){THREE.Loader.call(this,a)};THREE.JSONLoader.prototype=newTHREE.Loader;THREE.JSONLoader.prototype.constructor=THREE.JSONLoader;THREE.JSONLoader.prototype.supr=THREE.Loader.prototype;
d({total:e,loaded:f.responseText.length}))};f.open("GET",b,!0);f.send(null)}elsealert("Don't know how to parse XML!")},parse:a,setPreferredShading:function(a){na=a},applySkin:f,geometries:U,options:R}};THREE.JSONLoader=function(a){THREE.Loader.call(this,a)};THREE.JSONLoader.prototype=newTHREE.Loader;THREE.JSONLoader.prototype.constructor=THREE.JSONLoader;THREE.JSONLoader.prototype.supr=THREE.Loader.prototype;
THREE.JSONLoader.prototype.loadAjaxJSON=function(a,b,c,d,f){varg=newXMLHttpRequest,e=0;g.onreadystatechange=function(){if(g.readyState===g.DONE)if(200===g.status||0===g.status){if(g.responseText){varh=JSON.parse(g.responseText);a.createModel(h,c,d)}elseconsole.warn("THREE.JSONLoader: ["+b+"] seems to be unreachable or file there is empty");a.onLoadComplete()}elseconsole.error("THREE.JSONLoader: Couldn't load ["+b+"] ["+g.status+"]");elseg.readyState===g.LOADING?f&&(0===e&&(e=g.getResponseHeader("Content-Length")),
THREE.JSONLoader.prototype.loadAjaxJSON=function(a,b,c,d,f){varg=newXMLHttpRequest,e=0;g.onreadystatechange=function(){if(g.readyState===g.DONE)if(200===g.status||0===g.status){if(g.responseText){varh=JSON.parse(g.responseText);a.createModel(h,c,d)}elseconsole.warn("THREE.JSONLoader: ["+b+"] seems to be unreachable or file there is empty");a.onLoadComplete()}elseconsole.error("THREE.JSONLoader: Couldn't load ["+b+"] ["+g.status+"]");elseg.readyState===g.LOADING?f&&(0===e&&(e=g.getResponseHeader("Content-Length")),