if(typeof ViralogyDI=="undefined"){function ViralogyDI(){if(typeof ViralogyDI.counter=="undefined")ViralogyDI.counter=0;if(typeof ViralogyDI.instances=="undefined")ViralogyDI.instances=[];this.counterId=ViralogyDI.counter++;ViralogyDI.instances.push(this);this.plugins=[];this.timers=[];this.headerObjectsLoaded=[];this.eventResults=[];ViralogyDI.mouseX=0;ViralogyDI.mouseY=0;if(typeof ViralogyPlugins!="undefined")for(var p in ViralogyPlugins)eval("this.plugins."+ViralogyPlugins[p].name+" = ViralogyPlugins[i]");
this.protocol="https:"==document.location.protocol?"https":"http";this.apiUrl=this.protocol+"://insights.viralogy.com/api/json/";this.debug=window.location.href.indexOf("smj10j")>0?true:false;ViralogyDI.isIE=navigator.appName=="Microsoft Internet Explorer"?1:document.all?1:0;ViralogyDI.isSafari=navigator.userAgent.indexOf("Safari")!=-1?1:0;ViralogyDI.isIPhone=navigator.userAgent.indexOf("iPhone")!=-1?1:0;this.ScrollEventCheckRate=this.MouseEventCheckRate=1E4;this.User=function(c){this.parent=c;this.loggedPageView=
false;this.reset=function(){this.parent.session.get(true)};this.logPageView=function(){this.parent.makeApiCall("user.logEvent","type=pageView")};this.logScroll=function(a,b){this.parent.makeApiCall("user.logEvent","type=scroll&x="+a+"&y="+b)};this.logClick=function(a,b,d,g,e){this.parent.makeApiCall("user.logEvent","type=click&objectType="+escape(a)+"&x="+g+"&y="+e+"&action="+escape(b)+"&description="+escape(d))};this.logMouseMove=function(a,b){this.parent.makeApiCall("user.logEvent","type=mouseMove&x="+
a+"&y="+b)};this.logSearch=function(a){this.parent.makeApiCall("user.logEvent","type=search&query="+escape(a))};this.getLocation=function(a,b){this.parent.makeApiCall("user.getLocation","accuracy="+a,b)};this.getReferrer=function(a){this.parent.makeApiCall("user.getReferrer","",a)};this.getReferrerType=function(a){this.parent.makeApiCall("user.getReferrerType","",a)};this.getRecentHistory=function(a,b){this.parent.makeApiCall("user.getRecentHistory","returnCount="+a,b)};this.getEntryPage=function(a){this.parent.makeApiCall("user.getEntryPage",
"",a)};this.getVisitCount=function(a){this.parent.makeApiCall("user.getVisitCount","",a)};this.getVisitDuration=function(a){this.parent.makeApiCall("user.getVisitDuration","",a)};this.getBounceChance=function(a){this.parent.makeApiCall("user.getBounceChance","",a)};this.getPreferredMediaFormat=function(a){this.parent.makeApiCall("user.getPreferredMediaFormat","",a)};this.getSearchSuggestions=function(a,b,d){this.searchSuggestions&&this.searchSuggestions[a]?this.parent.site.setSearchSuggestions(this.searchSuggestions[a]):
this.parent.makeApiCall("user.getSearchSuggestions","query="+escape(a)+"&byPage="+b+"&returnCount="+d,"viralogy.user.getSearchSuggestions_complete")};this.getSearchSuggestions_complete=function(a){if(a=this.parent.parseResponse(a)){if(!this.searchSuggestions)this.searchSuggestions=[];this.searchSuggestions[a.searchSuggestions.query]=this.parent.utils.makeArray(a.searchSuggestions.suggestions);this.parent.site.setSearchSuggestions(this.searchSuggestions[a.searchSuggestions.query])}}};this.Site=function(c){this.parent=
c;this.layoutObjects=null;this.getAverage=function(a,b){this.parent.makeApiCall("site.getAverage","type="+escape(a),b)};this.getPopular=function(a,b,d,g){this.parent.makeApiCall("site.getPopular","type="+escape(a)+"&duration="+escape(b)+"&returnCount="+d,g)};this.getVScore=function(a){this.parent.makeApiCall("site.getVScore","",a)};this.getRecentMouseMoves=function(a){this.parent.makeApiCall("site.getRecentMouseMoves","returnCount="+a,"viralogy.site.getRecentMouseMoves_complete")};this.getRecentClicks=
function(a){this.parent.makeApiCall("site.getRecentClicks","returnCount="+a,"viralogy.site.getRecentClicks_complete")};this.getRecentScrolls=function(a){this.parent.makeApiCall("site.getRecentScrolls","returnCount="+a,"viralogy.site.getRecentScrolls_complete")};this.addSearchSuggestionsBox=function(){var a=null,b=null,d=this.parent.utils.getElementsByTagName("input");for(var g in d){var e=d[g];if(e.type&&(e.type.toLowerCase()=="submit"||e.type.toLowerCase()=="button"||e.type.toLowerCase()=="image"||
e.type.toLowerCase()=="hidden")){var h=e.innerHTML?e.innerHTML.toLowerCase():"",i=e.value?e.value.toLowerCase():"",j=e.title?e.title.toLowerCase():"",n=e.alt?e.alt.toLowerCase():"";if(h.indexOf("search")!=-1||i.indexOf("search")!=-1||j.indexOf("search")!=-1||n.indexOf("search")!=-1||h.indexOf("go")!=-1||i.indexOf("go")!=-1||j.indexOf("go")!=-1||n.indexOf("go")!=-1||h.indexOf("find")!=-1||i.indexOf("find")!=-1||j.indexOf("find")!=-1||n.indexOf("find")!=-1){b=e;break}}}if(b){b=b.parentNode.childNodes;
for(var k in b){d=b[k];if(d.id&&d.id.toLowerCase()=="s"||d.name&&d.name.toLowerCase()=="s"||d.id&&d.id.toLowerCase()=="q"||d.name&&d.name.toLowerCase()=="q"||d.id&&d.id.toLowerCase()=="query"||d.name&&d.name.toLowerCase()=="query"){a=d;break}}}if(a){this.searchInputInfo=this.parent.utils.getElementInfo(a);this.searchSuggestionsBox=document.createElement("div");this.searchSuggestionsBox.id="Viralogy_searchSuggestions";this.searchSuggestionsBox.style.width=this.searchInputInfo.width>250?this.searchInputInfo.width+
"px":"250px";this.searchSuggestionsBox.style.backgroundColor="#CCCCCC";this.searchSuggestionsBox.style.border="1px solid #888888";this.searchSuggestionsBox.style.visibility="hidden";this.searchSuggestionsBox.style.zIndex="1001";this.searchSuggestionsBox.style.left=this.searchInputInfo.x+"px";this.searchSuggestionsBox.style.position="absolute";this.searchSuggestionsBox.style.cssFloat="left";this.searchSuggestionsBox.style.styleFloat="left";this.searchSuggestionsBox.style.top=this.searchInputInfo.y+
this.searchInputInfo.height+"px";if(this.parent.plugins.searchSuggest.customCSS){k=this.parent.plugins.searchSuggest.customCSS.split(";");for(var l in k)if(k[l]){b=k[l].split(":");if(b[0]=="float"){eval('this.searchSuggestionsBox.style.cssFloat="'+b[1]+'";');eval('this.searchSuggestionsBox.style.styleFloat="'+b[1]+'";')}else eval("this.searchSuggestionsBox.style."+b[0]+'="'+b[1]+'";')}}a.onkeyup=function(){var m=a.onkeyup;return function(o){viralogy.site.searchInputKeyUpTimer&&clearTimeout(viralogy.site.searchInputKeyUpTimer);
eval("viralogy.site.searchInputKeyUpTimer = setTimeout(\"viralogy.user.getSearchSuggestions('"+this.value+"',0,10);\",200)");var q=true;if(m!=null)q=m(o);return q}}();a.autoComplete="off";a.setAttribute("autocomplete","off");this.parent.utils.insertAfter(a,this.searchSuggestionsBox)}else setTimeout("viralogy.site.addSearchSuggestionsBox()",1E3)};this.setSearchSuggestions=function(a){if(this.searchSuggestionsBox){for(this.searchSuggestionsBox.style.visibility="hidden";this.searchSuggestionsBox.childNodes.length>
0;)this.searchSuggestionsBox.removeChild(this.searchSuggestionsBox.childNodes[0]);for(var b in a)if(a[b].objectType=="external link"){var d=document.createElement("a");d.id="Viralogy_searchSuggest_item"+b;d.name=b;d.innerHTML=a[b].description;d.href=a[b].action;d.style.display="block";this.searchSuggestionsBox.appendChild(d)}this.searchSuggestionsBox.style.visibility="visible"}};this.getLayout=function(){this.parent.makeApiCall("site.getLayout","","viralogy.site.getLayout_complete")};this.getLayout_complete=
function(a){if(a=this.parent.parseResponse(a)){this.layoutObjects=this.parent.utils.makeArray(a.siteLayout.objects);this.processLayout()}};this.processLayout=function(){if(this.layoutObjects){var a=[];for(key in this.layoutObjects){var b=this.layoutObjects[key],d=null;if(b.target.id)d=document.getElementById(b.target.id);else if(b.target.parentId)d=document.getElementById(b.target.parentId).childNodes[b.target.childOffset];if(d){if(b.style){var g=b.style.value.split(";");for(p in g){var e=g[p].split(":");
eval("elem.style."+e[0]+'="'+e[1]+'";')}}if(b.content)d.innerHTML=b.content.value}else a.push(b)}this.layoutObjects.length>0&&a.length!=this.layoutObjects.length&&this.parent.refreshVML();this.layoutObjects=a;this.layoutObjects.length>0&&setTimeout("viralogy.site.processLayout()",200)}};this.getRecentMouseMoves_complete=function(a){(a=this.parent.parseResponse(a))&&this.showHeatmap(this.parent.utils.makeArray(a.mouseMoves),"8px","8px")};this.getRecentClicks_complete=function(a){(a=this.parent.parseResponse(a))&&
this.showHeatmap(this.parent.utils.makeArray(a.clicks),"8px","8px")};this.getRecentScrolls_complete=function(a){(a=this.parent.parseResponse(a))&&this.showHeatmap(this.parent.utils.makeArray(a.scrolls),"100%","5px")};this.showHeatmap=function(a,b,d){for(var g in a){var e=a[g],h=document.createElement("div");h.style.height=d;h.style.width=b;h.style.position="absolute";h.style.background="red";h.style.top=e.y+"px";h.style.left=e.x+"px";document.body.appendChild(h)}}};this.Session=function(c){this.parent=
c;this.id=null;this.get=function(a){a||(a=false);this.parent.user.loggedPageView=true;var b=this._getOS();this.parent.makeApiCall("session.get","reset="+(a?"1":"0")+"&screenHeight="+window.screen.height+"&screenWidth="+window.screen.width+"&userAgent="+escape(navigator.userAgent)+"&os="+escape(b),"viralogy.session.get_complete")};this.updateStats=function(){var a=this._getOS();this.parent.makeApiCall("session.updateStats","screenHeight="+window.screen.height+"&screenWidth="+window.screen.width+"&userAgent="+
escape(navigator.userAgent)+"&os="+escape(a))};this._getOS=function(){var a="Unknown OS";if(navigator.userAgent.indexOf("Windows NT 5.1")!=-1)a="Windows XP";else if(navigator.userAgent.indexOf("Windows NT 6.0")!=-1)a="Windows Vista";else if(navigator.userAgent.indexOf("Win")!=-1)a="Windows";else if(navigator.userAgent.indexOf("iPhone")!=-1)a="iPhone";else if(navigator.userAgent.indexOf("PPC Mac OS X")!=-1)a="OS X PPC";else if(navigator.userAgent.indexOf("Intel Mac OS X")!=-1)a="OS X Intel";else if(navigator.userAgent.indexOf("Mac")!=
-1)a="OS X";else if(navigator.userAgent.indexOf("Linux")!=-1)a="Linux";else if(navigator.userAgent.indexOf("X11")!=-1)a="UNIX";return a};this.get_complete=function(a){if(a=this.parent.parseResponse(a)){this.id=a.sessionId;this.parent.onSessionReady()}}};this.Pixel=function(c){this.parent=c;this.swf=null;this.isReady=false;this.set=function(a,b){this.isReady&&this.getSwf().setCookie(a,b)};this.get=function(){if(this.isReady){var a=this.getSwf().getCookie("vdi_session_id");if(a!="undefined"&&a!=null&&
a!="")return a;return null}};this.getSwf=function(){return this.parent.isIE?window[this.swf.id]:document[this.swf.id]};this.initialize=function(){var a=document.createElement("div");a.id="ViralogyPixelContainer";a.style.height=1;a.style.width=1;document.body.appendChild(a);this.swf=(new ViralogyDI.SWFObject).embed(1,1,"ViralogyPixel","ViralogyPixelContainer",null,true,"","",this.parent.protocol+"://www.viralogy.com/flash/ViralogyPixel.swf")};if(!this.parent.isIE&&!this.parent.isIPhone)document.body?
this.initialize():setTimeout("viralogy.pixel.initialize()",50);else setTimeout("viralogy.onPixelReady()",500)};this.Cookie=function(c){this.parent=c;this.set=function(a,b,d){var g="";if(d==null)d=525600;d=1E3*d*60;g=new Date;g.setTime(g.getTime()+d);g=";expires="+g.toUTCString();path_string=";path=/";document.cookie=a+"="+escape(b)+g+path_string};this.get=function(a){if(document.cookie.length>0){c_start=document.cookie.indexOf(a+"=");if(c_start!=-1){c_start=c_start+a.length+1;c_end=document.cookie.indexOf(";",
c_start);if(c_end==-1)c_end=document.cookie.length;a=unescape(document.cookie.substring(c_start,c_end));if(a!="undefined"&&a!=null&&a!="")return a}}return null}};this.initialize=function(){if(document.body){this.site=new this.Site(this);this.user=new this.User(this);this.session=new this.Session(this);this.utils=new ViralogyDI.Util(this);this.pixel=new this.Pixel(this);this.cookie=new this.Cookie(this);this.getSession();for(var c in this.plugins){var a=this.plugins[c];if(a.name=="siteLayout"){this.loadLayoutStyleMaskObject=
new ViralogyDI.HeaderRequest("style",null,"* {display:none}");this.site.getLayout();setTimeout("viralogy.loadLayoutStyleMaskObject.removeTag()",a.maxLayoutLoadWait)}else a.name=="searchSuggest"&&this.site.addSearchSuggestionsBox()}}else setTimeout("viralogy.initialize()",50)};this.onPixelReady=function(){if(this.pixel&&this.pixel.swf&&this.pixel.swf.getCookie){this.pixel.swf.style.position="absolute";this.pixel.swf.style.top="0px";this.pixel.swf.style.left="0px";this.pixel.isReady=true;if(this.session.id!=
null)this.pixel.set("vdi_session_id",this.session.id);else{var c=this.pixel.get("vdi_session_id");if(c!=null){this.session.id=c;this.cookie.set("vdi_session_id",c);this.onSessionReady()}else this.session.get()}}else this.session.id==null&&this.session.get()};this.getSession=function(){var c=this.cookie.get("vdi_session_id");if(c!=null){this.session.id=c;this.onSessionReady()}else setTimeout("viralogy.onPixelReady()",1500)};this.onSessionReady=function(){this.cookie.set("vdi_session_id",this.session.id);
this.pixel.set("vdi_session_id",this.session.id);if(!this.hasSession){this.hasSession=true;this.user.loggedPageView||this.user.logPageView();Math.random()*100>95&&this.session.updateStats();this.addEventListeners()}};this.makeApiCall=function(c,a,b){b||(b="viralogy.handleResponse");if(a==""||a==null)a="";a+="&jsCallback="+b;if(c!="session.get"&&this.session.id)a+="&sessionId="+this.session.id;if(a.indexOf("www=")==-1){b=encodeURI(window.location).substring(0,255);a+="&www="+b}if(a.indexOf("referrer=")==
-1){b=encodeURI(document.referrer).substring(0,255);a+="&referrer="+b}if(this.debug)a+="&debug=1";new ViralogyDI.HeaderRequest("script",this.apiUrl+c,a)};this.handleResponse=function(c){this.parseResponse(c)};this.parseResponse=function(c){if(!c)return false;c=eval(c);if(c.status!="ok"){this.debug&&alert("Error "+c.insights.error.code+": "+c.insights.error.message);c.method!="session.get"&&c.insights.error.code=="105"&&this.session.get();return false}return c.insights};this.refreshVML=function(){};
this.addEventListeners=function(){if(document.body){this.addMouseEventListeners();this.addScrollEventListeners();this.addLinkEventListeners()}else setTimeout("viralogy.addEventListeners()",100)};this.eventHandler=function(c,a){if(c=="linkClick")this.linkClickHandler(a);else if(c=="scroll")this.scrollHandler();else if(c=="mouseMove")this.mouseMoveHandler();else if(c=="linkMouseOver")this.linkMouseOverHandler(a);else c=="search"&&this.searchHandler(a)};this.eventListener=function(c,a,b,d){a=a();if(this.eventResults[b+
c])if(c=="change")if(this.utils.isArray(a))this.utils.arrayCompare(this.eventResults[b+c],a)!=0&&this.eventHandler(b,d);else this.eventResults[b+c]!=a&&this.eventHandler(b,d);this.eventResults[b+c]=a};this.addMouseEventListeners=function(){ViralogyDI.isIE||document.captureEvents(Event.MOUSEMOVE);document.onmousemove=function(){var c=document.onmousemove;return function(a){var b=true;if(c!=null)b=c(a);if(ViralogyDI.isIE){ViralogyDI.mouseX=event.clientX+document.body.scrollLeft;ViralogyDI.mouseY=event.clientY+
document.body.scrollTop}else{ViralogyDI.mouseX=a.pageX;ViralogyDI.mouseY=a.pageY}if(ViralogyDI.mouseX<0)ViralogyDI.mouseX=0;if(ViralogyDI.mouseY<0)ViralogyDI.mouseY=0;return b}}();setInterval("viralogy.eventListener('change',viralogy.getMouseXY,'mouseMove',null)",this.MouseEventCheckRate)};this.getMouseXY=function(){return[ViralogyDI.mouseX,ViralogyDI.mouseY]};this.mouseMoveHandler=function(){var c=this.getMouseXY();this.user.logMouseMove(c[0],c[1])};this.addLinkEventListeners=function(){if(!this.addLinkEventListeneresIsRunning){this.addLinkEventListeneresIsRunning=
true;var c=["a","input","iframe"];for(var a in c){var b=this.utils.getElementsByTagName(c[a]),d=b.length;if(!this.lastPotentialActionTagsSize)this.lastPotentialActionTagsSize=[];this.lastPotentialActionTagsSize[a]||(this.lastPotentialActionTagsSize[a]=0);for(var g=this.lastPotentialActionTagsSize[a];g<d;g++){var e=b[g];if(e.tagName=="DIV"||e.tagName=="LI"){if(e.onclick==null)continue}else if(e.tagName=="INPUT"){var h=e.type?e.type.toLowerCase():null;if(h!="submit"&&h!="button"&&h!="image"&&h!="hidden")continue}if(e.tagName==
"IFRAME")e.onmouseover=function(){var i=e.onmouseover;return function(){var j=true;viralogy.eventHandler("linkMouseOver",this);if(i!=null)j=i();return j}}();else e.onclick=function(){var i=e.onclick,j=false;if(i==null&&e.href&&e.href.toLowerCase().indexOf("javascript:")==0){j=true;i=function(){return true}}return function(n){viralogy.eventHandler("linkClick",this);if(this.tagName=="INPUT"){var k=this.innerHTML?this.innerHTML.toLowerCase():"",l=this.value?this.value.toLowerCase():"",m=this.title?this.title.toLowerCase():
"",o=this.alt?this.alt.toLowerCase():"";if(k.indexOf("search")!=-1||l.indexOf("search")!=-1||m.indexOf("search")!=-1||o.indexOf("search")!=-1||k.indexOf("go")!=-1||l.indexOf("go")!=-1||m.indexOf("go")!=-1||o.indexOf("go")!=-1||k.indexOf("find")!=-1||l.indexOf("find")!=-1||m.indexOf("find")!=-1||o.indexOf("find")!=-1)viralogy.eventHandler("search",this)}k=true;if(i!=null)k=i(n);if(ViralogyDI.isSafari&&this.href&&!j){if(this.target)window.open(this.href,this.target);else window.location=this.href;return false}else return k}}()}this.lastPotentialActionTagsSize[a]=
d}setTimeout("viralogy.addLinkEventListeners()",1E3);this.addLinkEventListeneresIsRunning=false}};this.linkClickHandler=function(c){var a="#",b="",d="internal link";if(c.href&&c.href.indexOf("#")==-1&&c.href.indexOf("http")!=-1)d="external link";else if(c.src)d="internal iframe";if(c.href&&c.href.indexOf("#")==-1&&c.href.indexOf("http")!=-1)a=c.href;else if(c.title)a=c.title.substring(0,255);else if(c.innerHTML)a=c.innerHTML.substring(0,255);else if(c.id)a=c.id;else if(c.name)a=c.name;if(c.value)b=
c.value.substring(0,255);else if(c.title)b=c.title.substring(0,255);else if(c.alt)b=c.alt.substring(0,255);else if(c.innerHTML)b=c.innerHTML.substring(0,255);else if(c.name)b=c.name;else if(c.id)b=c.id;c=this.getMouseXY();this.user.logClick(d,a,b,c[0],c[1])};this.searchHandler=function(c){var a=null;c=c.parentNode.childNodes;for(var b in c){var d=c[b];if(d.id&&d.id.toLowerCase()=="s"||d.name&&d.name.toLowerCase()=="s"||d.id&&d.id.toLowerCase()=="q"||d.name&&d.name.toLowerCase()=="q"||d.id&&d.id.toLowerCase()==
"query"||d.name&&d.name.toLowerCase()=="query"){a=d.value;break}}a&&this.user.logSearch(a)};this.linkMouseOverHandler=function(c){var a="linkMouseMove"+c.tagName+c.id+c.name;if(!this.timers[a]){this.timers[a]=true;var b=this.mouseX,d=this.mouseY;this.utils.sleep(500);this.utils.coordsAreClose([b,d],[this.mouseX,this.mouseY])&&this.linkClickHandler(c);this.utils.sleep(2E3);this.timers[a]=false}};this.addScrollEventListeners=function(){setInterval("viralogy.eventListener('change',viralogy.getScroll,'scroll',null)",
this.ScrollEventCheckRate)};this.getScroll=function(){var c=0,a=0;if(typeof window.pageYOffset=="number"){a=window.pageYOffset;c=window.pageXOffset}else if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){a=document.body.scrollTop;c=document.body.scrollLeft}else if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){a=document.documentElement.scrollTop;c=document.documentElement.scrollLeft}return[c,a]};this.scrollHandler=function(){var c=
this.getScroll();this.user.logScroll(c[0],c[1])};ViralogyDI.HeaderRequest=function(c,a,b){if(typeof ViralogyDI.HeaderRequest.headerObjectIdCounter=="undefined")ViralogyDI.HeaderRequest.headerObjectIdCounter=1;this.buildTag=function(){this.headerObject=document.createElement(this.tag);var d=null;if(this.tag=="script")d="text/javascript";else if(this.tag=="style")d="text/css";d!=null&&this.headerObject.setAttribute("type",d);this.fullUrl&&this.headerObject.setAttribute("src",this.fullUrl);if(this.content)if(ViralogyDI.isIE)this.headerObject.text=
this.content;else if(ViralogyDI.isSafari)this.headerObject.innerText=this.content;else this.headerObject.innerHTML=this.content;this.headerObject.setAttribute("id",this.headerObjectId)};this.removeTag=function(){this.headLoc.removeChild(this.headerObject)};this.addTag=function(){this.headLoc.appendChild(this.headerObject);viralogy.headerObjectsLoaded.push(this.headerObjectId)};this.headLoc=document.getElementsByTagName("head").item(0);this.headerObjectId="VDIHeaderObjectId"+ViralogyDI.HeaderRequest.headerObjectIdCounter++;
this.tag=c;if(a){this.baseUrl=a;this.params=b;this.encoder=new ViralogyDI.Base64;this.fullUrl=this.baseUrl+"/"+this.encoder.encode(this.params+"&noCacheIE="+(new Date).getTime()+"&headerObjectId="+this.headerObjectId)}else this.content=b;this.buildTag();this.addTag()};ViralogyDI.Base64=function(){this._keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";this.encode=function(c){var a="",b,d,g,e,h,i,j=0;for(c=this._utf8_encode(c);j<c.length;){b=c.charCodeAt(j++);d=c.charCodeAt(j++);
g=c.charCodeAt(j++);e=b>>2;b=(b&3)<<4|d>>4;h=(d&15)<<2|g>>6;i=g&63;if(isNaN(d))h=i=64;else if(isNaN(g))i=64;a=a+this._keyStr.charAt(e)+this._keyStr.charAt(b)+this._keyStr.charAt(h)+this._keyStr.charAt(i)}return a};this.decode=function(c){var a="",b,d,g,e,h,i=0;for(c=c.replace(/[^A-Za-z0-9\+\/\=]/g,"");i<c.length;){b=this._keyStr.indexOf(c.charAt(i++));d=this._keyStr.indexOf(c.charAt(i++));e=this._keyStr.indexOf(c.charAt(i++));h=this._keyStr.indexOf(c.charAt(i++));b=b<<2|d>>4;d=(d&15)<<4|e>>2;g=(e&
3)<<6|h;a+=String.fromCharCode(b);if(e!=64)a+=String.fromCharCode(d);if(h!=64)a+=String.fromCharCode(g)}return a=this._utf8_decode(a)};this._utf8_encode=function(c){c=c.replace(/\r\n/g,"\n");for(var a="",b=0;b<c.length;b++){var d=c.charCodeAt(b);if(d<128)a+=String.fromCharCode(d);else{if(d>127&&d<2048)a+=String.fromCharCode(d>>6|192);else{a+=String.fromCharCode(d>>12|224);a+=String.fromCharCode(d>>6&63|128)}a+=String.fromCharCode(d&63|128)}}return a};this._utf8_decode=function(c){for(var a="",b=0,
d=c1=c2=0;b<c.length;){d=c.charCodeAt(b);if(d<128){a+=String.fromCharCode(d);b++}else if(d>191&&d<224){c2=c.charCodeAt(b+1);a+=String.fromCharCode((d&31)<<6|c2&63);b+=2}else{c2=c.charCodeAt(b+1);c3=c.charCodeAt(b+2);a+=String.fromCharCode((d&15)<<12|(c2&63)<<6|c3&63);b+=3}}return a}};ViralogyDI.SWFObject=function(){this.embed=function(c,a,b,d,g,e,h,i,j){c=this.getFlashString(c,a,b,g,e,h,i,j);d=document.getElementById(d);return this.swf=this.insertFlash(c,d)};this.getFlashString=function(c,a,b,d,g,
e,h,i){var j=window.location.protocol;if(j.charAt(j.length-1)==":")j=j.substring(0,j.length-1);return'<object\n classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"\n codebase="'+j+'://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"\n width="'+c+'"\n height="'+a+'"\n id="'+b+'_object"\n name="'+b+'"\n style="'+e+'"\n class="'+h+'"\n >\n <param name="allowScriptAccess" value="always"></param>\n <param name="movie" value="'+i+'"></param>\n <param name="quality" value="high"></param>\n <param name="FlashVars" value=""></param>\n '+
(d?'<param name="bgcolor" value="'+d+'"></param>\n ':"")+(g?'<param name="wmode" value="transparent"></param>\n ':"")+'<embed src="'+i+'" quality="high" '+(d?'bgcolor="'+d+'" \n':"")+(g?'wmode="transparent" \n':"")+'width="'+c+'" height="'+a+'" id="'+b+'_embed" name="'+b+'" swLiveConnect="true" allowScriptAccess="always" type="application/x-shockwave-flash" FlashVars="" pluginspage="'+j+'://www.macromedia.com/go/getflashplayer" style="'+e+'"\n class="'+h+'"\n  /></object>'};this.insertFlash=function(c,
a){var b;if(document.all&&!navigator.userAgent.indexOf("Opera")>=0)a.outerHTML=c;else{var d=document.createElement("div");d.innerHTML=c;b=d.childNodes[0];d.removeChild(b);for(c=0;c<b.childNodes.length;c++){d=b.childNodes[c];if(d.nodeName.toUpperCase()=="EMBED"){b=d;break}}a.parentNode.replaceChild(b,a)}return b}};ViralogyDI.Util=function(c){this.parent=c;this.sleep=function(a){for(var b=(new Date).getTime(),d=b;d-b<a;)d=(new Date).getTime()};this.coordsAreClose=function(a,b){if(Math.abs(a[0]-b[0])<
50)if(Math.abs(a[1]-b[1])<50)return true;return false};this.getElementsByTagName=function(a){var b=[];a=document.getElementsByTagName(a);for(var d=0;d<a.length;d++)b.push(a[d]);return b};this.isArray=function(a){return a.constructor==Array};this.arrayCompare=function(a,b){for(var d=0,g=0;g<a.length;g++)if(g>=b.length)d++;else a[g]!=b[g]&&d++;d+=b.length-a.length;return d};this.makeArray=function(a){if(typeof a!="undefined"&&typeof a.length=="undefined")return[a];return a};this.makeObject=function(a){for(var b=
{},d=0;d<a.length;d++)b[a[d]]="";return b};this.getElementInfo=function(a){var b={};b.width=a.offsetWidth;b.height=a.offsetHeight;if(typeof a.parentNode!="undefined"){for(var d=0,g=0;a;a=a.parentNode){d+=a.offsetLeft;g+=a.offsetTop}b.x=d;b.y=g}else{b.x=a.x;b.y=a.y}return b};this.insertAfter=function(a,b){a.parentNode.insertBefore(b,a.nextSibling)}};ViralogyDI.FontDetector=function(){var c=document.getElementsByTagName("BODY")[0],a=document.createElement("DIV"),b=document.createElement("SPAN");a.appendChild(b);
a.style.fontFamily="sans";b.style.fontFamily="sans";b.style.fontSize="72px";b.innerHTML="mmmmmmmmmmlil";c.appendChild(a);var d=b.offsetWidth,g=b.offsetHeight;c.removeChild(a);this.detailedTest=function(e){c.appendChild(a);var h=[];h[0]=b.style.fontFamily=e;h[1]=b.offsetWidth;h[2]=b.offsetHeight;c.removeChild(a);e=e.toLowerCase();h[3]=e=="serif"?true:h[1]!=d||h[2]!=g;return h};this.test=function(e){f=this.detailedTest(e);return f[3]};this.getAvailableFontsMap=function(){var e="",h=new Array("cursive",
"monospace","serif","sans-serif","fantasy","default","Arial","Arial Black","Arial Narrow","Arial Rounded MT Bold","Bookman Old Style","Bradley Hand ITC","Century","Century Gothic","Comic Sans MS","Courier","Courier New","Georgia","Gentium","Impact","King","Lucida Console","Lalit","Modena","Monotype Corsiva","Papyrus","Tahoma","TeX","Times","Times New Roman","Trebuchet MS","Verdana","Verona");for(var i in h){var j=h[i];e+=j+"="+this.test(j)+"&"}return e}};ViralogyDI.PluginDetector=function(){this.getAvailablePluginsMap=
function(){for(var c="",a=0;a<navigator.plugins.length;a++)c+=navigator.plugins[a].name+"="+navigator.plugins[a].filename+"&";return c}}}}function Viralogy_Tracker(){}if(!viralogy)var viralogy=new ViralogyDI;

