function wvvvv(){for(var wv=0;wv<arguments.length;wv++){var vw=arguments[wv].split("."),vu=window;for(var vv=0;vv<vw.length;vv++){if(!vu[vw[vv]]){vu[vw[vv]]=new Object;}vu=vu[vw[vv]];}}}function uwvwv(e){if(e==null){return"";}var wv=["%00","%01","%02","%03","%04","%05","%06","%07","%08","%09","%0a","%0b","%0c","%0d","%0e","%0f","%10","%11","%12","%13","%14","%15","%16","%17","%18","%19","%1a","%1b","%1c","%1d","%1e","%1f","%20","%21","%22","%23","%24","%25","%26","%27","%28","%29","%2a","%2b","%2c","%2d","%2e","%2f","%30","%31","%32","%33","%34","%35","%36","%37","%38","%39","%3a","%3b","%3c","%3d","%3e","%3f","%40","%41","%42","%43","%44","%45","%46","%47","%48","%49","%4a","%4b","%4c","%4d","%4e","%4f","%50","%51","%52","%53","%54","%55","%56","%57","%58","%59","%5a","%5b","%5c","%5d","%5e","%5f","%60","%61","%62","%63","%64","%65","%66","%67","%68","%69","%6a","%6b","%6c","%6d","%6e","%6f","%70","%71","%72","%73","%74","%75","%76","%77","%78","%79","%7a","%7b","%7c","%7d","%7e","%7f","%80","%81","%82","%83","%84","%85","%86","%87","%88","%89","%8a","%8b","%8c","%8d","%8e","%8f","%90","%91","%92","%93","%94","%95","%96","%97","%98","%99","%9a","%9b","%9c","%9d","%9e","%9f","%a0","%a1","%a2","%a3","%a4","%a5","%a6","%a7","%a8","%a9","%aa","%ab","%ac","%ad","%ae","%af","%b0","%b1","%b2","%b3","%b4","%b5","%b6","%b7","%b8","%b9","%ba","%bb","%bc","%bd","%be","%bf","%c0","%c1","%c2","%c3","%c4","%c5","%c6","%c7","%c8","%c9","%ca","%cb","%cc","%cd","%ce","%cf","%d0","%d1","%d2","%d3","%d4","%d5","%d6","%d7","%d8","%d9","%da","%db","%dc","%dd","%de","%df","%e0","%e1","%e2","%e3","%e4","%e5","%e6","%e7","%e8","%e9","%ea","%eb","%ec","%ed","%ee","%ef","%f0","%f1","%f2","%f3","%f4","%f5","%f6","%f7","%f8","%f9","%fa","%fb","%fc","%fd","%fe","%ff"],vw,vv=[],vvv=e.length;for(var wu=0;wu<vvv;wu++){var vu=e.charCodeAt(wu),vw=e.charAt(wu);if("A"<=vw&&vw<="Z"){vv=vv+vw;}else{if("a"<=vw&&vw<="z"){vv=vv+vw;}else{if("0"<=vw&&vw<="9"){vv=vv+vw;}else{if(vw==" "){vv=vv+"+";}else{if(vw=="-"||vw=="_"||vw=="."||vw=="!"||vw=="~"||vw=="*"||vw=="'"||vw=="("||vw==")"){vv=vv+String.fromCharCode(vu);}else{if(vu<=127){vv=vv+wv[vu];}else{if(vu<=2047){vv=vv+wv[192|vu>>6];vv=vv+wv[128|vu&63];}else{vv=vv+wv[224|vu>>12];vv=vv+wv[128|vu>>6&63];vv=vv+wv[128|vu&63];}}}}}}}}return vv;}function wvwuv(vu){var vv,vw="";if(vu==null){return"";}for(var wv=0;wv<vu.length;wv++){vv=vu.charCodeAt(wv);if(vv>96&&vv<123||vv>64&&vv<91||vv==32||vv>47&&vv<58||vv==46||vv==44||vv==45||vv==95){vw=vw+String.fromCharCode(vv);}else{vw=vw+"&#"+(vv<100?"0"+vv:vv)+";";}}return vw;}function wvwuu(vu){var vv,vw="";if(vu==null){return"";}for(var wv=0;wv<vu.length;wv++){vv=vu.charCodeAt(wv);if(vv>96&&vv<123||vv>64&&vv<91||vv>47&&vv<58||vv==46||vv==44||vv==45||vv==95){vw=vw+String.fromCharCode(vv);}else{vw=vw+"&#"+vv+";";}}return vw;}function uwvww(vv){return wvwuv(vv);}function uwvwu(vv){return wvwuu(vv);}function uwvuv(vu){var vv,vw="";if(vu==null){return"";}for(var wv=0;wv<vu.length;wv++){vv=vu.charCodeAt(wv);if(vv>96&&vv<123||vv>64&&vv<91||vv==32||vv>47&&vv<58||vv==46||vv==44||vv==45||vv==95){vw=vw+String.fromCharCode(vv);}else{if(vv>127){vw=vw+"\\u"+vvuvu(vv);}else{vw=vw+"\\x"+uuuu(vv);}}}return"'"+vw+"'";}function vvwvwu(wv){var vw,vv="",vu=false;if(wv==null){return"";}for(var e=0;e<wv.length;e++){vw=wv.charCodeAt(e);if(vw>96&&vw<123||vw>64&&vw<91||vw==32||vw>47&&vw<58||vw==46||vw==44||vw==45||vw==95){if(!vu){vv=vv+"&\"";vu=true;}vv=vv+String.fromCharCode(vw);}else{if(vu){vv=vv+"\"";vu=false;}vv=vv+"&chrw("+vw+")";}}if(vv.charAt(0)=="&"){vv=vv.substring(1);}if(vv.length==0){vv="\"\"";}if(vu){vv=vv+"\"";}return vv;}function vvwvvu(vv){if(vv==null){return"";}if(vv.search(/^(?:http|https|ftp):\/\/[a-zA-Z0-9\.\-]+(?:\:\d{1,5})?(?:[A-Za-z0-9\.\;\:\@\&\=\+\$\,\?\/]|%u[0-9A-Fa-f]{4}|%[0-9A-Fa-f]{2})*$/i)){throw"Unsanitized value passed to AsUrl";}return vv;}function vwvvvu(vv){if(vv==null){return"";}if(vv.search(/^(?:http|https|ftp):\/\//i)){if(document.location.protocol=="HTTPS"){return"https://"+document.location.hostname+wvuvv(vv);}else{return"http://"+document.location.hostname+wvuvv(vv);}}else{return vv;}}function wvuvv(vv){if(vv==null){return"";}if(!vv.search(/^[\/\\]/)){return vv;}var vw=/^(\/(?:.*\/|))(?:[^\/\\]*\.\w+|\w*)$/;if(!document.location.pathname.search(vw)){var vu=vw.exec(document.location.pathname);return vu[1]+vv;}return"/"+vv;}function vwvvwv(vv){if(vv==null){return"";}if(isNaN(parseFloat(vv))){throw"spIOSec.AsNumeric(): Error input ["+vv+"] not a valid number.";}return vv;}function vwvvvv(vv,vw,e){if(vv.length<=vw){return vv;}var wv="";if(e&&e.length>0){wv=wvuvw(e);vw-=wv.length;}vv=vv.substring(0,vw);for(var vu=1;vu<6;vu++){if(vv.charAt(vw-vu)=="%"){vv=vv.substring(0,vw-vu);break;}}return vv+wv;}function vvuuuu(wu,vu){if(!wu){return vu;}var vv,vvw,vw="";for(var wv=0;wv<vu.length;wv++){vv=vu.charCodeAt(wv);if(37==vv){vw=vw+"%"+uuuu(vv);continue;}var e=vu.charAt(wv);for(var vvv=0;vvv<wu.length;vvv++){vvw=wu.charCodeAt(vvv);if(vvw==vv){if(vv>127){e="%u"+vvuvu(vv);}else{e="%"+uuuu(vv);}break;}}vw+=e;}return vw;}function wvuvw(vu){if(vu==null){return"";}var vv,vw="";for(var wv=0;wv<vu.length;wv++){vv=vu.charCodeAt(wv);if(vv>96&&vv<123||vv>64&&vv<91||vv>47&&vv<58||vv==46||vv==45||vv==95){vw=vw+String.fromCharCode(vv);}else{if(vv>127){vw=vw+"%u"+vvuvu(vv);}else{vw=vw+"%"+uuuu(vv);}}}return vw;}function uuuu(vw){if(vw==null){return"";}var vv=vw.toString(16);for(var vu=vv.length;vu<2;vu++){vv="0"+vv;}return vv;}function vvuvu(vw){if(vw==null){return"";}var vv=vw.toString(16);for(var vu=vv.length;vu<4;vu++){vv="0"+vv;}return vv;}function vvuuwu(){this.vvwuvv=wvwuv;this.vwwwuv=wvwuu;this.vwwuvv=uwvww;this.vwwwvu=uwvwu;this.vwwwwu=uwvuv;this.vwwwvw=vvwvwu;this.vwwwvv=vwvvwv;this.vuvuw=wvuvw;this.wwuwwu=vvuuuu;this.vvuuuw=vwvvvv;this.vwwvwu=uuuu;this.vwwvuu=vvuvu;this.vwwuvw=vvwvvu;this.vwwvwv=vwvvvu;this.vwwvvu=uwvwv;}var vvuwu=new vvuuwu;function wuvuwu(vv){if(!vv){return 0;}if(vv.document){var vw=vv.document.wwuwuw.vwwvvw();return vw.text.length;}else{var vu=vv.vwvwwu,wv=vv.vwvvww;return wv-vu;}}function vwvwvw(wu,e,vv,vu,vw,wv){document.cookie=wu+"="+window.escape(e)+(vv?"; expires="+vv.toGMTString():"")+(vu?"; path="+vu:"")+(vw?"; domain="+vw:"")+(wv?"; secure":"");}function vuuuw(e){var vw=document.cookie,vu=e+"=",vv=vw.indexOf("; "+vu);if(vv==-1){vv=vw.indexOf(vu);if(vv!=0){return null;}}else{vv+=2;}var wv=document.cookie.indexOf(";",vv);if(wv==-1){wv=vw.length;}return window.unescape(vw.substring(vv+vu.length,wv));}function vwvwww(vw,vu,vv){if(vuuuw(vw)){document.cookie=vw+"="+(vu?"; path="+vu:"")+(vv?"; domain="+vv:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT";}}function vwvwuv(vvuuv){var title=vvuuv.getElementsByTagName("H4");var description=vvuuv.getElementsByTagName("P");var vwvvv=title[0].firstChild.nodeValue;if(vwvvv.length>35){var vuuwu=vwvvv.split(' ');var vwvwu="";for(var ww=0;ww<vuuwu.length;ww++){if((vwvwu+vuuwu[ww]+' ').length>=35){vwvwu+="...";break;}vwvwu+=vuuwu[ww]+' ';}vwvvv=vwvwu;}vvuuv.removeChild(description[0]);title[0].innerHTML=vwvvv;return vvuuv;}function wwuwuu(){}function vvvv(vv){this.type=vv;this.vuuvv="SP_TypeValidator";}vvvv.prototype.vwwvw=function(vv){return vvvv._ValidValue(vv,this.type);};vvvv.prototype.DefaultValue=function(){return null;};vvvv.prototype.vwvvvw=function(vv){return vvvv._ParseValue(vv,this.type);};vvvv._ValidValue=function(vv,vw){if(vv==null){return false;}if(vw=="int"){return typeof vv=="number"&&vv.toString().indexOf(".")==-1;}return typeof vv==vw;};vvvv._ParseValue=function(vv,vu){if(vv==null){return null;}var wv=typeof vv;if(wv=="string"){try{vv=decodeURI(vv).replace(/^\s*|\s*$/g,"");vv=vv.replace(/\+/g," ").replace(/%2c/gi,",");}catch(e){vv=unescape(vv).replace(/^\s*|\s*$/g,"");}}if(vu=="int"&&wv=="number"){if(vv.toString().indexOf(".")>-1){return null;}return vv;}if(wv==vu){return vv;}if(wv=="string"){if(vu=="int"){if(vv.toString().indexOf(".")>-1){return null;}var vw=parseInt(vv);if(isNaN(vw)){return null;}return vw;}else{if(vu=="number"){vw=parseFloat(vv);if(isNaN(vw)){vw=parseInt(vv);}if(isNaN(vw)){return null;}return vw;}else{if(vu=="boolean"){if(vv.toLowerCase()=="true"){return true;}else{if(vv.toLowerCase()=="false"){return false;}}}}}}return null;};vvuww.prototype=new vvvv;function vvuww(vv){this.type="string";this.vuuvv="SP_StringValidator";if(vv&&vv.constructor==Number&vv>=0){this.uwww=vv;}}vvuww.prototype.vwvvvw=function(vw){var vv=vvvv._ParseValue(vw,"string");if(vv!=null&&this.uwww!=null&&vv.length>this.uwww){vv=vv.substr(0,this.uwww);}return vv;};vvuww.prototype.vwwvw=function(vv){if(!vvvv._ValidValue(vv,"string")){return false;}if(this.uwww!=null&&vv.length>this.uwww){return false;}return true;};vvuww.prototype.DefaultValue=function(){return"";};vuwwu.prototype=new vvvv;function vuwwu(vu,vv){this.type=vu;this.vuuvv="SP_ValidValuesValidator";this.wwwv=[];if(this.type=="boolean"){this.wwwv.push(true);this.wwwv.push(false);}else{if(vv&&vv.constructor==Array){for(var vw=0;vw<vv.length;vw++){if(vvvv._ValidValue(vv[vw],this.type)){this.wwwv.push(vv[vw]);}}}}}vuwwu.prototype.vwwvw=function(vw){if(!vvvv._ValidValue(vw,this.type)){return false;}if(this.wwwv.length==0){return true;}for(var vv=0;vv<this.wwwv.length;vv++){if(vw==this.wwwv[vv]){return true;}}return false;};vuwwu.prototype.DefaultValue=function(){if(this.wwwv.length>0){return this.wwwv[0];}else{return null;}};vwwwv.prototype=new vvvv;function vwwwv(vw,vv,vu){if(vu){this.type="int";}else{this.type="number";}this.vwvwwv=false;this.vuuvv="SP_RangeValidator";if(vvvv._ValidValue(vw,this.type)){this.wwuw=vw;}if(vvvv._ValidValue(vv,this.type)){this.wwww=vv;}if(this.wwuw&&this.wwww&&this.wwuw>this.wwww){var wv=this.wwuw;this.wwuw=this.wwww;this.wwww=wv;}}vwwwv.prototype.vwwvw=function(vv){if(!vvvv._ValidValue(vv,"number")){return false;}if(this.wwuw!=null&&vv<this.wwuw){return false;}if(this.wwww!=null&&vv>this.wwww){return false;}return true;};vwwwv.prototype.DefaultValue=function(){if(this.wwuw!=null){return this.wwuw;}else{if(this.wwww!=null){return this.wwww;}else{return null;}}};function vuwuw(vw,vv){this.data=vw;this.description=vv;}vuwuw.prototype.toString=function(){return this.description;};function vwvwvu(vvw,uvv,vwvu,vwv){this.wwvuu=false;var vw=[],vv=document.createElement("div");vv.setAttribute("id",vvw);vv.style.zIndex="900";this.id=vvw;var wuw=vvw,wv=this,vu=-1,vvuvw=vwvu?vwvu:"",vwuw=uvv?uvv:"",www=vwv?vwv:"",e="";function y(wv){if(!(wv instanceof vuwuw)){wv=new vuwuw(wv,wv.toString());}vw.push(wv);var vu=document.createElement("div");vu.setAttribute("id",wuw+"_"+(vw.length-1));vu.onclick=vuwv;vu.onmouseover=vvwuw;vu.onmouseout=vvuu;vu.innerHTML=wv.description;vv.appendChild(vu);}function x(){return vw.length;}function uvw(){return vv;}function vuwv(e){var vu=wuww(e),vv=wu(vu);ww(vv);if(wv.OnClick){wv.OnClick(vv,vw[vv]);}if(wv.OnSelect){wv.OnSelect(vv,vw[vv]);}}function vvwuw(vvv){var vv=wuww(vvv),vu=wu(vv);e=vv.className;vv.className=www;if(wv.OnMouseOver){wv.OnMouseOver(vu,vw[vu]);}}function vvuu(vvv){var vv=wuww(vvv),vu=wu(vv);vv.className=e;if(wv.OnMouseOut){wv.OnMouseOut(vu,vw[vu]);}}function ww(wv){if(wv>=0&&wv<vw.length){var wu=vvv();if(wu>=0){vv.childNodes[wu].className=vwuw;}vu=wv;vv.childNodes[wv].className=vvuvw;e=vv.childNodes[wv].className;}else{wu=vvv();if(wu>=0){vv.childNodes[wu].className=vwuw;}vu=-1;}}function vvv(){return vu;}function vww(){if(vu>=0&&vu<vw.length){return vw[vu];}return null;}function uuv(wv){if(wv<0||wv>=vw.length){return;}if(wv<vu){vu-=1;}else{if(wv==vu){vu=-1;}}vw.splice(wv,1);vv.removeChild(vv.childNodes[wv]);}function wu(vu){for(var vw=0;vw<vv.childNodes.length;++vw){if(vu==vv.childNodes[vw]){return vw;}}return-1;}function vvwww(){while(vw.length>0){vw.pop();}while(vv.childNodes.length>0){vv.removeChild(vv.lastChild);}vu=-1;}function A(){vv.style.display="block";this.wwvuu=true;}function wuv(){vv.style.display="none";this.wwvuu=false;}this.OnClick=null;this.GetCount=x;this.vvvvuv=uvw;this.vwvvwu=vvv;this.vwvwuw=vww;this.vwvuvu=ww;this.OnSelect=null;this.AddItem=y;this.OnMouseOver=null;this.OnSelect=null;this.OnMouseOut=null;this.ClearItems=vvwww;this.vwwvvv=uuv;this.Show=A;this.vuuv=wuv;}DistanceUnit={Kilometers:"k",Miles:"m"};DistanceUnit.wuvvuw=function(vv){if(typeof vv=="string"){if(vv==VEDistanceUnit.Miles||vv==VEDistanceUnit.Kilometers){return true;}}return false;};function GetTaskAreaBoundingBoxOffset(){var vv=parseInt(SP.Css.Functions.getClip(vwuwv,2));if(typeof vv=="number"&&vv>10){return vv;}else{return 0;}}wvvvv("SP.Css");SP.Css={Style:{Height:0,Width:1,Top:2,Left:3,Bottom:4,Right:5,Position:6,vwvuuw:7,Padding:8,Display:9,Visibility:10},vwvuww:{vvuuww:"auto",vwvuwu:"px",Points:"pt",vwvuwv:"em",vwvuvw:"%"},Position:{Static:"static",vwuvvw:"relative",vuwvwv:"absolute"},Display:{vuwvww:"none",vuwvuw:"block",vuwwvw:"table",vuwvuu:"inline"},Visibility:{Visible:"visible",Hidden:"hidden"},wwvwv:{vvuuww:"auto",Default:"default",vuwwvv:"crosshair",Pointer:"pointer",Move:"move",vuwvvv:"wait",Text:"text",vuvuuw:"help",vuwuvv:"n-resize",vuvuuv:"ne-resize",vuvuwu:"nw-resize",vuvuwv:"s-resize",vwuuwv:"se-resize",vwuuvw:"sw-resize",vwuuvu:"e-resize",vwuwuv:"w-resize",vvuuuv:null,vwuwuu:function(vu){SP.Css.wwvwv.vvuuuv=vu;var vw,wv=vu.length;for(vw=0;vw<wv;vw++){var vv=vu[vw];SP.Css.wwvwv[vv.name]="url(\""+vuuuw("spLocalHost")+vv.path+"\"), "+vv.vwuvvu;}}},wvuuv:{wuvwv:/rect\((auto|\d+px|\d*\.*\d+em|\d*\.*\d+pt)\s*,*\s*(auto|\d+px|\d*\.*\d+em|\d*\.*\d+pt)\s*,*\s*(auto|\d+px|\d*\.*\d+em|\d*\.*\d+pt)\s*,*\s*(auto|\d+px|\d*\.*\d+em|\d*\.*\d+pt)\)/},Functions:{vwuvwv:function(vv){this.wuvvu(vv,arguments,true);},vwuvuw:function(vv){this.wuvvu(vv,arguments,false);},wuvvu:function(vv,e,vvv){var vu,vvw=e.length;for(vu=1;vu<vvw;vu++){var wv=e[vu],wv=e[vu].replace(/^\s*/,"").replace(/\s*$/,"");if(wv.indexOf(" ")!=-1){continue;}var wu=new RegExp("(^| )"+wv+"( |$)","i");if(vvv){if(!wu.test(vv.className)){if(vv.className==""){vv.className=wv;}else{vv.className+=" "+wv;}}}else{var vw=vv.className;vw=vw.replace(wu,"$1");vw=vw.replace(/ $/,"");vv.className=vw;}}},vvvuu:function(vw,vu){var vv=null;if(document.vuvuu&&document.vuvuu.vvvuu&&typeof document.vuvuu.vvvuu!="undefined"){vv=document.vuvuu.vvvuu(vw,null);}else{vv=vw.currentStyle;}return vv[vu];},vwuvuu:function(vu,wv,e){var vw=SP.Css.Functions.getClip(vu,0),wu=SP.Css.wvuuv.wuvwv,vv=wu.exec(vw);vv[wv]=e;if(wv==0){vu.style.clip=vv[0];}else{vv[wv]=e;vv.shift();vw="rect("+vv.join(" ")+")";vu.style.clip=vw;}},getClip:function(wv,e){var vw=wv.style.clip;if(vw==""){var vw=SP.Css.Functions.vvvuu(wv,"clip");if(vw=="auto"){vw="rect(auto auto auto auto)";}else{if(typeof vw=="undefined"||vw==null){var vu=wv.currentStyle;if(typeof vu!="undefined"&&vu!=null){vw="rect("+vu.vwuwvv+" "+vu.vuuvvu+" "+vu.vwuwww+" "+vu.vuvwvv+")";}}}}var wu=SP.Css.wvuuv.wuvwv,vv=wu.exec(vw);if(e==0){return vv[0];}vv[1]=vv[1]=="auto"?0:vv[1];vv[4]=vv[4]=="auto"?0:vv[4];vv[2]=vv[2]=="auto"?wv.offsetWidth:vv[2];vv[3]=vv[3]=="auto"?wv.offsetHeight:vv[3];if(e==5){return vv;}else{return vv[e];}}}};function vwuuuv(){var vv=null;if(window.vvuuwv){vv=new vvuuwv;}else{if(window.wvwuw){try{vv=new wvwuw("Msxml2.XMLHTTP");}catch(vw){try{vv=new wvwuw("Microsoft.XMLHTTP");}catch(vu){}}}else{alert("XMLHTTP Required: Browser not supported");}}return vv;}function wvvuu(){var vv=SP.Geometry,vu=350,e=30,wv=document.body.clientWidth,wu=document.body.clientHeight-90;var vw=new vv.wvwwu(new vv.uuuw(vu,e),new vv.uuuw(wv,wu));return vw;}wvvvv("SP.Geometry");SP.Geometry.uuuw=function(vu,wv){var vv=this,vw=SP.Geometry;this.x=vu;this.y=wv;this.add=function(vu,wv){var e=new vw.uuuw(vv.x+vu,vv.y+wv);return e;};this.vwuvvv=function(vw){var vu=Math.pow(vw.x-vv.x,2)+Math.pow(vw.y-vv.y,2),wv=Math.sqrt(vu);return wv;};};SP.Geometry.wwvv={vvuv:{vwwvu:1,vwuvv:2,vwwuu:4,vuvwu:8,vvuuvu:16,vvuuvw:32,wwvww:48},wwvvw:function(wu,vvv){var wv=SP.Geometry.wwvv,vv=wu,vw=vvv,vu=0;e();function e(){if(vw.vvwu().x>vv.vvwu().x){vu+=wv.vvuv.vwwvu;}if(vw.vvww().x<vv.vvww().x){vu+=wv.vvuv.vwuvv;}if(vw.vvwu().y>vv.vvwu().y){vu+=wv.vvuv.vwwuu;}if(vw.vvww().y<vv.vvww().y){vu+=wv.vvuv.vuvwu;}if(vv.vvww().x<=vw.vvww().x&&vw.vvwu().x<=vv.vvwu().x){vu+=wv.vvuv.vvuuvu;}if(vv.vvww().y<=vw.vvww().y&&vw.vvwu().y<=vv.vvwu().y){vu+=wv.vvuv.vvuuvw;}}this.vvwuuu=function(){return vu;};this.vuvvwu=function(){if(vu&wv.vvuv.vwuvv){return Math.abs(vv.vvww().x-vw.vvww().x);}else{return 0;}};this.vuvvww=function(){if(vu&wv.vvuv.vwwvu){return vw.vvwu().x-vv.vvwu().x;}else{return 0;}};this.vuvvwv=function(){if(vu&wv.vvuv.vuvwu){return Math.abs(vv.vvww().y-vw.vvww().y);}else{return 0;}};this.vuvvuv=function(){if(vu&wv.vvuv.vwwuu){return vw.vvwu().y-vv.vvwu().y;}else{return 0;}};}};SP.Geometry.wvwwu=function(vvw,ww){var vvv=this,vv=vvw,vw=ww,wv,e;wu();function wu(){vu();}this.move=function(vu){vv.x=vu.x;vv.y=vu.y;vw.x=vu.x+e;vw.y=vu.y+wv;};this.vvww=function(){return vv;};this.vvwu=function(){return vw;};this.vuvvvu=function(vw){vv=vw;vu();};this.vuvvvv=function(vv){vw=vv;vu();};this.wvvuw=function(){return e;};this.getHeight=function(){return wv;};this.vwuuuu=function(vu){return vu.x>=vv.x&&vu.x<=vw.x&&vu.y>=vv.y&&vu.y<=vw.y;};this.vwuuuw=function(wv){vv.x-=wv;vv.y-=wv;vw.x+=wv;vw.y+=wv;vu();};this.vvwwww=function(vv){var vw=SP.Geometry;return new vw.wwvv.wwvvw(vvv,vv);};function vu(){wv=vw.y-vv.y;e=vw.x-vv.x;}};SP.Geometry.Functions={vuvvvw:function(vv,vw){return(vw.y-vv.y)/(vw.x-vv.x);},vuvvuw:function(vw,vv){return vv.y-vw*vv.x;},vvwwwv:function(vv){var vw=0,vu=0;while(vv&&vv.offsetParent){vw+=vv.offsetLeft-vv.scrollLeft;vu+=vv.offsetTop-vv.scrollTop;vv=vv.offsetParent;}return{x:vw,y:vu};},vuvwuv:function(vv){if(typeof vv=="undefined"){vv=window.event;}var vw={x:0,y:0};if(typeof vv.pageX!="undefined"&&typeof vv.x!="undefined"){vw.x=vv.pageX;vw.y=vv.pageY;}else{var vu=this.vvwwvu();vw.x=vv.clientX+vu.x;vw.y=vv.clientY+vu.y;}return vw;},vvwwvu:function(){var vv={x:0,y:0};if(typeof window.pageYOffset!="undefined"){vv.x=window.pageXOffset;vv.y=window.pageYOffset;}else{if(typeof document.documentElement.scrollTop!="undefined"&&document.documentElement>0){vv.x=document.documentElement.scrollLeft;vv.y=document.documentElement.scrollTop;}else{if(typeof document.body.scrollTop!="undefined"){vv.x=document.body.scrollLeft;vv.y=document.body.scrollTop;}}}return vv;},vuvuvw:function(){var vv={x:0,y:0};if(typeof window.innerWidth!="undefined"){vv.x=window.innerWidth;vv.y=window.innerHeight;}else{if(typeof document.documentElement!="undefined"&&typeof document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth!=0){vv.x=document.documentElement.clientWidth;vv.y=document.documentElement.clientHeight;}else{vv.x=document.getElementsByTagName("body")[0].clientWidth;vv.y=document.getElementsByTagName("body")[0].clientHeight;}}return vv;},vuvuvv:function(wu,vw,vu){var vv=SP.Geometry;if(!vw){vw=vv.Functions.vvwwwv(wu);}var e=new vv.wvwwu(vw,new vv.uuuw(vw.x+wu.offsetWidth,vw.y+wu.offsetHeight)),ww=vu.vvwwww(e),wv=ww.vvwuuu();if((wv&vv.wwvv.vvuv.wwvww)==vv.wwvv.vvuv.wwvww){return vw;}var vvv=vw.x,vvw=vw.y;if(wv&vv.wwvv.vvuv.vwwvu){vvv=vu.vvwu().x-e.wvvuw();}if(wv&vv.wwvv.vvuv.vwuvv){vvv=vu.vvww().x;}if(wv&vv.wwvv.vvuv.vwwuu){vvw=vu.vvwu().y-e.getHeight();}if(wv&vv.wwvv.vvuv.vuvwu){vvw=vu.vvww().y;}return new vv.uuuw(vvv,vvw);}};wvvvv("SP.OO.Eventable");SP.OO.Eventable.vuvwuu=function(vw,vv){this.vuvuvu=vw;this.vuvwuw=vv;};SP.OO.Eventable.vuvwwu=function(){if(typeof window.attachEvent!="undefined"){window.attachEvent("onunload",vu);}var vv=[];this.vuvwww=function(){return vv;};this.vuvwwv=function(wv,e){var vu=vv[wv];if(typeof vu=="undefined"||vu==null){vu=new vw(wv);vv[wv]=vu;}vu.vvwwwu(e);};this.vwuuwu=function(wv,e){var vu=vv[wv];if(vu instanceof vw){vu.vvwwvw(e);}};this.vwuuww=function(vvv,vvw,wu){var wv=vv[vvv];if(!(wv instanceof vw)){return;}var e=wv.vvwvuu(),vu;for(vu=0;vu<e.length;vu++){e[vu].call(vvw,wu);}};function vw(vw){var vu=vw,vv=[];this.vvwwwu=function(vu){if(typeof vu=="function"){var vw;for(vw=0;vw<vv.length;vw++){if(vv[vw]==vu){return;}}vv.push(vu);}};this.vvwwvw=function(vu){if(typeof vu!="function"){return;}var vw;for(vw=0;vw<vv.length;vw++){if(vv[vw]==vu){vv[vw]=null;delete vv[vw];vv.splice(vw,1);}}};this.destroy=function(){var vw;for(vw=0;vw<vv.length;vw++){vv[vw]=null;delete vv[vw];}};this.vvwvuu=function(){return vv;};}function vu(){var vu;for(vu in vv){if(vv[vu]instanceof vw){vv[vu].destroy();vv[vu]=null;}}vv=null;}};function wuww(vw){if(!vw){vw=window.event;}var vv=null;if(vw.srcElement){vv=vw.srcElement;}else{if(vw.target){vv=vw.target;}}if(vv&&vv.nodeType){if(vv.nodeType==3){vv=wuvuw.parentNode;}}return vv;}function wuvuww(vwuw,vwv,vu,e,wv,vv,vw){var wu="toolbar, location, directories, status, menubar, scrollbars, resizable",ww="width="+(e>0?e:GetWindowWidth())+", ",vvw="height="+(wv>0?wv:GetWindowHeight())+", ";vv=vv?vv:0;var vwvu="screenX="+vv+", left="+vv+", ";vw=vw?vw:0;var uvv="screenY="+vw+", top="+vw,vvv=window.open(vwuw,vwv,(vu=="all"?wu:vu)+", "+ww+vvw+vwvu+uvv);vvv.focus();return vvv;}function vvuvvv(){var vvwvuw="Please copy & paste the URL above into your browser to get the best results.";var vv=escape(wvvvu)+" Results",vw=escape(wvvvu+" Results\n"+vvwvuv()+"\n\n"+vvwvuw);var wv=window.open("mailto:?subject="+vv+"&body="+vw,"_blank");if(wv){wv.close();}}function vvwvuv(){var wvw=uw.GetCenter(),style=uw.GetMapStyle(),wwuuv=uw.GetZoomLevel(),vvv=null,vv="";if(style&&wwuuv){vv="spstyle="+style;vv+="&spzoom="+wwuuv;}if(style=="o"){var vwvuw=uw.GetBirdseyeScene(),id=vwvuw.vwuwvu();vv+="&beid="+id;}else{if(vuvu.wuvuv){vv+="&splat="+vuvu.spDDendLL.Latitude.toFixed(6);vv+="&splng="+vuvu.spDDendLL.Longitude.toFixed(6);}else{vv+="&splat="+wvw.Latitude.toFixed(6);vv+="&splng="+wvw.Longitude.toFixed(6);}}if(vuvu.vvuwuu&&vuvu.wuvuv&&vv!=""){vv+="&spdd=true";vv+="&spstartaddress="+vvuwu.vuvuw(vuvu.vvuwuu);vv+="&spaddress="+vvuwu.vuvuw(vuvu.wuvuv);vv+="&spDDstartLat="+vuvu.spDDstartLL.Latitude.toFixed(6);vv+="&spDDstartLong="+vuvu.spDDstartLL.Longitude.toFixed(6);vv+="&spDDendLat="+vuvu.spDDendLL.Latitude.toFixed(6);vv+="&spDDendLong="+vuvu.spDDendLL.Longitude.toFixed(6);}vvv=vvwwuv()+"?"+vv;return vwuvwu.vvuuuw(vvv,2020);};function vvwwuv(){var port=window.location.port;if(port!=null){if(port!=""){port=":"+port;}}var vv=window.location.pathname.lastIndexOf("/"),vw=window.location.protocol+"//"+window.location.hostname+port+window.location.pathname.substring(0,vv+1);return vw;}function vwuvww(vv,vw,vu){if(!vv){return;}vv.scrollTop=vu;vv.scrollLeft=vw;}function vwuv(vv){return vv?vv:window.event;}function wvuuw(uu){var vvwwuw=(uu)?uu:((window.event)?event:null);return vvwwuw;}function uuw(vv){var vw=wvuuw(vv);vw.cancelBubble=true;vw.returnValue=false;}function uvu(vv){uuw(vv);return false;}function vuuwv(vu){var vv=vu,vw=0;while(vv){vw+=vv.offsetLeft;vv=vv.offsetParent;}if(navigator.userAgent.indexOf("Mac")!=-1&&typeof document.body.leftMargin!="undefined"){vw+=document.body.leftMargin;}return vw;}function uvvu(vu){var vv=vu,vw=0;while(vv){vw+=vv.offsetTop;vv=vv.offsetParent;}if(navigator.userAgent.indexOf("Mac")!=-1&&typeof document.body.vvwuvu!="undefined"){vw+=document.body.vvwuvu;}return vw;}function vuwvv(vv){var vw=0;if(vv.pageX){vw=vv.pageX;}else{if(vv.clientX){if(document.documentElement&&document.documentElement.scrollLeft){vw=vv.clientX+document.documentElement.scrollLeft;}else{if(document.body){vw=vv.clientX+document.body.scrollLeft;}}}}return vw;}function uvvw(vv){var vw=0;if(vv.pageY){vw=vv.pageY;}else{if(vv.clientY){if(document.documentElement&&document.documentElement.scrollTop){vw=vv.clientY+document.documentElement.scrollTop;}else{if(document.body){vw=vv.clientY+document.body.scrollTop;}}}}return vw;}function uuuwu(wwvu){var mymap=$ID("myMap");return vwuvuv(wwvu)>vvuuw&&vwuwwv(wwvu)>uvvu(mymap);}function vwuwwu(vvv){var x=vuwvv(vvv),y=uvvw(vvv),vuu=-1;var mymap=$ID("myMap"),wvwvv=uvvu(mymap),vvwwuu=wvwvv+parseInt(mymap.offsetHeight),vvvu=null;if(x>vvuuw&&y>wvwvv&&y<vvwwuu){for(var vv=0;vv<8;vv++){vvvu=$ID("pa"+vv);if(x>parseInt(vvvu.offsetLeft)&&x<(parseInt(vvvu.offsetLeft)+parseInt(vvvu.offsetWidth))&&y>parseInt(vvvu.offsetTop)&&y<(parseInt(vvvu.offsetTop)+parseInt(vvvu.offsetHeight))){vuu=vv;break;}}}return vuu;}function vvwvwv(vu){var wv=false;if(vu instanceof VELatLong){var vv=uw.LatLongToPixel(vu);wv=vv.x>=0&&vv.y>=0&&vv.x<uw.vemapcontrol.GetMapWidth()&&vv.y<uw.vemapcontrol.GetMapHeight();if(window.vvvwv instanceof VEPixel){var vw=wvvuu();vv.x=vv.x+window.vvvwv.x;vv.y=vv.y+window.vvvwv.y;wv=vv.x>=vw.vvww().x&&vv.y>=vw.vvww().y&&vv.x<vw.vvwu().x&&vv.y<vw.vvwu().y;}}return wv;}function uvwuu(vv){var vuu=vv;if(wvu.wwv.indexOf("IE")==-1){while(vuu.length<=550){vuu+="&nbsp;";}}return vuu;}function wuvuvw(wvuv){if(wvu.wwv.indexOf("Firefox")!=-1){var uu=document.createEvent("MouseEvents");uu.wwuww("click",true,true,window,0,0,0,0,0,false,false,false,false,0,null);wvuv.wuvvv(uu);}else if(wvu.wwv.indexOf("IE")!=-1){wvuv.wwwvw("onclick");}}
