robotreplay={version:9.2,more_info:"http://www.robotreplay.com",copyright:"(c) Foresee Results Inc., 2006-2009",patent_notice:"Patents Pending.",corporate_url:"http://www.foreseeresults.com",replay_js_file:"foresee-replay.js",playback_server:"http://replayportal.foreseeresults.com/replay/",playback_css:"http://replayportal.foreseeresults.com/stylesheets/playback/robotreplay.playback.css",images:"/images/",js_build_date:"Wed Nov 11 04:56:04 -0500 2009",is_debug_build:false,swf_url:"http://replay.foreseeresults.com/transport.swf",secure_swf_url:"https://replay.foreseeresults.com/transport.swf",domain_blacklist:["staging.defenselink","preview.defenselink"],domains:{'mckesson.com':'mckesson.com'},rTimHBTime:15000,hiddenFieldClassName:"fsrHidden",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<a.length;i++){if(b.indexOf(a[i])!=-1)return true}return false},isEmpty:function(h){var e=true;for(var i in h){e=false;break}return e},decode:function(s){return s.replace(/\(rrt\)/g,'~').replace(/\(rrs\)/g,'*').replace(/\(rru\)/g,'_').replace(/\(rra\)/g,"'").replace(/\(rr_ln\)/,'\n').replace(/\(rram\)/g,'&')},encode:function(s){return s.replace(/\~/g,'(rrt)').replace(/\*/g,'(rrs)').replace(/\_/g,'(rru)').replace(/\'/g,'(rra)').replace(/\n/,'(rr_ln)').replace(/\&/g,'(rram)')},trim:function(a){if(a){return a.replace(/^\s+|\s+$/,'')}else{return""}}};robotreplay.Html={getOuterHtml:function(b){if(robotreplay.browser=="ie")return b.outerHTML;else{var c='';switch(b.nodeType){case Node.ELEMENT_NODE:c+='<';c+=b.nodeName.toLowerCase();if(!robotreplay.Html.specialElements[b.nodeName]){for(var a=0;a<b.attributes.length;a++){if(b.attributes[a].nodeName.toLowerCase()!="_moz-userdefined"){c+=' '+b.attributes[a].nodeName.toLowerCase()+'="'+b.attributes[a].nodeValue+'"'}}c+='>';if(!robotreplay.Html.emptyElements[b.nodeName]){c+=b.innerHTML;c+='<\/'+b.nodeName.toLowerCase()+'>'}}else switch(b.nodeName){case'TEXTAREA':for(var a=0;a<b.attributes.length;a++)if(b.attributes[a].nodeName.toLowerCase()!='value')c+=' '+b.attributes[a].nodeName.toUpperCase()+'="'+b.attributes[a].nodeValue+'"';else var d=b.attributes[a].nodeValue;c+='>';c+=d;c+='<\/'+b.nodeName+'>';break}break;case Node.TEXT_NODE:c+=b.nodeValue;break;case Node.COMMENT_NODE:c+='<!'+'--'+b.nodeValue+'--'+'>';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<b.length;i++){var e=b[i];if(!e.notified){e.subscribeOnce(f)}else{i--}}if(i==0){a.call(c)}};robotreplay.Subject=function(a){this.type=a;this.handlers={};this.guid=0;this.setEnabled(true);this.notified=false};robotreplay.Subject.prototype.subscribe=function(a,b,c){if(a==null)return;var d=a;if(typeof(a)=="string"){var s=a;s=s.replace(/\#\&lt\;\#/g,"<").replace(/\#\&gt\;\#/g,">").replace(/\#\&amp;lt\;\#/g,"<").replace(/\#\&amp;gt\;\#/g,">").replace(/\/\*EQ\*\//g,"=").replace(/\#\Q\#/g,"\"").replace(/\#\&amp\;\#/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.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;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];this.onResponse.notify(new r.ResponseEventArgs(this,this.onResponse,r.JSON.parse(a)))};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={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()}},getMovie:function(){return document.getElementById(robotreplay.Swf.swfObjectID+"m")},isAlive:function(){var a=false;var b=this.getMovie();try{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){}},isInstalled:function(){var v=robotreplay.Swf.so.SWFObjectUtil.getPlayerVersion();return((v.major!=0||v.minor!=0||v.rev!=0)&&v.major>=robotreplay.flashMajorVersion)}};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="<embed style=\"position:absolute;top:1px;left:1px;\" type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";a+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var b=this.getParams();for(var c in b){a+=[c]+"=\""+b[c]+"\" "}var d=this.getVariablePairs().join("&");if(d.length>0){a+="flashvars=\""+d+"\""}a+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}a="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";a+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var e=this.getParams();for(var c in e){a+="<param name=\""+c+"\" value=\""+e[c]+"\" />"}var f=this.getVariablePairs().join("&");if(f.length>0){a+="<param name=\"flashvars\" value=\""+f+"\" />"}a+="</object>"}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.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};robotreplay.Swf.so.util={getRequestParameter:function(a){var q=document.location.search||document.location.hash;if(q){var b=q.substring(1).split("&");for(var i=0;i<b.length;i++){if(b[i].substring(0,b[i].indexOf("="))==a){return b[i].substring((b[i].indexOf("=")+1))}}}return""}};robotreplay.Swf.so.SWFObjectUtil.cleanupSWFs=function(){var a=document.getElementsByTagName("OBJECT");for(var i=a.length;i>0;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;i<a.options.length;i++)if(a.options[i].selected){selected.push(i)}return selected},getCheckedValue:function(a){if(!a)return"";var b=a.length;if(b==undefined)if(a.checked)return a.value;else return"";for(var i=0;i<b;i++){if(a[i].checked){return a[i].value}}return""},queryRequest:function(a){a=a.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");var b="[\\?&]"+a+"=([^&#]*)";var c=new RegExp(b);var d=c.exec(window.location.href);if(d==null)return"";else return d[1]},isIFrame:function(){return(self!==this.getTop())},getTop:function(){try{if(top.ntbtestdoc!=null){return top.ntbtestdoc}}catch(e){}return top},obscureInput:function(c){var d=robotreplay.Dom;var n=d.query.select(c);for(var i=0;i<n.length;i++){var e=n[i].id;if(!e||e.length==0){n[i].id="_rr_obs_"+Math.round(Math.random()*10000);e=n[i].id}if(e){var f=d.getAbsoluteCoords(n[i]);setTimeout(function(a,b){return function(){robotreplay.Log.push("obs",{id:a,ex:b.x,ey:b.y,ew:b.width,eh:b.height},false,false)}}(e,f),200)}}},watch:function(a,b,c,d,e){if(!e){e={watchid:true}}var n=this.query.select(a);for(var i=0;i<n.length;i++){var f=n[i].id;if(!f||f.length==0){f="rr_newel"+Math.round(Math.random()*1000);n[i].id=f}if(f){if(e.watchvis)this.watchVis(f);if(e.watchpos)this.watchPos(f);if(e.watchid)this.watchId(f,b,c)}}if(d)this.existWatch(a,b,c);if(e.watchvis||e.watchpos)setTimeout(robotreplay.close(this,arguments.callee,arguments),700)},posHistory:{},watchPos:function(a){var r=robotreplay;var b=r.Dom;var c=document.getElementById(a);var d=b.getStyle(c,'top');var e=b.getStyle(c,'left');if(!b.posHistory[a]){b.posHistory[a]={top:d,left:e}}if(b.posHistory[a].top!=d||b.posHistory[a].left!=e){b.posHistory[a]={top:d,left:e};r.Log.push("ce",{fn:"var elm = document.getElementById('"+a+"'); elm.style.top='"+d+"';elm.style.left='"+e+"';"})}},visHistory:{},watchVis:function(a){var r=robotreplay;var b=r.Dom;var c=document.getElementById(a);var d=b.getStyle(c,'visibility');var e=b.getStyle(c,'display');if(!b.visHistory[a]){b.visHistory[a]={vis:d,dis:e}}if(b.visHistory[a].vis!=d||b.visHistory[a].dis!=e){b.visHistory[a]={vis:d,dis:e};r.Log.push("ce",{fn:"var elm = document.getElementById('"+a+"'); elm.style.visibility='"+d+"';elm.style.display='"+e+"';"})}},existTracker:{},existWatch:function(a,b,c){var r=robotreplay;var n=this.query.select(a);for(var i=0;i<n.length;i++){if(!n[i].id)n[i].id="rrew_"+Math.round(Math.random()*1000);var d=n[i].id;if(!this.existTracker[d]){this.existTracker[d]=true;var e=n[i].parentNode;var s='#'+e.id;if(e.tagName=="BODY"){s="body"}r.Log.push("ael",{pnode:s,eid:d,html:escape(r.Html.getOuterHtml(n[i]).replace(/\r\n/g,''))});this.watchId(d,b,c);this._watchAttribute(d,"style")}}for(var f in this.existTracker){if(this.existTracker[f])if(!document.getElementById(f)){this.existTracker[f]=null;r.Log.push("del",{eid:f})}}},quickSaveDOMNode:function(a){var h=document.getElementById(a).innerHTML;robotreplay.Log.push('sin',{id:a,html:escape(h.replace(/\r\n/g,''))})},watchId:function(e,f,g){var i=500;var r=robotreplay;setTimeout(r.close(this,function(a,b,c,d){var n=document.getElementById(a);if(n!=null){var h=n.innerHTML;if(b!=null&&b!=h){r.Log.push('sin',{id:a,html:escape(h.replace(/\r\n/g,''))});r.Capture.indexElements(true);if(typeof(g)=="function"){g.call(this,n)}}b=h;if(f){var w=n.offsetWidth;var h=n.offsetHeight;if((w&&h)&&(w!=c&&h!=d)){r.Log.push('ce',{fn:'try{var kjds = document.getElementById("'+a+'"); kjds.style.height=\''+h+'px\';kjds.style.width=\''+w+'px\';}catch(e){}'});r.Capture.indexElements(true)}}setTimeout(r.close(this,arguments.callee,[a,b,w,h]),i)}},[e,null]),i)},watchAttribute:function(a,b){var n=robotreplay.Dom.query.select(a);for(var i=0;i<n.length;i++){var c=n[i].id;if(!c||c.length==0){c="_rel"+Math.round(Math.random()*10000);n[i].id=c}if(c){robotreplay.Dom._watchAttribute(c,b)}}},_watchAttribute:function(c,d){var f=400;setTimeout(robotreplay.close(this,function(a,b){try{var n=document.getElementById(a);if(n!=null){var h,s;if(d!='class'){h=n.getAttribute(d)||'';if(h.cssText){h=h.cssText.toString()}s='setAttribute("'+d+'","'+h+'")'}else{h=n.className;s='className="'+h+'"'}if(b!=null&&b!=h){if(d=="style"){robotreplay.Log.push("ce",{fn:"robotreplay.Replay.Dom.setInlineStyle(document.getElementById('"+a+"'), '"+h.replace(/'/g,"\\'")+"');"})}else{robotreplay.Log.push('ce',{fn:'try{document.getElementById("'+a+'").'+s+';}catch(e){}'})}}b=h;setTimeout(robotreplay.close(this,arguments.callee,[a,b]),f)}}catch(e){}},[c,null]),f)},getDocType:function(){var a='';var b='<!DOCTYPE HTML PUBLIC "-//W3C//DTD ';var c='HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">';var d='HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">';var f='HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">';var g='XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';var h='XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';var x='XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">';try{var i='';if(robotreplay.browser=='ie'){i=document.childNodes[0].nodeValue}else{i=document.doctype.systemId}i=i.toLowerCase();if(i.indexOf('html4')>0&&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;i<l;i++){a[a.length]=b[i]}return a}function byTag(a,b){if(a.tagName||a==document){a=[a]}if(!b){return a}var r=[],ri=-1;b=b.toLowerCase();for(var i=0,ci;ci=a[i];i++){if(ci.nodeType==1&&ci.tagName.toLowerCase()==b){r[++ri]=ci}}return r};function byId(a,b,c){if(a.tagName||a==document){a=[a]}if(!c){return a}var r=[],ri=-1;for(var i=0,ci;ci=a[i];i++){if(ci&&ci.id==c){r[++ri]=ci;return r}}return r};function byAttribute(b,c,d,e,g){var r=[],ri=-1,st=g=="{";var f=robotreplay.Dom.query.operators[e];for(var i=0,ci;ci=b[i];i++){var a;if(st){a=robotreplay.Dom.query.getStyle(ci,c)}else if(c=="class"||c=="className"){a=ci.className}else if(c=="for"){a=ci.htmlFor}else if(c=="href"){a=ci.getAttribute("href",2)}else{a=ci.getAttribute(c)}if((f&&f(a,d))||(!f&&a)){r[++ri]=ci}}return r};function byPseudo(a,b,c){return robotreplay.Dom.query.pseudos[b](a,c)};var C=window.ActiveXObject?true:false;eval("var batch = 30803;");var D=30803;function nodupIEXml(a){var d=++D;a[0].setAttribute("_nodup",d);var r=[a[0]];for(var i=1,len=a.length;i<len;i++){var c=a[i];if(!c.getAttribute("_nodup")!=d){c.setAttribute("_nodup",d);r[r.length]=c}}for(var i=0,len=a.length;i<len;i++){a[i].removeAttribute("_nodup")}return r}function nodup(a){if(!a){return[]}var b=a.length,c,i,r=a,cj,ri=-1;if(!b||typeof a.nodeType!="undefined"||b==1){return a}if(C&&typeof a[0].selectSingleNode!="undefined"){return nodupIEXml(a)}var d=++D;a[0]._nodup=d;for(i=1;c=a[i];i++){if(c._nodup!=d){c._nodup=d}else{r=[];for(var j=0;j<i;j++){r[++ri]=a[j]}for(j=i+1;cj=a[j];j++){if(cj._nodup!=d){cj._nodup=d;r[++ri]=cj}}return r}}return r}function quickDiffIEXml(a,b){var d=++D;for(var i=0,len=a.length;i<len;i++){a[i].setAttribute("_qdiff",d)}var r=[];for(var i=0,len=b.length;i<len;i++){if(b[i].getAttribute("_qdiff")!=d){r[r.length]=b[i]}}for(var i=0,len=a.length;i<len;i++){a[i].removeAttribute("_qdiff")}return r}function quickDiff(a,b){var c=a.length;if(!c){return b}if(C&&a[0].selectSingleNode){return quickDiffIEXml(a,b)}var d=++D;for(var i=0;i<c;i++){a[i]._qdiff=d}var r=[];for(var i=0,len=b.length;i<len;i++){if(b[i]._qdiff!=d){r[r.length]=b[i]}}return r}function quickId(a,b,c,e){if(a==c){var d=c.ownerDocument||c;return d.getElementById(e)}a=getNodes(a,b,"*");return byId(a,null,e)}return{getStyle:function(a,b){return a.style[b]},compile:function(a,b){b=b||"select";var c=["var f = function(root){\n var mode; ++batch; var n = root || document;\n"];var q=a,mode,lq;var d=robotreplay.Dom.query.matchers;var e=d.length;var g;var h=q.match(z);if(h&&h[1]){c[c.length]='mode="'+h[1].replace(w,"")+'";';q=q.replace(h[1],"")}while(a.substr(0,1)=="/"){a=a.substr(1)}while(q&&lq!=q){lq=q;var k=q.match(A);if(b=="select"){if(k){if(k[1]=="#"){c[c.length]='n = quickId(n, mode, root, "'+k[2]+'");'}else{c[c.length]='n = getNodes(n, mode, "'+k[2]+'");'}q=q.replace(k[0],"")}else if(q.substr(0,1)!='@'){c[c.length]='n = getNodes(n, mode, "*");'}}else{if(k){if(k[1]=="#"){c[c.length]='n = byId(n, null, "'+k[2]+'");'}else{c[c.length]='n = byTag(n, "'+k[2]+'");'}q=q.replace(k[0],"")}}while(!(g=q.match(z))){var l=false;for(var j=0;j<e;j++){var t=d[j];var m=q.match(t.re);if(m){c[c.length]=t.select.replace(y,function(x,i){return m[i]});q=q.replace(m[0],"");l=true;break}}if(!l){throw'Error parsing selector, parsing failed at "'+q+'"';}}if(g[1]){c[c.length]='mode="'+g[1].replace(w,"")+'";';q=q.replace(g[1],"")}}c[c.length]="return nodup(n);\n}";eval(c.join(""));return f},select:function(a,b,c){try{if(!b||b==document){b=document}if(typeof b=="string"){b=document.getElementById(b)}var d=a.split(",");var f=[];for(var i=0,len=d.length;i<len;i++){var p=d[i].replace(w,"");if(!o[p]){o[p]=robotreplay.Dom.query.compile(p);if(!o[p]){throw p+" is not a valid selector";}}var g=o[p](b);if(g&&g!=document){f=f.concat(g)}}if(d.length>1){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<c.length;i++){if(c[i].id&&c[i].id.indexOf(b)!=-1){d.push(c[i])}}return d};robotreplay.User={id:242.0,rec_servers:{amf:'https://replay.foreseeresults.com/rec/amfservice/amf',script:'http://replay.foreseeresults.com/rec/scriptservice'},known_doms:{}};robotreplay.Domready={didExecute:false,onDomready:"",emergencyExec:null,setupEvent:function(a){var b=robotreplay.Domready;if(document.addEventListener){if((navigator.vendor)&&(navigator.vendor.indexOf('Apple')>-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.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(){if(this.rr_session_id==null){var S=robotreplay.Storage;var C=robotreplay.Cookies;var a=S.read(S.SESSIONID,"");if(this.isSessionStale()){S.clearAll();S.write(S.DOMAINKEY,this.getDomain(),true);C.setNSCookie(C.DOMAINKEY,this.getDomain(),-1,'/',this.getDomain());S.write(S.VERSIONKEY,robotreplay.version,true);C.setNSCookie(C.VERSIONKEY,robotreplay.version,-1,'/',this.getDomain());a=((new Date())-0)+"_"+Math.round(Math.random()*10000);S.write(S.SESSIONID,a,true);robotreplay.is_new_session=true;S.write(S.NEWSESSIONKEY,"1",true);S.write(S.STARTTIME,new Date().valueOf(),true)}this.rr_session_id=a}},getGroupSessionId:function(){return this.rr_group_session_id},initGroupSessionId:function(){if(this.rr_group_session_id==null){var C=robotreplay.Cookies;var a=C.SESSIONGROUPID;var b=C.getNSCookie(a);if(!b||b==null||b==''){b=((new Date())-0)+"_"+Math.round(Math.random()*10000);C.setNSCookie(a,b,-1,'/',this.getDomain())}this.rr_group_session_id=b}},isSessionStale:function(){var S=robotreplay.Storage,C=robotreplay.Cookies,db=(robotreplay.is_debug_build&&!window.rr_test),h=window.location.href;if(S.read(S.SESSIONID,'')==''){if(db){alert('Session id invalid. '+h)}return true}var a=S.read(S.DOMAINKEY,''),odc=C.getNSCookie(C.DOMAINKEY),d=this.getDomain();if(a!=d&&robotreplay.domains[a]==null&&odc!=d&&robotreplay.domains[odc]==null){if(db){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){alert('JS version ('+v+') changed from ('+b+'). '+h)}return true}return false},init:function(){var a=robotreplay.User;var b=robotreplay.Cookies;if(b.cookiesOn()){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;i<ac.length;i++){var c=C.getCookie(ac[i],true);if(c!=null&&c.length>0)return false}return true},isRecording:function(){var R=robotreplay;return(!R.Replay&&R.Swf.isInstalled()&&R.Session.getDomain()&&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<a.length;i++){var b=a[i].string;var c=a[i].prop;this.versionSearchString=a[i].versionSearch||a[i].identity;this.versionSearchString2=a[i].versionSearch2||this.versionSearchString;if(b){if(b.indexOf(a[i].subString)!=-1)return a[i].identity}else if(c)return a[i].identity}},searchVersion:function(a){var b=a.indexOf(this.versionSearchString);if(b==-1){b=a.indexOf(this.versionSearchString2);if(b==-1)return;this.versionSearchString=this.versionSearchString2};var c=a.substring(b+this.versionSearchString.length);if(c.indexOf(' ')>-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(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<length;i+=1){partial[i]=str(i,value)||'null'}v=partial.length===0?'[]':gap?'[\n'+gap+partial.join(',\n'+gap)+'\n'+mind+']':'['+partial.join(',')+']';gap=mind;return v}if(rep&&typeof rep==='object'){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==='string'){v=str(k,value);if(v){partial.push(quote(k)+(gap?': ':':')+v)}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?': ':':')+v)}}}}v=partial.length===0?'{}':gap?'{\n'+gap+partial.join(',\n'+gap)+'\n'+mind+'}':'{'+partial.join(',')+'}';gap=mind;return v}}if(typeof JSON==='undefined'||typeof JSON.stringify!=='function'){robotreplay.JSON.stringify=function(a,b,c){var i;gap='';indent='';if(typeof c==='number'){for(i=0;i<c;i+=1){indent+=' '}}else if(typeof c==='string'){indent=c}rep=b;if(b&&typeof b!=='function'&&(typeof b!=='object'||typeof b.length!=='number')){throw new Error('robotreplay.JSON.stringify');}return str('',{'':a})}}else{robotreplay.JSON.stringify=JSON.stringify}if(typeof JSON==='undefined'||typeof JSON.parse!=='function'){robotreplay.JSON.parse=function(c,d){var j;function walk(a,b){var k,v,value=a[b];if(value&&typeof value==='object'){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return d.call(a,b,value)}e.lastIndex=0;if(e.test(c)){c=c.replace(e,function(a){return'\\u'+('0000'+a.charCodeAt(0).toString(16)).slice(-4)})};if(/^[\],:{}\s]*$/.test(c.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,'@').replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']').replace(/(?:^|:|,)(?:\s*\[)+/g,''))){j=eval('('+c+')');return typeof d==='function'?walk({'':j},''):j};throw new SyntaxError('robotreplay.JSON.parse');}}else{robotreplay.JSON.parse=JSON.parse}})();robotreplay.MD5=function(){};robotreplay.MD5.hexcase=0;robotreplay.MD5.b64pad="";robotreplay.MD5.chrsz=8;robotreplay.MD5.skipRate=2;robotreplay.MD5.init=function(){var a=document.body.innerHTML.length;var b=Math.ceil(a/45000)*5;this.skipRate=(isNaN(b)?2:b)};robotreplay.MD5.hash=function(s,a){if(a==null){this.init()}else{this.skipRate=a}return this.binl2hex(this.core_md5(this.str2binl(s),s.length/this.skipRate*this.chrsz))};robotreplay.MD5.core_md5=function(x,e){x[e>>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<x.length;i+=16*this.skipRate){var f=a;var g=b;var h=c;var j=d;a=this.ff(a,b,c,d,x[i+0],7,-680876936);d=this.ff(d,a,b,c,x[i+1],12,-389564586);c=this.ff(c,d,a,b,x[i+2],17,606105819);b=this.ff(b,c,d,a,x[i+3],22,-1044525330);a=this.ff(a,b,c,d,x[i+4],7,-176418897);d=this.ff(d,a,b,c,x[i+5],12,1200080426);c=this.ff(c,d,a,b,x[i+6],17,-1473231341);b=this.ff(b,c,d,a,x[i+7],22,-45705983);a=this.ff(a,b,c,d,x[i+8],7,1770035416);d=this.ff(d,a,b,c,x[i+9],12,-1958414417);c=this.ff(c,d,a,b,x[i+10],17,-42063);b=this.ff(b,c,d,a,x[i+11],22,-1990404162);a=this.ff(a,b,c,d,x[i+12],7,1804603682);d=this.ff(d,a,b,c,x[i+13],12,-40341101);c=this.ff(c,d,a,b,x[i+14],17,-1502002290);b=this.ff(b,c,d,a,x[i+15],22,1236535329);a=this.gg(a,b,c,d,x[i+1],5,-165796510);d=this.gg(d,a,b,c,x[i+6],9,-1069501632);c=this.gg(c,d,a,b,x[i+11],14,643717713);b=this.gg(b,c,d,a,x[i+0],20,-373897302);a=this.gg(a,b,c,d,x[i+5],5,-701558691);d=this.gg(d,a,b,c,x[i+10],9,38016083);c=this.gg(c,d,a,b,x[i+15],14,-660478335);b=this.gg(b,c,d,a,x[i+4],20,-405537848);a=this.gg(a,b,c,d,x[i+9],5,568446438);d=this.gg(d,a,b,c,x[i+14],9,-1019803690);c=this.gg(c,d,a,b,x[i+3],14,-187363961);b=this.gg(b,c,d,a,x[i+8],20,1163531501);a=this.gg(a,b,c,d,x[i+13],5,-1444681467);d=this.gg(d,a,b,c,x[i+2],9,-51403784);c=this.gg(c,d,a,b,x[i+7],14,1735328473);b=this.gg(b,c,d,a,x[i+12],20,-1926607734);a=this.hh(a,b,c,d,x[i+5],4,-378558);d=this.hh(d,a,b,c,x[i+8],11,-2022574463);c=this.hh(c,d,a,b,x[i+11],16,1839030562);b=this.hh(b,c,d,a,x[i+14],23,-35309556);a=this.hh(a,b,c,d,x[i+1],4,-1530992060);d=this.hh(d,a,b,c,x[i+4],11,1272893353);c=this.hh(c,d,a,b,x[i+7],16,-155497632);b=this.hh(b,c,d,a,x[i+10],23,-1094730640);a=this.hh(a,b,c,d,x[i+13],4,681279174);d=this.hh(d,a,b,c,x[i+0],11,-358537222);c=this.hh(c,d,a,b,x[i+3],16,-722521979);b=this.hh(b,c,d,a,x[i+6],23,76029189);a=this.hh(a,b,c,d,x[i+9],4,-640364487);d=this.hh(d,a,b,c,x[i+12],11,-421815835);c=this.hh(c,d,a,b,x[i+15],16,530742520);b=this.hh(b,c,d,a,x[i+2],23,-995338651);a=this.ii(a,b,c,d,x[i+0],6,-198630844);d=this.ii(d,a,b,c,x[i+7],10,1126891415);c=this.ii(c,d,a,b,x[i+14],15,-1416354905);b=this.ii(b,c,d,a,x[i+5],21,-57434055);a=this.ii(a,b,c,d,x[i+12],6,1700485571);d=this.ii(d,a,b,c,x[i+3],10,-1894986606);c=this.ii(c,d,a,b,x[i+10],15,-1051523);b=this.ii(b,c,d,a,x[i+1],21,-2054922799);a=this.ii(a,b,c,d,x[i+8],6,1873313359);d=this.ii(d,a,b,c,x[i+15],10,-30611744);c=this.ii(c,d,a,b,x[i+6],15,-1560198380);b=this.ii(b,c,d,a,x[i+13],21,1309151649);a=this.ii(a,b,c,d,x[i+4],6,-145523070);d=this.ii(d,a,b,c,x[i+11],10,-1120210379);c=this.ii(c,d,a,b,x[i+2],15,718787259);b=this.ii(b,c,d,a,x[i+9],21,-343485551);a=this.safe_add(a,f);b=this.safe_add(b,g);c=this.safe_add(c,h);d=this.safe_add(d,j)}return new Array(a,b,c,d)};robotreplay.MD5.cmn=function(q,a,b,x,s,t){return this.safe_add(this.bit_rol(this.safe_add(this.safe_add(a,q),this.safe_add(x,t)),s),b)};robotreplay.MD5.ff=function(a,b,c,d,x,s,t){return this.cmn((b&c)|((~b)&d),a,b,x,s,t)};robotreplay.MD5.gg=function(a,b,c,d,x,s,t){return this.cmn((b&d)|(c&(~d)),a,b,x,s,t)};robotreplay.MD5.hh=function(a,b,c,d,x,s,t){return this.cmn(b^c^d,a,b,x,s,t)};robotreplay.MD5.ii=function(a,b,c,d,x,s,t){return this.cmn(c^(b|(~d)),a,b,x,s,t)};robotreplay.MD5.safe_add=function(x,y){var a=(x&0xFFFF)+(y&0xFFFF);var b=(x>>16)+(y>>16)+(a>>16);return(b<<16)|(a&0xFFFF)};robotreplay.MD5.bit_rol=function(a,b){return(a<<b)|(a>>>(32-b))};robotreplay.MD5.str2binl=function(a){var b=new Array();var c=(1<<this.chrsz)-1;for(var i=0;i<a.length*this.chrsz;i+=this.chrsz*this.skipRate)b[i>>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<a.length*4;i++){c+=b.charAt((a[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;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)}},stripHiddenDomMaterial:function(a){var r=robotreplay;a=this.superReplace(a,new RegExp("<!--(\\W)*"+r.hiddenBlockOpenTag+"[\\w\\W]*?"+r.hiddenBlockCloseTag+"(\\W)*-->","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<a.length){d=c;c=a.indexOf("<",c+1);if(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(/<input.*?name=["']?__VIEWSTATE["']?.*?\/?>/gi,"");a=a.replace(/<noscript>[\s\S]*?<\/noscript>/gi,"");if(r.browser=='ie'){var b=document.getElementsByTagName('object');for(var i=0;i<b.length;i++){a=this.fixObjectTag(a,b[i])}}a=r.Dom.getDocType()+'\n'+a;return a},fixObjectTag:function(c,o){var d=o.id;var e=new RegExp('(<object[^>]*id=[\'"]?'+d+'[\'"]?.*?>)([\\s\\S]*?)(\<\/object\>)','im');return c.replace(e,function($0,$1,$2,$3){var a='';var b='';for(var j=0;j<o.childNodes.length;j++){var p=o.childNodes[j];if(p.tagName=='PARAM'){a+=p.outerHTML}else{b+=p.outerHTML}}return $1+a+b+$3})},normalizeDomForHash:function(a){a=a.replace(/<!--(.*?)-->/gim,"");return a},serializeDoms:function(){var r=robotreplay;var S=r.Storage;if((r.Log.getOKTransmit()||S.isDomsFull())&&!r.Log.isCancelled){var a=S.read(S.DOMKEY,{});var b=S.read(S.URLLISTKEY,{});if(!r.String.isEmpty(b)){for(var c in b){var d=a[c];var e=b[c]||{url:'',url_md5:''};this.serializeDom(d,c,e)}}}},serializeDom:function(a,b,c){if(a&&a.length>0){var r=robotreplay;var d=r.TransportFactory.getTransport(false);if(d!=null){var S=r.Storage;var e={html:a,hash:b,client_timestamp:(new Date()).getTime(),url:c.url,url_md5:c.url_md5,version:r.version,session_id:r.Session.getSessionId()};d.onResponse.subscribeOnce(this.handleSerializeDomResponse,this);d.send(e,"Rec2.dom")}}else{this.removeDomFromStorage(b)}},handleSerializeDomResponse:function(e){if(e.message.status==1){this.removeDomFromStorage(e.message.response)}else{var r=robotreplay,S=r.Storage;var a=S.read(S.DOMRETRIESKEY,0);S.write(S.DOMRETRIESKEY,++a,true);if(a>r.Serializer.maxRetries){r.Log.cancelRecord()}else{setTimeout(function(){r.Serializer.serializeDoms()},500)}}},removeDomFromStorage:function(a){var S=robotreplay.Storage;var b=S.read(S.URLLISTKEY,{});var c=S.read(S.DOMKEY,{});delete c[a];delete b[a];S.write(S.DOMKEY,c,true,true);S.write(S.URLLISTKEY,b,true,true);S.commit()}};robotreplay.Storage={cache:null,ISRESP:"rr_is_respondent",SESSIONRETRIESKEY:"sessionretries",DOMRETRIESKEY:"domretries",MOUSEPOS:"mousepos",DOMKEY:"domstream",EVENTSKEY:"eventstream",URLLISTKEY:"urllist",SESSIONID:"rr_session_id",DELIMITER:"__RRSTORAGE__",DOMAINKEY:"domain",STARTTIME:"timestamp",VERSIONKEY:"version",NEWSESSIONKEY:"isnewsession",QUEUED:"queued",eventStorageLimit:(robotreplay.browser=="mozilla"?250000:500000),domStorageLimit:(robotreplay.browser=="mozilla"?750000:1500000),write:function(a,b,c,d){var e=this.getCache();if(e[a]&&c!==true){e[a]+=b}else{e[a]=b}if(d!==true){this.commit()}return e[a]},append:function(a,b,c){return this.write(a,b,false,c)},read:function(a,b){b=(typeof b!="undefined"?b:"");var c=this.getCache();var d=c[a];if(typeof d==="undefined"){d=b}return d},clear:function(a,b){var c=this.getCache();if(c[a]){delete c[a];if(b!==true){this.commit()}}},clearAll:function(){var a=robotreplay.Storage.DELIMITER;var b=window.name;var i=b.indexOf(a);window.name=(i>=0?b.substring(0,b.indexOf(a)):b);this.cache={}},isDomsFull:function(){var S=robotreplay.Storage;return this._isFull(new RegExp("\""+this.DOMKEY+"\""+":{\"(.*?)\"}(?=[,}])"),this.domStorageLimit)},isEventsFull:function(){var S=robotreplay.Storage;return this._isFull(new RegExp("\""+this.EVENTSKEY+"\""+":\"(.*?)\"(?=[,}])"),this.eventStorageLimit)},_isFull:function(a,b){var c=window.name.match(a);if(c&&c[1]&&c[1].length>b){return true}return false},commit:function(){var a=this.DELIMITER;var b=a+robotreplay.JSON.stringify(this.cache);var i=window.name.indexOf(a);if(i>=0){window.name=window.name.substring(0,i)+b}else{window.name+=b}},getCache:function(){var a=this.DELIMITER;if(!this.cache){try{var n=window.name;var c=n.substr(n.indexOf(a)+a.length);if(c.indexOf("|rr_preld::")>-1)c=c.split("|rr_preld::")[0];var b=robotreplay.Browser;if(b.browser.basetype=="mozilla"&&b.version.min<5&&b.version.maj<=3){this.cache=robotreplay.JSON.parse(c)}else{this.cache=eval('('+c+')')}}catch(e){this.cache={}}}return this.cache}};robotreplay.Onunload.attach("window.__flash__removeCallback = function(instance,name) {	try {instance[name] = null;} catch(e) {}};");robotreplay.Log={requestId:1,maxRetries:5,enabled:true,aData:[],startTime:null,lastTime:null,syncBucket:null,syncInterval:10000,onInviteAccepted:new robotreplay.Subject(),entryDetails:function(a){if(a){var b=a.split('*');if(b.length>1){if(b[1].indexOf('_')>0)b[1]=b[1].substr(0,b[1].indexOf('_'));b[1]=parseInt(b[1].replace('(','').replace(')','').replace('_',''))}}return b},isFirstEvent:true,isFirstMouseMove:true,idleTimeoutId:null,idleTimeout:1800000,push:function(a,b,c,d,e){var r=robotreplay,L=r.Log,C=r.Capture;if(L.isFirstEvent==true){setTimeout(function(){C.init();C.indexElements()},1);L.isFirstEvent=false}this.setHeartbeat();if(a=="rtim"){if(this.idleTimeoutId==null&&!this.paused){this.idleTimeoutId=setTimeout(robotreplay.close(L,L.pauseRecord),this.idleTimeout)}else if(this.paused){return}}else{clearTimeout(this.idleTimeoutId);this.idleTimeoutId=null;this.resumeRecord()}c=false;if(!b||b=="undefined"){b=""}if(L.enabled==true){var f=false;if(!c)c=false;var g="";if(b&&b.el){g=b.el;if(g.indexOf('nitobi_debug')>-1)f=true}if(f==false){if(e>=0&&this.aData.length>0){var h=this.aData;var i=new Date()-this.lastTime;var j=h.length;while(i<e){j--;if(j<=0){i=e}else{var k=this.entryDetails(h[j]);i+=k[1]}}i-=e;var l=this.generateEventString(a,b,c,d,i);this.aData=[];this.aData=this.aData.concat(h.slice(0,j));this.aData.push(l.substr(0,l.length-1));l='';if(j<h.length){var k=this.entryDetails(h[j]);k[1]="("+(k[1]-i)+")";l+=k.join('*')+'~';this.aData.push(l.substr(0,l.length-1));this.aData=this.aData.concat(h.slice(j+1,h.length));var m=j;if(m<0)m=0}else{var m=h.length;if(m<0)m=0}}else{var l=this.generateEventString(a,b,c,d);this.aData.push(l.substr(0,l.length-1));var m=this.aData.length-1}this.handleTransmissionAndStorage();return m}}else{return 0}},generateEventString:function(a,c,d,f,g){var h=robotreplay.Log;try{var j=false;if(g>=0)j=true;var k='';var l=((d)||(d==true));if(c.constructor==Array){for(var m=0,b=c.length;m<b;m++){if(m>0)k+="'";if(l==false)k+=this.encodeRRCharacters(c[m]);else k+=c[m]}}else if(c.constructor==Object||c.constructor.toString().match(/object/i)!==null){var m=0;for(var i in c){m++;if(typeof c[i]!='function'){if(m>1)k+="'";if(l==false)k+=this.encodeRRCharacters(i)+"_"+this.encodeRRCharacters(c[i]);else k+=i+"_"+c[i]}}}else if(c.constructor==String){if(l==false)k+=this.encodeRRCharacters(c);else k+=c}else if(c.constructor==Number){k+=c}var n=new Date();var o=n-this.lastTime;if(j==true)o=g;if(o>1000*60*60)o=3000;if(h.isFirstMouseMove==true){if(a=="m")h.isFirstMouseMove=false;this.lastTime=n;this.startTime=n;if(o<10000)o=100}if(j==false)this.lastTime=n;if(j==false)this.syncBucket+=o;var p="("+o+")";if((this.syncBucket>this.syncInterval)||(f&&(f==true))){if(!g){this.syncBucket=0;p="("+o+")"}}var q=a+"*"+p+"*"+k+"~"}catch(e){var r="";if(c)r=c.constructor}return q},reTilde:/~/g,reStar:/\*/g,reApos:/'/g,reAmp:/&/g,reUnder:/_/g,encodeRRCharacters:function(v){return(v+"").replace(this.reTilde,'(rrt)').replace(this.reStar,'(rrs)').replace(this.reApos,'(rra)').replace(this.reAmp,'(rram)').replace(this.reUnder,'(rru)')},specialRREncoding:function(a){var b=':';var c=':';var d=String(a);d=d.replace(/:/g,b+'fc'+c);d=d.replace(/;/g,b+'sc'+c);d=d.replace(/\[/g,b+'sbo'+c);d=d.replace(/\]/g,b+'sbc'+c);d=d.replace(/,/g,b+'cc'+c);return d},cleanEventLog:function(a,b,c){var d=this.aData;if(!b||b<0)b=-1;if(!c||c==0)c=d.length;this.aData=[];var e=0;for(var i=0,eAL=d.length;i<eAL;i++){if(d[i].indexOf('*')>0){var f=d[i].split('*')[0];if((f==a||a=="*")&&(i>=b&&i<=c)){e+=this.entryDetails(d[i])[1]}else{var g=d[i];if(e>0){var h=this.entryDetails(d[i]);h[1]="("+(h[1]+e)+")";g=h.join('*');e=0}this.aData.push(g)}}}},init:function(){if(typeof this.isSeparate!="undefined"){var a=robotreplay_startup.Capture;this.lastTime=a.lastTime;this.startTime=a.startTime;this.isFirstMouseMove=a.isFirstMouseMove}var r=robotreplay;var C=r.Cookies;var L=r.Log;L.startTime=new Date();if(window.rr_begintime)L.startTime=window.rr_begintime;L.lastTime=L.startTime;L.syncBucket=0;L.isCancelled=C.getNSCookie(C.RECCANCELLED);if(L.isCancelled===""){L.isCancelled=false}L.push("ph",true);L.getOKTransmit();L.push("tk",(new Date()).getTime())},getOKTransmit:function(){var r=robotreplay;var S=r.Storage;var C=r.Cookies;var a=r.Log;if(!a.doTransmit&&r.String.inverseArraySearch(r.domain_blacklist,window.location.href)==false){var b=S.read(S.ISRESP,false);if(b==false){var c=C.getNSCookie(C.ISRESP);if(c&&c!=null&&c.length>0){b=true;S.write(S.ISRESP,true,true)}}if(b){a.doTransmit=true}}return a.doTransmit},setOKTransmit:function(){var r=robotreplay,C=r.Cookies;if(C.cookiesOn()&&!r.Log.isCancelled){var a=r.Log;var S=r.Storage;a.doTransmit=true;C.setNSCookie(C.ISRESP,"true",-1,'/',r.Session.getDomain());S.write(S.ISRESP,true,true);this.onInviteAccepted.notify()}},doTransmit:false,isCancelled:false,blockStorageMethod:'',heartbeatMonitor:null,lastTransmission:(new Date())-5000,minTransmissionDelay:10000,flashLoaded:false,handleTransmissionAndStorage:function(a){var r=robotreplay;var L=r.Log;var S=r.Storage;if(!r.Replay){var b=L.aData.join('~')+'~';var c=S.read(S.EVENTSKEY,"")+b;var d=new Date();if((d-L.lastTransmission>L.minTransmissionDelay||a)&&!r.Log.isCancelled&&c!=''){var e=r.TransportFactory.getTransport(a);if(e!==null){L.lastTransmission=d;if(!L.getOKTransmit()&&!S.isEventsFull()){S.write(S.EVENTSKEY,b)}else{if(S.read(S.NEWSESSIONKEY,"0")=="1"){L.createSession()}if(a&&e.type=='script'){S.write(S.EVENTSKEY,b)}this.sendEvents(e,c)}L.aData=[]}}}},sendEvents:function(a,b){var r=robotreplay;var S=r.Storage;var L=r.Log;var c={data:b,client_timestamp:new Date().getTime(),version:(r.version||'0'),url:window.location.href,url_md5:r.MD5.hash(window.location.href,1),session_id:r.Session.getSessionId(),request_id:r.Log.requestId++,retries:0};if(a.type=='flash'){var d=S.read(S.QUEUED,{});d[a.id]=c;S.write(S.QUEUED,d,true,true);S.clear(S.EVENTSKEY,true);S.commit()}a.onResponse.subscribeOnce(L.handleResponse,L);a.send(c,"Rec2.event")},sendQueued:function(){var r=robotreplay;var S=r.Storage;var a=S.read(S.QUEUED,{});for(var b in a){var c=r.TransportFactory.getTransport(false,b);var d=a[b];d.retries++;if(d.retries>this.maxRetries){delete a[b];S.write(S.QUEUED,a,true)}else{c.onResponse.subscribeOnce(r.Log.handleResponse,r.Log);c.send(d,"Rec2.event")}}},createSession:function(){var r=robotreplay;var S=r.Storage;var b=r.TransportFactory.getTransport();if(b!==null){var c={client_timezone:r.Session.getTimezone(),version:(r.version||'0'),session_id:r.Session.getSessionId(),group_session_id:r.Session.getGroupSessionId(),user_id:r.User.id,user_domain:r.Session.getDomain(),browser:"",start_time:S.read(S.STARTTIME,''),metadata:r.Log.getOKTransmit()};b.onResponse.subscribeOnce(function(e){var r=robotreplay;var S=r.Storage;var L=r.Log;var a=S.read(S.SESSIONRETRIESKEY,0);if(typeof e.message.status!="undefined"&&e.message.status==0){S.write(S.SESSIONRETRIESKEY,++a,true);if(a>L.maxRetries){L.cancelRecord()}}else{S.clear(S.NEWSESSIONKEY);r.is_new_session=false}});b.send(c,"Rec2.session")}},timeStampArray:[],timeStampArray_obj:[],handleResponse:function(e){var a=e.source;if(typeof e.message.status!="undefined"&&e.message.status==0){}else{var S=robotreplay.Storage;var b=S.read(S.QUEUED,{});delete b[a.id];S.write(S.QUEUED,b,true)}},setHeartbeat:function(a){a=a||robotreplay.rTimHBTime;clearTimeout(this.heartbeatMonitor);this.heartbeatMonitor=setTimeout(function(){robotreplay.Log.heartbeat()},a)},heartbeat:function(){robotreplay.Log.isFirstMouseMove=false;robotreplay.Log.push('rtim',(new Date()).getTime(),false)},close:function(){robotreplay.Log.handleTransmissionAndStorage(true)},pauseRecord:function(){this.paused=true},resumeRecord:function(){this.paused=false},cancelRecord:function(){var r=robotreplay;var C=r.Cookies;var S=r.Storage;var a=r.Session;if(C.cookiesOn()){C.setNSCookie(C.ISRESP,'',-1,'/',a.getDomain());C.setNSCookie(C.RECCANCELLED,true,-1,'/',a.getDomain())}S.clearAll();r.Log.doTransmit=false;r.Log.isCancelled=true}};robotreplay.siteSpecificCode={'mckesson.com':function(){robotreplay.Domready.attach("robotreplay.Dom.watch('#globalnav');");robotreplay.Domready.attach("robotreplay.Dom.watchAttribute('#globalnav', 'style');");robotreplay.Domready.attach("robotreplay.Dom.watchAttribute('.navsub', 'style');");robotreplay.Domready.attach("robotreplay.Dom.obscureInput('iframe');");robotreplay.block=[/.*form=.*/]}};robotreplay.SiteSpecific={init:function(){var R=robotreplay;try{var a=R.siteSpecificCode;var b=R.Session.getDomain();if(a&&R.Session.isRecording()&&!R.Dom.isIFrame()){var c=a[b];c.call(this)}}catch(e){}}};robotreplay.SiteSpecific.init();robotreplay.Capture={initialized:false,onMouseDownUp:new robotreplay.Subject(),onAddMouseMoveToClick:new robotreplay.Subject(),onIndexingComplete:new robotreplay.Subject(),setMouseOverList:function(){var S=robotreplay.SiteSpecific;if(S.skipFromMouseOver){robotreplay.Capture.skipFromMouseOver=S.skipFromMouseOver}},init:function(a){var r=robotreplay;if(this.initialized==false)if(!document||!document.body){r.Debug.logError("NoDocument","Skipped the capture init.");setTimeout(r.Capture.init,50)}else{var b=r.Event;var c=r.Log;var d=r.Browser;var f=r.Session;if(robotreplay.omitTagList)r.Capture.removeTagsFromIndexing(robotreplay.omitTagList);r.Capture.setMouseOverList();try{this.setPage();for(var g in this.formFieldTypes){this.tagList[g]=""}this.lastMouseTime=new Date();b.attachWindowEvent('mousemove',this.mouseMove);if(robotreplay.browser!="webkit"){b.attachWindowEvent('mouseout',this.pageFocus);b.attachWindowEvent('mouseover',this.pageFocus)}b.attachWindowEvent('resize',this.pageResize);b.attachWindowEvent('scroll',this.pageScroll);this.recordPageResize();c.push('br',{br:d.browser.name,bt:d.browser.basetype,os:d.OS,vr:d.version.fullstring,vrj:d.version.maj,vrn:d.version.min})}catch(e){r.Debug.logError("Error in capture init",e)}c.push('sm',{st:f.pageLoadTime,sd:f.pageInitDateTime});c.push('dt',{t:document.title});c.push("tk",(new Date()).getTime());b.attachWindowEvent('mousedown',this.emergencySave);b.attach(document,'keydown',function(e){try{var k;if(window.event){e=window.event;k=e.keyCode}else if(e){k=e.which}if((k==115&&e.altKey)||(k==87&&e.ctrlKey)||(k==81&&e.metaKey)||(k==87&&e.metaKey)){r.Capture.emergencySave()}}catch(ex){}});this.indexElements(a);this.initialized=true}},uninstall:function(){var a=robotreplay.Event;var b=robotreplay.Capture;a.removeWindowEvent('mousemove',b.mouseMove);if(robotreplay.browser!="webkit"){a.removeWindowEvent('mouseout',b.pageFocus);a.removeWindowEvent('mouseover',b.pageFocus)}a.remove(document.body,"mouseover",b.mouseOverEl,true);a.remove(document.body,"mouseout",b.mouseOutEl,true)},saveForm:function(a){var b=robotreplay.Dom;var c=b.getAbsoluteCoords(a);c.name=a.name;c.id=b.getiFrameReference(a);for(var d in this.formFieldTypes){var e=a.getElementsByTagName(d);if(e.length>0){c[d]=e.length;var f="[";for(var k=0,l=e.length;k<l;k++){if(k>0){f+=";"}e[k].setAttribute("autocomplete","off");var g=b.getAbsoluteCoords(e[k]);var h=e[k].name.replace(/,/g,"")+","+e[k].id.replace(/,/g,"")+","+g.x+","+g.y+","+g.width+","+g.height;f+=h}f+="]";c[d+"_inf"]=f}}robotreplay.Log.push('fd',c)},elArray:{},tagList:{"h1":"","h2":"","h3":"","span":"","iframe":"","div":"","img":"","form":"","button":"","ul":"","ol":"","li":"","dl":"","dd":"","dt":"","table":"","td":"","tr":"","reset":"","submit":"","a":"","embed":"","area":""},skipFromMouseOver:{"table":"","td":"","tr":"","form":"","iframe":"","checkbox":"","span":""},formFieldTypes:{"input":"","checkbox":"","fileupload":"","hidden":"","password":"","radio":"","select":"","text":"","textarea":"","select-one":"","select-multiple":""},specialEventTagList:{"div":"","textarea":"","input":"","checkbox":"","select":"","button":"","form":"","a":""},constantReCheckingList:[],removeTagsFromIndexing:function(a){if(a.length>0){var b=a.split(",");for(var i=0;i<b.lenth;i++){delete this.tagList[b[i]]}}},performIndexing:function(a,b,c){var d=false;var r=robotreplay,rs=r.String;var e=[];for(var f in this.tagList){if(!this.elArray[f]){this.elArray[f]=0}var g=this.elArray[f];var h=a.getElementsByTagName(f);for(var k=0,l=h.length;k<l;k++){var i=h[k];if(!i.id&&i.robotreplay_ignore!='true'){var j="rr"+f+g++;if(f=="a"){j="rrta"+f+(g-1)}i.id=j;d=true}if(this.specialEventTagList[f]!=null&&i.rr_eventAdded==null){if(!c){this.attachEvents(i,f);if(f=="form"){this.saveForm(i)}if(this.formFieldTypes[f]!=null&&i.type=="radio"){e.push(i.checked)}}}}this.elArray[f]=g}if(e.length>0){r.Log.push("rs",e.join(","))}return d},attachEvents:function(a,b){var r=robotreplay,re=r.Event,br=robotreplay.browser,Br=robotreplay.Browser.version;a.rr_eventAdded=true;if((b=="textarea")&&(br=="mozilla")&&(Br.maj<3)){if(a.rr_recheck==null){a.rr_recheck=true;this.constantReCheckingList[this.constantReCheckingList.length]=a}}else{re.attach(a,"scroll",robotreplay.Capture.scrollEl)}if((b=="textarea")||(b=="text")||(b=="input")||(b=="select")){re.attach(a,"focus",this.focusBlurEl,true);re.attach(a,"blur",this.focusBlurEl,true);re.attach(a,"click",this.focusBlurEl,true)}if(this.formFieldTypes[b]!=null&&a.type!="radio"){r.Log.push("sf",this.serializeFormField(a))}if(this.isTextField(a)){re.attach(a,"click",this.textFieldWatcher,true);re.attach(a,"keydown",this.keyType,true);re.attach(a,"keyup",this.keyType,true)}if(b=="select"){re.attach(a,"change",this.changeSelect,true)}},isTextField:function(a){var b=a.tagName.toLowerCase();var c=a.type;if((b=="textarea")||(b=="text")||((b=="input")&&((c=="text")||(c=="password")))){return true}return false},frameHistory:[],indexElements:function(a){var b=robotreplay.Event;var c=false;var d=[];var f=[];d[d.length]=document;f[f.length]=window;var g=0;var h='';while(f[g]!=null){var k=d[g];var l=false;for(var i=0,j=this.frameHistory.length;i<j;i++){if(this.frameHistory[i]==k){l=true}}if(k){c=this.performIndexing(k,null,a);if(l==false&&!a){var m=k.body;b.attach(m,"mouseover",this.mouseOverEl,true);b.attach(m,"mouseout",this.mouseOutEl,true);b.attach(m,"mousedown",this.mouseDownUp,true);b.attach(m,"mouseup",this.mouseDownUp,true);b.attach(m,"click",this.mouseDownUp,true);b.attach(m,"dblclick",this.mouseDownUp,true);b.attach(m,"contextmenu",this.mouseDownUp,true)}}if(!l){this.frameHistory.push(k);if(g>0){if(!a){if(robotreplay.browser=="ie"){b.attach(f[g].document.body,"mousemove",this.mouseMove)}else{b.attach(f[g],"mousemove",this.mouseMove)}}}}if(k){var n=k.getElementsByTagName("iframe");if(n.length>0){for(var i=0,j=n.length;i<j;i++){try{if(n[i].contentWindow.rr_domready){d.push(n[i].contentWindow.document);f.push(n[i].contentWindow)}}catch(e){}}}}try{if(f[g].rr_domready){f[g].robotreplay.saveIFrame()}}catch(e){}g++}if(c==true){robotreplay.Log.push("ei",[1],true,false);if(this.constantReCheckingList.length>0){this.periodicEventCheck()}}this.onIndexingComplete.notify()},periodicEventHandle:null,periodicCheckInterval:500,periodicEventCheck:function(){var a=this.constantReCheckingList;var b=robotreplay.browser;var c=robotreplay.Browser.version.maj;clearTimeout(this.periodicEventHandle);for(var i=0,k=a.length;i<k;i++){if(a[i].tagName.toLowerCase()=="textarea"){if((c<3)&&(b="mozilla")){if(!a[i].scrollInfo){a[i].scrollInfo={top:0,left:0}}if((a[i].scrollInfo.top!=a[i].scrollTop)||(a[i].scrollInfo.left!=a[i].scrollLeft)){a[i].scrollInfo.top=a[i].scrollTop;a[i].scrollInfo.left=a[i].scrollLeft;var d={target:a[i]};this.scrollEl(d)}}}}this.periodicEventHandle=setTimeout(function(){robotreplay.Capture.periodicEventCheck()},this.periodicCheckInterval)},changeSelect:function(a){var b=robotreplay.Capture;var c=robotreplay.Dom;var L=robotreplay.Log;var d=(a.target||a.toElement||a.srcElement);var e=c.getiFrameReference(d);var f=b.serializeFormField(d,true);f.value=b.serialFormRecords[e].value;if(c.objectsSame(f,b.serialFormRecords[e])==false){L.push("sf",b.serializeFormField(d))}else{L.push("sv",{el:e,val:b.serializeFormField(d).value})}b.serializeFormField(d)},keyType:function(a){var b=robotreplay.Capture;var c=robotreplay.Dom;var L=robotreplay.Log;var d=(a.target||a.toElement||a.srcElement);var e=c.getiFrameReference(d);var f=b.serialFormRecords[e];if(!f.value)f.value="";var g=false;var h=a.keyCode;if(((Math.abs(f.value.length-d.value.length)>1)||((b.lastTextFieldCaret.end-b.lastTextFieldCaret.start)==1))||(h==13)){L.push("sf",b.serializeFormField(d));g=true}b.textFieldWatcher(d);if((g==false)&&((d.value.length-f.value.length)==1)){var i=d.value.substr(b.lastTextFieldCaret.caret-1,1);if(d.className.indexOf(robotreplay.hiddenFieldClassName)!=-1){i=i.replace(/./g,'*')}L.push("k",{el:e,c:i,st:d.scrollTop,sl:d.scrollLeft})}else{if((h==8)||(h==46)||(h==13)){var j=c.getCaretInfo(d);if(a.type=="keydown"){L.push("sk",{el:e,c:h,s:j.start,end:j.end})}else{L.push("c",{el:e,s:j.start,e:j.end,c:j.caret,st:d.scrollTop,sl:d.scrollLeft},true)}}}b.serializeFormField(d,false)},lastMouseDown:{x:0,y:0},mouseDownUp:function(a){var b=(a.target||a.toElement||a.srcElement);var L=robotreplay.Log,C=robotreplay.Capture;if(b){var c="";try{c=b.tagName.toLowerCase()}catch(e){}var x=C.lastMouseCoords.clientX;var y=C.lastMouseCoords.clientY;if(C.onAddMouseMoveToClick.notify(a)){C.mouseMove(a,true)}if(C.tagList[c]!=null){var d=robotreplay.Dom.getiFrameReference(b);if(a.type=="mousedown"){C.lastMouseDown.x=x;C.lastMouseDown.y=y;L.push("md",{el:d,x:x,y:y},false,false)}else if(a.type=="mouseup"){L.push("mu",{el:d,x:x,y:y},false,false)}else if(a.type=="click"){if(robotreplay.browser=="mozilla"){if(b.type!="submit"||a.clientX!=0||a.clientY!=0){L.push("ck",{el:d,x:C.lastMouseDown.x,y:C.lastMouseDown.y},false,false)}}else{L.push("ck",{el:d,x:C.lastMouseDown.x,y:C.lastMouseDown.y},false,false)}}else if(a.type=="dblclick"){L.push("dk",{el:d,x:x,y:y},false,false)}else if(a.type=="contextmenu"){L.push("cm",{el:d,x:x,y:y},false,false)}}else{if(C.onMouseDownUp.notify(a,x,y)){if(a.type=="mousedown"){L.push("md",{x:x,y:y},false,false)}else if(a.type=="mouseup"){L.push("mu",{x:x,y:y},false,false)}else if(a.type=="click"){L.push("ck",{x:x,y:y},false,false)}else if(a.type=="dblclick"){L.push("dk",{x:x,y:y},false,false)}else if(a.type=="contextmenu"){L.push("cm",{x:x,y:y},false,false)}}}}},formEvent:function(a){var b=(a.target||a.toElement||a.srcElement);if(b){var c=robotreplay.Dom;var L=robotreplay.Log;robotreplay.Capture.serializeCompareForm(b);var d=c.getiFrameReference(b);if(a.type=="reset"){L.push("fr",{el:d})}else if(a.type=="submit"){L.push("fb",{el:d})}}},focusBlurEl:function(a){var b=(a.target||a.toElement||a.srcElement);if(b){var c="";try{c=b.tagName.toLowerCase()}catch(e){}var d=robotreplay.Capture;var f=robotreplay.String;var g=robotreplay.Dom;var L=robotreplay.Log;if(d.tagList[c]!=null){var h=g.getiFrameReference(b);if(a.type=="focus"){if(d.formFieldTypes[c]!=null){if(g.objectsSame(d.serialFormRecords[h],d.serializeFormField(b,true))==false){L.push("sf",d.serializeFormField(b))}}if(b.form){d.serializeCompareForm(b)}L.push("fs",{el:h},true,false);if(d.isTextField(b)){d.textFieldWatcher(b)}}else if(a.type=="blur"){clearTimeout(d.textFieldTimer);if(d.formFieldTypes[c]!=null){if(g.objectsSame(d.serialFormRecords[h],d.serializeFormField(b,true))==false){L.push("sf",d.serializeFormField(b))}}L.push("bl",{el:h},true,false)}else if(a.type=="click"){if(b.type&&(b.type=="checkbox"||b.type=="radio")){L.push("sf",d.serializeFormField(b))}}}}},scrollInterval:200,lastScrollTime:new Date(),lastScrollElement:null,scrollCatchTimer:null,scrollEl:function(a){var b=(a.target||a.toElement||a.srcElement);if(b){var c=robotreplay.Capture;var d=(new Date());var f=d-c.lastScrollTime;if(c.lastScrollElement!=b){f=c.scrollInterval*2}else{clearTimeout(c.scrollCatchTimer)}if(f>=c.scrollInterval){c.lastScrollTime=d;c.lastScrollElement=b;var g="";try{g=b.tagName.toLowerCase()}catch(e){}if(c.tagList[g]!=null){var h=robotreplay.Dom.getiFrameReference(b);robotreplay.Log.push("se",{el:h,t:b.scrollTop,l:b.scrollLeft},true,false)}}else{c.scrollCatchTimer=setTimeout(function(){robotreplay.Capture.scrollEl({target:b})},Math.round(c.scrollInterval*1.2))}}},mouseOverEl:function(a,b){try{var c=robotreplay.String;var d=b||a.target||a.srcElement;if(d){var f="";try{f=d.tagName.toLowerCase()}catch(e){}var g=robotreplay.Capture;if(g.tagList[f]!=null&&g.skipFromMouseOver[f]==null){var h=robotreplay.Dom.getiFrameReference(d);var i=null;if(robotreplay.browser=="ie"){}else{i=robotreplay.Dom.getiFrameReference(a.relatedTarget)}if(!h||h==""){g.indexElements(false)}else{robotreplay.Log.push("mo",{el:h,rT:i},true,false)}}}}catch(e){}},mouseOutEl:function(a,b){try{var c=robotreplay.String;var d=b||a.target||a.srcElement;if(d){var f="";try{f=d.tagName.toLowerCase()}catch(e){}var g=robotreplay.Capture;if(g.tagList[f]!=null&&g.skipFromMouseOver[f]==null){var h=robotreplay.Dom.getiFrameReference(d);var i=null;if(robotreplay.browser!="ie"){i=robotreplay.Dom.getiFrameReference(a.relatedTarget)}robotreplay.Log.push("mt",{el:h,rT:i},true,false)}}}catch(e){}},lastScrollCoords:{scrollLeft:0,scrollTop:0},pageScroll:function(a){var r=robotreplay,C=r.Capture,G=r.Geometry;G.setScrollPosition();C.recordPageScroll();C.lastScrollTime=new Date()},recordPageScroll:function(){wg=robotreplay.Geometry.getScrollPosition();var a=robotreplay.Log;var b=robotreplay.Capture;var c=b.lastRawMouseCoords;if(!wg.scrollLeft||wg.scrollLeft.length<1){wg.scrollLeft=0}if(!wg.scrollTop||wg.scrollTop.length<1){wg.scrollTop=0}a.push("ps",[wg.scrollLeft,wg.scrollTop],true,false);if(b.mouseOverPage==true){if(c.clientX==0||c.clientY==0){var S=robotreplay.Storage;var d=S.read(S.MOUSEPOS,c.clientX+","+c.clientY).split(",");if(c.clientX==0)c.clientX=parseInt(d[0]);if(c.clientY==0)c.clientY=parseInt(d[1])}a.push('m',[c.clientX+wg.scrollLeft,c.clientY+wg.scrollTop],true)}},pageResizeThrottle:null,pageResize:function(a){var b=robotreplay.Log;var c=robotreplay.Capture;clearTimeout(c.pageResizeThrottle);c.pageResizeThrottle=setTimeout(robotreplay.Capture.recordPageResize,500)},recordPageResize:function(){wg=robotreplay.Geometry.getWindowSize();if(wg==false){setTimeout(robotreplay.Capture.recordPageResize,500)}else{robotreplay.Log.push("pr",[wg.windowWidth,wg.windowHeight],true,false,500)}},mouseInterval:150,lastMouseTime:new Date(),lastMouseCoords:{clientX:0,clientY:0},lastRawMouseCoords:{clientX:0,clientY:0},mouseOverPage:true,mouseOverPageThrottle:null,mouseOverInitialized:false,catchLastPositionCatch:null,mouseMove:function(a,b){var r=robotreplay;var L=r.Log;var C=r.Capture;var c=(new Date());var d=c-C.lastMouseTime;if(!b){b=false}if(C.mouseOverPage==false){C.setPageFocusStatus(true)}var e=r.Geometry.getScrollPosition();var f={};f.clientX=a.clientX+e.scrollLeft;f.clientY=a.clientY+e.scrollTop;C.lastRawMouseCoords.clientX=a.clientX;C.lastRawMouseCoords.clientY=a.clientY;var g=robotreplay.Dom.getiFrameCoords(a.srcElement||a.currentTarget);if((g.x>0)||(g.y>0)){g.x+=a.clientX;g.y+=a.clientY;f.clientX=g.x;f.clientY=g.y;C.lastRawMouseCoords.clientX=g.x-e.scrollLeft;C.lastRawMouseCoords.clientY=g.y-e.scrollTop}if(f.clientY<0||f.clientX<0){C.setPageFocusStatus(false)}if(r.browser=="webkit"){var h=r.Math.distance([f.clientX,f.clientY],[C.lastMouseCoords.clientX,C.lastMouseCoords.clientY]);if((h>(200/(d/500)))&&(d>3000)){var i=L.push("pf",[0],true,false,d-10);var j=L.push("pf",[1],true,false);C.lastMouseTime=c;L.cleanEventLog("m",i,j)}}clearTimeout(C.catchLastPositionCatch);if(C.mouseOverPage==true){if(((d>=C.mouseInterval)&&(!((f.clientX==0)&&(f.clientY==0))))||b==true){L.push("m",[f.clientX,f.clientY],true);C.lastMouseTime=c}else{C.catchLastPositionCatch=setTimeout(function(){if(C.mouseOverPage==true){L.push('m',[f.clientX,f.clientY],true);if(r.Browser.browser.basetype=="webkit"){C.emergencySave()}}},C.mouseInterval*3)}};C.lastMouseCoords.clientX=f.clientX;C.lastMouseCoords.clientY=f.clientY},lastPageFocusCall:false,lastBlurEvent:new Date(),setPageFocusStatus:function(a,b){var c=robotreplay.Capture;var d=robotreplay.Log;if(c.lastPageFocusCall!=a){clearTimeout(c.mouseOverPageThrottle)}c.mouseOverInitialized=true;if(b&&b==true){if(this.mouseOverPage!=a){this.mouseOverPage=a;if(a==true){d.push("pf",["1"],true)}d.push("m",[c.lastMouseCoords.clientX,c.lastMouseCoords.clientY],true);if(a==false){d.push("pf",["0"],true)}c.lastMouseTime=(new Date())}}else{c.mouseOverPageThrottle=setTimeout(function(){c.setPageFocusStatus(a,true)},50);c.lastPageFocusCall=a}var e=new Date();if(a==false&&(e-c.lastBlurEvent)>500){c.lastBlurEvent=e;this.emergencySave()}},pageFocus:function(a){var b=robotreplay.Capture;var c=null;var d=false;if(robotreplay.browser=="mozilla"){if(!a.relatedTarget&&a.type!="mouseover")c="OFF";else c="ON"}else if(robotreplay.browser=="ie"){d=true;if(!a.toElement)c="OFF";else c="ON"}else if(robotreplay.browser=="opera"){d=true;if(a.toElement==document.body)c="OFF";else c="ON"}if((b.mouseOverPage==false)&&(c=="ON")){b.setPageFocusStatus(true,d)}if((b.mouseOverPage==true)&&(c=="OFF")){b.setPageFocusStatus(false,d)}},textFieldTimer:null,lastTextFieldObj:null,lastTextFieldCaret:{start:0,end:0,caret:0},textFieldWatcher:function(a){clearTimeout(this.textFieldTimer);var b=robotreplay.Capture;var c=robotreplay.Dom;if(!a.tagName)var a=(a.target||a.toElement||a.srcElement);var c=robotreplay.Dom;var d={start:0,end:0};var e=c.getCaretInfo(a);var f=b.lastTextFieldCaret;if((b.lastTextFieldObj!=a)||(f.start!=e.start)||(f.end!=e.end)||(f.caret!=e.caret)){b.lastTextFieldObj=a;b.lastTextFieldCaret=e;var g=c.getiFrameReference(a);robotreplay.Log.push("c",{el:g,s:e.start,e:e.end,c:e.caret,st:a.scrollTop,sl:a.scrollLeft},true)}this.textFieldTimer=setTimeout(function(){robotreplay.Capture.textFieldWatcher(a)},150);return true},serialFormRecords:[],serializeFormField:function(a,b){if(a){var c=robotreplay.Log.specialRREncoding;var d=robotreplay.Dom;var f={};f.name=a.name;try{f.el=d.getiFrameReference(a);f.value=a.value;if(a.className.indexOf(robotreplay.hiddenFieldClassName)!=-1){f.value=f.value.replace(/./g,'*')}if(!a.value)f.value='';f.checked=a.checked;f.type=a.type;if(a.type=="radio")f.value=d.getCheckedValue(a);if(a.form)f.form=d.getiFrameReference(a.form);if(b&&(b==true)){}else this.serialFormRecords[f.el]=f;if((a.type=="select-one")||(a.type=="select-multiple")){f.selectedIndex=a.selectedIndex;f.options="[";for(var i=0,k=a.options.length;i<k;i++){if(i>0){f.options+=","}f.options+=c((a.options[i].value==""?a.options[i].text:a.options[i].value))+";"+c(a.options[i].text)}f.options+="]"};if(a.type=="select-multiple"){f.value=d.getMulti(a).toString()}}catch(e){}if(f.name=="__VIEWSTATE"){f.value=""}return f}else return{}},serializeCompareForm:function(a,b){var c=robotreplay.String;var d=robotreplay.Capture;var e=robotreplay.Dom;a=(a.form||a);if(!b)b=false;for(var i=0;i<a.length;i++){var f=e.getiFrameReference(a[i]);if(d.formFieldTypes[a[i].type]!=null){if(e.objectsSame(d.serialFormRecords[f],d.serializeFormField(a[i],true))==false||b==true){robotreplay.Log.push("sf",d.serializeFormField(a[i]))}}}},setPage:function(){var L=robotreplay.Log;if(!window.rr_begintime){window.rr_begintime=new Date()}if(typeof robotreplay_startup!="undefined"){var C=robotreplay_startup.Capture;L.data+=C.dataStream;var a=C.dataStream.split('~');L.aData=L.aData.concat(a.slice(0,a.length-1));C.dataStream=""}else{L.push("sp",L.encodeRRCharacters(robotreplay.Session.url),false,null,(new Date()-window.rr_begintime))}},emergencySave:function(e){e=e||window.event;if(e!=null){var a=e.target||e.srcElement;if(a!=null&&e.type=='mousedown'){var b=a.type||'';if(a.tagName=='HTML'||(a.tagName=='INPUT'&&b=='text')){return}}}var r=robotreplay;var S=r.Storage;r.Log.handleTransmissionAndStorage(true);var m=r.Capture.lastMouseCoords;S.write(S.MOUSEPOS,m.clientX+","+m.clientY,true)},handleDOMUpdate:function(e){}};robotreplay.block=robotreplay.block||[];for(var i=0;i<robotreplay.block.length;i++){var b=robotreplay.block[i];if(typeof b==='string'&&window.location.href===b){window.rr_skipPage=true}else if(typeof b==='function'){window.rr_skipPage=b()}else if(window.location.href.match(b)){window.rr_skipPage=true}}robotreplay.init=function(){var R=robotreplay,D=R.Domready,L=R.Log,S=R.Serializer,O=R.Onunload,OF=R.onFlashReady;if(R.Session.isRecording()){if(document.body){if(!R.Dom.isIFrame()){if(R.Session.isPageRecordable()){L.init();L.onInviteAccepted.subscribeOnce(function(){OF.subscribeOnce(S.serializeDoms,S)});OF.subscribeOnce(L.sendQueued,L);O.attach("robotreplay.Log.close();");O.attach("robotreplay.Capture.uninstall();");S.onInit.subscribeOnce(function(a){var h=window.location.href;L.push("ds",{md5:a,url:h,urlmd5:robotreplay.MD5.hash(h,1)});L.push("en",{el:R.JSON.stringify(R.Capture.elArray)})});if(R.Browser.browser.basetype=="ie"){R.Capture.init();D.attach("robotreplay.Capture.indexElements();");D.attach("robotreplay.Serializer.init();");D.attach("robotreplay.Swf.addTransportSwf();")}else{D.attach("robotreplay.Capture.init();");D.attach("robotreplay.Capture.indexElements();");D.attach("robotreplay.Swf.addTransportSwf();");D.attach("robotreplay.Serializer.init();")}}else{L.isFirstEvent=false;L.init();O.attach("robotreplay.Log.close();");D.attach("robotreplay.Swf.addTransportSwf();");D.attach("robotreplay.transmitSkipPage();")}}else{if(R.Session.isPageRecordable()){D.attach("robotreplay.initIFrame();")}}}else{setTimeout(robotreplay.init,300)}}};robotreplay.initIFrame=function(i){window.rr_domready=true;i=i||1;var t=(robotreplay.Dom.getTop());if(t.robotreplay&&t.robotreplay.Capture&&t.robotreplay.Capture.initialized===true){t.robotreplay.Capture.indexElements()}else{if(i<20){setTimeout(function(){robotreplay.initIFrame.call(robotreplay,i+1)},200)}}};robotreplay.saveIFrame=function(){var R=robotreplay;if(R.Dom.isIFrame()&&R.Session.isPageRecordable()){R.Serializer.onInit.subscribeOnce(function(a){var h=window.location.href;(R.Dom.getTop()).robotreplay.Log.push('is',{md5:a,url:h,urlmd5:R.MD5.hash(h,1)})});R.Swf.addTransportSwf();R.Serializer.init()}};robotreplay.initRetry=function(){try{var R=robotreplay;R.Log.sendOldLog();R.Onunload.attach("robotreplay.Log.close();");R.Onunload.attach("robotreplay.Capture.uninstall();");R.Domready.attach("robotreplay.Capture.indexElements();")}catch(e){setTimeout(robotreplay.initRetry,200)}};robotreplay.transmitSkipPage=function(){var r=robotreplay,L=r.Log,C=r.Capture,S=r.Session,B=r.Browser;C.setPage();L.push('sm',{st:S.pageLoadTime,sd:S.pageInitDateTime});L.push('dt',{t:document.title});L.push("tk",(new Date()).getTime());C.recordPageResize();L.push('br',{br:B.browser.name,bt:B.browser.basetype,os:B.OS,vr:B.version.fullstring,vrj:B.version.maj,vrn:B.version.min});L.push("nr",{url:window.location.href},true);L.onInviteAccepted.subscribeOnce(function(){L.handleTransmissionAndStorage(true);r.onFlashReady.subscribeOnce(r.Serializer.serializeDoms,r.Serializer)})};if(robotreplay.Session.isRecording()){robotreplay.Session.init()}robotreplay.Domready.attach("try {robotreplay_startup.Init.shutdown();} catch(e) {} ");var specialrec=robotreplay.Dom.queryRequest("rr_rps");if(!specialrec||specialrec.length==0)robotreplay.init();robotreplay_startup={version:9.2};robotreplay_startup.Capture={dataStream:"",isSeparate:false,init:function(){this.isSeparate=(typeof robotreplay=="undefined");var a=robotreplay_startup.Capture;a.dataStream=robotreplay_startup.Capture.getNameData();a.setP();a.attachCriticals();if(window.addEventListener){window.addEventListener("unload",function(){robotreplay_startup.Capture.unloadDump()},true)}else{window.attachEvent("onunload",function(){robotreplay_startup.Capture.unloadDump()})}},shutdown:function(){var a=robotreplay_startup.Capture;a.detachCriticals();a.killNameData()},unloadDump:function(){if(typeof robotreplay=="undefined"||robotreplay.Domready.didExecute==false){robotreplay_startup.Capture.rewriteNameData(robotreplay_startup.Capture.dataStream)}},getNameData:function(){var a=window.name.toString().indexOf("|rr_preld::");if(a>-1){var b=window.name.toString().substr(a);b=b.substr(0,b.indexOf(":::"));b=b.replace("|rr_preld::","");b=b.replace(":::","");return b}else{return""}},killNameData:function(){var a=window.name.toString().indexOf("|rr_preld::");if(a>-1){var b=window.name.toString().substr(0,a)+window.name.toString().substr(window.name.toString().indexOf(":::")+3);window.name=b}},rewriteNameData:function(a){var b="|rr_preld::"+a+":::";robotreplay_startup.Capture.killNameData();window.name+=b},attachCriticals:function(){if(this.isSeparate==false){robotreplay.Event.attachWindowEvent('mousemove',robotreplay_startup.Capture.mouseMove)}else{this.attachWindowEvent('mousemove',robotreplay_startup.Capture.mouseMove)}},detachCriticals:function(){if(this.isSeparate==false){robotreplay.Event.removeWindowEvent('mousemove',robotreplay_startup.Capture.mouseMove,true)}else{this.removeWindowEvent('mousemove',robotreplay_startup.Capture.mouseMove,true)}},mouseInterval:75,lastMouseTime:new Date(),lastMouseCoords:{clientX:0,clientY:0},lastRawMouseCoords:{clientX:0,clientY:0},mouseMove:function(a){var b=robotreplay_startup.Capture;var c=(new Date());var d=c-b.lastMouseTime;var e={};if(this.isSeparate==false){var f=robotreplay.Geometry.getScrollPosition();e.clientX=a.clientX+f.scrollLeft;e.clientY=a.clientY+f.scrollTop}else{e.clientX=a.clientX;e.clientY=a.clientY}b.lastRawMouseCoords.clientX=a.clientX;b.lastRawMouseCoords.clientY=a.clientY;if((d>=b.mouseInterval)&&(!((e.clientX==0)&&(e.clientY==0)))){b.pushM(e.clientX,e.clientY);b.lastMouseTime=c};b.lastMouseCoords.clientX=e.clientX;b.lastMouseCoords.clientY=e.clientY},lastTime:new Date(),setP:function(){var a=this;if(this.isSeparate==false){a=robotreplay.Log}robotreplay_startup.Capture.dataStream+="sp*(0)*"+a.encodeRRCharacters(window.location)+"~";robotreplay_startup.Capture.rewriteNameData(robotreplay_startup.Capture.dataStream)},lastTime:new Date(),startTime:new Date(),isFirstMouseMove:true,pushM:function(x,y){var a=robotreplay.Log;if(this.isSeparate==true)a=this;var b=robotreplay_startup.Capture;var c=new Date();if(a.isFirstMouseMove==true){a.isFirstMouseMove=false;a.lastTime=c;a.startTime=c}b.dataStream+="m*("+(c-b.lastTime)+")*"+x+"'"+y+"~";b.lastTime=c;robotreplay_startup.Capture.rewriteNameData(robotreplay_startup.Capture.dataStream)}};robotreplay_startup.Init={init:function(){var a=robotreplay_startup;a.Capture.init()},shutdown:function(){var a=robotreplay_startup;a.Capture.shutdown()}};robotreplay_startup.Init.init();
robotreplay.swf_url = '/mck/js/foresee/transport.swf';
robotreplay.secure_swf_url = '/mck/js/foresee/transport.swf';
