/*
TeaLeafCompress.js is generated using yui-compressor 2.4.2. The sequence of JS files is important. Please add in the following order:
TeaLeafCfg.js, TeaLeaf.js, TeaLeafEventCfg.js, TeaLeafEvent.js, TeaLeafEnvCfg.js, TeaLeafEnv.js, TeaLeafClientCfg.js, TeaLeafClient.js, TeaLeafCookieCfg.js, TeaLeafCookie.js
*/
//TeaLeafCfg.js
if(typeof TeaLeaf=="undefined"){var TeaLeaf={};TeaLeaf.tlStartLoad=new Date();if(typeof TeaLeaf.Configuration=="undefined"){TeaLeaf.Configuration={tlinit:false,tlversion:"2009.01.15.1",tlSDK:false}}};
//TeaLeaf.js
if(TeaLeaf&&TeaLeaf.Configuration&&TeaLeaf.Configuration.tlinit==false){TeaLeaf.Configuration.tlinit=true;if(!Array.prototype.push){Array.prototype.stackEnd=0;Array.prototype.push=function(a){this[this.stackEnd]=a;this.stackEnd++}}if(!Array.prototype.pop){Array.prototype.pop=function(a){this.stackEnd--;return this[this.stackEnd]}}TeaLeaf.settlSDK=function(){TeaLeaf.Configuration.tlSDK=true};TeaLeaf.resettlSDK=function(){TeaLeaf.Configuration.tlSDK=false};TeaLeaf.tLoadObjs=[];TeaLeaf.addOnLoad=function(b,a){if(arguments.length==1){TeaLeaf.tLoadObjs.push(b)}else{if(arguments.length>1){TeaLeaf.tLoadObjs.push(b[a])}}};TeaLeaf.PageSetup=function(){if(TeaLeaf.Configuration.tlSDK==false){for(var a=0;a<TeaLeaf.tLoadObjs.length;a++){TeaLeaf.tLoadObjs[a]()}}TeaLeaf.EndLoad=new Date()};if(document.addEventListener){document.addEventListener("DOMContentLoaded",TeaLeaf.PageSetup,null)}else{if(typeof(document.readyState)!="undefined"){if(typeof document.onreadystatechange=="function"){TeaLeaf.ReadyStateChange=document.onreadystatechange}else{TeaLeaf.ReadyStateChange=null}document.onreadystatechange=function(){if(document.readyState=="complete"){TeaLeaf.PageSetup()}if(TeaLeaf.ReadyStateChange){TeaLeaf.ReadyStateChange()}}}else{if(typeof window.onload=="function"){TeaLeaf.OnLoad=window.onload}else{TeaLeaf.OnLoad=null}window.onload=function(){TeaLeaf.PageSetup();if(TeaLeaf.OnLoad){TeaLeaf.OnLoad()}}}}};
//TeaLeafEventCfg.js
if(typeof TeaLeaf.Event=="undefined"){TeaLeaf.Event=function(b,a,c){this.date=new Date();if(a){this.EventType=b;this.EventSubType=a;if(c){this.EventSource=c}else{this.EventSource=""}}else{this.EventType="CUSTOM";this.EventSubType=b}};if(typeof TeaLeaf.Event.Configuration=="undefined"){TeaLeaf.Event.Configuration={tlinit:false,tlqueueevents:true,tlqueueeventstimer:30000,tlqueueeventsmaxsz:8192,tlshowexceptions:false,tlurl:"jsp/tealeaf/TeaLeafTarget.jsp",tlsecureurl:"jsp/tealeaf/TeaLeafTarget.jsp",tlpageidcookie:"TLTHID",tleventcount:0,tlpageid:"",tlinitflag:false,tlbeforeunloadflag:false,tlusetopqueue:false,tllastdwelltime:"",tlidoflastvisitedcontrol:"",tleventunloadflag:true,tleventbeforeunloadflag:true,tlcatcherrors:true,tlignoresendfailure:true,tlasync:true,tlvisitorder:"",tlResolution:[{width:799,height:599,type:0,displayText:"small"},{width:800,height:600,type:1,displayText:"800x600"},{width:1024,height:760,type:2,displayText:"1024x760"},{width:1280,height:1024,type:3,displayText:"1280x1024"},{width:1000000,height:1000000,type:4,displayText:"large"}],tlHTTPRequestHeadersSet:[{tlreqhttpheadername:"Content-Type",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlGetContentType()"},{tlreqhttpheadername:"X-TeaLeaf",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlGetTeaLeafXEvent()"},{tlreqhttpheadername:"X-TeaLeafType",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlEventType()"},{tlreqhttpheadername:"X-TeaLeafSubType",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlEventSubType()"},{tlreqhttpheadername:"X-TeaLeaf-Page-Url",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlGetUrlPath()"},{tlreqhttpheadername:"X-TeaLeaf-UIEventCapture-Version",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlGetJSVersion()"}],tlHTTPRequestHeadersEvalInit:[{tlreqhttpheadername:"X-TeaLeaf-Screen-Res",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlResolutionType(screen.width ,screen.height)"},{tlreqhttpheadername:"X-TeaLeaf-Browser-Res",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlResolutionTypeBrowser()"},{tlreqhttpheadername:"X-TeaLeaf-Page-Render",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlGetRenderTime()"},{tlreqhttpheadername:"X-TeaLeaf-Page-Objects",tlsethttpheader:true,tlreqhttpheadervalue:'TeaLeaf.Event.tlGetElementCount("object")'},{tlreqhttpheadername:"X-TeaLeaf-Page-Img-Fail",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlBadImageCount()"}],tlHTTPRequestHeadersEvalBeforeUnload:[{tlreqhttpheadername:"X-TeaLeaf-Page-Cui-Events",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlGetEventCount()"},{tlreqhttpheadername:"X-TeaLeaf-Page-Cui-Bytes",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlGetSendStringBytes(sendStr)"},{tlreqhttpheadername:"X-TeaLeaf-Page-Dwell",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlGetDwellTime()"},{tlreqhttpheadername:"X-TeaLeaf-Page-Last-Field",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlGetLastVisitedElementID()"},{tlreqhttpheadername:"X-TeaLeaf-Visit-Order",tlsethttpheader:true,tlreqhttpheadervalue:"TeaLeaf.Event.tlGetVisitOrder()"}]}}};
//TeaLeafEvent.js
if(TeaLeaf.Event&&TeaLeaf.Event.Configuration){try{if(typeof TeaLeaf_PageID=="undefined"){TeaLeaf_PageID=null}}catch(e){TeaLeaf_PageID=null}TeaLeaf.Event.tlQueuedXML="";TeaLeaf.Event.tlGetContentType=function(){var a="text/xml";return a};TeaLeaf.Event.tlGetTeaLeafXEvent=function(){var a="ClientEvent";return a};TeaLeaf.Event.tlEventType=function(){return TeaLeaf.Event.SetType};TeaLeaf.Event.tlEventSubType=function(){return TeaLeaf.Event.SetSubType};TeaLeaf.Event.tlGetUrlPath=function(){var a=window.location.pathname;return a};TeaLeaf.Event.tlGetJSVersion=function(){return TeaLeaf.Configuration.tlversion};TeaLeaf.Event.tlResolutionType=function(d,a){var c=TeaLeaf.Event.Configuration.tlResolution;for(var b=0;b<c.length;b++){if(d<=c[b].width||a<=c[b].height){return c[b].type}}return c[length-1].type};TeaLeaf.Event.tlResolutionTypeBrowser=function(){var b=0;var a=0;if(window.innerWidth){b=window.innerWidth;a=window.innerHeight}else{if(document.documentElement&&document.documentElement.clientWidth){b=document.documentElement.clientWidth;a=document.documentElement.clientHeight}else{if(document.body&&document.body.clientWidth){b=document.body.clientWidth;a=document.body.clientHeight}else{var c=document.getElementsByTagName("body");if(c.length>0){b=c[0].clientWidth;a=c[0].clientHeight}}}}var d=TeaLeaf.Event.tlResolutionType(b,a);return d};TeaLeaf.Event.tlGetRenderTime=function(){return TeaLeaf.Event.PageLoadMilliSecs};TeaLeaf.Event.tlGetElementCount=function(a){return document.getElementsByName(a).length};TeaLeaf.Event.tlBadImageCount=function(){var b=0;var c;for(c=0;c<document.images.length;c++){var a=document.images[c];if(!a.complete){b++;continue}if(typeof a.naturalWidth!="undefined"&&a.naturalWidth==0){b++}}return b};TeaLeaf.Event.tlGetEventCount=function(){return TeaLeaf.Event.Configuration.tleventcount};TeaLeaf.Event.tlGetSendStringBytes=function(a){return a.length};TeaLeaf.Event.tlGetDwellTime=function(){return TeaLeaf.Event.tlDateDiff(TeaLeaf.tlStartLoad,TeaLeaf.Event.Configuration.tllastdwelltime)};TeaLeaf.Event.tlGetLastVisitedElementID=function(){return TeaLeaf.Event.Configuration.tlidoflastvisitedcontrol};TeaLeaf.Event.tlDateDiff=function(b,a){return Math.abs(b-a)};TeaLeaf.Event.tlGetVisitOrder=function(){return TeaLeaf.Event.Configuration.tlvisitorder};TeaLeaf.Event.tlFormatXML=function(a){if(a){if(a.replace){return a.replace(/&/g,"&amp;").replace(/\"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}return a}return""};TeaLeaf.Event.tlGetCookie=function(c){var b=document.cookie;var f=c+"=";var d=b.indexOf("; "+f);if(d==-1){d=b.indexOf(f);if(d!=0){return""}}else{d+=2}var a=document.cookie.indexOf(";",d);if(a==-1){a=b.length}return unescape(b.substring(d+f.length,a))};TeaLeaf.Event.tlSetHTTPHeaders=function(tlreq,tlheaderconfig){for(var i=0;i<tlheaderconfig.length;i++){if(tlheaderconfig[i].tlsethttpheader==true){tlreq.setRequestHeader(tlheaderconfig[i].tlreqhttpheadername,eval(tlheaderconfig[i].tlreqhttpheadervalue))}}};TeaLeaf.Event.tlGetPageId=function(){if(TeaLeaf.Event.Configuration.tlpageid){return TeaLeaf.Event.Configuration.tlpageid}if(TeaLeaf_PageID){TeaLeaf.Event.Configuration.tlpageid=TeaLeaf_PageID;return TeaLeaf.Event.Configuration.tlpageid}TeaLeaf.Event.Configuration.tlpageid="ID"+TeaLeaf.tlStartLoad.getHours()+"H"+TeaLeaf.tlStartLoad.getMinutes()+"M"+TeaLeaf.tlStartLoad.getSeconds()+"S"+TeaLeaf.tlStartLoad.getMilliseconds()+"R"+Math.random();return TeaLeaf.Event.Configuration.tlpageid};TeaLeaf.Event.tlSendFailure=function(c,d,h){var b=new Date();var i=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes(),b.getUTCSeconds(),b.getUTCMilliseconds());var g;if(TeaLeaf.tlStartLoad){g=TeaLeaf.Event.tlDateDiff(b,TeaLeaf.tlStartLoad)}TeaLeaf.Event.Configuration.tleventcount++;tlsendStr='<ClientEvent count="'+TeaLeaf.Event.Configuration.tleventcount+'" Type="INFO" SubType="EXCEPTION" PageId="'+TeaLeaf.Event.tlGetPageId()+'" FailedUrl="'+TeaLeaf.Event.tlFormatXML(d)+'" Message="'+TeaLeaf.Event.tlFormatXML(h)+'" TimeDuration="'+g+'" DateSince1970="'+i+'" />\r\n';try{TeaLeaf.Event.Configuration.tlasync=true;var f=new TeaLeaf.Event("INFO","EXCEPTION");f.tlSendXML(tlsendStr,true)}catch(a){if(TeaLeaf.Event.Configuration.tlshowexceptions){alert(a.name+": "+a.message+"\r\n\r\nPos 4")}}};TeaLeaf.Event.tlGetTransport=function(){var a;if(window.XMLHttpRequest){try{a=new XMLHttpRequest()}catch(b){a=null}}else{if(window.ActiveXObject){try{a=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{a=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){a=null}}}}return a};TeaLeaf.Event.TransportArray=[];TeaLeaf.Event.tlXMLHTTPObj=function(){var a=0;for(;a<TeaLeaf.Event.TransportArray.length;a++){if(TeaLeaf.Event.TransportArray[a]&&TeaLeaf.Event.TransportArray[a].readyState>0){if(TeaLeaf.Event.TransportArray[a].readyState==4){TeaLeaf.Event.TransportArray[a].abort();TeaLeaf.Event.TransportArray[a].onreadystatechange=new function(){};return TeaLeaf.Event.TransportArray[a]}}else{TeaLeaf.Event.TransportArray[a]=TeaLeaf.Event.tlGetTransport();return TeaLeaf.Event.TransportArray[a]}}TeaLeaf.Event.TransportArray[a]=TeaLeaf.Event.tlGetTransport();return TeaLeaf.Event.TransportArray[a]};TeaLeaf.Event.tlCleanXMLHTTPObj=function(b){var a=0;for(;a<TeaLeaf.Event.TransportArray.length;a++){if(b==TeaLeaf.Event.TransportArray[a]){TeaLeaf.Event.TransportArray[a]=null}}};TeaLeaf.Event.tlAddHandler=function(b,f,d,c){try{if(b.addEventListener){if(navigator.userAgent.toLowerCase().indexOf("safari")!=-1){b.addEventListener("on"+f,d,c)}else{b.addEventListener(f,d,c)}}else{if(b.attachEvent){b.attachEvent("on"+f,d)}}}catch(a){if(TeaLeaf.Event.Configuration.tlshowexceptions){alert(a.name+": "+a.message+"\r\n\r\nPos 4")}}};TeaLeaf.Event.tlRemoveHandler=function(b,f,d,c){try{if(b.removeEventListener){b.removeEventListener(f,d,c)}else{if(b.detachEvent){b.detachEvent("on"+f,d)}}}catch(a){if(TeaLeaf.Event.Configuration.tlshowexceptions){alert(a.name+": "+a.message+"\r\n\r\nPos 5")}}};TeaLeaf.Event.tlFlushQueue=function(f){var h=null;var b=TeaLeaf.Event.Configuration.tlqueueeventstimer;var d=b*3;if(TeaLeaf.Event.Configuration.tlusetopqueue){var c=new Date();var g=(c-top.TeaLeaf.Event.TimeSent);if(top.TeaLeaf.Event.tlQueuedXML){if(f||g>=b){h=top.TeaLeaf.Event.tlQueuedXML;top.TeaLeaf.Event.tlQueuedXML="";top.TeaLeaf.Event.TimeSent=c}}if(!h){if(!f&&g<(b/2)){if(b>=d){b=d}else{b=(b*3)/2}}return b}}else{if(!TeaLeaf.Event.tlQueuedXML){return b}h=TeaLeaf.Event.tlQueuedXML;TeaLeaf.Event.tlQueuedXML=""}var a=new TeaLeaf.Event("GUI","QUEUED");a.tlSendXML(h);return b};TeaLeaf.Event.prototype.tlPushXML=function(a){if(!this.XMLStack){this.XMLStack=[]}var b="  <"+a;if(this.XMLData){this.XMLData+=b}else{this.XMLData=b}};TeaLeaf.Event.prototype.tlPopXML=function(){if(this.XMLData){this.XMLData+=" />\r\n"}else{return false}};TeaLeaf.Event.prototype.tlAddData=function(a){var f="";if(this.XMLStack){for(var c=0;c<this.XMLStack.length;c++){f+="  "}}var d=[];for(var c=0;c<a.length;c+=2){var b=a[c];tlValue=TeaLeaf.Event.tlFormatXML(a[c+1]);if(b&&tlValue){d[d.length]=f+" "+b+'="'+tlValue+'"'}}if(!this.XMLData){this.XMLData=""}this.XMLData+=d.join("");delete a};TeaLeaf.Event.prototype.tlSendXML=function(f,d){var c=TeaLeaf.Event.tlXMLHTTPObj();if(!c){return}try{var b=this.theUrl;c.onreadystatechange=function(g){if(c.readyState==2&&typeof TeaLeaf.Cookie!="undefined"){var i=new Date();i.setTime(i.getTime()-86400000);TeaLeaf.Cookie.tlSetCookieValue("tlQueuedXML","",i,"/")}if(c.readyState==4){try{if(c.status!=200&&c.status!=304){if(TeaLeaf.Event.Configuration.tlignoresendfailure==true){TeaLeaf.Event.Configuration.tlignoresendfailure=false;TeaLeaf.Event.tlSendFailure(b,b,"Status "+c.status+": "+c.statusText)}}}catch(h){}}};c.open("POST",b,TeaLeaf.Event.Configuration.tlasync);TeaLeaf.Event.tlSetHTTPHeaders(c,TeaLeaf.Event.Configuration.tlHTTPRequestHeadersSet);if(TeaLeaf.Event.Configuration.tlinitflag==true){TeaLeaf.Event.tlSetHTTPHeaders(c,TeaLeaf.Event.Configuration.tlHTTPRequestHeadersEvalInit)}if(TeaLeaf.Event.Configuration.tlbeforeunloadflag==true){TeaLeaf.Event.tlSetHTTPHeaders(c,TeaLeaf.Event.Configuration.tlHTTPRequestHeadersEvalBeforeUnload)}c.send(f)}catch(a){if(TeaLeaf.Event.Configuration.tlshowexceptions){if(a.name){alert(a.name+": "+a.message+"\r\n\r\nURL: "+this.theUrl+"\r\n\r\nPos 3 ")}else{alert(a+"\r\n\r\nURL: "+this.theUrl+"\r\n\r\nPos 3 ")}}if(TeaLeaf.Event.Configuration.tlignoresendfailure==true){TeaLeaf.Event.Configuration.tlignoresendfailure=false;TeaLeaf.Event.tlSendFailure(this.theUrl,this.theUrl,a)}TeaLeaf.Event.tlCleanXMLHTTPObj(c)}};TeaLeaf.Event.prototype.tlSend=function(a){if(this.XMLStack){while(this.XMLStack.length>0){this.tlPopXML()}}var c=Date.UTC(this.date.getUTCFullYear(),this.date.getUTCMonth(),this.date.getUTCDate(),this.date.getUTCHours(),this.date.getUTCMinutes(),this.date.getUTCSeconds(),this.date.getUTCMilliseconds());var b;if(TeaLeaf.tlStartLoad){b=TeaLeaf.Event.tlDateDiff(this.date,TeaLeaf.tlStartLoad)}TeaLeaf.Event.Configuration.tleventcount++;sendStr='<ClientEvent count="'+TeaLeaf.Event.Configuration.tleventcount+'" Type="'+this.EventType+'" SubType="'+this.EventSubType+'"';if(this.EventSource){sendStr=sendStr+'" Source="'+this.EventSource+'"'}if(a){sendStr=sendStr+' PageId="'+TeaLeaf.Event.tlGetPageId()+'" TimeDuration="'+b+'" DateSince1970="'+c+'" >\r\n'+this.XMLData+"</ClientEvent>\r\n"}else{sendStr=sendStr+' PageId="'+TeaLeaf.Event.tlGetPageId()+'"'+this.XMLData+' TimeDuration="'+b+'" DateSince1970="'+c+'" />\r\n'}if(TeaLeaf.Event.Configuration.tlqueueevents){if(TeaLeaf.Event.Configuration.tlusetopqueue){if(top.TeaLeaf.Event.tlQueuedXML){top.TeaLeaf.Event.tlQueuedXML+=sendStr}else{top.TeaLeaf.Event.tlQueuedXML=sendStr}}else{if(TeaLeaf.Event.tlQueuedXML){TeaLeaf.Event.tlQueuedXML+=sendStr}else{TeaLeaf.Event.tlQueuedXML=sendStr}}if(TeaLeaf.Event.Configuration.tlqueueeventsmaxsz<TeaLeaf.Event.tlQueuedXML.length){TeaLeaf.Event.tlFlushQueue()}return}try{this.tlSendXML(sendStr);this.XMLData=""}catch(d){}this.XMLData=""};TeaLeaf.Event.tlXMLEncode=function(a){if(a==null){return a}a=a.replace(/&/g,"&#38;");a=a.replace(/"/g,"&#34;");a=a.replace(/'/g,"&#39;");a=a.replace(/:/g,"&#58;");return a};TeaLeaf.Event.tlXMLDecode=function(a){if(a==null){return a}a=a.replace(/&#58;/g,":");a=a.replace(/&#39;/g,"'");a=a.replace(/&#34;/g,'"');a=a.replace(/&#38;/g,"&");return a};TeaLeaf.Event.tlEnableAllHTTPHeaders=function(a){if(a){if(a=="info"){TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersSet,true,"all")}else{if(a=="init"){TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersEvalInit,true,"all")}else{if(a=="beforeunload"){TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersEvalBeforeUnload,true,"all")}}}}else{TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersSet,true,"all");TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersEvalInit,true,"all");TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersEvalBeforeUnload,true,"all")}};TeaLeaf.Event.tlEnableHTTPHeader=function(a,b){if(a=="info"){TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersSet,true,b)}else{if(a=="init"){TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersEvalInit,true,b)}else{if(a=="beforeunload"){TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersEvalBeforeUnload,true,b)}}}};TeaLeaf.Event.tlDisableAllHTTPHeaders=function(a){if(a){if(a=="info"){TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersSet,false,"all")}else{if(a=="init"){TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersEvalInit,false,"all")}else{if(a=="beforeunload"){TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersEvalBeforeUnload,false,"all")}}}}else{TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersSet,false,"all");TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersEvalInit,false,"all");TeaLeaf.Event.tlEventJSONCfgUtil(TeaLeaf.Event.Configuration.tlHTTPRequestHeadersEvalBeforeUnload,false,"all")}};TeaLeaf.Event.tlEnableQueueEvents=function(){TeaLeaf.Event.Configuration.tlqueueevents=true};TeaLeaf.Event.tlDisableQueueEvents=function(){TeaLeaf.Event.Configuration.tlqueueevents=false};TeaLeaf.Event.tlEnableShowExceptions=function(){TeaLeaf.Event.Configuration.tlshowexceptions=true};TeaLeaf.Event.tlDisableShowExceptions=function(){TeaLeaf.Event.Configuration.tlshowexceptions=false};TeaLeaf.Event.tlSetQueueEventTime=function(a){TeaLeaf.Event.Configuration.tlqueueeventstimer=a};TeaLeaf.Event.tlGetQueueEventTime=function(){return TeaLeaf.Event.Configuration.tlqueueeventstimer};TeaLeaf.Event.tlSetQueueEventMaxSize=function(a){TeaLeaf.Event.Configuration.tlqueueeventsmaxsz=a};TeaLeaf.Event.tlGetQueueEventMaxSize=function(){return TeaLeaf.Event.Configuration.tlqueueeventsmaxsz};TeaLeaf.Event.tlSetPostURL=function(a){TeaLeaf.Event.Configuration.tlurl=a};TeaLeaf.Event.tlGetPostURL=function(){return TeaLeaf.Event.Configuration.tlurl};TeaLeaf.Event.tlSetPageIDCookie=function(a){TeaLeaf.Event.Configuration.tlpageidcookie=a};TeaLeaf.Event.tlGetPageIDCookie=function(a){return TeaLeaf.Event.Configuration.tlpageidcookie};TeaLeaf.Event.tlEventJSONCfgUtil=function(d,c,a){for(var b=0;b<d.length;b++){if(a=="all"){d[b].load=c}else{if(a==d[b].domevent){d[b].load=c}}}};TeaLeaf.Event.tlErrorHandler=function(d,c,a){var b=new Date();if(!a){a="unknown"}var g=new TeaLeaf.Event("INFO","EXCEPTION");var f=["Message",d,"URL",escape(c),"Line",a];g.tlAddData(f);TeaLeaf.Event.Configuration.tlasync=true;g.tlSend();TeaLeaf.Event.tlFlushQueue();return false};TeaLeaf.Event.tlBeforeUnload=function(){if(TeaLeaf.Event.Configuration.tleventbeforeunloadflag==true){TeaLeaf.Event.Configuration.tleventunloadflag=false;var tlevt=new TeaLeaf.Event("PERFORMANCE","BeforeUnload");TeaLeaf.Event.SetType=tlevt.EventType;if(TeaLeaf.Event.SetSubType==""){TeaLeaf.Event.SetSubType=tlevt.EventSubType}else{TeaLeaf.Event.SetSubType+="; "+tlevt.EventSubType}TeaLeaf.Event.Configuration.tlbeforeunloadflag=true;TeaLeaf.Event.Configuration.tlignoresendfailure=true;TeaLeaf.Event.Configuration.tlasync=false;tlevt.tlSend();TeaLeaf.Event.tlFlushQueue(true)}TeaLeaf.Event.tlRemoveHandler(window,"beforeunload",eval(TeaLeaf.Event.tlBeforeUnload),false);TeaLeaf.Event.tlRemoveHandler(window,"unload",eval(TeaLeaf.Event.tlUnload),false)};TeaLeaf.Event.tlUnload=function(){if(TeaLeaf.Event.Configuration.tleventunloadflag){TeaLeaf.Event.Configuration.tllastdwelltime=new Date();TeaLeaf.Event.Configuration.tleventbeforeunloadflag=false;var tlevt=new TeaLeaf.Event("PERFORMANCE","Unload");TeaLeaf.Event.SetType=tlevt.EventType;if(TeaLeaf.Event.SetSubType==""){TeaLeaf.Event.SetSubType=tlevt.EventSubType}else{TeaLeaf.Event.SetSubType+="; "+tlevt.EventSubType}TeaLeaf.Event.Configuration.tlignoresendfailure=true;TeaLeaf.Event.Configuration.tlasync=false;tlevt.tlSend();TeaLeaf.Event.tlFlushQueue(true)}TeaLeaf.Event.tlRemoveHandler(window,"beforeunload",eval(TeaLeaf.Event.tlBeforeUnload),false);TeaLeaf.Event.tlRemoveHandler(window,"unload",eval(TeaLeaf.Event.tlUnload),false)};TeaLeaf.Event.EventSetup=function(){if(TeaLeaf.Event.Configuration.tlcatcherrors){TeaLeaf.Event.tlAddHandler(window,"error",TeaLeaf.Event.tlErrorHandler,false)}if(!TeaLeaf.Client){TeaLeaf.Event.tlAddHandler(window,"beforeunload",eval(TeaLeaf.Event.tlBeforeUnload),false);TeaLeaf.Event.tlAddHandler(window,"unload",eval(TeaLeaf.Event.tlUnload),false)}if(TeaLeaf.Event.Configuration.tlqueueevents){TeaLeaf.Event.tlTimerRoutine=function(){var timeAmount=TeaLeaf.Event.Configuration.tlqueueeventstimer;try{timeAmount=TeaLeaf.Event.tlFlushQueue()}catch(exc){if(TeaLeaf.Event.Configuration.tlshowexceptions){alert(exc.name+": "+exc.message+"\r\n\r\nPos 7")}}setTimeout("TeaLeaf.Event.tlTimerRoutine()",timeAmount)};setTimeout("TeaLeaf.Event.tlTimerRoutine()",TeaLeaf.Event.Configuration.tlqueueeventstimer)}TeaLeaf.Event.Loaded=true};var tmpUrl;if(window.location.protocol=="http:"){tmpUrl=TeaLeaf.Event.Configuration.tlurl}else{tmpUrl=TeaLeaf.Event.Configuration.tlsecureurl}if(tmpUrl.substr(0,1)=="/"){TeaLeaf.Event.prototype.theUrl=window.location.protocol+"//"+window.location.host+tmpUrl}else{var tlhost=window.location.protocol+"//"+window.location.host;var tlHoldUrl=document.URL;tlHoldUrl=tlHoldUrl.substr(tlhost.length+1,tlHoldUrl.length);tlHoldUrl=tlHoldUrl.substr(0,tlHoldUrl.indexOf("/"));if(tlHoldUrl!=null&&tlHoldUrl.length>0){TeaLeaf.Event.prototype.theUrl=tlhost+"/"+tlHoldUrl+"/"+tmpUrl}else{TeaLeaf.Event.prototype.theUrl=tlhost+"/"+tmpUrl}}if(TeaLeaf.Event.Configuration.tlinit==false){TeaLeaf.Event.Configuration.tlinit=true;TeaLeaf.Event.prototype.XMLData="";TeaLeaf.addOnLoad(TeaLeaf.Event.EventSetup)}};
//TeaLeafEnvCfg.js
if(typeof TeaLeaf.Env=="undefined"){TeaLeaf.Env={};if(typeof TeaLeaf.Env.Configuration=="undefined"){TeaLeaf.Env.Configuration={tlinit:false,tlinitpost:true,tlPlugins:[{tlIEplugin:"ShockwaveFlash.ShockwaveFlash.1",tlpluginname:"Shockwave Flash",tlversion:"1.0",tlenable:false},{tlIEplugin:"MediaPlayer.MediaPlayer.1",tlpluginname:"Windows Media Player",tlversion:"",tlenable:false},{tlIEplugin:"PDF.PdfCtrl.1",tlpluginname:"Adobe Acrobat",tlversion:"",tlenable:false},{tlIEplugin:"QuickTimeCheckObject.QuickTimeCheck.1",tlpluginname:"QuickTime",tlversion:"",tlenable:false}]}}};
//TeaLeafEnv.js
if(TeaLeaf.Env&&TeaLeaf.Env.Configuration){TeaLeaf.Env.tlSendPageSummary=function(){if(TeaLeaf.Configuration.tlSDK==false){if(TeaLeaf.Env.Configuration.tlinitpost==true){TeaLeaf.Env.Configuration.tlinitpost=false;var a=new TeaLeaf.Event("PERFORMANCE","INIT");TeaLeaf.Event.PageLoadMilliSecs=TeaLeaf.Event.tlDateDiff(TeaLeaf.tlStartLoad,a.date);TeaLeaf.Event.SetType=a.EventType;if(TeaLeaf.Event.SetSubType==""){TeaLeaf.Event.SetSubType=a.EventSubType}else{TeaLeaf.Event.SetSubType+="; "+a.EventSubType}TeaLeaf.Event.Configuration.tlinitflag=true;TeaLeaf.Env.tlInfo(a);TeaLeaf.Env.tlDOMDocumentInfo(a);TeaLeaf.Env.tlDOMWindowInfo(a);TeaLeaf.Env.tlDOMNavigatorInfo(a);TeaLeaf.Env.tlDOMScreenInfo(a);TeaLeaf.Env.tlPluginInfo(a);a.tlSend(true)}}};TeaLeaf.Env.tlInfo=function(b){b.tlPushXML("Info");var a=["PageLoadMilliSecs",TeaLeaf.Event.tlGetRenderTime(),"Version",TeaLeaf.Event.tlGetJSVersion(),"TimezoneOffset",b.date.getTimezoneOffset()];b.tlAddData(a);b.tlPopXML()};TeaLeaf.Env.tlDOMDocumentInfo=function(c){c.tlPushXML("Document");var b=["URL",document.URL,"Title",document.title,"Referer",document.referer,"ContentType",document.contentType,"LastModified",document.lastModified,"CharacterSet",document.characterSet,"Height",document.height,"Width",document.width];c.tlAddData(b);var a=["Anchors",document.anchors.length,"Applets",document.applets.length,"Embeds",document.embeds.length,"Forms",document.forms.length,"Images",document.images.length,"BadImages",TeaLeaf.Event.tlBadImageCount(),"Links",document.links.length,"Plugins",document.plugins.length];c.tlAddData(a);c.tlPopXML()};TeaLeaf.Env.tlDOMWindowInfo=function(e){e.tlPushXML("Window");var d=["WindowHref",escape(window.location.href),"WindowProtocol",window.location.protocol,"WindowHost",window.location.host,"WindowHostName",window.location.hostname,"WindowPort",window.location.port,"WindowPathName",window.location.pathname];e.tlAddData(d);if(window.innerHeight&&window.innerWidth){var a=["ClientSize",window.innerHeight+"x"+window.innerWidth];e.tlAddData(a)}else{if(document.body){if(document.body.clientWidth&&document.body.clientHeight){var b=["ClientSize",document.body.clientHeight+"x"+document.body.clientWidth];e.tlAddData(b)}}}var c=["FullScreen",navigator.fullScreen,"Frames",window.frames.length];e.tlAddData(c);e.tlPopXML()};TeaLeaf.Env.tlDOMNavigatorInfo=function(b){b.tlPushXML("Navigator");var a=["AppCodeName",navigator.appCodeName,"AppName",navigator.appName,"AppVersion",navigator.appVersion,"BrowserLanguage",navigator.browserLanguage,"CookieEnabled",navigator.cookieEnabled,"CPUClass",navigator.cpuClass,"Language",navigator.language,"OSCPU",navigator.oscpu,"Platform",navigator.platform,"Product",navigator.product,"SystemLanguage",navigator.systemLanguage,"UserAgent",navigator.userAgent,"UserLanguage",navigator.userLanguage,"Vendor",navigator.vendor,"VendorSub",navigator.vendorSub];b.tlAddData(a);b.tlPopXML()};TeaLeaf.Env.tlDOMScreenInfo=function(b){b.tlPushXML("Screen");var a=["AvailHeight",screen.availHeight,"AvailLeft",screen.availLeft,"AvailTop",screen.availTop,"AvailWidth",screen.availWidth,"BufferDepth",screen.bufferDepth,"ColorDepth",screen.colorDepth,"DeviceXDPI",screen.deviceXDPI,"DeviceYDPI",screen.deviceYDPI,"FontSmoothingEnabled",screen.fontSmoothingEnabled,"Height",screen.height,"Left",screen.left,"LogicalXDPI",screen.logicalXDPI,"LogicalYDPI",screen.logicalYDPI,"Top",screen.top,"UpdateInterval",screen.updateInterval,"Width",screen.width];b.tlAddData(a);b.tlPopXML()};TeaLeaf.Env.tlPluginInfo=function(k){if(window.ActiveXObject){for(var d=0;d<TeaLeaf.Env.Configuration.tlPlugins.length;d++){if(TeaLeaf.Env.Configuration.tlPlugins[d].tlenable){var b=TeaLeaf.Env.Configuration.tlPlugins[d].tlIEplugin;try{var a=new ActiveXObject(b);if(a){k.tlPushXML("Plugin");var h=["pluginname",TeaLeaf.Env.Configuration.tlPlugins[d].tlpluginname,"version",TeaLeaf.Env.Configuration.tlPlugins[d].tlversion];k.tlAddData(h);k.tlPopXML()}}catch(g){}}}}else{for(var d=0;d<navigator.plugins.length;d++){for(var c=0;c<TeaLeaf.Env.Configuration.tlPlugins.length;c++){if(TeaLeaf.Env.Configuration.tlPlugins[c].tlenable){var f=navigator.plugins[d].name.substr(0,TeaLeaf.Env.Configuration.tlPlugins[c].tlpluginname.length);if(f==TeaLeaf.Env.Configuration.tlPlugins[c].tlpluginname){TeaLeaf.Env.Configuration.tlPlugins[c].tlenable=false;k.tlPushXML("Plugin");var h=["pluginname",TeaLeaf.Env.Configuration.tlPlugins[c].tlpluginname,"version",TeaLeaf.Env.Configuration.tlPlugins[c].tlversion];k.tlAddData(h);k.tlPopXML()}}}}}};TeaLeaf.Env.CallInit=function(){TeaLeaf.addOnLoad(TeaLeaf.Env.tlSendPageSummary)};if(TeaLeaf.Env.Configuration.tlinit==false){TeaLeaf.Env.Configuration.tlinit=true;TeaLeaf.Env.CallInit()}};
//TeaLeafClientCfg.js
if(typeof TeaLeaf.Client=="undefined"){TeaLeaf.Client={};if(typeof TeaLeaf.Client.Configuration=="undefined"){TeaLeaf.Client.Configuration={tlinit:false,tlpassword:1,tlsendfocus:false,tlsendblur:true,tlunloadflag:true,tlactiontype:"No Submit",tlbeforeunloadflag:true,tlcontrolsattached:false,tlassignTLID:false,tlscanupdate:0,tlScheduledScan:true,tlExcludeTags:true,tlUniversalAttach:false,tlStoreQueueInCookie:false,tlFieldBlock:[{tlfieldname:"TLCREDITCARD",caseinsensitive:true,eventvaluereplace:"",eventnovalue:true},{tlfieldname:"tlpassword",caseinsensitive:true,eventvaluereplace:"",eventnovalue:true},{tlfieldname:"tlpwd",caseinsensitive:true,eventvaluereplace:"",eventnovalue:true},{tlfieldname:"tlqty",caseinsensitive:true,eventvaluereplace:"333",eventnovalue:false}],tlFieldBlockMap:null,tlWindowHandlers:[{domevent:"resize",load:false,tlhandler:"TeaLeaf.Client.tlQueueResize"},{domevent:"focus",load:true,tlhandler:"TeaLeaf.Client.tlSetFocusTime"},{domevent:"help",load:true,tlhandler:"TeaLeaf.Client.tlAddEvent"},{domevent:"scroll",load:false,tlhandler:"TeaLeaf.Client.tlQueueScroll"},{domevent:"beforeprint",load:false,tlhandler:"TeaLeaf.Client.tlAddEvent"},{domevent:"afterprint",load:false,tlhandler:"TeaLeaf.Client.tlAddEvent"}],tlDocumentHandlers:[{domevent:"click",load:true,tlhandler:"TeaLeaf.Client.tlAddEvent"},{domevent:"dblclick",load:true,tlhandler:"TeaLeaf.Client.tlAddEvent"},{domevent:"keyup",load:true,tlhandler:"TeaLeaf.Client.tlQueueKey"},{domevent:"mousedown",load:false,tlhandler:"TeaLeaf.Client.tlAddEvent"},{domevent:"mouseup",load:false,tlhandler:"TeaLeaf.Client.tlAddEvent"},{domevent:"mouseover",load:false,tlhandler:"TeaLeaf.Client.tlAddEvent"},{domevent:"mouseout",load:false,tlhandler:"TeaLeaf.Client.tlAddEvent"},{domevent:"mousemove",load:false,tlhandler:"TeaLeaf.Client.tlUserMovement"}],tlSingleAttach:[{domelementID:"",domevent:"mousedown",tlhandler:"TeaLeaf.Client.tlAddEvent"},{domelementID:"",domevent:"mouseup",tlhandler:"TeaLeaf.Client.tlAddEvent"},{domelementID:"",domevent:"mouseover",tlhandler:"TeaLeaf.Client.tlAddEvent"},{domelementID:"",domevent:"mouseout",tlhandler:"TeaLeaf.Client.tlAddEvent"}],tlNodeTags:{APPLET:true,ATTRIBUTE:true,B:true,BASE:true,BODY:true,BR:true,CENTER:true,COL:true,COLGROUP:true,COMMENT:true,DIV:true,DEFAULT:true,DEL:true,EVENT:true,FONT:true,FORM:true,HEAD:true,HISTORY:true,HR:true,HTML:true,I:true,INS:true,LINK:true,MAP:true,META:true,NAMESPACE:true,NAVIGGATOR:true,NOBR:true,OPTION:true,P:true,PARAM:true,S:true,SCRIPT:true,SMALL:true,STRIKE:true,STRONG:true,STYLE:true,SUB:true,SUP:true,TH:true,TITLE:true,THEAD:true,TFOOT:true,TR:true,U:true},tlSpecialChildNodeTags:{NOBR:true,P:true}};TeaLeaf.Client.Configuration.tlIdCounter=[]}};
//TeaLeafClient.js
if(TeaLeaf.Client&&TeaLeaf.Client.Configuration){TeaLeaf.Client.tlTimeoutID=-1;TeaLeaf.Client.tlEnableAllEventHandlers=function(a){if(a){if(a==window){TeaLeaf.Client.tlClientJSONCfgUtil(TeaLeaf.Client.Configuration.tlWindowHandlers,true,"all")}else{if(a==document){TeaLeaf.Client.tlClientJSONCfgUtil(TeaLeaf.Client.Configuration.tlDocumentHandlers,true,"all")}}}else{TeaLeaf.Client.tlClientJSONCfgUtil(TeaLeaf.Client.Configuration.tlWindowHandlers,true,"all");TeaLeaf.Client.tlClientJSONCfgUtil(TeaLeaf.Client.Configuration.tlDocumentHandlers,true,"all")}};TeaLeaf.Client.tlEnableEventHandler=function(b,a){if(b==window){TeaLeaf.Client.tlClientJSONCfgUtil(TeaLeaf.Client.Configuration.tlWindowHandlers,true,a)}else{TeaLeaf.Client.tlClientJSONCfgUtil(TeaLeaf.Client.Configuration.tlDocumentHandlers,true,a)}};TeaLeaf.Client.tlDisableAllEventHandlers=function(a){if(a){if(a==window){TeaLeaf.Client.tlClientJSONCfgUtil(TeaLeaf.Client.Configuration.tlWindowHandlers,false,"all")}else{if(a==document){TeaLeaf.Client.tlClientJSONCfgUtil(TeaLeaf.Client.Configuration.tlDocumentHandlers,false,"all")}}}else{TeaLeaf.Client.tlClientJSONCfgUtil(TeaLeaf.Client.Configuration.tlWindowHandlers,false,"all");TeaLeaf.Client.tlClientJSONCfgUtil(TeaLeaf.Client.Configuration.tlDocumentHandlers,false,"all")}};TeaLeaf.Client.tlDisableEventHandlers=function(b,a){if(b==window){TeaLeaf.Client.tlClientJSONCfgUtil(TeaLeaf.Client.Configuration.tlWindowHandlers,false,a)}else{TeaLeaf.Client.tlClientJSONCfgUtil(TeaLeaf.Client.Configuration.tlDocumentHandlers,false,a)}};TeaLeaf.Client.tlClientJSONCfgUtil=function(d,c,a){for(var b=0;b<d.length;b++){if(a=="all"){d[b].load=c}else{if(a==d[b].domevent){d[b].load=c}}}};TeaLeaf.Client.tlHasUserMovement=false;TeaLeaf.Client.tlUserMovement=function(){TeaLeaf.Client.tlHasUserMovement=true;TeaLeaf.Event.tlRemoveHandler(document,"mousemove",TeaLeaf.Client.tlUserMovement,false)};TeaLeaf.Client.tlAddIdToControl=function(d){if((d.id&&d.id!="")||(d.name&&d.name!="")){return}var e=d.tagName;var f=TeaLeaf.Client.Configuration.tlIdCounter[e];if(f==undefined){TeaLeaf.Client.Configuration.tlIdCounter[e]=0}var a="_TL_"+e+"_"+TeaLeaf.Client.Configuration.tlIdCounter[e];var c=document.getElementById(a);var b=a;if(c){while(document.getElementById("_TL_"+e+"_"+TeaLeaf.Client.Configuration.tlIdCounter[e]++)){}}d.id=b;TeaLeaf.Client.Configuration.tlIdCounter[e]++};TeaLeaf.Client.tlFindinJSON=function(a,c){var d=TeaLeaf.Client.tlGetName(a);if(d){for(var b=0;b<c.length;b++){if(d==c[b].tlfieldname){return c[b]}}}};TeaLeaf.Client.tlIsReplace=function(b){if(!b){return false}if(typeof b=="object"){if(b.TeaLeafReplace){return true}}else{var a=document.getElementById(b);if(a.TeaLeafReplace==true){return true}if(!a){a=document.getElementsByName(b);for(var c=0;c<tlSilent.length;c++){if(a[c].TeaLeafReplace==true){return true}}}}if(b.type=="password"){return TeaLeaf.Client.Configuration.tlpassword==2}return false};TeaLeaf.Client.tlReplaceValue=function(b){var a=TeaLeaf.Client.tlGetName(b);TeaLeaf.Client.tlMakeFieldBlockMap();var c=TeaLeaf.Client.Configuration.tlFieldBlockMap[a.toLowerCase()];if(c==null){return""}if(c.eventvaluereplace.length>0){return c.eventvaluereplace}else{return""}};TeaLeaf.Client.tlIsExcluded=function(b){if(!b){return false}if(typeof b=="object"){if(b.TeaLeafExclude){return true}}else{var a=document.getElementById(b);if(a){if(a.TeaLeafExclude){return true}}else{a=document.getElementsByName(b);if(a){for(var c=0;c<a.length;c++){if(a[c].TeaLeafExclude){return true}}}}return false}if(b.type=="password"){return TeaLeaf.Client.Configuration.tlpassword==2}return false};TeaLeaf.Client.tlGetName=function(c){if(c==null){return null}var b=c.id;if(b&&b!=""){return b}var a=c.name;if(a&&a!=""){return a}return null};TeaLeaf.Client.tlGetEventSource=function(b){var a=null;if(b){if(b.srcElement){a=b.srcElement}else{a=b.target;if(a==null){a=b.explicitOriginalTarget;if(a==null){a=b.originalTarget}}}if(a&&(a.name==null||a.name=="")){if(a.parentNode&&a.parentNode.tagName){if(a.parentNode.tagName=="A"||a.parentNode.tagName=="LINK"){a=a.parentNode}}}}return a};TeaLeaf.Client.tlGetAnchor=function(c,b){if(c==null){return null}if(c.name&&c.name!=""){return null}var a;for(a=0;a<document.anchors.length;a++){if(document.anchors[a]==c){if(b){return"<AnchorElement>"+a+"</AnchorElement>\r\n"}else{return"Anchor-"+a}}}for(a=0;a<document.links.length;a++){if(document.links[a]==c){if(b){return"<LinkElement>"+a+"</LinkElement>\r\n"}else{return"Link-"+a}}}return null};TeaLeaf.Client.checkIsInput=function(a){if(typeof(a)=="string"){a=document.getElementById(a)}switch(a.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return true}return false};TeaLeaf.Event.tlFormatXMLName=function(d){if(!d||d.length<=0){return null}var b="";if(!TeaLeaf.Event.tlNameStartChar(d.charCodeAt(0))){b="_"}var a=d.length;var c;for(c=0;c<a;c++){if(TeaLeaf.Event.tlNameChar(d.charCodeAt(c))){b=b+d.charAt(c)}else{b=b+"_"}}return b};TeaLeaf.Event.tlNameStartChar=function(a){return(a>=65&&a<=90)||a==95||(a>=97&&a<=122)||(a>=192&&a<=214)||(a>=216&&a<=246)||(a>=248&&a<=767)||(a>=880&&a<=893)||(a>=895&&a<=8191)||(a>=8204&&a<=8205)||(a>=8304&&a<=8591)||(a>=11264&&a<=12271)||(a>=12289&&a<=55295)||(a>=63744&&a<=64975)||(a>=65008&&a<=65533)};TeaLeaf.Event.tlNameChar=function(a){return TeaLeaf.Event.tlNameStartChar(a)||a==45||a==46||(a>=48&&a<=57)||a==183||(a>=768&&a<=879)||(a>=8255&&a<=8256)};TeaLeaf.Client.tlQueuedKeys="";TeaLeaf.Client.tlQueueKey=function(d){TeaLeaf.Client.tlSendResize();TeaLeaf.Client.tlSendScroll();if(!d){d=window.event}if(d.keyCode<32){return}var c=TeaLeaf.Client.tlGetEventSource(d);if(!c){return}if(!c.TeaLeafFocusTime){c.TeaLeafFocusTime=new Date()}if(TeaLeaf.Client.tlQueuedKeySource){if(TeaLeaf.Client.tlQueuedKeySource!=c){if(TeaLeaf.Client.tlQueuedKeys&&TeaLeaf.Client.tlQueuedKeys.length>0){TeaLeaf.Client.tlSendKeys()}TeaLeaf.Client.tlQueuedKeySource=c}}else{TeaLeaf.Client.tlQueuedKeySource=c}var b=TeaLeaf.Client.tlGetName(c);var a=null;if(!b){a=TeaLeaf.Client.tlGetAnchor(c,false);if(!a){TeaLeaf.Client.tlQueuedKeySource=null;return}}else{if(TeaLeaf.Client.tlIsReplace(c)){TeaLeaf.Client.tlQueuedKeysCount++;return}if(TeaLeaf.Client.tlIsExcluded(c)){TeaLeaf.Client.tlQueuedKeys=null;TeaLeaf.Client.tlQueuedKeysCount++;return}}if(TeaLeaf.Client.tlQueuedKeys){if(TeaLeaf.Client.tlQueuedKeys.length>0){TeaLeaf.Client.tlQueuedKeys=TeaLeaf.Client.tlQueuedKeys+";"}}if(d.ctrlKey){if(TeaLeaf.Client.tlQueuedKeys){TeaLeaf.Client.tlQueuedKeys=TeaLeaf.Client.tlQueuedKeys+"ctrl-"}else{TeaLeaf.Client.tlQueuedKeys="ctrl-"}}if(d.altKey){if(TeaLeaf.Client.tlQueuedKeys){TeaLeaf.Client.tlQueuedKeys=TeaLeaf.Client.tlQueuedKeys+"alt-"}else{TeaLeaf.Client.tlQueuedKeys="alt-"}}if(d.shiftKey){if(TeaLeaf.Client.tlQueuedKeys){TeaLeaf.Client.tlQueuedKeys=TeaLeaf.Client.tlQueuedKeys+"shift-"}else{TeaLeaf.Client.tlQueuedKeys="shift-"}}TeaLeaf.Client.tlQueuedKeys=TeaLeaf.Client.tlQueuedKeys+d.keyCode};TeaLeaf.Client.tlSendKeys=function(){if(!TeaLeaf.Client.tlQueuedKeySource||(!TeaLeaf.Client.tlQueuedKeys&&!TeaLeaf.Client.tlQueuedKeysCount)){return}var e=TeaLeaf.Client.tlQueuedKeySource;var h=TeaLeaf.Client.tlQueuedKeys;var o=TeaLeaf.Client.tlQueuedKeysCount;TeaLeaf.Client.tlQueuedKeySource=null;TeaLeaf.Client.tlQueuedKeys="";TeaLeaf.Client.tlQueuedKeysCount=0;var m=false;if(TeaLeaf.Client.tlIsReplace(e)){m=true;return}var j=false;if(TeaLeaf.Client.tlIsExcluded(e)){j=true;h=null}var a=TeaLeaf.Client.tlGetName(e);var c=null;if(a==null){c=TeaLeaf.Client.tlGetAnchor(e,false);if(c==null){return}}else{if(TeaLeaf.Client.tlIsExcluded(a)){return null}}var l=new TeaLeaf.Event("GUI","KeyUp");var i=["Name",e.name,"Id",e.id,"Lev",c,"ElementType",e.type,"TagName",e.tagName,"KeyCount",o];l.tlAddData(i);if(j){var b=["Excluded","true"];l.tlAddData(b)}else{if(m){var g=TeaLeaf.Client.tlGetReplaceValue(e);var n=["ValueIn",a,a,g,"KeyCode",h];l.tlAddData(n)}else{var d=TeaLeaf.Event.tlFormatXMLName(a);var f=["ValueIn",d,d,e.value,"KeyCode",h];l.tlAddData(f)}}l.tlSend()};TeaLeaf.Client.tlSendResize=function(){if(!TeaLeaf.Client.ResizeClientX&&!TeaLeaf.Client.ResizeClientY){return}var b=new TeaLeaf.Event("GUI","Resize");var a=["ClientX",TeaLeaf.Client.ResizeClientX,"ClientY",TeaLeaf.Client.ResizeClientY,"ScreenX",TeaLeaf.Client.ResizeScreenX,"ScreenY",TeaLeaf.Client.ResizeScreenY];b.tlAddData(a);TeaLeaf.Client.ResizeClientX=null;TeaLeaf.Client.ResizeClientY=null;TeaLeaf.Client.ResizeScreenX=null;TeaLeaf.Client.ResizeScreenY=null;b.tlSend()};TeaLeaf.Client.tlQueueScroll=function(a){TeaLeaf.Client.tlSendKeys();TeaLeaf.Client.tlSendResize();if(!a){a=window.event}if(a.clientX){TeaLeaf.Client.ScrollClientX=a.clientX;TeaLeaf.Client.ScrollClientY=a.clientY;TeaLeaf.Client.ScrollScreenX=a.screenX;TeaLeaf.Client.ScrollScreenY=a.screenY}else{TeaLeaf.Client.ScrollHeight=a.target.scrollHeight;TeaLeaf.Client.ScrollWidth=a.target.scrollWidth;TeaLeaf.Client.ScrollTop=a.target.scrollTop;TeaLeaf.Client.ScrollLeft=a.target.scrollLeft}};TeaLeaf.Client.tlSendScroll=function(){if(!TeaLeaf.Client.ScrollClientX&&!TeaLeaf.Client.ScrollHeight){return}var b=new TeaLeaf.Event("GUI","Scroll");var a=["ClientX",TeaLeaf.Client.ScrollClientX,"ClientY",TeaLeaf.Client.ScrollClientY,"ScreenX",TeaLeaf.Client.ScrollScreenX,"ScreenY",TeaLeaf.Client.ScrollScreenY,"ScrollHeight",TeaLeaf.Client.ScrollHeight,"ScrollWidth",TeaLeaf.Client.ScrollWidth,"ScrollTop",TeaLeaf.Client.ScrollTop,"ScrollLeft",TeaLeaf.Client.ScrollLeft];b.tlAddData(a);TeaLeaf.Client.ScrollClientX=null;TeaLeaf.Client.ScrollClientY=null;TeaLeaf.Client.ScrollScreenX=null;TeaLeaf.Client.ScrollScreenY=null;TeaLeaf.Client.ScrollHeight=null;TeaLeaf.Client.ScrollWidth=null;TeaLeaf.Client.ScrollTop=null;TeaLeaf.Client.ScrollLeft=null;b.tlSend()};TeaLeaf.Client.tlFindAncestorByTag=function(b,a){var c=b.parentNode;while(c&&c!=window.document){if(c.nodeType!=1){continue}if(c.tagName==a){break}else{c=c.parentNode}}return c};TeaLeaf.Client.tlGetXPathFromNode=function(d){if(d==null){return null}var a=[];var h=d;var g=null;var f=null;for(var c in TeaLeaf.Client.Configuration.tlSpecialChildNodeTags){if(h.tagName.toString()==c){h=h.parentNode}}while(h!=window.document&&(h.id==null||h.id=="")){g=null;f=null;switch(h.tagName){case"TD":if(f=TeaLeaf.Client.tlFindAncestorByTag(h,"TR")){g=f.cells}break;case"TR":if(f=TeaLeaf.Client.tlFindAncestorByTag(h,"TABLE")){g=f.rows}break;case"OPTION":if(f=TeaLeaf.Client.tlFindAncestorByTag(h,"SELECT")){g=f.options}break;default:f=h.parentNode;if(!f){f=window.document}g=f.childNodes;break}if(g==null){return null}var b=0;for(var c=0;c<g.length;c++){if(g[c].nodeType==1&&g[c].tagName==h.tagName){if(g[c]==h){a[a.length]=[h.tagName.toUpperCase(),b];break}b++}}h=f}if(h.id!=null&&h.id!=""){a[a.length]=[h.id]}var e=[];for(var c=a.length-1;c>=0;c--){if(a[c].length>1){e[e.length]="['"+a[c][0]+"',"+a[c][1]+"]"}else{e[e.length]="['"+a[c][0].replace(/'/g,"\\'")+"']"}}return"["+e.join(",")+"]"};TeaLeaf.Client.tlGetNodeFromXPath=function(path,decode){if(path==null){return null}if(decode){path=TeaLeaf.Event.tlXMLDecode(path)}var xpath=eval(path);if(xpath==null){return null}var cur_node=window.document;for(var i=0;i<xpath.length;i++){found=false;if(xpath[i].length==1){cur_node=document.getElementById(xpath[i]);if(cur_node==null){return null}}else{k=0;switch(cur_node.tagName){case"TABLE":children=cur_node.rows;break;case"TR":children=cur_node.cells;break;case"SELECT":children=cur_node.options;break;default:children=cur_node.childNodes;break}for(var j=0;j<children.length;j++){if(children[j].nodeType!=1){continue}if(children[j].tagName.toUpperCase()==xpath[i][0]){if(k==xpath[i][1]){cur_node=children[j];found=true;break}k++}}if(!found){return null}}}return cur_node};window.TeaLeaf_Client_tlGetNodeFromXPath=TeaLeaf.Client.tlGetNodeFromXPath;TeaLeaf.Client.tlAddEvent=function(d){if(!d){d=window.event}if(d.tealeafMarked===true){return}var e=TeaLeaf.Client.tlGetEventSource(d);if(!e){return}TeaLeaf.Client.tlSendKeys();TeaLeaf.Client.tlSendResize();TeaLeaf.Client.tlSendScroll();if(!e.TeaLeafFocusTime){switch(d.type){case"keyup":case"change":case"click":case"dblclick":case"mousedown":e.TeaLeafFocusTime=new Date();break}}if(d.type=="blur"&&e.type=="application/x-shockwave-flash"){return}if(d.type=="click"&&TeaLeaf.Client.checkIsInput(e)){TeaLeaf.Event.Configuration.tlidoflastvisitedcontrol=TeaLeaf.Client.tlGetName(e)}var i=new TeaLeaf.Event("GUI",d.type);var h=["Name",e.name,"Id",e.id,"ElementType",e.type,"TagName",e.tagName,"AltKey",d.altKey?"True":null,"CtrlKey",d.ctrlKey?"True":null,"ShiftKey",d.shiftKey?"True":null,"NodeName",d.nodeName,"NodeValue",d.nodeValue,"XPath",TeaLeaf.Client.tlGetXPathFromNode(e)];i.tlAddData(h);var j=TeaLeaf.Client.tlGetName(e);if(d.type=="blur"&&e.TeaLeafFocusTime){var a=new Date();var l=["TimeInControl",TeaLeaf.Event.tlDateDiff(a,e.TeaLeafFocusTime)];i.tlAddData(l);e.TeaLeafFocusTime=null}if(e.TeaLeafExclude){var b=["Excluded","true"];i.tlAddData(b)}else{var c=TeaLeaf.Event.tlFormatXMLName(j);var g=e.TeaLeafReplace?TeaLeaf.Client.tlReplaceValue(e):e.value;var f=["ValueIn",c,c,g,"KeyCode",d.keyCode];i.tlAddData(f)}i.tlSend()};TeaLeaf.Client.tlHandleFormSubmit=function(j){TeaLeaf.Client.Configuration.tlactiontype="Submit";TeaLeaf.Client.tlSendKeys();TeaLeaf.Client.tlSendResize();TeaLeaf.Client.tlSendScroll();if(!j){j=window.event}var l=TeaLeaf.Client.tlGetEventSource(j);if(!l){return}var m;if(!l.name){var b=document.forms;for(m=0;m<b.length;m++){if(b[m]==l){l.name="Ordinal-"+m;break}}}if(!l.name){return}if(TeaLeaf.Client.tlIsReplace(l)){var o=TeaLeaf.Client.tlGetReplaceValue(l);var c=TeaLeaf.Client.tlGetName(l);var r=["ValueIn",c,c,o];q.tlAddData(r)}var q=new TeaLeaf.Event("GUI",j.type);var p=["Name",l.name,"Id",l.id,"ElementType",l.type,"TagName",l.tagName,"AltKey",j.altKey?"True":null,"CtrlKey",j.ctrlKey?"True":null,"ShiftKey",j.shiftKey?"True":null,"NodeName",j.nodeName,"NodeValue",j.nodeValue,"VisitOrder",TeaLeaf.Event.Configuration.tlvisitorder];q.tlAddData(p);var f=l.getElementsByTagName("INPUT");var a=["InputFieldCount",f.length];q.tlAddData(a);q.tlPushXML("InputFields");for(m=0;m<f.length;m++){var e=f[m];if(!e.name){continue}q.tlPushXML("Field"+m);var d=["Name",e.name,"Id",e.id,"ElementType",e.type,"TagName",e.tagName];q.tlAddData(d);if(TeaLeaf.Client.tlIsExcluded(c)){var g=["Excluded","true"];q.tlAddData(g)}else{if(TeaLeaf.Client.tlIsReplace(e.name)){var o=TeaLeaf.Client.tlGetReplaceValue(e);var c=TeaLeaf.Client.tlGetName(e);var r=["ValueIn",c,c,o];q.tlAddData(r)}else{var h=TeaLeaf.Event.tlFormatXMLName(e.name);var n=["ValueIn",h,h,e.value];q.tlAddData(n)}}q.tlPopXML()}q.tlPopXML();q.tlSend();TeaLeaf.Event.Configuration.tlvisitorder=""};TeaLeaf.Client.tlQueueResize=function(a){TeaLeaf.Client.tlSendKeys();TeaLeaf.Client.tlSendScroll();if(!a){a=window.event}if(a.clientX){TeaLeaf.ResizeClientX=a.clientX;TeaLeaf.ResizeClientY=a.clientY;TeaLeaf.ResizeScreenX=a.screenX;TeaLeaf.ResizeScreenY=a.screenY}else{TeaLeaf.ResizeClientX=a.target.width;TeaLeaf.ResizeClientY=a.target.height}};TeaLeaf.Client.tlHandleFormReset=function(c){TeaLeaf.Client.tlSendKeys();TeaLeaf.Client.tlSendResize();TeaLeaf.Client.tlSendScroll();if(!c){c=window.event}var d=TeaLeaf.Client.tlGetEventSource(c);if(!d){return}var e;if(!d.name){var a=document.forms;for(e=0;e<a.length;e++){if(a[e]==d){d.name="Ordinal-"+e;break}}}if(name==null){return}if(TeaLeaf.Client.tlIsReplace(d)){var f=TeaLeaf.Client.tlGetReplaceValue(d);var b=TeaLeaf.Client.tlGetName(d);var j=["ValueIn",b,b,f];h.tlAddData(j)}var h=new TeaLeaf.Event("GUI",c.type);var g=["Name",d.name,"Id",d.id,"ElementType",d.type,"TagName",d.tagName,"AltKey",c.altKey?"True":null,"CtrlKey",c.ctrlKey?"True":null,"ShiftKey",c.shiftKey?"True":null,"NodeName",c.nodeName,"NodeValue",c.nodeValue,"VisitOrder",TeaLeaf.Event.Configuration.tlvisitorder];h.tlAddData(g);h.tlSend();TeaLeaf.tlVisitOrder=""};TeaLeaf.Client.tlBeforeUnload=function(){if(TeaLeaf.Client.tlBeforeUnloadFired){return}TeaLeaf.Client.tlBeforeUnloadFired=true;if(typeof TeaLeaf.Cookie!="undefined"&&TeaLeaf.Client.Configuration.tlStoreQueueInCookie){var c=new Date();c.setTime(c.getTime()+300000);var b=TeaLeaf.Event.tlQueuedXML.replace(/(\r|\n)/g,"").replace(/;/g,"%3B");TeaLeaf.Cookie.tlSetCookieValue("tlQueuedXML",b,c,"/")}if(TeaLeaf.Client.Configuration.tlbeforeunloadflag==true){TeaLeaf.Event.Configuration.tllastdwelltime=new Date();TeaLeaf.Client.Configuration.tlunloadflag=false;var e=new TeaLeaf.Event("PERFORMANCE","BeforeUnload");TeaLeaf.Event.SetType=e.EventType;if(TeaLeaf.Event.SetSubType==""){TeaLeaf.Event.SetSubType=e.EventSubType}else{TeaLeaf.Event.SetSubType+="; "+e.EventSubType}TeaLeaf.Event.Configuration.tlbeforeunloadflag=true;var a=["MouseMove",TeaLeaf.Client.tlHasUserMovement?"TRUE":"FALSE","Action",TeaLeaf.Client.Configuration.tlactiontype,"VisitOrder",TeaLeaf.Event.Configuration.tlvisitorder];e.tlAddData(a);TeaLeaf.Event.Configuration.tlasync=false;e.tlSend();TeaLeaf.Event.tlFlushQueue(true);TeaLeaf.Event.Configuration.tlvisitorder="";TeaLeaf.Client.tlDetachFromAllControls()}};TeaLeaf.Client.tlUnload=function(){if(TeaLeaf.Client.Configuration.tlunloadflag){TeaLeaf.Event.Configuration.tllastdwelltime=new Date();TeaLeaf.Client.Configuration.tlbeforeunloadflag=false;var b=new TeaLeaf.Event("PERFORMANCE","Unload");TeaLeaf.Event.SetType=b.EventType;if(TeaLeaf.Event.SetSubType==""){TeaLeaf.Event.SetSubType=b.EventSubType}else{TeaLeaf.Event.SetSubType+="; "+b.EventSubType}var a=["MouseMove",TeaLeaf.Client.tlHasUserMovement?"TRUE":"FALSE","Action",TeaLeaf.Client.Configuration.tlactiontype,"VisitOrder",TeaLeaf.Event.Configuration.tlvisitorder];b.tlAddData(a);TeaLeaf.Event.Configuration.tlasync=false;b.tlSend();TeaLeaf.Event.tlFlushQueue(true);TeaLeaf.Event.Configuration.tlvisitorder="";TeaLeaf.Client.tlDetachFromAllControls()}};TeaLeaf.Client.tlAttachToAllControls=function(){TeaLeaf.Client.Configuration.tlcontrolsattached=true;TeaLeaf.Client.tlAttachToControls(window);try{var a;for(a=0;a<window.frames.length;a++){if(window==window.frames[a]){continue}TeaLeaf.Client.tlAttachToControls(window.frames[a])}}catch(b){}};TeaLeaf.Client.tlSingleAttach=function(){var tldomsingleelements=TeaLeaf.Client.Configuration.tlSingleAttach;for(var i=0;i<tldomsingleelements.length;i++){if(tldomsingleelements[i].domelementID&&tldomsingleelements[i].domelementID!=""){var tlelement=document.getElementById(tldomsingleelements[i].domelementID);if(tlelement){var func=eval(tldomsingleelements[i].tlhandler);TeaLeaf.Event.tlAddHandler(tlelement,tldomsingleelements[i].domevent,func,false)}}}};TeaLeaf.Client.tlAttachToControls=function(win){try{TeaLeaf.Event.tlAddHandler(win,"beforeunload",eval(TeaLeaf.Client.tlBeforeUnload),false);TeaLeaf.Event.tlAddHandler(win,"unload",eval(TeaLeaf.Client.tlUnload),false);var handlers=TeaLeaf.Client.Configuration.tlWindowHandlers;for(var i=0;i<handlers.length;i++){if(handlers[i].load==true){var func=eval(handlers[i].tlhandler);TeaLeaf.Event.tlAddHandler(win,handlers[i].domevent,func,false)}}handlers=TeaLeaf.Client.Configuration.tlDocumentHandlers;for(var i=0;i<handlers.length;i++){if(handlers[i].load==true){var func=eval(handlers[i].tlhandler);TeaLeaf.Event.tlAddHandler(win.document,handlers[i].domevent,func,false)}}TeaLeaf.Client.tlProcessNode(win.document.body)}catch(e){}};TeaLeaf.Client.tlCheckAttach=function(control){if(control.TeaLeaf||control.TeaLeafExclude){return}control.TeaLeaf=true;if(TeaLeaf.Client.Configuration.tlassignTLID){TeaLeaf.Client.tlAddIdToControl(control)}TeaLeaf.Client.tlMakeFieldBlockMap();switch(control.tagName){case"INPUT":case"SELECT":case"TEXTAREA":if(TeaLeaf.Client.Configuration.tlsendfocus){TeaLeaf.Event.tlAddHandler(control,"focus",TeaLeaf.Client.tlSetFocusTime,false)}if(TeaLeaf.Client.Configuration.tlsendblur){TeaLeaf.Event.tlAddHandler(control,"blur",TeaLeaf.Client.tlHandleBlur,false)}TeaLeaf.Event.tlAddHandler(control,"change",TeaLeaf.Client.tlAddEvent,false);item_name=TeaLeaf.Client.tlGetName(control);if(item_name==null){break}lower_item_name=item_name.toLowerCase();map_item=TeaLeaf.Client.Configuration.tlFieldBlockMap[lower_item_name];if(map_item==null){break}if(map_item.tlfieldname==item_name||(map_item.caseinsensitive&&map_item.tlfieldname==lower_item_name)){control.TeaLeafExclude=map_item.eventnovalue;control.TeaLeafReplace=map_item.eventvaluereplace.length>0}break}if(TeaLeaf.Client.Configuration.tlUniversalAttach){var handlers=TeaLeaf.Client.Configuration.tlDocumentHandlers;for(var i=0;i<handlers.length;i++){if(handlers[i]["load"]){TeaLeaf.Event.tlAddHandler(control,handlers[i]["domevent"],eval(handlers[i]["tlhandler"]),false)}}}};TeaLeaf.Client.tlCheckIndControls=function(d){try{if(d.document){var a=d.document.getElementsByTagName("INPUT");for(var b=0;b<a.length;b++){TeaLeaf.Client.tlCheckAttach(a[b])}a=d.document.getElementsByTagName("SELECT");for(var b=0;b<a.length;b++){TeaLeaf.Client.tlCheckAttach(a[b])}a=d.document.getElementsByTagName("BODY");if(a.length>0){a=a[0].getElementsByTagName("*");for(var b=0;b<a.length;b++){TeaLeaf.Client.tlCheckAttach(a[b])}}}}catch(c){}};TeaLeaf.Client.tlProcessNode=function(g,b){if(typeof(g)=="string"){g=document.getElementById(g)}if(g==null){return}try{switch(g.tagName){case"INPUT":case"SELECT":case"TEXTAREA":TeaLeaf.Client.tlCheckAttach(g);break;default:if(TeaLeaf.Client.Configuration.tlUniversalAttach&&TeaLeaf.Client.tlTagNameAllowed(g.tagName)){TeaLeaf.Client.tlCheckAttach(g)}break}if(!b){var d=["INPUT","SELECT","TEXTAREA"];for(var c=0;c<d.length;c++){items=g.getElementsByTagName(d[c]);for(var a=0;a<items.length;a++){TeaLeaf.Client.tlCheckAttach(items[a])}}if(TeaLeaf.Client.Configuration.tlUniversalAttach){if(TeaLeaf.Client.Configuration.tlExcludeTags){items=g.getElementsByTagName("*");for(var c=0;c<items.length;c++){if(TeaLeaf.Client.tlTagNameAllowed(items[c].tagName)){TeaLeaf.Client.tlCheckAttach(items[c])}}}else{for(var c in TeaLeaf.Client.Configuration.tlNodeTags){items=g.getElementsByTagName(c);for(var a=0;a<items.length;a++){TeaLeaf.Client.tlCheckAttach(items[a])}}}}}}catch(f){}};TeaLeaf.Client.tlSetFocusTime=function(b){if(!b){b=window.event}var a=TeaLeaf.Client.tlGetEventSource(b);if(!a||a.type=="application/x-shockwave-flash"){return}var a=TeaLeaf.Client.tlGetEventSource(b);if(!a){return}if(!a.TeaLeafFocusTime){a.TeaLeafFocusTime=new Date()}if(TeaLeaf.Client.Configuration.tlsendfocus){TeaLeaf.Client.tlAddEvent(b)}};TeaLeaf.Client.tlHandleBlur=function(b){if(!b){b=window.event}var a=TeaLeaf.Client.tlGetEventSource(b);if(!a||a.type=="application/x-shockwave-flash"){return}TeaLeaf.Client.tlEndVisit(a);if(TeaLeaf.Client.checkIsInput(a)){TeaLeaf.Event.Configuration.tlidoflastvisitedcontrol=TeaLeaf.Client.tlGetName(a)}if(TeaLeaf.Client.Configuration.tlsendblur){TeaLeaf.Client.tlAddEvent(b)}};TeaLeaf.Client.tlEndVisit=function(c){if(c.TeaLeafFocusTime){var a=TeaLeaf.Client.tlGetName(c);if(!a){a=TeaLeaf.Client.tlGetAnchor(c,false);if(a){a="LEVEL"+a}else{a="unnamed"}}var d=TeaLeaf.Event.tlDateDiff(c.TeaLeafFocusTime,new Date());var b=a+":"+d;if(TeaLeaf.Event.Configuration.tlvisitorder!=""){TeaLeaf.Event.Configuration.tlvisitorder=TeaLeaf.Event.Configuration.tlvisitorder+";"+b}else{TeaLeaf.Event.Configuration.tlvisitorder=b}}};TeaLeaf.Client.tlDetachFromAllControls=function(){TeaLeaf.Client.Configuration.tlcontrolsattached=false;TeaLeaf.Client.tlDetachFromControls(window);try{var b;for(b=0;b<window.frames.length;b++){var a=window.frames[b];TeaLeaf.Client.tlDetachFromControls(a)}}catch(c){}};TeaLeaf.Client.tlDetachFromControls=function(win){try{var handlers=TeaLeaf.Client.Configuration.tlWindowHandlers;for(var i=0;i<handlers.length;i++){var func=eval(handlers[i].tlhandler);TeaLeaf.Event.tlRemoveHandler(win,handlers[i].domevent,func,false)}handlers=TeaLeaf.Client.Configuration.tlDocumentHandlers;for(var i=0;i<handlers.length;i++){var func=eval(handlers[i].tlhandler);TeaLeaf.Event.tlRemoveHandler(win.document,handlers[i].domevent,func,false)}var items=win.document.getElementsByTagName("INPUT");var i;for(i=0;i<items.length;i++){TeaLeaf.Event.tlRemoveHandler(items[i],"change",TeaLeaf.Client.tlAddEvent,false);TeaLeaf.Event.tlRemoveHandler(items[i],"focus",TeaLeaf.Client.tlSetFocusTime,false);TeaLeaf.Event.tlRemoveHandler(items[i],"blur",TeaLeaf.Client.tlHandleBlur,false);items[i].TeaLeaf=false}items=win.document.getElementsByTagName("SELECT");for(i=0;i<items.length;i++){TeaLeaf.Event.tlRemoveHandler(items[i],"change",TeaLeaf.Client.tlAddEvent,false);TeaLeaf.Event.tlRemoveHandler(items[i],"focus",TeaLeaf.Client.tlSetFocusTime,false);TeaLeaf.Event.tlRemoveHandler(items[i],"blur",TeaLeaf.Client.tlHandleBlur,false);items[i].TeaLeaf=false}}catch(e){}};TeaLeaf.Client.tlAttachToControl=function(domelement,eventtype,eventHandler){if(eventHandler){TeaLeaf.Event.tlAddHandler(domelement,eventtype,eventHandler,false)}else{TeaLeaf.Event.tlAddHandler(domelement,eventtype,eval(TeaLeaf.Client.tlAddEvent),false)}};TeaLeaf.Client.tlDetachFromControl=function(domelement,eventtype,eventHandler){if(eventHandler){TeaLeaf.Event.tlRemoveHandler(domelement,eventtype,eventHandler,false)}else{TeaLeaf.Event.tlRemoveHandler(domelement,eventtype,eval(TeaLeaf.Client.tlAddEvent),false)}};TeaLeaf.Client.tlMarkBlocked=function(a){TeaLeaf.Client.tlMakeFieldBlockMap();if(a==null){a=document.getElementsByTagName("INPUT")}for(var b=0;b<a.length;b++){item_name=TeaLeaf.Client.tlGetName(a[b]);if(item_name==null){continue}lower_item_name=item_name.toLowerCase();map_item=TeaLeaf.Client.Configuration[lower_item_name];if(map_item==null){continue}if(map_item.tlfieldname==item_name||(map_item.caseinsensitive&&map_item.tlfieldname==lower_item_name)){a[b].TeaLeafExclude=map_item.eventnovalue;a[b].TeaLeafReplace=map_item.eventvaluereplace.length>0}}};TeaLeaf.Client.tlScanForAdditions=function(){if(!TeaLeaf.Client.Configuration.tlScheduledScan){return}TeaLeaf.Client.tlProcessNode(document.body);try{for(var b=0;b<window.frames.length;b++){var a=window.frames[b];TeaLeaf.Client.tlProcessNode(a.document.body)}}catch(c){}window.clearTimeout(TeaLeaf.Client.tlTimeoutID);TeaLeaf.Client.tlTimeoutID=window.setTimeout(TeaLeaf.Client.tlScanForAdditions,TeaLeaf.Client.Configuration.tlscanupdate)};TeaLeaf.Client.tlTagNameAllowed=function(a){if(a==null){return false}var b=TeaLeaf.Client.Configuration.tlNodeTags[a];if(b==null){b=false}if(TeaLeaf.Client.Configuration.tlExcludeTags){return !b}else{return b}};TeaLeaf.Client.tlMakeFieldBlockMap=function(){if(TeaLeaf.Client.Configuration.tlFieldBlockMap!=null){return}TeaLeaf.Client.Configuration.tlFieldBlockMap={};var a=TeaLeaf.Client.Configuration.tlFieldBlock;for(var b=0;b<a.length;b++){name=a[b]["tlfieldname"];if(name==null){continue}else{name=name.toLowerCase()}if(a[b]["caseinsensitive"]){a[b]["tlfieldname"]=name}TeaLeaf.Client.Configuration.tlFieldBlockMap[name]=a[b]}};TeaLeaf.Client.tlStartListeners=function(){TeaLeaf.Client.tlAttachToAllControls();TeaLeaf.Client.tlSingleAttach()};TeaLeaf.Client.tlEndListeners=function(){TeaLeaf.Event.tlFlushQueue(true);TeaLeaf.Client.tlDetachFromAllControls()};TeaLeaf.Client.tlSetup=function(){if(typeof TeaLeaf.Cookie!="undefined"){var a=TeaLeaf.Cookie.tlGetCookieValue("tlQueuedXML");if(a!=null&&a!=""){TeaLeaf.Event.tlQueuedXML+=a.replace(/%3B/g,";")}}TeaLeaf.Client.tlAttachToAllControls();TeaLeaf.Client.tlSingleAttach();window.OrigOpen=window.open;window.open=function(b,c,e,f){var g=arguments.length;var h="blocked";var d=window.OrigOpen(b,c,e,f);try{if(!d.closed){h="visible"}}catch(l){if(TeaLeaf.Event.Configuration.tlshowexceptions){alert(l.name+": "+l.message+"\r\n\r\nPos 8")}}var j=new TeaLeaf.Event("GUI","WindowOpen");var i=["Status",h,"Url",escape(b),"Name",c,"Features",e,"Replace",f];j.tlAddData(i);j.tlSend();return d};window.clearTimeout(TeaLeaf.Client.tlTimeoutID);if(TeaLeaf.Client.Configuration.tlscanupdate>0){TeaLeaf.Client.tlTimeoutID=window.setTimeout(TeaLeaf.Client.tlScanForAdditions,TeaLeaf.Client.Configuration.tlscanupdate)}};TeaLeaf.Client.CallInit=function(){TeaLeaf.Event.tlRemoveHandler(window,"beforeunload",eval(TeaLeaf.Client.tlBeforeUnload),false);TeaLeaf.Event.tlRemoveHandler(window,"unload",eval(TeaLeaf.Client.tlUnload),false);TeaLeaf.addOnLoad(TeaLeaf.Client.tlSetup)};if(TeaLeaf.Client.Configuration.tlinit==false){TeaLeaf.Client.Configuration.tlinit=true;TeaLeaf.Client.CallInit()}};
//TeaLeafCookieCfg.js
if(typeof TeaLeaf.Cookie=="undefined"){TeaLeaf.Cookie={};if(typeof TeaLeaf.Cookie.Configuration=="undefined"){TeaLeaf.Cookie.Configuration={tlinit:false,tlCookie:[{tlcookiename:"TLTSID",tlset:true,tlvalue:"",tlexpires:"",tlpath:"",tldomain:"",tlsecure:""}]}}};
//TeaLeafCookie.js
if(TeaLeaf.Cookie&&TeaLeaf.Cookie.Configuration){TeaLeaf.Cookie.tlSetCookieValue=function(f,e,a,b,c,d){document.cookie=f+"="+e+((a)?"; expires="+a.toGMTString():"")+((b)?"; path="+b:"")+((c)?"; domain="+c:"")+((d)?"; secure":"")};TeaLeaf.Cookie.tlGetCookieValue=function(c){var a=document.cookie;var d=a.indexOf(c+"=");if(d>=0){d+=c.length+1;var b=a.indexOf(";",d);if(d<=b){return a.substring(d,b)}else{if(b==-1){return a.substring(d)}}}return null};TeaLeaf.Cookie.tlBuildGuid=function(){var c="";var b;for(var a=0;a<32;a++){b=Math.floor(Math.random()*16).toString(16).toUpperCase();c=c+b}return c};TeaLeaf.Cookie.tlCheckCookieValue=function(){var c=TeaLeaf.Cookie.Configuration.tlCookie;for(var a=0;a<c.length;a++){if(TeaLeaf.Cookie.tlGetCookieValue(c[a].tlcookiename)==false){if(c[a].tlset==true){var b="";if(c[a].tlvalue==""){b=TeaLeaf.Cookie.tlBuildGuid()}TeaLeaf.Cookie.tlSetCookieValue(c[a].tlcookiename,b,c[a].tlexpires,c[a].tlpath,c[a].tldomain,c[a].tlsecure)}}}};if(TeaLeaf.Cookie.Configuration.tlinit==false){TeaLeaf.Cookie.Configuration.tlinit=true;TeaLeaf.addOnLoad(TeaLeaf.Cookie.tlCheckCookieValue)}};