/* FILE ARCHIVED ON 9:58:12 Sep 15, 2012 AND RETRIEVED FROM THE AN OPENWAYBACK INSTANCE ON 11:52:36 Jul 13, 2024. JAVASCRIPT APPENDED BY OPENWAYBACK, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ if (typeof robotreplay == "undefined") { robotreplay={version:9.7,more_info:"https://webarchive.library.unt.edu/web/20120915095812/http://www.robotreplay.com",copyright:"(c) Foresee Results Inc., 2006-2010",patent_notice:"Patents Pending.",corporate_url:"https://webarchive.library.unt.edu/web/20120915095812/http://www.foreseeresults.com",replay_js_file:"foresee-replay.js",playback_server:"https://webarchive.library.unt.edu/web/20120915095812/http://replayportal.foreseeresults.com/replay/",playback_css:"https://webarchive.library.unt.edu/web/20120915095812/http://replayportal.foreseeresults.com/stylesheets/playback/robotreplay.playback.css",images:"/images/",js_build_date:"Fri Jan 08 11:27:13 -0500 2010",is_debug_build:false,swf_url:"https://webarchive.library.unt.edu/web/20120915095812/http://replay.foreseeresults.com/transport.swf",secure_swf_url:"https://webarchive.library.unt.edu/web/20120915095812/https://replay.foreseeresults.com/transport.swf",domain_blacklist:["staging.defenselink","preview.defenselink"],domains:{'defenselink.mil':'defenselink.mil'},rTimHBTime:15000,hiddenFieldClassName:"fsrHidden",visibleFieldClassName:"fsrVisible",hiddenBlockOpenTag:"fsrHiddenBlockStart",hiddenBlockCloseTag:"fsrHiddenBlockEnd",flashMajorVersion:9,omitTagList:''};robotreplay.href=window.location.href;robotreplay.location={};for(var p in window.location){if(typeof(window.location[p])=='string'){robotreplay.location[p]=window.location[p]}}robotreplay.location.toString=function(){return this.href};robotreplay.String={inverseArraySearch:function(a,b){for(var i=0;i'}}else switch(b.nodeName){case'TEXTAREA':for(var a=0;a';c+=d;c+='<\/'+b.nodeName+'>';break}break;case Node.TEXT_NODE:c+=b.nodeValue;break;case Node.COMMENT_NODE:c+='';break}return c}},specialElements:{TEXTAREA:true},emptyElements:{HR:true,BR:true,IMG:true,INPUT:true}};robotreplay.Math={distance:function(a,b){if(a.x)return Math.sqrt(Math.pow(b.y-a.y,2)+Math.pow(b.x-a.x,2));else return Math.sqrt(Math.pow(b[0]-a[0],2)+Math.pow(b[1]-a[1],2))}};robotreplay.close=function(a,b,c){if(null==c){return function(){return b.apply(a,arguments)}}else{return function(){return b.apply(a,c)}}};robotreplay.sync=function(a,b,c){var i=b.length;var f=function(){i--;if(!i){a.call(c)}};for(var i=0;i").replace(/\#\&lt\;\#/g,"<").replace(/\#\&gt\;\#/g,">").replace(/\/\*EQ\*\//g,"=").replace(/\#\Q\#/g,"\"").replace(/\#\&\;\#/g,"&");s=s.replace(/eventArgs/g,'arguments[0]');a=robotreplay.close(b,function(){eval(s)})};if(typeof b=="object"&&a instanceof Function){d=robotreplay.close(b,a)};c=c||d.observer_guid||a.observer_guid||this.guid++;d.observer_guid=c;a.observer_guid=c;this.handlers[c]=d;return c};robotreplay.Subject.prototype.subscribeOnce=function(a,b){if(!a){return}var c=null;var d=this;var e=function(){a.apply(b||null,arguments);d.unSubscribe(c)};c=this.subscribe(e);return c};robotreplay.Subject.prototype.unSubscribe=function(a){if(a instanceof Function){a=a.observer_guid}this.handlers[a]=null;delete this.handlers[a]};robotreplay.Subject.prototype.notify=function(a){if(this.enabled){var b=arguments;if(b.length==0){b=new Array();b[0]=new robotreplay.EventArgs(null,this);b[0].event=this;b[0].source=null}else if(typeof(b[0].event)!="undefined"&&b[0].event==null){b[0].event=this}var c=false;for(var d in this.handlers){var e=this.handlers[d];if(e instanceof Function){var f=(e.apply(this,b)==false);c=c||f}}return!c}this.notified=true;return true};robotreplay.Subject.prototype.dispose=function(){for(var a in this.handlers){this.handlers[a]=null};this.handlers={}};robotreplay.Subject.prototype.setEnabled=function(a){this.enabled=a};robotreplay.Subject.prototype.isEnabled=function(){return this.enabled};robotreplay.onFlashReady=new robotreplay.Subject();robotreplay.ResponseEventArgs=function(a,b,c){this.source=a;this.subject=b;this.message=c||{}};robotreplay.ScriptTransport=function(a){this.targetUrl="";this.onResponse=new robotreplay.Subject();this.type='script'};robotreplay.ScriptTransport.inTransit={};robotreplay.ScriptTransport.prototype.send=function(a,b){if(!a.debug){a.debug=""};var c=this.targetUrl||robotreplay.User.rec_servers.script;this.data=a.data;delete a.data;var d=this.formatQuery(a);c+="?act="+b+"&"+d;this.marshalRequests(this.data,c)};robotreplay.ScriptTransport.prototype.marshalRequests=function(a,b){var c=robotreplay.Browser.browser;var d=0;var e=50;var f=encodeURIComponent(a);do{d+=1;var g=f;if((f.length+b.length+e)>=c.maxurllength){for(var i=f.length-1;i>21;i-=20){g=f.substr(0,i);if((g.length+b.length+e)<=c.maxurllength){break}}g=g.substr(0,g.lastIndexOf("~"))}f=f.substr(g.length);this._send(g,b,d)}while(f.length>0&&g.length>0)};robotreplay.ScriptTransport.prototype._send=function(a,b,c){var d=robotreplay.MD5.hash(a,1);b+="&id="+d+"&client_timestamp="+new Date().valueOf();this.id=d;var e=this;robotreplay.ScriptTransport.inTransit[d]={handleResponse:function(){e.handleResponse(d)}};if(document.getElementById(d)!=null){}var f=document.getElementsByTagName("body")[0];var g=document.createElement("script");g.type="text/javascript";g.id=d;g.setAttribute("src",b+"&data="+a+"&request_id="+c);if(a&&a.length>0){f.appendChild(g)}else{g=null}};robotreplay.ScriptTransport.prototype.formatQuery=function(a){var b="";for(var c in a){if(c!="client_timestamp"&&c!="request_id"){var d=a[c];if(c=="url"){d=encodeURIComponent(d)}b+=c+"="+d+"&"}}b=b.replace(/&$/,"");return b};robotreplay.ScriptTransport.prototype.handleResponse=function(a){var b=document.getElementById(a);b.parentNode.removeChild(b);delete robotreplay.ScriptTransport.inTransit[a];this.onResponse.notify(new robotreplay.ResponseEventArgs(this,this.onResponse,a))};robotreplay.FlashTransport=function(a){this.id=a||"_r"+Math.round(Math.random()*10000);this.targetUrl="";this.onResponse=new robotreplay.Subject();this.type='flash'};robotreplay.FlashTransport.inTransit={};robotreplay.FlashTransport.transitTimes={};robotreplay.FlashTransport.prototype.send=function(a,b){var r=robotreplay;if(!a.debug){a.debug=""};var c=this.targetUrl||r.User.rec_servers.amf;var d=r.Swf.getMovie();this.data=a.data;r.FlashTransport.inTransit[this.id]=this;r.FlashTransport.transitTimes[this.id]=new Date();if(d){switch(b){case"Rec2.event":d.sendEventData(a.data,c,this.id,b,a.client_timestamp,a.version,a.url,a.session_id,a.request_id,a.retries);break;case"Rec2.session":d.sendSessionData(c,this.id,b,a.client_timezone,a.version,a.session_id,a.group_session_id,a.user_id,a.user_domain,a.browser,a.start_time,a.metadata);break;case"Rec2.dom":d.sendDomData(a.html,c,this.id,b,a.hash,a.client_timestamp,a.url,a.url_md5,a.version,a.session_id);break}}};robotreplay.FlashTransport.prototype.handleResponse=function(a){var r=robotreplay;delete r.FlashTransport.inTransit[this.id];try{r.DLog.append("flaresp0","got resp after "+((new Date())-r.FlashTransport.transitTimes[this.id]))}catch(erd){}var e=r.JSON.parse(a);try{r.DLog.append("flaresp1",a)}catch(er){r.DLog.append("flaresp2","unknown: "+er)}this.onResponse.notify(new r.ResponseEventArgs(this,this.onResponse,e))};robotreplay.Cookies={SESSIONGROUPID:"rr_group_id",SESSIONID:"rr_session_id",DOMAINKEY:"rr_domain",VERSIONKEY:"rr_version",ISRESP:"rr_is_respondent",RECCANCELLED:"reccancelled",namespace:'foresee.analytics',cookiesOn:function(){this.setCookie("rr_ctest","123",5000);if(this.getCookie("rr_ctest")=="123"){this.delCookie("rr_ctest");return true}else return false},setCookie:function(a,b,c,d,e){robotreplay.Cookies.delCookie(a);d=d||"/";e=(e=="localhost"?"":e);if(!c)c=3600000;var f=new Date((new Date()).getTime()+(c));var g=a+"="+b+((c&&c!=-1)?"; expires="+f.toGMTString():"")+((d)?"; path="+d:"")+((e)?"; domain="+e:"");document.cookie=g},setNSCookie:function(a,b,d,e,f,g){var c=this.getJSONCookie(g);c[a]=b;if(b==""||b==null){delete c[a]}this.setCookie(g||this.namespace,escape(robotreplay.JSON.stringify(c)),d,e,f)},getCookie:function(a,b){if(!a)a="";var c=document.cookie.indexOf(a+"=");var d=c+a.length+1;if((!c)&&(a!=document.cookie.substring(0,a.length))){return null}if(c==-1)return null;var e=document.cookie.indexOf(";",d);if(e==-1)e=document.cookie.length;if(!b)return decodeURIComponent(document.cookie.substring(d,e));else return document.cookie.substring(d,e)},getNSCookie:function(a,b){var o=this.getJSONCookie(b);if(typeof o[a]!="undefined"){return o[a]}else{return""}},getJSONCookie:function(a){var c=this.getCookie(a||this.namespace);if(c!=null&&c!=""){return robotreplay.JSON.parse(unescape(c))}else{return{}}},delCookie:function(a,b,c){var d=new Date();d.setTime(d.getTime()+(-1*24*60*60*1000));var e="; expires="+d.toGMTString();document.cookie=a+"="+e+"; path=/"}};robotreplay.Swf={wasAlive:false,so:{},swfObjectID:"rr_swfContainer",swfSize:{w:5,h:5},addTransportSwf:function(){if(!robotreplay.rps){var r=robotreplay,rs=robotreplay.Swf;var a=document.createElement('div');var s=a.style;s.position="absolute";s.top="1px";s.left="1px";s.width=(rs.swfSize.w+1)+"px";s.height=(rs.swfSize.h+1)+"px";s.padding="0px";s.margin="0px";s.display="block";s.visibility="visible";a.id=rs.swfObjectID;document.body.appendChild(a);var b=new rs.so.SWFObject((window.location.protocol==="https:"?r.secure_swf_url:r.swf_url),rs.swfObjectID+"m",rs.swfSize.w,rs.swfSize.h,r.flashMajorVersion+".0.0","");b.addParam("quality","high");b.addParam("wmode","transparent");b.addParam("allowScriptAccess","always");b.write(rs.swfObjectID);rs.repositionMovie()}},movieCache:null,getMovie:function(){var a=robotreplay.Swf;if(!a.movieCache)a.movieCache=document.getElementById(robotreplay.Swf.swfObjectID+"m");return a.movieCache},isAlive:function(){var a=false;var b=this.getMovie();try{this.wasAlive=a=new Boolean(b.isAlive())}catch(e){a=false}return a},repositionMovie:function(){try{var a=robotreplay.Geometry.getScrollPosition();var b=this.getMovie();b.style.left=(a.scrollLeft+1)+"px";b.style.top=(a.scrollTop+1)+"px"}catch(e){}},iiCache:false,isInstalled:function(){if(this.iiCache==false){var v=robotreplay.Swf.so.SWFObjectUtil.getPlayerVersion();this.iiCache=((v.major!=0||v.minor!=0||v.rev!=0)&&v.major>=robotreplay.flashMajorVersion);return this.iiCache}return this.iiCache}};if(typeof robotreplay.Swf.so.util=="undefined"){robotreplay.Swf.so.util=new Object()}if(typeof robotreplay.Swf.so.SWFObjectUtil=="undefined"){robotreplay.Swf.so.SWFObjectUtil=new Object()}robotreplay.Swf.so.SWFObject=function(a,b,w,h,d,c,e,f,g,i){if(!document.getElementById){return}this.DETECT_KEY=i?i:"detectflash";this.skipDetect=robotreplay.Swf.so.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(a){this.setAttribute("swf",a)}if(b){this.setAttribute("id",b)}if(w){this.setAttribute("width",w)}if(h){this.setAttribute("height",h)}if(d){this.setAttribute("version",new robotreplay.Swf.so.PlayerVersion(d.toString().split(".")))}this.installedVer=robotreplay.Swf.so.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){robotreplay.Swf.so.SWFObject.doPrepUnload=true}if(c){this.addParam("bgcolor",c)}var q=e?e:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var j=(f)?f:window.location;this.setAttribute("xiRedirectUrl",j);this.setAttribute("redirectUrl","");if(g){this.setAttribute("redirectUrl",g)}};robotreplay.Swf.so.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(a,b){this.params[a]=b},getParams:function(){return this.params},addVariable:function(a,b){this.variables[a]=b},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var a=new Array();var b;var c=this.getVariables();for(b in c){a.push(b+"="+c[b])}return a},getSWFHTML:function(){var a="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}a="0){a+="flashvars=\""+d+"\""}a+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}a="";a+="";var e=this.getParams();for(var c in e){a+=""}var f=this.getVariablePairs().join("&");if(f.length>0){a+=""}a+=""}return a},write:function(a){if(this.getAttribute("useExpressInstall")){var b=new robotreplay.Swf.so.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(b)&&!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 a=="string")?document.getElementById(a):a;n.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};robotreplay.Swf.so.SWFObjectUtil.getPlayerVersion=function(){var a=new robotreplay.Swf.so.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){a=new robotreplay.Swf.so.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a=new robotreplay.Swf.so.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(e){if(a.major==6){return a}}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}if(b!=null){a=new robotreplay.Swf.so.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}}return a};robotreplay.Swf.so.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};robotreplay.Swf.so.PlayerVersion.prototype.versionIsValid=function(a){if(this.majora.major){return true}if(this.minora.minor){return true}if(this.rev0;i--){a[i].style.display="none";for(var x in a[i]){if(typeof a[i][x]=="function"){a[i][x]=function(){}}}}};if(robotreplay.Swf.so.SWFObject.doPrepUnload){robotreplay.Swf.so.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",robotreplay.Swf.so.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",robotreplay.Swf.so.SWFObjectUtil.prepUnload)}if(Array.prototype.push==null){Array.prototype.push=function(a){this[this.length]=a;return this.length}};robotreplay.TransportFactory=function(){};robotreplay.TransportFactory.getTransport=function(a,b){var r=robotreplay,S=r.Swf;var o=null;if(S.isInstalled()&&robotreplay.Domready.didExecute==true){if(S.isAlive()){o=new r.FlashTransport(b);o.targetUrl=r.User.rec_servers.amf}else if(a){o=new r.ScriptTransport();o.targetUrl=r.User.rec_servers.script}if(o!=null&&r.Session.isPageSecure()&&o.targetUrl.indexOf('//localhost')<0){o.targetUrl=o.targetUrl.replace("http:","https:")}}return o};robotreplay.Dom={getCoords:function(a){var b=0;var c=0;var d=0;var f=0;try{var g=a;f=a.offsetWidth;d=a.offsetHeight;for(b=0,c=0;a!=null;b+=a.offsetLeft,c+=a.offsetTop,a=a.offsetParent){};for(;((g!=document.body)&&(g.documentElement==undefined));b-=g.scrollLeft,c-=g.scrollTop,g=g.parentNode){}}catch(e){b=0;c=0;d=0;f=0}return{x:b,y:c,height:d,width:f}},getiFrameCoords:function(a){var b={x:0,y:0};if(self!==top){var c=robotreplay.browser;if(c=="ie"){var d=a.ownerDocument.parentWindow.window.frameElement;while(d){var f=this.getCoords(d);b.x+=f.x;b.y+=f.y;d=d.ownerDocument.parentWindow.window.frameElement}}else{try{var d=(a.frameElement||a.ownerDocument.defaultView.frameElement)}catch(e){d=null}while(d){var f=this.getCoords(d);b.x+=f.x;b.y+=f.y;if(d.ownerDocument)d=d.ownerDocument.defaultView.frameElement;else d=null}}}return b},getAbsoluteCoords:function(a){var b=this.getCoords(a);var c=this.getiFrameCoords(a);b.y+=c.y;b.x+=c.x;return b},getiFrameReference:function(a){var b=robotreplay.browser;var c=a.id;if(b=="ie"){var d=a.ownerDocument.parentWindow.window.frameElement;while(d){c=d.id+";"+c;var d=d.ownerDocument.parentWindow.window.frameElement}}else{var d=a.ownerDocument.defaultView.frameElement;while(d){c=d.id+";"+c;var d=d.ownerDocument.defaultView.frameElement}}return c},getCaretInfo:function(a){var b=a.ownerDocument;var c={start:0,end:0,caret:0};if(robotreplay.browser=="ie"){if(a.tagName.toLowerCase()=="textarea"){if(a.value.charCodeAt(a.value.length-1)<14){a.value=a.value.replace(/34/g,'')+String.fromCharCode(28)}var d=b.selection.createRange();var e=d.duplicate();e.moveToElementText(a);e.setEndPoint('StartToEnd',d);c.end=a.value.length-e.text.length;e.setEndPoint('StartToStart',d);c.start=a.value.length-e.text.length;c.caret=c.end;if(a.value.substr(a.value.length-1)==String.fromCharCode(28)){a.value=a.value.substr(0,a.value.length-1)}var f=(a.value.substr(0,c.start).split('\n').length)-1;var g=(a.value.substr(0,c.caret).split('\n').length)-1;var h=(a.value.substr(0,c.end).split('\n').length)-1;c.caret-=g;c.start-=f;c.end-=h}else{var i=b.selection.createRange();var j=i.duplicate();c.start=0-j.moveStart('character',-100000);c.end=c.start+i.text.length;c.caret=c.end}}else{c.start=a.selectionStart;c.end=a.selectionEnd;c.caret=c.end}if(c.start<0){c={start:0,end:0,caret:0}}return c},setCaretPos:function(a,b){if(a.setSelectionRange){a.focus();a.setSelectionRange(b,b)}else if(a.createTextRange){var c=a.createTextRange();c.collapse(true);c.moveEnd('character',b);c.moveStart('character',b);c.select()}},objectsSame:function(a,b){var c=true;for(var i in a){if(!b[i]){if(a[i])c=false}else if(b[i]!=a[i])c=false}return c},getMulti:function(a){selected=new Array();for(var i=0;i0&&i.indexOf('strict')>0){a=b+c}else if(i.indexOf('html40')>0&&i.indexOf('loose')>0){a=b+f}else if(i.indexOf('html4')>0&&i.indexOf('loose')>0){a=b+d}else if(i.indexOf('xhtml1')>0&&i.indexOf('strict')>0){a=b+g}else if(i.indexOf('xhtml1')>0&&i.indexOf('transitional')>0){a=b+h}else if(i.indexOf('xhtml11.dtd')>0){a=b+x}}catch(e){a=""}return a},getStyle:function(c,d){var e="";if(document.defaultView&&document.defaultView.getComputedStyle){e=document.defaultView.getComputedStyle(c,"").getPropertyValue(d)}else if(c.currentStyle){d=d.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()});e=c.currentStyle[d]}return e}};robotreplay.Dom.query=function(){var o={},simpleCache={},valueCache={};var u=/\S/;var w=/^\s+|\s+$/g;var y=/\{(\d+)\}/g;var z=/^(\s?[\/>+~]\s?|\s|$)/;var A=/^(#)?([\w-\*]+)/;var B=/(\d*)n\+?(\d*)/,nthRe2=/\D/;function child(p,a){var i=0;var n=p.firstChild;while(n){if(n.nodeType==1){if(++i==a){return n}}n=n.nextSibling}return null};function next(n){while((n=n.nextSibling)&&n.nodeType!=1);return n};function prev(n){while((n=n.previousSibling)&&n.nodeType!=1);return n};function children(d){var n=d.firstChild,ni=-1;while(n){var a=n.nextSibling;if(n.nodeType==3&&!u.test(n.nodeValue)){d.removeChild(n)}else{n.nodeIndex=++ni}n=a}return this};function byClassName(c,a,v){if(!v){return c}var r=[],ri=-1,cn;for(var i=0,ci;ci=c[i];i++){if((' '+ci.className+' ').indexOf(v)!=-1){r[++ri]=ci}}return r};function attrValue(n,a){if(!n.tagName&&typeof n.length!="undefined"){n=n[0]}if(!n){return null}if(a=="for"){return n.htmlFor}if(a=="class"||a=="className"){return n.className}return n.getAttribute(a)||n[a]};function getNodes(a,b,c){var d=[],ri=-1,cs;if(!a){return d}c=c||"*";if(typeof a.getElementsByTagName!="undefined"){a=[a]}if(!b){for(var i=0,ni;ni=a[i];i++){cs=ni.getElementsByTagName(c);for(var j=0,ci;ci=cs[j];j++){d[++ri]=ci}}}else if(b=="/"||b==">"){var e=c.toUpperCase();for(var i=0,ni,cn;ni=a[i];i++){cn=ni.children||ni.childNodes;for(var j=0,cj;cj=cn[j];j++){if(cj.nodeName==e||cj.nodeName==c||c=='*'){d[++ri]=cj}}}}else if(b=="+"){var e=c.toUpperCase();for(var i=0,n;n=a[i];i++){while((n=n.nextSibling)&&n.nodeType!=1);if(n&&(n.nodeName==e||n.nodeName==c||c=='*')){d[++ri]=n}}}else if(b=="~"){for(var i=0,n;n=a[i];i++){while((n=n.nextSibling)&&(n.nodeType!=1||(c=='*'||n.tagName.toLowerCase()!=c)));if(n){d[++ri]=n}}}return d};function concat(a,b){if(b.slice){return a.concat(b)}for(var i=0,l=b.length;i1){return nodup(f)}return f}catch(e){return[]}},selectNode:function(a,b){return robotreplay.Dom.query.select(a,b)[0]},selectValue:function(a,b,c){a=a.replace(w,"");if(!valueCache[a]){valueCache[a]=robotreplay.Dom.query.compile(a,"select")}var n=valueCache[a](b);n=n[0]?n[0]:n;var v=(n&&n.firstChild?n.firstChild.nodeValue:null);return((v===null||v===undefined||v==='')?c:v)},selectNumber:function(a,b,c){var v=robotreplay.Dom.query.selectValue(a,b,c||0);return parseFloat(v)},is:function(a,b){if(typeof a=="string"){a=document.getElementById(a)}var c=(a instanceof Array);var d=robotreplay.Dom.query.filter(c?a:[a],b);return c?(d.length==a.length):(d.length>0)},filter:function(a,b,c){b=b.replace(w,"");if(!simpleCache[b]){simpleCache[b]=robotreplay.Dom.query.compile(b,"simple")}var d=simpleCache[b](a);return c?quickDiff(d,a):d},matchers:[{re:/^\.([\w-]+)/,select:'n = byClassName(n, null, " {1} ");'},{re:/^\:([\w-]+)(?:\(((?:[^\s>\/]*|.*?))\))?/,select:'n = byPseudo(n, "{1}", "{2}");'},{re:/^(?:([\[\{])(?:@)?([\w-]+)\s?(?:(=|.=)\s?['"]?(.*?)["']?)?[\]\}])/,select:'n = byAttribute(n, "{2}", "{4}", "{3}", "{1}");'},{re:/^#([\w-]+)/,select:'n = byId(n, null, "{1}");'},{re:/^@([\w-]+)/,select:'return {firstChild:{nodeValue:attrValue(n, "{1}")}};'}],operators:{"=":function(a,v){return a==v},"!=":function(a,v){return a!=v},"^=":function(a,v){return a&&a.substr(0,v.length)==v},"$=":function(a,v){return a&&a.substr(a.length-v.length)==v},"*=":function(a,v){return a&&a.indexOf(v)!==-1},"%=":function(a,v){return(a%v)==0},"|=":function(a,v){return a&&(a==v||a.substr(0,v.length+1)==v+'-')},"~=":function(a,v){return a&&(' '+a+' ').indexOf(' '+v+' ')!=-1}},pseudos:{"first-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.previousSibling)&&n.nodeType!=1);if(!n){r[++ri]=ci}}return r},"last-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.nextSibling)&&n.nodeType!=1);if(!n){r[++ri]=ci}}return r},"nth-child":function(c,a){var r=[],ri=-1;var m=B.exec(a=="even"&&"2n"||a=="odd"&&"2n+1"||!nthRe2.test(a)&&"n+"+a||a);var f=(m[1]||1)-0,l=m[2]-0;for(var i=0,n;n=c[i];i++){var b=n.parentNode;if(batch!=b._batch){var j=0;for(var d=b.firstChild;d;d=d.nextSibling){if(d.nodeType==1){d.nodeIndex=++j}}b._batch=batch}if(f==1){if(l==0||n.nodeIndex==l){r[++ri]=n}}else if((n.nodeIndex+l)%f==0){r[++ri]=n}}return r},"only-child":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(!prev(ci)&&!next(ci)){r[++ri]=ci}}return r},"empty":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var a=ci.childNodes,j=0,cn,empty=true;while(cn=a[j]){++j;if(cn.nodeType==1||cn.nodeType==3){empty=false;break}}if(empty){r[++ri]=ci}}return r},"contains":function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if((ci.textContent||ci.innerText||'').indexOf(v)!=-1){r[++ri]=ci}}return r},"nodeValue":function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.firstChild&&ci.firstChild.nodeValue==v){r[++ri]=ci}}return r},"checked":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.checked==true){r[++ri]=ci}}return r},"not":function(c,a){return robotreplay.Dom.query.filter(c,a,true)},"odd":function(c){return this["nth-child"](c,"odd")},"even":function(c){return this["nth-child"](c,"even")},"nth":function(c,a){return c[a-1]||[]},"first":function(c){return c[0]||[]},"last":function(c){return c[c.length-1]||[]},"has":function(c,a){var s=robotreplay.Dom.query.select;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(s(a,ci).length>0){r[++ri]=ci}}return r},"next":function(c,a){var b=robotreplay.Dom.query.is;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=next(ci);if(n&&b(n,a)){r[++ri]=ci}}return r},"prev":function(c,a){var b=robotreplay.Dom.query.is;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=prev(ci);if(n&&b(n,a)){r[++ri]=ci}}return r}}}}();robotreplay.Dom.query.idQuery=function(a,b){var c=document.getElementsByTagName(a);var d=[];for(var i=0;i-1)){var c=document.readyState;if(c=='loaded'||c=='complete'){b.didExecute=true;eval(b.onDomready);eval(robotreplay.Onload.onLoad);robotreplay.Onload.onLoad=""}else{setTimeout(b.setupEvent,50)}}else{document.addEventListener("DOMContentLoaded",function(){b.didExecute=true;eval(b.onDomready);b.onDomready=""},false)}}else{document.onreadystatechange=function(){b.readyState(a)}}if("\v"=="v"){b.IEContentLoaded(window,b.domReadyTimerCheck);window.attachEvent("onload",function(){eval(b.onDomready);robotreplay.Domready.didExecute=true;b.onDomready="";eval(robotreplay.Onload.onLoad);robotreplay.Onload.onLoad=""})}},readyState:function(b){var a=document.readyState;if(robotreplay.Domready.didExecute==false)if(a&&(a=="complete")){robotreplay.Domready.didExecute=true;eval(robotreplay.Domready.onDomready);robotreplay.Domready.onDomready=""}},attach:function(a){a='try { '+a+' } catch(e) {};';if(robotreplay.Domready.didExecute==true){eval(a)}else{robotreplay.Domready.onDomready+=a}},domReadyTimerCheck:function(){eval(robotreplay.Domready.onDomready);robotreplay.Domready.onDomready="";robotreplay.Domready.didExecute=true;return true},IEContentLoaded:function(w,a){var d=w.document,done=false,init=function(){if(!done){done=true;a()}};(function(){try{d.documentElement.doScroll('left')}catch(e){setTimeout(arguments.callee,50);return}init()})();d.onreadystatechange=function(){if(d.readyState=='complete'){d.onreadystatechange=null;init()}}}};robotreplay.Domready.setupEvent();robotreplay.DLog={log:"",storageObj:null,init:function(){if('\v'=='v'&&!this.storageObj){this.storageObj=document.createElement("div");this.storageObj.addBehavior("#default#userData");this.storageObj.style.display="none";document.body.appendChild(this.storageObj);this.storageObj.load("OfflineStorage");var a=this.storageObj.getAttribute("logdata");if(a){this.log=a+this.log}this.append("init","initializing debuglog");this.append("wname","Window.name length: "+window.name.length)}},append:function(a,b){if(this.log.length<127*1024){this.log+="\n["+(new Date()).toString()+"] "+a+": "+b;if(this.storageObj){this.storageObj.setAttribute("logdata",this.log);this.storageObj.save("OfflineStorage")}}},writeToDom:function(){this.init();if(this.storageObj){var a=document.createComment(this.log+"\n");document.body.appendChild(a)}}};robotreplay.Domready.attach("robotreplay.DLog.init();");robotreplay.DLog.append("url",window.location);robotreplay.DLog.append("ref",document.referrer);robotreplay.Onload={rewritten:false,reWriteOnload:function(){if(this.rewritten==false){this.rewritten=true;if(document.attachEvent){window.attachEvent("onload",function(){eval(robotreplay.Onload.onLoad);robotreplay.Onload.onLoad=""})}else{window.addEventListener("load",function(){eval(robotreplay.Onload.onLoad);robotreplay.Onload.onLoad=""},false)}}},onLoad:"",attach:function(a){robotreplay.Onload.onLoad+='try { '+a+' } catch(e) {};'},loadReadyTimerCheck:function(){eval(robotreplay.Onload.onLoad);robotreplay.Onload.onLoad="";return true}};robotreplay.Domready.attach("robotreplay.Onload.reWriteOnload();");robotreplay.Onunload={rewritten:false,reWriteOnUnload:function(){var a=robotreplay.Onunload;if(this.rewritten==false){this.rewritten=true;if(window.addEventListener){window.addEventListener("unload",function(){eval(a.onUnLoad)},true)}else{window.attachEvent("onunload",function(){eval(a.onUnLoad)})}}},onUnLoad:"",attach:function(a){robotreplay.Onunload.onUnLoad+=a}};robotreplay.Onunload.reWriteOnUnload();robotreplay.Session={rr_session_id:null,rr_group_session_id:null,m_domain:null,getSessionId:function(){return this.rr_session_id},initSessionId:function(){var r=robotreplay;var a=r.DLog;a.append("intsesh","initing session id");if(this.rr_session_id==null){var S=r.Storage;var C=r.Cookies;var b=S.read(S.SESSIONID,"");if(this.isSessionStale()){a.append("seshstale","sesh is stale");S.clearAll();S.write(S.DOMAINKEY,this.getDomain(),true);C.setNSCookie(C.DOMAINKEY,this.getDomain(),-1,'/',this.getDomain());S.write(S.VERSIONKEY,r.version,true);C.setNSCookie(C.VERSIONKEY,r.version,-1,'/',this.getDomain());b=((new Date())-0)+"_"+Math.round(Math.random()*10000);S.write(S.SESSIONID,b,true);r.is_new_session=true;S.write(S.NEWSESSIONKEY,"1",true);S.write(S.STARTTIME,new Date().valueOf(),true)}a.append("sid",b);this.rr_session_id=b}},getGroupSessionId:function(){return this.rr_group_session_id},initGroupSessionId:function(){var a=robotreplay.DLog;a.append("initgsesh","initing group sesh id");if(this.rr_group_session_id==null){var C=robotreplay.Cookies;var b=C.SESSIONGROUPID;var c=C.getNSCookie(b);if(!c||c==null||c==''){c=((new Date())-0)+"_"+Math.round(Math.random()*10000);C.setNSCookie(b,c,-1,'/',this.getDomain())}a.append("gid",c);this.rr_group_session_id=c}},isSessionStale:function(){var r=robotreplay;var S=r.Storage,C=r.Cookies,db=(r.is_debug_build&&!window.rr_test),h=window.location.href;if(S.read(S.SESSIONID,'')==''){if(db){r.DLog.append("seshinvalider","Session id invalid");alert('Session id invalid. '+h)}return true}var a=S.read(S.DOMAINKEY,''),odc=C.getNSCookie(C.DOMAINKEY),d=this.getDomain();if(a!=d&&r.domains[a]==null&&odc!=d&&r.domains[odc]==null){if(db){r.DLog.append("dchange","domain changed");alert('Domain ('+d+') changed from ('+a+'). '+h)}return true}var b=S.read(S.VERSIONKEY,''),ovc=C.getNSCookie(C.VERSIONKEY),v=robotreplay.version;if((v>b||b=='')&&(v>ovc||ovc=='')){if(db){r.DLog.append("jchange","js ver changed");alert('JS version ('+v+') changed from ('+b+'). '+h)}return true}return false},init:function(){var a=robotreplay.User;var b=robotreplay.Cookies;if(this.isRecording()){this.url=String(window.location).replace(/&/g,"(rram)");this.pageInitDateTime=new Date();this.pageLoadTime=0;robotreplay.Onload.attach("robotreplay.Session.pageLoadTime = (new Date())-robotreplay.Session.pageInitDateTime;");this.rec_server=rec_svr=a.rec_servers[Math.round(Math.random()*(a.rec_servers.length-1))];this.initSessionId();this.initGroupSessionId()}},isPageRecordable:function(){return window.rr_skipPage!==true},isPageSecure:function(){return(window.location.protocol==="https:")},getDomain:function(){if(this.m_domain==null){var a=window.location.hostname;if(a=='localhost'){this.m_domain=a;return this.m_domain}while(a.split('.').length>1){if(robotreplay.domains[a]!=null){this.m_domain=a;break}a=a.split('.').slice(1).join('.')}}return this.m_domain},getTimezone:function(){var a=((new Date().getTimezoneOffset())/60).toString().split(".");var b=(a[0]/Math.abs(a[0])==1)?"-":"+";var c=(Math.abs(a[0]).toString().length==1)?"0":"";var d=Math.abs(a[0])+":"+(a[1]?a[1]*6:"00");return b+c+d},checkCookies:function(){var r=robotreplay,C=r.Cookies,ac=r.stopRecordCookies||[];for(i=0;i0)return false}return true},isRecording:function(){var R=robotreplay;return(!R.Replay&&R.Swf.isInstalled()&&R.Session.getDomain()&&R.Cookies.cookiesOn()&&R.Session.checkCookies()&&window.rr_test!=true)}};robotreplay.Browser={init:function(){var a=robotreplay.Browser;a.xpath=!!(document.evaluate);if(window.ActiveXObject)a.ie=window[window.XMLHttpRequest?'ie7':'ie6']=true;else if(document.childNodes&&!document.all&&!navigator.taintEnabled)a.webkit=a[a.xpath?'webkit420':'webkit419']=true;else if(document.getBoxObjectFor!=null)a.gecko=true;a.khtml=a.webkit;this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.OS=this.searchString(this.dataOS)||"an unknown OS";this.isStandards=false;if(document.compatMode=="CSS1Compat"){this.isStandards=true}robotreplay.browser=this.browser.basetype;if(a.browser.basetype=="ie"&&a.version.maj>=8){a.ie8=true;a.ie7=null;a.ie6=null;a.ie=true;a.maxconnections=6}if(a.browser.basetype=="mozilla"&&a.version.maj<3){a.maxconnections=2}},searchString:function(a){for(var i=0;i-1)c=c.substr(0,c.indexOf(' '));if(c.indexOf(';')>-1)c=c.substr(0,c.indexOf(';'));var d=0;var e=0;if(c.indexOf('.')>-1){var f=c.split('.');d=parseInt(f[0]);e=parseInt(f[f.length-1])};if((a.indexOf('Safari')>-1)&&(d>100)&&(d<500))d=2;return{maj:d,min:e,fullstring:c}},dataBrowser:[{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:{name:"OmniWeb",basetype:"webkit",maxurllength:3900,maxconnections:2}},{string:navigator.vendor,subString:"Apple",versionSearch:"Version/",versionSearch2:"Safari/",identity:{name:"Safari",basetype:"webkit",maxurllength:3900,maxconnections:4}},{prop:window.opera,versionSearch:"Opera/",identity:{name:"Opera",basetype:"opera",maxurllength:3900,maxconnections:4}},{string:navigator.vendor,subString:"iCab",versionSearch:"iCab/",identity:{name:"iCab",basetype:"webkit",maxurllength:3900,maxconnections:2}},{string:navigator.vendor,subString:"Konqueror",versionSearch:"KHTML/",identity:{name:"Konqueror",basetype:"webkit",maxurllength:3900,maxconnections:4}},{string:navigator.userAgent,subString:"Firefox",versionSearch:"Firefox/",identity:{name:"Firefox",basetype:"mozilla",maxurllength:3900,maxconnections:6}},{string:navigator.vendor,subString:"Camino",versionSearch:"Camino/",identity:{name:"Camino",basetype:"mozilla",maxurllength:3900,maxconnections:2}},{string:navigator.userAgent,subString:"Navigator",versionSearch:"Navigator/",identity:{name:"Netscape",basetype:"mozilla",maxurllength:3900,maxconnections:2}},{string:navigator.userAgent,subString:"MSIE",identity:{name:"Explorer",basetype:"ie",maxurllength:1990,maxconnections:2},versionSearch:"MSIE "},{string:navigator.userAgent,subString:"Gecko",identity:{name:"Mozilla",basetype:"mozilla",maxurllength:3900,maxconnections:2},versionSearch:"rv"},{string:navigator.userAgent,subString:"Netscape",versionSearch:"Netscape/",identity:{name:"Netscape",basetype:"mozilla",maxurllength:3900,maxconnections:2}}],dataOS:[{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.platform,subString:"Linux",identity:"Linux"}]};robotreplay.Browser.init();robotreplay.Geometry={scrollbarWidth:0,scrollbarHeight:0,currentScrollPosition:{scrollLeft:0,scrollTop:0},getScrollPosition:function(){return this.currentScrollPosition},setScrollPosition:function(){var a=0;var b=0;var r=robotreplay,B=r.Browser;var c=document.body;var d=document.documentElement;if(B.isStandards==true){var e=r.browser;if(e=="ie"||e=="mozilla"||e=="opera"){a=d.scrollLeft;b=d.scrollTop}else if(e=="webkit"){a=c.scrollLeft;b=c.scrollTop}}else{if(c){a=c.scrollLeft;b=c.scrollTop}}if(c&&b==0&&c.scrollTop&&c.scrollTop>0){b=c.scrollTop;a=c.scrollLeft}this.currentScrollPosition={scrollLeft:a,scrollTop:b}},getWindowSize:function(){var a=false;var b=false;var c=0;var d=0;var e=0;var f=0;var g=robotreplay.Geometry;var h=g.getCompatElement();var i=robotreplay.browser;var j=g.getScrollbarSize();if(i=="webkit"||i=="opera"||i=="presto"){c=window.innerWidth;d=window.innerHeight;e=Math.max(h.scrollWidth,c);f=Math.max(h.scrollHeight,d);a=(e>c);b=(f>d);if(a==true){d-=j.scrollbarHeight}if(b==true){c-=j.scrollbarWidth}}else{c=h.clientWidth;d=h.clientHeight;e=Math.max(h.scrollWidth,c);f=Math.max(h.scrollHeight,d);a=(e>c);b=(f>d)}return{windowWidth:c,windowHeight:d,bodyWidth:e,bodyHeight:f,overflowX:a,overflowY:b}},getCompatElement:function(){return(!document.compatMode||document.compatMode=='CSS1Compat')?document.getElementsByTagName('html')[0]:document.body},getScrollbarSize:function(){var a=robotreplay.Geometry;if(a.scrollbarWidth==0){var b=document.createElement('div');var s=b.style;s.position='absolute';s.left='-1000px';s.top='-1000px';s.width='100px';s.height='100px';s.padding='0px';s.margin='0px';s.overflow='scroll';s.border='0px';var c=document.createElement('div');s=c.style;s.position='relative';s.border='0px';s.height='200px';s.padding='0px';s.margin='0px';b.appendChild(c);try{document.body.appendChild(b);a.scrollbarWidth=100-c.offsetWidth;a.scrollbarHeight=a.scrollbarWidth;document.body.removeChild(b)}catch(e){setTimeout(robotreplay.Geometry.getScrollbarSize,500)}}return{scrollbarWidth:a.scrollbarWidth,scrollbarHeight:a.scrollbarHeight}},init:function(){if(document.body)robotreplay.Geometry.getScrollbarSize();else setTimeout(robotreplay.Geometry.init,500)}};robotreplay.Domready.attach("robotreplay.Geometry.init();");robotreplay.Event={remove:function(a,b,c,d){if(!d)d=false;if(window.addEventListener){a.removeEventListener(b,c,d)}else if(window.attachEvent){a.detachEvent('on'+b,c)}},attachWindowEvent:function(a,b){if(robotreplay.browser=="ie"){if((a=="scroll")||(a=="resize")||(a=="load"))this.attach(window,a,b);else this.attach(document,a,b)}else this.attach(window,a,b)},removeWindowEvent:function(a,b){if(robotreplay.browser=="ie"){if((a=="scroll")||(a=="resize"))this.remove(window,a,b);else this.remove(document,a,b)}else this.remove(window,a,b)},preventDefault:function(a,v){if(a==null){return}if(a.stopPropagation)a.stopPropagation();else a.cancelBubble=true;if(robotreplay.browser=="ie"){a.returnValue=false}else{a.preventDefault()}if(v!=null){e.keyCode=v}}};if(window.addEventListener){robotreplay.Event.attach=function(a,b,c,d){if(!d)d=false;a.addEventListener(b,c,d)}}else if(window.attachEvent){robotreplay.Event.attach=function(a,b,c){a.attachEvent('on'+b,c)}}robotreplay.EventArgs=function(a,b){this.source=a;this.event=b};robotreplay.EventArgs.prototype.getSource=function(){return this.source};robotreplay.EventArgs.prototype.getEvent=function(){return this.event};robotreplay.JSON={};(function(){function f(n){return n<10?'0'+n:n}if(typeof Date.prototype.toJSON!=='function'){Date.prototype.toJSON=function(a){return this.getUTCFullYear()+'-'+f(this.getUTCMonth()+1)+'-'+f(this.getUTCDate())+'T'+f(this.getUTCHours())+':'+f(this.getUTCMinutes())+':'+f(this.getUTCSeconds())+'Z'};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(a){return this.valueOf()}};var e=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'},rep;function quote(b){escapable.lastIndex=0;return escapable.test(b)?'"'+b.replace(escapable,function(a){var c=meta[a];if(typeof c==='string'){return c}return'\\u'+('0000'+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+b+'"'}function str(a,b){var i,k,v,length,mind=gap,partial,value=b[a];if(value&&typeof value==='object'&&typeof value.toJSON==='function'){value=value.toJSON(a)}if(typeof rep==='function'){value=rep.call(b,a,value)}switch(typeof value){case'string':return quote(value);case'number':return isFinite(value)?String(value):'null';case'boolean':case'null':return String(value);case'object':if(!value){return'null'}gap+=indent;partial=[];if(typeof value.length==='number'&&!value.propertyIsEnumerable('length')){length=value.length;for(i=0;i>5]|=0x80<<((e)%32);x[(((e+64)>>>9)<<4)+14]=e;var a=1732584193;var b=-271733879;var c=-1732584194;var d=271733878;for(var i=0;i>16)+(y>>16)+(a>>16);return(b<<16)|(a&0xFFFF)};robotreplay.MD5.bit_rol=function(a,b){return(a<>>(32-b))};robotreplay.MD5.str2binl=function(a){var b=new Array();var c=(1<>5]|=(a.charCodeAt(i/this.chrsz)&c)<<(i%32);return b};robotreplay.MD5.binl2hex=function(a){var b=this.hexcase?"0123456789ABCDEF":"0123456789abcdef";var c="";for(var i=0;i>2]>>((i%4)*8+4))&0xF)+b.charAt((a[i>>2]>>((i%4)*8))&0xF)}return c};robotreplay.Serializer={onInit:new robotreplay.Subject(),maxRetries:5,init:function(){var r=robotreplay;r.DLog.writeToDom();if(window.rr_serialize!=false&&!r.Log.isCancelled){var a=this.normalizeDom();var b=r.MD5.hash(this.normalizeDomForHash(a));var c=window.location.href;this.onInit.notify(b);var S=r.Storage;var d=S.read(S.DOMKEY,{});var e=S.read(S.URLLISTKEY,{});if(!d[b]){if(!r.User.known_doms[b]){d[b]=a;e[b]={url:c,url_md5:r.MD5.hash(c,1)}}S.write(S.DOMKEY,d,true,true);S.write(S.URLLISTKEY,e,true,true);S.commit()}r.onFlashReady.subscribeOnce(this.serializeDoms,this)}else{r.DLog.append("sercan","serilization not happening")}},stripHiddenDomMaterial:function(a){var r=robotreplay;a=this.superReplace(a,new RegExp("","mig"),this.maskBlock);a=this.superReplace(a,new RegExp("<(\\W)*input[^>]*?"+r.hiddenFieldClassName+"[\\w\\W]*?>","mig"),this.maskValue);return this.superReplace(a,new RegExp("<(\\W)*textarea[^>]*?"+r.hiddenFieldClassName+"[\\w\\W]*?<(\\W)*/(\\W)*textarea(\\W)*>","mig"),this.maskBlock)},superReplace:function(a,b,c){var d;var e="";var f=0;while((d=b.exec(a))!=null){e+=a.substring(f,d.index);var g=c(d[0]);e+=g;f=d.index+d[0].length}e+=a.substring(f,a.length);return e},maskValue:function(c){return c.replace(new RegExp("value=\"([^\"]*)\"","gim"),function(a,b){return"value=\""+b.replace(/[^\W]/g,"*")+"\""})},maskBlock:function(a){var b=a;if(a.length>0){b="";var c=-1;var d=-1;while(c-1){b+=a.substring(d,c).replace("<","").replace(">","").replace(/[^\W]/g,"*");b+=a.substring(c,a.indexOf(">",c)+1);c=a.indexOf(">",c)}else c=a.length}b+=a.substring(d,a.length).replace("<","").replace(">","").replace(/[^\W]/g,"*")}return b},normalizeDom:function(){var r=robotreplay;var a=r.Html.getOuterHtml(document.getElementsByTagName("html")[0]);a=this.stripHiddenDomMaterial(a);a=a.replace(//gi,"");a=a.replace(/