conte = document.getElementById('cont_Mzc2MjB8NXwxfDV8MXxGRkZGRkZ8MXxGRkZGRkZ8Q3wxfG1waA--');enlace = document.getElementById('spa_Mzc2MjB8NXwxfDV8MXxGRkZGRkZ8MXxGRkZGRkZ8Q3wxfG1waA--');anchor = document.getElementById('a_Mzc2MjB8NXwxfDV8MXxGRkZGRkZ8MXxGRkZGRkZ8Q3wxfG1waA--');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.weather-wherever.co.uk'); var exp2 = new RegExp('Weather'); if (conte && enlace && anchor && exp1.test(url) && exp2.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:200px;'; elem = document.createElement('iframe'); elem.id = 'Mzc2MjB8NXwxfDV8MXxGRkZGRkZ8MXxGRkZGRkZ8Q3wxfG1waA--'; elem.src = 'http://widget.weather-wherever.co.uk/Mzc2MjB8NXwxfDV8MXxGRkZGRkZ8MXxGRkZGRkZ8Q3wxfG1waA--/'; elem.frameBorder = 0; elem.allowTransparency = true; elem.scrolling = 'no'; elem.name = 'frame'; elem.height = '300'; elem.width = '200'; conte.insertBefore(elem,enlace); }