/**
 * **********************************************
 * File: meteocat.js
 * Description: Document.ready
 * Author: David P. Luna (dprados@oesia.com)
 * Date creation: 22 12 2009
 * Date modified: 26 01 2010
 * Author: jaragon@oesia.com
 * **********************************************
 */


$(document).ready(function(){
						   
						   	//$(".FW_capa_OcultarMapes").height("385px");

	
	
	
	try {
		$('#datepicker1').datepicker({
			changeMonth: true,
			changeYear: true,
			showOn: 'button',
			//buttonImage: '/_nouweb/css/imgs/icoCalendar.gif', /* MAD: CANVIAR SEGONS ENTORN*/
			buttonImage: '/servmet/css/imgs/icoCalendar.gif',  /*MAD: ENTORN PRO*/
			buttonImageOnly: true,
			showButtonPanel: true
			
		});
	}
	catch(e){}
	
	
	$(".uiOpenModalMunicipi").click(function(){
		var titol = $(this).attr('value');		
		//var imatge = 'grafiques/' + $(this).attr('href');
		var imatge = $(this).attr('href');
		
		$("#modalTitle").text(titol);
		$("#modalImg").attr('src', imatge);
		
		openModal();
		return false;
	});
	

	$(".uiOpenModal").click(openModal);
	$(".inputTanca").click(closeModal);
	$(".imgTancarFitxa").click(closeModal);
	
	$(window).resize(function(){$("#fade").fullscreen()});
	
	
	
	if($("#mycarousel").length)
		$("#mycarousel").jcarousel();

	
	if($("#uiGetForecoastToday").length){		
		$(document).data("today", $("#uiGetForecoastToday").parent()[0].cloneNode(false));
		$(document).data("tomorrow", $("#uiGetForecoastTomorrow").parent()[0].cloneNode(false));
		$("#uiGetForecoastToday, #uiGetForecoastTomorrow").click(getForeCoast);
		refreshForecoastTargets($("#uiGetForecoastToday")[0]);		
	}

	/*$(window).bind('load', function() {
			var preload = new Array();
			$(".img_mapaHome").each(function() {
				s = new Image; 
				s.src = $(this).attr("src");
				preload.push(s.src + '?radn=' + new Date().getTime());
			});
			var img = document.createElement('img');
			$(img).bind('load', function() {
				if(preload[0]) {
					this.src = preload.shift();
				}
			}).trigger('load');
	});*/
	
	/*$(".img_mapaHome").attr('src', function() {
	
		return this.src + '?radn=' + new Date().getTime();
					
	});	*/

	$(".img_mapaXema").attr('src', function() {
	
		return this.src + '?radn=' + new Date().getTime();
					
	});	
	


	// si estamos en producto mtermini entonces mostramos el combo de municipios
		if(jQuery.url != undefined){
			if(jQuery.url.segment(2).indexOf('mtermini') != -1){
				var root = "";
				// las url son relativas i cambian si estamos en mtermini_cat o mtermini_mun
		
				if (jQuery.url.segment(3).indexOf('cat') != -1)
					root = "../municipal/";
				
				// inicializacion del combo municipios
				$("#comboMunicipis").autocomplete(iniMunicipis(), {
					formatItem: function(item) {
							return item.text;
					}
				}).result(function(event, item) {
					location.href = item.url;
				});
				// si el parametro de la url 'ine' existe entonces abrimos ventana modal con municipio
				if(jQuery.url.segment(3).indexOf('municipal') != -1 && jQuery.url.param("ine") != 'undefined'){
					$('.uiOpenModalMunicipi').each(function(index) {
						var hrefContent = $(this).attr('href');
						if(hrefContent.indexOf(jQuery.url.param("ine")) != -1)
							$(this).trigger('click');
					});		
				}
			}	
		}
		
		    var data = new Date();
    var year = data.getFullYear();
    var yearBefore = year -1;
    var anys = yearBefore +":"+ year;
    try {
        $('#dia').datepicker({
            changeMonth: true,
            changeYear: true,
            showOn: 'button',
            buttonImage: '/servmet/css/imgs/icoCalendar.gif',
            buttonImageOnly: true,
            showButtonPanel: true,
            yearRange: anys
            
        });
    }
    catch(e){}
    
    try {
        $('#dataI').datepicker({
            changeMonth: true,
            changeYear: true,
            showOn: 'button',
            buttonImage: '/servmet/css/imgs/icoCalendar.gif',
            buttonImageOnly: true,
            showButtonPanel: true,
            yearRange: anys
        });
    }
    catch(e){}
    
    try {
        $('#dataF').datepicker({
            changeMonth: true,
            changeYear: true,
            showOn: 'button',
            buttonImage: '/servmet/css/imgs/icoCalendar.gif',
            buttonImageOnly: true,
            showButtonPanel: true,
            yearRange: anys
        });
    }
    catch(e){}
	
});



// fi ready

