(function(){
var scriptLocation = "";
var scripts = document.getElementsByTagName('script');
for (var i = 0; i < scripts.length; i++) {
var src = scripts[i].getAttribute('src');
if (src) {
var index = src.lastIndexOf("i3geonaocompacto.js");
// is it found, at the end of the URL?
if ((index > -1) && (index + "i3geonaocompacto.js".length == src.length)) {
scriptLocation = src.slice(0, -"i3geonaocompacto.js".length);
break;
}
}
}
var allScriptTags = "";
var jsfiles = new Array(
"../pacotes/mobileesp/mdetect.js",
"../pacotes/proj4js/lib/proj4js-compressed.js",
"../pacotes/yui290/build/yahoo/yahoo-min.js",
"../pacotes/yui290/build/yahoo-dom-event/yahoo-dom-event.js",
"../pacotes/yui290/build/dom/dom-min.js",
"../pacotes/yui290/build/utilities/utilities.js",
"../pacotes/yui290/build/container/container_core.js",
"../pacotes/yui290/build/menu/menu-min.js",
"../pacotes/yui290/build/logger/logger-min.js",
"../pacotes/yui290/build/dragdrop/dragdrop-min.js",
"../pacotes/yui290/build/slider/slider-min.js",
"../pacotes/yui270/build/animation/animation-min.js", //a 290 não funciona direito
"../pacotes/yui290/build/container/container.js",
"../pacotes/yui290/build/element/element-min.js",
"../pacotes/yui290/build/tabview/tabview-min.js",
"../pacotes/cpaint/cpaint2.inc.js",
"../pacotes/yui290/build/treeview/treeview.js",
"../pacotes/yui290/build/button/button-min.js",
"../pacotes/yui290/build/json/json-min.js",
"../pacotes/yui290/build/resize/resize-min.js",
"../pacotes/yui290/build/progressbar/progressbar-min.js",
"../pacotes/balloon-tooltips/htdocs/js/balloon.config.js",
"../pacotes/balloon-tooltips/htdocs/js/balloon.js",
"../pacotes/eudock/js/euDock.2.0.js",
"../pacotes/eudock/js/euDock.Image.js",
"classe_i3geo.js",
"classe_util.js",
"dicionario.js",
"classe_idioma.js",
"classe_php.js",
"classe_configura.js",
"depreciados.js",
"classe_calculo.js",
"classe_desenho.js",
"classe_interface.js",
"classe_mapa.js",
"classe_tema.js",
"classe_analise.js",
"classe_maparef.js",
"classe_ajuda.js",
"classe_janela.js",
"classe_guias.js",
"classe_arvoredecamadas.js",
"classe_navega.js",
"classe_social.js",
//"classe_selecao.js", depreciado
"classe_eventos.js",
"classe_arvoredetemas.js",
"classe_barradebotoes.js",
"../pacotes/richdraw/richdraw_tudo_compacto.js",
"classe_coordenadas.js",
"classe_gadgets.js"
);
for (i = 0; i < jsfiles.length; i++)
{
var currentScriptTag = "";
allScriptTags += currentScriptTag;
}
//css
var allCssTags = "";
var cssfiles = new Array(
"../css/geral.css",
"../css/botoes2.css",
"../css/documentation.css",
"../pacotes/yui290/build/logger/assets/skins/sam/logger.css",
"../pacotes/yui290/build/fonts/fonts-min.css",
"../pacotes/yui290/build/reset-fonts-grids/reset-fonts-grids.css",
"../pacotes/yui290/build/grids/grids-min.css",
"../pacotes/yui290/build/menu/assets/skins/sam/menu.css",
"../pacotes/yui290/build/autocomplete/assets/skins/sam/autocomplete.css",
"../pacotes/yui290/build/container/assets/skins/sam/container.css",
"../pacotes/yui290/build/tabview/assets/skins/sam/tabview.css",
"../pacotes/yui290/build/treeview/assets/skins/sam/treeview.css",
"../pacotes/yui290/build/button/assets/skins/sam/button.css",
"../pacotes/yui290/build/slider/assets/skins/sam/slider.css",
"../pacotes/yui290/build/resize/assets/skins/sam/resize.css",
"../pacotes/yui290/build/progressbar/assets/skins/sam/progressbar.css",
"../css/corrigeyui_geral.css",
"../mashups/openlayers.css"
);
for (i = 0; i < cssfiles.length; i++)
{
var currentCssTag = "";
allCssTags += currentCssTag;
}
document.write(allCssTags);
document.write(allScriptTags);
})();