function createCookie(c,d,e){if(e){var b=new Date();b.setTime(b.getTime()+(e*24*60*60*1000));var a="; expires="+b.toGMTString()}else{var a=""}document.cookie=c+"="+d+a+"; path=/"}; function readCookie(e){var c=e+"=";var d=document.cookie.split(';');for(var b=0;b<d.length;b++){var a=d[b];while(a.charAt(0)==' ')a=a.substring(1,a.length);if(a.indexOf(c)==0)return a.substring(c.length,a.length)}return null}
function JSONscriptRequest(a){this.fullUrl=a;this.noCacheIE='';this.headLoc=document.getElementsByTagName("head").item(0);this.scriptId='JscriptId'+JSONscriptRequest.scriptCounter++}
function addScript(c){var e="";for(var a in c){for(g in c[a]){for(h in c[a][g]){e+="dat["+g+"]["+h+"]="+c[a][g][h]+"&"}}}if(cookieEnabled==true){if(readCookie("_ctmb")){six=readCookie("_ctmb");six="six="+six+"&"}else{if(typeof(window.session_pid)!="undefined"){six=session_pid;six="six="+six+"&"}}}var b="prefix=4e3947c713ca4&jv="+ver+"&cookie="+cookieEnabled+"&"+six+e;b=Base64.encode(b);var d=new JSONscriptRequest("http://rs1.contentforces.com/ct/ct_base.php?"+b);d.buildScriptTag();d.addScriptTag()};
function error_(b){if(cookieEnabled==true){if(readCookie("_ctmb")){six=readCookie("_ctmb");session_=six;six="six="+six+"&"}else{if(typeof(window.session_pid)!="undefined"){six=session_pid;session_=six;six="six="+six+"&"}}}var a=new JSONscriptRequest("http://rs1.contentforces.com/ct/error.php?prefix=4e3947c713ca4&jv="+ver+"&cookie="+cookieEnabled+"&"+six+b);a.buildScriptTag();a.addScriptTag()};
function path_(a){var b=[];do{var c="";if(a.hasAttribute("title")==true){c=c+"%title:"+a.getAttribute("title")}if(a.hasAttribute("rel")==true){c=c+"%rel:"+a.getAttribute("rel")}if(a.hasAttribute("alt")==true&&a.getAttribute("alt")!=""){c=c+"%alt:"+a.getAttribute("alt")}if(a.nodeName=="A"){c=c+"@"+a.getAttribute("href");c=c+"$A:"+a.innerHTML}if(a.nodeName=="H1"){c=c+"$H1:"+a.innerHTML}if(a.nodeName=="H2"){c=c+"$H2:"+a.innerHTML}b.unshift((a.id?a.id+"#":(a.className?a.className+".":""))+a.nodeName+c)}while((a.nodeName.toLowerCase()!="html")&&(a=a.parentNode));return b.join(">")};
function src_(a){var b=[];var c="";do{if(a.nodeName=="A"){c=a.getAttribute("href");return c}else{c=""}b.unshift((a.id?a.id+"#":(a.className?a.className+".":""))+a.nodeName+c)}while((a.nodeName.toLowerCase()!="html")&&(a=a.parentNode));return false};
function flag_obj() {this.value = 1; }
var Base64={_0:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(b){var c="";var d,a,e,i,j,h,f;var g=0;b=Base64._1(b);while(g<b.length){d=b.charCodeAt(g++);a=b.charCodeAt(g++);e=b.charCodeAt(g++);i=d>>2;j=((d&3)<<4)|(a>>4);h=((a&15)<<2)|(e>>6);f=e&63;if(isNaN(a)){h=f=64}else if(isNaN(e)){f=64}c=c+this._0.charAt(i)+this._0.charAt(j)+this._0.charAt(h)+this._0.charAt(f)}return c},_1:function(b){b=b.replace(/\r\n/g,"\n");var c="";for(var d=0;d<b.length;d++){var a=b.charCodeAt(d);if(a<128){c+=String.fromCharCode(a)}else if((a>127)&&(a<2048)){c+=String.fromCharCode((a>>6)|192);c+=String.fromCharCode((a&63)|128)}else{c+=String.fromCharCode((a>>12)|224);c+=String.fromCharCode(((a>>6)&63)|128);c+=String.fromCharCode((a&63)|128)}}return c}}
var cookieEnabled=((navigator.cookieEnabled)? true : false);
var ver = 8;
var session_ ;
var six='';
if(cookieEnabled == true) { if(readCookie('_ctmb')) { six = readCookie('_ctmb'); session_ = six; six = "six="+six+"&"; }else if(typeof( window[ 'session_pid' ] ) != "undefined") { six = session_pid; session_ = six; six = "six="+six+"&"; } } 
JSONscriptRequest.prototype.buildScriptTag=function(){this.scriptObj=document.createElement("script");this.scriptObj.setAttribute("type","text/javascript");this.scriptObj.setAttribute("charset","utf-8");this.scriptObj.setAttribute("src",this.fullUrl+this.noCacheIE);this.scriptObj.setAttribute("id",this.scriptId)}
JSONscriptRequest.prototype.removeScriptTag=function(){this.headLoc.removeChild(this.scriptObj)}
JSONscriptRequest.prototype.addScriptTag=function(){this.headLoc.appendChild(this.scriptObj)}
JSONscriptRequest.scriptCounter = 1; flag_obj.prototype.zero = function() { this.value = 0;}; flag_obj.prototype.set = function() { this.value = 1; }; flag_obj.prototype.value_ = function() { return this.value; }; var flag1 = new flag_obj();  var flag2 = new flag_obj(); setInterval(function() {flag1.set();},500); setInterval(function() {flag2.set();},100); var table =  {}; table.o = {}; var iter = 1;	var sendVal = 4; var tmp0 = {}; tmp0.x = 0; tmp0.y = 0; if(window.innerWidth) { tmp0.width = window.innerWidth; } else if(document.documentElement.offsetWidth) { tmp0.width = document.documentElement.offsetWidth; } tmp0.path = escape(window.location.href); tmp0.ref = escape(document.referrer); var foo = new Date; var unixtime_ms = foo.getTime(); var unixtime = parseInt(unixtime_ms / 1000); tmp0.ct = unixtime; tmp0.event = 0; table.o[iter] = tmp0; addScript(table); table = {}; table.o = {}; iter = 0; if (document.addEventListener) { document.addEventListener("mousemove", function(e) { if(flag1.value == 1) { var tmp = {}; tmp.x = e.pageX; tmp.y = e.pageY; tmp.eid = e.target.id; if (typeof google_conversion_id != 'undefined') { tmp.conversion = 1; } tmp.eclass = e.target.className; tmp.domPath = path_(e.target); tmp.path = escape(window.location.href); tmp.width = window.innerWidth; tmp.event = 1; if(src_( e.target)) { tmp.html = src_( e.target); } var foo = new Date; var unixtime_ms = foo.getTime(); var unixtime = parseInt(unixtime_ms / 1000); tmp.ct = unixtime; table.o[iter] = tmp; iter = iter +1; if (iter > sendVal ) { addScript(table); table = {}; table.o = {}; iter = 0; } flag1.zero(); } }, true); } else if (document.attachEvent){ document.attachEvent("onmousemove", function(e) { if(flag1.value == 1) { var pagey = e.clientY + document.documentElement.scrollTop; var pagex = e.clientX + document.documentElement.scrollLeft; var tmp = {}; tmp.x = pagex; tmp.y = pagey; tmp.width = document.documentElement.offsetWidth; tmp.eid = e.srcElement.id; if (typeof google_conversion_id != 'undefined') { tmp.conversion = 1; } if(src_( e.srcElement)) { tmp.html = src_( e.srcElement); } tmp.domPath = path_(e.srcElement); tmp.path = escape(window.location.href); tmp.event = 1; var foo = new Date; var unixtime_ms = foo.getTime(); var unixtime = parseInt(unixtime_ms / 1000); tmp.ct = unixtime; table.o[iter] = tmp; iter = iter +1; if (iter > sendVal ) { addScript(table); table = {}; table.o = {}; iter = 0; } flag1.zero(); } }); } if (document.addEventListener){ document.addEventListener("mousedown", function(e) { if(flag2.value == 1) { var tmp1 = {}; tmp1.x = e.pageX; tmp1.y = e.pageY; tmp1.eid = e.target.id; tmp1.eclass = e.target.className; tmp1.domPath = path_(e.target); tmp1.path = escape(window.location.href); tmp1.ref = escape(document.referrer); tmp1.width = window.innerWidth; if (e.target.tagName == "A") { tmp1.event = 3; } else { tmp1.event = 2; } if (typeof google_conversion_id != 'undefined') { tmp1.conversion = 1; } if(src_( e.target)) { tmp1.html = src_( e.target); } var foo = new Date; var unixtime_ms = foo.getTime(); var unixtime = parseInt(unixtime_ms / 1000); tmp1.ct = unixtime; table.o[iter] = tmp1; iter = iter +1; addScript(table); table = {}; table.o = {}; iter = 0; flag2.zero(); } }, true); } else if (document.attachEvent){ document.attachEvent("onmousedown", function(e) { if(flag2.value == 1) { var pagey = e.clientY + document.documentElement.scrollTop; var pagex = e.clientX + document.documentElement.scrollLeft; var tmp1 = {}; tmp1.x = pagex; tmp1.y = pagey; tmp1.width = document.documentElement.offsetWidth; tmp1.eid = e.srcElement.id; tmp1.domPath = path_(e.srcElement); tmp1.path = escape(window.location.href); tmp1.ref = escape(document.referrer); if(src_( e.srcElement)) { tmp1.html = src_( e.srcElement); } if (e.srcElement.tagName == "A") { tmp1.event = 3; } else { tmp1.event = 2; } if (typeof google_conversion_id != 'undefined') { tmp1.conversion = 1; } var foo = new Date; var unixtime_ms = foo.getTime(); var unixtime = parseInt(unixtime_ms / 1000); tmp1.ct = unixtime; table.o[iter] = tmp1; iter = iter +1; addScript(table); table = {}; table.o = {}; iter = 0; flag2.zero(); } }); } function confirmExit() { var tmp4 = {}; tmp4.x = 0; tmp4.y = 0; if(window.innerWidth) { tmp4.width = window.innerWidth; } else if(document.documentElement.offsetWidth) { tmp4.width = document.documentElement.offsetWidth; } tmp4.path = escape(window.location.href); tmp4.ref = escape(document.referrer); var foo = new Date; var unixtime_ms = foo.getTime(); var unixtime = parseInt(unixtime_ms / 1000); tmp4.ct = unixtime; tmp4.event = 9; table.o[iter] = tmp4; addScript(table); table = {}; table.o = {}; iter = 0; } try { window.onunload = confirmExit; } catch(e) { var eline1; var eline2; if ('number' in e) { eline1 = e.number; } if ('lineNumber' in e) { eline2 = e.lineNumber; } var str = "eline1="+eline1+"eline2="+eline2+"&msg1="+e.message+"&msg2="+e.description+"&unload=true1" ; error_(str); }
