conte = document.getElementById('cont_NjA5MXwxfDR8MXwxfEJCRTBGRnwxfEZGRkZGRnxjfDE-');enlace = document.getElementById('spa_NjA5MXwxfDR8MXwxfEJCRTBGRnwxfEZGRkZGRnxjfDE-');anchor = document.getElementById('a_NjA5MXwxfDR8MXwxfEJCRTBGRnwxfEZGRkZGRnxjfDE-');var url = anchor.href;var ua = navigator.userAgent.toLowerCase();check = function(r){return r.test(ua);};isWebKit = check(/webkit/);isGecko = !isWebKit && check(/gecko/);var text = '';if(isGecko){text = encodeURI(anchor.text);} else { text = encodeURI(anchor.innerText); } var exp1 = new RegExp('http://www.meteocity.com'); var exp2 = new RegExp('M%C3%A9t%C3%A9o'); var exp3 = new RegExp('M%C3%83%C2%A9t%C3%83%C2%A9o'); if (conte && enlace && anchor && exp1.test(url) && (exp2.test(text) || exp3.test(text)) ){ enlace.style.cssText = 'font:normal 10px/12px Tahoma, Arial, Helvetica, serif; color:#333; padding:0 0 3px; text-decoration: none;'; conte.style.cssText = 'width:280px;'; elem = document.createElement('iframe'); elem.id = 'NjA5MXwxfDR8MXwxfEJCRTBGRnwxfEZGRkZGRnxjfDE-'; elem.src = 'http://widget.meteocity.com/NjA5MXwxfDR8MXwxfEJCRTBGRnwxfEZGRkZGRnxjfDE-/'; elem.frameBorder = 0; elem.allowTransparency = true; elem.scrolling = 'no'; elem.name = 'frame'; elem.height = '60'; elem.width = '280'; conte.insertBefore(elem,enlace); }