if (typeof currentOnload == 'undefined') { var currentOnload = Array(); if (window.onload) { currentOnload.push(window.onload); } } currentOnload.push(trivagoCertificate_6730_2930); window.onload = function() { while(doOnload = currentOnload.pop()) { doOnload(); } }; function trivagoCertificate_6730_2930() { var container = document.getElementById('trivago_certificate_6730_2930'); if (container) { switch(container.className) { case 'layout_1': case 'layout_2': case 'layout_3': container.style['width'] = '73px'; container.style['marginTop'] = '10px'; if ( document.getElementById('trivago_certificate_rank_6730_2930') && document.getElementById('trivago_certificate_claim_6730_2930') ) { var node_rank = document.getElementById('trivago_certificate_rank_6730_2930'); var node_claim = document.getElementById('trivago_certificate_claim_6730_2930'); while(node = node_rank.firstChild) { node_rank.removeChild(node); } while(node = node_claim.firstChild) { node_claim.removeChild(node); } } else { while(node = container.firstChild) { container.removeChild(node); } var node_rank = document.createElement('a'); var node_claim = document.createElement('a'); container.appendChild(node_rank); container.appendChild(node_claim); } var node_rank_text = document.createElement('span'); node_rank.appendChild(node_rank_text); container.style['width'] = '73px'; container.style['backgroundRepeat'] = 'no-repeat'; container.style['padding'] = '28px 0px 0px 0px'; switch(container.className) { case 'layout_2': container.style['backgroundImage'] = 'url(\'http://i2.trivago.com/images/certificateimages/tophotel_bg_darkblue.png\')'; break; case 'layout_3': container.style['backgroundImage'] = 'url(\'http://i3.trivago.com/images/certificateimages/tophotel_bg_darkred.png\')'; break; case 'layout_1': default: container.style['backgroundImage'] = 'url(\'http://i2.trivago.com/images/certificateimages/tophotel_bg_lightblue.png\')'; break; } node_rank.style['display'] = 'block'; node_rank.style['width'] = '73px'; node_rank.style['height'] = '62px'; node_rank.style['textDecoration'] = 'none'; node_rank.target = '_blank'; node_rank.href = 'http://www.trivago.es/almunecar-31495/hotel/playacalida-6730'; node_rank_text.style['display'] = 'block'; node_rank_text.style['margin'] = '0px 0px 0px 8px'; node_rank_text.style['color'] = '#ffffff'; node_rank_text.style['textAlign'] = 'center'; node_rank_text.style['textDecoration'] = 'none'; node_rank_text.style['textIndent'] = '0px'; node_rank_text.style['fontFamily'] = 'arial, sans-serif'; node_rank_text.style['fontSize'] = '16px'; node_rank_text.style['fontWeight'] = 'bold'; node_rank_text.innerHTML = '2'; node_claim.style['display'] = 'block'; node_claim.style['width'] = '73px'; node_claim.style['textAlign'] = 'center'; node_claim.style['textDecoration'] = 'none'; node_claim.style['textIndent'] = '0px'; node_claim.style['fontFamily'] = 'arial, sans-serif'; node_claim.style['fontSize'] = '9px'; node_claim.style['fontWeight'] = 'bold'; node_claim.style['color'] = '#333333'; node_claim.target = '_blank'; node_claim.href = 'http://www.trivago.es/espana-31490/hotel/hotelclub-con-todo-incluido/f_215=1'; node_claim.innerHTML = 'Los mejores (Hotel/Club con todo incluido) España
19.05.2009'; break; case 'layout_4': case 'layout_5': case 'layout_6': if ((link = container.getElementsByTagName('a')[0]) && link.href == 'http://www.trivago.es/almunecar-31495/hotel') { container.style['marginTop'] = '10px'; while(node = container.firstChild) { container.removeChild(node); } if (typeof(container.style.cssFloat) != 'undefined') { var float_attr = 'cssFloat'; } else if (typeof(container.style.styleFloat) != 'undefined') { var float_attr = 'styleFloat'; } else { var float_attr = 'none'; } var node_clear = document.createElement('div'); node_clear.style['clear'] = 'both'; if(container.className == 'layout_4' || container.className == 'layout_5') { var node_cert = document.createElement('div'); var node_claim = document.createElement('a'); container.appendChild(node_cert); container.appendChild(node_claim); container.appendChild(node_clear); var node_rank = document.createElement('a'); var node_rank_text = document.createElement('span'); node_rank.appendChild(node_rank_text); node_cert.appendChild(node_rank); node_cert.style[float_attr] = 'left'; node_cert.style['marginRight'] = node_cert.style['marginBottom'] = '4px'; node_cert.style['padding'] = '14px 0px 0px 0px'; node_cert.style['width'] = '65px'; node_cert.style['backgroundRepeat'] = 'no-repeat'; node_cert.style['backgroundImage'] = 'url(\'http://i2.trivago.com/images/certificateimages/tophotel_bg_darkred_small.png\')'; node_rank.style['display'] = 'block'; node_rank.style['width'] = '65px'; node_rank.style['height'] = '46px'; node_rank.style['textDecoration'] = 'none'; node_rank.target = '_blank'; node_rank.href = 'http://www.trivago.es/almunecar-31495/hotel/playacalida-6730'; node_rank_text.style['display'] = 'block'; node_rank_text.style['margin'] = '0px 8px 0px 0px'; node_rank_text.style['color'] = '#ffffff'; node_rank_text.style['textDecoration'] = 'none'; node_rank_text.style['textAlign'] = 'center'; node_rank_text.style['textDecoration'] = 'none'; node_rank_text.style['textIndent'] = '0px'; node_rank_text.style['fontFamily'] = 'arial,sans-serif'; node_rank_text.style['fontSize'] = '14px'; node_rank_text.style['fontWeight'] = 'bold'; node_rank_text.innerHTML = '2'; node_claim.style['display'] = 'block'; node_claim.style['textDecoration'] = 'none'; node_claim.style['textIndent'] = '0px'; node_claim.style['fontFamily'] = 'arial,sans-serif'; node_claim.style['fontSize'] = '15px'; node_claim.style['lineHeight'] = '20px'; node_claim.style['fontWeight'] = 'bold'; node_claim.style['color'] = '#333333'; node_claim.target = '_blank'; node_claim.href = 'http://www.trivago.es/almunecar-31495/hotel/playacalida-6730'; node_claim.innerHTML = 'Puesto 2 para la categoría \'Los mejores (Hotel/Club con todo incluido) España\''; } if(container.className == 'layout_5' || container.className == 'layout_6') { var node_head = document.createElement('div'); container.appendChild(node_head); node_head.style['textIndent'] = '0px'; node_head.style['fontFamily'] = 'arial,sans-serif'; node_head.style['fontSize'] = '12px'; node_head.style['color'] = '#999999'; node_head.innerHTML = 'Nuestra valoración en:'; var node_rating = document.createElement('div'); var node_title = document.createElement('a'); node_title.style['display'] = 'block'; node_title.style['textDecoration'] = 'none'; node_title.style['width'] = '80px'; node_title.style['overflow'] = 'hidden'; node_title.target = '_blank'; node_title.href = 'http://www.trivago.es/almunecar-31495/hotel/playacalida-6730/opiniones'; node_title.title = ''; var node_graph = document.createElement('div'); var node_graph_grey = document.createElement('div'); var node_graph_color = document.createElement('div'); var node_percentage1 = document.createElement('div'); var node_percentage2 = document.createElement('div'); node_graph_grey.appendChild(node_graph_color); node_graph.appendChild(node_graph_grey); node_graph.appendChild(node_percentage1); node_graph.appendChild(node_percentage2); node_rating.appendChild(node_title); node_rating.appendChild(node_graph); node_rating.appendChild(node_clear.cloneNode(true)); node_rating.style['padding'] = '2px 0px'; node_title.style['textIndent'] = node_percentage1.style['textIndent'] = node_percentage2.style['textIndent'] = '0px'; node_title.style['fontFamily'] = node_percentage1.style['fontFamily'] = node_percentage2.style['fontFamily'] = 'arial,sans-serif'; node_title.style['fontSize'] = node_percentage1.style['fontSize'] = node_percentage2.style['fontSize'] = '12px'; node_title.style['color'] = node_percentage1.style['color'] = '#333333'; node_percentage1.style[float_attr] = node_percentage2.style[float_attr] = 'left'; node_percentage1.style['textDecoration'] = node_percentage2.style['textDecoration'] = 'none'; node_title.style[float_attr] = 'left'; node_title.style['marginRight'] = '3px'; node_title.innerHTML = 'trivago'; node_percentage1.style['width'] = '25px'; node_percentage1.style['textAlign'] = 'right'; node_percentage1.style['fontWeight'] = 'bold'; node_percentage1.innerHTML = '93'; node_percentage2.style['color'] = '#999999'; node_percentage2.innerHTML = '/100'; node_graph.style[float_attr] = 'left'; node_graph.style['whiteSpace'] = 'nowrap'; node_graph.style['width'] = '155px'; node_graph_grey.style[float_attr] = node_graph_color.style[float_attr] = 'left'; node_graph_grey.style['height'] = node_graph_color.style['height'] = '11px'; node_graph_grey.style['backgroundRepeat'] = node_graph_color.style['backgroundRepeat'] = 'no-repeat'; node_graph_grey.style['backgroundImage'] = node_graph_color.style['backgroundImage'] = 'url(\'http://i2.trivago.com/images/layoutimages/ratings.png\')'; node_graph_grey.style['width'] = '100px'; node_graph_grey.style['marginRight'] = '3px'; node_graph_grey.style['backgroundPosition'] = '0px 0px'; node_graph_color.style['width'] = '93px'; node_graph_color.style['overflow'] = 'hidden'; node_graph_color.style['backgroundPosition'] = '0px -66px'; container.appendChild(node_rating); var node_rating = document.createElement('div'); var node_title = document.createElement('a'); node_title.style['display'] = 'block'; node_title.style['textDecoration'] = 'none'; node_title.style['width'] = '80px'; node_title.style['overflow'] = 'hidden'; node_title.target = '_blank'; node_title.href = 'http://www.trivago.es/urlway.php?&th=1242738753&pt=8006&ref=2&http_redirect=1&type=6&target=http%3A%2F%2Fwww.booking.com%2Fhotel%2Fes%2Fspa-playacalida.html%3Flang%3Des%26label%3Dtextad%26aid%3D315428&path=31495&item=6730'; node_title.title = '4 opiniones con una media de 7.1 de 10 de Booking.com - 71 de 100 en trivago'; var node_graph = document.createElement('div'); var node_graph_grey = document.createElement('div'); var node_graph_color = document.createElement('div'); var node_percentage1 = document.createElement('div'); var node_percentage2 = document.createElement('div'); node_graph_grey.appendChild(node_graph_color); node_graph.appendChild(node_graph_grey); node_graph.appendChild(node_percentage1); node_graph.appendChild(node_percentage2); node_rating.appendChild(node_title); node_rating.appendChild(node_graph); node_rating.appendChild(node_clear.cloneNode(true)); node_rating.style['padding'] = '2px 0px'; node_title.style['textIndent'] = node_percentage1.style['textIndent'] = node_percentage2.style['textIndent'] = '0px'; node_title.style['fontFamily'] = node_percentage1.style['fontFamily'] = node_percentage2.style['fontFamily'] = 'arial,sans-serif'; node_title.style['fontSize'] = node_percentage1.style['fontSize'] = node_percentage2.style['fontSize'] = '12px'; node_title.style['color'] = node_percentage1.style['color'] = '#333333'; node_percentage1.style[float_attr] = node_percentage2.style[float_attr] = 'left'; node_percentage1.style['textDecoration'] = node_percentage2.style['textDecoration'] = 'none'; node_title.style[float_attr] = 'left'; node_title.style['marginRight'] = '3px'; node_title.innerHTML = 'Booking.com'; node_percentage1.style['width'] = '25px'; node_percentage1.style['textAlign'] = 'right'; node_percentage1.style['fontWeight'] = 'bold'; node_percentage1.innerHTML = '71'; node_percentage2.style['color'] = '#999999'; node_percentage2.innerHTML = '/100'; node_graph.style[float_attr] = 'left'; node_graph.style['whiteSpace'] = 'nowrap'; node_graph.style['width'] = '155px'; node_graph_grey.style[float_attr] = node_graph_color.style[float_attr] = 'left'; node_graph_grey.style['height'] = node_graph_color.style['height'] = '11px'; node_graph_grey.style['backgroundRepeat'] = node_graph_color.style['backgroundRepeat'] = 'no-repeat'; node_graph_grey.style['backgroundImage'] = node_graph_color.style['backgroundImage'] = 'url(\'http://i2.trivago.com/images/layoutimages/ratings.png\')'; node_graph_grey.style['width'] = '100px'; node_graph_grey.style['marginRight'] = '3px'; node_graph_grey.style['backgroundPosition'] = '0px 0px'; node_graph_color.style['width'] = '71px'; node_graph_color.style['overflow'] = 'hidden'; node_graph_color.style['backgroundPosition'] = '0px -55px'; container.appendChild(node_rating); var node_rating = document.createElement('div'); var node_title = document.createElement('a'); node_title.style['display'] = 'block'; node_title.style['textDecoration'] = 'none'; node_title.style['width'] = '80px'; node_title.style['overflow'] = 'hidden'; node_title.target = '_blank'; node_title.href = 'http://www.trivago.es/urlway.php?&th=1242738753&pt=8006&ref=1&http_redirect=1&type=6&target=http%3A%2F%2Fwww.hotel.info%2FBooking.aspx%3Flng%3DES%26h_step%3D2%26han%3D1197545%26nsad%3D1%26nshl%3D1%26h_sfi%3D1%26h_hmid%3D200856%26hotelagentllc%3D1197545&path=31495&item=6730'; node_title.title = '1 opiniones con una media de 10 de 10 de hotel.info - 100 de 100 en trivago'; var node_graph = document.createElement('div'); var node_graph_grey = document.createElement('div'); var node_graph_color = document.createElement('div'); var node_percentage1 = document.createElement('div'); var node_percentage2 = document.createElement('div'); node_graph_grey.appendChild(node_graph_color); node_graph.appendChild(node_graph_grey); node_graph.appendChild(node_percentage1); node_graph.appendChild(node_percentage2); node_rating.appendChild(node_title); node_rating.appendChild(node_graph); node_rating.appendChild(node_clear.cloneNode(true)); node_rating.style['padding'] = '2px 0px'; node_title.style['textIndent'] = node_percentage1.style['textIndent'] = node_percentage2.style['textIndent'] = '0px'; node_title.style['fontFamily'] = node_percentage1.style['fontFamily'] = node_percentage2.style['fontFamily'] = 'arial,sans-serif'; node_title.style['fontSize'] = node_percentage1.style['fontSize'] = node_percentage2.style['fontSize'] = '12px'; node_title.style['color'] = node_percentage1.style['color'] = '#333333'; node_percentage1.style[float_attr] = node_percentage2.style[float_attr] = 'left'; node_percentage1.style['textDecoration'] = node_percentage2.style['textDecoration'] = 'none'; node_title.style[float_attr] = 'left'; node_title.style['marginRight'] = '3px'; node_title.innerHTML = 'hotel.info'; node_percentage1.style['width'] = '25px'; node_percentage1.style['textAlign'] = 'right'; node_percentage1.style['fontWeight'] = 'bold'; node_percentage1.innerHTML = '100'; node_percentage2.style['color'] = '#999999'; node_percentage2.innerHTML = '/100'; node_graph.style[float_attr] = 'left'; node_graph.style['whiteSpace'] = 'nowrap'; node_graph.style['width'] = '155px'; node_graph_grey.style[float_attr] = node_graph_color.style[float_attr] = 'left'; node_graph_grey.style['height'] = node_graph_color.style['height'] = '11px'; node_graph_grey.style['backgroundRepeat'] = node_graph_color.style['backgroundRepeat'] = 'no-repeat'; node_graph_grey.style['backgroundImage'] = node_graph_color.style['backgroundImage'] = 'url(\'http://i2.trivago.com/images/layoutimages/ratings.png\')'; node_graph_grey.style['width'] = '100px'; node_graph_grey.style['marginRight'] = '3px'; node_graph_grey.style['backgroundPosition'] = '0px 0px'; node_graph_color.style['width'] = '100px'; node_graph_color.style['overflow'] = 'hidden'; node_graph_color.style['backgroundPosition'] = '0px -66px'; container.appendChild(node_rating); var node_rating = document.createElement('div'); var node_title = document.createElement('a'); node_title.style['display'] = 'block'; node_title.style['textDecoration'] = 'none'; node_title.style['width'] = '80px'; node_title.style['overflow'] = 'hidden'; node_title.target = '_blank'; node_title.href = 'http://www.trivago.es/urlway.php?&th=1242738753&pt=8006&ref=58&http_redirect=1&type=6&target=http%3A%2F%2Fwww.tripadvisor.es%2F%2FHotel_Review-g-d576658-Reviews-.html&path=31495&item=6730'; node_title.title = '24 opiniones con una media de 4.5 de 5 de tripadvisor - 91 de 100 en trivago'; var node_graph = document.createElement('div'); var node_graph_grey = document.createElement('div'); var node_graph_color = document.createElement('div'); var node_percentage1 = document.createElement('div'); var node_percentage2 = document.createElement('div'); node_graph_grey.appendChild(node_graph_color); node_graph.appendChild(node_graph_grey); node_graph.appendChild(node_percentage1); node_graph.appendChild(node_percentage2); node_rating.appendChild(node_title); node_rating.appendChild(node_graph); node_rating.appendChild(node_clear.cloneNode(true)); node_rating.style['padding'] = '2px 0px'; node_title.style['textIndent'] = node_percentage1.style['textIndent'] = node_percentage2.style['textIndent'] = '0px'; node_title.style['fontFamily'] = node_percentage1.style['fontFamily'] = node_percentage2.style['fontFamily'] = 'arial,sans-serif'; node_title.style['fontSize'] = node_percentage1.style['fontSize'] = node_percentage2.style['fontSize'] = '12px'; node_title.style['color'] = node_percentage1.style['color'] = '#333333'; node_percentage1.style[float_attr] = node_percentage2.style[float_attr] = 'left'; node_percentage1.style['textDecoration'] = node_percentage2.style['textDecoration'] = 'none'; node_title.style[float_attr] = 'left'; node_title.style['marginRight'] = '3px'; node_title.innerHTML = 'tripadvisor'; node_percentage1.style['width'] = '25px'; node_percentage1.style['textAlign'] = 'right'; node_percentage1.style['fontWeight'] = 'bold'; node_percentage1.innerHTML = '91'; node_percentage2.style['color'] = '#999999'; node_percentage2.innerHTML = '/100'; node_graph.style[float_attr] = 'left'; node_graph.style['whiteSpace'] = 'nowrap'; node_graph.style['width'] = '155px'; node_graph_grey.style[float_attr] = node_graph_color.style[float_attr] = 'left'; node_graph_grey.style['height'] = node_graph_color.style['height'] = '11px'; node_graph_grey.style['backgroundRepeat'] = node_graph_color.style['backgroundRepeat'] = 'no-repeat'; node_graph_grey.style['backgroundImage'] = node_graph_color.style['backgroundImage'] = 'url(\'http://i2.trivago.com/images/layoutimages/ratings.png\')'; node_graph_grey.style['width'] = '100px'; node_graph_grey.style['marginRight'] = '3px'; node_graph_grey.style['backgroundPosition'] = '0px 0px'; node_graph_color.style['width'] = '91px'; node_graph_color.style['overflow'] = 'hidden'; node_graph_color.style['backgroundPosition'] = '0px -66px'; container.appendChild(node_rating); var node_link = document.createElement('a'); container.appendChild(node_link); node_link.style['textIndent'] = '0px'; node_link.style['fontFamily'] = 'arial,sans-serif'; node_link.style['fontSize'] = '12px'; node_link.style['fontWeight'] = 'normal'; node_link.style['color'] = '#333333'; node_link.style['textDecoration'] = 'underline'; node_link.target = '_blank'; node_link.href = 'http://www.trivago.es/almunecar-31495/hotel/playacalida-6730/opinar'; node_link.innerHTML = 'Opinar sobre este hotel'; } } else { alert('invalid_certificate'); } break; } } else { alert('invalid_certificate'); } }