var SP={};SP._construct=function(){var version="0.2a";var markerId=0;function LatLng(lat,lng){this._lat=lat;this._lng=lng;this.lat=function(){return this._lat};this.lng=function(){return this._lng}}function Marker(latLng,opts){this.latLng=latLng;this.name=opts.name;if(opts.id===undefined){this.id=markerId++}else{this.id=opts.id}this.address1=opts.address1;this.address2=opts.address2;this.city=opts.city;this.state=opts.state;this.postalCode=opts.postalCode;this.typ=opts.typ;this.color=opts.color;this.size=opts.size;this.link=opts.link;this.linkTxt=opts.linkTxt;if(opts.minZoom===undefined){this.minZoom=0}else{this.minZoom=opts.minZoom}if(this.minZoom==5){this.weight=1}else{if(this.minZoom==4){this.weight=10}else{if(this.minZoom==3){this.weight=15}else{if(this.minZoom==2){this.weight=30}else{if(this.minZoom==1){this.weight=50}else{if(this.minZoom==0){this.weight=75}else{this.weight=100}}}}}}this._getHeader=function(){var header=["city","external_name","location_id","longitude","state","postal_code","latitude","address_text2","address_text1","type","external_type","color","size","weight","link","link_text"];return header};this._getLocation=function(){var location=[this.city,this.name,this.id,this.latLng.lng(),this.state,this.postalCode,this.latLng.lat(),this.address2,this.address1,"CUS",this.typ,this.color,this.size,this.weight,this.link,this.linkTxt];return location};this.getData=function(){var locData={header:this._getHeader(),locations:[this._getLocation()]};return locData};this.getLatLng=function(){return this.latLng};this.setLatLng=function(latLng){this.latLng=latLng;this._refresh()};this.setColor=function(color){this.color=color;this._refresh()};this.setSize=function(size){this.size=size;this._refresh()};this._refresh=function(){this.map.addOverlay(this)}}function Map(id){this.div=document.getElementById(id);this.addOverlay=function(marker){marker.map=this;this.div.addOverlay(marker.getData())};this.setCenter=function(latLng){this.div.setCenter(latLng.lat(),latLng.lng())};this.setZoom=function(zoomLevel){this.div.setZoom(zoomLevel)};this.showRadar=function(){this.div.showRadar()};this.hideRadar=function(){this.div.hideRadar()};this.showClouds=function(){this.div.showClouds()};this.hideClouds=function(){this.div.hideClouds()};this.showSevereWeather=function(){this.div.showSevereWeather()};this.hideSevereWeather=function(){this.div.hideSevereWeather()};this.showOilSpill=function(){this.div.showOilSpill()};this.hideOilSpill=function(){this.div.hideOilSpill()}}function privateAccess(){}function publicAccess(){}this.publicAccess=publicAccess;this.Marker=Marker;this.Map=Map;this.LatLng=LatLng};SP._construct(); if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return }this.DETECT_KEY=_b?_b:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1)}if(id){this.setAttribute("id",id)}if(w){this.setAttribute("width",w)}if(h){this.setAttribute("height",h)}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(c){this.addParam("bgcolor",c)}var q=_8?_8:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",_7);this.setAttribute("doExpressInstall",false);var _d=(_9)?_9:window.location;this.setAttribute("xiRedirectUrl",_d);this.setAttribute("redirectUrl","");if(_a){this.setAttribute("redirectUrl",_a)}};deconcept.SWFObject.prototype={setAttribute:function(_e,_f){this.attributes[_e]=_f},getAttribute:function(_10){return this.attributes[_10]},addParam:function(_11,_12){this.params[_11]=_12},getParams:function(){return this.params},addVariable:function(_13,_14){this.variables[_13]=_14},getVariable:function(_15){return this.variables[_15]},getVariables:function(){return this.variables},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16.push(key+"="+_18[key])}return _16},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}_19='0){_19+='flashvars="'+_1c+'"'}_19+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}_19='';_19+='';var _1d=this.getParams();for(var key in _1d){_19+=''}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+=''}_19+=""}return _19},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always"}catch(e){if(_23.major==6){return _23}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","))}}return _23};deconcept.PlayerVersion=function(_27){this.major=_27[0]!=null?parseInt(_27[0]):0;this.minor=_27[1]!=null?parseInt(_27[1]):0;this.rev=_27[2]!=null?parseInt(_27[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.majorfv.major){return true}if(this.minorfv.minor){return true}if(this.rev>5]|=128<<(24-len%32);x[((len+64>>9)<<4)+15]=len;var w=Array(80);var a=1732584193;var b=-271733879;var c=-1732584194;var d=271733878;var e=-1009589776;for(var i=0;i16){bkey=core_sha1(bkey,key.length*chrsz)}var ipad=Array(16),opad=Array(16);for(var i=0;i<16;i++){ipad[i]=bkey[i]^909522486;opad[i]=bkey[i]^1549556828}var hash=core_sha1(ipad.concat(str2binb(data)),512+data.length*chrsz);return core_sha1(opad.concat(hash),512+160)}function safe_add(x,y){var lsw=(x&65535)+(y&65535);var msw=(x>>16)+(y>>16)+(lsw>>16);return(msw<<16)|(lsw&65535)}function rol(num,cnt){return(num<>>(32-cnt))}function str2binb(str){var bin=Array();var mask=(1<>5]|=(str.charCodeAt(i/chrsz)&mask)<<(32-chrsz-i%32)}return bin}function binb2str(bin){var str="";var mask=(1<>5]>>>(32-chrsz-i%32))&mask)}return str}function binb2hex(binarray){var hex_tab=hexcase?"0123456789ABCDEF":"0123456789abcdef";var str="";for(var i=0;i>2]>>((3-i%4)*8+4))&15)+hex_tab.charAt((binarray[i>>2]>>((3-i%4)*8))&15)}return str}function binb2b64(binarray){var tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var str="";for(var i=0;i>2]>>8*(3-i%4))&255)<<16)|(((binarray[i+1>>2]>>8*(3-(i+1)%4))&255)<<8)|((binarray[i+2>>2]>>8*(3-(i+2)%4))&255);for(var j=0;j<4;j++){if(i*8+j*6>binarray.length*32){str+=b64pad}else{str+=tab.charAt((triplet>>6*(3-j))&63)}}}return str}function SValidateKey(key){var host=window.location.host;if((hex_sha1(host)===key)||(hex_sha1(host.replace(host.split(".")[0]+'.',''))===key)){return true}else{return false}};function SMapEmbed(){if(SValidateKey('69fa98ae0451bed478e3070e56a2db2869b0a4c5')){document.write("
");document.write("Stormpulse requires Flash version 8 or greater. Click here to download it now.");document.write("
");var so=new SWFObject('http://www.stormpulse.com/swf/stormpulse.swf?v=226&env=API®ion=10','stormpulse','720','600','8','#000000');so.addVariable('host', 'hurritrax.com');so.addVariable('key','qifga0omdndq2c314xluohcfeiw633qus9dvgx8p');so.addParam('allowScriptAccess','always');so.write('stormpulse_current');}else{alert("This API key has been registered for a different domain. For help, email contact at stormpulse.com.");return;}}SMapEmbed();