1// Init 2console.log("carga funciones.js"); 3cbpAnimatedHeader = null; 4 5if(typeof RACESERVICES === 'undefined') 6{ 7 RACESERVICES = ""; 8} 9else if(RACESERVICES === null) 10{ 11 RACESERVICES = ""; 12} 13 14 15var URLServicios = "https://" + RACESERVICES + "raceservices.race.es/raceServices"; 16var RACEServicesAuth = "Basic d3NyYWNlOnc1cjFjMg=="; 17var ipPublica = ""; 18 19var intervalEventosResponsive; 20var intervalEventosSidebar; 21var intervalAsociarSlick; 22var intervalSetTarjetaAnimada; 23 24jQuery(document).ready(function () { 25 26 intervalEventosResponsive = setInterval( function() { 27 if ( window.jQuery && window.jQuery().swipe ) { 28 clearInterval(intervalEventosResponsive); 29 eventosResponsive(); 30 31 } 32 }, 500); 33 intervalEventosSidebar = setInterval( function() { 34 if ( window.jQuery && window.jQuery().swipe ) { 35 clearInterval(intervalEventosSidebar); 36 eventosSidebar(); 37 } 38 }, 500); 39 40 eventosFormularios(); 41 eventosIFrames(); 42 eventosViajes(); 43 eventosIOS(); 44 procesaAnchorLinks(); 45 if (jQuery(".lcp_paginator li").length > 0) { 46 ajustaPaginador(); 47 } 48 setTimeout( 'igualaBloquesFooter', 2000 ); 49 50 var tam = jQuery(window).width(); 51 if (tam < 767) { 52 formularioMovil(); 53 // home(); 54 } 55 56 var solo1vez = 0; 57 if (solo1vez == 0) { 58 jQuery("#wonderplugingallery-189").hover(function (event) { 59 solo1vez = 1; 60 61 lentes_click(); 62 lentes(); 63 }); 64 } 65 // 2019 asocia el click interior al contenedor en elementos de clase "box" o "clickable-box" que tengan un solo CTA (y sea <a>). 66 // Si tiene m�s de un <a> pero es de la clase "clickable-box" se acepta, pero se escoger� el primero como link general. 67 if (jQuery(".box, .clickable-box").length > 0) { 68 jQuery(".box, .clickable-box").each(function() { 69 if ( jQuery(this).find("a").length == 1 || (jQuery(this).find("a").length > 1 && jQuery(this).hasClass("clickable-box")) ) { 70 jQuery(this).css('cursor','pointer'); 71 jQuery(this).css('cursor','hand'); 72 jQuery(this).on('click', function(e) { 73 window.location = jQuery(this).find("a").attr("href"); 74 return false; 75 }); 76 } 77 }); 78 } 79 // 2019 si existe un Post Grid con m�s de 1 item, a�ade las clases necesarias para transformarlo en Cards Carousel en mobile 80 if (jQuery(".vc_grid .vc_pageable-slide-wrapper").length > 0 && jQuery(".vc_grid .vc_pageable-slide-wrapper .vc_grid-item").length > 1) { 81 jQuery(".vc_grid .vc_pageable-slide-wrapper").addClass("cards-carousel"); 82 } 83 84 // 2019 asocia el carrusel Slick a los elementos con clase "cards-carousel" 85 if (tam < 767 && jQuery(".cards-carousel").length > 0) { 86 intervalAsociarSlick = setInterval( function() { 87 if ( window.jQuery && window.jQuery().slick ) { 88 clearInterval(intervalAsociarSlick); 89 asociarSlick(); 90 } 91 }, 500); 92 } 93 // 2019 eventos para Popup Maker. Comprobar el ID entre entornos de PRE y PRO. 94 if (jQuery('#pum-41109').length > 0) { 95 jQuery('#pum-41109').on("pumInit", function() { // No muestres el popup #41109 (encuesta Socios) si hay cookie de usuario previamente registrado en AP Socios 96 var cookieSocAccesoPrev = (document.cookie.match(/^(?:.*;)?\s*socio-acceso-previo\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 97 if (cookieSocAccesoPrev != null) return false; 98 }) 99 } 100 if (jQuery('#pum-42878').length > 0) { 101 jQuery('#pum-42878').on("pumInit", function() { // No muestres el popup #42878 (encuesta uso Salas VIP) si hay cookie de ya ha participado 102 var cookieSalasVIP = (document.cookie.match(/^(?:.*;)?\s*pum-encuestaSalasVIP\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 103 if (cookieSalasVIP != null) return false; 104 }) 105 } 106 if (jQuery('#pum-47359').length > 0) { 107 jQuery('#pum-47359').on("pumInit", function() { // No muestres el popup #47359 (encuesta Estaciones de Servicio) si hay cookie de ya ha participado 108 var cookieEstacionesServicio = (document.cookie.match(/^(?:.*;)?\s*pum-encuestaEstacionesServicio\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 109 if (cookieEstacionesServicio != null) return false;
110 }) 111 } 112 if (jQuery('#pum-50214').length > 0) { 113 jQuery('#pum-50214').on("pumInit", function() { // No muestres el popup #50214 (sorteo GALP 1 A�o de combustible gratis) si hay cookie de ya ha participado 114 var cookieSorteoGalp = (document.cookie.match(/^(?:.*;)?\s*pum-sorteoGALP\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 115 if (cookieSorteoGalp != null) return false; 116 // Tampoco lo muestres si tiene m�s de 3 vistas previas 117 cookieSorteoGalpVistas = (document.cookie.match(/^(?:.*;)?\s*pum-sorteoGALPVistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 118 if (parseInt(cookieSorteoGalpVistas) >= 3) return false; 119 }) 120 jQuery('#pum-50214').on("pumAfterClose", function() { // En cada cierre del popup #50214 (sorteo GALP 1 A�o de combustible gratis) incrementa la cookie de visualizaci�n. A partir de 3 ya no se muestra. 121 if (cookieSorteoGalpVistas != null) { 122 sorteoGalpVistas = parseInt(cookieSorteoGalpVistas); 123 if (sorteoGalpVistas < 3) setCookie("pum-sorteoGALPVistas",sorteoGalpVistas + 1, 99, "/","race.es",true,false); 124 } 125 else { 126 setCookie("pum-sorteoGALPVistas", 1, 99, "/","race.es",true,false); 127 } 128 }) 129 } 130 if (jQuery('#pum-51383').length > 0) { 131 jQuery('#pum-51383').on("pumInit", function() { // No muestres el popup #51383 (encuesta BaterÃa) si hay cookie de ya ha participado 132 var cookieBateria = (document.cookie.match(/^(?:.*;)?\s*pum-encuestabateria\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 133 if (cookieBateria != null) return false; 134 }) 135 } 136 if (jQuery('#pum-54553').length > 0) { 137 jQuery('#pum-54553').on("pumInit", function() { // No muestres el popup #54553 (Encuesta de Acceso a Salas VIP) si hay cookie de ya ha participado 138 var cookieAccesoSalaVIP = (document.cookie.match(/^(?:.*;)?\s*pum-encuestaaccesosalasvip\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 139 if (cookieAccesoSalaVIP != null) return false; 140 // Tampoco lo muestres si tiene m�s de 3 vistas previas 141 cookieAccesoSalaVIPVistas = (document.cookie.match(/^(?:.*;)?\s*pum-AccesoSalaVIPVistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 142 if (parseInt(cookieAccesoSalaVIPVistas) >= 3) return false; 143 }) 144 jQuery('#pum-54553').on("pumAfterClose", function() { // En cada cierre del popup #54553 (Encuesta de Acceso a Salas VIP) incrementa la cookie de visualizaci�n. A partir de 3 ya no se muestra. 145 if (cookieAccesoSalaVIPVistas != null) { 146 accesoSalaVIPVistas = parseInt(cookieAccesoSalaVIPVistas); 147 if (accesoSalaVIPVistas < 3) setCookie("pum-AccesoSalaVIPVistas",accesoSalaVIPVistas + 1, 99, "/","race.es",true,false); 148 } 149 else { 150 setCookie("pum-AccesoSalaVIPVistas", 1, 99, "/","race.es",true,false); 151 } 152 }) 153 } 154 if (jQuery('#pum-56239').length > 0) { 155 jQuery('#pum-56239').on("pumInit", function() { // No muestres el popup #56239 (Encuesta de Satisfaccion) si hay cookie de ya ha participado 156 var cookieSatisfaccion = (document.cookie.match(/^(?:.*;)?\s*pum-encuestasatisfaccion\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 157 if (cookieSatisfaccion != null) return false; 158 // Tampoco lo muestres si tiene m�s de 3 vistas previas 159 cookieSatisfaccionVistas = (document.cookie.match(/^(?:.*;)?\s*pum-encuestasatisfaccionVistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 160 if (parseInt(cookieSatisfaccionVistas) >= 3) return false; 161 }) 162 jQuery('#pum-56239').on("pumAfterClose", function() { // En cada cierre del popup #56239 (Encuesta de Satisfaccion) incrementa la cookie de visualizaci�n. A partir de 3 ya no se muestra. 163 if (cookieSatisfaccionVistas != null) { 164 satisfaccionVistas = parseInt(cookieSatisfaccionVistas); 165 if (satisfaccionVistas < 3) setCookie("pum-encuestasatisfaccionVistas",satisfaccionVistas + 1, 99, "/","race.es",true,false); 166 } 167 else {
168 setCookie("pum-encuestasatisfaccionVistas", 1, 99, "/","race.es",true,false); 169 } 170 }) 171 } 172 if (jQuery('#pum-57310').length > 0) { 173 jQuery('#pum-57310').on("pumInit", function() { // No muestres el popup #57310 (Encuesta de Neumaticos) si hay cookie de ya ha participado 174 var cookieNeumaticos = (document.cookie.match(/^(?:.*;)?\s*pum-encuestaneumaticos\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 175 if (cookieNeumaticos != null) return false; 176 // Tampoco lo muestres si tiene m�s de 3 vistas previas 177 cookieNeumaticosVistas = (document.cookie.match(/^(?:.*;)?\s*pum-encuestaneumaticosVistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 178 if (parseInt(cookieNeumaticosVistas) >= 3) return false; 179 }) 180 jQuery('#pum-57310').on("pumAfterClose", function() { // En cada cierre del popup #57310 (Encuesta de Neumaticos) incrementa la cookie de visualizaci�n. A partir de 3 ya no se muestra. 181 if (cookieNeumaticosVistas != null) { 182 neumaticosVistas = parseInt(cookieNeumaticosVistas); 183 if (neumaticosVistas < 3) setCookie("pum-encuestaneumaticosVistas",neumaticosVistas + 1, 99, "/","race.es",true,false); 184 } 185 else { 186 setCookie("pum-encuestaneumaticosVistas", 1, 99, "/","race.es",true,false); 187 } 188 }) 189 } 190 if (jQuery('#pum-58455').length > 0) { 191 jQuery('#pum-58455').on("pumInit", function() { // No muestres el popup #58455 (Encuesta de portalventajas) si hay cookie de ya ha participado 192 var cookieencuestapventajas2 = (document.cookie.match(/^(?:.*;)?\s*pum-encuestapventajas2\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 193 if (cookieencuestapventajas2 != null) return false; 194 // Tampoco lo muestres si tiene m�s de 3 vistas previas 195 cookieencuestapventajas2Vistas = (document.cookie.match(/^(?:.*;)?\s*pum-encuestapventajas2Vistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 196 if (parseInt(cookieencuestapventajas2Vistas) >= 3) return false; 197 }) 198 jQuery('#pum-58455').on("pumAfterClose", function() { // En cada cierre del popup #58455 (Encuesta de portal ventajas2incrementa la cookie de visualizaci�n. A partir de 3 ya no se muestra. 199 if (cookieencuestapventajas2Vistas != null) { 200 encuestapventajas2Vistas = parseInt(cookieencuestapventajas2Vistas); 201 if (encuestapventajas2Vistas < 3) setCookie("pum-encuestapventajas2Vistas",encuestapventajas2Vistas + 1, 99, "/","race.es",true,false); 202 } 203 else { 204 setCookie("pum-encuestapventajas2Vistas", 1, 99, "/","race.es",true,false); 205 } 206 }) 207 } 208 209 if (jQuery('#pum-59263').length > 0) { 210 jQuery('#pum-59263').on("pumInit", function() { // No muestres el popup #59263 (Encuesta de seguro coche) si hay cookie de ya ha participado 211 var cookieencuestasegurocoche = (document.cookie.match(/^(?:.*;)?\s*pum-encuestasegurocoche\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 212 if (cookieencuestasegurocoche != null) return false; 213 // Tampoco lo muestres si tiene m�s de 3 vistas previas 214 cookieencuestasegurococheVistas = (document.cookie.match(/^(?:.*;)?\s*pum-encuestasegurococheVistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 215 if (parseInt(cookieencuestasegurococheVistas) >= 3) return false; 216 }) 217 jQuery('#pum-59263').on("pumAfterClose", function() { // En cada cierre del popup #59263 (Encuesta de seguros de coche incrementa la cookie de visualizaci�n. A partir de 3 ya no se muestra. 218 if (cookieencuestasegurococheVistas != null) { 219 encuestasegurococheVistas = parseInt(cookieencuestasegurococheVistas); 220 if (encuestasegurococheVistas < 3) setCookie("pum-encuestasegurococheVistas",encuestapventajas2Vistas + 1, 99, "/","race.es",true,false); 221 } 222 else { 223 setCookie("pum-encuestasegurococheVistas", 1, 99, "/","race.es",true,false); 224 } 225 }) 226 } 227 228 if (jQuery('#pum-63295').length > 0) { 229 jQuery('#pum-63295').on("pumInit", function() { // No muestres el popup #63295 (Encuesta de valoracionserviciosasistinfor) si hay cookie de ya ha participado 230 var cookieencuestavaloracionserviciosasistinfor = (document.cookie.match(/^(?:.*;)?\s*pum-valoracionserviciosasistinfor\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 231 if (cookieencuestavaloracionserviciosasistinfor != null) return false;
232 // Tampoco lo muestres si tiene m?s de 3 vistas previas 233 cookieencuestavaloracionserviciosasistinforVistas = (document.cookie.match(/^(?:.*;)?\s*pum-valoracionserviciosasistinforVistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 234 if (parseInt(cookieencuestavaloracionserviciosasistinforVistas) >= 3) return false; 235 }) 236 jQuery('#pum-63295').on("pumAfterClose", function() { // En cada cierre del popup #63295 (Encuesta de seguros de valoracion servicios incrementa la cookie de visualizaci?n. A partir de 3 ya no se muestra. 237 if (cookieencuestavaloracionserviciosasistinforVistas != null) { 238 encuestavaloracionserviciosasistinforVistas = parseInt(cookieencuestavaloracionserviciosasistinforVistas); 239 if (encuestavaloracionserviciosasistinforVistas < 3) setCookie("pum-valoracionserviciosasistinforVistas",encuestavaloracionserviciosasistinforVistas + 1, 99, "/","race.es",true,false); 240 } 241 else { 242 setCookie("pum-valoracionserviciosasistinforVistas", 1, 99, "/","race.es",true,false); 243 } 244 }) 245 } 246 247 // 25/01/2021: Nueva encuesta area privada 248 if (jQuery('#pum-63956').length > 0) { 249 jQuery('#pum-63956').on("pumInit", function() { // No muestres el popup #63956 (Encuesta de gasolina) si hay cookie de ya ha participado 250 var cookieGasolina = (document.cookie.match(/^(?:.*;)?\s*pum-gasolina\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 251 if (cookieGasolina != null) return false; 252 // Tampoco lo muestres si tiene m�s de 3 vistas previas 253 cookieGasolinaVistas = (document.cookie.match(/^(?:.*;)?\s*pum-gasolinaVistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 254 if (parseInt(cookieGasolinaVistas) >= 3) return false; 255 }) 256 jQuery('#pum-63956').on("pumAfterClose", function() { // En cada cierre del popup #63956 (Encuesta de Ngasolina) incrementa la cookie de visualizaci�n. A partir de 3 ya no se muestra. 257 if (cookieGasolinaVistas != null) { 258 gasolinaVistas = parseInt(cookieGasolinaVistas); 259 if (gasolinaVistas < 3) setCookie("pum-gasolinaVistas",gasolinaVistas + 1, 99, "/","race.es",true,false); 260 } 261 else { 262 setCookie("pum-gasolinaVistas", 1, 99, "/","race.es",true,false); 263 } 264 }) 265 } 266 267 // 15/02/2021: Nueva encuesta area privada sobre area privada 268 if (jQuery('#pum-65873').length > 0) { 269 jQuery('#pum-65873').on("pumInit", function() { // No muestres el popup #65873 (Encuesta de areaprivada) si hay cookie de ya ha participado 270 var cookieaprivadafeb = (document.cookie.match(/^(?:.*;)?\s*pum-aprivadafeb\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 271 if (cookieaprivadafeb != null) return false; 272 // Tampoco lo muestres si tiene mïÿýs de 3 vistas previas 273 cookieaprivadafebVistas = (document.cookie.match(/^(?:.*;)?\s*pum-aprivadafebVistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 274 if (parseInt(cookieaprivadafebVistas) >= 3) return false; 275 }) 276 jQuery('#pum-65873').on("pumAfterClose", function() { // En cada cierre del popup #65873 (Encuesta de areaprivada) incrementa la cookie de visualizaciïÿýn. A partir de 3 ya no se muestra. 277 if (cookieaprivadafebVistas != null) { 278 aprivadafebVistas = parseInt(cookieaprivadafebVistas); 279 if (aprivadafebVistas < 3) setCookie("pum-aprivadafebVistas",aprivadafebVistas + 1, 99, "/","race.es",true,false); 280 } 281 else { 282 setCookie("pum-aprivadafebVistas", 1, 99, "/","race.es",true,false); 283 } 284 }) 285 } 286 287 // 09/03/2021: Nueva encuesta area privada sobre companias con que tienes contratado seguro coche 288 if (jQuery('#pum-66442').length > 0) { 289 jQuery('#pum-66442').on("pumInit", function() { // No muestres el popup #66442 (Encuesta de areaprivada) si hay cookie de ya ha participado 290 var cookieciasegcoche = (document.cookie.match(/^(?:.*;)?\s*pum-contratosegcoche\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 291 if (cookieciasegcoche != null) return false;
292 // Tampoco lo muestres si tiene mÃÆÃ¯ÃâÿÃâýs de 3 vistas previas 293 cookieciasegcocheVistas = (document.cookie.match(/^(?:.*;)?\s*pum-contratosegcocheVistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 294 if (parseInt(cookieciasegcocheVistas) >= 3) return false; 295 }) 296 jQuery('#pum-66442').on("pumAfterClose", function() { // En cada cierre del popup #66442 (Encuesta de areaprivada) incrementa la cookie de visualizaciÃÆÃ¯ÃâÿÃâýn. A partir de 3 ya no se muestra. 297 if (cookieciasegcocheVistas != null) { 298 contratosegcocheVistas = parseInt(cookieciasegcocheVistas); 299 if (contratosegcocheVistas < 3) setCookie("pum-contratosegcocheVistas",ciasegcocheVistas + 1, 99, "/","race.es",true,false); 300 } 301 else { 302 setCookie("pum-contratosegcocheVistas", 1, 99, "/","race.es",true,false); 303 } 304 }) 305 } 306 307 // 19/04/2021: Nueva encuesta area privada sobre compra sri 308 if (jQuery('#pum-67372').length > 0) { 309 jQuery('#pum-67372').on("pumInit", function() { // No muestres el popup #67372 (Encuesta de sri) si hay cookie de ya ha participado 310 var cookieSRI = (document.cookie.match(/^(?:.*;)?\s*pum-SRI\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 311 if (cookieSRI != null) return false; 312 // Tampoco lo muestres si tiene m�s de 3 vistas previas 313 cookieSRIVistas = (document.cookie.match(/^(?:.*;)?\s*pum-SRIVistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 314 if (parseInt(cookieSRIVistas) >= 3) return false; 315 }) 316 jQuery('#pum-67372').on("pumAfterClose", function() { // En cada cierre del popup #67372 (Encuesta de SRI) incrementa la cookie de visualizaci�n. A partir de 3 ya no se muestra. 317 if (cookieSRIVistas != null) { 318 SRIVistas = parseInt(cookieSRIVistas); 319 if (SRIVistas < 3) setCookie("pum-SRIVistas",SRIVistas + 1, 99, "/","race.es",true,false); 320 } 321 else { 322 setCookie("pum-SRIVistas", 1, 99, "/","race.es",true,false); 323 } 324 }) 325 } 326 327 // Septiembre 2021: nueva encuesta en el área privada 328 if (jQuery('#pum-71916').length > 0) { 329 jQuery('#pum-71916').on("pumInit", function() { // No muestres el popup #71916 (Encuesta de coche electrico) si hay cookie de ya ha participado 330 var cookiecelectrico = (document.cookie.match(/^(?:.*;)?\s*pum-eurekar\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 331 if (cookiecelectrico != null) return false; 332 // Tampoco lo muestres si tiene m�s de 3 vistas previas 333 cookiecelectricoVistas = (document.cookie.match(/^(?:.*;)?\s*pum-eurekarVistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 334 if (parseInt(cookiecelectricoVistas) >= 3) return false; 335 }) 336 jQuery('#pum-71916').on("pumAfterClose", function() { // En cada cierre del popup #71916 (Encuesta de coche electrico) incrementa la cookie de visualizaci�n. A partir de 3 ya no se muestra. 337 if (cookiecelectricoVistas != null) { 338 celectricoVistas = parseInt(cookiecelectricoVistas); 339 if (celectricoVistas < 3) setCookie("pum-eurekarVistas",celectricoVistas + 1, 99, "/","race.es",true,false); 340 } 341 else { 342 setCookie("pum-eurekarVistas", 1, 99, "/","race.es",true,false); 343 } 344 }) 345 } 346 347 348 349 // 2019 Extender JQuery con fn adicional para centrar popups 350 jQuery.fn.centerV = function () { 351 this.css("position","absolute"); 352 this.css("top","50%"); 353 this.css("margin-top", - this.outerHeight() / 2); 354 if (this.height() >= jQuery(window).height()) { // si es m�s alto que la pantalla, se coloca a 15px de arriba 355 this.css("top","0"); 356 this.css("margin-top","15px"); 357 } 358 return this; 359 } 360 jQuery.fn.centerH = function () { 361 this.css("position","absolute"); 362 this.css("left","50%"); 363 this.css("margin-left", - this.outerWidth() / 2); 364 return this; 365 } 366 367 jQuery('.dropdown-menu a').click(function(){ 368 var eventaction = jQuery(this).closest('.dropdown-menu').siblings().text(); 369 dataLayer.push({ 370 event:'clickMenu', 371 eventcategory:'Menu', 372 eventaction:eventaction, 373 eventlabel:this.href, 374 }); 375 }); 376 377 //Popup cookie 378/* 379 if (jQuery('#pum-74890').length > 0) { 380 381 //Get the cookie visit counter anc check if already exists 382 var cookie_popup = (document.cookie.match(/^(?:.*;)?\s*pum-sorteo800Vistas\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; 383 if (cookie_popup == null) {
384 setCookie("pum-sorteo800Vistas", 0, 99, "/","race.es",true,false); 385 } 386 387 //Check if visit counter is greater than 3 388 jQuery('#pum-74890').on("pumInit", function() { 389 if (parseInt(cookie_popup) >= 3) return false; 390 }); 391 392 //Increment the visit counter on popup close 393 jQuery('#pum-74890').on("pumAfterClose", function() { 394 let visitas = parseInt(cookie_popup); 395 if (cookie_popup < 3) setCookie("pum-sorteo800Vistas",visitas + 1, 99, "/","race.es",true,false); 396 }); 397 } 398 if (jQuery('#ninja_forms_field_977').length > 0) { 399 jQuery('#ninja_forms_field_977').click("click", function() { 400 setCookie("pum-celectrico",1, 99, "/","race.es",true,false); 401 }); 402 } 403*/ 404 405}) 406 407function asociarSlick() { 408 jQuery(".cards-carousel").slick({ 409 arrows:true, 410 dots:true 411 }); 412} 413 414function formularioMovil() { 415 416 417 if ((window.location.href == "https://www.race.es/formulario-alta-online-motoristas") 418 || (window.location.href == "https://www.race.es/formulario-alta-online-proteccion-vial") 419 || (window.location.href == "https://www.race.es/formulario-alta-online")) { 420 //general unlimited, motorista y vial 421 jQuery('form ul:first li:first label').css('display', 'none'); 422 jQuery('#nombre').attr("placeholder", "* Nombre"); 423 424 jQuery('form ul:first li:nth-child(3) label').css('display', 'none'); 425 jQuery('#apellido1').attr("placeholder", "* Apellidos"); 426 427 jQuery('form ul:first li:nth-child(4) label').css('display', 'none'); 428 jQuery('#documento_id').attr("placeholder", "* 45215483k"); 429 430 //jQuery('#dia').attr("type", "number"); 431 //jQuery('#mes').attr("type", "number"); 432 //jQuery('#ano').attr("type", "number"); 433 434 jQuery('form ul:first li:nth-child(6) label').css('display', 'none'); 435 jQuery('#email').attr("placeholder", "* E-mail"); 436 437 jQuery('form ul:first li:nth-child(7) label').css('display', 'none'); 438 jQuery('#telefono').attr("placeholder", "* Tel�fono"); 439 //jQuery('#telefono').attr("type", "number"); 440 441 jQuery('.list_unlimited li:first label').css('display', 'none'); 442 jQuery('#num_tar').attr("placeholder", "* N�mero Tarjeta"); 443 //jQuery('#num_tar').attr("type", "number"); 444 445 //jQuery('#mes_fc').attr("type", "number"); 446 //jQuery('#ano_fc').attr("type", "number"); 447 448 //jQuery('#iban_2').attr("type", "number"); 449 //jQuery('#iban_3').attr("type", "number"); 450 //jQuery('#iban_4').attr("type", "number"); 451 //jQuery('#iban_5').attr("type", "number"); 452 //jQuery('#iban_6').attr("type", "number"); 453 454 //jQuery('#cc_1').attr("type", "number"); 455 //jQuery('#cc_2').attr("type", "number"); 456 //jQuery('#cc_3').attr("type", "number"); 457 //jQuery('#cc_4').attr("type", "number"); 458 459 if (window.location.href == "https://www.race.es/formulario-alta-online") { 460 //solo unlimited vengo de parte de 461 jQuery('form ul:nth-of-type(2) li div ul li:first label').css('display', 'none'); 462 jQuery('#documento_id_1').attr("placeholder", "* 00000123"); 463 464 jQuery('form ul:nth-of-type(2) li div ul li:nth-child(2) label').css('display', 'none'); 465 jQuery('#documento_id_2').attr("placeholder", "* 45245486h"); 466 467 jQuery('form ul:nth-of-type(2) li div ul li:nth-child(3) label').css('display', 'none'); 468 jQuery('#cod_pos').attr("placeholder", "* Código Postal"); 469 //jQuery('#cod_pos').attr("type", "number"); 470 } 471 } 472 else if (window.location.href == "https://www.race.es/formulario-alta-duo-online") { 473 //principal 474 jQuery('form ul:first li:first div:nth-of-type(2) ul li:first label').css('display', 'none'); 475 jQuery('#nombre').attr("placeholder", "* Nombre"); 476 477 jQuery('form ul:first li:first div:nth-of-type(2) ul li:nth-of-type(2) label').css('display', 'none'); 478 jQuery('#apellido1').attr("placeholder", "* Apellidos"); 479 480 jQuery('form ul:first li:first div:nth-of-type(2) ul li:nth-of-type(3) label').css('display', 'none'); 481 jQuery('#documento_id').attr("placeholder", "* 45215483k"); 482 483 //jQuery('#dia').attr("type", "number"); 484 //jQuery('#mes').attr("type", "number"); 485 //jQuery('#ano').attr("type", "number"); 486 487 jQuery('form ul:first li:first div:nth-of-type(2) ul li:nth-of-type(5) label').css('display', 'none'); 488 jQuery('#email').attr("placeholder", "* Email"); 489 490 jQuery('form ul:first li:first div:nth-of-type(2) ul li:nth-of-type(6) label').css('display', 'none'); 491 jQuery('#telefono').attr("placeholder", "* Tel�fono"); 492 //jQuery('#telefono').attr("type", "number"); 493 494 //duo 495 jQuery('#formularioDeContratacionUnlimited div:nth-of-type(1) .list-colum-unique li:nth-of-type(2) label').css('display', 'none'); 496 jQuery('#nombre_duo').attr("placeholder", "* Nombre"); 497 498 jQuery('#formularioDeContratacionUnlimited div:nth-of-type(1) .list-colum-unique li:nth-of-type(3) label').css('display', 'none'); 499 jQuery('#apellido1_duo').attr("placeholder", "* Apellidos"); 500 501 jQuery('#formularioDeContratacionUnlimited div:nth-of-type(1) .list-colum-unique li:nth-of-type(4) label').css('display', 'none'); 502 jQuery('#documento_id_duo').attr("placeholder", "* 45789524g"); 503 504 //jQuery('#dia_duo').attr("type", "number"); 505 //jQuery('#mes_duo').attr("type", "number"); 506 //jQuery('#ano_duo').attr("type", "number"); 507 508 jQuery('#formularioDeContratacionUnlimited div:nth-of-type(1) .list-colum-unique li:nth-of-type(6) label').css('display', 'none'); 509 jQuery('#email_duo').attr("placeholder", "* Email"); 510 511 jQuery('#formularioDeContratacionUnlimited div:nth-of-type(1) .list-colum-unique li:nth-of-type(7) label').css('display', 'none'); 512 jQuery('#telefono_duo').attr("placeholder", "* Teléfono"); 513 //jQuery('#telefono_duo').attr("type", "number"); 514 515 //datos bancarios 516 jQuery('form div:nth-child(3) div ul li:nth-of-type(1) label').css('display', 'none'); 517 jQuery('#num_tar').attr("placeholder", "* Número Tarjeta"); 518 //jQuery('#num_tar').attr("type", "number"); 519 520 //jQuery('#mes_fc').attr("type", "number"); 521 //jQuery('#ano_fc').attr("type", "number"); 522 523 //jQuery('#iban_2').attr("type", "number"); 524 //jQuery('#iban_3').attr("type", "number"); 525 //jQuery('#iban_4').attr("type", "number"); 526 //jQuery('#iban_5').attr("type", "number"); 527 //jQuery('#iban_6').attr("type", "number"); 528 529 //jQuery('#cc_1').attr("type", "number"); 530 //jQuery('#cc_2').attr("type", "number"); 531 //jQuery('#cc_3').attr("type", "number"); 532 //jQuery('#cc_4').attr("type", "number"); 533 534 //datos bancarios duo 535 jQuery('form ul:nth-of-type(2) li div div:nth-of-type(3) div ul li:first label').css('display', 'none'); 536 jQuery('#num_tar_duo').attr("placeholder", "* Número Tarjeta"); 537 //jQuery('#num_tar_duo').attr("type", "number"); 538 539 //jQuery('#mes_fc_duo').attr("type", "number"); 540 //jQuery('#ano_fc_duo').attr("type", "number"); 541 542 //jQuery('#iban_2_duo').attr("type", "number"); 543 //jQuery('#iban_3_duo').attr("type", "number"); 544 //jQuery('#iban_4_duo').attr("type", "number"); 545 //jQuery('#iban_5_duo').attr("type", "number"); 546 //jQuery('#iban_6_duo').attr("type", "number"); 547 548 //jQuery('#cc_1_duo').attr("type", "number"); 549 //jQuery('#cc_2_duo').attr("type", "number"); 550 //jQuery('#cc_3_duo').attr("type", "number"); 551 //jQuery('#cc_4_duo').attr("type", "number"); 552 553 //solo unlimited vengo de parte de 554 jQuery('#formularioDeContratacionUnlimited ul:nth-of-type(3) .list-form li:first label').css('display', 'none'); 555 jQuery('#documento_id_4').attr("placeholder", "* 00000123"); 556 557 jQuery('#documento_id_5').attr("placeholder", "* 45245486h"); 558 559 jQuery('#cod_pos').attr("placeholder", "* Código Postal"); 560 //jQuery('#cod_pos').attr("type", "number"); 561 562 //ya soy socio 563 jQuery('#formularioDeContratacionUnlimited ul:nth-of-type(1) li div:first ul li:first label').css('display', 'none'); 564 jQuery('#documento_id_1').attr("placeholder", "* 00000123"); 565 566 jQuery('#documento_id_2').attr("placeholder", "* 45245486h"); 567 568 } 569 else if (window.location.href == "https://www.race.es/formulario-alta-family-online") { 570 //ya soy socio 571 jQuery('form ul:first li:first div:nth-of-type(1) ul li:first label').css('display', 'none'); 572 jQuery('#documento_id_1').attr("placeholder", "* 00000123"); 573 574 jQuery('form ul:first li:first div:nth-of-type(1) ul li:nth-of-type(2) label').css('display', 'none'); 575 jQuery('#documento_id_2').attr("placeholder", "* 45215483k"); 576 577 //principal 578 jQuery('form ul:first li:first div:nth-of-type(2) ul li:first label').css('display', 'none'); 579 jQuery('#nombre').attr("placeholder", "* Nombre"); 580 581 jQuery('form ul:first li:first div:nth-of-type(2) ul li:nth-of-type(2) label').css('display', 'none'); 582 jQuery('#apellido1').attr("placeholder", "* Apellidos"); 583 584 jQuery('form ul:first li:first div:nth-of-type(2) ul li:nth-of-type(3) label').css('display', 'none'); 585 jQuery('#documento_id').attr("placeholder", "* 45215483k"); 586 587 //jQuery('#dia').attr("type", "number"); 588 //jQuery('#mes').attr("type", "number"); 589 //jQuery('#ano').attr("type", "number"); 590 591 jQuery('form ul:first li:first div:nth-of-type(2) ul li:nth-of-type(5) label').css('display', 'none'); 592 jQuery('#email').attr("placeholder", "* Email"); 593 594 jQuery('form ul:first li:first div:nth-of-type(2) ul li:nth-of-type(6) label').css('display', 'none'); 595 jQuery('#telefono').attr("placeholder", "* Teléfono"); 596 //jQuery('#telefono').attr("type", "number"); 597 598 599 //familiar 1 600 jQuery('form>div:nth-of-type(2) ul li:nth-of-type(2) label').css('display', 'none'); 601 jQuery('#nombre_f1').attr("placeholder", "* Nombre"); 602 603 jQuery('form>div:nth-of-type(2) ul li:nth-of-type(3) label').css('display', 'none'); 604 jQuery('#apellido1_f1').attr("placeholder", "* Apellidos"); 605 606 jQuery('form>div:nth-of-type(2) ul li:nth-of-type(4) label').css('display', 'none'); 607 jQuery('#documento_id_f1').attr("placeholder", "* 45215483k"); 608 609 //jQuery('#dia_f1').attr("type", "number"); 610 //jQuery('#mes_f1').attr("type", "number"); 611 //jQuery('#ano_f1').attr("type", "number"); 612 613 jQuery('form>div:nth-of-type(2) ul li:nth-of-type(6) label').css('display', 'none'); 614 jQuery('#email_f1').attr("placeholder", "* Email"); 615 616 jQuery('form>div:nth-of-type(2) ul li:nth-of-type(7) label').css('display', 'none'); 617 jQuery('#telefono_f1').attr("placeholder", "* Teléfono"); 618 //jQuery('#telefono_f1').attr("type", "number"); 619 620 //familiar 2 621 jQuery('form div:nth-of-type(3) .list-colum-unique li:nth-of-type(2) label').css('display', 'none'); 622 jQuery('#nombre_f2').attr("placeholder", "* Nombre"); 623 624 jQuery('form div:nth-of-type(3) .list-colum-unique li:nth-of-type(3) label').css('display', 'none'); 625 jQuery('#apellido1_f2').attr("placeholder", "* Apellidos"); 626 627 jQuery('form div:nth-of-type(3) .list-colum-unique li:nth-of-type(4) label').css('display', 'none'); 628 jQuery('#documento_id_f2').attr("placeholder", "* 45215483k"); 629 630 //jQuery('#dia_f2').attr("type", "number"); 631 //jQuery('#mes_f2').attr("type", "number"); 632 //jQuery('#ano_f2').attr("type", "number"); 633 634 jQuery('form div:nth-of-type(3) .list-colum-unique li:nth-of-type(6) label').css('display', 'none'); 635 jQuery('#email_f2').attr("placeholder", "* Email"); 636 637 jQuery('form div:nth-of-type(3) .list-colum-unique li:nth-of-type(7) label').css('display', 'none'); 638 jQuery('#telefono_f2').attr("placeholder", "* Teléfono"); 639 //jQuery('#telefono_f2').attr("type", "number"); 640 641 //familiar 3 y familiar 4 est� en family_fao.js 642 643 644 //datos bancarios 645 jQuery('#db_1_1 div ul li:nth-of-type(1) label').css('display', 'none'); 646 jQuery('#num_tar').attr("placeholder", "* Número Tarjeta"); 647 //jQuery('#num_tar').attr("type", "number"); 648 649 //jQuery('#mes_fc').attr("type", "number"); 650 //jQuery('#ano_fc').attr("type", "number"); 651 652 //jQuery('#iban_2').attr("type", "number"); 653 //jQuery('#iban_3').attr("type", "number"); 654 //jQuery('#iban_4').attr("type", "number"); 655 //jQuery('#iban_5').attr("type", "number"); 656 //jQuery('#iban_6').attr("type", "number"); 657 658 //jQuery('#cc_1').attr("type", "number"); 659 //jQuery('#cc_2').attr("type", "number"); 660 //jQuery('#cc_3').attr("type", "number"); 661 //jQuery('#cc_4').attr("type", "number"); 662
663 //datos bancarios familiar 664 jQuery('#db_2_1 div ul li:nth-of-type(1) label').css('display', 'none'); 665 jQuery('#num_tar_duo').attr("placeholder", "* Número Tarjeta"); 666 //jQuery('#num_tar_duo').attr("type", "number"); 667 668 //jQuery('#mes_fc_duo').attr("type", "number"); 669 //jQuery('#ano_fc_duo').attr("type", "number"); 670 671 //jQuery('#iban_2_duo').attr("type", "number"); 672 //jQuery('#iban_3_duo').attr("type", "number"); 673 //jQuery('#iban_4_duo').attr("type", "number"); 674 //jQuery('#iban_5_duo').attr("type", "number"); 675 //jQuery('#iban_6_duo').attr("type", "number"); 676 677 //jQuery('#cc_1_duo').attr("type", "number"); 678 //jQuery('#cc_2_duo').attr("type", "number"); 679 //jQuery('#cc_3_duo').attr("type", "number"); 680 //jQuery('#cc_4_duo').attr("type", "number"); 681 682 //vengo de parte de 683 jQuery('#vpd li:nth-of-type(1) label').css('display', 'none'); 684 jQuery('#documento_id_4').attr("placeholder", "* 00000123"); 685 686 jQuery('#vpd li:nth-of-type(2) label').css('display', 'none'); 687 jQuery('#documento_id_5').attr("placeholder", "* 58723654E"); 688 689 jQuery('#vpd li:nth-of-type(3) label').css('display', 'none'); 690 jQuery('#cod_pos').attr("placeholder", "* Código Postal"); 691 //jQuery('#cod_pos').attr("type", "number"); 692 } 693 694} 695 696/********************/ 697// AJAX 698/********************/ 699 700// Cross-domain para IE10 e inferiores 701jQuery.support.cors = true; 702jQuery.ajaxSetup({cache: false, crossDomain: true}); 703 704jQuery.urlParam = function (name) { 705 var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href); 706 if (results != null && results.length > 0) { 707 return results[1]; 708 } 709 else { 710 return 0; 711 } 712} 713 714// FORMULARIOS DE SUSCRIPCION 715 716function participa_ducit(idFormulario) { 717 var error_txt = ""; 718 var nombre = jQuery("#" + idFormulario).find('[name="nombre"]').val(); 719 var apellido1 = jQuery("#" + idFormulario).find('[name="apellido1"]').val(); 720 var apellido2 = jQuery("#" + idFormulario).find('[name="apellido2"]').val(); 721 var dia = jQuery("#" + idFormulario).find('[name="dia"]').val(); 722 var mes = jQuery("#" + idFormulario).find('[name="mes"]').val(); 723 var ano = jQuery("#" + idFormulario).find('[name="ano"]').val(); 724 var email = jQuery("#" + idFormulario).find('[name="email"]').val(); 725 var rbSexo = jQuery("#" + idFormulario).find('[name="sexo"]').is(':checked'); 726 var chkMayorEdad = jQuery("#" + idFormulario).find('#chkMayorEdad').prop('checked'); 727 var rbConsentRace = jQuery("#" + idFormulario).find('[name="consentimiento_race"]').is(':checked'); 728 729 var soloLetrasFiltro = new RegExp("^[a-zA-Z ]+$"); 730 if (!soloLetrasFiltro.test(nombre) || nombre.length < 2 || !soloLetrasFiltro.test(apellido1) || apellido1.length < 2) { 731 error_txt = "Debes indicar tu nombre y primer apellido, sin utilizar números y con un mínimo de 2 caracteres.<br><br>"; 732 } 733 if (apellido2.length != "" && (!soloLetrasFiltro.test(apellido2) || apellido2.length < 2)) { 734 error_txt = "Tu segundo apellido no puede contener números y debe tener un mínimo de 2 caracteres.<br><br>"; 735 } 736 if (dia == "" || mes == "" || ano == "" || !validaFecha(dia + "-" + mes + "-" + ano, "dd-mm-yyyy")) { 737 error_txt += "El formato de fecha no es correcto.<br><br>"; 738 } 739 if (email == "" || !validaEmail(email)) { 740 error_txt += "El formato de email no es correcto.<br><br>"; 741 } 742 if (!rbSexo) { 743 error_txt += "Debes indicar cuál es tu sexo<br><br>"; 744 } 745 if (!chkMayorEdad) { 746 error_txt += "Debes indicar si eres mayor de edad.<br><br>"; 747 } 748 if (!rbConsentRace) { 749 error_txt += "Debes permitir o denegar cada consentimiento.<br><br>"; 750 } 751 if (error_txt != "") { 752 swal({title: "Formulario incompleto", text: "<br><p>" + error_txt + "</p>", html: true}); 753 return false; 754 } 755 else { 756 var AltaProductoRACE = { 757 "Producto": "DUCIT", 758 "Nombre": nombre, 759 "Apellido1": apellido1, 760 "Apellido2": apellido2, 761 "FechaNacimiento": ano + "-" + mes + "-" + dia + " 00:00:00.0 CET", 762 "Sexo": jQuery('input[name=sexo]:checked').val().toUpperCase(), 763 "Email": email, 764 "UserId": "ALTAS_WEB", 765 "ConsentimientoGrupoRace": jQuery('input[name=consentimiento_race]:checked').val().toUpperCase(), 766 "ConsentimientoOrigen": ipPublica + " " + window.location.href 767 }; 768 envia_form_suscripcion(AltaProductoRACE, "<p>Información guardada correctamente.</p>"); 769 } 770} 771 772function informe_ducit(idFormulario) { 773 var error_txt = ""; 774 var email = jQuery("#" + idFormulario).find('[name="email"]').val(); 775 var rbConsentRace = jQuery("#" + idFormulario).find('[name="consentimiento_race"]').is(':checked'); 776 777 if (email == "" || !validaEmail(email)) { 778 error_txt += "El formato de email no es correcto.<br><br>"; 779 } 780 if (!rbConsentRace) { 781 error_txt += "Debes permitir o denegar cada consentimiento.<br><br>"; 782 } 783 if (error_txt != "") { 784 swal({title: "Formulario incompleto", text: "<br><p>" + error_txt + "</p>", html: true}); 785 return false;
786 } 787 else { 788 var AltaProductoRACE = { 789 Producto: "DUCIT", 790 Email: email, 791 UserId: "ALTAS_WEB", 792 ConsentimientoGrupoRace: jQuery('input[name=consentimiento_race]:checked').val().toUpperCase(), 793 ConsentimientoOrigen: ipPublica + " " + window.location.href 794 }; 795 envia_form_suscripcion(AltaProductoRACE, "<p>Solicitud recibida correctamente.</p>"); 796 // envio mailing informes 797 var titulo = jQuery("#" + idFormulario).find('[name="tituloPost"]').val(); 798 var urlPDF = decodeURIComponent(getUrlVars()["urlpdf"]); 799 800 var informe_ducit_html = '<table style="font-family: \'DIN Regular\', \'DIN\', Arial, Helvetica, sans-serif;font-size: 14px;color: #58585a;background-color: #fff" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#fff"><tbody><tr><td style="font-size: 12px;text-align: center;background-color: #fff;color: #000;font-family: Helvetica, Arial, sans-serif" width="650" height="25"><strong>Publicidad</strong>.</td></tr></tbody></table>'; 801 informe_ducit_html += '<table style="font-family: \'DIN Regular\', \'DIN\', Arial, Helvetica, sans-serif;font-size: 14px;color: #58585a;background-color: #ebebeb;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#dadada"><tbody><tr><td colspan="2" style="background-color: #ffffff"><a href="https://www.race.es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-informes-ducit-race-2.jpg" alt="" width="650px" height="115" border="0" align="center" /></a></td></tr><tr><td style="padding-left: 60px;background-color:#ebebeb" colspan="2" height="24"></td></tr><tr><td style="padding-left: 60px" colspan="2" height="14"></td></tr><tr><td colspan="2" style="text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-email-ducit-personas-2.jpg" alt="" width="650" height="200" border="0" align="center" /></td></tr><tr><td style="text-align: center" colspan="2" bgcolor="#ebebeb" height="60"><a style="color: #58585a;text-decoration: none;font-size: 26px;font-weight: bold" href="https://www.race.es/race.es/wp-content/uploads/' + urlPDF + '" target="_blank">INFORME ' + titulo + '</a></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 10px;vertical-align: text-top" colspan="2" width="650" height="60">Te envíamos el informe sobre ' + titulo + ' elaborado por DUCIT y el Real Automóvil Club de España (RACE).<br /><br /></td></tr>'; 802 informe_ducit_html += '<tr><td style="padding-left: 60px" colspan="2" height="150"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 12px;text-align: center"><a href="https://www.race.es/race.es/wp-content/uploads/' + urlPDF + '"><img class="aligncenter" src="https://www.race.es/race.es/wp-content/uploads/2018/01/descarga-informe-DUCIT-nuevo.png" alt="" width="300" height="89" /></a></td></tr></table></td></tr><tr><td style="padding-left: 60px" colspan="2" height="24"></td></tr><tr><td colspan="2" bgcolor="#dbdbdb"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/banda-ducit.jpg" width="650" height="20" alt="" /></td></tr><tr><td style="padding-top: 10px;padding-bottom:10px" colspan="2" bgcolor="#dbdbdb"><table width="630" border="0" align="center"><tbody><tr><td width="305" colspan="2" bgcolor="#dadada" style="padding-left: 10px;padding-top: 5px"><a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" /></a> <a href="https://plus.google.com/+RaceEsmotoryviajes" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-google-plus-inf.png" alt="Google +" width="30" height="30" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" /></a></td><td width="325"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" height="95" alt="" /></a></td></tr></tbody></table></td></tr>'; 803 informe_ducit_html += '<tr bgcolor="#FFFFFF"><td colspan="2" style="padding: 10px 1px 10px 1px;font-size: 10px;text-align: justify">De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMÓVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton n�4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indí
803quenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.</td></tr></tbody></table>'; 804 805 envia_html_email(informe_ducit_html, email, "DUCIT <[email protected]>", "DUCIT Informe completo " + titulo); 806 setTimeout(function () { 807 jQuery("#" + idFormulario)[0].reset(); 808 }, 2000); 809 } 810 811} 812 813function suscrip_pag_mant(idFormulario) { 814 815 var error_txt = ""; 816 var nombre = jQuery("#" + idFormulario).find('[name="nombre"]').val(); 817 var apellido1 = jQuery("#" + idFormulario).find('[name="apellido1"]').val(); 818 var telefono = jQuery("#" + idFormulario).find('[name="telefono"]').val(); 819 var chkHeLeido = jQuery("#" + idFormulario).find('#chkHeLeido').prop('checked'); 820 var rbConsentRace = jQuery("#" + idFormulario).find('[name="consentimiento_race"]').is(':checked'); 821 var rbConsentTerceros = jQuery("#" + idFormulario).find('[name="consentimiento_terceros"]').is(':checked'); 822 var rbConsentSegmentacion = jQuery("#" + idFormulario).find('[name="consentimiento_segmentacion"]').is(':checked'); 823 824 var soloLetrasFiltro = new RegExp("^[a-zA-Z ]+$"); 825 if (!soloLetrasFiltro.test(nombre) || nombre.length < 2 || !soloLetrasFiltro.test(apellido1) || apellido1.length < 2) { 826 error_txt = "Debes indicar tu nombre y primer apellido, sin utilizar números y con un mínimo de 2 caracteres.<br><br>"; 827 } 828 if (!validaTfo(telefono) || telefono == "") { 829 error_txt += "Debes introducir un teléfono con el formato correcto.<br><br>"; 830 } 831 if (!chkHeLeido) { 832 error_txt += "Debes aceptar la Política de privacidad.<br><br>"; 833 } 834 if (!rbConsentRace || !rbConsentTerceros || !rbConsentSegmentacion) { 835 error_txt += "Debes permitir o denegar cada consentimiento.<br><br>"; 836 } 837 if (error_txt != "") { 838 swal({title: "Formulario incompleto", text: "<br><p>" + error_txt + "</p>", html: true}); 839 return false; 840 } 841 else { 842 var AltaProductoRACE = { 843 "Producto": "INFOSOCIO", 844 "Nombre": nombre, 845 "Apellido1": apellido1, 846 "Telefono": telefono, 847 "UserId": "ALTAS_WEB", 848 "ConsentimientoGrupoRace": jQuery('input[name=consentimiento_race]:checked').val().toUpperCase(), 849 "ConsentimientoTerceros": jQuery('input[name=consentimiento_terceros]:checked').val().toUpperCase(), 850 "ConsentimientoSegmentacion": jQuery('input[name=consentimiento_segmentacion]:checked').val().toUpperCase(), 851 "ConsentimientoOrigen": ipPublica + " " + window.location.href 852 }; 853 envia_form_suscripcion(AltaProductoRACE, "<p>Gracias, en breve nos pondremos en contacto contigo.</p>", jQuery("#" + idFormulario).prop("action")); 854 } 855 856} 857 858function suscrip_newsletterSI(idFormulario) { // Newsletter Sillas Infantiles 859 860 var error_txt = ""; 861 var email = jQuery("#" + idFormulario).find('[name="email"]').val(); 862 var rbConsentRace = jQuery("#" + idFormulario).find('[name="consentimiento_race"]').is(':checked'); 863 864 if (email == "" || !validaEmail(email)) { 865 error_txt += "El formato de email no es correcto.<br><br>"; 866 } 867 if (!rbConsentRace) { 868 error_txt += "Debes permitir o denegar cada consentimiento.<br><br>"; 869 } 870 871 if (error_txt != "") { 872 swal({title: "Formulario incompleto", text: "<br><p>" + error_txt + "</p>", html: true}); 873 return false; 874 } 875 else { 876 var AltaProductoRACE = { 877 "Producto": "SUSCRIPSRI", 878 "Email": email, 879 "UserId": "ALTAS_WEB", 880 "ConsentimientoGrupoRace": jQuery('input[name=consentimiento_race]:checked').val().toUpperCase(), 881 "ConsentimientoOrigen": ipPublica + " " + window.location.href 882 }; 883 envia_form_suscripcion(AltaProductoRACE, "<p>Gracias, te has suscrito correctamente.</p>"); 884 var newsletter_SRI_html = '<table style="font-family: \'DIN Regular\', \'DIN\', Arial, Helvetica, sans-serif;font-size: 14px;color: ##0b2d49;background-color: #fff" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#fff"><tbody><tr><td style="font-size: 12px;text-align: center;background-color: #fff;color: #000;font-family: Helvetica, Arial, sans-serif" width="650" height="25"><strong>Publicidad</strong>.</td></tr></tbody></table><table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;color: #58585a;background-color: #dadada;
884border: #000000 1px groove;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#dadada"><tbody><tr><td colspan="2"><table width="650" border="0" align="center"><tbody><tr><td width="180"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="" /></td><td width="235"> </td><td width="235"> </td></tr></tbody></table></td></tr><tr bgcolor="#dadada"><td colspan="2" height="324"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/newsletter-sillas-infantiles-new.jpg" alt="" width="650" height="324" border="0" /></td></tr><tr><td colspan="2" bgcolor="#f5f5f5"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"><strong>TE HAS SUSCRITO CORRECTAMENTE<br /></strong></td></tr>'; 885 newsletter_SRI_html += '<tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 10px;vertical-align: text-top;font-size: 17px" colspan="2" height="15" bgcolor="#f5f5f5"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 15px;text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/suscribete-newsletter-sillas-infantiles.png" width="400" height="89" alt="" /></td></tr></table></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 10px;vertical-align: text-top;font-size: 17px" colspan="2" height="15" bgcolor="#f5f5f5"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 15px;text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/azul_ico_bol_sinf.png" width="100" height="22" alt="" /></td></tr></table></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;vertical-align: text-top;font-size: 17px;text-align: justify" colspan="2" width="600" height="50" bgcolor="#f5f5f5">A partir de ahora recibirás periódicamente nuestra newsletter, en la que nuestros expertos en seguridad vial te informarán sobre los últimos informes en sillas infantiles, nuevas leyes, además de noticias sobre el sector.</td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;vertical-align: text-top;font-size: 17px;text-align: justify" colspan="2" width="600" height="50" bgcolor="#f5f5f5">Recuerda que, cuando lo necesites, estamos aquí para ayudarte a mejorar tu seguridad al volante.</td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"><em>Con RACE, nunca estarás solo.</em></td></tr>'; 886 newsletter_SRI_html += '<tr><td style="padding-left: 60px" colspan="2" height="24" bgcolor="#f5f5f5"></td></tr><tr><td colspan="2" bgcolor="#dbdbdb"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/banda6.jpg" width="650" height="20" alt="" /></td></tr><tr><td style="padding-top: 10px;padding-bottom:10px" colspan="2" bgcolor="#dbdbdb"><table width="630" border="0"><tbody><tr><td width="305" colspan="2" bgcolor="#dadada" style="padding-left: 10px;padding-top: 5px"><a style="color: #58585a;font-size: 14px" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none;font-size: 14px" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none;font-size: 14px" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> <br /> <span style="font-size: 14px">Síguenos en:</span><br />
886 <a href="https://www.linkedin.com/company/real-autom-vil-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" /></a> <a href="https://plus.google.com/+RaceEsmotoryviajes" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-google-plus-inf.png" alt="Google +" width="30" height="30" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" /></a></td><td width="325"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" height="95" alt="" /></a></td></tr></tbody></table></td></tr>'; 887 newsletter_SRI_html += '<tr><td style="padding: 2px 64px 10px 60px;font-size: 11px" colspan="2" bgcolor="#dadada"></td></tr></tbody></table><table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dbdbdb;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF"><tbody><tr><td style="padding: 5px;font-size: 10px;text-align: justify" bgcolor="#ffffff">De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMÓVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton n�4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indíquenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.</td></tr><tr style="background: #ffffff"><td height="13"></td></tr></tbody></table>'; 888 889 envia_html_email(newsletter_SRI_html, email, "RACE <[email protected]>", "Gracias por suscribirte al boletín de seguridad vial infantil"); 890 } 891 892} 893 894function informe_SI(idFormulario, anyo) { 895 var error_txt = ""; 896 var email = jQuery("#" + idFormulario).find('[name="email"]').val(); 897 var rbConsentRace = jQuery("#" + idFormulario).find('[name="consentimiento_race"]').is(':checked'); 898 899 if (email == "" || !validaEmail(email)) { 900 error_txt += "El formato de email no es correcto.<br><br>"; 901 } 902 if (!rbConsentRace) { 903 error_txt += "Debes permitir o denegar cada consentimiento.<br><br>"; 904 } 905 if (error_txt != "") { 906 swal({title: "Formulario incompleto", text: "<br><p>" + error_txt + "</p>", html: true}); 907 return false; 908 } 909 else { 910 var AltaProductoRACE = { 911 Producto: "SUSCRIPSRI", 912 Email: email, 913 UserId: "ALTAS_WEB", 914 ConsentimientoGrupoRace: jQuery('input[name=consentimiento_race]:checked').val().toUpperCase(), 915 ConsentimientoOrigen: ipPublica + " " + window.location.href 916 }; 917 envia_form_suscripcion(AltaProductoRACE, "<p>Solicitud recibida correctamente. El informe te llegará a la dirección de correo facilitada.</p>"); 918 switch (anyo) { 919 case "2016": 920 titulo="RACE Informe completo Sillas Infantiles 2016"; 921 informe_SRI_html = '<table style="font-family: \'DIN Regular\', \'DIN\', Arial, Helvetica, sans-serif;font-size: 14px;color: ##0b2d49;background-color: #fff" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#fff"><tbody><tr><td style="font-size: 12px;text-align: center;background-color: #fff;color: #000;font-family: Helvetica, Arial, sans-serif" width="650" height="25"><strong>Publicidad</strong>.</td></tr></tbody></table><table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dadada;
921border: #000000 1px groove;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#dadada"><tbody><tr><td colspan="2"><table width="650" border="0" align="center"><tbody><tr><td width="180"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="" /></td><td width="235"> </td><td width="235"> </td></tr></tbody></table></td></tr><tr bgcolor="#dadada"><td colspan="2" height="324"><a href="https://www.race.es/race.es/wp-content/uploads/2016/10/2informesillasinfantiles2016.pdf" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/informesillas-cabecera.jpg" alt="" width="650" height="324" border="0" /></a></td></tr><tr><td colspan="2" bgcolor="#f5f5f5"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"><a style="color: #474342;background-color: #f5f5f5;text-decoration: none;font-size: 29px;font-weight: bold" href="https://www.race.es/race.es/wp-content/uploads/2016/10/2informesillasinfantiles2016.pdf" target="_blank">2º Informe sillas infantiles</a></td></tr>'; 922 informe_SRI_html += '<tr style="height:1px !important"><td colspan="2" height="1" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 10px;vertical-align: text-top;font-size: 17px" colspan="2" height="15" bgcolor="#f5f5f5"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 15px;text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/azul_ico_bol_sinf.png" width="100" height="22" alt="" /></td></tr></table></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;vertical-align: text-top;font-size: 17px" colspan="2" width="600" height="50" bgcolor="#f5f5f5">Te enviamos el 2º informe sobre sillas infantiles elaborado por el Real Automóvil Club de España (RACE) junto a otros clubes europeos de automovilistas.<a href="https://www.race.es/race.es/wp-content/uploads/2016/10/2informesillasinfantiles2016.pdf"></a></td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;padding-bottom: 10ps;vertical-align: text-top" colspan="2" height="50" bgcolor="#f5f5f5"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 12px;text-align: center"><a href="https://www.race.es/race.es/wp-content/uploads/2016/10/2informesillasinfantiles2016.pdf"><img class="aligncenter" src="https://www.race.es/race.es/wp-content/uploads/2018/01/descarga-informe4.png" alt="" width="300" height="89" /></a></td></tr></table></td></tr>'; 923 informe_SRI_html += '<tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 10px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 60px" colspan="2" height="24" bgcolor="#f5f5f5"></td></tr><tr><td colspan="2" bgcolor="#dbdbdb"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/banda6.jpg" width="650" height="20" alt="" /></td></tr><tr><td style="padding-top: 10px;padding-bottom:10px" colspan="2" bgcolor="#dbdbdb"><table width="630" border="0"><tbody><tr><td width="305" colspan="2" bgcolor="#dadada" style="padding-left: 10px;padding-top: 5px"><a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil
923-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" /></a> <a href="https://plus.google.com/+RaceEsmotoryviajes" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-google-plus-inf.png" alt="Google +" width="30" height="30" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" /></a></td><td width="325"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" height="95" alt="" /></a></td></tr></tbody></table></td></tr>'; 924 informe_SRI_html += '<tr><td style="padding: 2px 64px 10px 60px;font-size: 11px" colspan="2" bgcolor="#dadada"></td></tr></tbody></table><table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dbdbdb;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF"><tbody><tr><td style="padding: 5px;font-size: 10px;text-align: justify" bgcolor="#ffffff">De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMóVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton n�4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indíquenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.</td></tr><tr style="background: #ffffff"><td height="13"></td></tr></tbody></table>'; 925 break; 926 case "2017_1": 927 titulo="RACE Informe completo Sillas Infantiles 2017"; 928 informe_SRI_html = '<table style="font-family: \'DIN Regular\', \'DIN\', Arial, Helvetica, sans-serif;font-size: 14px;color: ##0b2d49;background-color: #fff" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#fff"><tbody><tr><td style="font-size: 12px;text-align: center;background-color: #fff;color: #000;font-family: Helvetica, Arial, sans-serif" width="650" height="25"><strong>Publicidad</strong>.</td></tr></tbody></table><table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dadada;border: #000000 1px groove;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#dadada"><tbody><tr><td colspan="2"><table width="650" border="0" align="center"><tbody><tr><td width="180"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="" /></td><td width="235"> </td><td width="235"> </td></tr></tbody></table></td></tr><tr bgcolor="#dadada"><td colspan="2" height="324"><a href="https://www.race.es/race.es/wp-content/uploads/2017/05/primer-informe-sillas-infantiles-2017.pdf" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/informesillas-cabecera-1-2017.jpg" alt="" width="650" height="324" border="0" /></a></td></tr><tr><td colspan="2" bgcolor="#f5f5f5"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"><a style="color: #474342;background-color: #f5f5f5;text-decoration: none;font-size: 29px;font-weight: bold" href="https://www.race.es/race.es/wp-content/uploads/2017/05/primer-informe-sillas-infantiles-2017.pdf" target="_blank">1er INFORME SILLAS INFANTILES 2017</a></td></tr>'; 929 informe_SRI_html += '<tr style="height:1px !important"><td colspan="2" height="1" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 10px;vertical-align: text-top;font-size: 17px" colspan="2" height="15" bgcolor="#f5f5f5">
929<table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 15px;text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/azul_ico_bol_sinf.png" width="100" height="22" alt="" /></td></tr></table></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;vertical-align: text-top;font-size: 17px" colspan="2" width="600" height="50" bgcolor="#f5f5f5">Te enviamos el primer informe de 2017 sobre sillas infantiles elaborado por el Real Automóvil Club de España (RACE) junto a otros clubes europeos de automovilistas.<a href="https://www.race.es/race.es/wp-content/uploads/2017/05/primer-informe-sillas-infantiles-2017.pdf"></a></td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;padding-bottom: 10ps;vertical-align: text-top" colspan="2" height="50" bgcolor="#f5f5f5"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 12px;text-align: center"><a href="https://www.race.es/race.es/wp-content/uploads/2017/05/primer-informe-sillas-infantiles-2017.pdf"><img class="aligncenter" src="https://www.race.es/race.es/wp-content/uploads/2018/01/descarga-informe4.png" alt="" width="300" height="89" /></a></td></tr></table></td></tr>'; 930 informe_SRI_html += '<tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 10px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 60px" colspan="2" height="24" bgcolor="#f5f5f5"></td></tr><tr><td colspan="2" bgcolor="#dbdbdb"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/banda6.jpg" width="650" height="20" alt="" /></td></tr><tr><td style="padding-top: 10px;padding-bottom:10px" colspan="2" bgcolor="#dbdbdb"><table width="630" border="0"><tbody><tr><td width="305" colspan="2" bgcolor="#dadada" style="padding-left: 10px;padding-top: 5px"><a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" /></a> <a href="https://plus.google.com/+RaceEsmotoryviajes" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-google-plus-inf.png" alt="Google +" width="30" height="30" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" /></a></td><td width="325"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" height="95" alt="" /></a></td></tr></tbody></table></td></tr>'; 931 informe_SRI_html += '<tr><td style="padding: 2px 64px 10px 60px;
931font-size: 11px" colspan="2" bgcolor="#dadada"></td></tr></tbody></table><table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dbdbdb;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF"><tbody><tr><td style="padding: 5px;font-size: 10px;text-align: justify" bgcolor="#ffffff">De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMóVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton n�4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indíquenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.</td></tr><tr style="background: #ffffff"><td height="13"></td></tr></tbody></table>'; 932 break; 933 case "2017_2": 934 titulo="RACE Informe completo Sillas Infantiles 2017"; 935 informe_SRI_html = '<table style="font-family: \'DIN Regular\', \'DIN\', Arial, Helvetica, sans-serif;font-size: 14px;color: ##0b2d49;background-color: #fff" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#fff"><tbody><tr><td style="font-size: 12px;text-align: center;background-color: #fff;color: #000;font-family: Helvetica, Arial, sans-serif" width="650" height="25"><strong>Publicidad</strong>.</td></tr></tbody></table><table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dadada;border: #000000 1px groove;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#dadada"><tbody><tr><td colspan="2"><table width="650" border="0" align="center"><tbody><tr><td width="180"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="" /></td><td width="235"> </td><td width="235"> </td></tr></tbody></table></td></tr><tr bgcolor="#dadada"><td colspan="2" height="324"><a href="https://www.race.es/race.es/wp-content/uploads/2017/10/2-Informe-RACE-SRI-2017.pdf" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/informesillas-cabecera-2-2018.jpg" alt="" width="650" height="324" border="0" /></a></td></tr><tr><td colspan="2" bgcolor="#f5f5f5"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"><a style="color: #474342;background-color: #f5f5f5;text-decoration: none;font-size: 29px;font-weight: bold" href="https://www.race.es/race.es/wp-content/uploads/2017/10/2-Informe-RACE-SRI-2017.pdf" target="_blank">2o INFORME SILLAS INFANTILES 2017</a></td></tr>'; 936 informe_SRI_html += '<tr style="height:1px !important"><td colspan="2" height="1" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 10px;vertical-align: text-top;font-size: 17px" colspan="2" height="15" bgcolor="#f5f5f5"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 15px;text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/azul_ico_bol_sinf.png" width="100" height="22" alt="" /></td></tr></table></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;vertical-align: text-top;font-size: 17px" colspan="2" width="600" height="50" bgcolor="#f5f5f5">Te enviamos el segundo informe de 2017 sobre sillas infantiles elaborado por el Real Automóvil Club de España (RACE) junto a otros clubes europeos de automovilistas.<a href="https://www.race.es/race.es/wp-content/uploads/2017/05/primer-informe-sillas-infantiles-2017.pdf"></a></td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;
936vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;padding-bottom: 10ps;vertical-align: text-top" colspan="2" height="50" bgcolor="#f5f5f5"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 12px;text-align: center"><a href="https://www.race.es/race.es/wp-content/uploads/2017/10/2-Informe-RACE-SRI-2017.pdf"><img class="aligncenter" src="https://www.race.es/race.es/wp-content/uploads/2018/01/descarga-informe4.png" alt="" width="300" height="89" /></a></td></tr></table></td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 10px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr> <td style="padding-left: 60px" colspan="2" height="24" bgcolor="#f5f5f5"></td></tr>'; 937 informe_SRI_html += '<tr><td colspan="2" bgcolor="#dbdbdb"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/banda6.jpg" width="650" height="20" alt="" /></td></tr><tr><td style="padding-top: 10px;padding-bottom:10px" colspan="2" bgcolor="#dbdbdb"><table width="630" border="0"><tbody><tr><td width="305" colspan="2" bgcolor="#dadada" style="padding-left: 10px;padding-top: 5px"><a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" /></a> <a href="https://plus.google.com/+RaceEsmotoryviajes" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-google-plus-inf.png" alt="Google +" width="30" height="30" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" /></a></td><td width="325"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" height="95" alt="" /></a></td></tr></tbody></table></td></tr><tr><td style="padding: 2px 64px 10px 60px;font-size: 11px" colspan="2" bgcolor="#dadada"></td></tr></tbody></table>'; 938 informe_SRI_html += '<table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dbdbdb;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF"><tbody><tr><td style="padding: 5px;font-size: 10px;text-align: justify" bgcolor="#ffffff">De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMóVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton n�4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indí
938quenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.</td></tr><tr style="background: #ffffff"><td height="13"></td></tr></tbody></table>'; 939 break; 940 case "2018_1": 941 titulo="RACE Informe completo Sillas Infantiles 2018"; 942 informe_SRI_html = '<table style="font-family: \'DIN Regular\', \'DIN\', Arial, Helvetica, sans-serif;font-size: 14px;color: ##0b2d49;background-color: #fff" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#fff"><tbody><tr><td style="font-size: 12px;text-align: center;background-color: #fff;color: #000;font-family: Helvetica, Arial, sans-serif" width="650" height="25"><strong>Publicidad</strong>.</td></tr></tbody></table><table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dadada;border: #000000 1px groove;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#dadada"><tbody><tr><td colspan="2"><table width="650" border="0" align="center"><tbody><tr><td width="180"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="" /></td><td width="235"> </td><td width="235"> </td></tr></tbody></table></td></tr><tr bgcolor="#dadada"><td colspan="2" height="324"><a href="https://www.race.es/race.es/wp-content/uploads/2018/05/1informe-sillas-infantiles-2018.pdf" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/05/informesillas-cabecera-2018-primer-informe.jpg" alt="" width="650" height="324" border="0" /></a></td></tr><tr><td colspan="2" bgcolor="#f5f5f5"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"><a style="color: #474342;background-color: #f5f5f5;text-decoration: none;font-size: 29px;font-weight: bold" href="https://www.race.es/race.es/wp-content/uploads/2018/05/1informe-sillas-infantiles-2018.pdf" target="_blank">1er INFORME SILLAS INFANTILES 2018</a></td></tr><tr style="height:1px !important"><td colspan="2" height="1" bgcolor="#f5f5f5"> </td></tr>'; 943 informe_SRI_html +='<tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 10px;vertical-align: text-top;font-size: 17px" colspan="2" height="15" bgcolor="#f5f5f5"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 15px;text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/azul_ico_bol_sinf.png" width="100" height="22" alt="" /></td></tr></table></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;vertical-align: text-top;font-size: 17px" colspan="2" width="600" height="50" bgcolor="#f5f5f5">Te enviamos el primer informe de 2018 sobre sillas infantiles elaborado por el Real Automóvil Club de España (RACE) junto a otros clubes europeos de automovilistas.<a href="https://www.race.es/race.es/wp-content/uploads/2018/05/1informe-sillas-infantiles-2018.pdf"></a></td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;padding-bottom: 10ps;vertical-align: text-top" colspan="2" height="50" bgcolor="#f5f5f5"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 12px;text-align: center"><a href="https://www.race.es/race.es/wp-content/uploads/2018/05/1informe-sillas-infantiles-2018.pdf"><img class="aligncenter" src="https://www.race.es/race.es/wp-content/uploads/2018/01/descarga-informe4.png" alt="" width="300" height="89" /></a></td></tr></table></td></tr>'; 944 informe_SRI_html +='<tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 10px;
944vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 60px" colspan="2" height="24" bgcolor="#f5f5f5"></td></tr><tr><td colspan="2" bgcolor="#dbdbdb"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/banda6.jpg" width="650" height="20" alt="" /></td></tr><tr><td style="padding-top: 10px;padding-bottom:10px" colspan="2" bgcolor="#dbdbdb"><table width="630" border="0"><tbody><tr><td width="305" colspan="2" bgcolor="#dadada" style="padding-left: 10px;padding-top: 5px"><a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" /></a> <a href="https://plus.google.com/+RaceEsmotoryviajes" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-google-plus-inf.png" alt="Google +" width="30" height="30" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" /></a></td><td width="325"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" height="95" alt="" /></a></td></tr></tbody></table></td></tr><tr><td style="padding: 2px 64px 10px 60px;font-size: 11px" colspan="2" bgcolor="#dadada"></td></tr></tbody></table>'; 945 informe_SRI_html += '<table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dbdbdb;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF"><tbody><tr><td style="padding: 5px;font-size: 10px;text-align: justify" bgcolor="#ffffff">De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMÓVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton n�4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indíquenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.</td></tr><tr style="background: #ffffff"><td height="13"></td></tr></tbody></table>'; 946 break; 947 case "2018_2": 948 titulo="RACE Informe completo Sillas Infantiles 2018"; 949 informe_SRI_html = '<table style="font-family: \'DIN Regular\', \'DIN\', Arial, Helvetica, sans-serif;font-size: 14px;color: #0b2d49;background-color: #fff" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#fff"><tbody><tr><td style="font-size: 12px;text-align: center;background-color: #fff;color: #000;font-family: Helvetica, Arial, sans-serif" width="650" height="25"><strong>Publicidad</strong>.</td></tr></tbody></table><table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dadada;
949border: #000000 1px groove;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#dadada"><tbody><tr><td colspan="2"><table width="650" border="0" align="center"><tbody><tr><td width="180"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="" /></td><td width="235"> </td><td width="235"> </td></tr></tbody></table></td></tr><tr bgcolor="#dadada"><td colspan="2" height="324"><a href="https://www.race.es/race.es/wp-content/uploads/2018/10/2informe-sillas-infantiles-2018.pdf" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/10/informesillas-cabecera-2018-segundo-informe.jpg" alt="" width="650" height="324" border="0" /></a></td></tr><tr><td colspan="2" bgcolor="#f5f5f5"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"><a style="color: #474342;background-color: #f5f5f5;text-decoration: none;font-size: 29px;font-weight: bold" href="https://www.race.es/race.es/wp-content/uploads/2018/10/2informe-sillas-infantiles-2018.pdf" target="_blank">2º INFORME SILLAS INFANTILES 2018</a></td></tr><tr style="height:1px !important"><td colspan="2" height="1" bgcolor="#f5f5f5"> </td></tr>'; 950 informe_SRI_html +='<tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 10px;vertical-align: text-top;font-size: 17px" colspan="2" height="15" bgcolor="#f5f5f5"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 15px;text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/azul_ico_bol_sinf.png" width="100" height="22" alt="" /></td></tr></table></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;vertical-align: text-top;font-size: 17px" colspan="2" width="600" height="50" bgcolor="#f5f5f5">Te enviamos el segundo informe de 2018 sobre sillas infantiles elaborado por el Real Automóvil Club de España (RACE) junto a otros clubes europeos de automovilistas.<a href="https://www.race.es/race.es/wp-content/uploads/2018/10/2informe-sillas-infantiles-2018.pdf"></a></td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;padding-bottom: 10ps;vertical-align: text-top" colspan="2" height="50" bgcolor="#f5f5f5"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 12px;text-align: center"><a href="https://www.race.es/race.es/wp-content/uploads/2018/10/2informe-sillas-infantiles-2018.pdf"><img class="aligncenter" src="https://www.race.es/race.es/wp-content/uploads/2018/01/descarga-informe4.png" alt="" width="300" height="89" /></a></td></tr></table></td></tr>'; 951 informe_SRI_html +='<tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 10px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 60px" colspan="2" height="24" bgcolor="#f5f5f5"></td></tr><tr><td colspan="2" bgcolor="#dbdbdb"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/banda6.jpg" width="650" height="20" alt="" /></td></tr><tr><td style="padding-top: 10px;padding-bottom:10px" colspan="2" bgcolor="#dbdbdb"><table width="630" border="0"><tbody><tr><td width="305" colspan="2" bgcolor="#dadada" style="padding-left: 10px;padding-top: 5px"><a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil
951-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" /></a> <a href="https://plus.google.com/+RaceEsmotoryviajes" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-google-plus-inf.png" alt="Google +" width="30" height="30" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" /></a></td><td width="325"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" height="95" alt="" /></a></td></tr></tbody></table></td></tr><tr><td style="padding: 2px 64px 10px 60px;font-size: 11px" colspan="2" bgcolor="#dadada"></td></tr></tbody></table>'; 952 informe_SRI_html += '<table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dbdbdb;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF"><tbody><tr><td style="padding: 5px;font-size: 10px;text-align: justify" bgcolor="#ffffff">De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMÓVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton 4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indíquenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.</td></tr><tr style="background: #ffffff"><td height="13"></td></tr></tbody></table>'; 953 break; 954 case "2019_1": 955 titulo = "RACE Informe completo Sillas Infantiles 2019"; 956 informe_SRI_html = '<table style="font-family: \'DIN Regular\', \'DIN\', Arial, Helvetica, sans-serif;font-size: 14px;color: ##0b2d49;background-color: #fff" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#fff"><tbody><tr><td style="font-size: 12px;text-align: center;background-color: #fff;color: #000;font-family: Helvetica, Arial, sans-serif" width="650" height="25"><strong>Publicidad</strong>.</td></tr></tbody></table><table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dadada;border: #000000 1px groove;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#dadada"><tbody><tr><td colspan="2"><table width="650" border="0" align="center"><tbody><tr><td width="180"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="" /></td><td width="235"> </td><td width="235"> </td></tr></tbody></table></td></tr><tr bgcolor="#dadada"><td colspan="2" height="324"><a href="https://www.race.es/race.es/wp-content/uploads/2019/05/1informe-sillas-infantiles-2019.pdf" target="_blank"><img src="https://www.race.es/wp-content/uploads/2019/05/informesillas-cabecera-2019-primer-informe.jpg" alt="" width="650" height="283" border="0" /></a></td></tr><tr><td colspan="2" bgcolor="#f5f5f5"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"> </td></tr><tr><td bgcolor="#f5f5f5" height="32"><a style="color: #474342;background-color: #f5f5f5;text-decoration: none;font-size: 29px;font-weight: bold" href="https://www.race.es/race.es/wp-content/uploads/2019/05/1informe-sillas-infantiles-2019.pdf" target="_blank">1er INFORME SILLAS INFANTILES 2019</a></td></tr><tr style="height:1px !important"><td colspan="2" height="1" bgcolor="#f5f5f5"> </td></tr>'; 957 informe_SRI_html += '<tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 10px;vertical-align: text-top;font-size: 17px" colspan="2" height="15" bgcolor="#f5f5f5">
957<table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 15px;text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/azul_ico_bol_sinf.png" width="100" height="22" alt="" /></td></tr></table></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;vertical-align: text-top;font-size: 17px" colspan="2" width="600" height="50" bgcolor="#f5f5f5">Te enviamos el primer informe de 2019 sobre sillas infantiles elaborado por el Real Automóvil Club de España (RACE) junto a otros clubes europeos de automovilistas.<a href="https://www.race.es/race.es/wp-content/uploads/2019/05/1informe-sillas-infantiles-2019.pdf"></a></td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"></td></tr><tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 25px;padding-bottom: 10ps;vertical-align: text-top" colspan="2" height="50" bgcolor="#f5f5f5"><table width="50%" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td class="text" style="color: #ffffff;font-family: \'Open Sans\', Arial, sans-serif;font-size: 30px;line-height: 12px;text-align: center"><a href="https://www.race.es/race.es/wp-content/uploads/2019/05/1informe-sillas-infantiles-2019.pdf"><img class="aligncenter" src="https://www.race.es/race.es/wp-content/uploads/2018/01/descarga-informe4.png" alt="" width="300" height="89" /></a></td></tr></table></td></tr>'; 958 informe_SRI_html += '<tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 10px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 0px;padding-right: 0px;padding-top: 15px;vertical-align: text-top" colspan="2" height="5" bgcolor="#f5f5f5"> </td></tr><tr><td style="padding-left: 60px" colspan="2" height="24" bgcolor="#f5f5f5"></td></tr><tr><td colspan="2" bgcolor="#dbdbdb"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/banda6.jpg" width="650" height="20" alt="" /></td></tr><tr><td style="padding-top: 10px;padding-bottom:10px" colspan="2" bgcolor="#dbdbdb"><table width="630" border="0"><tbody><tr><td width="305" colspan="2" bgcolor="#dadada" style="padding-left: 10px;padding-top: 5px"><a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" /></a></td><td width="325"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" height="95" alt="" /></a></td></tr></tbody></table></td></tr><tr><td style="padding: 2px 64px 10px 60px;font-size: 11px" colspan="2" bgcolor="#dadada"></td></tr></tbody></table>'; 959 informe_SRI_html += '<table style="font-family: \'Open Sans\', Arial, sans-serif;font-size: 14px;color: #58585a;background-color: #dbdbdb;text-align: center" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF"><tbody><tr><td style="padding: 5px;font-size: 10px;text-align: justify" bgcolor="#ffffff">De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMÓVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton n�4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indí
959quenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.</td></tr><tr style="background: #ffffff"><td height="13"></td></tr></tbody></table>'; 960 break; 961 case "2019_2": 962 titulo = "RACE II Informe completo Sillas Infantiles 2019"; 963 informe_SRI_html = '<table cellpadding="0" cellspacing="0" border="0" height="100%" width="101%" bgcolor="#e0e0e0" style="border-collapse:collapse;"><tr><td><center style="width: 100%;"><div style="max-width: 600px;"> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;" bgcolor="#dbdbdb"><tr><td style="padding: 5px 0; text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="alt_text" border="0"></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#ffffff" width="100%" style="max-width: 600px;"><tr><td class="full-width-image" align="center" bgcolor="#ffffff" width="600" height="2" style="width: 100%; max-width: 600px; height: 3px;"></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 5px;"></td></tr><tr><td class="full-width-image" align="center" ><a href="https://www.race.es/race.es/wp-content/uploads/2019/10/2informe-sillas-infantiles-2019.pdf" class="button-td" target="_blank"><img src="https://www.race.es/wp-content/uploads/2019/10/cabecera-informe-sri2-2019.jpg" width="600" alt="alt_text" border="0" style="width: 100%; max-width: 600px; height: auto;"></a></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 4px;"></td></tr>'; 964 informe_SRI_html += '<tr><td><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 10px 10px 0px 40px; font-family: sans-serif; font-size: 14px; mso-height-rule: exactly; line-height: 30px; color: #1f77dc;"><h1><a href="https://www.race.es/race.es/wp-content/uploads/2019/10/2informe-sillas-infantiles-2019.pdf" target="_blank" class="button-a" style="text-decoration: none;color:#1f77dc;">Segundo Informe sillas infantiles 2019</a></h1></td></tr><tr><td style="padding: 0px 40px 80px 40px; font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555;"><p>Te enviamos el segundo informe de 2019 sobre sillas infantiles elaborado por el Real Automóvil Club de España (RACE) junto a otros clubes europeos de automovilistas.</p><table cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto;"><tr><td style="border-radius: 10px; background: #1f77dc; text-align: center;" class="button-td"><a href="https://www.race.es/race.es/wp-content/uploads/2019/10/2informe-sillas-infantiles-2019.pdf" style="background: #1f77dc; border: 15px solid #1f77dc; padding: 0 10px;color: #ffffff; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a" target="_blank"> <img src="https://www.race.es/wp-content/uploads/2019/10/boton-descargar-informe.png" width="50" height="53" border="0"> <p style="font-size:18px;">Descargar informe</p></a></td></tr></table></td></tr></table></td></tr>'; 965 informe_SRI_html += '<tr><td bgcolor="#ffffff" align="center" height="100%" valign="top" width="100%"><table border="1" cellpadding="0" cellspacing="0" align="center" width="100%" style="max-width:600px;border-color: #595959;"><tr><td align="center" valign="top" style="font-size:0; padding: 20px 10px 20px 10px;"><div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555; padding-top: 10px;" class="stack-column-center"> <a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil
965-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" border="0" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" border="0" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" border="0" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" border="0" /></a> </td></tr></table></td></tr></table></div>'; 966 informe_SRI_html += '<div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="text-align: center;"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" alt="" style="border: 0;width: 100%;max-width: 325;height: auto;" class="center-on-narrow" border="0" ></a></td></tr></table></td></tr></table></div></td></tr></table></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;"><tr><td style="padding: 0px 20px 10px 20px;width: 100%;font-size: 10px; font-family: sans-serif; mso-height-rule: exactly; line-height:15px; text-align: justify; color: #888888;"><br><br>De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMÓVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton n�4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indíquenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.<br></td></tr></table></div></center></td></tr></table>'; 967 break; 968 case "2020": 969 titulo = "RACE I Informe completo Sillas Infantiles 2020"; 970 informe_SRI_html = '<table cellpadding="0" cellspacing="0" border="0" height="100%" width="101%" bgcolor="#e0e0e0" style="border-collapse:collapse;"><tr><td><center style="width: 100%;"><div style="max-width: 600px;"> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;" bgcolor="#dbdbdb"><tr><td style="padding: 5px 0; text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="alt_text" border="0"></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#ffffff" width="100%" style="max-width: 600px;"><tr><td class="full-width-image" align="center" bgcolor="#ffffff" width="600" height="2" style="width: 100%; max-width: 600px; height: 3px;"></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 5px;"></td></tr><tr><td class="full-width-image" align="center" ><a href="https://www.race.es/race.es/wp-content/uploads/2020/05/1informe-sillas-infantiles-2020.pdf" class="button-td" target="_blank"><img src="https://www.race.es/wp-content/uploads/2020/05/cabecera-informe-sri-2020.jpg" width="600" alt="alt_text" border="0" style="width: 100%; max-width: 600px; height: auto;"></a></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 4px;"></td></tr>'; 971 informe_SRI_html += '<tr><td><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 10px 10px 0px 40px; font-family: sans-serif; font-size: 14px; mso-height-rule: exactly; line-height: 30px; color: #1f77dc;"><h1><a href="https://www.race.es/race.es/wp-content/uploads/2020/05/1informe-sillas-infantiles-2020.pdf" target="_blank" class="button-a" style="text-decoration: none;color:#1f77dc;">Primer Informe sillas infantiles 2020</a></h1></td></tr><tr><td style="padding: 0px 40px 80px 40px; font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555;"><p>Te enviamos el primer informe de 2020 sobre sillas infantiles elaborado por el Real Automóvil Club de Españ
971a (RACE) junto a otros clubes europeos de automovilistas.</p><table cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto;"><tr><td style="border-radius: 10px; background: #1f77dc; text-align: center;" class="button-td"><a href="https://www.race.es/race.es/wp-content/uploads/2020/05/1informe-sillas-infantiles-2020.pdf" style="background: #1f77dc; border: 15px solid #1f77dc; padding: 0 10px;color: #ffffff; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a" target="_blank"> <img src="https://www.race.es/wp-content/uploads/2019/10/boton-descargar-informe.png" width="50" height="53" border="0"> <p style="font-size:18px;">Descargar informe</p></a></td></tr></table></td></tr></table></td></tr>'; 972 informe_SRI_html += '<tr><td bgcolor="#ffffff" align="center" height="100%" valign="top" width="100%"><table border="1" cellpadding="0" cellspacing="0" align="center" width="100%" style="max-width:600px;border-color: #595959;"><tr><td align="center" valign="top" style="font-size:0; padding: 20px 10px 20px 10px;"><div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555; padding-top: 10px;" class="stack-column-center"> <a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" border="0" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" border="0" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" border="0" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" border="0" /></a> </td></tr></table></td></tr></table></div>'; 973 informe_SRI_html += '<div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="text-align: center;"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" alt="" style="border: 0;width: 100%;max-width: 325;height: auto;" class="center-on-narrow" border="0" ></a></td></tr></table></td></tr></table></div></td></tr></table></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;"><tr><td style="padding: 0px 20px 10px 20px;width: 100%;font-size: 10px; font-family: sans-serif; mso-height-rule: exactly; line-height:15px; text-align: justify; color: #888888;"><br><br>De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMÓVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton n�4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indí
973quenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.<br></td></tr></table></div></center></td></tr></table>'; 974 break; 975 case "2020_2": 976 titulo = "RACE II Informe completo Sillas Infantiles 2020"; 977 informe_SRI_html = '<table cellpadding="0" cellspacing="0" border="0" height="100%" width="101%" bgcolor="#e0e0e0" style="border-collapse:collapse;"><tr><td><center style="width: 100%;"><div style="max-width: 600px;"> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;" bgcolor="#dbdbdb"><tr><td style="padding: 5px 0; text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="alt_text" border="0"></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#ffffff" width="100%" style="max-width: 600px;"><tr><td class="full-width-image" align="center" bgcolor="#ffffff" width="600" height="2" style="width: 100%; max-width: 600px; height: 3px;"></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 5px;"></td></tr><tr><td class="full-width-image" align="center" ><a href="https://www.race.es/wp-content/uploads/2020/10/2informe-sillas-infantiles-2020.pdf" class="button-td" target="_blank"><img src="https://www.race.es/wp-content/uploads/2020/10/2cabecera-informe-sri-2020-1.jpg" width="600" alt="alt_text" border="0" style="width: 100%; max-width: 600px; height: auto;"></a></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 4px;"></td></tr>'; 978 informe_SRI_html += '<tr><td><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 10px 10px 0px 40px; font-family: sans-serif; font-size: 14px; mso-height-rule: exactly; line-height: 30px; color: #1f77dc;"><h1><a href="https://www.race.es/wp-content/uploads/2020/10/2informe-sillas-infantiles-2020.pdf" target="_blank" class="button-a" style="text-decoration: none;color:#1f77dc;">Segundo Informe sillas infantiles 2020</a></h1></td></tr><tr><td style="padding: 0px 40px 80px 40px; font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555;"><p>Te enviamos el segundo informe de 2020 sobre sillas infantiles elaborado por el Real Automóvil Club de España (RACE) junto a otros clubes europeos de automovilistas.</p><table cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto;"><tr><td style="border-radius: 10px; background: #1f77dc; text-align: center;" class="button-td"><a href="https://www.race.es/wp-content/uploads/2020/10/2informe-sillas-infantiles-2020.pdf" style="background: #1f77dc; border: 15px solid #1f77dc; padding: 0 10px;color: #ffffff; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a" target="_blank"> <img src="https://www.race.es/wp-content/uploads/2019/10/boton-descargar-informe.png" width="50" height="53" border="0"> <p style="font-size:18px;">Descargar informe</p></a></td></tr></table></td></tr></table></td></tr>'; 979 informe_SRI_html += '<tr><td bgcolor="#ffffff" align="center" height="100%" valign="top" width="100%"><table border="1" cellpadding="0" cellspacing="0" align="center" width="100%" style="max-width:600px;border-color: #595959;"><tr><td align="center" valign="top" style="font-size:0; padding: 20px 10px 20px 10px;"><div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555; padding-top: 10px;" class="stack-column-center"> <a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil
979-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" border="0" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" border="0" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" border="0" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" border="0" /></a> </td></tr></table></td></tr></table></div>'; 980 informe_SRI_html += '<div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="text-align: center;"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" alt="" style="border: 0;width: 100%;max-width: 325;height: auto;" class="center-on-narrow" border="0" ></a></td></tr></table></td></tr></table></div></td></tr></table></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;"><tr><td style="padding: 0px 20px 10px 20px;width: 100%;font-size: 10px; font-family: sans-serif; mso-height-rule: exactly; line-height:15px; text-align: justify; color: #888888;"><br><br>De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMÓVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton n�4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indíquenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.<br></td></tr></table></div></center></td></tr></table>'; 981 break; 982 case "2021_1": 983 titulo = "RACE I Informe completo Sillas Infantiles 2021"; 984 informe_SRI_html = '<table cellpadding="0" cellspacing="0" border="0" height="100%" width="101%" bgcolor="#e0e0e0" style="border-collapse:collapse;"><tr><td><center style="width: 100%;"><div style="max-width: 600px;"> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;" bgcolor="#dbdbdb"><tr><td style="padding: 5px 0; text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="alt_text" border="0"></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#ffffff" width="100%" style="max-width: 600px;"><tr><td class="full-width-image" align="center" bgcolor="#ffffff" width="600" height="2" style="width: 100%; max-width: 600px; height: 3px;"></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 5px;"></td></tr><tr><td class="full-width-image" align="center" ><a href="https://www.race.es/wp-content/uploads/2021/05/1informe-sillas-infantiles-2021.pdf" class="button-td" target="_blank"><img src="https://www.race.es/wp-content/uploads/2021/05/1cabecera-informe-sri-2021.jpg" width="600" alt="alt_text" border="0" style="width: 100%; max-width: 600px; height: auto;"></a></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 4px;"></td></tr>'; 985 informe_SRI_html += '<tr><td><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 10px 10px 0px 40px; font-family: sans-serif; font-size: 14px; mso-height-rule: exactly; line-height: 30px; color: #1f77dc;"><h1><a href="https://www.race.es/wp-content/uploads/2021/05/1informe-sillas-infantiles-2021.pdf" target="_blank" class="button-a" style="text-decoration: none;color:#1f77dc;">Primer Informe sillas infantiles 2021</a></h1></td></tr><tr><td style="padding: 0px 40px 80px 40px; font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555;"><p>Te enviamos el primer informe de 2021 sobre sillas infantiles elaborado por el Real Automóvil Club de Españ
985a (RACE) junto a otros clubes europeos de automovilistas.</p><table cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto;"><tr><td style="border-radius: 10px; background: #1f77dc; text-align: center;" class="button-td"><a href="https://www.race.es/wp-content/uploads/2021/05/1informe-sillas-infantiles-2021.pdf" style="background: #1f77dc; border: 15px solid #1f77dc; padding: 0 10px;color: #ffffff; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a" target="_blank"> <img src="https://www.race.es/wp-content/uploads/2019/10/boton-descargar-informe.png" width="50" height="53" border="0"> <p style="font-size:18px;">Descargar informe</p></a></td></tr></table></td></tr></table></td></tr>'; 986 informe_SRI_html += '<tr><td bgcolor="#ffffff" align="center" height="100%" valign="top" width="100%"><table border="1" cellpadding="0" cellspacing="0" align="center" width="100%" style="max-width:600px;border-color: #595959;"><tr><td align="center" valign="top" style="font-size:0; padding: 20px 10px 20px 10px;"><div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555; padding-top: 10px;" class="stack-column-center"> <a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" border="0" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" border="0" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" border="0" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" border="0" /></a> </td></tr></table></td></tr></table></div>'; 987 informe_SRI_html += '<div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="text-align: center;"><a href="https://www.race.es/formulario-alta-online-3"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" alt="" style="border: 0;width: 100%;max-width: 325;height: auto;" class="center-on-narrow" border="0" ></a></td></tr></table></td></tr></table></div></td></tr></table></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;"><tr><td style="padding: 0px 20px 10px 20px;width: 100%;font-size: 10px; font-family: sans-serif; mso-height-rule: exactly; line-height:15px; text-align: justify; color: #888888;"><br><br>De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMÓVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton n�4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indí
987quenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.<br></td></tr></table></div></center></td></tr></table>'; 988 break; 989 case "2021_2": 990 titulo = "RACE II Informe completo Sillas Infantiles 2021"; 991 informe_SRI_html = '<table cellpadding="0" cellspacing="0" border="0" height="100%" width="101%" bgcolor="#e0e0e0" style="border-collapse:collapse;"><tr><td><center style="width: 100%;"><div style="max-width: 600px;"> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;" bgcolor="#dbdbdb"><tr><td style="padding: 5px 0; text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="alt_text" border="0"></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#ffffff" width="100%" style="max-width: 600px;"><tr><td class="full-width-image" align="center" bgcolor="#ffffff" width="600" height="2" style="width: 100%; max-width: 600px; height: 3px;"></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 5px;"></td></tr><tr><td class="full-width-image" align="center" ><a href="https://www.race.es/wp-content/uploads/2021/10/2informe-sillas-infantiles-2021.pdf" class="button-td" target="_blank"><img src="https://www.race.es/wp-content/uploads/2021/10/2-informe-sillas-infantiles-2021-emailing.jpg" width="600" alt="alt_text" border="0" style="width: 100%; max-width: 600px; height: auto;"></a></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 4px;"></td></tr>'; 992 informe_SRI_html += '<tr><td><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 10px 10px 0px 40px; font-family: sans-serif; font-size: 14px; mso-height-rule: exactly; line-height: 30px; color: #1f77dc;"><h1><a href="https://www.race.es/wp-content/uploads/2021/10/2informe-sillas-infantiles-2021.pdf" target="_blank" class="button-a" style="text-decoration: none;color:#1f77dc;">Segundo Informe sillas infantiles 2021</a></h1></td></tr><tr><td style="padding: 0px 40px 80px 40px; font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555;"><p>Te enviamos el segundo informe de 2021 sobre sillas infantiles elaborado por el Real Automóvil Club de España (RACE) junto a otros clubes europeos de automovilistas.</p><table cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto;"><tr><td style="border-radius: 10px; background: #1f77dc; text-align: center;" class="button-td"><a href="https://www.race.es/wp-content/uploads/2021/10/2informe-sillas-infantiles-2021.pdf" style="background: #1f77dc; border: 15px solid #1f77dc; padding: 0 10px;color: #ffffff; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a" target="_blank"> <img src="https://www.race.es/wp-content/uploads/2019/10/boton-descargar-informe.png" width="50" height="53" border="0"> <p style="font-size:18px;">Descargar informe</p></a></td></tr></table></td></tr></table></td></tr>'; 993 informe_SRI_html += '<tr><td bgcolor="#ffffff" align="center" height="100%" valign="top" width="100%"><table border="1" cellpadding="0" cellspacing="0" align="center" width="100%" style="max-width:600px;border-color: #595959;"><tr><td align="center" valign="top" style="font-size:0; padding: 20px 10px 20px 10px;"><div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555; padding-top: 10px;" class="stack-column-center"> <a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil
993-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" border="0" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" border="0" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" border="0" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" border="0" /></a> </td></tr></table></td></tr></table></div>'; 994 informe_SRI_html += '<div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="text-align: center;"><a href="https://www.race.es/formulario-alta-online-3"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" alt="" style="border: 0;width: 100%;max-width: 325;height: auto;" class="center-on-narrow" border="0" ></a></td></tr></table></td></tr></table></div></td></tr></table></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;"><tr><td style="padding: 0px 20px 10px 20px;width: 100%;font-size: 10px; font-family: sans-serif; mso-height-rule: exactly; line-height:15px; text-align: justify; color: #888888;"><br><br>De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMÓVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton 4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indíquenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.<br></td></tr></table></div></center></td></tr></table>'; 995 break; 996 case "2022_1": 997 titulo = "RACE I Informe completo Sillas Infantiles 2022"; 998 informe_SRI_html = '<table cellpadding="0" cellspacing="0" border="0" height="100%" width="101%" bgcolor="#e0e0e0" style="border-collapse:collapse;"><tr><td><center style="width: 100%;"><div style="max-width: 600px;"> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;" bgcolor="#dbdbdb"><tr><td style="padding: 5px 0; text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="alt_text" border="0"></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#ffffff" width="100%" style="max-width: 600px;"><tr><td class="full-width-image" align="center" bgcolor="#ffffff" width="600" height="2" style="width: 100%; max-width: 600px; height: 3px;"></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 5px;"></td></tr><tr><td class="full-width-image" align="center" ><a href="https://www.race.es/race.es/wp-content/uploads/2022/05/1informe-sillas-infantiles-2022.pdf" class="button-td" target="_blank"><img src="https://www.race.es/wp-content/uploads/2022/05/cabecera-informe-sri-2022.jpg" width="600" alt="alt_text" border="0" style="width: 100%; max-width: 600px; height: auto;"></a></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 4px;"></td></tr>'; 999 informe_SRI_html += '<tr><td><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 10px 10px 0px 40px; font-family: sans-serif; font-size: 14px; mso-height-rule: exactly; line-height: 30px; color: #1f77dc;"><h1><a href="https://www.race.es/race.es/wp-content/uploads/2022/05/1informe-sillas-infantiles-2022.pdf" target="_blank" class="button-a" style="text-decoration: none;color:#1f77dc;">Primer Informe sillas infantiles 2022</a></h1></td></tr><tr><td style="padding: 0px 40px 80px 40px; font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555;"><p>Te enviamos el primer informe de 2022 sobre sillas infantiles elaborado por el Real Automóvil Club de Españ
999a (RACE) junto a otros clubes europeos de automovilistas.</p><table cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto;"><tr><td style="border-radius: 10px; background: #1f77dc; text-align: center;" class="button-td"><a href="https://www.race.es/race.es/wp-content/uploads/2022/05/1informe-sillas-infantiles-2022.pdf" style="background: #1f77dc; border: 15px solid #1f77dc; padding: 0 10px;color: #ffffff; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a" target="_blank"> <img src="https://www.race.es/wp-content/uploads/2019/10/boton-descargar-informe.png" width="50" heighr="53"> <p style="font-size:18px;">Descargar informe</p></a></td></tr></table></td></tr></table></td></tr>'; 1000 informe_SRI_html += '<tr><td bgcolor="#ffffff" align="center" height="100%" valign="top" width="100%"><table border="1" cellpadding="0" cellspacing="0" align="center" width="100%" style="max-width:600px;border-color: #595959;"><tr><td align="center" valign="top" style="font-size:0; padding: 20px 10px 20px 10px;"><div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555; padding-top: 10px;" class="stack-column-center"> <a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100901">900 100 901</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" /></a> </td></tr></table></td></tr></table></div>'; 1001 informe_SRI_html += '<div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="text-align: center;"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" alt="" style="border: 0;width: 100%;max-width: 325;height: auto;" class="center-on-narrow"></a></td></tr></table></td></tr></table></div></td></tr></table></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;"><tr><td style="padding: 0px 20px 10px 20px;width: 100%;font-size: 10px; font-family: sans-serif; mso-height-rule: exactly; line-height:15px; text-align: justify; color: #888888;"><br><br>De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMÃVIL CLUB ESPAÃA con domicilio en C/ Isaac Newton nº4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, asà como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE asà como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indÃquenoslo mediante carta dirigid
1001a al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.<br></td></tr></table></div></center></td></tr></table>'; 1002 break; 1003 case "2022_2": 1004 titulo = "RACE II Informe completo Sillas Infantiles 2022"; 1005 informe_SRI_html = '<table cellpadding="0" cellspacing="0" border="0" height="100%" width="101%" bgcolor="#e0e0e0" style="border-collapse:collapse;"><tr><td><center style="width: 100%;"><div style="max-width: 600px;"> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;" bgcolor="#dbdbdb"><tr><td style="padding: 5px 0; text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="alt_text" border="0"></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#ffffff" width="100%" style="max-width: 600px;"><tr><td class="full-width-image" align="center" bgcolor="#ffffff" width="600" height="2" style="width: 100%; max-width: 600px; height: 3px;"></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 5px;"></td></tr><tr><td class="full-width-image" align="center" ><a href="https://www.race.es/race.es/wp-content/uploads/2022/10/2informe-sillas-infantiles-2022.pdf" class="button-td" target="_blank"><img src="https://www.race.es/wp-content/uploads/2022/10/2cabecera-informe-sri-2022.jpg" width="600" alt="alt_text" border="0" style="width: 100%; max-width: 600px; height: auto;"></a></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 4px;"></td></tr>'; 1006 informe_SRI_html += '<tr><td><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 10px 10px 0px 40px; font-family: sans-serif; font-size: 14px; mso-height-rule: exactly; line-height: 30px; color: #1f77dc;"><h1><a href="https://www.race.es/race.es/wp-content/uploads/2022/10/2informe-sillas-infantiles-2022.pdf" target="_blank" class="button-a" style="text-decoration: none;color:#1f77dc;">Segundo Informe sillas infantiles 2022</a></h1></td></tr><tr><td style="padding: 0px 40px 80px 40px; font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555;"><p>Te enviamos el segundo informe de 2022 sobre sillas infantiles elaborado por el Real Automóvil Club de España (RACE) junto a otros clubes europeos de automovilistas.</p><table cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto;"><tr><td style="border-radius: 10px; background: #1f77dc; text-align: center;" class="button-td"><a href="https://www.race.es/race.es/wp-content/uploads/2022/10/2informe-sillas-infantiles-2022.pdf" style="background: #1f77dc; border: 15px solid #1f77dc; padding: 0 10px;color: #ffffff; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a" target="_blank"> <img src="https://www.race.es/wp-content/uploads/2019/10/boton-descargar-informe.png" width="50" heighr="53"> <p style="font-size:18px;">Descargar informe</p></a></td></tr></table></td></tr></table></td></tr>'; 1007 informe_SRI_html += '<tr><td bgcolor="#ffffff" align="center" height="100%" valign="top" width="100%"><table border="1" cellpadding="0" cellspacing="0" align="center" width="100%" style="max-width:600px;border-color: #595959;"><tr><td align="center" valign="top" style="font-size:0; padding: 20px 10px 20px 10px;"><div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555; padding-top: 10px;" class="stack-column-center"> <a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100901">900 100 901</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> <br /><br /> Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil
1007-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" /></a> </td></tr></table></td></tr></table></div>'; 1008 informe_SRI_html += '<div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="text-align: center;"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" alt="" style="border: 0;width: 100%;max-width: 325;height: auto;" class="center-on-narrow"></a></td></tr></table></td></tr></table></div></td></tr></table></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;"><tr><td style="padding: 0px 20px 10px 20px;width: 100%;font-size: 10px; font-family: sans-serif; mso-height-rule: exactly; line-height:15px; text-align: justify; color: #888888;"><br><br>De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMÃâVIL CLUB ESPAÃâA con domicilio en C/ Isaac Newton nú4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, asàcomo para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE asàcomo de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indÃÂquenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.<br></td></tr></table></div></center></td></tr></table>'; 1009 break; 1010 case "2023_1": 1011 titulo = "RACE I Informe completo Sillas Infantiles 2023"; 1012 informe_SRI_html = '<table cellpadding="0" cellspacing="0" border="0" height="100%" width="101%" bgcolor="#e0e0e0" style="border-collapse:collapse;"><tr><td><center style="width: 100%;"><div style="max-width: 600px;"> <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;" bgcolor="#dbdbdb"><tr><td style="padding: 5px 0; text-align: center"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/cabecera-silla-rae.jpg" width="100" height="100" alt="alt_text" border="0"></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#ffffff" width="100%" style="max-width: 600px;"><tr><td class="full-width-image" align="center" bgcolor="#ffffff" width="600" height="2" style="width: 100%; max-width: 600px; height: 3px;"></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 5px;"></td></tr><tr><td class="full-width-image" align="center" ><a href="https://www.race.es/wp-content/uploads/2023/05/1informe-sillas-infantiles-2023.pdf" class="button-td" target="_blank"><img src="https://www.race.es/wp-content/uploads/2023/05/cabecera-informe-sri-2023.jpg" width="600" alt="alt_text" border="0" style="width: 100%; max-width: 600px; height: auto;"></a></td></tr><tr><td class="full-width-image" align="center" bgcolor="#505050" width="600" height="2" style="width: 100%; max-width: 600px; height: 4px;"></td></tr>'; 1013 informe_SRI_html += '<tr><td><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 10px 10px 0px 40px; font-family: sans-serif; font-size: 14px; mso-height-rule: exactly; line-height: 30px; color: #1f77dc;"><h1><a href="https://www.race.es/wp-content/uploads/2023/05/1informe-sillas-infantiles-2023.pdf" target="_blank" class="button-a" style="text-decoration: none;color:#1f77dc;">Primer Informe sillas infantiles 2023</a></h1></td></tr><tr><td style="padding: 0px 40px 80px 40px; font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555;"><p>Te enviamos el primer informe de 2023 sobre sillas infantiles elaborado por el Real Autom󶩬 Club de Españ¡ ¨RACE) junto a otros clubes europeos de automovilistas.<
1013/p><table cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto;"><tr><td style="border-radius: 10px; background: #1f77dc; text-align: center;" class="button-td"><a href="https://www.race.es/wp-content/uploads/2023/05/1informe-sillas-infantiles-2023.pdf" style="background: #1f77dc; border: 15px solid #1f77dc; padding: 0 10px;color: #ffffff; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a" target="_blank"> <img src="https://www.race.es/wp-content/uploads/2019/10/boton-descargar-informe.png" width="50" heighr="53"> <p style="font-size:18px;">Descargar informe</p></a></td></tr></table></td></tr></table></td></tr>'; 1014 informe_SRI_html += '<tr><td bgcolor="#ffffff" align="center" height="100%" valign="top" width="100%"><table border="1" cellpadding="0" cellspacing="0" align="center" width="100%" style="max-width:600px;border-color: #595959;"><tr><td align="center" valign="top" style="font-size:0; padding: 20px 10px 20px 10px;"><div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="font-family: sans-serif; font-size: 15px; mso-height-rule: exactly; line-height: 20px; color: #555555; padding-top: 10px;" class="stack-column-center"> <a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100901">900 100 901</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> <br /><br /> Sò¥nos en: <a href="https://www.linkedin.com/company/real-autom-vil-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/linkedin-icon-inf.png" alt="Linkedin" width="30" height="30" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-facebook-inf.png" alt="Facebook" width="30" height="30" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-twitter-inf.png" alt="Twitter" width="30" height="30" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2018/01/icono-youtube-inf.png" alt="Youtube" width="30" height="30" /></a> </td></tr></table></td></tr></table></div>'; 1015 informe_SRI_html += '<div style="display:inline-block; max-width:50%; margin: 0 -2px; vertical-align:top; width:100%;" class="stack-column"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 0 5px;"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="font-size: 14px;text-align: left;"><tr><td style="text-align: center;"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/wp-content/uploads/precio/banner-race-socio-sillas.gif" width="325" alt="" style="border: 0;width: 100%;max-width: 325;height: auto;" class="center-on-narrow"></a></td></tr></table></td></tr></table></div></td></tr></table></td></tr></table><table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;"><tr><td style="padding: 0px 20px 10px 20px;width: 100%;font-size: 10px; font-family: sans-serif; mso-height-rule: exactly; line-height:15px; text-align: justify; color: #888888;"><br><br>De conformidad con la normativa vigente en materia de protecció® ¤e datos de carᣴer personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior será® incorporados a un fichero titularidad de REAL AUTOMÓIL CLUB ESPAÑ con domicilio en C/ Isaac Newton nº4, Parque Tecnoló§©£o de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, asð±¯mo para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE asð±¯mo de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentació® ¤e este formulario, indð¥noslo mediante carta dirigid
1015a al Departamento de Socios a la direcció® ¡nteriormente indicada o mediante correo electró®©£o a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.<br></td></tr></table></div></center></td></tr></table>'; 1016 break; 1017 } 1018 envia_html_email(informe_SRI_html, email, "RACE <[email protected]>", titulo); 1019 setTimeout(function () { 1020 jQuery("#" + idFormulario)[0].reset(); 1021 }, 2000); 1022 } 1023 1024} 1025 1026function informe_EURORAP(idFormulario, anyo) { 1027 1028 var error_txt = ""; 1029 var email = jQuery("#" + idFormulario).find('[name="email"]').val(); 1030 var rbConsentRace = jQuery("#" + idFormulario).find('[name="consentimiento_race"]').is(':checked'); 1031 1032 if (email == "" || !validaEmail(email)) { 1033 error_txt += "El formato de email no es correcto.<br><br>"; 1034 } 1035 if (!rbConsentRace) { 1036 error_txt += "Debes permitir o denegar cada consentimiento.<br><br>"; 1037 } 1038 if (error_txt != "") { 1039 swal({title: "Formulario incompleto", text: "<br><p>" + error_txt + "</p>", html: true}); 1040 return false; 1041 } 1042 else { 1043 var AltaProductoRACE = { 1044 Producto: "SUSCRIPSRI", 1045 Email: email, 1046 UserId: "ALTAS_WEB", 1047 ConsentimientoGrupoRace: jQuery('input[name=consentimiento_race]:checked').val().toUpperCase(), 1048 ConsentimientoOrigen: ipPublica + " " + window.location.href 1049 }; 1050 envia_form_suscripcion(AltaProductoRACE, "<p>Solicitud recibida correctamente. El informe te llegará a la dirección de correo facilitada.</p>"); 1051 switch (anyo) { 1052 case "2017": 1053 titulo = "RACE Informe Estado Carreteras 2017"; 1054 informe_EURORAP_html = '<table style="font-family: \'DIN Regular\', \'DIN\', Arial, Helvetica, sans-serif;font-size: 14px;color: #58585a;background-color: #fff" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#fff"><tbody><tr><td style="font-size: 12px;text-align: center;background-color: #fff;color: #000;font-family: Helvetica, Arial, sans-serif" width="650" height="25"><strong>Publicidad</strong>.</td></tr></tbody></table><table style="font-family: \'DIN Regular\', \'DIN\', Arial, Helvetica, sans-serif;font-size: 14px;color: #58585a;background-color: #dadada" border="0" width="650" cellspacing="0" cellpadding="0" align="center" bgcolor="#dadada"><tbody><tr><td colspan="2"><a href="https://www.race.es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2016/10/cabecera-silla.jpg" alt="" width="650" height="117" border="0" /></a></td></tr><tr><td colspan="2" style="text-align:center"><a href="https://www.race.es/race.es/wp-content/uploads/2017/12/Informe-RACE-EuroRAP-2017.pdf" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2017/12/boletin-eurorap-2017.jpg" alt="" width="650" height="220" border="0" /></a></td></tr><tr><td style="text-align: center" colspan="2" bgcolor="#dadada" height="60"><a style="color: #58585a;text-decoration: none;font-size: 26px;font-weight: bold" href="https://www.race.es/race.es/wp-content/uploads/2017/10/2-Informe-RACE-SRI-2017.pdf" target="_blank">INFORME RACE EURORAP 2017</a></td></tr>'; 1055 informe_EURORAP_html += '<tr><td style="padding-left: 60px;padding-right: 66px;padding-top: 10px;vertical-align: text-top" colspan="2" width="650" height="80">Te enviamos el informe de 2017 sobre la Red de Carreteras del Estado en el que participa el Real Automóvil Club de España (RACE).</td></tr><tr><td style="padding-left: 180px" colspan="2" height="54"> <a href="https://www.race.es/race.es/wp-content/uploads/2017/12/Informe-RACE-EuroRAP-2017.pdf"><img class="aligncenter" src="https://www.race.es/race.es/wp-content/uploads/2017/05/descargar-informe-clarito.png" alt="" width="241" height="80" /></a></td></tr><tr><td style="padding-left: 60px;padding-top: 50px;padding-bottom:30px" colspan="2"><a style="color: #58585a" href="https://www.race.es" target="_blank">www.race.es</a> | <a style="color: #58585a;text-decoration: none" href="tel:900100992">900 100 992</a> | <a style="color: #58585a;text-decoration: none" href="https://www.race.es/club-race/aplicaciones-moviles-race">App RACE</a> | Síguenos en: <a href="https://www.linkedin.com/company/real-autom-vil
1055-club-de-espa-a" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2015/12/linkedin.png" alt="Linkedin" /></a> <a href="https://plus.google.com/+RaceEsmotoryviajes" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2015/12/google.png" alt="Google +" /></a> <a href="https://www.facebook.com/clubrace" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2015/12/facebook.png" alt="Facebook" /></a> <a href="https://twitter.com/RACE_es" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2015/12/twitter.png" alt="Twitter" /></a> <a href="https://www.youtube.com/user/SeguridadVialRACE" target="_blank"><img src="https://www.race.es/race.es/wp-content/uploads/2015/12/youtube.png" alt="Youtube" /></a></td></tr><tr style="background-color: #fff"><td style="padding: 10px 10px 10px 10px;font-size: 11px" colspan="2">De conformidad con la normativa vigente en materia de protección de datos de carácter personal, le informamos que los datos que nos facilita voluntariamente al cumplimentar el presente formulario y todos aquellos que sean recogidos de forma posterior serán incorporados a un fichero titularidad de REAL AUTOMóVIL CLUB ESPAÑA con domicilio en C/ Isaac Newton n�4, Parque Tecnológico de Madrid (PTM) - 28760 Tres Cantos (Madrid) con la finalidad de gestionar su solicitud, así como para enviarle comunicaciones publicitarias, ofertas y promociones relativas a productos y servicios de empresas del Grupo RACE así como de entidades colaboradoras del RACE. Si desea acceder, rectificar, cancelar sus datos u oponerse a su tratamiento posteriormente a la cumplimentación de este formulario, indíquenoslo mediante carta dirigida al Departamento de Socios a la dirección anteriormente indicada o mediante correo electrónico a <a style="font-weight: bold;text-decoration: none;color: #58585a" href="mailto:[email protected]" target="_blank">[email protected]</a>, o al fax 91-5947334.</td></tr><tr style="background: #ffffff"><td colspan="2" height="23"></td></tr><tr style="background: #ffffff"><td colspan="2" height="63"><a href="https://www.race.es/formulario-alta-online"><img src="https://www.race.es/race.es/wp-content/uploads/2023/12/pie-boletin-2-informe-sillas-infantiles-2017.jpg" alt="" width="670" height="306" /></a></td></tr></tbody></table>'; 1056 break; 1057 } 1058 envia_html_email(informe_EURORAP_html, email, "RACE <[email protected]>", titulo); 1059 setTimeout(function () { 1060 jQuery("#" + idFormulario)[0].reset(); 1061 }, 2000); 1062 } 1063 1064} 1065 1066function suscrip_Autoclub(idFormulario) { // Revista Autoclub 1067 1068 var error_txt = ""; 1069 var email = jQuery("#" + idFormulario).find('[name="email"]').val(); 1070 var rbConsentRace = jQuery("#" + idFormulario).find('[name="consentimiento_race"]').is(':checked'); 1071 1072 if (email == "" || !validaEmail(email)) { 1073 error_txt += "El formato de email no es correcto.<br><br>"; 1074 } 1075 if (!rbConsentRace) { 1076 error_txt += "Debes permitir o denegar cada consentimiento.<br><br>"; 1077 } 1078 1079 if (error_txt != "") { 1080 swal({title: "Formulario incompleto", text: "<br><p>" + error_txt + "</p>", html: true}); 1081 return false; 1082 } 1083 else { 1084 var AltaProductoRACE = { 1085 "Producto": "SUSCRIPREVISTA", 1086 "Email": email, 1087 "UserId": "ALTAS_WEB", 1088 "ConsentimientoGrupoRace": jQuery('input[name=consentimiento_race]:checked').val().toUpperCase(), 1089 "ConsentimientoOrigen": ipPublica + " " + window.location.href 1090 }; 1091 envia_form_suscripcion(AltaProductoRACE, "<p>Gracias, te has suscrito correctamente.</p>"); 1092 autoclub_html = '<table width="650" border="0" align="center" cellpadding="0" cellspacing="0" id="background-table"><tbody><tr><td width="600" align="center"><table border="0" cellpadding="0" cellspacing="0" style="margin:0 10px" width="533"><tbody><tr><td width="533" height="25" style="font-size:12px;text-align:center;color:#000;font-family:Helvetica, Arial, sans-serif"></td></tr><tr id="gallery-content-row"><td width="600"><table border="0" cellpadding="0" cellspacing="0" width="533"><tbody><tr><td width="600"><table border="0" cellpadding="0" cellspacing="0" width="533"><tbody><tr><td width="600" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="533"><tbody><tr><td width="230" valign="top" bgcolor="#dedfe1"><a href="https://www.race.es/revista-autoclub?utm_source=SUSCRIP_REVISTA&utm_medium=email&utm_content=revista-autoclub&utm_campaign=suscripcion-revista"><img src="https://www.race.es/race.es/wp-content/uploads/2017/04/cabecera_sus_revista.jpg" alt="RACE" width="650" height="90" border="0" /></a></td></tr></tbody></table></td></tr></tbody></table>'; 1093 autoclub_html += '<table width="533" border="0" align="center" cellpadding="0" cellspacing="0"><tbody><tr><td width="600" align="center" bgcolor="#FFFFFF"><table width="534" border="0" align="center" cellpadding="0" cellspacing="0" style="color:#fff;font:normal 14px Arial, Helvetica, sans-serif;text-align:justify;line-height:22px"><tr>
1093<td height="17" valign="top" style="color:#58585a"> </td></tr><tr><td height="117" valign="top" style="color:#58585a"><p> </p><p>¡Gracias por registrarte!</p><p>Desde este momento recibirás la <strong>revista AutoClub del RACE</strong>, en la que podrás encontrar las pruebas de los <strong>últimos modelos de coches y motos del mercado</strong>, rutas únicas para disfrutar de un viaje único, y una <strong>selección de destinos diferentes</strong> en todo el mundo. Además, en cada número te haremos propuestas de <strong>gastronomía</strong>, te acercaremos los <strong>avances tecnológicos</strong>, las <strong>apps</strong> más útiles, y te informaremos de todo lo que referente al <strong>tráfico y la Seguridad Vial</strong>. Y para que no te pierdas nada, en AutoClub podrás consultar la <strong>agenda de eventos</strong> más destacados. </p><p>Disfruta de cada número de AutoClub, la revista del RACE para los que les gusta el motor, el ocio y los viajes. </p><p>¡Bienvenido!</p></td></tr></table>'; 1094 autoclub_html += '<a href="https://www.race.es/revista-autoclub?utm_source=SUSCRIP_REVISTA&utm_medium=email&utm_content=revista-autoclub&utm_campaign=suscripcion-revista"><img src="https://www.race.es/race.es/wp-content/uploads/2017/04/febrero_revista_sus.gif" alt="" width="600" height="456" border="0" /></a></td></tr><tr><td width="600" align="left" valign="top" bgcolor="#FFFFFF" style="font:normal 12px Arial, Helvetica, sans-serif;text-align:justify;line-height:18px"><table width="534" border="0" align="center" cellpadding="0" cellspacing="0" style="color:#fff;font:normal 14px Arial, Helvetica, sans-serif;text-align:justify;line-height:17px"><tr><td height="89" style="color:#58585a"><table width="50%" border="0" align="center" cellpadding="8" cellspacing="0"><tr><td bgcolor="#C10000" style="color:#FFF;text-align:center;font-family:Helvetica, Arial, sans-serif;font-size:15px"><strong><a href="https://www.race.es/revista-autoclub?utm_source=SUSCRIP_REVISTA&utm_medium=email&utm_content=revista-autoclub&utm_campaign=suscripcion-revista" style="color:#F7F2F2;text-decoration:none">DESCUBRE EL ÚLTIMO NUMERO DE LA REVISTA AUTOCLUB</a></strong></td></tr></table></td></tr>'; 1095 autoclub_html += '<tr><td height="32" style="color:#fff"> </td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td bgcolor="#666666"><table width="540" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#666666"><tr><td width="354" style="color:#FFF;font-size:13px;font-family:Helvetica, Arial, sans-serif"><a style="color:#fff" href="https://www.race.es?utm_source=SUSCRIP_REVISTA&utm_medium=email&utm_content=race&utm_campaign=suscripcion-revista"><strong>www.race.es</strong></a><strong> | <a href="https://www.race.es/club-race/aplicaciones-moviles-race?utm_source=SUSCRIP_REVISTA&utm_medium=email&utm_content=apps-race&utm_campaign=suscripcion-revista" style="color:#fff">App RACE </a>| </strong></td><td width="29" align="center" class="w220"><a href="http://www.linkedin.com/company/real-autom-vil-club-de-espa-a"><img src="https://www.race.es/race.es/wp-content/uploads/2017/04/linkedin_revista_autoclub.png" alt="Linkedin" width="26" height="26" border="0" align="middle" /></a></td><td width="29" align="center"><a href="https://plus.google.com/+RaceEsmotoryviajes"></a><a href="https://plus.google.com/+RaceEsmotoryviajes/about?hl=es?hl=es"><img src="https://www.race.es/race.es/wp-content/uploads/2017/04/google_revista_autoclub.png" alt="Google+" width="26" height="26" border="0" align="middle" /></a></td><td width="29" align="center"><a href="https://www.facebook.com/clubrace"><img src="https://www.race.es/race.es/wp-content/uploads/2017/04/facebook_revista_autoclub.png" alt="Facebook" width="26" height="26" border="0" align="middle" /></a></td><td width="29" align="center"><a href="https://twitter.com/RACE_es/"><img src="https://www.race.es/race.es/wp-content/uploads/2017/04/twitter_revista_autoclub.png" alt="Twitter" width="26" height="26" border="0" align="middle" /></a></td><td width="29" align="center"><a href="https://www.youtube.com/user/SeguridadVialRACE"><img src="https://www.race.es/race.es/wp-content/uploads/2017/04/youtube_revista_autoclub.png" alt="YouTube" width="26" height="26" border="0" align="middle" /></a></td></tr></table></td></tr></tbody></table><table width="534" border="0" align="center"><tbody><tr><td height="10" align="left" style="color:#666666;font-size:11px;font-family:Helvetica, Arial, sans-serif;line-height:13px"> </td></tr><tr><td width="600" height="63" align="left" style="color:#666666;font-size:11px;font-family:Helvetica, Arial, sans-serif;line-height:13px"> Si quieres ejercer tus derechos de cancelación, acceso, rectificació
1095n y oposición, de acuerdo con la Ley 15/1999, puedes hacerlo dirigiendo tu petición por escrito a la atención del Departamento de Gestión de Socios del RACE, a través del número de fax 915947329 o por correo a C/ Isaac Newton 4, Parque Tecnológico de Madrid 28760 Tres Cantos (Madrid). Si no quieres volver a recibir estos mensajes envía un correo electrónico a: <a style="color:#666666" href="mailto:[email protected]"><strong>[email protected]</strong></a>.<br /> </td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table>'; 1096 envia_html_email(autoclub_html, email, "RACE <[email protected]>", "Revista Autoclub del RACE"); 1097 } 1098 1099} 1100 1101function suscrip_viajes(idFormulario) { // Newsletter Viajes RACE 1102 1103 var error_txt = ""; 1104 var email = jQuery("#" + idFormulario).find('[name="email"]').val(); 1105 var rbConsentRace = jQuery("#" + idFormulario).find('[name="consentimiento_race"]').is(':checked'); 1106 var chkHeLeido = jQuery("#" + idFormulario).find('#aceptoCondNewsletter').prop('checked'); 1107 1108 if (email == "" || !validaEmail(email)) { 1109 error_txt += "El formato de email no es correcto.<br><br>"; 1110 } 1111 if (!chkHeLeido) { 1112 error_txt += "Debes aceptar las Condiciones de Uso.<br><br>"; 1113 } 1114 if (!rbConsentRace) { 1115 error_txt += "Debes permitir o denegar cada consentimiento.<br><br>"; 1116 } 1117 1118 if (error_txt != "") { 1119 swal({title: "Formulario incompleto", text: "<br><p>" + error_txt + "</p>", html: true}); 1120 return false; 1121 } 1122 else { 1123 var AltaProductoRACE = { 1124 "Producto": "SUSCRIPVIAJE", 1125 "Email": email, 1126 "UserId": "ALTAS_WEB", 1127 "ConsentimientoGrupoRace": jQuery('input[name=consentimiento_race]:checked').val().toUpperCase(), 1128 "ConsentimientoOrigen": ipPublica + " " + window.location.href 1129 }; 1130 envia_form_suscripcion(AltaProductoRACE, "<p>Gracias, te has suscrito correctamente.</p>"); 1131 } 1132 1133} 1134 1135// Funcion generica para todos los formularios de suscripcion, para guardar en CRM todo lo necesario 1136function envia_form_suscripcion(AltaProductoRACE, msg_confirmacion, postAction) { 1137 // ALEX 1138 //alert("Envia datos ALTA --> " + RACESERVICES); 1139 URLServicios = "https://" + RACESERVICES + "raceservices.race.es/raceServices"; 1140 1141 var crearBPPotencial = URLServicios + "/ClientePotencial/alta/"; 1142 jQuery.ajax({ 1143 url: crearBPPotencial, 1144 type: "POST", 1145 contentType: 'application/json; charset=utf-8', 1146 headers: {'Authorization': "Basic d3NyYWNlOnc1cjFjMg=="}, 1147 data: JSON.stringify(AltaProductoRACE), 1148 success: function (result) { 1149 if (result === "OK") { 1150 swal({ 1151 title: "Gracias", 1152 text: msg_confirmacion, 1153 html: true, 1154 type: "success",
1155 showCancelButton: false, 1156 confirmButtonColor: "#DD6B55", 1157 confirmButtonText: "Ok", 1158 closeOnConfirm: false, 1159 closeOnCancel: false 1160 }, 1161 function () { 1162 jQuery('form').each(function () { 1163 this.reset() 1164 }); 1165 if (postAction !== undefined) { 1166 window.location.href = postAction; 1167 } 1168 swal.close(); 1169 }); 1170 } 1171 else { 1172 swal({ 1173 title: "¡Error!", 1174 text: "Por favor, inténtalo de nuevo más tarde", 1175 html: true, 1176 type: "error", 1177 showCancelButton: false, 1178 confirmButtonColor: "#DD6B55", 1179 confirmButtonText: "Ok", 1180 closeOnConfirm: false, 1181 closeOnCancel: false 1182 }); 1183 } 1184 1185 }, error: function (jqXHR, data, error) { 1186 swal({ 1187 title: "¡Error!", 1188 text: "en el envío de datos. " + dat, 1189 type: "error",
1190 showCancelButton: false, 1191 confirmButtonColor: "#DD6B55", 1192 confirmButtonText: "Ok", 1193 closeOnConfirm: false, 1194 closeOnCancel: false 1195 }); 1196 1197 } 1198 }); 1199} 1200 1201function suscribe_email(idFormulario) { 1202 1203 var condicionado = jQuery("#" + idFormulario).find('#aceptoCondNewsletter').is(':checked'); 1204 var mail = jQuery("#" + idFormulario).find('#email').val(); 1205 var checkEmail = validaEmail(mail); 1206 1207 if (mail == "" || !checkEmail) { 1208 alert("Debes introducir una dirección de email con formato correcto"); 1209 return false; 1210 } 1211 if (!condicionado) { 1212 1213 alert("Debes leer y aceptar las Condiciones de Uso y la PolÃtica de Privacidad para poder continuar"); 1214 return false; 1215 } 1216 1217 jQuery.ajax({ 1218 url: "https://turismo.race.es/Turismo/Services/ViajesRace/mail", 1219 type: 'post', 1220 data: jQuery("#" + idFormulario).serialize(), 1221 beforeSend: function () { 1222 //jQuery("form#" + idFormulario + " .msg").html("Guardando..."); 1223 }, 1224 success: function (response) { 1225 alert("Suscripción realizada correctamente."); 1226 }, 1227 fail: function () { 1228 alert("Ha ocurrido un error. Por favor, inténtelo de nuevo."); 1229 }, 1230 complete: function (response) { 1231 jQuery("form#" + idFormulario)[0].reset(); 1232 } 1233 1234 }); 1235} 1236 1237function envia_propuesta(idFormulario) { 1238 1239 var cp = jQuery("#" + idFormulario).find('#cp').val(); 1240 if (cp != "" && !jQuery.isNumeric(cp)) { 1241 alert("Debes introducir un código postal con formato correcto"); 1242 return false; 1243 } 1244 1245 var mail = jQuery("#" + idFormulario).find('#email').val(); 1246 var checkEmail = validaEmail(mail); 1247 1248 if (mail == "" || !checkEmail) { 1249 alert("Debes introducir una dirección de email con formato correcto"); 1250 return false; 1251 } 1252 1253 var tfo = jQuery("#" + idFormulario).find('#tfo').val(); 1254 var checkTfo = validaTfo(tfo); 1255 if (tfo != "" && !checkTfo) { 1256 alert("Debes introducir un número de teléfono con formato correcto"); 1257 return false; 1258 } 1259 1260 var personas = jQuery("#" + idFormulario).find('#personas').val(); 1261 if (personas != "" && !jQuery.isNumeric(personas)) { 1262 alert("Debes introducir un número de personas con formato correcto"); 1263 return false; 1264 } 1265 1266 1267 var condicionado = jQuery("#" + idFormulario).find('#aceptoCondShackleton').is(':checked'); 1268 1269 if (!condicionado) { 1270 1271 alert("Debes leer y aceptar las Condiciones de Uso y la PolÃtica de Privacidad para poder continuar"); 1272 return false; 1273 } 1274 1275 jQuery.ajax({ 1276 url: "https://turismo.race.es/Turismo/Services/ViajesRace/enviaM
1276ail", 1277 type: 'post', 1278 data: jQuery("#" + idFormulario).serialize(), 1279 beforeSend: function () { 1280 //jQuery("form#" + idFormulario + " .msg").html("Guardando..."); 1281 }, 1282 success: function (response) { 1283 alert("Propuesta enviada correctamente."); 1284 }, 1285 fail: function () { 1286 alert("Ha ocurrido un error. Por favor, inténtelo de nuevo."); 1287 }, 1288 complete: function (response) { 1289 jQuery("form#" + idFormulario)[0].reset(); 1290 } 1291 1292 }); 1293} 1294 1295 1296/* validaciones de formulario */ 1297function validaFecha(fecha, formato) { 1298 // Formato DD-MM-YYYY 1299 var expRegFecha = /(^(((0[1-9]|1[0-9]|2[0-8])[-](0[1-9]|1[012]))|((29|30|31)[-](0[13578]|1[02]))|((29|30)[-](0[4,6,9]|11)))[-](19|[2-9][0-9])\d\d$)|(^29[-]02[-](19|[2-9][0-9])(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96)$)/; 1300 return expRegFecha.test(fecha); 1301} 1302 1303function validaEmail(email) { 1304 var expRegEmail = /[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,4}/igm; 1305 return expRegEmail.test(email); 1306} 1307 1308function validaTfo(tfo) { 1309 var expRegTfo = /^[9|6]{1}([\d]{2}[-]*){3}[\d]{2}$/; 1310 return expRegTfo.test(tfo); 1311} 1312 1313function setTarjetaAnimada() { 1314 jQuery("#tarjeta-giratoria").flip({ 1315 trigger: 'manual' 1316 }); 1317 1318 jQuery("#tarjeta-giratoria").click(function (e) { 1319 if (e.target.tagName != "INPUT" && e.target.tagName != "SELECT" && e.target.tagName != "BUTTON") { // sólo gira si no es un campo de formulario 1320 jQuery("#tarjeta-giratoria").flip("toggle"); 1321 } 1322 }); 1323} 1324 1325function eventosFormularios() { 1326 1327 // Extrae la IP Publica 1328 getPublicIP(); 1329 1330 jQuery("form :input:not(textarea)").keypress(function (e) { 1331 if (e.which == 13) { 1332 jQuery(this).parents("form").find("a.btn-submit").click(); 1333 return false; 1334 } 1335 }); 1336 // Formulario de b�squeda en Cabecera 1337 /* Mostrar y ocultar desactivado por petici�n de Marketing 09-2015 */ 1338 jQuery(".wrapper-search").toggleClass("visible"); 1339 jQuery(".btn-search").click(function () { 1340 jQuery(this).parents(".wrapper-search").find("form#searchform").submit(); 1341 }); 1342 /*jQuery(".btn-search i").click(function(){ 1343 jQuery(".wrapper-search").toggleClass("visible"); 1344 if ( jQuery(".wrapper-search").hasClass("visible") ) { // Pasa el foco al campo de b�squeda cuando se muestra 1345 setTimeout(function(){ 1346 jQuery("#search_top").focus(); 1347 }, 1200); 1348 } 1349 });*/ 1350 1351 jQuery("#search_top").keypress(function (event) { 1352 if (event.which == 13 && jQuery(this).val().length > 0) { 1353 jQuery(this).parents("form#searchform").submit(); 1354 } 1355 }) 1356 1357 // Comportamiento Tabs sustituyendo pesta�as por im�genes 1358 jQuery(".ico_izquierda_certificado").click(function () { 1359 jQuery(this).addClass("selected"); 1360 jQuery(".ico_derecha_certificado").removeClass("selected"); 1361 jQuery(".ui-tabs-nav a#ui-id-1").click(); 1362 }); 1363 jQuery(".ico_derecha_certificado").click(function () { 1364 jQuery(this).addClass("selected"); 1365 jQuery(".ico_izquierda_certificado").removeClass("selected"); 1366 jQuery(".ui-tabs-nav a#ui-id-2").click(); 1367 }); 1368 // Eventos Popup Maker con Ninja Forms 1369 ocultaPopUpNinjaForm(); 1370 // Pag mantenimiento RACE, invalida el submit por defecto 1371 jQuery("#formMantenim #btn").click(function (e) { 1372 e.preventDefault() 1373 }); 1374 1375 // 2019 - Tarjeta de pago animada en formularios alta 1376 if (jQuery("#tarjeta-giratoria").length > 0) { 1377 intervalSetTarjetaAnimada = setInterval( function() { 1378 if ( window.jQuery && window.jQuery().slick ) { 1379 clearInterval(intervalSetTarjetaAnimada); 1380 setTarjetaAnimada(); 1381 } 1382 }, 500); 1383 } 1384} 1385 1386function eventosIFrames() { 1387 jQuery('iframe').on("load", function () { 1388 window.scrollTo(0, 0); 1389 }); 1390} 1391 1392function igualaBloquesFooter() { 1393 1394 var numBloques = jQuery(".footer .row .col-sm-3").length; 1395 var altura, alturaMax = 0; 1396 1397 jQuery(".footer .row .col-sm-3").each(function () { 1398 altura = jQuery(this).height(); 1399 if (altura > alturaMax) { 1400 alturaMax = altura; 1401 } 1402 }); 1403 1404 jQuery(".footer .row .col-sm-3").height(alturaMax); 1405 1406} 1407 1408function procesaAnchorLinks() { //Smooth scroll en anchor tags 1409 jQuery(window).load(function () { 1410 var anchor = window.location.hash.slice(1); 1411 if (anchor != "" && anchor.indexOf("lcp_instance") < 0) {
1412 scrollToAnchor(anchor); 1413 } 1414 }); 1415 jQuery(".smoothscroll").click(function () { 1416 // Si existe un navegador por bullets resaltamos el clicado 1417 jQuery(".smoothscroll").each(function () { 1418 jQuery(this).removeClass("active") 1419 }); 1420 jQuery(this).addClass("active"); 1421 var idDestino = jQuery(this).prop("href").split("#")[1]; 1422 // Hay que sumar la altura de la cabecera 1423 var offsetCabecera = parseInt(jQuery("nav div.navbar").css("height")); 1424 var destino = jQuery('[name=' + idDestino + ']').offset().top; 1425 var diferencia = Math.abs((jQuery(window).scrollTop() - offsetCabecera) - destino); 1426 if (diferencia > 50) { // S�lo hace scroll si est� a m�s de 200px del destino 1427 scrollToAnchor(idDestino); 1428 } 1429 return false; 1430 }); 1431 1432} 1433 1434function scrollToAnchor(aid) { 1435 var aTag = jQuery("[name='" + aid + "']"); 1436 if ( aTag.length == 0 ) 1437 { 1438 return; 1439 } 1440 var headerHeight = jQuery("div.navbar").height() + jQuery("div.main-menu-dsktp").height() + 20; 1441 jQuery('html,body').animate({scrollTop: aTag.offset().top - headerHeight}, 800, 'easeOutQuad'); 1442} 1443 1444 1445function eventosResponsive() { 1446 1447 // SEOCOM - Desactivado porque interfiere con los eventos jQuery 1448 // // Si el men� principal se sale por la derecha, aj�stalo moviendo todo el desplegable a la izda 1449 // jQuery.each(['show', 'hide'], function (i, ev) { 1450 // var el = jQuery.fn[ev]; 1451 // jQuery.fn[ev] = function () { 1452 // this.trigger(ev); 1453 // return el.apply(this, arguments); 1454 // }; 1455 // }); 1456 jQuery('.dropdown-menu').on('show', function () { 1457 var offsetX = parseFloat(jQuery(this).offset().left) + parseFloat(jQuery(this).width()); 1458 var anchoVentana = jQuery(window).width(); 1459 }); 1460 // Para arreglar el slider de la home y que copie en los atributos el contenido de la imagen de fondo de cada slide 1461 if (jQuery("#rev_slider_1_1").length > 0) { 1462 jQuery("#rev_slider_1_1 .tp-bgimg").each(function (index) { 1463 var bg = jQuery(this).css('background-image'); 1464 bg = bg.replace("url(", '').replace(")", ''); 1465 jQuery(this).attr("src", bg); 1466 jQuery(this).attr("data-src", bg); 1467 }); 1468 } 1469 // En tama�o menor a 768px se para el slider de seguros en la home 1470 if (jQuery("#rev_slider_2_2").length > 0 && window.innerWidth < 768) { 1471 setTimeout(function () { 1472 revapi2.revpause(); 1473 }, 3000); 1474 } 1475// 2019 eventos swipe para carruseles con slide. Se asume que los controles tienen las clases "left" y "right" 1476 if (jQuery(".carousel.slide .carousel-control").length > 0) { 1477 jQuery(".carousel.slide").swipe({ 1478 swipeLeft:function(event, direction, distance, duration, fingerCount) { 1479 jQuery(".carousel.slide .carousel-control.right").click(); 1480 }, 1481 swipeRight:function(event, direction, distance, duration, fingerCount) { 1482 jQuery(".carousel.slide .carousel-control.left").click(); 1483 } 1484 }); 1485 } 1486 // 2019 Banda de "Más información" en versión mobile 1487 // Comprobamos las excepciones donde no debe aparecer dicha banda 1488 var url = window.location.href; 1489 var arrPagsFiltrar = ["/club-race-unlimited","/formulario-alta-online","/formulario-alta-online-corto","/formulario-alta-duo-online","/formulario-alta-family-online","/formulario-alta-online-motoristas","/formulario-alta-online-proteccion-vial","/formulario-alta-online-race-unlimited-2-pasos","/formulario-alta-online2","/mis-productos","/consulta-servicios","/datos-personales","/mis-recibos","/cambio-password","/mis-comunicaciones"]; 1490 arrPagsFiltrar = jQuery.map(arrPagsFiltrar, function (indice) { 1491 return url.indexOf(indice) == -1 ? 0 : 1; // Si no aparece ninguno, tendremos un array de ceros 1492 }); 1493 var excepcion = ( parseInt(arrPagsFiltrar.join("")) != 0 ); // Si se cumple distinto de cero, quiere decir que estamos en una de las excepciones 1494 if (!excepcion && jQuery("#banda-ayuda").length == 0) { // Sólo pintamos la banda "Más info" si no estamos en alguna de las excepciones y no hay una banda previa 1495 1496 if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent) 1497 || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1497sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0, 4))) 1498 { 1499 console.log("bandaAyuda()"); 1500 bandaAyuda(); 1501 } 1502 1503 } 1504} 1505 1506// Banda Ayuda en algunas pantallas (mobile). Solo se muestra pasado el banner "header-image" o si no existe, pasados 300px. 1507function initBandaAyuda() { 1508 1509 var windowsWidth = jQuery(window).width(); 1510 if (windowsWidth < 768 && jQuery("#banda-ayuda").length > 0) { 1511 var alturaBloqueSup = jQuery(".comienza_contenido .header-image").length > 0 ? jQuery(".comienza_contenido .header-image").height() + jQuery('header nav .navbar').height() : 300; 1512 var alturaBandaAyuda = jQuery("#banda-ayuda").outerHeight(); 1513 jQuery(window).scroll(function() { 1514 if (jQuery(this).scrollTop() >= alturaBloqueSup) { 1515 jQuery("#banda-ayuda").css("bottom",0); 1516 } 1517 else { 1518 jQuery("#banda-ayuda").css("bottom",0 - alturaBandaAyuda); 1519 } 1520 }); 1521 } 1522 1523} 1524 1525function ajustaPaginador() { 1526 jQuery(".lcp_paginator").show(); 1527} 1528 1529function eventosSidebar() { 1530 // Si hay clic to call temporizado an�malo 1531 if (jQuery(".c2c_tempo").length > 0) { 1532 jQuery(".c2c_tempo > a").delay(10000).queue(function () { 1533 jQuery(this).css('right', '0px') 1534 }); 1535 } 1536} 1537 1538function initDatePicker() { 1539 jQuery(function (jQuery) { 1540 jQuery.datepicker.regional['es'] = { 1541 closeText: 'Cerrar', 1542 prevText: '«Ant', 1543 nextText: 'Sig»', 1544 currentText: 'Hoy', 1545 monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 1546 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'], 1547 monthNamesShort: ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 1548 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'], 1549 dayNames: ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'], 1550 dayNamesShort: ['Dom', 'Lun', 'Mar', 'Mié', 'Juv', 'Vie', 'Sáb'], 1551 dayNamesMin: ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sá'], 1552 weekHeader: 'Sm', 1553 dateFormat: 'dd/mm/yy', 1554 firstDay: 1, 1555 isRTL: false, 1556 showMonthAfterYear: false, 1557 yearSuffix: '' 1558 }; 1559 jQuery.datepicker.setDefaults(jQuery.datepicker.regional['es']); 1560 }); 1561} 1562 1563function eventosViajes() { 1564 // Oculta el footer de Seguir RRSS en Categor�as "Consejos de Viajes" y "Rutas y destinos" 1565 var url = window.location.href; 1566 var arrFiltros = ["/consejos-de-viaje/", "/rutas-y-destinos/", "/ofertas-viajes/"]; // partes de la URL que actuan de filtro para el footer de seguimiento social 1567 arrFiltros = jQuery.map(arrFiltros, function (termino) { 1568 return url.indexOf(termino) == -1 ? 0 : 1; // Si no aparece ninguno, tendremos un array de ceros 1569 }); 1570 if (parseInt(arrFiltros.join("")) != 0) { // est� presente alguno de los filtros en la URL 1571 if (jQuery(".sigueme_social").length > 0) { 1572 jQuery(".sigueme_social").remove(); 1573 } 1574 } 1575 // Hay 2 paginas en Viajes RACE donde hay que reubicar el camino de migas oculto en el pie y mostrarlo justo antes de un iframe 1576 if (url.indexOf("/rutas-en-coche") != -1 || url.indexOf("/destinos-al-mejor-precio" != -1)) { 1577 var miga = jQuery("div.breadcrumbs.oculto").detach(); 1578 if (url.indexOf("/destinos-al-mejor-precio") != -1) { 1579 jQuery("main .panel-layout section iframe").before(miga); 1580 } 1581 else { 1582 jQuery(".comienza_contenido-viajes").prepend(miga); 1583 jQuery(".comienza_contenido-viajes .breadcrumbs a,.comienza_contenido-viajes .breadcrumbs a:visited, .comienza_contenido-viajes .breadcrumbs span").css('color', '#fff'); 1584 } 1585 jQuery("div.breadcrumbs.oculto").removeClass("oculto"); 1586 } 1587} 1588 1589function eventosIOS() { 1590 jQuery('a[data-ios-link]').on('click', function (e) { // en dispositivos iOS cargamos enlace alternativo 1591 if (iOSCheck()) { 1592 e.preventDefault(); 1593 window.open(jQuery(this).attr('data-ios-link'), '_blank'); 1594 } 1595 return true; 1596 }); 1597} 1598 1599function iOSCheck() { 1600 var iDevices = [ 1601 'iPad Simulator', 1602 'iPhone Simulator', 1603 'iPod Simulator', 1604 'iPad', 1605 'iPhone', 1606 'iPod' 1607 ]; 1608 1609 if (!!navigator.platform) { 1610 while (iDevices.length) { 1611 if (navigator.platform === iDevices.pop()) { 1612 return true; 1613 } 1614 } 1615 } 1616 1617 return false;
1618} 1619 1620/********************/ 1621// UTILIDADES 1622/********************/ 1623function PopupCenter(url, title, w, h) { 1624 // Fixes dual-screen position Most browsers Firefox 1625 var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : window.screenX; 1626 var dualScreenTop = window.screenTop != undefined ? window.screenTop : window.screenY; 1627 1628 var width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width; 1629 var height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height; 1630 1631 var left = ((width / 2) - (w / 2)) + dualScreenLeft; 1632 var top = ((height / 2) - (h / 2)) + dualScreenTop; 1633 var newWindow = window.open(url, title, 'scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left + ', statusbar=no, toolbar=no'); 1634 1635 // Puts focus on the newWindow 1636 if (window.focus) { 1637 newWindow.focus(); 1638 } 1639} 1640 1641function lanzaThickBox(url) { // Ajusta popup a 90% con 50px padding 1642 1643 tb_show("", url); 1644 1645 var displayWidth = jQuery(window).width() * 0.9; 1646 var displayHeight = jQuery(window).height() * 0.9; 1647 1648 jQuery("#TB_window").css({ 1649 marginLeft: 0 - (displayWidth + 50) / 2, 1650 marginTop: 0 - (displayHeight + 50) / 2, 1651 height: displayHeight + 50, 1652 width: displayWidth + 30 1653 }); 1654 jQuery("#TB_ajaxContent").css({ 1655 height: displayHeight, 1656 width: displayWidth 1657 }); 1658 1659 return false; 1660 1661} 1662 1663// fechas 1664function DiferenciaFechas(a, b) { 1665 Inicio = a.split("/"); 1666 FechaInicio = new Date(Inicio[2], Inicio[1] - 1, Inicio[0]); 1667 Final = b.split("/"); 1668 FechaFinal = new Date(Final[2], Final[1] - 1, Final[0]); 1669 Diferencia = (FechaFinal.getTime() - FechaInicio.getTime()) / 86400000; 1670 Diferencia = Math.round(Diferencia); 1671 this.dif = Diferencia; 1672 this.dur = Diferencia + 1 1673} 1674 1675function validarCalculadora() { 1676 var f = new Date(); 1677 var g = f.getDate(); 1678 var c = f.getMonth() + 1; 1679 var i = f.getFullYear(); 1680 var e = g + "/" + c + "/" + i; 1681 var h = document.getElementById("salida").value; 1682 var d = document.getElementById("llegada").value; 1683 var b = new DiferenciaFechas(h, e); 1684 if (b.dif == 0) { 1685 swal({title: "Error", text: "<p>La Salida mínima ha de ser mañana.</p>", html: true}); 1686 return (false); 1687 } 1688 var a = new DiferenciaFechas(h, d); 1689 if (a.dif < 0) { 1690 swal({title: "Error", text: "<p>La Salida ha de ser anterior a la llegada</p>", html: true}); 1691 return (false); 1692 } 1693 if (a.dur > 365) { 1694 swal({title: "Error", text: "<p>La duración máxima es de 365 días</p>", html: true}); 1695 return (false); 1696 } 1697 if (a.dur < 1) { 1698 swal({title: "Error", text: "<p>La duración mínima es de 1 días</p>", html: true}); 1699 return (false) 1700 } 1701 jQuery("#formCalcular #duracion").val(a.dur); 1702 jQuery("#formCalcular .spinner-loader").show(); 1703 return (true); 1704} 1705 1706function setCookie(nombre, valor, dias) { 1707 var d = new Date(); 1708 d.setTime(d.getTime() + (dias*24*60*60*1000)); 1709 var expira = "expires="+ d.toUTCString(); 1710 document.cookie = nombre + "=" + valor + ";" + expira + ";path=/"; 1711} 1712 1713function esIE_Edge() {
1714 if (navigator.userAgent.search("MSIE") >= 0 || navigator.userAgent.search("Trident") >= 0) 1715 return true; 1716 else 1717 return false; 1718} 1719 1720/********************/ 1721// MAPS 1722/********************/ 1723function limpiar() { 1724 map_obj.places = []; 1725 map_obj.init(); 1726} 1727 1728function borrarTipo() { 1729 var suprimido = 0; 1730 if (jQuery("#tipo").val() != "todo") { 1731 1732 for (i = 0; i < map_obj.places.length; i++) { 1733 if (map_obj.places[i].categories[0].name != jQuery("#tipo").val()) { 1734 map_obj.places[i].marker.setMap(null); 1735 suprimido++; 1736 } 1737 } 1738 } 1739 if (jQuery("#provincia").val() != "todo") { 1740 1741 for (i = 0; i < map_obj.places.length; i++) { 1742 var cp_ini = map_obj.places[i].location.postal_code.substring(0, 2); 1743 if ((cp_ini != jQuery("#provincia").val()) && (map_obj.places[i].marker.map != null)) { 1744 map_obj.places[i].marker.setMap(null); 1745 suprimido++; 1746 } 1747 } 1748 } 1749 bounds = new google.maps.LatLngBounds(); 1750 if (map_obj.places.length > suprimido) { 1751 for (i = 0; i < map_obj.places.length; i++) { 1752 if (map_obj.places[i].marker.map != null) { 1753 bounds.extend(map_obj.places[i].marker.position); 1754 } 1755 } 1756 map_obj.map.fitBounds(bounds); 1757 } 1758 1759 if (map_obj.places.length == suprimido) { 1760 swal("Aviso", "No existe ningún establecimiento de este tipo en la provincia seleccionada.", "warning"); 1761 } 1762} 1763 1764/*********************/ 1765//LENTES 1766/*********************/ 1767function lentes_click() { 1768 /* boton derecho */ 1769 jQuery(".html5gallery-right-189").mouseup(function () { 1770 borrar_lentes(); 1771 1772 if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "7") { 1773 jQuery("#lente_uno").css("display", "block"); 1774 } 1775 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "0") { 1776 jQuery("#lente_dos").css("display", "block"); 1777 } 1778 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "1") { 1779 jQuery("#lente_tres").css("display", "block"); 1780 } 1781 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "2") { 1782 jQuery("#lente_cuatro").css("display", "block"); 1783 } 1784 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "3") { 1785 jQuery("#lente_cinco").css("display", "block"); 1786 } 1787 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "4") { 1788 jQuery("#lente_seis").css("display", "block"); 1789 } 1790 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "5") { 1791 jQuery("#lente_siete").css("display", "block"); 1792 } 1793 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "6") { 1794 jQuery("#lente_ocho").css("display", "block"); 1795 } 1796 }) 1797 1798 /* boton izquierdo */ 1799 jQuery(".html5gallery-left-189").mouseup(function () { 1800 borrar_lentes(); 1801 1802 if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "1") { 1803 jQuery("#lente_uno").css("display", "block"); 1804 } 1805 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "2") { 1806 jQuery("#lente_dos").css("display", "block"); 1807 } 1808 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "3") { 1809 jQuery("#lente_tres").css("display", "block"); 1810 } 1811 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "4") { 1812 jQuery("#lente_cuatro").css("display", "block"); 1813 } 1814 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "5") { 1815 jQuery("#lente_cinco").css("display", "block"); 1816 } 1817 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "6") { 1818 jQuery("#lente_seis").css("display", "block"); 1819 } 1820 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "7") { 1821 jQuery("#lente_siete").css("display", "block"); 1822 } 1823 else if (jQuery(".html5gallery-tn-selected-189").attr('data-index') === "0") { 1824 jQuery("#lente_ocho").css("display", "block"); 1825 } 1826 }) 1827} 1828 1829function borrar_lentes() { 1830 jQuery("#lente_uno").css("display", "none"); 1831 jQuery("#lente_dos").css("display", "none"); 1832 jQuery("#lente_tres").css("display", "none"); 1833 jQuery("#lente_cuatro").css("display", "none"); 1834 jQuery("#lente_cinco").css("display", "none"); 1835 jQuery("#lente_seis").css("display", "none"); 1836 jQuery("#lente_siete").css("display", "none"); 1837 jQuery("#lente_ocho").css("display", "none"); 1838} 1839 1840function lentes() { 1841 jQuery("#html5gallery-tn-189-0").mouseup(function () { 1842 borrar_lentes(); 1843 jQuery("#lente_uno").css("display", "block"); 1844 }) 1845 jQuery("#html5gallery-tn-189-1").mouseup(function () { 1846 borrar_lentes(); 1847 jQuery("#lente_dos").css("display", "block"); 1848 })
1849 jQuery("#html5gallery-tn-189-2").mouseup(function () { 1850 borrar_lentes(); 1851 jQuery("#lente_tres").css("display", "block"); 1852 }) 1853 jQuery("#html5gallery-tn-189-3").mouseup(function () { 1854 borrar_lentes(); 1855 jQuery("#lente_cuatro").css("display", "block"); 1856 }) 1857 jQuery("#html5gallery-tn-189-4").mouseup(function () { 1858 borrar_lentes(); 1859 jQuery("#lente_cinco").css("display", "block"); 1860 }) 1861 jQuery("#html5gallery-tn-189-5").mouseup(function () { 1862 borrar_lentes(); 1863 jQuery("#lente_seis").css("display", "block"); 1864 }) 1865 jQuery("#html5gallery-tn-189-6").mouseup(function () { 1866 borrar_lentes(); 1867 jQuery("#lente_siete").css("display", "block"); 1868 }) 1869 jQuery("#html5gallery-tn-189-7").mouseup(function () { 1870 borrar_lentes(); 1871 jQuery("#lente_ocho").css("display", "block"); 1872 }) 1873} 1874 1875/*********************/ 1876//BIBLIOTECA 1877/*********************/ 1878function muestra_biblio(tipo) { 1879 if (tipo == "biblioteca") { 1880 window.location.href = '/seguridadvial/biblioteca-estudios-de-investigacion/'; 1881 } 1882 if (tipo == "factor-humano") { 1883 window.location.href = '/seguridadvial/biblioteca-factor-humano/'; 1884 } 1885 if (tipo == "factor-vehiculo") { 1886 window.location.href = '/seguridadvial/biblioteca-factor-vehiculo/'; 1887 } 1888 if (tipo == "factor-via") { 1889 window.location.href = '/seguridadvial/biblioteca-factor-via/'; 1890 } 1891 if (tipo == "legislacion-2") { 1892 window.location.href = '/seguridadvial/biblioteca-legislacion/'; 1893 } 1894 1895} 1896 1897/*****************************/ 1898//DIV FIJO LATERAL 1899/*****************************/ 1900function popup() { 1901 var myElements = document.querySelectorAll("#sidebar_ctc"); 1902 1903 for (var i = 0; i < myElements.length; i++) { 1904 myElements[i].style.display = "block"; 1905 } 1906 1907 var myElements = document.querySelectorAll("#sidebar"); 1908 1909 for (var i = 0; i < myElements.length; i++) { 1910 myElements[i].style.display = "none"; 1911 } 1912 1913 // window.open ("http://api.walmeric.com/race/ws/website/v2?mot=TIS&acc=WSR&med=WEB&canal=CTC&entr=RCT&orig=&sopmed=&secc=&id=b55bc5431c6f4b2e7e124bc4f77fbdda", "Te llamamos","top=430,left=1040,status=0,scrollbars=0,width=220,height=110"); 1914} 1915 1916function popup_cerrar() { 1917 var myElements = document.querySelectorAll("#sidebar_ctc"); 1918 1919 for (var i = 0; i < myElements.length; i++) { 1920 myElements[i].style.display = "none"; 1921 } 1922 1923 var myElements = document.querySelectorAll("#sidebar"); 1924 1925 for (var i = 0; i < myElements.length; i++) { 1926 myElements[i].style.display = "block"; 1927 } 1928} 1929 1930function c2c_cerrar() { 1931 var myElements = document.querySelectorAll("#sidebar"); 1932 for (var i = 0; i < myElements.length; i++) { 1933 myElements[i].style.display = "none"; 1934 } 1935 1936} 1937 1938/*******************************************/ 1939//POPUP MAKER, Cookies y triggers 1940/*******************************************/ 1941 1942// envio exitoso de un ninja form dentro de un popup maker establece cookie para que no se muestre 1943function ocultaPopUpNinjaForm() { 1944 jQuery('.popmake .ninja-forms-form').on('submitResponse', function (e, response) { 1945 var $popup = jQuery(this).parents('.pum'), 1946 errors = response.errors; 1947 1948 if (errors === false) { 1949 $popup.trigger('pumSetCookie'); 1950 1951 setTimeout(function () { 1952 $popup.popmake('close'); 1953 }, 5000); // 5 seconds 1954 } 1955 }); 1956} 1957 1958 1959/********************************************/ 1960//FORMULARIOS CERTIFICADO GARANTIAS MECANICAS 1961/********************************************/ 1962function comprobarCampos(formulario) { // Concesionarios 1963 usuario = document.forms[formulario].usuario.value; 1964 clave = document.forms[formulario].clave.value; 1965 if (usuario == '') { 1966 swal({ 1967 title: "¡ Error !", 1968 text: "Debe indicar el Usuario.", 1969 type: "error",
1970 showCancelButton: false, 1971 confirmButtonColor: "#DD6B55", 1972 confirmButtonText: "Ok", 1973 closeOnConfirm: false 1974 } 1975 ); 1976 return false; 1977 } 1978 if (clave == '') { 1979 swal({ 1980 title: "¡ Error !", 1981 text: "Debe indicar la Clave.", 1982 type: "error", 1983 showCancelButton: false, 1984 confirmButtonColor: "#DD6B55", 1985 confirmButtonText: "Ok", 1986 closeOnConfirm: false 1987 } 1988 ); 1989 return false; 1990 } 1991 if (usuario != '' && clave != '') { 1992 var xmlhttp = new XMLHttpRequest(); 1993 xmlhttp.onreadystatechange = function () { 1994 if (xmlhttp.readyState == XMLHttpRequest.DONE) { 1995 if (xmlhttp.status == 200) { 1996 if (xmlhttp.responseText.toUpperCase() == "KO") { 1997 swal({ 1998 title: "¡ Error !", 1999 text: "Usuario y/o Contraseña incorrecta.", 2000 type: "error",
2001 showCancelButton: false, 2002 confirmButtonColor: "#DD6B55", 2003 confirmButtonText: "Ok", 2004 closeOnConfirm: false 2005 } 2006 ); 2007 } 2008 else { 2009 document.forms[formulario].action = "https://www.unacsa.es/garantias/indexn.php"; 2010 document.forms[formulario].submit(); 2011 } 2012 } 2013 } 2014 ; 2015 }; 2016 xmlhttp.open("GET", "https://www.unacsa.es/garantias/default_comprueban.php?usuario=" + usuario + "&clave=" + clave, true); 2017 xmlhttp.send(); 2018 } 2019 return false; 2020} 2021 2022function comprobarCamposParticular(formulario) { // Particulares 2023 usuario = document.forms[formulario].usuario.value; 2024 clave = document.forms[formulario].clave.value; 2025 if (usuario == '') { 2026 swal({ 2027 title: "¡ Error !", 2028 text: "Debe indicar el Usuario.", 2029 type: "error",
2030 showCancelButton: false, 2031 confirmButtonColor: "#DD6B55", 2032 confirmButtonText: "Ok", 2033 closeOnConfirm: false 2034 } 2035 ); 2036 return false; 2037 } 2038 if (clave == '') { 2039 swal({ 2040 title: "¡ Error !", 2041 text: "Debe indicar la Clave.", 2042 type: "error", 2043 showCancelButton: false, 2044 confirmButtonColor: "#DD6B55", 2045 confirmButtonText: "Ok", 2046 closeOnConfirm: false 2047 } 2048 ); 2049 return false; 2050 } 2051 if (usuario != '' && clave != '') { 2052 var xmlhttp = new XMLHttpRequest(); 2053 xmlhttp.onreadystatechange = function () { 2054 if (xmlhttp.readyState == XMLHttpRequest.DONE) { 2055 if (xmlhttp.status == 200) { 2056 if (xmlhttp.responseText.toUpperCase() == "KO") { 2057 swal({ 2058 title: "¡ Error !", 2059 text: "Usuario y/o Contraseña incorrecta.", 2060 type: "error",
2061 showCancelButton: false, 2062 confirmButtonColor: "#DD6B55", 2063 confirmButtonText: "Ok", 2064 closeOnConfirm: false 2065 } 2066 ); 2067 } 2068 else { 2069 document.forms[formulario].action = "https://www.unacsa.es/garantias/index_asegurado.php"; 2070 document.forms[formulario].submit(); 2071 } 2072 } 2073 } 2074 ; 2075 }; 2076 xmlhttp.open("GET", "https://www.unacsa.es/garantias/default_comprueba_particularn.php?usuario=" + usuario + "&clave=" + clave, true); 2077 xmlhttp.send(); 2078 } 2079 return false; 2080} 2081 2082function registrarseGAMER(modalidad) // Registro particulares o concesionarios 2083{ 2084 if (modalidad == "particular") { 2085 window.open("https://www.unacsa.es/garantias/admin_registrar_usuario_certi.php"); 2086 //window.open('admin_asegurados_solicitud_anadir.php?ori=P','otra','top=0,left=0,width=810,height=770,menubar=no, status=yes,scrollbars =1'); 2087 } 2088 else { 2089 window.open('https://www.unacsa.es/garantias/admin_concesionarios_solicitud_anadir.php?ori=P', 'otra', 'top=0,left=0,width=1224,height=600,menubar=no, status=yes,scrollbars =1'); 2090 } 2091} 2092 2093 2094function getPublicIP() { 2095 /* 2096 jQuery.ajax({ 2097 url: '//jsonip.com/?callback=?', 2098 dataType: 'json', 2099 async: false, 2100 success: function (result) { 2101 ipPublica = result['ip']; 2102 } 2103 }); 2104 */ 2105 2106/* 2107 jQuery.getJSON("https://api.ipify.org?format=jsonp&callback=?", 2108 function(json) { 2109 ipPublica = json.ip; 2110 }); 2111*/ 2112} 2113 2114function getUrlVars() { 2115 var vars = [], hash; 2116 var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); 2117 for (var i = 0; i < hashes.length; i++) { 2118 hash = hashes[i].split('='); 2119 vars.push(hash[0]); 2120 vars[hash[0]] = hash[1]; 2121 } 2122 return vars; 2123} 2124 2125// OPCIONES EXCLUSIVAS AREA PRIVADA 2126function check_opciones_exclusivas() { 2127 var urlBase = "https://www.race.es/wp-content/themes/dikka-child/"; 2128 2129 jQuery.ajax({ 2130 type: "GET", 2131 url: urlBase + "leer_tipo_socio.php", 2132 dataType: "text", 2133 success: function (data) { 2134 if (data.toUpperCase() == "PR") { // si es Socio PR muestra sus opciones exclusivas 2135 jQuery(".navegacion-zona-privada ul.sidebar-nav, ul.nav-secundaria ul#user-menu").append('<li class="zp_8"><p><a href="memoria-corporativa-2017">Memoria corporativa</a></p></li>'); 2136 } 2137 }, error: function (jqXHR, data, error) { 2138 } 2139 }); 2140 2141} 2142 2143// PROMOS Y OTROS ELEMENTOS TEMPORALES 2144// 2019 - 1 A�O COMBUSTIBLE GRATIS 2145function promo1CombGrat_nextStep(step) { 2146 jQuery(".paneles .panelSorteo").hide(); 2147 jQuery(".paneles #panel" + step).show(); 2148 // Centramos el popup en vertical porque ha cambiado su contenido 2149 jQuery("#popmake-50214").centerV(); 2150 if(jQuery(".paneles #panel" + step + " form").length > 0) { // Busca si hay campos con longitud limitada para controlarlos 2151 jQuery(".paneles #panel" + step + " form input").each(function( index ) { 2152 if(jQuery(this).prop("maxlength")) { 2153 jQuery(this).keyup(function(){ 2154 maxLengthCheck(this); 2155 }); 2156 } 2157 }); 2158 } 2159} 2160function promo1CombGrat_layer(idLayer, tipo) { 2161 if (tipo === undefined || tipo == "undefined" || tipo == null) tipo = ""; 2162 var tiempoEntrada = 800, tiempoSalida = 600; 2163 2164 if (tipo != "") { 2165 tiempoEntrada = 0; 2166 tiempoSalida = 0; 2167 } 2168 jQuery("#layer" + idLayer).fadeIn(tiempoEntrada).centerV().centerH(); 2169 jQuery("#layer" + idLayer + " .btn-close-layer").on("click",function() { 2170 jQuery("#layer" + idLayer).fadeOut(tiempoSalida); 2171 }); 2172} 2173 2174function promo1CombGrat_validar(formulario) { 2175 var valido = true, 2176 mensaje = ''; 2177 var pattern_email = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/; 2178 2179 jQuery(formulario).find(".error").remove(); 2180 2181 jQuery(formulario).find('input,select').each(function() { 2182 var $this = jQuery(this), 2183 inputName = $this.attr("name"); 2184 // Validaciones 2185 if( ( !$this.val() || $this.val() == "" ) && $this.hasClass("required") ) { 2186 valido = false;
2187 mensaje = "El campo es obligatorio"; 2188 $this.after('<div class="error red">' + mensaje + '</div>'); 2189 } 2190 if($this.prop("type") == "checkbox" && $this.hasClass("required") && !$this.prop("checked")) { 2191 valido =false; 2192 mensaje = "Es obligatorio marcar este campo"; 2193 $this.parent("label").after('<div class="error red">' + mensaje + '</div>'); 2194 } 2195 if($this.hasClass("email") && $this.val() !== ""){ 2196 if(!pattern_email.test($this.val())){ 2197 valido = false; 2198 mensaje = "Formato de email incorrecto"; 2199 $this.after('<div class="error red">' + mensaje + '</div>'); 2200 } 2201 } 2202 }); 2203 jQuery("#popmake-50214").centerV(); 2204 return valido; 2205} 2206function promo1CombGrat_accesoWS(btnSubmit) { 2207 var $formulario = jQuery(btnSubmit).parents('form'); 2208 // Validamos 2209 var validado = promo1CombGrat_validar($formulario); 2210 if (validado) { 2211 // Verificamos num socio y pass. La variable $dataSocio se crea global porque accedemos desde otras funciones 2212 $dataSocio = promo1CombGrat_compileWSPostDataValidarSocio(); 2213 var $url = URLServicios + "/RACE/model/groupsMembers/groupMember-" + $dataSocio.grupo + "/members/member-" + $dataSocio.numero + "/personaldata/?password=" + $dataSocio.pass; 2214 jQuery.ajax({ 2215 type: 'get', 2216 // async: false, // En JSONP el async=false no funciona. 2217 url: $url, 2218 data: $dataSocio, 2219 jsonp: 'JSON_CALLBACK', 2220 dataType: 'json', 2221 headers: { 2222 'Authorization': RACEServicesAuth, 2223 }, 2224 beforeSend: function() { 2225 jQuery($formulario).find("#preloader").css("visibility","visible"); 2226 }, 2227 success: function (data) { 2228 if (data.persona.NDOPER == '') { 2229 jQuery("#layerError .msgError").html('<p>El socio no existe o la contraseña es incorrecta.</p><p>Por favor, asegúrate de que los datos introducidos son correctos.</p>'); 2230 promo1CombGrat_layer("Error","alerta"); 2231 } 2232 else { 2233 $dataSocio.nombre = data.persona.NOMPER; 2234 $dataSocio.apellidos = data.persona.AP1PER + " " + data.persona.AP2PER; 2235 $dataSocio.email = data.persona.EMPPER; 2236 jQuery("#panelSocio2 #numSocio").val($dataSocio.grupo + $dataSocio.numero); 2237 jQuery("#panelSocio2 #nombreSocio").val($dataSocio.nombre); 2238 jQuery("#panelSocio2 #apellidosSocio").val($dataSocio.apellidos); 2239 jQuery("#panelSocio2 #emailSocio").val($dataSocio.email); 2240 promo1CombGrat_nextStep("Socio2"); 2241 } 2242 }, 2243 error: function (xhr, ajaxOptions, thrownError){ // este WS devuelve 500 si no existe socio o password incorrecta 2244 if(xhr.status!=200) { 2245 jQuery("#layerError .msgError").html('<p>El socio no existe o la contraseña es incorrecta.</p><p>Por favor, asegúrate de que los datos introducidos son correctos.</p>'); 2246 promo1CombGrat_layer("Error","alerta"); 2247 2248 } 2249 }, 2250 complete: function(jqXHR, textStatus) { 2251 jQuery($formulario).find("#preloader").css("visibility","hidden"); 2252 } 2253 }); 2254 } 2255 return false; 2256} 2257function promo1CombGrat_compileWSPostDataValidarSocio() { 2258 $data = {}; 2259 $data.grupo = jQuery('#popmake-50214 #tipo_socio_id').val(); 2260 $data.numero = jQuery('#popmake-50214 #numsocio').val(); 2261 $data.pass = jQuery('#popmake-50214 #pass').val(); 2262 return $data; 2263} 2264function promo1CombGrat_guardaCRMWS() { 2265 2266 var $url = URLServicios + "/sap/socio/modificacion"; 2267 var formData = {}; 2268 formData.user_id = $dataSocio.grupo + $dataSocio.numero; 2269 formData.user_password = $dataSocio.pass; 2270 formData.grupo_socio = $dataSocio.grupo; 2271 formData.numero_socio = $dataSocio.numero; 2272 formData.email = $dataSocio.email; 2273 2274 jQuery.ajax({ // Primero actualizamos el email. Ha pasado validaciones previas. 2275 type: 'POST', 2276 url: $url, 2277 data: formData, 2278 headers: { 2279 }, 2280 dataType: "xml", 2281 success: function (data) { 2282 2283 if (jQuery(data).find("resultado").first().text() == "OK") { 2284 2285 // Ahora guardamos el consentimiento a RACE y grupo de empresas RACE 2286 var PersonalData = {}; 2287 PersonalData.consentimientoGrupoRace = $dataSocio.consentimientoRACE; 2288 PersonalData.consentimientoOrigen = ipPublica + window.location.href; 2289 var wsPersonalData = URLServicios + '/RACE/model/groupsMembers/groupMember-'+$dataSocio.grupo+'/members/member-'+$dataSocio.numero+'/consentimientos/?password='+$dataSocio.pass; 2290 2291 jQuery.ajax({ 2292 type: 'PUT', 2293 url: wsPersonalData, 2294 contentType: 'application/json', 2295 data: JSON.stringify(PersonalData), 2296 headers: { 2297 'Authorization': RACEServicesAuth, 2298 }, 2299 success: function (data) { 2300 2301 promo1CombGrat_nextStep('Final'); 2302 // Borra todos los formularios 2303 jQuery('#pum-50214 form').trigger("reset"); 2304 2305 }, 2306 error: function (xhr, ajaxOptions, thrownError){ 2307 jQuery("#layerError .msgError").html("<p>Ha ocurrido un error de comunicación.</p><p>Por favor, inténtalo de nuevo más tarde</p>"); 2308 promo1CombGrat_layer('Error','alerta'); 2309 } 2310 2311 }); 2312 2313 } 2314 else { 2315 jQuery("#layerError .msgError").html("<p>Ha ocurrido un error de comunicación.</p><p>Por favor, inténtalo de nuevo más tarde</p>"); 2316 promo1CombGrat_layer('Error','alerta'); 2317 } 2318 2319 }, 2320 error: function (xhr, ajaxOptions, thrownError){ 2321 jQuery("#layerError .msgError").html("<p>Ha ocurrido un error de comunicación.</p><p>Por favor, inténtalo de nuevo más tarde</p>"); 2322 promo1CombGrat_layer('Error','alerta'); 2323 } 2324 }); 2325 2326} 2327function maxLengthCheck(object) { 2328 if (object.value.length >= object.maxLength) { 2329 object.value = object.value.slice(0, object.maxLength); 2330 } 2331} 2332 2333function executeGtm() { 2334 (function (w, d, s, l, i) { 2335 w[l] = w[l] || []; 2336 w[l].push({ 2337 "gtm.start": (new Date).getTime(), 2338 event: "gtm.js" 2339 }); 2340 var f = d.getElementsByTagName(s)[0], 2341 j = d.createElement(s), 2342 dl = l !== "dataLayer" ? "&l=" + l : ""; 2343 j.async = true; 2344 j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl; 2345 f.parentNode.insertBefore(j, f) 2346 })(window, document, "script", "dataLayer", "GTM-P32NQMT"); 2347 2348} 2349 2350function getCookie(c_name) { 2351 var c_value = document.cookie; 2352 var c_start = c_value.indexOf(" " + c_name + "="); 2353 if (c_start == -1) { 2354 c_start = c_value.indexOf(c_name + "="); 2355 } 2356 if (c_start == -1) { 2357 c_value = null; 2358 } else { 2359 c_start = c_value.indexOf("=", c_start) + 1; 2360 var c_end = c_value.indexOf(";", c_start); 2361 if (c_end == -1) { 2362 c_end = c_value.length; 2363 } 2364 c_value = unescape(c_value.substring(c_start, c_end)); 2365 } 2366 return c_value; 2367} 2368 2369if (getCookie('CookieConsent')) { 2370 executeGtm(); 2371} 2372
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.