   var gmarkers = [];
   var prime = 1;
   var category_ant = "";
   var gicons = [];
    /*var iconBlue = new GIcon(); 
    iconBlue.image = 'http://labs.google.com/ridefinder/images/mm_20_blue.png';
    iconBlue.shadow = 'http://labs.google.com/ridefinder/images/mm_20_shadow.png';
    iconBlue.iconSize = new GSize(16, 24);
    iconBlue.shadowSize = new GSize(22, 20);
    iconBlue.iconAnchor = new GPoint(6, 20);
    iconBlue.infoWindowAnchor = new GPoint(5, 1);*/

      gicons["abogados"] = new GIcon(G_DEFAULT_ICON, "icon/colour001.png");
	  gicons["abogados"].iconSize = new GSize(16, 24);
      gicons["abogados"].shadowSize = new GSize(22, 20);
      gicons["abogados"].iconAnchor = new GPoint(6, 20);
      gicons["abogados"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["academias"] = new GIcon(G_DEFAULT_ICON, "icon/colour002.png");
	  gicons["academias"].iconSize = new GSize(16, 24);
      gicons["academias"].shadowSize = new GSize(22, 20);
      gicons["academias"].iconAnchor = new GPoint(6, 20);
      gicons["academias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["artisticas"] = new GIcon(G_DEFAULT_ICON, "icon/colour003.png");
	  gicons["artisticas"].iconSize = new GSize(16, 24);
      gicons["artisticas"].shadowSize = new GSize(22, 20);
      gicons["artisticas"].iconAnchor = new GPoint(6, 20);
      gicons["artisticas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["fincas"] = new GIcon(G_DEFAULT_ICON, "icon/colour004.png");
	  gicons["fincas"].iconSize = new GSize(16, 24);
      gicons["fincas"].shadowSize = new GSize(22, 20);
      gicons["fincas"].iconAnchor = new GPoint(6, 20);
      gicons["fincas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["agencias"] = new GIcon(G_DEFAULT_ICON, "icon/colour005.png");
	  gicons["agencias"].iconSize = new GSize(16, 24);
      gicons["agencias"].shadowSize = new GSize(22, 20);
      gicons["agencias"].iconAnchor = new GPoint(6, 20);
      gicons["agencias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["comerciales"] = new GIcon(G_DEFAULT_ICON, "icon/colour006.png");
	  gicons["comerciales"].iconSize = new GSize(16, 24);
      gicons["comerciales"].shadowSize = new GSize(22, 20);
      gicons["comerciales"].iconAnchor = new GPoint(6, 20);
      gicons["comerciales"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["clientes"] = new GIcon(G_DEFAULT_ICON, "icon/colour007.png");
	  gicons["clientes"].iconSize = new GSize(16, 24);
      gicons["clientes"].shadowSize = new GSize(22, 20);
      gicons["clientes"].iconAnchor = new GPoint(6, 20);
      gicons["clientes"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["almacenes"] = new GIcon(G_DEFAULT_ICON, "icon/colour008.png");
	  gicons["almacenes"].iconSize = new GSize(16, 24);
      gicons["almacenes"].shadowSize = new GSize(22, 20);
      gicons["almacenes"].iconAnchor = new GPoint(6, 20);
      gicons["almacenes"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["arquitectura"] = new GIcon(G_DEFAULT_ICON, "icon/colour009.png");
	  gicons["arquitectura"].iconSize = new GSize(16, 24);
      gicons["arquitectura"].shadowSize = new GSize(22, 20);
      gicons["arquitectura"].iconAnchor = new GPoint(6, 20);
      gicons["arquitectura"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["artes"] = new GIcon(G_DEFAULT_ICON, "icon/colour010.png");
	  gicons["artes"].iconSize = new GSize(16, 24);
      gicons["artes"].shadowSize = new GSize(22, 20);
      gicons["artes"].iconAnchor = new GPoint(6, 20);
      gicons["artes"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["asesorias"] = new GIcon(G_DEFAULT_ICON, "icon/colour011.png");
	  gicons["asesorias"].iconSize = new GSize(16, 24);
      gicons["asesorias"].shadowSize = new GSize(22, 20);
      gicons["asesorias"].iconAnchor = new GPoint(6, 20);
      gicons["asesorias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["asociaciones"] = new GIcon(G_DEFAULT_ICON, "icon/colour012.png");
	  gicons["asociaciones"].iconSize = new GSize(16, 24);
      gicons["asociaciones"].shadowSize = new GSize(22, 20);
      gicons["asociaciones"].iconAnchor = new GPoint(6, 20);
      gicons["asociaciones"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["autoescuelas"] = new GIcon(G_DEFAULT_ICON, "icon/colour013.png");
	  gicons["autoescuelas"].iconSize = new GSize(16, 24);
      gicons["autoescuelas"].shadowSize = new GSize(22, 20);
      gicons["autoescuelas"].iconAnchor = new GPoint(6, 20);
      gicons["autoescuelas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["bancos"] = new GIcon(G_DEFAULT_ICON, "icon/colour014.png");
	  gicons["bancos"].iconSize = new GSize(16, 24);
      gicons["bancos"].shadowSize = new GSize(22, 20);
      gicons["bancos"].iconAnchor = new GPoint(6, 20);
      gicons["bancos"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["bricolaje"] = new GIcon(G_DEFAULT_ICON, "icon/colour015.png");
	  gicons["bricolaje"].iconSize = new GSize(16, 24);
      gicons["bricolaje"].shadowSize = new GSize(22, 20);
      gicons["bricolaje"].iconAnchor = new GPoint(6, 20);
      gicons["bricolaje"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["carpinteria"] = new GIcon(G_DEFAULT_ICON, "icon/colour016.png");
	  gicons["carpinteria"].iconSize = new GSize(16, 24);
      gicons["carpinteria"].shadowSize = new GSize(22, 20);
      gicons["carpinteria"].iconAnchor = new GPoint(6, 20);
      gicons["carpinteria"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["metalica"] = new GIcon(G_DEFAULT_ICON, "icon/colour017.png");
	  gicons["metalica"].iconSize = new GSize(16, 24);
      gicons["metalica"].shadowSize = new GSize(22, 20);
      gicons["metalica"].iconAnchor = new GPoint(6, 20);
      gicons["metalica"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["catering"] = new GIcon(G_DEFAULT_ICON, "icon/colour018.png");
	  gicons["catering"].iconSize = new GSize(16, 24);
      gicons["catering"].shadowSize = new GSize(22, 20);
      gicons["catering"].iconAnchor = new GPoint(6, 20);
      gicons["catering"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["centroscomerciales"] = new GIcon(G_DEFAULT_ICON, "icon/colour019.png");
	  gicons["centroscomerciales"].iconSize = new GSize(16, 24);
      gicons["centroscomerciales"].shadowSize = new GSize(22, 20);
      gicons["centroscomerciales"].iconAnchor = new GPoint(6, 20);
      gicons["centroscomerciales"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["cerrajeria"] = new GIcon(G_DEFAULT_ICON, "icon/colour020.png");
	  gicons["cerrajeria"].iconSize = new GSize(16, 24);
      gicons["cerrajeria"].shadowSize = new GSize(22, 20);
      gicons["cerrajeria"].iconAnchor = new GPoint(6, 20);
      gicons["cerrajeria"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["estetica"] = new GIcon(G_DEFAULT_ICON, "icon/colour021.png");
	  gicons["estetica"].iconSize = new GSize(16, 24);
      gicons["estetica"].shadowSize = new GSize(22, 20);
      gicons["estetica"].iconAnchor = new GPoint(6, 20);
      gicons["estetica"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["cines"] = new GIcon(G_DEFAULT_ICON, "icon/colour022.png");
	  gicons["cines"].iconSize = new GSize(16, 24);
      gicons["cines"].shadowSize = new GSize(22, 20);
      gicons["cines"].iconAnchor = new GPoint(6, 20);
      gicons["cines"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["climatizacion"] = new GIcon(G_DEFAULT_ICON, "icon/colour023.png");
	  gicons["climatizacion"].iconSize = new GSize(16, 24);
      gicons["climatizacion"].shadowSize = new GSize(22, 20);
      gicons["climatizacion"].iconAnchor = new GPoint(6, 20);
      gicons["climatizacion"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["clinicas"] = new GIcon(G_DEFAULT_ICON, "icon/colour024.png");
	  gicons["clinicas"].iconSize = new GSize(16, 24);
      gicons["clinicas"].shadowSize = new GSize(22, 20);
      gicons["clinicas"].iconAnchor = new GPoint(6, 20);
      gicons["clinicas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["veterinarios"] = new GIcon(G_DEFAULT_ICON, "icon/colour025.png");
	  gicons["veterinarios"].iconSize = new GSize(16, 24);
      gicons["veterinarios"].shadowSize = new GSize(22, 20);
      gicons["veterinarios"].iconAnchor = new GPoint(6, 20);
      gicons["veterinarios"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["complementos"] = new GIcon(G_DEFAULT_ICON, "icon/colour026.png");
	  gicons["complementos"].iconSize = new GSize(16, 24);
      gicons["complementos"].shadowSize = new GSize(22, 20);
      gicons["complementos"].iconAnchor = new GPoint(6, 20);
      gicons["complementos"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["concesionarios"] = new GIcon(G_DEFAULT_ICON, "icon/colour027.png");
	  gicons["concesionarios"].iconSize = new GSize(16, 24);
      gicons["concesionarios"].shadowSize = new GSize(22, 20);
      gicons["concesionarios"].iconAnchor = new GPoint(6, 20);
      gicons["concesionarios"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["confeccion"] = new GIcon(G_DEFAULT_ICON, "icon/colour028.png");
	  gicons["confeccion"].iconSize = new GSize(16, 24);
      gicons["confeccion"].shadowSize = new GSize(22, 20);
      gicons["confeccion"].iconAnchor = new GPoint(6, 20);
      gicons["confeccion"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["construccion"] = new GIcon(G_DEFAULT_ICON, "icon/colour029.png");
	  gicons["construccion"].iconSize = new GSize(16, 24);
      gicons["construccion"].shadowSize = new GSize(22, 20);
      gicons["construccion"].iconAnchor = new GPoint(6, 20);
      gicons["construccion"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["consultoras"] = new GIcon(G_DEFAULT_ICON, "icon/colour030.png");
	  gicons["consultoras"].iconSize = new GSize(16, 24);
      gicons["consultoras"].shadowSize = new GSize(22, 20);
      gicons["consultoras"].iconAnchor = new GPoint(6, 20);
      gicons["consultoras"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["cristalerias"] = new GIcon(G_DEFAULT_ICON, "icon/colour031.png");
	  gicons["cristalerias"].iconSize = new GSize(16, 24);
      gicons["cristalerias"].shadowSize = new GSize(22, 20);
      gicons["cristalerias"].iconAnchor = new GPoint(6, 20);
      gicons["cristalerias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["dentistas"] = new GIcon(G_DEFAULT_ICON, "icon/colour032.png");
	  gicons["dentistas"].iconSize = new GSize(16, 24);
      gicons["dentistas"].shadowSize = new GSize(22, 20);
      gicons["dentistas"].iconAnchor = new GPoint(6, 20);
      gicons["dentistas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["deportes"] = new GIcon(G_DEFAULT_ICON, "icon/colour033.png");
	  gicons["deportes"].iconSize = new GSize(16, 24);
      gicons["deportes"].shadowSize = new GSize(22, 20);
      gicons["deportes"].iconAnchor = new GPoint(6, 20);
      gicons["deportes"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["diseno"] = new GIcon(G_DEFAULT_ICON, "icon/colour034.png");
	  gicons["diseno"].iconSize = new GSize(16, 24);
      gicons["diseno"].shadowSize = new GSize(22, 20);
      gicons["diseno"].iconAnchor = new GPoint(6, 20);
      gicons["diseno"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["distribucion"] = new GIcon(G_DEFAULT_ICON, "icon/colour035.png");
	  gicons["distribucion"].iconSize = new GSize(16, 24);
      gicons["distribucion"].shadowSize = new GSize(22, 20);
      gicons["distribucion"].iconAnchor = new GPoint(6, 20);
      gicons["distribucion"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["electrodomesticos"] = new GIcon(G_DEFAULT_ICON, "icon/colour036.png");
	  gicons["electrodomesticos"].iconSize = new GSize(16, 24);
      gicons["electrodomesticos"].shadowSize = new GSize(22, 20);
      gicons["electrodomesticos"].iconAnchor = new GPoint(6, 20);
      gicons["electrodomesticos"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["electronica"] = new GIcon(G_DEFAULT_ICON, "icon/colour037.png");
	  gicons["electronica"].iconSize = new GSize(16, 24);
      gicons["electronica"].shadowSize = new GSize(22, 20);
      gicons["electronica"].iconAnchor = new GPoint(6, 20);
      gicons["electronica"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["fabricacion"] = new GIcon(G_DEFAULT_ICON, "icon/colour038.png");
	  gicons["fabricacion"].iconSize = new GSize(16, 24);
      gicons["fabricacion"].shadowSize = new GSize(22, 20);
      gicons["fabricacion"].iconAnchor = new GPoint(6, 20);
      gicons["fabricacion"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["farmacias"] = new GIcon(G_DEFAULT_ICON, "icon/colour039.png");
	  gicons["farmacias"].iconSize = new GSize(16, 24);
      gicons["farmacias"].shadowSize = new GSize(22, 20);
      gicons["farmacias"].iconAnchor = new GPoint(6, 20);
      gicons["farmacias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["ferreterias"] = new GIcon(G_DEFAULT_ICON, "icon/colour040.png");
	  gicons["ferreterias"].iconSize = new GSize(16, 24);
      gicons["ferreterias"].shadowSize = new GSize(22, 20);
      gicons["ferreterias"].iconAnchor = new GPoint(6, 20);
      gicons["ferreterias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["fisioterapia"] = new GIcon(G_DEFAULT_ICON, "icon/colour041.png");
	  gicons["fisioterapia"].iconSize = new GSize(16, 24);
      gicons["fisioterapia"].shadowSize = new GSize(22, 20);
      gicons["fisioterapia"].iconAnchor = new GPoint(6, 20);
      gicons["fisioterapia"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["fitosanitarios"] = new GIcon(G_DEFAULT_ICON, "icon/colour042.png");
	  gicons["fitosanitarios"].iconSize = new GSize(16, 24);
      gicons["fitosanitarios"].shadowSize = new GSize(22, 20);
      gicons["fitosanitarios"].iconAnchor = new GPoint(6, 20);
      gicons["fitosanitarios"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["floristerias"] = new GIcon(G_DEFAULT_ICON, "icon/colour043.png");
	  gicons["floristerias"].iconSize = new GSize(16, 24);
      gicons["floristerias"].shadowSize = new GSize(22, 20);
      gicons["floristerias"].iconAnchor = new GPoint(6, 20);
      gicons["floristerias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["fontaneria"] = new GIcon(G_DEFAULT_ICON, "icon/colour044.png");
	  gicons["fontaneria"].iconSize = new GSize(16, 24);
      gicons["fontaneria"].shadowSize = new GSize(22, 20);
      gicons["fontaneria"].iconAnchor = new GPoint(6, 20);
      gicons["fontaneria"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["fotografia"] = new GIcon(G_DEFAULT_ICON, "icon/colour045.png");
	  gicons["fotografia"].iconSize = new GSize(16, 24);
      gicons["fotografia"].shadowSize = new GSize(22, 20);
      gicons["fotografia"].iconAnchor = new GPoint(6, 20);
      gicons["fotografia"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["frutos"] = new GIcon(G_DEFAULT_ICON, "icon/colour046.png");
	  gicons["frutos"].iconSize = new GSize(16, 24);
      gicons["frutos"].shadowSize = new GSize(22, 20);
      gicons["frutos"].iconAnchor = new GPoint(6, 20);
      gicons["frutos"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["gasolineras"] = new GIcon(G_DEFAULT_ICON, "icon/colour047.png");
	  gicons["gasolineras"].iconSize = new GSize(16, 24);
      gicons["gasolineras"].shadowSize = new GSize(22, 20);
      gicons["gasolineras"].iconAnchor = new GPoint(6, 20);
      gicons["gasolineras"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["guarderias"] = new GIcon(G_DEFAULT_ICON, "icon/colour048.png");
	  gicons["guarderias"].iconSize = new GSize(16, 24);
      gicons["guarderias"].shadowSize = new GSize(22, 20);
      gicons["guarderias"].iconAnchor = new GPoint(6, 20);
      gicons["guarderias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["herbolarios"] = new GIcon(G_DEFAULT_ICON, "icon/colour049.png");
	  gicons["herbolarios"].iconSize = new GSize(16, 24);
      gicons["herbolarios"].shadowSize = new GSize(22, 20);
      gicons["herbolarios"].iconAnchor = new GPoint(6, 20);
      gicons["herbolarios"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["hiper"] = new GIcon(G_DEFAULT_ICON, "icon/colour050.png");
	  gicons["hiper"].iconSize = new GSize(16, 24);
      gicons["hiper"].shadowSize = new GSize(22, 20);
      gicons["hiper"].iconAnchor = new GPoint(6, 20);
      gicons["hiper"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["hoteles"] = new GIcon(G_DEFAULT_ICON, "icon/colour051.png");
	  gicons["hoteles"].iconSize = new GSize(16, 24);
      gicons["hoteles"].shadowSize = new GSize(22, 20);
      gicons["hoteles"].iconAnchor = new GPoint(6, 20);
      gicons["hoteles"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["informatica"] = new GIcon(G_DEFAULT_ICON, "icon/colour052.png");
	  gicons["informatica"].iconSize = new GSize(16, 24);
      gicons["informatica"].shadowSize = new GSize(22, 20);
      gicons["informatica"].iconAnchor = new GPoint(6, 20);
      gicons["informatica"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["ingenieria"] = new GIcon(G_DEFAULT_ICON, "icon/colour053.png");
	  gicons["ingenieria"].iconSize = new GSize(16, 24);
      gicons["ingenieria"].shadowSize = new GSize(22, 20);
      gicons["ingenieria"].iconAnchor = new GPoint(6, 20);
      gicons["ingenieria"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["inmobiliarias"] = new GIcon(G_DEFAULT_ICON, "icon/colour054.png");
	  gicons["inmobiliarias"].iconSize = new GSize(16, 24);
      gicons["inmobiliarias"].shadowSize = new GSize(22, 20);
      gicons["inmobiliarias"].iconAnchor = new GPoint(6, 20);
      gicons["inmobiliarias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["instaladores"] = new GIcon(G_DEFAULT_ICON, "icon/colour055.png");
	  gicons["instaladores"].iconSize = new GSize(16, 24);
      gicons["instaladores"].shadowSize = new GSize(22, 20);
      gicons["instaladores"].iconAnchor = new GPoint(6, 20);
      gicons["instaladores"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["internet"] = new GIcon(G_DEFAULT_ICON, "icon/colour056.png");
	  gicons["internet"].iconSize = new GSize(16, 24);
      gicons["internet"].shadowSize = new GSize(22, 20);
      gicons["internet"].iconAnchor = new GPoint(6, 20);
      gicons["internet"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["investigacion"] = new GIcon(G_DEFAULT_ICON, "icon/colour057.png");
	  gicons["investigacion"].iconSize = new GSize(16, 24);
      gicons["investigacion"].shadowSize = new GSize(22, 20);
      gicons["investigacion"].iconAnchor = new GPoint(6, 20);
      gicons["investigacion"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["jardineria"] = new GIcon(G_DEFAULT_ICON, "icon/colour058.png");
	  gicons["jardineria"].iconSize = new GSize(16, 24);
      gicons["jardineria"].shadowSize = new GSize(22, 20);
      gicons["jardineria"].iconAnchor = new GPoint(6, 20);
      gicons["jardineria"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["joyerias"] = new GIcon(G_DEFAULT_ICON, "icon/colour059.png");
	  gicons["joyerias"].iconSize = new GSize(16, 24);
      gicons["joyerias"].shadowSize = new GSize(22, 20);
      gicons["joyerias"].iconAnchor = new GPoint(6, 20);
      gicons["joyerias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["jugueterias"] = new GIcon(G_DEFAULT_ICON, "icon/colour060.png");
	  gicons["jugueterias"].iconSize = new GSize(16, 24);
      gicons["jugueterias"].shadowSize = new GSize(22, 20);
      gicons["jugueterias"].iconAnchor = new GPoint(6, 20);
      gicons["jugueterias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["lavado"] = new GIcon(G_DEFAULT_ICON, "icon/colour061.png");
	  gicons["lavado"].iconSize = new GSize(16, 24);
      gicons["lavado"].shadowSize = new GSize(22, 20);
      gicons["lavado"].iconAnchor = new GPoint(6, 20);
      gicons["lavado"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["lavanderias"] = new GIcon(G_DEFAULT_ICON, "icon/colour062.png");
	  gicons["lavanderias"].iconSize = new GSize(16, 24);
      gicons["lavanderias"].shadowSize = new GSize(22, 20);
      gicons["lavanderias"].iconAnchor = new GPoint(6, 20);
      gicons["lavanderias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["librerias"] = new GIcon(G_DEFAULT_ICON, "icon/colour063.png");
	  gicons["librerias"].iconSize = new GSize(16, 24);
      gicons["librerias"].shadowSize = new GSize(22, 20);
      gicons["librerias"].iconAnchor = new GPoint(6, 20);
      gicons["librerias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["limpieza"] = new GIcon(G_DEFAULT_ICON, "icon/colour064.png");
	  gicons["limpieza"].iconSize = new GSize(16, 24);
      gicons["limpieza"].shadowSize = new GSize(22, 20);
      gicons["limpieza"].iconAnchor = new GPoint(6, 20);
      gicons["limpieza"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["logopedas"] = new GIcon(G_DEFAULT_ICON, "icon/colour065.png");
	  gicons["logopedas"].iconSize = new GSize(16, 24);
      gicons["logopedas"].shadowSize = new GSize(22, 20);
      gicons["logopedas"].iconAnchor = new GPoint(6, 20);
      gicons["logopedas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["loterias"] = new GIcon(G_DEFAULT_ICON, "icon/colour066.png");
	  gicons["loterias"].iconSize = new GSize(16, 24);
      gicons["loterias"].shadowSize = new GSize(22, 20);
      gicons["loterias"].iconAnchor = new GPoint(6, 20);
      gicons["loterias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["mantenimiento"] = new GIcon(G_DEFAULT_ICON, "icon/colour067.png");
	  gicons["mantenimiento"].iconSize = new GSize(16, 24);
      gicons["mantenimiento"].shadowSize = new GSize(22, 20);
      gicons["mantenimiento"].iconAnchor = new GPoint(6, 20);
      gicons["mantenimiento"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["maquinaria"] = new GIcon(G_DEFAULT_ICON, "icon/colour068.png");
	  gicons["maquinaria"].iconSize = new GSize(16, 24);
      gicons["maquinaria"].shadowSize = new GSize(22, 20);
      gicons["maquinaria"].iconAnchor = new GPoint(6, 20);
      gicons["maquinaria"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["expendedoras"] = new GIcon(G_DEFAULT_ICON, "icon/colour069.png");
	  gicons["expendedoras"].iconSize = new GSize(16, 24);
      gicons["expendedoras"].shadowSize = new GSize(22, 20);
      gicons["expendedoras"].iconAnchor = new GPoint(6, 20);
      gicons["expendedoras"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["recreativas"] = new GIcon(G_DEFAULT_ICON, "icon/colour070.png");
	  gicons["recreativas"].iconSize = new GSize(16, 24);
      gicons["recreativas"].shadowSize = new GSize(22, 20);
      gicons["recreativas"].iconAnchor = new GPoint(6, 20);
      gicons["recreativas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["oficina"] = new GIcon(G_DEFAULT_ICON, "icon/colour071.png");
	  gicons["oficina"].iconSize = new GSize(16, 24);
      gicons["oficina"].shadowSize = new GSize(22, 20);
      gicons["oficina"].iconAnchor = new GPoint(6, 20);
      gicons["oficina"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["materiales"] = new GIcon(G_DEFAULT_ICON, "icon/colour072.png");
	  gicons["materiales"].iconSize = new GSize(16, 24);
      gicons["materiales"].shadowSize = new GSize(22, 20);
      gicons["materiales"].iconAnchor = new GPoint(6, 20);
      gicons["materiales"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["mensajeria"] = new GIcon(G_DEFAULT_ICON, "icon/colour073.png");
	  gicons["mensajeria"].iconSize = new GSize(16, 24);
      gicons["mensajeria"].shadowSize = new GSize(22, 20);
      gicons["mensajeria"].iconAnchor = new GPoint(6, 20);
      gicons["mensajeria"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["merceria"] = new GIcon(G_DEFAULT_ICON, "icon/colour074.png");
	  gicons["merceria"].iconSize = new GSize(16, 24);
      gicons["merceria"].shadowSize = new GSize(22, 20);
      gicons["merceria"].iconAnchor = new GPoint(6, 20);
      gicons["merceria"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["merchandising"] = new GIcon(G_DEFAULT_ICON, "icon/colour075.png");
	  gicons["merchandising"].iconSize = new GSize(16, 24);
      gicons["merchandising"].shadowSize = new GSize(22, 20);
      gicons["merchandising"].iconAnchor = new GPoint(6, 20);
      gicons["merchandising"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["mobiliario"] = new GIcon(G_DEFAULT_ICON, "icon/colour076.png");
	  gicons["mobiliario"].iconSize = new GSize(16, 24);
      gicons["mobiliario"].shadowSize = new GSize(22, 20);
      gicons["mobiliario"].iconAnchor = new GPoint(6, 20);
      gicons["mobiliario"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["muebles"] = new GIcon(G_DEFAULT_ICON, "icon/colour077.png");
	  gicons["muebles"].iconSize = new GSize(16, 24);
      gicons["muebles"].shadowSize = new GSize(22, 20);
      gicons["muebles"].iconAnchor = new GPoint(6, 20);
      gicons["muebles"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["musica"] = new GIcon(G_DEFAULT_ICON, "icon/colour078.png");
	  gicons["musica"].iconSize = new GSize(16, 24);
      gicons["musica"].shadowSize = new GSize(22, 20);
      gicons["musica"].iconAnchor = new GPoint(6, 20);
      gicons["musica"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["notarias"] = new GIcon(G_DEFAULT_ICON, "icon/colour079.png");
	  gicons["notarias"].iconSize = new GSize(16, 24);
      gicons["notarias"].shadowSize = new GSize(22, 20);
      gicons["notarias"].iconAnchor = new GPoint(6, 20);
      gicons["notarias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["opticas"] = new GIcon(G_DEFAULT_ICON, "icon/colour080.png");
	  gicons["opticas"].iconSize = new GSize(16, 24);
      gicons["opticas"].shadowSize = new GSize(22, 20);
      gicons["opticas"].iconAnchor = new GPoint(6, 20);
      gicons["opticas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["panaderias"] = new GIcon(G_DEFAULT_ICON, "icon/colour081.png");
	  gicons["panaderias"].iconSize = new GSize(16, 24);
      gicons["panaderias"].shadowSize = new GSize(22, 20);
      gicons["panaderias"].iconAnchor = new GPoint(6, 20);
      gicons["panaderias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["papelerias"] = new GIcon(G_DEFAULT_ICON, "icon/colour082.png");
	  gicons["papelerias"].iconSize = new GSize(16, 24);
      gicons["papelerias"].shadowSize = new GSize(22, 20);
      gicons["papelerias"].iconAnchor = new GPoint(6, 20);
      gicons["papelerias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["peleterias"] = new GIcon(G_DEFAULT_ICON, "icon/colour083.png");
	  gicons["peleterias"].iconSize = new GSize(16, 24);
      gicons["peleterias"].shadowSize = new GSize(22, 20);
      gicons["peleterias"].iconAnchor = new GPoint(6, 20);
      gicons["peleterias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["peluquerias"] = new GIcon(G_DEFAULT_ICON, "icon/colour084.png");
	  gicons["peluquerias"].iconSize = new GSize(16, 24);
      gicons["peluquerias"].shadowSize = new GSize(22, 20);
      gicons["peluquerias"].iconAnchor = new GPoint(6, 20);
      gicons["peluquerias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["perfumerias"] = new GIcon(G_DEFAULT_ICON, "icon/colour085.png");
	  gicons["perfumerias"].iconSize = new GSize(16, 24);
      gicons["perfumerias"].shadowSize = new GSize(22, 20);
      gicons["perfumerias"].iconAnchor = new GPoint(6, 20);
      gicons["perfumerias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["pintores"] = new GIcon(G_DEFAULT_ICON, "icon/colour086.png");
	  gicons["pintores"].iconSize = new GSize(16, 24);
      gicons["pintores"].shadowSize = new GSize(22, 20);
      gicons["pintores"].iconAnchor = new GPoint(6, 20);
      gicons["pintores"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["piscinas"] = new GIcon(G_DEFAULT_ICON, "icon/colour087.png");
	  gicons["piscinas"].iconSize = new GSize(16, 24);
      gicons["piscinas"].shadowSize = new GSize(22, 20);
      gicons["piscinas"].iconAnchor = new GPoint(6, 20);
      gicons["piscinas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["podologia"] = new GIcon(G_DEFAULT_ICON, "icon/colour088.png");
	  gicons["podologia"].iconSize = new GSize(16, 24);
      gicons["podologia"].shadowSize = new GSize(22, 20);
      gicons["podologia"].iconAnchor = new GPoint(6, 20);
      gicons["podologia"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["prensa"] = new GIcon(G_DEFAULT_ICON, "icon/colour089.png");
	  gicons["prensa"].iconSize = new GSize(16, 24);
      gicons["prensa"].shadowSize = new GSize(22, 20);
      gicons["prensa"].iconAnchor = new GPoint(6, 20);
      gicons["prensa"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["audiovisual"] = new GIcon(G_DEFAULT_ICON, "icon/colour090.png");
	  gicons["audiovisual"].iconSize = new GSize(16, 24);
      gicons["audiovisual"].shadowSize = new GSize(22, 20);
      gicons["audiovisual"].iconAnchor = new GPoint(6, 20);
      gicons["audiovisual"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["psicologia"] = new GIcon(G_DEFAULT_ICON, "icon/colour091.png");
	  gicons["psicologia"].iconSize = new GSize(16, 24);
      gicons["psicologia"].shadowSize = new GSize(22, 20);
      gicons["psicologia"].iconAnchor = new GPoint(6, 20);
      gicons["psicologia"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["pubs"] = new GIcon(G_DEFAULT_ICON, "icon/colour092.png");
	  gicons["pubs"].iconSize = new GSize(16, 24);
      gicons["pubs"].shadowSize = new GSize(22, 20);
      gicons["pubs"].iconAnchor = new GPoint(6, 20);
      gicons["pubs"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["reformas"] = new GIcon(G_DEFAULT_ICON, "icon/colour093.png");
	  gicons["reformas"].iconSize = new GSize(16, 24);
      gicons["reformas"].shadowSize = new GSize(22, 20);
      gicons["reformas"].iconAnchor = new GPoint(6, 20);
      gicons["reformas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["rehabilitaciones"] = new GIcon(G_DEFAULT_ICON, "icon/colour094.png");
	  gicons["rehabilitaciones"].iconSize = new GSize(16, 24);
      gicons["rehabilitaciones"].shadowSize = new GSize(22, 20);
      gicons["rehabilitaciones"].iconAnchor = new GPoint(6, 20);
      gicons["rehabilitaciones"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["relojerias"] = new GIcon(G_DEFAULT_ICON, "icon/colour095.png");
	  gicons["relojerias"].iconSize = new GSize(16, 24);
      gicons["relojerias"].shadowSize = new GSize(22, 20);
      gicons["relojerias"].iconAnchor = new GPoint(6, 20);
      gicons["relojerias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["restaurantes"] = new GIcon(G_DEFAULT_ICON, "icon/colour096.png");
	  gicons["restaurantes"].iconSize = new GSize(16, 24);
      gicons["restaurantes"].shadowSize = new GSize(22, 20);
      gicons["restaurantes"].iconAnchor = new GPoint(6, 20);
      gicons["restaurantes"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["saneamientos"] = new GIcon(G_DEFAULT_ICON, "icon/colour097.png");
	  gicons["saneamientos"].iconSize = new GSize(16, 24);
      gicons["saneamientos"].shadowSize = new GSize(22, 20);
      gicons["saneamientos"].iconAnchor = new GPoint(6, 20);
      gicons["saneamientos"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["seguros"] = new GIcon(G_DEFAULT_ICON, "icon/colour098.png");
	  gicons["seguros"].iconSize = new GSize(16, 24);
      gicons["seguros"].shadowSize = new GSize(22, 20);
      gicons["seguros"].iconAnchor = new GPoint(6, 20);
      gicons["seguros"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["domestico"] = new GIcon(G_DEFAULT_ICON, "icon/colour099.png");
	  gicons["domestico"].iconSize = new GSize(16, 24);
      gicons["domestico"].shadowSize = new GSize(22, 20);
      gicons["domestico"].iconAnchor = new GPoint(6, 20);
      gicons["domestico"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["supermercados"] = new GIcon(G_DEFAULT_ICON, "icon/colour100.png");
	  gicons["supermercados"].iconSize = new GSize(16, 24);
      gicons["supermercados"].shadowSize = new GSize(22, 20);
      gicons["supermercados"].iconAnchor = new GPoint(6, 20);
      gicons["supermercados"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["talleres"] = new GIcon(G_DEFAULT_ICON, "icon/colour101.png");
	  gicons["talleres"].iconSize = new GSize(16, 24);
      gicons["talleres"].shadowSize = new GSize(22, 20);
      gicons["talleres"].iconAnchor = new GPoint(6, 20);
      gicons["talleres"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["tatuajes"] = new GIcon(G_DEFAULT_ICON, "icon/colour102.png");
	  gicons["tatuajes"].iconSize = new GSize(16, 24);
      gicons["tatuajes"].shadowSize = new GSize(22, 20);
      gicons["tatuajes"].iconAnchor = new GPoint(6, 20);
      gicons["tatuajes"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["taxis"] = new GIcon(G_DEFAULT_ICON, "icon/colour103.png");
	  gicons["taxis"].iconSize = new GSize(16, 24);
      gicons["taxis"].shadowSize = new GSize(22, 20);
      gicons["taxis"].iconAnchor = new GPoint(6, 20);
      gicons["taxis"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["teleco"] = new GIcon(G_DEFAULT_ICON, "icon/colour104.png");
	  gicons["teleco"].iconSize = new GSize(16, 24);
      gicons["teleco"].shadowSize = new GSize(22, 20);
      gicons["teleco"].iconAnchor = new GPoint(6, 20);
      gicons["teleco"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["alimentacion"] = new GIcon(G_DEFAULT_ICON, "icon/colour105.png");
	  gicons["alimentacion"].iconSize = new GSize(16, 24);
      gicons["alimentacion"].shadowSize = new GSize(22, 20);
      gicons["alimentacion"].iconAnchor = new GPoint(6, 20);
      gicons["alimentacion"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["regalos"] = new GIcon(G_DEFAULT_ICON, "icon/colour106.png");
	  gicons["regalos"].iconSize = new GSize(16, 24);
      gicons["regalos"].shadowSize = new GSize(22, 20);
      gicons["regalos"].iconAnchor = new GPoint(6, 20);
      gicons["regalos"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["traducciones"] = new GIcon(G_DEFAULT_ICON, "icon/colour107.png");
	  gicons["traducciones"].iconSize = new GSize(16, 24);
      gicons["traducciones"].shadowSize = new GSize(22, 20);
      gicons["traducciones"].iconAnchor = new GPoint(6, 20);
      gicons["traducciones"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["transportes"] = new GIcon(G_DEFAULT_ICON, "icon/colour109.png");
	  gicons["transportes"].iconSize = new GSize(16, 24);
      gicons["transportes"].shadowSize = new GSize(22, 20);
      gicons["transportes"].iconAnchor = new GPoint(6, 20);
      gicons["transportes"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["aguas"] = new GIcon(G_DEFAULT_ICON, "icon/colour110.png");
	  gicons["aguas"].iconSize = new GSize(16, 24);
      gicons["aguas"].shadowSize = new GSize(22, 20);
      gicons["aguas"].iconAnchor = new GPoint(6, 20);
      gicons["aguas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["venta"] = new GIcon(G_DEFAULT_ICON, "icon/colour111.png");
	  gicons["venta"].iconSize = new GSize(16, 24);
      gicons["venta"].shadowSize = new GSize(22, 20);
      gicons["venta"].iconAnchor = new GPoint(6, 20);
      gicons["venta"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["videoclubs"] = new GIcon(G_DEFAULT_ICON, "icon/colour112.png");
	  gicons["videoclubs"].iconSize = new GSize(16, 24);
      gicons["videoclubs"].shadowSize = new GSize(22, 20);
      gicons["videoclubs"].iconAnchor = new GPoint(6, 20);
      gicons["videoclubs"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["zapaterias"] = new GIcon(G_DEFAULT_ICON, "icon/colour113.png");
	  gicons["zapaterias"].iconSize = new GSize(16, 24);
      gicons["zapaterias"].shadowSize = new GSize(22, 20);
      gicons["zapaterias"].iconAnchor = new GPoint(6, 20);
      gicons["zapaterias"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["culturales"] = new GIcon(G_DEFAULT_ICON, "icon/colour114.png");
	  gicons["culturales"].iconSize = new GSize(16, 24);
      gicons["culturales"].shadowSize = new GSize(22, 20);
      gicons["culturales"].iconAnchor = new GPoint(6, 20);
      gicons["culturales"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["alquileres"] = new GIcon(G_DEFAULT_ICON, "icon/colour115.png");
	  gicons["alquileres"].iconSize = new GSize(16, 24);
      gicons["alquileres"].shadowSize = new GSize(22, 20);
      gicons["alquileres"].iconAnchor = new GPoint(6, 20);
      gicons["alquileres"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["bazares"] = new GIcon(G_DEFAULT_ICON, "icon/colour116.png");
	  gicons["bazares"].iconSize = new GSize(16, 24);
      gicons["bazares"].shadowSize = new GSize(22, 20);
      gicons["bazares"].iconAnchor = new GPoint(6, 20);
      gicons["bazares"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["bares"] = new GIcon(G_DEFAULT_ICON, "icon/colour117.png");
	  gicons["bares"].iconSize = new GSize(16, 24);
      gicons["bares"].shadowSize = new GSize(22, 20);
      gicons["bares"].iconAnchor = new GPoint(6, 20);
      gicons["bares"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["cajas"] = new GIcon(G_DEFAULT_ICON, "icon/colour118.png");
	  gicons["cajas"].iconSize = new GSize(16, 24);
      gicons["cajas"].shadowSize = new GSize(22, 20);
      gicons["cajas"].iconAnchor = new GPoint(6, 20);
      gicons["cajas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["vinos"] = new GIcon(G_DEFAULT_ICON, "icon/colour119.png");
	  gicons["vinos"].iconSize = new GSize(16, 24);
      gicons["vinos"].shadowSize = new GSize(22, 20);
      gicons["vinos"].iconAnchor = new GPoint(6, 20);
      gicons["vinos"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["motos"] = new GIcon(G_DEFAULT_ICON, "icon/colour120.png");
	  gicons["motos"].iconSize = new GSize(16, 24);
      gicons["motos"].shadowSize = new GSize(22, 20);
      gicons["motos"].iconAnchor = new GPoint(6, 20);
      gicons["motos"].infoWindowAnchor = new GPoint(5, 1);
      gicons["recambios"] = new GIcon(G_DEFAULT_ICON, "icon/colour121.png");
	  gicons["recambios"].iconSize = new GSize(16, 24);
      gicons["recambios"].shadowSize = new GSize(22, 20);
      gicons["recambios"].iconAnchor = new GPoint(6, 20);
      gicons["recambios"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["cocinas"] = new GIcon(G_DEFAULT_ICON, "icon/colour122.png");
	  gicons["cocinas"].iconSize = new GSize(16, 24);
      gicons["cocinas"].shadowSize = new GSize(22, 20);
      gicons["cocinas"].iconAnchor = new GPoint(6, 20);
      gicons["cocinas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["lamparas"] = new GIcon(G_DEFAULT_ICON, "icon/colour123.png");
	  gicons["lamparas"].iconSize = new GSize(16, 24);
      gicons["lamparas"].shadowSize = new GSize(22, 20);
      gicons["lamparas"].iconAnchor = new GPoint(6, 20);
      gicons["lamparas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["caninas"] = new GIcon(G_DEFAULT_ICON, "icon/colour124.png");		
	  gicons["caninas"].iconSize = new GSize(16, 24);
      gicons["caninas"].shadowSize = new GSize(22, 20);
      gicons["caninas"].iconAnchor = new GPoint(6, 20);
      gicons["caninas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["financieros"] = new GIcon(G_DEFAULT_ICON, "icon/colour125.png");
	  gicons["financieros"].iconSize = new GSize(16, 24);
      gicons["financieros"].shadowSize = new GSize(22, 20);
      gicons["financieros"].iconAnchor = new GPoint(6, 20);
      gicons["financieros"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["mudanzas"] = new GIcon(G_DEFAULT_ICON, "icon/colour126.png");
	  gicons["mudanzas"].iconSize = new GSize(16, 24);
      gicons["mudanzas"].shadowSize = new GSize(22, 20);
      gicons["mudanzas"].iconAnchor = new GPoint(6, 20);
      gicons["mudanzas"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["animales"] = new GIcon(G_DEFAULT_ICON, "icon/colour127.png");
	  gicons["animales"].iconSize = new GSize(16, 24);
      gicons["animales"].shadowSize = new GSize(22, 20);
      gicons["animales"].iconAnchor = new GPoint(6, 20);
      gicons["animales"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["moda"] = new GIcon(G_DEFAULT_ICON, "icon/colour128.png");
	  gicons["moda"].iconSize = new GSize(16, 24);
      gicons["moda"].shadowSize = new GSize(22, 20);
      gicons["moda"].iconAnchor = new GPoint(6, 20);
      gicons["moda"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["infantil"] = new GIcon(G_DEFAULT_ICON, "icon/colour129.png");
	  gicons["infantil"].iconSize = new GSize(16, 24);
      gicons["infantil"].shadowSize = new GSize(22, 20);
      gicons["infantil"].iconAnchor = new GPoint(6, 20);
      gicons["infantil"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["gimnasios"] = new GIcon(G_DEFAULT_ICON, "icon/colour130.png");
	  gicons["gimnasios"].iconSize = new GSize(16, 24);
      gicons["gimnasios"].shadowSize = new GSize(22, 20);
      gicons["gimnasios"].iconAnchor = new GPoint(6, 20);
      gicons["gimnasios"].infoWindowAnchor = new GPoint(5, 1);
	  gicons["telefonia"] = new GIcon(G_DEFAULT_ICON, "icon/colour131.png");
	  gicons["telefonia"].iconSize = new GSize(16, 24);
      gicons["telefonia"].shadowSize = new GSize(22, 20);
      gicons["telefonia"].iconAnchor = new GPoint(6, 20);
      gicons["telefonia"].infoWindowAnchor = new GPoint(5, 1);
	  
	  var arraycat = new Array("abogados","academias","artisticas","fincas","agencias","comerciales","clientes","almacenes","arquitectura","artes","asesorias","asociaciones","autoescuelas","bancos","bricolaje","carpinteria","metalica","catering","centroscomerciales","cerrajeria","estetica","cines","climatizacion","clinicas","veterinarios","complementos","concesionarios","confeccion","construccion","consultoras","cristalerias","dentistas","deportes","diseno","distribucion","electrodomesticos","electronica","fabricacion","farmacias","ferreterias","fisioterapia","fitosanitarios","floristerias","fontaneria","fotografia","frutos","gasolineras","guarderias","herbolarios","hiper","hoteles","informatica","ingenieria","inmobiliarias","instaladores","internet","investigacion","jardineria","joyerias","jugueterias","lavado","lavanderias","librerias","limpieza","logopedas","loterias","mantenimiento","maquinaria","expendedoras","recreativas","oficina","materiales","mensajeria","merceria","merchandising","mobiliario","muebles","musica","notarias","opticas","panaderias","papelerias","peleterias","peluquerias","perfumerias","pintores","piscinas","podologia","prensa","audiovisual","psicologia","pubs","reformas","rehabilitaciones","relojerias","restaurantes","saneamientos","seguros","domestico","supermercados","talleres","tatuajes","taxis","teleco","alimentacion","regalos","traducciones","transportes","aguas","venta","videoclubs","zapaterias","culturales","alquileres","bazares","bares","cajas","vinos","motos","recambios","cocinas","lamparas","caninas","financieros","mudanzas","animales","moda","infantil","gimnasios","telefonia");
	
	  
	     // display the loading message
      
	  
	  // A function to create the marker and set up the event window
        function createMarker(point,name,html,category) {
        var marker = new GMarker(point,gicons[category]);
        // === Store the category and name info as a marker properties ===
        marker.mycategory = category;                                 
		category_ant = category;
        marker.myname = name;
        GEvent.addListener(marker, "click", function() {
	  	marker.openInfoWindowHtml(html, {maxWidth:450, maxHeight:400, autoScroll:true});
        });
        gmarkers.push(marker);
        return marker;
      }

      // == shows all markers of a particular category, and ensures the checkbox is checked ==
      function show(category) {
        for (var i=0; i<gmarkers.length; i++) {
          if (gmarkers[i].mycategory == category) {
            gmarkers[i].show();
          }
        }
        // == check the checkbox ==
        document.getElementById(category+"box").checked = true;
      }

      // == hides all markers of a particular category, and ensures the checkbox is cleared ==
      function hide(category) {
        for (var i=0; i<gmarkers.length; i++) {
		  if (gmarkers[i].mycategory == category) {
			//alert("escondo "+gmarkers[i].myname);
            gmarkers[i].hide();
          }
        }
        // == clear the checkbox ==
        document.getElementById(category+"box").checked = false;
        // == close the info window, in case its open on a marker that we just hid
        map.closeInfoWindow();
      }

      // == a checkbox has been clicked ==
      function boxclick(box,category) {
        if (box.checked) {	
          load(category);
        } else {	
          hide(category);
        }
        // == rebuild the side bar
        makeSidebar();
      }

      function myclick(i) {
        GEvent.trigger(gmarkers[i],"click");
      }


      // == rebuilds the sidebar to match the markers currently displayed ==
      function makeSidebar() {
		//alert("entro en sidebar");
        var html = "";
        for (var i=0; i<gmarkers.length; i++) {	
          if (!gmarkers[i].isHidden()) {
                        html += '<a href="javascript:myclick(' + i + ')">' + gmarkers[i].myname + '</a><br>';

          }
        }
        document.getElementById("side_bar").innerHTML = html;
      }

	//function ZoomIn() {
     //   map.setZoom(18);
    //}
	
	function ZoomIn(lat, lng) {
        map.setCenter(new GLatLng(lat, lng), 17);
		map.setMapType(G_HYBRID_MAP);
    }
	
    //function ZoomOut() {
    //  map.setZoom(4);
	//	map.setMapType(G_NORMAL_MAP);
    //}
   
    var varlat = 40.350338;
	var varlong = -3.530903;
	var zoom = 13;
	function ResetZoom(){
	map.setCenter(new GLatLng(varlat,varlong),zoom);
	map.setMapType(G_NORMAL_MAP);
	}
	
	
      // create the map
      function load(category) {
      if (GBrowserIsCompatible()) {
		//var om = new OverlayMessage(document.getElementById('Mymap'));      
      	//om.Set('<b>Cargando empresas...</b>');  
	  
	   
      // Read the data
	  if (prime == 1)
	  {
		map = new GMap2(document.getElementById("MYmap"));
      	map.addControl(new GLargeMapControl());
      	map.addControl(new GMapTypeControl());
	  	map.setCenter(new GLatLng(40.350338,-3.530903), 13);  
		var url_data =  "parseXML.php?category=clientes";
		document.getElementById("clientesbox").checked = true;
		prime = 0;
	  }
	  else
	  {
	    var url_data = "parseXML.php?category="+category;
		hide(category_ant);
		if (category_ant != category)
		{
			document.getElementById(category_ant+"box").checked = false;
		}
		else
		{
			document.getElementById(category_ant+"box").checked = true;
		}
	  }
	  
	  	GDownloadUrl(url_data, function(data) {
     	 //GDownloadUrl("map_data.xml.php", function(data) {
	    //var om = new OverlayMessage(document.getElementById('container'));      
      	//om.Set('<b>Cargando empresas...</b>');
		
		gmarkers=[];
		html="";
        var xmlDoc = GXml.parse(data);
        var markers = xmlDoc.documentElement.getElementsByTagName("marker");
          
        for (var i = 0; i < markers.length; i++) {
          // obtain the attribues of each marker
          lat=parseFloat(markers[i].getAttribute("lat"));
			lng=parseFloat(markers[i].getAttribute("lng"));
			point=new GLatLng(lat,lng);
			name=markers[i].getAttribute("name");
			category=markers[i].getAttribute("category");
			address=markers[i].getAttribute("address");
			telefono = markers[i].getAttribute("telefono");
			movil = markers[i].getAttribute("movil");
			web = markers[i].getAttribute("web");
			amigable = markers[i].getAttribute("amigable");
			amigable_full = "http://www.portalrivas.com/" + amigable;
			// Si es cliente mostramos más información que sino lo es
			var botones = '<div align="center"><a href="javascript:ZoomIn(' + lat + ',' + lng + ')"><img src="images/zoomin.gif" alt="Ampliar Zoom" title="Ampliar Zoom" border="0" height="24" width="26"></a><a href="javascript:ResetZoom()"><img src="images/zoomout.gif" alt="Quitar Zoom" title="Quitar Zoom" border="0" height="24" width="26"></a><a href="#" onclick="map.closeInfoWindow()"><img src="images/close.gif" alt="Cerrar" title="Cerrar" border="0" height="24" width="21"></a></div>'
			
			tipo = markers[i].getAttribute("type");
			  if (tipo == "Y")
			  {
				if (movil == "0")
				{
				//var html = "<b>"+name+"</b><p>"+address;
					var html = "<fieldset style='text-align:center; width:350px'><legend>Datos Clientes PortalRivas.com</legend><br><b>"+name+"</b><br>Direcci&oacute;n: "+address+"<br>Tel&eacute;fono: "+telefono+"<br><a href='"+amigable_full+"' target='_blank'>Ir a miniweb</a><br><br>"+botones+"</fieldset>";
				}
				else
				{
					var html = "<fieldset style='text-align:center; width:350px'><legend>Datos Clientes PortalRivas.com</legend><br><b>"+name+"</b><br>Direcci&oacute;n: "+address+"<br>Tel&eacute;fono: "+telefono+"<br>M&oacute;vil: "+movil+"<br><a href='"+amigable_full+"' target='_blank'>Ir a miniweb</a><br><br>"+botones+"</fieldset>";
				}
			  }
			  else
			  {
				var html = "<b>"+name+"</b><br>"+address+"<br>"+telefono;
			  }
		  
          var category = markers[i].getAttribute("category");
          // create the marker
          //var marker = createMarker(point,name,html,category);
		  //var marker = createMarker(point,by + ', ' + branchname,html,category);
		  var marker = createMarker(point,name,html,category)
          map.addOverlay(marker);
        }
        // == create the initial sidebar ==
        makeSidebar();
		
		//om.Clear(); // Clear the loading message
		//setTimeout( "om.Clear()", 100);  // Clear message a little after Map is displayed.
		
		
      });
    }
 }
// JavaScript Document