function iniMunicipis(){
	var root = "/servmet/prediccio/mtermini/municipal/";
	
	return  data = [{text:'El Pont de Suert', url: root + 'alta_ribagorca.html?ine=251734'},
						{text:'La Vall de Bo' + String.fromCharCode(237), url: root + 'alta_ribagorca.html?ine=250432'},
						{text:'Vilaller', url: root + 'alta_ribagorca.html?ine=252458'},
						{text:'Aiguam' + String.fromCharCode(250) + 'rcia', url: root + 'alt_camp.html?ine=430017'},
						{text:'Alcover', url: root + 'alt_camp.html?ine=430056'},
						{text:'Ali' + String.fromCharCode(243), url: root + 'alt_camp.html?ine=430108'},
						{text:'Br' + String.fromCharCode(224) + 'fim', url: root + 'alt_camp.html?ine=430347'},
						{text:'Cabra del Camp', url: root + 'alt_camp.html?ine=430363'},
						{text:'El Mil' + String.fromCharCode(224), url: root + 'alt_camp.html?ine=430831'},
						{text:'El Pla de Santa Maria', url: root + 'alt_camp.html?ine=431080'},
						{text:'El Pont d' + String.fromCharCode(39) + 'Armentera', url: root + 'alt_camp.html?ine=431135'},
						{text:'El Rourell', url: root + 'alt_camp.html?ine=431346'},
						{text:'Els Garidells', url: root + 'alt_camp.html?ine=430666'},
						{text:'Figuerola del Camp', url: root + 'alt_camp.html?ine=430593'},
						{text:'La Mas' + String.fromCharCode(243), url: root + 'alt_camp.html?ine=430803'},
						{text:'La Riba', url: root + 'alt_camp.html?ine=431248'},
						{text:'Montferri', url: root + 'alt_camp.html?ine=430897'},
						{text:'Mont-ral', url: root + 'alt_camp.html?ine=430918'},
						{text:'Nulles', url: root + 'alt_camp.html?ine=430982'},
						{text:'Puigpelat', url: root + 'alt_camp.html?ine=431191'},
						{text:'Querol', url: root + 'alt_camp.html?ine=431205'},
						{text:'Rodony' + String.fromCharCode(224), url: root + 'alt_camp.html?ine=431325'},
						{text:'Vallmoll', url: root + 'alt_camp.html?ine=431606'},
						{text:'Valls', url: root + 'alt_camp.html?ine=431613'},
						{text:'Vilabella', url: root + 'alt_camp.html?ine=431652'},
						{text:'Vila-rodona', url: root + 'alt_camp.html?ine=431704'},
						{text:'Agullana', url: root + 'alt_emporda.html?ine=170010'},
						{text:'Albany' + String.fromCharCode(224), url: root + 'alt_emporda.html?ine=170031'},
						{text:'Avinyonet de Puigvent' + String.fromCharCode(243) + 's', url: root + 'alt_emporda.html?ine=170123'},
						{text:'B' + String.fromCharCode(224) + 'scara', url: root + 'alt_emporda.html?ine=170160'},
						{text:'Biure', url: root + 'alt_emporda.html?ine=172348'},
						{text:'Boadella i les Escaules', url: root + 'alt_emporda.html?ine=170293'},
						{text:'Borrass' + String.fromCharCode(224), url: root + 'alt_emporda.html?ine=170268'},
						{text:'Cabanelles', url: root + 'alt_emporda.html?ine=170314'},
						{text:'Cabanes', url: root + 'alt_emporda.html?ine=170307'},
						{text:'Cadaqu' + String.fromCharCode(233) + 's', url: root + 'alt_emporda.html?ine=170329'},
						{text:'Cantallops', url: root + 'alt_emporda.html?ine=170412'},
						{text:'Capmany', url: root + 'alt_emporda.html?ine=170427'},
						{text:'Castell' + String.fromCharCode(243) + ' d' + String.fromCharCode(39) + 'Emp' + String.fromCharCode(250) + 'ries', url: root + 'alt_emporda.html?ine=170470'},
						{text:'Cistella', url: root + 'alt_emporda.html?ine=170519'},
						{text:'Colera', url: root + 'alt_emporda.html?ine=170545'},
						{text:'Darnius', url: root + 'alt_emporda.html?ine=170600'},
						{text:'El Far d' + String.fromCharCode(39) + 'Empord' + String.fromCharCode(224), url: root + 'alt_emporda.html?ine=170059'},
						{text:'El Port de la Selva', url: root + 'alt_emporda.html?ine=171404'},
						{text:'Espolla', url: root + 'alt_emporda.html?ine=170643'},
						{text:'Figueres', url: root + 'alt_emporda.html?ine=170669'},
						{text:'Forti' + String.fromCharCode(224), url: root + 'alt_emporda.html?ine=170741'},
						{text:'Garrig' + String.fromCharCode(224) + 's', url: root + 'alt_emporda.html?ine=170754'},
						{text:'Garriguella', url: root + 'alt_emporda.html?ine=170773'},
						{text:'La Jonquera', url: root + 'alt_emporda.html?ine=170865'},
						{text:'L' + String.fromCharCode(39) + 'Armentera', url: root + 'alt_emporda.html?ine=170118'},
						{text:'La Selva de Mar', url: root + 'alt_emporda.html?ine=171886'},
						{text:'La Vajol', url: root + 'alt_emporda.html?ine=170144'},
						{text:'L' + String.fromCharCode(39) + 'Escala', url: root + 'alt_emporda.html?ine=170622'},
						{text:'Llad' + String.fromCharCode(243), url: root + 'alt_emporda.html?ine=170887'},
						{text:'Llan' + String.fromCharCode(231) + String.fromCharCode(224), url: root + 'alt_emporda.html?ine=170926'},
						{text:'Llers', url: root + 'alt_emporda.html?ine=170932'},
						{text:'Ma' + String.fromCharCode(231) + 'anet de Cabrenys', url: root + 'alt_emporda.html?ine=171024'},
						{text:'Masarac', url: root + 'alt_emporda.html?ine=171002'},
						{text:'Mollet de Peralada', url: root + 'alt_emporda.html?ine=171061'},
						{text:'Navata', url: root + 'alt_emporda.html?ine=171117'},
						{text:'Ordis', url: root + 'alt_emporda.html?ine=171156'},
						{text:'Palau de Santa Eul' + String.fromCharCode(224) + 'lia', url: root + 'alt_emporda.html?ine=171194'},
						{text:'Palau-saverdera', url: root + '171208'},
						{text:'Pau', url: root + 'alt_emporda.html?ine=171289'},
						{text:'Pedret i Marz' + String.fromCharCode(224), url: root + 'alt_emporda.html?ine=171292'},
						{text:'Peralada', url: root + 'alt_emporda.html?ine=171328'},
						{text:'Pont de Molins', url: root + 'alt_emporda.html?ine=171352'},
						{text:'Pont' + String.fromCharCode(243) + 's', url: root + 'alt_emporda.html?ine=171365'},
						{text:'Portbou', url: root + 'alt_emporda.html?ine=171387'},
						{text:'Rab' + String.fromCharCode(243) + 's', url: root + 'alt_emporda.html?ine=171432'},
						{text:'Riumors', url: root + 'alt_emporda.html?ine=171518'},
						{text:'Roses', url: root + 'alt_emporda.html?ine=171523'},
						{text:'Santa Llogaia d' + String.fromCharCode(39) + String.fromCharCode(192) + 'lguema', url: root + 'alt_emporda.html?ine=171827'},
						{text:'Sant Climent Sescebes', url: root + 'alt_emporda.html?ine=171582'},
						{text:'Sant Lloren' + String.fromCharCode(231) + ' de la Muga', url: root + 'alt_emporda.html?ine=171714'},
						{text:'Sant Miquel de Fluvi' + String.fromCharCode(224), url: root + 'alt_emporda.html?ine=171753'},
						{text:'Sant Mori', url: root + 'alt_emporda.html?ine=171766'},
						{text:'Sant Pere Pescador', url: root + 'alt_emporda.html?ine=171788'},
						{text:'Saus', url: root + 'alt_emporda.html?ine=171870'},
						{text:'Siurana', url: root + 'alt_emporda.html?ine=170524'},
						{text:'Terrades', url: root + 'alt_emporda.html?ine=171962'},
						{text:'Torroella de Fluvi' + String.fromCharCode(224), url: root + 'alt_emporda.html?ine=171984'},
						{text:'Ventall' + String.fromCharCode(243), url: root + 'alt_emporda.html?ine=172109'},
						{text:'Vilabertran', url: root + 'alt_emporda.html?ine=172142'},
						{text:'Viladamat', url: root + 'alt_emporda.html?ine=172174'},
						{text:'Vilafant', url: root + 'alt_emporda.html?ine=172214'},
						{text:'Vilaju' + String.fromCharCode(239) + 'ga', url: root + 'alt_emporda.html?ine=172235'},
						{text:'Vilamacolum', url: root + 'alt_emporda.html?ine=172253'},
						{text:'Vilamalla', url: root + 'alt_emporda.html?ine=172266'},
						{text:'Vilamaniscle', url: root + 'alt_emporda.html?ine=172272'},
						{text:'Vilanant', url: root + 'alt_emporda.html?ine=172288'},
						{text:'Vila-sacra', url: root + 'alt_emporda.html?ine=172305'},
						{text:'Vila' + String.fromCharCode(252) + 'r', url: root + 'alt_emporda.html?ine=172229'},
						{text:'Avinyonet del Pened' + String.fromCharCode(232) + 's', url: root + 'alt_penedes.html?ine=080137'},
						{text:'Castellet i la Gornal', url: root + 'alt_penedes.html?ine=080581'},
						{text:'Castellv' + String.fromCharCode(237) + ' de la Marca', url: root + 'alt_penedes.html?ine=080654'},
						{text:'El Pla del Pened' + String.fromCharCode(232) + 's', url: root + 'alt_penedes.html?ine=081640'},
						{text:'Font-rub' + String.fromCharCode(237), url: root + 'alt_penedes.html?ine=080850'},
						{text:'Gelida', url: root + 'alt_penedes.html?ine=080919'},
						{text:'La Granada', url: root + 'alt_penedes.html?ine=080945'},
						{text:'Les Cabanyes', url: root + 'alt_penedes.html?ine=080272'},
						{text:'Mediona', url: root + 'alt_penedes.html?ine=081228'},
						{text:'Ol' + String.fromCharCode(232) + 'rdola', url: root + 'alt_penedes.html?ine=081458'},
						{text:'Olesa de Bonesvalls', url: root + 'alt_penedes.html?ine=081461'},
						{text:'Pacs del Pened' + String.fromCharCode(232) + 's', url: root + 'alt_penedes.html?ine=081542'},
						{text:'Pontons', url: root + 'alt_penedes.html?ine=081688'},
						{text:'Puigd' + String.fromCharCode(224) + 'lber', url: root + 'alt_penedes.html?ine=081748'},
						{text:'Santa Fe del Pened' + String.fromCharCode(232) + 's', url: root + 'alt_penedes.html?ine=082495'},
						{text:'Santa Margarida i els Monjos', url: root + 'alt_penedes.html?ine=082515'},
						{text:'Sant Cugat Sesgarrigues', url: root + 'alt_penedes.html?ine=082068'},
						{text:'Sant Lloren' + String.fromCharCode(231) + ' d' + String.fromCharCode(39) + 'Hortons', url: root + 'alt_penedes.html?ine=082227'},
						{text:'Sant Mart' + String.fromCharCode(237) + ' Sarroca', url: root + 'alt_penedes.html?ine=082270'},
						{text:'Sant Pere de Riudebitlles', url: root + 'alt_penedes.html?ine=082325'},
						{text:'Sant Quint' + String.fromCharCode(237) + ' de Mediona', url: root + 'alt_penedes.html?ine=082362'},
						{text:'Sant Sadurn' + String.fromCharCode(237) + ' d' + String.fromCharCode(39) + 'Anoia', url: root + 'alt_penedes.html?ine=082401'},
						{text:'Subirats', url: root + 'alt_penedes.html?ine=082732'},
						{text:'Torrelavit', url: root + 'alt_penedes.html?ine=082877'},
						{text:'Torrelles de Foix', url: root + 'alt_penedes.html?ine=082883'},
						{text:'Vilafranca del Pened' + String.fromCharCode(232) + 's', url: root + 'alt_penedes.html?ine=083054'},
						{text:'Vilob' + String.fromCharCode(237) + ' del Pened' + String.fromCharCode(232) + 's', url: root + 'alt_penedes.html?ine=083041'},
						{text:'Al' + String.fromCharCode(224) + 's i Cerc', url: root + 'alt_urgell.html?ine=250058'},
						{text:'Ars' + String.fromCharCode(232) + 'guel', url: root + 'alt_urgell.html?ine=250328'},
						{text:'Bassella', url: root + 'alt_urgell.html?ine=250447'},
						{text:'Cab' + String.fromCharCode(243), url: root + 'alt_urgell.html?ine=250616'},
						{text:'Cava', url: root + 'alt_urgell.html?ine=250714'},
						{text:'Coll de Narg' + String.fromCharCode(243), url: root + 'alt_urgell.html?ine=250772'},
						{text:'El Pont de Bar', url: root + 'alt_urgell.html?ine=250306'},
						{text:'Estamariu', url: root + 'alt_urgell.html?ine=250886'},
						{text:'F' + String.fromCharCode(237) + 'gols i Aliny' + String.fromCharCode(224), url: root + 'alt_urgell.html?ine=259084'},
						{text:'Josa i Tuix' + String.fromCharCode(233) + 'n', url: root + 'alt_urgell.html?ine=259101'},
						{text:'La Seu d' + String.fromCharCode(39) + 'Urgell', url: root + 'alt_urgell.html?ine=252038'},
						{text:'La Vansa i F' + String.fromCharCode(243) + 'rnols', url: root + 'alt_urgell.html?ine=259097'},
						{text:'Les Valls d' + String.fromCharCode(39) + 'Aguilar', url: root + 'alt_urgell.html?ine=259062'},
						{text:'Les Valls de Valira', url: root + 'alt_urgell.html?ine=252398'},
						{text:'Montferrer i Castellb' + String.fromCharCode(242), url: root + 'alt_urgell.html?ine=251403'},
						{text:'Oliana', url: root + 'alt_urgell.html?ine=251497'},
						{text:'Organy' + String.fromCharCode(224), url: root + 'alt_urgell.html?ine=251556'},
						{text:'Peramola', url: root + 'alt_urgell.html?ine=251654'},
						{text:'Ribera d' + String.fromCharCode(39) + 'Urgellet', url: root + 'alt_urgell.html?ine=251850'},
						{text:'Argen' + String.fromCharCode(231) + 'ola', url: root + 'anoia.html?ine=080082'},
						{text:'Bellprat', url: root + 'anoia.html?ine=080214'},
						{text:'Cabrera d' + String.fromCharCode(39) + 'Igualada', url: root + 'anoia.html?ine=080288'},
						{text:'Calaf', url: root + 'anoia.html?ine=080312'},
						{text:'Calonge de Segarra', url: root + 'anoia.html?ine=080364'},
						{text:'Capellades', url: root + 'anoia.html?ine=080446'},
						{text:'Carme', url: root + 'anoia.html?ine=080484'},
						{text:'Castellfollit de Riubreg' + String.fromCharCode(243) + 's', url: root + 'anoia.html?ine=080608'},
						{text:'Castellol' + String.fromCharCode(237), url: root + 'anoia.html?ine=080636'},
						{text:'Copons', url: root + 'anoia.html?ine=080713'},
						{text:'El Bruc', url: root + 'anoia.html?ine=080253'},
						{text:'Els Hostalets de Pierola', url: root + 'anoia.html?ine=081629'},
						{text:'Els Prats de Rei', url: root + 'anoia.html?ine=081705'},
						{text:'Igualada', url: root + 'anoia.html?ine=081022'},
						{text:'Jorba', url: root + 'anoia.html?ine=081038'},
						{text:'La Llacuna', url: root + 'anoia.html?ine=081043'},
						{text:'La Pobla de Claramunt', url: root + 'anoia.html?ine=081653'},
						{text:'La Torre de Claramunt', url: root + 'anoia.html?ine=082861'},
						{text:'Masquefa', url: root + 'anoia.html?ine=081192'},
						{text:'Montmaneu', url: root + 'anoia.html?ine=081332'},
						{text: String.fromCharCode(210) + 'dena', url: root + 'anoia.html?ine=081430'},
						{text:'Orp' + String.fromCharCode(237), url: root + 'anoia.html?ine=081521'},
						{text:'Piera', url: root + 'anoia.html?ine=081614'},
						{text:'Pujalt', url: root + 'anoia.html?ine=081764'},
						{text:'Rubi' + String.fromCharCode(243), url: root + 'anoia.html?ine=081859'},
						{text:'Santa Margarida de Montbui', url: root + 'anoia.html?ine=082508'},
						{text:'Santa Maria de Miralles', url: root + 'anoia.html?ine=082573'},
						{text:'Sant Mart' + String.fromCharCode(237) + ' de Tous', url: root + 'anoia.html?ine=082264'},
						{text:'Sant Mart' + String.fromCharCode(237) + ' Sesgueioles', url: root + 'anoia.html?ine=082286'},
						{text:'Sant Pere Sallavinera', url: root + 'anoia.html?ine=081897'},
						{text:'Vallbona d' + String.fromCharCode(39) + 'Anoia', url: root + 'anoia.html?ine=082922'},
						{text:'Veciana', url: root + 'anoia.html?ine=082975'},
						{text:'Vilanova del Cam' + String.fromCharCode(237), url: root + 'anoia.html?ine=083020'},
						{text:'Aguilar de Segarra', url: root + 'bages.html?ine=080023'},
						{text:'Art' + String.fromCharCode(233) + 's', url: root + 'bages.html?ine=080109'},
						{text:'Aviny' + String.fromCharCode(243), url: root + 'bages.html?ine=080121'},
						{text:'Balsareny', url: root + 'bages.html?ine=080180'},
						{text:'Calders', url: root + 'bages.html?ine=080348'},
						{text:'Call' + String.fromCharCode(250) + 's', url: root + 'bages.html?ine=080386'},
						{text:'Cardona', url: root + 'bages.html?ine=080478'},
						{text:'Castellbell i el Vilar', url: root + 'bages.html?ine=080538'},
						{text:'Castellfollit del Boix', url: root + 'bages.html?ine=080594'},
						{text:'Castellgal' + String.fromCharCode(237), url: root + 'bages.html?ine=080615'},
						{text:'Castellnou de Bages', url: root + 'bages.html?ine=080620'},
						{text:'El Pont de Vilomara i Rocafort', url: root + 'bages.html?ine=081825'},
						{text:'Fonollosa', url: root + 'bages.html?ine=080847'},
						{text:'Gai' + String.fromCharCode(224), url: root + 'bages.html?ine=080902'},
						{text:'L' + String.fromCharCode(39) + 'Estany', url: root + 'bages.html?ine=080790'},
						{text:'Manresa', url: root + 'bages.html?ine=081136'},
						{text:'Marganell', url: root + 'bages.html?ine=082423'},
						{text:'Moi' + String.fromCharCode(224), url: root + 'bages.html?ine=081385'},
						{text:'Monistrol de Calders', url: root + 'bages.html?ine=081287'},
						{text:'Monistrol de Montserrat', url: root + 'bages.html?ine=081271'},
						{text:'Mura', url: root + 'bages.html?ine=081398'},
						{text:'Navarcles', url: root + 'bages.html?ine=081402'},
						{text:'Nav' + String.fromCharCode(224) + 's', url: root + 'bages.html?ine=081419'},
						{text:'Rajadell', url: root + 'bages.html?ine=081786'},
						{text:'Sallent', url: root + 'bages.html?ine=081918'},
						{text:'Santa Maria d' + String.fromCharCode(39) + 'Ol' + String.fromCharCode(243), url: root + 'bages.html?ine=082589'},
						{text:'Sant Feliu Sasserra', url: root + 'bages.html?ine=082129'},
						{text:'Sant Fruit' + String.fromCharCode(243) + 's de Bages', url: root + 'bages.html?ine=082135'},
						{text:'Sant Joan de Vilatorrada', url: root + 'bages.html?ine=082188'},
						{text:'Sant Mateu de Bages', url: root + 'bages.html?ine=082299'},
						{text:'Santpedor', url: root + 'bages.html?ine=081923'},
						{text:'Sant Salvador de Guardiola', url: root + 'bages.html?ine=080983'},
						{text:'Sant Vicen' + String.fromCharCode(231) + ' de Castellet', url: root + 'bages.html?ine=082628'},
						{text:'S' + String.fromCharCode(250) + 'ria', url: root + 'bages.html?ine=082747'},
						{text:'Talamanca', url: root + 'bages.html?ine=082779'},
						{text:'Alforja', url: root + 'baix_camp.html?ine=430094'},
						{text:'Almoster', url: root + 'baix_camp.html?ine=430115'},
						{text:'Arbol' + String.fromCharCode(237), url: root + 'baix_camp.html?ine=430154'},
						{text:'Botarell', url: root + 'baix_camp.html?ine=430332'},
						{text:'Cambrils', url: root + 'baix_camp.html?ine=430385'},
						{text:'Capafonts', url: root + 'baix_camp.html?ine=430398'},
						{text:'Castellvell del Camp', url: root + 'baix_camp.html?ine=430424'},
						{text:'Colldejou', url: root + 'baix_camp.html?ine=430458'},
						{text:'Duesaig' + String.fromCharCode(252) + 'es', url: root + 'baix_camp.html?ine=430537'},
						{text:'La Febr' + String.fromCharCode(243), url: root + 'baix_camp.html?ine=430574'},
						{text:'L' + String.fromCharCode(39) + 'Albiol', url: root + 'baix_camp.html?ine=430038'},
						{text:'L' + String.fromCharCode(39) + 'Aleixar', url: root + 'baix_camp.html?ine=430075'},
						{text:'L' + String.fromCharCode(39) + 'Argentera', url: root + 'baix_camp.html?ine=430173'},
						{text:'La Selva del Camp', url: root + 'baix_camp.html?ine=431457'},
						{text:'Les Borges del Camp', url: root + 'baix_camp.html?ine=430311'},
						{text:'Maspujols', url: root + 'baix_camp.html?ine=430810'},
						{text:'Montbri' + String.fromCharCode(243) +  'del Camp', url: root + 'baix_camp.html?ine=430884'},
						{text:'Mont-roig del Camp', url: root + 'baix_camp.html?ine=430923'},
						{text:'Prades', url: root + 'baix_camp.html?ine=431166'},
						{text:'Pratdip', url: root + 'baix_camp.html?ine=431188'},
						{text:'Reus', url: root + 'baix_camp.html?ine=431233'},
						{text:'Riudecanyes', url: root + 'baix_camp.html?ine=431270'},
						{text:'Riudecols', url: root + 'baix_camp.html?ine=431286'},
						{text:'Riudoms', url: root + 'baix_camp.html?ine=431299'},
						{text:'Vandell' + String.fromCharCode(242) + 's i l' + String.fromCharCode(39) + 'Hospitalet de l' + String.fromCharCode(39) + 'Infant', url: root + 'baix_camp.html?ine=431628'},
						{text:'Vilanova d' + String.fromCharCode(39) + 'Escornalbou', url: root + 'baix_camp.html?ine=431671'},
						{text:'Vilaplana', url: root + 'baix_camp.html?ine=431690'},
						{text:'Vinyols i els Arcs', url: root + 'baix_camp.html?ine=431785'},
						{text:'Aldover', url: root + 'baix_ebre.html?ine=430069'},
						{text:'Alfara de Carles', url: root + 'baix_ebre.html?ine=430081'},
						{text:'Benifallet', url: root + 'baix_ebre.html?ine=430252'},
						{text:'Camarles', url: root + 'baix_ebre.html?ine=439039'},
						{text:'Deltebre', url: root + 'baix_ebre.html?ine=439018'},
						{text:'El Perell' + String.fromCharCode(243), url: root + 'baix_ebre.html?ine=431042'},
						{text:'L' + String.fromCharCode(39) + 'Aldea', url: root + 'baix_ebre.html?ine=439044'},
						{text:'L' + String.fromCharCode(39) + 'Ametlla de Mar', url: root + 'baix_ebre.html?ine=430136'},
						{text:'L' + String.fromCharCode(39) + 'Ampolla', url: root + 'baix_ebre.html?ine=439060'},
						{text:'Pa' + String.fromCharCode(252) + 'ls', url: root + 'baix_ebre.html?ine=431021'},
						{text:'Roquetes', url: root + 'baix_ebre.html?ine=431331'},
						{text:'Tivenys', url: root + 'baix_ebre.html?ine=431495'},
						{text:'Tortosa', url: root + 'baix_ebre.html?ine=431554'},
						{text:'Xerta', url: root + 'baix_ebre.html?ine=430521'},
						{text:'Albons', url: root + 'baix_emporda.html?ine=170046'},
						{text:'Begur', url: root + 'baix_emporda.html?ine=170139'},
						{text:'Bellcaire d' + String.fromCharCode(39) + 'Empord' + String.fromCharCode(224), url: root + 'baix_emporda.html?ine=170182'},
						{text:'Calonge', url: root + 'baix_emporda.html?ine=170340'},
						{text:'Castell-Platja d' + String.fromCharCode(39) + 'Aro', url: root + 'baix_emporda.html?ine=170486'},
						{text:'Colomers', url: root + 'baix_emporda.html?ine=170558'},
						{text:'Cor' + String.fromCharCode(231) + String.fromCharCode(224), url: root + 'baix_emporda.html?ine=170577'},
						{text:'Cru' + String.fromCharCode(239) + 'lles Monells i Sant Sadurn' + String.fromCharCode(237) + ' de l' + String.fromCharCode(39) + 'Heura', url: root + 'baix_emporda.html?ine=179011'},
						{text:'Foix' + String.fromCharCode(224), url: root + 'baix_emporda.html?ine=170681'},
						{text:'Fontanilles', url: root + 'baix_emporda.html?ine=170708'},
						{text:'Forallac', url: root + 'baix_emporda.html?ine=179026'},
						{text:'Garrigoles', url: root + 'baix_emporda.html?ine=170767'},
						{text:'Gualta', url: root + 'baix_emporda.html?ine=170813'},
						{text:'Jafre', url: root + 'baix_emporda.html?ine=170852'},
						{text:'La Bisbal d' + String.fromCharCode(39) + 'Empord' + String.fromCharCode(224), url: root + 'baix_emporda.html?ine=170221'},
						{text:'La Pera', url: root + 'baix_emporda.html?ine=171306'},
						{text:'La Tallada d' + String.fromCharCode(39) + 'Empord' + String.fromCharCode(224), url: root + 'baix_emporda.html?ine=171959'},
						{text:'Mont-ras', url: root + 'baix_emporda.html?ine=171100'},
						{text:'Palafrugell', url: root + 'baix_emporda.html?ine=171175'},
						{text:'Palam' + String.fromCharCode(243) + 's', url: root + 'baix_emporda.html?ine=171181'},
						{text:'Palau-sator', url: root + 'baix_emporda.html?ine=171215'},
						{text:'Pals', url: root + 'baix_emporda.html?ine=171241'},
						{text:'Parlav' + String.fromCharCode(224), url: root + 'baix_emporda.html?ine=171267'},
						{text:'Regenc' + String.fromCharCode(243) + 's', url: root + 'baix_emporda.html?ine=171447'},
						{text:'Rupi' + String.fromCharCode(224), url: root + 'baix_emporda.html?ine=171539'},
						{text:'Santa Cristina d' + String.fromCharCode(39) + 'Aro', url: root + 'baix_emporda.html?ine=171812'},
						{text:'Sant Feliu de Gu' + String.fromCharCode(237) + 'xols', url: root + 'baix_emporda.html?ine=171609'},
						{text:'Serra de Dar' + String.fromCharCode(243), url: root + 'baix_emporda.html?ine=171910'},
						{text:'Torrent', url: root + 'baix_emporda.html?ine=171978'},
						{text:'Torroella de Montgr' + String.fromCharCode(237), url: root + 'baix_emporda.html?ine=171997'},
						{text:'Ull' + String.fromCharCode(224), url: root + 'baix_emporda.html?ine=172044'},
						{text:'Ullastret', url: root + 'baix_emporda.html?ine=172057'},
						{text:'Ultramort', url: root + 'baix_emporda.html?ine=172039'},
						{text:'Vall-llobrega', url: root + 'baix_emporda.html?ine=172095'},
						{text:'Verges', url: root + 'baix_emporda.html?ine=172116'},
						{text:'Vilopriu', url: root + 'baix_emporda.html?ine=172327'},
						{text:'Abrera', url: root + 'baix_llobregat.html?ine=080018'},
						{text:'Begues', url: root + 'baix_llobregat.html?ine=080207'},
						{text:'Castelldefels', url: root + 'baix_llobregat.html?ine=080569'},
						{text:'Castellv' + String.fromCharCode(237) + ' de Rosanes', url: root + 'baix_llobregat.html?ine=080667'},
						{text:'Cervell' + String.fromCharCode(243), url: root + 'baix_llobregat.html?ine=080689'},
						{text:'Collbat' + String.fromCharCode(243), url: root + 'baix_llobregat.html?ine=080692'},
						{text:'Corbera de Llobregat', url: root + 'baix_llobregat.html?ine=080728'},
						{text:'Cornell' + String.fromCharCode(224) + ' de Llobregat', url: root + 'baix_llobregat.html?ine=080734'},
						{text:'El Papiol', url: root + 'baix_llobregat.html?ine=081580'},
						{text:'El Prat de Llobregat', url: root + 'baix_llobregat.html?ine=081691'},
						{text:'Esparreguera', url: root + 'baix_llobregat.html?ine=080765'},
						{text:'Esplugues de Llobregat', url: root + 'baix_llobregat.html?ine=080771'},
						{text:'Gav' + String.fromCharCode(224), url: root + 'baix_llobregat.html?ine=080898'},
						{text:'La Palma de Cervell' + String.fromCharCode(243), url: root + 'baix_llobregat.html?ine=089058'},
						{text:'Martorell', url: root + 'baix_llobregat.html?ine=081141'},
						{text:'Molins de Rei', url: root + 'baix_llobregat.html?ine=081234'},
						{text:'Olesa de Montserrat', url: root + 'baix_llobregat.html?ine=081477'},
						{text:'Pallej' + String.fromCharCode(224), url: root + 'baix_llobregat.html?ine=081574'},
						{text:'Santa Coloma de Cervell' + String.fromCharCode(243), url: root + 'baix_llobregat.html?ine=082444'},
						{text:'Sant Andreu de la Barca', url: root + 'baix_llobregat.html?ine=081960'},
						{text:'Sant Boi de Llobregat', url: root + 'baix_llobregat.html?ine=082009'},
						{text:'Sant Climent de Llobregat', url: root + 'baix_llobregat.html?ine=082042'},
						{text:'Sant Esteve Sesrovires', url: root + 'baix_llobregat.html?ine=082080'},
						{text:'Sant Feliu de Llobregat', url: root + 'baix_llobregat.html?ine=082114'},
						{text:'Sant Joan Desp' + String.fromCharCode(237), url: root + 'baix_llobregat.html?ine=082172'},
						{text:'Sant Just Desvern', url: root + 'baix_llobregat.html?ine=082212'},
						{text:'Sant Vicen' + String.fromCharCode(231) + ' dels Horts', url: root + 'baix_llobregat.html?ine=082634'},
						{text:'Torrelles de Llobregat', url: root + 'baix_llobregat.html?ine=082896'},
						{text:'Vallirana', url: root + 'baix_llobregat.html?ine=082956'},
						{text:'Viladecans', url: root + 'baix_llobregat.html?ine=083015'},
						{text:'Albinyana', url: root + 'baix_penedes.html?ine=430022'},
						{text:'Banyeres del Pened' + String.fromCharCode(232) + 's', url: root + 'baix_penedes.html?ine=430206'},
						{text:'Bellvei', url: root + 'baix_penedes.html?ine=430249'},
						{text:'Bonastre', url: root + 'baix_penedes.html?ine=430304'},
						{text:'Calafell', url: root + 'baix_penedes.html?ine=430379'},
						{text:'Cunit', url: root + 'baix_penedes.html?ine=430516'},
						{text:'El Montmell', url: root + 'baix_penedes.html?ine=430901'},
						{text:'El Vendrell', url: root + 'baix_penedes.html?ine=431634'},
						{text:'La Bisbal del Pened' + String.fromCharCode(232) + 's', url: root + 'baix_penedes.html?ine=430287'},
						{text:'L' + String.fromCharCode(39) + 'Arbo' + String.fromCharCode(231), url: root + 'baix_penedes.html?ine=430167'},
						{text:'Lloren' + String.fromCharCode(231) + ' del Pened' + String.fromCharCode(232) + 's', url: root + 'baix_penedes.html?ine=430748'},
						{text:'Maslloren' + String.fromCharCode(231), url: root + 'baix_penedes.html?ine=430799'},
						{text:'Santa Oliva', url: root + 'baix_penedes.html?ine=431401'},
						{text:'Sant Jaume dels Domenys', url: root + 'baix_penedes.html?ine=431378'},
						{text:'Badalona', url: root + 'barcelones.html?ine=080155'},
						{text:'Barcelona', url: root + 'barcelones.html?ine=080193'},
						{text:'L' + String.fromCharCode(39) + 'Hospitalet de Llobregat', url: root + 'barcelones.html?ine=081017'},
						{text:'Santa Coloma de Gramenet', url: root + 'barcelones.html?ine=082457'},
						{text:'Sant Adri' + String.fromCharCode(224) + ' de Bes' + String.fromCharCode(242) + 's', url: root + 'barcelones.html?ine=081944'},
						{text:'Avi' + String.fromCharCode(224), url: root + 'bergueda.html?ine=080116'},
						{text:'Bag' + String.fromCharCode(224), url: root + 'bergueda.html?ine=080168'},
						{text:'Berga', url: root + 'bergueda.html?ine=080229'},
						{text:'Borred' + String.fromCharCode(224), url: root + 'bergueda.html?ine=080240'},
						{text:'Capolat', url: root + 'bergueda.html?ine=080459'},
						{text:'Casserres', url: root + 'bergueda.html?ine=080497'},
						{text:'Castellar del Riu', url: root + 'bergueda.html?ine=080500'},
						{text:'Castellar de n' + String.fromCharCode(39) + 'Hug', url: root + 'bergueda.html?ine=080522'},
						{text:'Castell de l' + String.fromCharCode(39) + 'Areny', url: root + 'bergueda.html?ine=080575'},
						{text:'Cercs', url: root + 'bergueda.html?ine=082687'},
						{text:'F' + String.fromCharCode(237) + 'gols', url: root + 'bergueda.html?ine=080804'},
						{text:'Gironella', url: root + 'bergueda.html?ine=080924'},
						{text:'Gisclareny', url: root + 'bergueda.html?ine=080930'},
						{text:'G' + String.fromCharCode(243) + 'sol', url: root + 'bergueda.html?ine=251001'},
						{text:'Guardiola de Bergued' + String.fromCharCode(224), url: root + 'bergueda.html?ine=080996'},
						{text:'La Nou de Bergued' + String.fromCharCode(224), url: root + 'bergueda.html?ine=081424'},
						{text:'La Pobla de Lillet', url: root + 'bergueda.html?ine=081666'},
						{text:'La Quar', url: root + 'bergueda.html?ine=081770'},
						{text:'L' + String.fromCharCode(39) + 'Espunyola', url: root + 'bergueda.html?ine=080787'},
						{text:'Montclar', url: root + 'bergueda.html?ine=081304'},
						{text:'Montmajor', url: root + 'bergueda.html?ine=081326'},
						{text:'Olvan', url: root + 'bergueda.html?ine=081445'},
						{text:'Puig-reig', url: root + 'bergueda.html?ine=081751'},
						{text:'Sag' + String.fromCharCode(224) + 's', url: root + 'bergueda.html?ine=081884'},
						{text:'Saldes', url: root + 'bergueda.html?ine=081901'},
						{text:'Santa Maria de Merl' + String.fromCharCode(232) + 's', url: root + 'bergueda.html?ine=082554'},
						{text:'Sant Jaume de Frontany' + String.fromCharCode(224), url: root + 'bergueda.html?ine=082166'},
						{text:'Sant Juli' + String.fromCharCode(224) + ' de Cerdanyola', url: root + 'bergueda.html?ine=089030'},
						{text:'Vallcebre', url: root + 'bergueda.html?ine=082938'},
						{text:'Vilada', url: root + 'bergueda.html?ine=082994'},
						{text:'Viver i Serrateix', url: root + 'bergueda.html?ine=083089'},
						{text:'Alp', url: root + 'cerdanya.html?ine=170062'},
						{text:'Bellver de Cerdanya', url: root + 'cerdanya.html?ine=250518'},
						{text:'Bolvir', url: root + 'cerdanya.html?ine=170242'},
						{text:'Das', url: root + 'cerdanya.html?ine=170617'},
						{text:'Fontanals de Cerdanya', url: root + 'cerdanya.html?ine=170694'},
						{text:'Ger', url: root + 'cerdanya.html?ine=170789'},
						{text:'Guils de Cerdanya', url: root + 'cerdanya.html?ine=170828'},
						{text:'Is' + String.fromCharCode(242) + 'vol', url: root + 'cerdanya.html?ine=170849'},
						{text:'Lles de Cerdanya', url: root + 'cerdanya.html?ine=251272'},
						{text:'Ll' + String.fromCharCode(237) + 'via', url: root + 'cerdanya.html?ine=170947'},
						{text:'Meranges', url: root + 'cerdanya.html?ine=170998'},
						{text:'Montell' + String.fromCharCode(224) + ' i Martinet', url: root + 'cerdanya.html?ine=251399'},
						{text:'Prats i Sansor', url: root + 'cerdanya.html?ine=251752'},
						{text:'Prullans', url: root + 'cerdanya.html?ine=251790'},
						{text:'Puigcerd' + String.fromCharCode(224), url: root + 'cerdanya.html?ine=171411'},
						{text:'Riu de Cerdanya', url: root + 'cerdanya.html?ine=259139'},
						{text:'Ur' + String.fromCharCode(250) + 's', url: root + 'cerdanya.html?ine=172060'},
						{text:'Barber' + String.fromCharCode(224) + ' de la Conca', url: root + 'conca_barbera.html?ine=430213'},
						{text:'Blancafort', url: root + 'conca_barbera.html?ine=430290'},
						{text:'Conesa', url: root + 'conca_barbera.html?ine=430461'},
						{text:'For' + String.fromCharCode(232) + 's', url: root + 'conca_barbera.html?ine=430614'},
						{text:'Les Piles', url: root + 'conca_barbera.html?ine=431055'},
						{text:'L' + String.fromCharCode(39) + 'Espluga de Francol' + String.fromCharCode(237), url: root + 'conca_barbera.html?ine=430542'},
						{text:'Llorac', url: root + 'conca_barbera.html?ine=430733'},
						{text:'Montblanc', url: root + 'conca_barbera.html?ine=430862'},
						{text:'Passanant i Belltall', url: root + 'conca_barbera.html?ine=431016'},
						{text:'Pira', url: root + 'conca_barbera.html?ine=431074'},
						{text:'Pontils', url: root + 'conca_barbera.html?ine=431418'},
						{text:'Rocafort de Queralt', url: root + 'conca_barbera.html?ine=431303'},
						{text:'Santa Coloma de Queralt', url: root + 'conca_barbera.html?ine=431397'},
						{text:'Sarral', url: root + 'conca_barbera.html?ine=431423'},
						{text:'Savall' + String.fromCharCode(224) + ' del Comtat', url: root + 'conca_barbera.html?ine=431439'},
						{text:'Senan', url: root + 'conca_barbera.html?ine=431460'},
						{text:'Solivella', url: root + 'conca_barbera.html?ine=431476'},
						{text:'Vallclara', url: root + 'conca_barbera.html?ine=431589'},
						{text:'Vallfogona de Riucorb', url: root + 'conca_barbera.html?ine=431592'},
						{text:'Vilanova de Prades', url: root + 'conca_barbera.html?ine=431687'},
						{text:'Vilaverd', url: root + 'conca_barbera.html?ine=431726'},
						{text:'Vimbod' + String.fromCharCode(237), url: root + 'conca_barbera.html?ine=431763'},
						{text:'Canyelles', url: root + 'garraf.html?ine=080431'},
						{text:'Cubelles', url: root + 'garraf.html?ine=080749'},
						{text:'Olivella', url: root + 'garraf.html?ine=081483'},
						{text:'Sant Pere de Ribes', url: root + 'garraf.html?ine=082310'},
						{text:'Sitges', url: root + 'garraf.html?ine=082704'},
						{text:'Vilanova i la Geltr' + String.fromCharCode(250), url: root + 'garraf.html?ine=083073'},
						{text:'Arbeca', url: root + 'garrigues.html?ine=250292'},
						{text:'Bellaguarda', url: root + 'garrigues.html?ine=251706'},
						{text:'Bovera', url: root + 'garrigues.html?ine=250560'},
						{text:'Castelldans', url: root + 'garrigues.html?ine=250674'},
						{text:'Cervi' + String.fromCharCode(224) + ' de les Garrigues', url: root + 'garrigues.html?ine=250735'},
						{text:'El Cogul', url: root + 'garrigues.html?ine=250766'},
						{text:'El Soler' + String.fromCharCode(224) + 's', url: root + 'garrigues.html?ine=252069'},
						{text:'Els Omellons', url: root + 'garrigues.html?ine=251538'},
						{text:'Els Torms', url: root + 'garrigues.html?ine=252249'},
						{text:'El Vilosell', url: root + 'garrigues.html?ine=252537'},
						{text:'Fulleda', url: root + 'garrigues.html?ine=250978'},
						{text:'Granyena de les Garrigues', url: root + 'garrigues.html?ine=251057'},
						{text:'Juncosa', url: root + 'garrigues.html?ine=251180'},
						{text:'Juneda', url: root + 'garrigues.html?ine=251193'},
						{text:'La Floresta', url: root + 'garrigues.html?ine=250925'},
						{text:'La Granadella', url: root + 'garrigues.html?ine=251018'},
						{text:'L' + String.fromCharCode(39) + 'Albag' + String.fromCharCode(233) + 's', url: root + 'garrigues.html?ine=250061'},
						{text:'L' + String.fromCharCode(39) + 'Albi', url: root + 'garrigues.html?ine=250096'},
						{text:'La Pobla de C' + String.fromCharCode(233) + 'rvoles', url: root + 'garrigues.html?ine=251692'},
						{text:'Les Borges Blanques', url: root + 'garrigues.html?ine=250582'},
						{text:'L' + String.fromCharCode(39) + 'Espluga Calba', url: root + 'garrigues.html?ine=250812'},
						{text:'Puiggr' + String.fromCharCode(242) + 's', url: root + 'garrigues.html?ine=251804'},
						{text:'Tarr' + String.fromCharCode(233) + 's', url: root + 'garrigues.html?ine=252189'},
						{text:'Vinaixa', url: root + 'garrigues.html?ine=252555'},
						{text:'Argelaguer', url: root + 'garrotxa.html?ine=170101'},
						{text:'Besal' + String.fromCharCode(250), url: root + 'garrotxa.html?ine=170195'},
						{text:'Beuda', url: root + 'garrotxa.html?ine=170216'},
						{text:'Castellfollit de la Roca', url: root + 'garrotxa.html?ine=170464'},
						{text:'La Vall de Bianya', url: root + 'garrotxa.html?ine=172082'},
						{text:'La Vall d' + String.fromCharCode(39) + 'en Bas', url: root + 'garrotxa.html?ine=172076'},
						{text:'Les Planes d' + String.fromCharCode(39) + 'Hostoles', url: root + 'garrotxa.html?ine=171334'},
						{text:'Les Preses', url: root + 'garrotxa.html?ine=171390'},
						{text:'Mai' + String.fromCharCode(224) + ' de Montcal', url: root + 'garrotxa.html?ine=170985'},
						{text:'Mieres', url: root + 'garrotxa.html?ine=171058'},
						{text:'Montagut i Oix', url: root + 'garrotxa.html?ine=171096'},
						{text:'Olot', url: root + 'garrotxa.html?ine=171143'},
						{text:'Riudaura', url: root + 'garrotxa.html?ine=171498'},
						{text:'Sales de Llierca', url: root + 'garrotxa.html?ine=171544'},
						{text:'Sant Aniol de Finestres', url: root + 'garrotxa.html?ine=171833'},
						{text:'Santa Pau', url: root + 'garrotxa.html?ine=171848'},
						{text:'Sant Feliu de Pallerols', url: root + 'garrotxa.html?ine=171616'},
						{text:'Sant Ferriol', url: root + 'garrotxa.html?ine=171621'},
						{text:'Sant Jaume de Llierca', url: root + 'garrotxa.html?ine=171655'},
						{text:'Sant Joan les Fonts', url: root + 'garrotxa.html?ine=171851'},
						{text:'Tortell' + String.fromCharCode(224), url: root + 'garrotxa.html?ine=172001'},
						{text:'Aiguaviva', url: root + 'girones.html?ine=170025'},
						{text:'Bescan' + String.fromCharCode(243), url: root + 'girones.html?ine=170209'},
						{text:'Bordils', url: root + 'girones.html?ine=170255'},
						{text:'Campllong', url: root + 'girones.html?ine=170388'},
						{text:'Canet d' + String.fromCharCode(39) + 'Adri', url: root + 'girones.html?ine=170405'},
						{text:'Cass' + String.fromCharCode(224) + ' de la Selva', url: root + 'girones.html?ine=170448'},
						{text:'Celr' + String.fromCharCode(224), url: root + 'girones.html?ine=170499'},
						{text:'Cervi' + String.fromCharCode(224) + ' de Ter', url: root + 'girones.html?ine=170502'},
						{text:'Fla' + String.fromCharCode(231) + String.fromCharCode(224), url: root + 'girones.html?ine=170675'},
						{text:'Fornells de la Selva', url: root + 'girones.html?ine=170736'},
						{text:'Girona', url: root + 'girones.html?ine=170792'},
						{text:'Jui' + String.fromCharCode(224), url: root + 'girones.html?ine=170871'},
						{text:'Llagostera', url: root + 'girones.html?ine=170890'},
						{text:'Llambilles', url: root + 'girones.html?ine=170904'},
						{text:'Madremanya', url: root + 'girones.html?ine=170979'},
						{text:'Quart', url: root + 'girones.html?ine=171426'},
						{text:'Salt', url: root + 'girones.html?ine=171557'},
						{text:'Sant Andreu Salou', url: root + 'girones.html?ine=171576'},
						{text:'Sant Gregori', url: root + 'girones.html?ine=171637'},
						{text:'Sant Joan de Mollet', url: root + 'girones.html?ine=171680'},
						{text:'Sant Jordi Desvalls', url: root + 'girones.html?ine=171668'},
						{text:'Sant Juli' + String.fromCharCode(224) + ' de Ramis', url: root + 'girones.html?ine=171693'},
						{text:'Sant Mart' + String.fromCharCode(237) + ' de Ll' + String.fromCharCode(233) + 'mena', url: root + 'girones.html?ine=171729'},
						{text:'Sant Mart' + String.fromCharCode(237) + ' Vell', url: root + 'girones.html?ine=171735'},
						{text:'Sarri' + String.fromCharCode(224) + ' de Ter', url: root + 'girones.html?ine=171864'},
						{text:'Vilablareix', url: root + 'girones.html?ine=172155'},
						{text:'Viladasens', url: root + 'girones.html?ine=172168'},
						{text:'Alella', url: root + 'maresme.html?ine=080039'},
						{text:'Arenys de Mar', url: root + 'maresme.html?ine=080060'},
						{text:'Arenys de Munt', url: root + 'maresme.html?ine=080076'},
						{text:'Argentona', url: root + 'maresme.html?ine=080095'},
						{text:'Cabrera de Mar', url: root + 'maresme.html?ine=080291'},
						{text:'Cabrils', url: root + 'maresme.html?ine=080305'},
						{text:'Caldes d' + String.fromCharCode(39) + 'Estrac', url: root + 'maresme.html?ine=080327'},
						{text:'Calella', url: root + 'maresme.html?ine=080351'},
						{text:'Canet de Mar', url: root + 'maresme.html?ine=080403'},
						{text:'Dosrius', url: root + 'maresme.html?ine=080752'},
						{text:'El Masnou', url: root + 'maresme.html?ine=081189'},
						{text:'Malgrat de Mar', url: root + 'maresme.html?ine=081108'},
						{text:'Matar' + String.fromCharCode(243), url: root + 'maresme.html?ine=081213'},
						{text:'Montgat', url: root + 'maresme.html?ine=081265'},
						{text: String.fromCharCode(210) + 'rrius', url: root + 'maresme.html?ine=081537'},
						{text:'Palafolls', url: root + 'maresme.html?ine=081555'},
						{text:'Pineda de Mar', url: root + 'maresme.html?ine=081635'},
						{text:'Premi' + String.fromCharCode(224) + ' de Dalt', url: root + 'maresme.html?ine=082303'},
						{text:'Premi' + String.fromCharCode(224) + ' de Mar', url: root + 'maresme.html?ine=081727'},
						{text:'Sant Andreu de Llavaneres', url: root + 'maresme.html?ine=081976'},
						{text:'Santa Susanna', url: root + 'maresme.html?ine=082613'},
						{text:'Sant Cebri' + String.fromCharCode(224) + ' de Vallalta', url: root + 'maresme.html?ine=082037'},
						{text:'Sant Iscle de Vallalta', url: root + 'maresme.html?ine=081939'},
						{text:'Sant Pol de Mar', url: root + 'maresme.html?ine=082359'},
						{text:'Sant Vicen' + String.fromCharCode(231) + ' de Montalt', url: root + 'maresme.html?ine=082649'},
						{text:'Tei' + String.fromCharCode(224), url: root + 'maresme.html?ine=082819'},
						{text:'Tiana', url: root + 'maresme.html?ine=082824'},
						{text:'Tordera', url: root + 'maresme.html?ine=082845'},
						{text:'Vilassar de Dalt', url: root + 'maresme.html?ine=082140'},
						{text:'Vilassar de Mar', url: root + 'maresme.html?ine=082191'},
						{text:'Alcanar', url: root + 'montsia.html?ine=430043'},
						{text:'Amposta', url: root + 'montsia.html?ine=430141'},
						{text:'Freginals', url: root + 'montsia.html?ine=430629'},
						{text:'Godall', url: root + 'montsia.html?ine=430688'},
						{text:'La Galera', url: root + 'montsia.html?ine=430635'},
						{text:'La S' + String.fromCharCode(233) + 'nia', url: root + 'montsia.html?ine=430445'},
						{text:'Mas de Barberans', url: root + 'montsia.html?ine=430770'},
						{text:'Masdenverge', url: root + 'montsia.html?ine=430786'},
						{text:'Santa B' + String.fromCharCode(224) + 'rbara', url: root + 'montsia.html?ine=431384'},
						{text:'Sant Carles de la R' + String.fromCharCode(224) + 'pita', url: root + 'montsia.html?ine=431362'},
						{text:'Sant Jaume d' + String.fromCharCode(39) + 'Enveja', url: root + 'montsia.html?ine=439023'},
						{text:'Ulldecona', url: root + 'montsia.html?ine=431567'},
						{text: String.fromCharCode(192) + 'ger', url: root + 'noguera.html?ine=250024'},
						{text:'Albesa', url: root + 'noguera.html?ine=250083'},
						{text:'Algerri', url: root + 'noguera.html?ine=250156'},
						{text:'Al' + String.fromCharCode(242) + 's de Balaguer', url: root + 'noguera.html?ine=250220'},
						{text:'Artesa de Segre', url: root + 'noguera.html?ine=250349'},
						{text:'Balaguer', url: root + 'noguera.html?ine=250404'},
						{text:'Bellcaire d' + String.fromCharCode(39) + 'Urgell', url: root + 'noguera.html?ine=250479'},
						{text:'Bellmunt d' + String.fromCharCode(39) + 'Urgell', url: root + 'noguera.html?ine=250498'},
						{text:'Cabanabona', url: root + 'noguera.html?ine=250609'},
						{text:'Camarasa', url: root + 'noguera.html?ine=250621'},
						{text:'Castell' + String.fromCharCode(243) + 'de Farfanya', url: root + 'noguera.html?ine=250693'},
						{text:'Cubells', url: root + 'noguera.html?ine=250791'},
						{text:'Foradada', url: root + 'noguera.html?ine=250946'},
						{text:'Ivars de Noguera', url: root + 'noguera.html?ine=251121'},
						{text:'La Baronia de Rialb', url: root + 'noguera.html?ine=250426'},
						{text:'La Sentiu de Si' + String.fromCharCode(243), url: root + 'noguera.html?ine=250352'},
						{text:'Les Avellanes i Santa Linya', url: root + 'noguera.html?ine=250371'},
						{text:'Men' + String.fromCharCode(224) + 'rguens', url: root + 'noguera.html?ine=251348'},
						{text:'Montgai', url: root + 'noguera.html?ine=251386'},
						{text:'Oliola', url: root + 'noguera.html?ine=251500'},
						{text:'Os de Balaguer', url: root + 'noguera.html?ine=251569'},
						{text:'Penelles', url: root + 'noguera.html?ine=251641'},
						{text:'Ponts', url: root + 'noguera.html?ine=251728'},
						{text:'Preixens', url: root + 'noguera.html?ine=251771'},
						{text:'T' + String.fromCharCode(233) + 'rmens', url: root + 'noguera.html?ine=252206'},
						{text:'Tiurana', url: root + 'noguera.html?ine=252228'},
						{text:'Torrelameu', url: root + 'noguera.html?ine=252311'},
						{text:'Vallfogona de Balaguer', url: root + 'noguera.html?ine=252402'},
						{text:'Vilanova de l' + String.fromCharCode(39) + 'Aguda', url: root + 'noguera.html?ine=252496'},
						{text:'Vilanova de Mei' + String.fromCharCode(224), url: root + 'noguera.html?ine=252509'},
						{text:'Alpens', url: root + 'osona.html?ine=080044'},
						{text:'Baleny' + String.fromCharCode(224), url: root + 'osona.html?ine=080174'},
						{text:'Calldetenes', url: root + 'osona.html?ine=080370'},
						{text:'Centelles', url: root + 'osona.html?ine=080673'},
						{text:'Collsuspina', url: root + 'osona.html?ine=080706'},
						{text:'El Brull', url: root + 'osona.html?ine=080266'},
						{text:'Espinelves', url: root + 'osona.html?ine=170638'},
						{text:'Folgueroles', url: root + 'osona.html?ine=080832'},
						{text:'Gurb', url: root + 'osona.html?ine=081000'},
						{text:'Les Masies de Roda', url: root + 'osona.html?ine=081167'},
						{text:'Les Masies de Voltreg' + String.fromCharCode(224), url: root + 'osona.html?ine=081173'},
						{text:'Llu' + String.fromCharCode(231) + String.fromCharCode(224), url: root + 'osona.html?ine=081094'},
						{text:'Malla', url: root + 'osona.html?ine=081115'},
						{text:'Manlleu', url: root + 'osona.html?ine=081120'},
						{text:'Montesquiu', url: root + 'osona.html?ine=081311'},
						{text:'Muntanyola', url: root + 'osona.html?ine=081290'},
						{text:'Olost', url: root + 'osona.html?ine=081496'},
						{text:'Or' + String.fromCharCode(237) + 's', url: root + 'osona.html?ine=081509'},
						{text:'Orist' + String.fromCharCode(224), url: root + 'osona.html?ine=081516'},
						{text:'Perafita', url: root + 'osona.html?ine=081607'},
						{text:'Prats de Llu' + String.fromCharCode(231) + 'an' + String.fromCharCode(232) + 's', url: root + 'osona.html?ine=081712'},
						{text:'Roda de Ter', url: root + 'osona.html?ine=081831'},
						{text:'Rupit i Pruit', url: root + 'osona.html?ine=089019'},
						{text:'Santa Cec' + String.fromCharCode(237) + 'lia de Voltreg' + String.fromCharCode(224), url: root + 'osona.html?ine=082439'},
						{text:'Santa Eug' + String.fromCharCode(232) + 'nia de Berga', url: root + 'osona.html?ine=082460'},
						{text:'Santa Eul' + String.fromCharCode(224) + 'lia de Riuprimer', url: root + 'osona.html?ine=082476'},
						{text:'Sant Agust' + String.fromCharCode(237) + ' de Llu' + String.fromCharCode(231) + 'an' + String.fromCharCode(232) + 's', url: root + 'osona.html?ine=081957'},
						{text:'Santa Maria de Besora', url: root + 'osona.html?ine=082536'},
						{text:'Santa Maria de Corc' + String.fromCharCode(243), url: root + 'osona.html?ine=082541'},
						{text:'Sant Bartomeu del Grau', url: root + 'osona.html?ine=081995'},
						{text:'Sant Boi de Llu' + String.fromCharCode(231) + 'an' + String.fromCharCode(232) + 's', url: root + 'osona.html?ine=082016'},
						{text:'Sant Hip' + String.fromCharCode(242) + 'lit de Voltreg' + String.fromCharCode(224), url: root + 'osona.html?ine=082153'},
						{text:'Sant Juli' + String.fromCharCode(224) + ' de Vilatorta', url: root + 'osona.html?ine=082205'},
						{text:'Sant Mart' + String.fromCharCode(237) + ' d' + String.fromCharCode(39) + 'Albars', url: root + 'osona.html?ine=082251'},
						{text:'Sant Mart' + String.fromCharCode(237) + ' de Centelles', url: root + 'osona.html?ine=082248'},
						{text:'Sant Pere de Torell' + String.fromCharCode(243), url: root + 'osona.html?ine=082331'},
						{text:'Sant Quirze de Besora', url: root + 'osona.html?ine=082378'},
						{text:'Sant Sadurn' + String.fromCharCode(237) + ' d' + String.fromCharCode(39) + 'Osormort', url: root + 'osona.html?ine=082418'},
						{text:'Sant Vicen' + String.fromCharCode(231) + ' de Torell' + String.fromCharCode(243), url: root + 'osona.html?ine=082652'},
						{text:'Seva', url: root + 'osona.html?ine=082690'},
						{text:'Sobremunt', url: root + 'osona.html?ine=082711'},
						{text:'Sora', url: root + 'osona.html?ine=082726'},
						{text:'Taradell', url: root + 'osona.html?ine=082785'},
						{text:'Tav' + String.fromCharCode(232) + 'rnoles', url: root + 'osona.html?ine=082750'},
						{text:'Tavertet', url: root + 'osona.html?ine=082802'},
						{text:'Tona', url: root + 'osona.html?ine=082830'},
						{text:'Torell' + String.fromCharCode(243), url: root + 'osona.html?ine=082858'},
						{text:'Vic', url: root + 'osona.html?ine=082981'},
						{text:'Vidr' + String.fromCharCode(224), url: root + 'osona.html?ine=172121'},
						{text:'Viladrau', url: root + 'osona.html?ine=172207'},
						{text:'Vilanova de Sau', url: root + 'osona.html?ine=083036'},
						{text:'Abella de la Conca', url: root + 'pallars_jussa.html?ine=250019'},
						{text:'Castell de Mur', url: root + 'pallars_jussa.html?ine=259046'},
						{text:'Conca de Dalt', url: root + 'pallars_jussa.html?ine=251615'},
						{text:'Gavet de la Conca', url: root + 'pallars_jussa.html?ine=250984'},
						{text:'Isona i Conca Dell' + String.fromCharCode(224), url: root + 'pallars_jussa.html?ine=251155'},
						{text:'La Pobla de Segur', url: root + 'pallars_jussa.html?ine=251713'},
						{text:'La Torre de Cabdella', url: root + 'pallars_jussa.html?ine=252271'},
						{text:'Llimiana', url: root + 'pallars_jussa.html?ine=251288'},
						{text:'Sal' + String.fromCharCode(224) + 's de Pallars', url: root + 'pallars_jussa.html?ine=251902'},
						{text:'Sant Esteve de la Sarga', url: root + 'pallars_jussa.html?ine=251961'},
						{text:'Sarroca de Bellera', url: root + 'pallars_jussa.html?ine=252017'},
						{text:'Senterada', url: root + 'pallars_jussa.html?ine=252022'},
						{text:'Talarn', url: root + 'pallars_jussa.html?ine=252154'},
						{text:'Tremp', url: root + 'pallars_jussa.html?ine=252347'},
						{text:'Alins', url: root + 'pallars_sobira.html?ine=250175'},
						{text:'Alt ' + String.fromCharCode(192) + 'neu', url: root + 'pallars_sobira.html?ine=250241'},
						{text:'Baix Pallars', url: root + 'pallars_sobira.html?ine=250390'},
						{text:'Espot', url: root + 'pallars_sobira.html?ine=250827'},
						{text:'Esterri d' + String.fromCharCode(39) + String.fromCharCode(192) + 'neu', url: root + 'pallars_sobira.html?ine=250864'},
						{text:'Esterri de Card' + String.fromCharCode(243) + 's', url: root + 'pallars_sobira.html?ine=250870'},
						{text:'Farrera', url: root + 'pallars_sobira.html?ine=250899'},
						{text:'La Guingueta d' + String.fromCharCode(39) + String.fromCharCode(192) + 'neu', url: root + 'pallars_sobira.html?ine=259031'},
						{text:'Lladorre', url: root + 'pallars_sobira.html?ine=251235'},
						{text:'Llavors' + String.fromCharCode(237), url: root + 'pallars_sobira.html?ine=251266'},
						{text:'Rialp', url: root + 'pallars_sobira.html?ine=251832'},
						{text:'Soriguera', url: root + 'pallars_sobira.html?ine=252081'},
						{text:'Sort', url: root + 'pallars_sobira.html?ine=252094'},
						{text:'T' + String.fromCharCode(237) + 'rvia', url: root + 'pallars_sobira.html?ine=252213'},
						{text:'Vall de Card' + String.fromCharCode(243) + 's', url: root + 'pallars_sobira.html?ine=259010'},
						{text:'Banyoles', url: root + 'pla_estany.html?ine=170157'},
						{text:'Cam' + String.fromCharCode(243) + 's', url: root + 'pla_estany.html?ine=170353'},
						{text:'Cornell' + String.fromCharCode(224) + ' del Terri', url: root + 'pla_estany.html?ine=170561'},
						{text:'Crespi' + String.fromCharCode(224), url: root + 'pla_estany.html?ine=170583'},
						{text:'Esponell' + String.fromCharCode(224), url: root + 'pla_estany.html?ine=170656'},
						{text:'Fontcoberta', url: root + 'pla_estany.html?ine=170715'},
						{text:'Palol de Revardit', url: root + 'pla_estany.html?ine=171236'},
						{text:'Porqueres', url: root + 'pla_estany.html?ine=171371'},
						{text:'Sant Miquel de Campmajor', url: root + 'pla_estany.html?ine=171740'},
						{text:'Seriny' + String.fromCharCode(224), url: root + 'pla_estany.html?ine=171903'},
						{text:'Vilademuls', url: root + 'pla_estany.html?ine=172180'},
						{text:'Barbens', url: root + 'pla_urgell.html?ine=250411'},
						{text:'Bell-lloc d' + String.fromCharCode(39) + 'Urgell', url: root + 'pla_urgell.html?ine=250485'},
						{text:'Bellv' + String.fromCharCode(237) + 's', url: root + 'pla_urgell.html?ine=250523'},
						{text:'Castellnou de Seana', url: root + 'pla_urgell.html?ine=250680'},
						{text:'El Palau d' + String.fromCharCode(39) + 'Anglesola', url: root + 'pla_urgell.html?ine=251581'},
						{text:'El Poal', url: root + 'pla_urgell.html?ine=251689'},
						{text:'Fondarella', url: root + 'pla_urgell.html?ine=250931'},
						{text:'Golm' + String.fromCharCode(233) + 's', url: root + 'pla_urgell.html?ine=250997'},
						{text:'Ivars d' + String.fromCharCode(39) + 'Urgell', url: root + 'pla_urgell.html?ine=251137'},
						{text:'Linyola', url: root + 'pla_urgell.html?ine=251229'},
						{text:'Miralcamp', url: root + 'pla_urgell.html?ine=251351'},
						{text:'Mollerussa', url: root + 'pla_urgell.html?ine=251370'},
						{text:'Sidamon', url: root + 'pla_urgell.html?ine=252056'},
						{text:'Torregrossa', url: root + 'pla_urgell.html?ine=252304'},
						{text:'Vilanova de Bellpuig', url: root + 'pla_urgell.html?ine=252483'},
						{text:'Vila-sana', url: root + 'pla_urgell.html?ine=252521'},
						{text:'Bellmunt del Priorat', url: root + 'priorat.html?ine=430234'},
						{text:'Cabac' + String.fromCharCode(233) + 's', url: root + 'priorat.html?ine=430350'},
						{text:'Cap' + String.fromCharCode(231) + 'anes', url: root + 'priorat.html?ine=430402'},
						{text:'Cornudella de Montsant', url: root + 'priorat.html?ine=430496'},
						{text:'El Lloar', url: root + 'priorat.html?ine=430727'},
						{text:'El Masroig', url: root + 'priorat.html?ine=430825'},
						{text:'El Molar', url: root + 'priorat.html?ine=430859'},
						{text:'Els Guiamets', url: root + 'priorat.html?ine=430705'},
						{text:'Falset', url: root + 'priorat.html?ine=430555'},
						{text:'Gratallops', url: root + 'priorat.html?ine=430691'},
						{text:'La Bisbal de Falset', url: root + 'priorat.html?ine=430271'},
						{text:'La Figuera', url: root + 'priorat.html?ine=430580'},
						{text:'La Morera de Montsant', url: root + 'priorat.html?ine=430960'},
						{text:'La Torre de Fontaubella', url: root + 'priorat.html?ine=431515'},
						{text:'La Vilella Alta', url: root + 'priorat.html?ine=431732'},
						{text:'La Vilella Baixa', url: root + 'priorat.html?ine=431747'},
						{text:'Mar' + String.fromCharCode(231) + String.fromCharCode(224), url: root + 'priorat.html?ine=430764'},
						{text:'Margalef', url: root + 'priorat.html?ine=430751'},
						{text:'Poboleda', url: root + 'priorat.html?ine=431129'},
						{text:'Porrera', url: root + 'priorat.html?ine=431140'},
						{text:'Pradell de la Teixeta', url: root + 'priorat.html?ine=431153'},
						{text:'Torroja del Priorat', url: root + 'priorat.html?ine=431541'},
						{text:'Ulldemolins', url: root + 'priorat.html?ine=431573'},
						{text:'Asc' + String.fromCharCode(243), url: root + 'ribera_ebre.html?ine=430192'},
						{text:'Benissanet', url: root + 'ribera_ebre.html?ine=430265'},
						{text:'Flix', url: root + 'ribera_ebre.html?ine=430607'},
						{text:'Garcia', url: root + 'ribera_ebre.html?ine=430653'},
						{text:'Ginestar', url: root + 'ribera_ebre.html?ine=430672'},
						{text:'La Palma d' + String.fromCharCode(39) + 'Ebre', url: root + 'ribera_ebre.html?ine=430995'},
						{text:'La Torre de l' + String.fromCharCode(39) + 'Espanyol', url: root + 'ribera_ebre.html?ine=431520'},
						{text:'Miravet', url: root + 'ribera_ebre.html?ine=430846'},
						{text:'M' + String.fromCharCode(243) + 'ra d' + String.fromCharCode(39) + 'Ebre', url: root + 'ribera_ebre.html?ine=430939'},
						{text:'M' + String.fromCharCode(243) + 'ra la Nova', url: root + 'ribera_ebre.html?ine=430944'},
						{text:'Rasquera', url: root + 'ribera_ebre.html?ine=431212'},
						{text:'Riba-roja d' + String.fromCharCode(39) + 'Ebre', url: root + 'ribera_ebre.html?ine=431251'},
						{text:'Tivissa', url: root + 'ribera_ebre.html?ine=431508'},
						{text:'Vinebre', url: root + 'ribera_ebre.html?ine=431779'},
						{text:'Campdev' + String.fromCharCode(224) + 'nol', url: root + 'ripolles.html?ine=170366'},
						{text:'Campelles', url: root + 'ripolles.html?ine=170372'},
						{text:'Camprodon', url: root + 'ripolles.html?ine=170391'},
						{text:'Gombr' + String.fromCharCode(232) + 'n', url: root + 'ripolles.html?ine=170806'},
						{text:'Les Llosses', url: root + 'ripolles.html?ine=170963'},
						{text:'Llanars', url: root + 'ripolles.html?ine=170911'},
						{text:'Moll' + String.fromCharCode(243), url: root + 'ripolles.html?ine=171077'},
						{text:'Ogassa', url: root + 'ripolles.html?ine=171122'},
						{text:'Pardines', url: root + 'ripolles.html?ine=171254'},
						{text:'Planoles', url: root + 'ripolles.html?ine=171349'},
						{text:'Queralbs', url: root + 'ripolles.html?ine=170433'},
						{text:'Ribes de Freser', url: root + 'ripolles.html?ine=171450'},
						{text:'Ripoll', url: root + 'ripolles.html?ine=171479'},
						{text:'Sant Joan de les Abadesses', url: root + 'ripolles.html?ine=171674'},
						{text:'Sant Pau de Seg' + String.fromCharCode(250) + 'ries', url: root + 'ripolles.html?ine=171772'},
						{text:'Setcases', url: root + 'ripolles.html?ine=171925'},
						{text:'Toses', url: root + 'ripolles.html?ine=172018'},
						{text:'Vallfogona de Ripoll' + String.fromCharCode(232) + 's', url: root + 'ripolles.html?ine=171707'},
						{text:'Vilallonga de Ter', url: root + 'ripolles.html?ine=172240'},
						{text:'Biosca', url: root + 'segarra.html?ine=250557'},
						{text:'Cervera', url: root + 'segarra.html?ine=250729'},
						{text:'Els Plans de Si' + String.fromCharCode(243), url: root + 'segarra.html?ine=259118'},
						{text:'Estar' + String.fromCharCode(224) + 's', url: root + 'segarra.html?ine=250851'},
						{text:'Granyanella', url: root + 'segarra.html?ine=251039'},
						{text:'Granyena de Segarra', url: root + 'segarra.html?ine=251044'},
						{text:'Guissona', url: root + 'segarra.html?ine=251109'},
						{text:'Ivorra', url: root + 'segarra.html?ine=251142'},
						{text:'Les Oluges', url: root + 'segarra.html?ine=251522'},
						{text:'Massoteres', url: root + 'segarra.html?ine=251327'},
						{text:'Montoliu de Segarra', url: root + 'segarra.html?ine=251410'},
						{text:'Montorn' + String.fromCharCode(232) + 's de Segarra', url: root + 'segarra.html?ine=251431'},
						{text:'Ribera d' + String.fromCharCode(39) + 'Ondara', url: root + 'segarra.html?ine=259059'},
						{text:'Sana' + String.fromCharCode(252) + 'ja', url: root + 'segarra.html?ine=251919'},
						{text:'Sant Guim de Freixenet', url: root + 'segarra.html?ine=251924'},
						{text:'Sant Guim de la Plana', url: root + 'segarra.html?ine=251977'},
						{text:'Sant Ramon', url: root + 'segarra.html?ine=251945'},
						{text:'Talavera', url: root + 'segarra.html?ine=252167'},
						{text:'Tarroja de Segarra', url: root + 'segarra.html?ine=252192'},
						{text:'Tor' + String.fromCharCode(224), url: root + 'segarra.html?ine=252234'},
						{text:'Torrefeta i Florejacs', url: root + 'segarra.html?ine=259078'},
						{text:'Aitona', url: root + 'segria.html?ine=250387'},
						{text:'Albat' + String.fromCharCode(224) + 'rrec', url: root + 'segria.html?ine=250077'},
						{text:'Alcan' + String.fromCharCode(243), url: root + 'segria.html?ine=250100'},
						{text:'Alcarr' + String.fromCharCode(224) + 's', url: root + 'segria.html?ine=250117'},
						{text:'Alcoletge', url: root + 'segria.html?ine=250122'},
						{text:'Alfarr' + String.fromCharCode(224) + 's', url: root + 'segria.html?ine=250138'},
						{text:'Alf' + String.fromCharCode(233) + 's', url: root + 'segria.html?ine=250143'},
						{text:'Alguaire', url: root + 'segria.html?ine=250169'},
						{text:'Almacelles', url: root + 'segria.html?ine=250194'},
						{text:'Almatret', url: root + 'segria.html?ine=250208'},
						{text:'Almenar', url: root + 'segria.html?ine=250215'},
						{text:'Alpicat', url: root + 'segria.html?ine=250236'},
						{text:'Artesa de Lleida', url: root + 'segria.html?ine=250334'},
						{text:'Aspa', url: root + 'segria.html?ine=250365'},
						{text:'Benavent de Segri' + String.fromCharCode(224), url: root + 'segria.html?ine=250539'},
						{text:'Corbins', url: root + 'segria.html?ine=250788'},
						{text:'Els Alam' + String.fromCharCode(250) + 's', url: root + 'segria.html?ine=250045'},
						{text:'Gimenells i el Pla de la Font', url: root + 'segria.html?ine=259123'},
						{text:'La Granja d' + String.fromCharCode(39) + 'Escarp', url: root + 'segria.html?ine=251023'},
						{text:'La Portella', url: root + 'segria.html?ine=251749'},
						{text:'Llardecans', url: root + 'segria.html?ine=251253'},
						{text:'Lleida', url: root + 'segria.html?ine=251207'},
						{text:'Maials', url: root + 'segria.html?ine=251333'},
						{text:'Massalcoreig', url: root + 'segria.html?ine=251312'},
						{text:'Montoliu de Lleida', url: root + 'segria.html?ine=251425'},
						{text:'Puigverd de Lleida', url: root + 'segria.html?ine=251826'},
						{text:'Rossell' + String.fromCharCode(243), url: root + 'segria.html?ine=251898'},
						{text:'Sarroca de Lleida', url: root + 'segria.html?ine=252000'},
						{text:'Ser' + String.fromCharCode(242) + 's', url: root + 'segria.html?ine=252043'},
						{text:'Soses', url: root + 'segria.html?ine=252108'},
						{text:'Sudanell', url: root + 'segria.html?ine=252115'},
						{text:'Sunyer', url: root + 'segria.html?ine=252120'},
						{text:'Torrebesses', url: root + 'segria.html?ine=252265'},
						{text:'Torrefarrera', url: root + 'segria.html?ine=252287'},
						{text:'Torres de Segre', url: root + 'segria.html?ine=252326'},
						{text:'Torre-serona', url: root + 'segria.html?ine=252332'},
						{text:'Vilanova de la Barca', url: root + 'segria.html?ine=252542'},
						{text:'Vilanova de Segri' + String.fromCharCode(224), url: root + 'segria.html?ine=252516'},
						{text:'Amer', url: root + 'selva.html?ine=170078'},
						{text:'Angl' + String.fromCharCode(232) + 's', url: root + 'selva.html?ine=170084'},
						{text:'Arb' + String.fromCharCode(250) + 'cies', url: root + 'selva.html?ine=170097'},
						{text:'Blanes', url: root + 'selva.html?ine=170237'},
						{text:'Breda', url: root + 'selva.html?ine=170274'},
						{text:'Brunyola', url: root + 'selva.html?ine=170280'},
						{text:'Caldes de Malavella', url: root + 'selva.html?ine=170335'},
						{text:'Fogars de la Selva', url: root + 'selva.html?ine=080826'},
						{text:'Hostalric', url: root + 'selva.html?ine=170834'},
						{text:'La Cellera de Ter', url: root + 'selva.html?ine=171899'},
						{text:'Lloret de Mar', url: root + 'selva.html?ine=170950'},
						{text:'Ma' + String.fromCharCode(231) + 'anet de la Selva', url: root + 'selva.html?ine=171030'},
						{text:'Massanes', url: root + 'selva.html?ine=171019'},
						{text:'Osor', url: root + 'selva.html?ine=171169'},
						{text:'Riells i Viabrea', url: root + 'selva.html?ine=171463'},
						{text:'Riudarenes', url: root + 'selva.html?ine=171485'},
						{text:'Riudellots de la Selva', url: root + 'selva.html?ine=171501'},
						{text:'Santa Coloma de Farners', url: root + 'selva.html?ine=171805'},
						{text:'Sant Feliu de Buixalleu', url: root + 'selva.html?ine=171595'},
						{text:'Sant Hilari Sacalm', url: root + 'selva.html?ine=171642'},
						{text:'Sant Juli' + String.fromCharCode(224) + ' del Llor i Bonmat' + String.fromCharCode(237), url: root + 'selva.html?ine=179032'},
						{text:'Sils', url: root + 'selva.html?ine=171931'},
						{text:'Susqueda', url: root + 'selva.html?ine=171946'},
						{text:'Tossa de Mar', url: root + 'selva.html?ine=172023'},
						{text:'Vidreres', url: root + 'selva.html?ine=172137'},
						{text:'Vilob' + String.fromCharCode(237) + ' d' + String.fromCharCode(39) + 'Onyar', url: root + 'selva.html?ine=172333'},
						{text:'Castellar de la Ribera', url: root + 'solsones.html?ine=250642'},
						{text:'Clariana de Cardener', url: root + 'solsones.html?ine=250753'},
						{text:'Guixers', url: root + 'solsones.html?ine=251116'},
						{text:'La Coma i la Pedra', url: root + 'solsones.html?ine=251636'},
						{text:'La Molsosa', url: root + 'solsones.html?ine=251364'},
						{text:'Lladurs', url: root + 'solsones.html?ine=251240'},
						{text:'Llobera', url: root + 'solsones.html?ine=251291'},
						{text:'Nav' + String.fromCharCode(232) + 's', url: root + 'solsones.html?ine=251462'},
						{text:'Od' + String.fromCharCode(232) + 'n', url: root + 'solsones.html?ine=251484'},
						{text:'Olius', url: root + 'solsones.html?ine=251517'},
						{text:'Pinell de Solson' + String.fromCharCode(232) + 's', url: root + 'solsones.html?ine=251667'},
						{text:'Pin' + String.fromCharCode(243) + 's', url: root + 'solsones.html?ine=251673'},
						{text:'Riner', url: root + 'solsones.html?ine=251863'},
						{text:'Sant Lloren' + String.fromCharCode(231) + ' de Morunys', url: root + 'solsones.html?ine=251930'},
						{text:'Solsona', url: root + 'solsones.html?ine=252075'},
						{text:'Altafulla', url: root + 'tarragones.html?ine=430120'},
						{text:'Constant' + String.fromCharCode(237), url: root + 'tarragones.html?ine=430477'},
						{text:'Creixell', url: root + 'tarragones.html?ine=430509'},
						{text:'El Catllar', url: root + 'tarragones.html?ine=430430'},
						{text:'El Morell', url: root + 'tarragones.html?ine=430957'},
						{text:'Els Pallaresos', url: root + 'tarragones.html?ine=431009'},
						{text:'La Canonja', url: root + 'tarragones.html?ine=439076'},
						{text:'La Nou de Gai' + String.fromCharCode(224), url: root + 'tarragones.html?ine=430976'},
						{text:'La Pobla de Mafumet', url: root + 'tarragones.html?ine=431093'},
						{text:'La Pobla de Montorn' + String.fromCharCode(232) + 's', url: root + 'tarragones.html?ine=431114'},
						{text:'La Riera de Gai' + String.fromCharCode(224), url: root + 'tarragones.html?ine=431264'},
						{text:'La Secuita', url: root + 'tarragones.html?ine=431444'},
						{text:'Perafort', url: root + 'tarragones.html?ine=431037'},
						{text:'Renau', url: root + 'tarragones.html?ine=431227'},
						{text:'Roda de Bar' + String.fromCharCode(224), url: root + 'tarragones.html?ine=431310'},
						{text:'Salom' + String.fromCharCode(243), url: root + 'tarragones.html?ine=431359'},
						{text:'Salou', url: root + 'tarragones.html?ine=439057'},
						{text:'Tarragona', url: root + 'tarragones.html?ine=431482'},
						{text:'Torredembarra', url: root + 'tarragones.html?ine=431536'},
						{text:'Vespella de Gai' + String.fromCharCode(224), url: root + 'tarragones.html?ine=431649'},
						{text:'Vilallonga del Camp', url: root + 'tarragones.html?ine=431665'},
						{text:'Vila-seca', url: root + 'tarragones.html?ine=431711'},
						{text:'Arnes', url: root + 'terra_alta.html?ine=430189'},
						{text:'Batea', url: root + 'terra_alta.html?ine=430228'},
						{text:'Bot', url: root + 'terra_alta.html?ine=430326'},
						{text:'Caseres', url: root + 'terra_alta.html?ine=430419'},
						{text:'Corbera d' + String.fromCharCode(39) + 'Ebre', url: root + 'terra_alta.html?ine=430483'},
						{text:'El Pinell de Brai', url: root + 'terra_alta.html?ine=431068'},
						{text:'Gandesa', url: root + 'terra_alta.html?ine=430640'},
						{text:'Horta de Sant Joan', url: root + 'terra_alta.html?ine=430712'},
						{text:'La Fatarella', url: root + 'terra_alta.html?ine=430568'},
						{text:'La Pobla de Massaluca', url: root + 'terra_alta.html?ine=431107'},
						{text:'Prat de Comte', url: root + 'terra_alta.html?ine=431172'},
						{text:'Vilalba dels Arcs', url: root + 'terra_alta.html?ine=431750'},
						{text:'Agramunt', url: root + 'urgell.html?ine=250030'},
						{text:'Anglesola', url: root + 'urgell.html?ine=250273'},
						{text:'Belianes', url: root + 'urgell.html?ine=250463'},
						{text:'Bellpuig', url: root + 'urgell.html?ine=250501'},
						{text:'Castellser' + String.fromCharCode(224), url: root + 'urgell.html?ine=250707'},
						{text:'Ciutadilla', url: root + 'urgell.html?ine=250740'},
						{text:'Els Omells de na Gaia', url: root + 'urgell.html?ine=251543'},
						{text:'Guimer' + String.fromCharCode(224), url: root + 'urgell.html?ine=251095'},
						{text:'La Fuliola', url: root + 'urgell.html?ine=250962'},
						{text:'Mald' + String.fromCharCode(224), url: root + 'urgell.html?ine=251305'},
						{text:'Nalec', url: root + 'urgell.html?ine=251459'},
						{text:'Oss' + String.fromCharCode(243) + 'de Si' + String.fromCharCode(243), url: root + 'urgell.html?ine=251575'},
						{text:'Preixana', url: root + 'urgell.html?ine=251765'},
						{text:'Puigverd d' + String.fromCharCode(39) + 'Agramunt', url: root + 'urgell.html?ine=251811'},
						{text:'Sant Mart' + String.fromCharCode(237) + ' de Riucorb', url: root + 'urgell.html?ine=259025'},
						{text:'T' + String.fromCharCode(224) + 'rrega', url: root + 'urgell.html?ine=252173'},
						{text:'Tornabous', url: root + 'urgell.html?ine=252252'},
						{text:'Vallbona de les Monges', url: root + 'urgell.html?ine=252385'},
						{text:'Verd' + String.fromCharCode(250), url: root + 'urgell.html?ine=252424'},
						{text:'Vilagrassa', url: root + 'urgell.html?ine=252445'},
						{text:'Arres', url: root + 'val_aran.html?ine=250313'},
						{text:'Bausen', url: root + 'val_aran.html?ine=250450'},
						{text:'Boss' + String.fromCharCode(242) + 'st', url: root + 'val_aran.html?ine=250595'},
						{text:'Canejan', url: root + 'val_aran.html?ine=250637'},
						{text:'Es B' + String.fromCharCode(242) + 'rdes', url: root + 'val_aran.html?ine=250576'},
						{text:'Les', url: root + 'val_aran.html?ine=251214'},
						{text:'Naut Aran', url: root + 'val_aran.html?ine=250254'},
						{text:'Vielha e Mijaran', url: root + 'val_aran.html?ine=252430'},
						{text:'Vilam' + String.fromCharCode(242) + 's', url: root + 'val_aran.html?ine=252477'},
						{text:'Badia del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_occidental.html?ine=089045'},
						{text:'Barber' + String.fromCharCode(224) + ' del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_occidental.html?ine=082520'},
						{text:'Castellar del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_occidental.html?ine=080517'},
						{text:'Castellbisbal', url: root + 'valles_occidental.html?ine=080543'},
						{text:'Cerdanyola del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_occidental.html?ine=082665'},
						{text:'Gallifa', url: root + 'valles_occidental.html?ine=080879'},
						{text:'Matadepera', url: root + 'valles_occidental.html?ine=081206'},
						{text:'Montcada i Reixac', url: root + 'valles_occidental.html?ine=081252'},
						{text:'Palau-solit' + String.fromCharCode(224) + ' i Plegamans', url: root + 'valles_occidental.html?ine=081568'},
						{text:'Poliny' + String.fromCharCode(224), url: root + 'valles_occidental.html?ine=081672'},
						{text:'Rellinars', url: root + 'valles_occidental.html?ine=081799'},
						{text:'Ripollet', url: root + 'valles_occidental.html?ine=081803'},
						{text:'Rub' + String.fromCharCode(237), url: root + 'valles_occidental.html?ine=081846'},
						{text:'Sabadell', url: root + 'valles_occidental.html?ine=081878'},
						{text:'Santa Perp' + String.fromCharCode(232) + 'tua de Mogoda', url: root + 'valles_occidental.html?ine=082606'},
						{text:'Sant Cugat del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_occidental.html?ine=082055'},
						{text:'Sant Lloren' + String.fromCharCode(231) + ' Savall', url: root + 'valles_occidental.html?ine=082233'},
						{text:'Sant Quirze del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_occidental.html?ine=082384'},
						{text:'Sentmenat', url: root + 'valles_occidental.html?ine=082671'},
						{text:'Terrassa', url: root + 'valles_occidental.html?ine=082798'},
						{text:'Ullastrell', url: root + 'valles_occidental.html?ine=082900'},
						{text:'Vacarisses', url: root + 'valles_occidental.html?ine=082917'},
						{text:'Viladecavalls', url: root + 'valles_occidental.html?ine=083008'},
						{text:'Aiguafreda', url: root + 'valles_oriental.html?ine=080142'},
						{text:'Bigues i Riells', url: root + 'valles_oriental.html?ine=080235'},
						{text:'Caldes de Montbui', url: root + 'valles_oriental.html?ine=080333'},
						{text:'Campins', url: root + 'valles_oriental.html?ine=080399'},
						{text:'Canovelles', url: root + 'valles_oriental.html?ine=080410'},
						{text:'C' + String.fromCharCode(224) + 'noves i Samal' + String.fromCharCode(250) + 's', url: root + 'valles_oriental.html?ine=080425'},
						{text:'Cardedeu', url: root + 'valles_oriental.html?ine=080462'},
						{text:'Castellcir', url: root + 'valles_oriental.html?ine=080556'},
						{text:'Castellter' + String.fromCharCode(231) + 'ol', url: root + 'valles_oriental.html?ine=080641'},
						{text:'Figar' + String.fromCharCode(243) + '-Montmany', url: root + 'valles_oriental.html?ine=081347'},
						{text:'Fogars de Montcl' + String.fromCharCode(250) + 's', url: root + 'valles_oriental.html?ine=080811'},
						{text:'Granera', url: root + 'valles_oriental.html?ine=080958'},
						{text:'Granollers', url: root + 'valles_oriental.html?ine=080961'},
						{text:'Gualba', url: root + 'valles_oriental.html?ine=080977'},
						{text:'La Garriga', url: root + 'valles_oriental.html?ine=080885'},
						{text:'La Llagosta', url: root + 'valles_oriental.html?ine=081056'},
						{text:'L' + String.fromCharCode(39) + 'Ametlla del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_oriental.html?ine=080057'},
						{text:'La Roca del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_oriental.html?ine=081810'},
						{text:'Les Franqueses del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_oriental.html?ine=080863'},
						{text:'Lli' + String.fromCharCode(231) + String.fromCharCode(224) + ' d' + String.fromCharCode(39) + 'Amunt', url: root + 'valles_oriental.html?ine=081075'},
						{text:'Lli' + String.fromCharCode(231) + String.fromCharCode(224) + ' de Vall', url: root + 'valles_oriental.html?ine=081081'},
						{text:'Llinars del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_oriental.html?ine=081069'},
						{text:'Martorelles', url: root + 'valles_oriental.html?ine=081154'},
						{text:'Mollet del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_oriental.html?ine=081249'},
						{text:'Montmel' + String.fromCharCode(243), url: root + 'valles_oriental.html?ine=081350'},
						{text:'Montorn' + String.fromCharCode(232) + 's del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_oriental.html?ine=081363'},
						{text:'Montseny', url: root + 'valles_oriental.html?ine=081379'},
						{text:'Parets del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_oriental.html?ine=081593'},
						{text:'Santa Eul' + String.fromCharCode(224) + 'lia de Ron' + String.fromCharCode(231) + 'ana', url: root + 'valles_oriental.html?ine=082482'},
						{text:'Santa Maria de Martorelles', url: root + 'valles_oriental.html?ine=082567'},
						{text:'Santa Maria de Palautordera', url: root + 'valles_oriental.html?ine=082592'},
						{text:'Sant Antoni de Vilamajor', url: root + 'valles_oriental.html?ine=081982'},
						{text:'Sant Celoni', url: root + 'valles_oriental.html?ine=082021'},
						{text:'Sant Esteve de Palautordera', url: root + 'valles_oriental.html?ine=082074'},
						{text:'Sant Feliu de Codines', url: root + 'valles_oriental.html?ine=082107'},
						{text:'Sant Fost de Campsentelles', url: root + 'valles_oriental.html?ine=082093'},
						{text:'Sant Pere de Vilamajor', url: root + 'valles_oriental.html?ine=082346'},
						{text:'Sant Quirze Safaja', url: root + 'valles_oriental.html?ine=082397'},
						{text:'Tagamanent', url: root + 'valles_oriental.html?ine=082763'},
						{text:'Vallgorguina', url: root + 'valles_oriental.html?ine=082943'},
						{text:'Vallromanes', url: root + 'valles_oriental.html?ine=082969'},
						{text:'Vilalba Sasserra', url: root + 'valles_oriental.html?ine=083067'},
						{text:'Vilanova del Vall' + String.fromCharCode(232) + 's', url: root + 'valles_oriental.html?ine=089024'}];	
}



