function BrowserDetect() { var ua = navigator.userAgent.toLowerCase(); // browser engine name this.isGecko = (ua.indexOf('gecko') != -1 && ua.indexOf('safari') == -1); this.isAppleWebKit = (ua.indexOf('applewebkit') != -1); // browser name this.isKonqueror = (ua.indexOf('konqueror') != -1); this.isSafari = (ua.indexOf('safari') != - 1); this.isOmniweb = (ua.indexOf('omniweb') != - 1); this.isOpera = (ua.indexOf('opera') != -1); this.isIcab = (ua.indexOf('icab') != -1); this.isAol = (ua.indexOf('aol') != -1); this.isIE = (ua.indexOf('msie') != -1 && !this.isOpera && (ua.indexOf('webtv') == -1) ); this.isMozilla = (this.isGecko && ua.indexOf('gecko/') + 14 == ua.length); this.isFirefox = (ua.indexOf('firefox/') != -1); this.isNS = ( (this.isGecko) ? (ua.indexOf('netscape') != -1) : ( (ua.indexOf('mozilla') != -1) && !this.isOpera && !this.isSafari && (ua.indexOf('spoofer') == -1) && (ua.indexOf('compatible') == -1) && (ua.indexOf('webtv') == -1) && (ua.indexOf('hotjava') == -1) ) ); this.versionMinor = parseFloat(navigator.appVersion); if (this.isIE && this.versionMinor >= 4) {this.versionMinor = parseFloat( ua.substring( ua.indexOf('msie ') + 5 ) );} this.versionMajor = parseInt(this.versionMinor); this.isIE6x = (this.isIE && this.versionMajor == 6); } function AC_AddExtension(src, ext) { if (src.indexOf('?') != -1) return src.replace(/\?/, ext+'?'); else return src + ext; } function AC_Generateobj(objAttrs, params, embedAttrs) { var str = ' '; str += ' '; str += ''); } else { code.push(''); code.push('
'); code.push('
'); } code.push('
'); code.push('
'); obj.innerHTML = code.join(''); } function netWxBCplayVideo(id) { var code = []; code.push(''); code.push(''); var obj = document.getElementById('netWxVideoDiv'); obj.innerHTML = code.join(''); } RunNetWeather ("id","netWxV2","minversion","8,0,0,0","movie","http://netwx.accuweather.com/netWx-V27?zipcode=EUR|LV|LG026|RIGA|&customtheme=&theme=1&metric=1&target=_self&lang=uke&url=&video=&category=&logo=0&tStyle=whteYell&partner=netweather&myspace=0","src","http://netwx.accuweather.com/netWx-V27?zipcode=EUR|LV|LG026|RIGA|&customtheme=&theme=1&metric=1&target=_self&lang=uke&url=&video=&category=&logo=0&tStyle=whteYell&partner=netweather&myspace=0","width","120","height","48","name","netWxV2", "wmode","transparent");