$(function() {
// Scroll me
  $('a[href*=#]').each(function() {
    if (location.pathname
        .replace(/^\//,'')
        .replace(/(index|default)\.[a-zA-Z]{3,4}$/,'')
        .replace(/\/$/,'')
      == this.pathname
        .replace(/^\//,'')
        .replace(/(index|default)\.[a-zA-Z]{3,4}$/,'')
        .replace(/\/$/,'')
    && location.hostname == this.hostname
    && this.hash.replace(/#/,'') ) {
      var $targetId = $(this.hash), $targetAnchor = $('[name=' + this.hash.slice(1) +']');
      var $target = $targetId.length ? $targetId : $targetAnchor.length ? $targetAnchor : false;
       if ($target) {
         var targetOffset = $target.offset().top;
         $(this).click(function() {
           $('html, body').animate({scrollTop: targetOffset}, 1000);
           return false;
         });
      }
    }
  });
$("#stylesheet").hide();
$("#height").click(function() { $("#stylesheet").slideToggle("slow"); }); });

// almería
function mar_plastico() { return tb_show('Mar de Plástico','../tooltips.php?id=1&amp;height=300&amp;width=625'); }
function ciudad_maclada() { return tb_show('Ciudad Maclada','../tooltips.php?id=5&amp;height=420&amp;width=625'); }
function paisaje_invernadero() { return tb_show('Paisaje Invernadero','../tooltips.php?id=2&amp;height=350&amp;width=625'); }
function agrociudad() { return tb_show('Agrociudad','../tooltips.php?id=6&amp;height=300&amp;width=625'); }
function ciudad_espumosa() { return tb_show('Ciudad Espumosa','../tooltips.php?id=3&amp;height=420&amp;width=625'); }
function tejido_invisible() { return tb_show('Tejido Invisible','../tooltips.php?id=4&amp;height=420&amp;width=625'); }
function villa_miseria() { return tb_show('Villa Miseria','../tooltips.php?id=7&amp;height=300&amp;width=625'); }
function buffer_city() { return tb_show('Buffer City','../tooltips.php?id=8&amp;height=340&amp;width=625'); }
function heteropolis() { return tb_show('Heterópolis','../tooltips.php?id=9&amp;height=350&amp;width=625'); }
function transmigrante() { return tb_show('Transmigrante','../tooltips.php?id=10&amp;height=420&amp;width=625'); }
function segregacion_residencial() { return tb_show('Segregación Residencial','../tooltips.php?id=11&amp;height=410&amp;width=625'); }

// cádiz
function geomorfologia() { return tb_show('Geomorfología Viva','../tooltips.php?id=12&amp;height=410&amp;width=625'); }
function cotacero() { return tb_show('Cota Cero','../tooltips.php?id=13&amp;height=250&amp;width=625'); }
function pentapolis() { return tb_show('Pentápolis','../tooltips.php?id=14&amp;height=280&amp;width=625'); }
function ciudad_bahia() { return tb_show('Ciudad Bahía','../tooltips.php?id=15&amp;height=280&amp;width=625'); }
function fenomenologia() { return tb_show('Fenomenología Bahía','../tooltips.php?id=16&amp;height=390&amp;width=625'); }
function vida_rurbana() { return tb_show('Vida Rurbana','../tooltips.php?id=17&amp;height=410&amp;width=625'); }
function ciudad_vacaciones() { return tb_show('Ciudad de Vacaciones','../tooltips.php?id=18&amp;height=335&amp;width=625'); }
function pecios_urbanos() { return tb_show('Pecios Urbanos','../tooltips.php?id=19&amp;height=380&amp;width=625'); }
function deriva_bahia() { return tb_show('Deriva Bahía','../tooltips.php?id=20&amp;height=300&amp;width=625'); }

// sevilla
function infometria() { return tb_show('Infometría','../tooltips.php?id=29&amp;height=290&amp;width=625'); }
function ciudad_centrifuga() { return tb_show('Ciudad Centrífuga','../tooltips.php?id=21&amp;height=350&amp;width=625'); }
function ciudad_centripeta() { return tb_show('Ciudad Centrípeta','../tooltips.php?id=22&amp;height=260&amp;width=625'); }
function ciudad_donut() { return tb_show('Ciudad Dónut','../tooltips.php?id=23&amp;height=330&amp;width=625'); }
function ciudad_difusa() { return tb_show('Ciudad Difusa','../tooltips.php?id=24&amp;height=330&amp;width=625'); }
function ciudad_policentrica() { return tb_show('Ciudad Policéntrica','../tooltips.php?id=25&amp;height=355&amp;width=625'); }
function infraestructuras() { return tb_show('Infraestructuras','../tooltips.php?id=26&amp;height=420&amp;width=625'); }
function sssex_villa() { return tb_show('SSSEX-VILLA y ALLÍVES','../tooltips.php?id=27&amp;height=370&amp;width=625'); }
function nodos() { return tb_show('Nodos','../tooltips.php?id=28&amp;height=310&amp;width=625'); }

// costa del sol
function autopia() { return tb_show('Autopía','../tooltips.php?id=30&amp;height=290&amp;width=625'); }
function ciudad_canibal() { return tb_show('Ciudad Caníbal','../tooltips.php?id=31&amp;height=320&amp;width=625'); }
function ciudad_centrifuga() { return tb_show('Ciudad Centrífuga','../tooltips.php?id=32&amp;height=340&amp;width=625'); }
function ciudad_analoga() { return tb_show('Ciudad Análoga','../tooltips.php?id=33&amp;height=250&amp;width=625'); }
function ciudad_red() { return tb_show('Ciudad en Red','../tooltips.php?id=34&amp;height=290&amp;width=625'); }
function metapolis() { return tb_show('Metápolis','../tooltips.php?id=35&amp;height=250&amp;width=625'); }
function privatopia() { return tb_show('Privatopía','../tooltips.php?id=36&amp;height=350&amp;width=625'); }
function surfurbia() { return tb_show('Surfurbia','../tooltips.php?id=37&amp;height=340&amp;width=625'); }
function territorio_urbano() { return tb_show('Territorio Urbano','../tooltips.php?id=38&amp;height=300&amp;width=625'); }
function territorio_sobredesarrollado() { return tb_show('Territorio Sobredesarrollado','../tooltips.php?id=39&amp;height=365&amp;width=625'); }
function espacio_sociabilidad() { return tb_show('Espacio de Sociabilidad','../tooltips.php?id=40&amp;height=365&amp;width=625'); }
function identidad_exclusiva() { return tb_show('Identidad Exclusiva','../tooltips.php?id=41&amp;height=300&amp;width=625'); }
function ciudad_privatista() { return tb_show('Ciudad Privatista','../tooltips.php?id=42&amp;height=350&amp;width=625'); }
function ciudad_promiscua() { return tb_show('Ciudad Promiscua','../tooltips.php?id=43&amp;height=340&amp;width=625'); }
function ciudad_autonomos() { return tb_show('Ciudad de Autónomos','../tooltips.php?id=44&amp;height=290&amp;width=625'); }
function ciudad_contemplativa() { return tb_show('Ciudad Contemplativa','../tooltips.php?id=45&amp;height=290&amp;width=625'); }

// estrecho
function flexcity() { return tb_show('Flexcity','../tooltips.php?id=46&amp;height=300&amp;width=625'); }
function cosmopolis() { return tb_show('Cosmópolis','../tooltips.php?id=47&amp;height=340&amp;width=625'); }
function exopolis() { return tb_show('Exópolis','../tooltips.php?id=48&amp;height=290&amp;width=625'); }
function fractalcity() { return tb_show('Fractalcity','../tooltips.php?id=49&amp;height=400&amp;width=625'); }
function fortress_city() { return tb_show('Fortress City','../tooltips.php?id=50&amp;height=400&amp;width=625'); }
function simcity() { return tb_show('Simcity','../tooltips.php?id=51&amp;height=360&amp;width=625'); }
function ciudad_dual() { return tb_show('Ciudad Dual','../tooltips.php?id=52&amp;height=340&amp;width=625'); }
function heterotopia() { return tb_show('Heterotopía','../tooltips.php?id=53&amp;height=400&amp;width=625'); }
function ciudadano_migrante() { return tb_show('Ciudadano Migrante / Autonomía de Migraciones','../tooltips.php?id=54&amp;height=340&amp;width=625'); }
function ciudad_transito() { return tb_show('Ciudad Tránsito','../tooltips.php?id=55&amp;height=340&amp;width=625'); }
function territorio_frontera() { return tb_show('Territorio Frontera','../tooltips.php?id=56&amp;height=200&amp;width=625'); }
function frontera_fabrica() { return tb_show('Frontera Fábrica','../tooltips.php?id=57&amp;height=290&amp;width=625'); }
function outsourcing() { return tb_show('Outsourcing','../tooltips.php?id=58&amp;height=340&amp;width=625'); }
function turismo_kleenex() { return tb_show('Turismo Kleenex / Langosta','../tooltips.php?id=59&amp;height=260&amp;width=625'); }
function traslacion_modelos() { return tb_show('Traslación de Modelos','../tooltips.php?id=60&amp;height=240&amp;width=625'); }
function creatividad_tactica() { return tb_show('Creatividad Táctica y Flexibilidad','../tooltips.php?id=61&amp;height=240&amp;width=625'); }
function europa_fortaleza() { return tb_show('Europa Fortaleza','../tooltips.php?id=62&amp;height=310&amp;width=625'); }