function getForeCoast(e){
	if(e.target.parentNode.tagName.toLowerCase() == "li") return false;
	var source = e.target || e.srcElement,
		sourceSrc = $(source).parent().attr("href"),
		target = $(source).parent().parent().parent().parent().find("img"),
		sizes = [target.outerWidth(true), target.height()],
		position = target.position();
	
	$(source).parent().parent().parent().parent().css("position", "relative")
			 .append("<div class='foreCoastLoading'>Cargando...</div>");
			
	$(".foreCoastLoading").css({width: sizes[0]+"px", height: sizes[1]+"px", top: (position.top-8)+"px", left: (position.left+8)+"px"});
			 
	target.attr("src", sourceSrc).load(function(){ //Double attribute changed for Chrome
		$(".foreCoastLoading").fadeOut("normal", function(){$(this).parent().removeAttr("style"); $(this).remove();});
	});
	refreshForecoastTargets(source);
	return false;

}

function refreshForecoastTargets(current){
	$(current).unwrap();
	$(current).parents("li:first").addClass("down").removeClass("right");
	if(current.id == "uiGetForecoastTomorrow"){
		if ($("#uiGetForecoastToday").parent("li").length) {
			$("#uiGetForecoastToday").wrap($(document).data("today"));
			$("#uiGetForecoastToday").parents("li:first").removeClass("down").addClass("right");
		}
	}
	if(current.id == "uiGetForecoastToday"){
		if($("#uiGetForecoastTomorrow").parent("li").length){
			$("#uiGetForecoastTomorrow").wrap($(document).data("tomorrow"));
			$("#uiGetForecoastTomorrow").parents("li:first").removeClass("down").addClass("right");
		}
	}
}


function openModal(){
	$("#fade").fullscreen();
	$("#fade").css({ opacity: 0, display: "block" }).animate({opacity: 0.75}, "slow");
	$("#modalMesInfo").fadeIn("fast", function(){ $("#fade").fullscreen(); });
	return false;
}



jQuery.fn.fullscreen = function(){
	var overlayheight = $(document).height(),
		overlayWidth = $(window).width();
	$(this).css({ width: overlayWidth+"px", height: overlayheight+"px" });
	return $(this);
}
function closeModal(){
	$("#fade").css({display: "none" }).animate({opacity: 1}, "slow");
	$("#modalMesInfo").fadeOut("fast");
	return false;
}

function goToComarca(){
	var comarques = document.getElementById("llista_comarques");
	var url = comarques.options[comarques.selectedIndex].value;
	document.getElementById("form_comarques").action = url;
}

addEvent(window, 'load', function(){
	addEvent(document.getElementById("form_comarques"), 'submit', goToComarca);
});


function MM_preloadImages() { //v3.0

  	var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i] + '?radn=' + new Date().getTime();}}

}



/**
 * jCarousel - Riding carousels with jQuery
 *   http://sorgalla.com/jcarousel/
 *
 * Copyright (c) 2006 Jan Sorgalla (http://sorgalla.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * Built on top of the jQuery library
 *   http://jquery.com
 *
 * Inspired by the "Carousel Component" by Bill Scott
 *   http://billwscott.com/carousel/
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(9($){$.1s.A=9(o){z 4.14(9(){2H r(4,o)})};8 q={W:F,23:1,1G:1,u:7,15:3,16:7,1H:\'2I\',24:\'2J\',1i:0,B:7,1j:7,1I:7,25:7,26:7,27:7,28:7,29:7,2a:7,2b:7,1J:\'<N></N>\',1K:\'<N></N>\',2c:\'2d\',2e:\'2d\',1L:7,1M:7};$.A=9(e,o){4.5=$.17({},q,o||{});4.Q=F;4.D=7;4.H=7;4.t=7;4.R=7;4.S=7;4.O=!4.5.W?\'1N\':\'2f\';4.E=!4.5.W?\'2g\':\'2h\';8 a=\'\',1d=e.J.1d(\' \');1k(8 i=0;i<1d.K;i++){6(1d[i].2i(\'A-2j\')!=-1){$(e).1t(1d[i]);8 a=1d[i];1l}}6(e.2k==\'2K\'||e.2k==\'2L\'){4.t=$(e);4.D=4.t.18();6(4.D.1m(\'A-H\')){6(!4.D.18().1m(\'A-D\'))4.D=4.D.B(\'<N></N>\');4.D=4.D.18()}X 6(!4.D.1m(\'A-D\'))4.D=4.t.B(\'<N></N>\').18()}X{4.D=$(e);4.t=$(e).2M(\'>2l,>2m,N>2l,N>2m\')}6(a!=\'\'&&4.D.18()[0].J.2i(\'A-2j\')==-1)4.D.B(\'<N 2N=" \'+a+\'"></N>\');4.H=4.t.18();6(!4.H.K||!4.H.1m(\'A-H\'))4.H=4.t.B(\'<N></N>\').18();4.S=$(\'.A-11\',4.D);6(4.S.u()==0&&4.5.1K!=7)4.S=4.H.1u(4.5.1K).11();4.S.V(4.J(\'A-11\'));4.R=$(\'.A-19\',4.D);6(4.R.u()==0&&4.5.1J!=7)4.R=4.H.1u(4.5.1J).11();4.R.V(4.J(\'A-19\'));4.H.V(4.J(\'A-H\'));4.t.V(4.J(\'A-t\'));4.D.V(4.J(\'A-D\'));8 b=4.5.16!=7?1n.1O(4.1o()/4.5.16):7;8 c=4.t.2O(\'1v\');8 d=4;6(c.u()>0){8 f=0,i=4.5.1G;c.14(9(){d.1P(4,i++);f+=d.T(4,b)});4.t.y(4.O,f+\'U\');6(!o||o.u===L)4.5.u=c.u()}4.D.y(\'1w\',\'1x\');4.R.y(\'1w\',\'1x\');4.S.y(\'1w\',\'1x\');4.2n=9(){d.19()};4.2o=9(){d.11()};4.1Q=9(){d.2p()};6(4.5.1j!=7)4.5.1j(4,\'2q\');6($.2r.2s){4.1e(F,F);$(2t).1y(\'2P\',9(){d.1z()})}X 4.1z()};8 r=$.A;r.1s=r.2Q={A:\'0.2.3\'};r.1s.17=r.17=$.17;r.1s.17({1z:9(){4.C=7;4.G=7;4.Y=7;4.12=7;4.1a=F;4.1f=7;4.P=7;4.Z=F;6(4.Q)z;4.t.y(4.E,4.1A(4.5.1G)+\'U\');8 p=4.1A(4.5.23);4.Y=4.12=7;4.1p(p,F);$(2t).1R(\'2u\',4.1Q).1y(\'2u\',4.1Q)},2v:9(){4.t.2w();4.t.y(4.E,\'2R\');4.t.y(4.O,\'2S\');6(4.5.1j!=7)4.5.1j(4,\'2v\');4.1z()},2p:9(){6(4.P!=7&&4.Z)4.t.y(4.E,r.I(4.t.y(4.E))+4.P);4.P=7;4.Z=F;6(4.5.1I!=7)4.5.1I(4);6(4.5.16!=7){8 a=4;8 b=1n.1O(4.1o()/4.5.16),O=0,E=0;$(\'1v\',4.t).14(9(i){O+=a.T(4,b);6(i+1<a.C)E=O});4.t.y(4.O,O+\'U\');4.t.y(4.E,-E+\'U\')}4.15(4.C,F)},2T:9(){4.Q=1g;4.1e()},2U:9(){4.Q=F;4.1e()},u:9(s){6(s!=L){4.5.u=s;6(!4.Q)4.1e()}z 4.5.u},2V:9(i,a){6(a==L||!a)a=i;6(4.5.u!==7&&a>4.5.u)a=4.5.u;1k(8 j=i;j<=a;j++){8 e=4.M(j);6(!e.K||e.1m(\'A-1b-1B\'))z F}z 1g},M:9(i){z $(\'.A-1b-\'+i,4.t)},2x:9(i,s){8 e=4.M(i),1S=0,2x=0;6(e.K==0){8 c,e=4.1C(i),j=r.I(i);1q(c=4.M(--j)){6(j<=0||c.K){j<=0?4.t.2y(e):c.1T(e);1l}}}X 1S=4.T(e);e.1t(4.J(\'A-1b-1B\'));1U s==\'2W\'?e.2X(s):e.2w().2Y(s);8 a=4.5.16!=7?1n.1O(4.1o()/4.5.16):7;8 b=4.T(e,a)-1S;6(i>0&&i<4.C)4.t.y(4.E,r.I(4.t.y(4.E))-b+\'U\');4.t.y(4.O,r.I(4.t.y(4.O))+b+\'U\');z e},1V:9(i){8 e=4.M(i);6(!e.K||(i>=4.C&&i<=4.G))z;8 d=4.T(e);6(i<4.C)4.t.y(4.E,r.I(4.t.y(4.E))+d+\'U\');e.1V();4.t.y(4.O,r.I(4.t.y(4.O))-d+\'U\')},19:9(){4.1D();6(4.P!=7&&!4.Z)4.1W(F);X 4.15(((4.5.B==\'1X\'||4.5.B==\'G\')&&4.5.u!=7&&4.G==4.5.u)?1:4.C+4.5.15)},11:9(){4.1D();6(4.P!=7&&4.Z)4.1W(1g);X 4.15(((4.5.B==\'1X\'||4.5.B==\'C\')&&4.5.u!=7&&4.C==1)?4.5.u:4.C-4.5.15)},1W:9(b){6(4.Q||4.1a||!4.P)z;8 a=r.I(4.t.y(4.E));!b?a-=4.P:a+=4.P;4.Z=!b;4.Y=4.C;4.12=4.G;4.1p(a)},15:9(i,a){6(4.Q||4.1a)z;4.1p(4.1A(i),a)},1A:9(i){6(4.Q||4.1a)z;i=r.I(i);6(4.5.B!=\'1c\')i=i<1?1:(4.5.u&&i>4.5.u?4.5.u:i);8 a=4.C>i;8 b=r.I(4.t.y(4.E));8 f=4.5.B!=\'1c\'&&4.C<=1?1:4.C;8 c=a?4.M(f):4.M(4.G);8 j=a?f:f-1;8 e=7,l=0,p=F,d=0;1q(a?--j>=i:++j<i){e=4.M(j);p=!e.K;6(e.K==0){e=4.1C(j).V(4.J(\'A-1b-1B\'));c[a?\'1u\':\'1T\'](e)}c=e;d=4.T(e);6(p)l+=d;6(4.C!=7&&(4.5.B==\'1c\'||(j>=1&&(4.5.u==7||j<=4.5.u))))b=a?b+d:b-d}8 g=4.1o();8 h=[];8 k=0,j=i,v=0;8 c=4.M(i-1);1q(++k){e=4.M(j);p=!e.K;6(e.K==0){e=4.1C(j).V(4.J(\'A-1b-1B\'));c.K==0?4.t.2y(e):c[a?\'1u\':\'1T\'](e)}c=e;8 d=4.T(e);6(d==0){2Z(\'30: 31 1N/2f 32 1k 33. 34 35 36 37 38 39. 3a...\');z 0}6(4.5.B!=\'1c\'&&4.5.u!==7&&j>4.5.u)h.3b(e);X 6(p)l+=d;v+=d;6(v>=g)1l;j++}1k(8 x=0;x<h.K;x++)h[x].1V();6(l>0){4.t.y(4.O,4.T(4.t)+l+\'U\');6(a){b-=l;4.t.y(4.E,r.I(4.t.y(4.E))-l+\'U\')}}8 n=i+k-1;6(4.5.B!=\'1c\'&&4.5.u&&n>4.5.u)n=4.5.u;6(j>n){k=0,j=n,v=0;1q(++k){8 e=4.M(j--);6(!e.K)1l;v+=4.T(e);6(v>=g)1l}}8 o=n-k+1;6(4.5.B!=\'1c\'&&o<1)o=1;6(4.Z&&a){b+=4.P;4.Z=F}4.P=7;6(4.5.B!=\'1c\'&&n==4.5.u&&(n-k+1)>=1){8 m=r.10(4.M(n),!4.5.W?\'1r\':\'1Y\');6((v-m)>g)4.P=v-g-m}1q(i-->o)b+=4.T(4.M(i));4.Y=4.C;4.12=4.G;4.C=o;4.G=n;z b},1p:9(p,a){6(4.Q||4.1a)z;4.1a=1g;8 b=4;8 c=9(){b.1a=F;6(p==0)b.t.y(b.E,0);6(b.5.B==\'1X\'||b.5.B==\'G\'||b.5.u==7||b.G<b.5.u)b.2z();b.1e();b.1Z(\'2A\')};4.1Z(\'3c\');6(!4.5.1H||a==F){4.t.y(4.E,p+\'U\');c()}X{8 o=!4.5.W?{\'2g\':p}:{\'2h\':p};4.t.1p(o,4.5.1H,4.5.24,c)}},2z:9(s){6(s!=L)4.5.1i=s;6(4.5.1i==0)z 4.1D();6(4.1f!=7)z;8 a=4;4.1f=3d(9(){a.19()},4.5.1i*3e)},1D:9(){6(4.1f==7)z;3f(4.1f);4.1f=7},1e:9(n,p){6(n==L||n==7){8 n=!4.Q&&4.5.u!==0&&((4.5.B&&4.5.B!=\'C\')||4.5.u==7||4.G<4.5.u);6(!4.Q&&(!4.5.B||4.5.B==\'C\')&&4.5.u!=7&&4.G>=4.5.u)n=4.P!=7&&!4.Z}6(p==L||p==7){8 p=!4.Q&&4.5.u!==0&&((4.5.B&&4.5.B!=\'G\')||4.C>1);6(!4.Q&&(!4.5.B||4.5.B==\'G\')&&4.5.u!=7&&4.C==1)p=4.P!=7&&4.Z}8 a=4;4.R[n?\'1y\':\'1R\'](4.5.2c,4.2n)[n?\'1t\':\'V\'](4.J(\'A-19-1E\')).20(\'1E\',n?F:1g);4.S[p?\'1y\':\'1R\'](4.5.2e,4.2o)[p?\'1t\':\'V\'](4.J(\'A-11-1E\')).20(\'1E\',p?F:1g);6(4.R.K>0&&(4.R[0].1h==L||4.R[0].1h!=n)&&4.5.1L!=7){4.R.14(9(){a.5.1L(a,4,n)});4.R[0].1h=n}6(4.S.K>0&&(4.S[0].1h==L||4.S[0].1h!=p)&&4.5.1M!=7){4.S.14(9(){a.5.1M(a,4,p)});4.S[0].1h=p}},1Z:9(a){8 b=4.Y==7?\'2q\':(4.Y<4.C?\'19\':\'11\');4.13(\'25\',a,b);6(4.Y!==4.C){4.13(\'26\',a,b,4.C);4.13(\'27\',a,b,4.Y)}6(4.12!==4.G){4.13(\'28\',a,b,4.G);4.13(\'29\',a,b,4.12)}4.13(\'2a\',a,b,4.C,4.G,4.Y,4.12);4.13(\'2b\',a,b,4.Y,4.12,4.C,4.G)},13:9(a,b,c,d,e,f,g){6(4.5[a]==L||(1U 4.5[a]!=\'2B\'&&b!=\'2A\'))z;8 h=1U 4.5[a]==\'2B\'?4.5[a][b]:4.5[a];6(!$.3g(h))z;8 j=4;6(d===L)h(j,c,b);X 6(e===L)4.M(d).14(9(){h(j,4,d,c,b)});X{1k(8 i=d;i<=e;i++)6(i!==7&&!(i>=f&&i<=g))4.M(i).14(9(){h(j,4,i,c,b)})}},1C:9(i){z 4.1P(\'<1v></1v>\',i)},1P:9(e,i){8 a=$(e).V(4.J(\'A-1b\')).V(4.J(\'A-1b-\'+i));a.20(\'3h\',i);z a},J:9(c){z c+\' \'+c+(!4.5.W?\'-3i\':\'-W\')},T:9(e,d){8 a=e.2C!=L?e[0]:e;8 b=!4.5.W?a.1F+r.10(a,\'2D\')+r.10(a,\'1r\'):a.2E+r.10(a,\'2F\')+r.10(a,\'1Y\');6(d==L||b==d)z b;8 w=!4.5.W?d-r.10(a,\'2D\')-r.10(a,\'1r\'):d-r.10(a,\'2F\')-r.10(a,\'1Y\');$(a).y(4.O,w+\'U\');z 4.T(a)},1o:9(){z!4.5.W?4.H[0].1F-r.I(4.H.y(\'3j\'))-r.I(4.H.y(\'3k\')):4.H[0].2E-r.I(4.H.y(\'3l\'))-r.I(4.H.y(\'3m\'))},3n:9(i,s){6(s==L)s=4.5.u;z 1n.3o((((i-1)/s)-1n.3p((i-1)/s))*s)+1}});r.17({3q:9(d){z $.17(q,d||{})},10:9(e,p){6(!e)z 0;8 a=e.2C!=L?e[0]:e;6(p==\'1r\'&&$.2r.2s){8 b={\'1w\':\'1x\',\'3r\':\'3s\',\'1N\':\'1i\'},21,22;$.2G(a,b,9(){21=a.1F});b[\'1r\']=0;$.2G(a,b,9(){22=a.1F});z 22-21}z r.I($.y(a,p))},I:9(v){v=3t(v);z 3u(v)?0:v}})})(3v);',62,218,'||||this|options|if|null|var|function||||||||||||||||||||list|size||||css|return|jcarousel|wrap|first|container|lt|false|last|clip|intval|className|length|undefined|get|div|wh|tail|locked|buttonNext|buttonPrev|dimension|px|addClass|vertical|else|prevFirst|inTail|margin|prev|prevLast|callback|each|scroll|visible|extend|parent|next|animating|item|circular|split|buttons|timer|true|jcarouselstate|auto|initCallback|for|break|hasClass|Math|clipping|animate|while|marginRight|fn|removeClass|before|li|display|block|bind|setup|pos|placeholder|create|stopAuto|disabled|offsetWidth|offset|animation|reloadCallback|buttonNextHTML|buttonPrevHTML|buttonNextCallback|buttonPrevCallback|width|ceil|format|funcResize|unbind|old|after|typeof|remove|scrollTail|both|marginBottom|notify|attr|oWidth|oWidth2|start|easing|itemLoadCallback|itemFirstInCallback|itemFirstOutCallback|itemLastInCallback|itemLastOutCallback|itemVisibleInCallback|itemVisibleOutCallback|buttonNextEvent|click|buttonPrevEvent|height|left|top|indexOf|skin|nodeName|ul|ol|funcNext|funcPrev|reload|init|browser|safari|window|resize|reset|empty|add|prepend|startAuto|onAfterAnimation|object|jquery|marginLeft|offsetHeight|marginTop|swap|new|normal|swing|UL|OL|find|class|children|load|prototype|0px|10px|lock|unlock|has|string|html|append|alert|jCarousel|No|set|items|This|will|cause|an|infinite|loop|Aborting|push|onBeforeAnimation|setTimeout|1000|clearTimeout|isFunction|jcarouselindex|horizontal|borderLeftWidth|borderRightWidth|borderTopWidth|borderBottomWidth|index|round|floor|defaults|float|none|parseInt|isNaN|jQuery'.split('|'),0,{}))

