function printStackTrace(a){var b=a&&a.e?a.e:null;a=a&&a.guess?a.guess:false;var c=new printStackTrace.implementation;b=c.run(b);return a?c.guessFunctions(b):b}printStackTrace.implementation=function(){}; printStackTrace.implementation.prototype={run:function(a){var b=this._mode||this.mode();if(b==="other")return this.other(arguments.callee);else{a=a||function(){try{0()}catch(c){return c}}();return this[b](a)}},mode:function(){try{0()}catch(a){if(a.arguments)return this._mode="chrome";if(a.stack)return this._mode="firefox";if(window.opera&&!("stacktrace"in a))return this._mode="opera"}return this._mode="other"},chrome:function(a){return a.stack.replace(/^.*?\n/,"").replace(/^.*?\n/,"").replace(/^.*?\n/, "").replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@").split("\n")},firefox:function(a){return a.stack.replace(/^.*?\n/,"").replace(/(?:\n@:0)?\s+$/m,"").replace(/^\(/gm,"{anonymous}(").split("\n")},opera:function(a){a=a.message.split("\n");var b=/Line\s+(\d+).*?script\s+(http\S+)(?:.*?in\s+function\s+(\S+))?/i,c,d,e;c=4;d=0;for(e=a.length;c<e;c+=2)if(b.test(a[c]))a[d++]=(RegExp.$3?RegExp.$3+"()@"+RegExp.$2+RegExp.$1:"{anonymous}()@"+RegExp.$2+ ":"+RegExp.$1)+" -- "+a[c+1].replace(/^\s+/,"");a.splice(d,a.length-d);return a},other:function(a){for(var b=/function\s*([\w\-$]+)?\s*\(/i,c=[],d=0,e,f;a&&c.length<10;){e=b.test(a.toString())?RegExp.$1||"{anonymous}":"{anonymous}";f=Array.prototype.slice.call(a.arguments);c[d++]=e+"("+printStackTrace.implementation.prototype.stringifyArguments(f)+")";if(a===a.caller&&window.opera)break;a=a.caller}return c},stringifyArguments:function(a){for(var b=0;b<a.length;++b){var c=a[b];if(typeof c=="object")a[b]= "#object";else if(typeof c=="function")a[b]="#function";else if(typeof c=="string")a[b]='"'+c+'"'}return a.join(",")},sourceCache:{},ajax:function(a){var b=this.createXMLHTTPObject();if(b){b.open("GET",a,false);b.setRequestHeader("User-Agent","XMLHTTP/1.0");b.send("");return b.responseText}},createXMLHTTPObject:function(){for(var a,b=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}], c=0;c<b.length;c++)try{a=b[c]();this.createXMLHTTPObject=b[c];return a}catch(d){}},getSource:function(a){a in this.sourceCache||(this.sourceCache[a]=this.ajax(a).split("\n"));return this.sourceCache[a]},guessFunctions:function(a){for(var b=0;b<a.length;++b){var c=a[b],d=/{anonymous}\(.*\)@(\w+:\/\/([-\w\.]+)+(:\d+)?[^:]+):(\d+):?(\d+)?/.exec(c);if(d){var e=d[1];d=d[4];if(e&&d){e=this.guessFunctionName(e,d);a[b]=c.replace("{anonymous}",e)}}}return a},guessFunctionName:function(a,b){try{return this.guessFunctionNameFromLines(b, this.getSource(a))}catch(c){return"getSource failed with url: "+a+", exception: "+c.toString()}},guessFunctionNameFromLines:function(a,b){for(var c=/function ([^(]*)\(([^)]*)\)/,d=/['"]?([0-9A-Za-z_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,e="",f=0;f<10;++f){e=b[a-f]+e;if(e!==undefined){var g=d.exec(e);if(g)return g[1];else g=c.exec(e);if(g&&g[1])return g[1]}}return"(?)"}};var $goog$global$$=this;
function $goog$exportPath_$$($name$$39_parts$$,$opt_object$$,$cur_opt_objectToExportTo$$){$name$$39_parts$$=$name$$39_parts$$.split(".");$cur_opt_objectToExportTo$$=$cur_opt_objectToExportTo$$||$goog$global$$;!($name$$39_parts$$[0]in $cur_opt_objectToExportTo$$)&&$cur_opt_objectToExportTo$$.execScript&&$cur_opt_objectToExportTo$$.execScript("var "+$name$$39_parts$$[0]);for(var $part$$;$name$$39_parts$$.length&&($part$$=$name$$39_parts$$.shift());)if(!$name$$39_parts$$.length&&$opt_object$$!==undefined)$cur_opt_objectToExportTo$$[$part$$]=
$opt_object$$;else $cur_opt_objectToExportTo$$=$cur_opt_objectToExportTo$$[$part$$]?$cur_opt_objectToExportTo$$[$part$$]:($cur_opt_objectToExportTo$$[$part$$]={})};var $picnet$met$Utils$$=function(){return{$padString$:function($s$$2$$,$len$$,$padChar$$){$padChar$$||($padChar$$="0");var $ps$$="";if($len$$<=$s$$2$$.length)return $s$$2$$;for(var $i$$3$$=0;$i$$3$$<$len$$-$s$$2$$.length;$i$$3$$++)$ps$$+=$padChar$$;return $ps$$+$s$$2$$.toString()}}}(),$debugDisabled$$=false;
if(typeof window.$debug$==="undefined")var $debug$$=function $$debug$$$($msg$$4$$){if(!$debugDisabled$$)if(typeof console!=="undefined"&&typeof console.log!=="undefined")console.log($msg$$4$$);else if(typeof console!=="undefined"&&typeof console.$debug$!=="undefined")console.$debug$($msg$$4$$);else $debugDisabled$$=true};var $picnet$met$StepEntryUtil$$=function(){function $getMap$$($s$$3$$){for(var $d$$={},$i$$4$$=0;$i$$4$$<$s$$3$$.length;$i$$4$$++)$d$$[$s$$3$$.charAt($i$$4$$)]=$i$$4$$;$d$$.length=$s$$3$$.length;$d$$.$chars$=$s$$3$$;return $d$$}function $baseConvert$$($n_x$$37$$,$fromdigits_res$$,$todigits$$){var $number$$=""+$n_x$$37$$;for(var $i$$5$$=$n_x$$37$$=0;$i$$5$$<$number$$.length;$i$$5$$++)$n_x$$37$$=$n_x$$37$$*$fromdigits_res$$.length+$fromdigits_res$$[$number$$.charAt($i$$5$$)];for($fromdigits_res$$="";$n_x$$37$$>
0;){$fromdigits_res$$=$todigits$$.$chars$.charAt($n_x$$37$$%$todigits$$.length)+$fromdigits_res$$;$n_x$$37$$=parseInt($n_x$$37$$/$todigits$$.length,10)}return $fromdigits_res$$||"0"}var $encoded$$=$getMap$$("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_.~"),$cleartxt$$=$getMap$$("0123456789");return{$compressInt$:function($n$$1$$){return $n$$1$$.toString(36)},$decompressInt$:function($compressed$$){return parseInt($compressed$$,36)},$compressIntsV3$:function($ns$$,$pad$$){$pad$$=
$pad$$||2;for(var $compressed$$1$$=[],$i$$6$$=0,$len$$1$$=$ns$$.length;$i$$6$$<$len$$1$$;$i$$6$$++)$compressed$$1$$.push($picnet$met$StepEntryUtil$$.$compressIntV3$($ns$$[$i$$6$$],$pad$$));return $compressed$$1$$.join("")},$compressIntV3$:function($n$$2_res$$1$$,$pad$$1$$,$ignoremaxcheck_max$$){if($n$$2_res$$1$$<0)throw new Error("Minimum number is 0 - "+$n$$2_res$$1$$);if(!$ignoremaxcheck_max$$&&$pad$$1$$){$ignoremaxcheck_max$$=Math.pow($encoded$$.length,$pad$$1$$);if($n$$2_res$$1$$>=$ignoremaxcheck_max$$)throw new Error("Maximum (inclusive) number is "+
$ignoremaxcheck_max$$+" - "+$n$$2_res$$1$$);}$n$$2_res$$1$$=$baseConvert$$($n$$2_res$$1$$,$cleartxt$$,$encoded$$);return!$n$$2_res$$1$$?"0":$picnet$met$Utils$$.$padString$($n$$2_res$$1$$,$pad$$1$$||1,"0")},$decompressIntsV3$:function($compressed$$2$$,$pad$$2$$){if($pad$$2$$===undefined)$pad$$2$$=2;for(var $numbers$$=[],$i$$7$$=0;$i$$7$$<$compressed$$2$$.length;$i$$7$$+=$pad$$2$$){for(var $num$$4$$="",$j$$1$$=0;$j$$1$$<$pad$$2$$;$j$$1$$++)$num$$4$$+=$compressed$$2$$.charAt($i$$7$$+$j$$1$$);$numbers$$.push(parseInt($baseConvert$$($num$$4$$,
$encoded$$,$cleartxt$$),10))}return $numbers$$},$decompressIntV3$:function($compressed$$3$$){return parseInt($baseConvert$$($compressed$$3$$,$encoded$$,$cleartxt$$),10)},$compressElementId$:function($id$$1$$){return $id$$1$$.charAt(0)+$picnet$met$StepEntryUtil$$.$compressInt$(parseInt($id$$1$$.substring(1),10))},$compressElementIdV3$:function($id$$2_index$$33$$){var $type$$13$$=$id$$2_index$$33$$.charAt(0);$id$$2_index$$33$$=parseInt($id$$2_index$$33$$.substring(1),10);return $type$$13$$+$picnet$met$StepEntryUtil$$.$compressIntV3$($id$$2_index$$33$$,
$id$$2_index$$33$$<=$encoded$$.length-1?1:2)},$decompressElementId$:function($compressed$$4$$){return $compressed$$4$$.charAt(0)+$picnet$met$StepEntryUtil$$.$decompressInt$($compressed$$4$$.substring(1))},$decompressElementIdV3$:function($compressed$$5$$){return $compressed$$5$$.charAt(0)+$picnet$met$StepEntryUtil$$.$decompressIntV3$($compressed$$5$$.substring(1))},$compressTypeAndDirection$:function($type$$16$$,$direction$$1$$){return $picnet$met$StepEntryUtil$$.$compressInt$(($type$$16$$==="M"?
0:$type$$16$$==="D"?1:2)*10+$direction$$1$$)},$decompressTypeAndDirection$:function($compressed$$6_typeNDInt$$){$compressed$$6_typeNDInt$$=$picnet$met$StepEntryUtil$$.$decompressInt$($compressed$$6_typeNDInt$$);if($compressed$$6_typeNDInt$$<=9)return{type:"M",direction:$compressed$$6_typeNDInt$$};var $dir$$=$compressed$$6_typeNDInt$$%10;return{type:Math.floor($compressed$$6_typeNDInt$$/10)===1?"D":"S",direction:$dir$$}},$compressStepEntry$:function($type$$17$$,$direction$$2$$,$xdiff$$,$ydiff$$,$timediff$$,
$id$$3$$,$xelem$$,$yelem$$){if($type$$17$$==="S")return"S"+$picnet$met$StepEntryUtil$$.$compressInt$($xdiff$$)+"|"+$picnet$met$StepEntryUtil$$.$compressInt$($ydiff$$)+"|"+$picnet$met$StepEntryUtil$$.$compressInt$($timediff$$);if($id$$3$$===undefined)throw new Error("id is required");if($xelem$$===undefined)throw new Error("xelem is required");if($yelem$$===undefined)throw new Error("yelem is required");return $picnet$met$StepEntryUtil$$.$compressTypeAndDirection$($type$$17$$,$direction$$2$$)+$picnet$met$StepEntryUtil$$.$compressInt$($xdiff$$)+
"|"+$picnet$met$StepEntryUtil$$.$compressInt$($ydiff$$)+"|"+$picnet$met$StepEntryUtil$$.$compressElementId$($id$$3$$)+"|"+$picnet$met$StepEntryUtil$$.$compressInt$($xelem$$)+"|"+$picnet$met$StepEntryUtil$$.$compressInt$($yelem$$)+"|"+$picnet$met$StepEntryUtil$$.$compressInt$($timediff$$)},$decompressStepEntry$:function($version$$6$$,$compressed$$7$$){if(!$compressed$$7$$)return null;if($compressed$$7$$.charAt(0)==="S")return new $picnet$met$StepEntry$$("S",0,0,0,0);switch($version$$6$$){case "3":return $picnet$met$StepEntryUtil$$.$decompressLogEntry_Version3$($compressed$$7$$);
case "2":return $picnet$met$StepEntryUtil$$.$decompressLogEntry_Version2$($compressed$$7$$);default:return $picnet$met$StepEntryUtil$$.$decompressLogEntry_Version1$($compressed$$7$$)}},$decompressLogEntry_Version1$:function($compressed$$8_d$$1$$){$compressed$$8_d$$1$$=$compressed$$8_d$$1$$.split("|");var $typeAndDirection$$1$$=$compressed$$8_d$$1$$[0];return new $picnet$met$StepEntry$$($typeAndDirection$$1$$.length!==2?"":$typeAndDirection$$1$$.charAt(0),$typeAndDirection$$1$$.length===1?parseInt($typeAndDirection$$1$$,
10):parseInt($typeAndDirection$$1$$.charAt(1),10),parseInt($compressed$$8_d$$1$$[1],10),parseInt($compressed$$8_d$$1$$[2],10),parseInt($compressed$$8_d$$1$$[3],10))},$decompressLogEntry_Version2$:function($compressed$$9_type$$19$$){var $d$$2$$=$compressed$$9_type$$19$$.split("|");if($d$$2$$.length<6)return null;var $direction$$4_typeAndDirection$$2$$=$picnet$met$StepEntryUtil$$.$decompressTypeAndDirection$($compressed$$9_type$$19$$.charAt(0));$compressed$$9_type$$19$$=$direction$$4_typeAndDirection$$2$$.type;
$direction$$4_typeAndDirection$$2$$=$direction$$4_typeAndDirection$$2$$.direction;var $xdiff$$2$$=$picnet$met$StepEntryUtil$$.$decompressInt$($d$$2$$[0].substring(1)),$ydiff$$2$$=$picnet$met$StepEntryUtil$$.$decompressInt$($d$$2$$[1]),$id$$4$$=$picnet$met$StepEntryUtil$$.$decompressElementId$($d$$2$$[2]),$xelem$$1$$=$picnet$met$StepEntryUtil$$.$decompressInt$($d$$2$$[3]),$yelem$$1$$=$picnet$met$StepEntryUtil$$.$decompressInt$($d$$2$$[4]);return new $picnet$met$StepEntry$$($compressed$$9_type$$19$$,
$direction$$4_typeAndDirection$$2$$,$xdiff$$2$$,$ydiff$$2$$,$picnet$met$StepEntryUtil$$.$decompressInt$($d$$2$$[5]),$id$$4$$,$xelem$$1$$,$yelem$$1$$)},$compressStepEntryV3$:function($msg$$5_type$$20$$,$direction$$5$$,$xdiff$$3$$,$ydiff$$3$$,$timediff$$3$$,$id$$5$$,$xelem$$2$$,$yelem$$2$$){if($msg$$5_type$$20$$==="S")return"S";if($id$$5$$===undefined)throw new Error("id is required");if($xelem$$2$$===undefined)throw new Error("xelem is required");if($yelem$$2$$===undefined)throw new Error("yelem is required");
$timediff$$3$$=Math.min($timediff$$3$$,1E4);$xdiff$$3$$=Math.round($xdiff$$3$$/5);$ydiff$$3$$=Math.round($ydiff$$3$$/5);$xelem$$2$$=Math.round($xelem$$2$$/5);$yelem$$2$$=Math.round($yelem$$2$$/5);$timediff$$3$$=Math.round($timediff$$3$$/5);var $max$$1$$=$encoded$$.length-1,$bin$$=($xdiff$$3$$<=$max$$1$$?"0":"1")+($ydiff$$3$$<=$max$$1$$?"0":"1")+($xelem$$2$$<=$max$$1$$?"0":"1")+($yelem$$2$$<=$max$$1$$?"0":"1")+($timediff$$3$$<=$max$$1$$?"0":"1");try{var $elemid$$=$picnet$met$StepEntryUtil$$.$compressElementIdV3$($id$$5$$);
$bin$$+=$elemid$$.length===2?"0":"1";var $encoding$$=parseInt($bin$$,2);return $picnet$met$StepEntryUtil$$.$compressTypeAndDirection$($msg$$5_type$$20$$,$direction$$5$$)+$picnet$met$StepEntryUtil$$.$compressIntV3$($encoding$$,1)+$picnet$met$StepEntryUtil$$.$compressIntV3$($xdiff$$3$$,$xdiff$$3$$<=$max$$1$$?1:2)+$picnet$met$StepEntryUtil$$.$compressIntV3$($ydiff$$3$$,$ydiff$$3$$<=$max$$1$$?1:2)+$picnet$met$StepEntryUtil$$.$compressIntV3$($xelem$$2$$,$xelem$$2$$<=$max$$1$$?1:2)+$picnet$met$StepEntryUtil$$.$compressIntV3$($yelem$$2$$,
$yelem$$2$$<=$max$$1$$?1:2)+$picnet$met$StepEntryUtil$$.$compressIntV3$($timediff$$3$$,$timediff$$3$$<=$max$$1$$?1:2)+$elemid$$}catch($e$$){$msg$$5_type$$20$$="Could not compress entry type["+$msg$$5_type$$20$$+"] direction["+$direction$$5$$+"] encoding["+$encoding$$+"] xdiff["+$xdiff$$3$$+"] ydiff["+$ydiff$$3$$+"] xelem["+$xelem$$2$$+"] yelem["+$yelem$$2$$+"] timediff["+$timediff$$3$$+"] - Error: "+$e$$.message;typeof console!=="undefined"&&typeof console.log!=="undefined"&&console.log($msg$$5_type$$20$$);
return""}},$decompressLogEntries_Version3$:function($compressed$$10$$){for(var $entries$$=[];;){var $encoding$$1_len$$2$$=$picnet$met$Utils$$.$padString$($picnet$met$StepEntryUtil$$.$decompressIntV3$($compressed$$10$$.charAt(1)).toString(2),6);$encoding$$1_len$$2$$=2+($encoding$$1_len$$2$$.charAt(0)==="0"?1:2)+($encoding$$1_len$$2$$.charAt(1)==="0"?1:2)+($encoding$$1_len$$2$$.charAt(2)==="0"?1:2)+($encoding$$1_len$$2$$.charAt(3)==="0"?1:2)+($encoding$$1_len$$2$$.charAt(4)==="0"?1:2)+($encoding$$1_len$$2$$.charAt(5)===
"0"?2:3);var $thisc$$=$compressed$$10$$.substring(0,$encoding$$1_len$$2$$);$compressed$$10$$=$compressed$$10$$.substring($encoding$$1_len$$2$$);$entries$$.push($picnet$met$StepEntryUtil$$.$decompressLogEntry_Version3$($thisc$$));if(!$compressed$$10$$)break}return $entries$$},$decompressLogEntry_Version3$:function($compressed$$11$$){var $direction$$6_typeAndDirection$$3$$=$picnet$met$StepEntryUtil$$.$decompressTypeAndDirection$($compressed$$11$$.charAt(0)),$type$$21$$=$direction$$6_typeAndDirection$$3$$.type;
$direction$$6_typeAndDirection$$3$$=$direction$$6_typeAndDirection$$3$$.direction;var $encoding$$2_timediff$$4$$=$picnet$met$Utils$$.$padString$($picnet$met$StepEntryUtil$$.$decompressIntV3$($compressed$$11$$.charAt(1)).toString(2),6);$compressed$$11$$=$compressed$$11$$.substring(2);var $len$$3$$=0,$xdiff$$4$$=$picnet$met$StepEntryUtil$$.$decompressIntV3$($compressed$$11$$.substring(0,$len$$3$$=$encoding$$2_timediff$$4$$.charAt(0)==="0"?1:2))*5;$compressed$$11$$=$compressed$$11$$.substring($len$$3$$);
var $ydiff$$4$$=$picnet$met$StepEntryUtil$$.$decompressIntV3$($compressed$$11$$.substring(0,$len$$3$$=$encoding$$2_timediff$$4$$.charAt(1)==="0"?1:2))*5;$compressed$$11$$=$compressed$$11$$.substring($len$$3$$);var $xelem$$3$$=$picnet$met$StepEntryUtil$$.$decompressIntV3$($compressed$$11$$.substring(0,$len$$3$$=$encoding$$2_timediff$$4$$.charAt(2)==="0"?1:2))*5;$compressed$$11$$=$compressed$$11$$.substring($len$$3$$);var $yelem$$3$$=$picnet$met$StepEntryUtil$$.$decompressIntV3$($compressed$$11$$.substring(0,
$len$$3$$=$encoding$$2_timediff$$4$$.charAt(3)==="0"?1:2))*5;$compressed$$11$$=$compressed$$11$$.substring($len$$3$$);$encoding$$2_timediff$$4$$=$picnet$met$StepEntryUtil$$.$decompressIntV3$($compressed$$11$$.substring(0,$len$$3$$=$encoding$$2_timediff$$4$$.charAt(4)==="0"?1:2))*5;$compressed$$11$$=$compressed$$11$$.substring($len$$3$$);return new $picnet$met$StepEntry$$($type$$21$$,$direction$$6_typeAndDirection$$3$$,$xdiff$$4$$,$ydiff$$4$$,$encoding$$2_timediff$$4$$,$picnet$met$StepEntryUtil$$.$decompressElementIdV3$($compressed$$11$$),
$xelem$$3$$,$yelem$$3$$)}}}();function $picnet$met$StepEntry$$($type$$22$$,$direction$$7$$,$xdiff$$5$$,$ydiff$$5$$,$timediff$$5$$,$id$$7$$,$xelem$$4$$,$yelem$$4$$){this.type=$type$$22$$;this.direction=$direction$$7$$;this.$xdiff$=$xdiff$$5$$;this.$ydiff$=$ydiff$$5$$;this.$timediff$=$timediff$$5$$;this.id=$id$$7$$;this.$xelem$=$xelem$$4$$;this.$yelem$=$yelem$$4$$}
$picnet$met$StepEntry$$.prototype.toString=function $$picnet$met$StepEntry$$$$toString$(){return"type: "+this.type+" direction: "+this.direction+" xdiff: "+this.$xdiff$+" ydiff: "+this.$ydiff$+" xelem: "+this.$xelem$+" yelem: "+this.$yelem$+" id: "+this.id+" timediff: "+this.$timediff$};new (function(){function $entry_load$$(){typeof window.addEventListener==="function"&&window.addEventListener("message",$handleMessagesFromMgtConsole$$,false);$installationError$$="";if($instance$$.$isInFrame$())$installationError$$="in mgt console";else if($disableScript$$)$installationError$$="scripts dissabled due to an internal error";else if(this.host==="https://ssl.")$installationError$$="SSL not currently supported";else if($instance$$.$getTrackerValidationCode$())document.location.href.indexOf("<")<
0&&document.location.href.indexOf("file://")<0||($installationError$$="Invalid url");else $installationError$$="Could not find the user code";$instance$$.$initialiseAllElements$();if($instance$$.$isPaidInFrame$())document.getElementById("PicNetEyeTracker").innerHTML="";if($instance$$.$isInFrame$()||$instance$$.$isInSettingsFrame$()){var $i$$8$$=document.location.href.indexOf("_mcdom=");if($i$$8$$>=0)$instance$$.$mgtConsoleDomain$=document.location.href.substring($i$$8$$+7)}$sendMessageToMgtConsole$$("metclientinitialised");
if($installationError$$)$debug$$("MET is NOT recording ("+$installationError$$+")");else{$scrollPosition$$=[$instance$$.$getScrollLeft$(),$instance$$.$getScrollTop$()];$instance$$.$startTime$=$instance$$.now();$instance$$.$addEvent$(document.body,"mousedown",$entry_recordMouseDown$$);$instance$$.$addEvent$(document.body,"mousemove",$entry_recordMouseMove$$);$instance$$.$addEvent$(window,"beforeunload",$entry_saveDataOnUnload$$);$instance$$.$checkAccountDetailsOnServer$();$useTunnelVision$$&&$instance$$.$initialiseTunnelVision$()}}
function $handleMessagesFromMgtConsole$$($e$$1_htmlelem_positions$$inline_6$$){if($e$$1_htmlelem_positions$$inline_6$$.origin!==$instance$$.$mgtConsoleDomain$)$debug$$("handleMessagesFromMgtConsole invoked from an invalid origin: "+$e$$1_htmlelem_positions$$inline_6$$.origin+" expected: "+$instance$$.$mgtConsoleDomain$);else switch($e$$1_htmlelem_positions$$inline_6$$.data){case "checkinstall":$sendMessageToMgtConsole$$("checkinstall:"+$installationError$$);return;case "gethtml":$e$$1_htmlelem_positions$$inline_6$$=
document.getElementsByTagName("html");if(!$e$$1_htmlelem_positions$$inline_6$$||$e$$1_htmlelem_positions$$inline_6$$.length!==1){$sendMessageToMgtConsole$$("gethtml:Error, no html tag found");return}$e$$1_htmlelem_positions$$inline_6$$=$e$$1_htmlelem_positions$$inline_6$$.item(0);$sendMessageToMgtConsole$$("gethtml:"+$e$$1_htmlelem_positions$$inline_6$$.innerHTML);return;case "getelementpositions":$e$$1_htmlelem_positions$$inline_6$$=[];for(var $i$$inline_7$$=0;$i$$inline_7$$<$instance$$.$allElements$.length;$i$$inline_7$$++){var $dimension$$inline_11_e$$inline_8$$=
$instance$$.$allElements$[$i$$inline_7$$],$id$$inline_9$$=$getElementID$$($dimension$$inline_11_e$$inline_8$$),$pos$$inline_10$$=$instance$$.$getElementPos$($dimension$$inline_11_e$$inline_8$$);$dimension$$inline_11_e$$inline_8$$=$instance$$.$getElementDimension$($dimension$$inline_11_e$$inline_8$$);$e$$1_htmlelem_positions$$inline_6$$.push($id$$inline_9$$+","+$pos$$inline_10$$.x+","+$pos$$inline_10$$.y+","+$dimension$$inline_11_e$$inline_8$$.width+","+$dimension$$inline_11_e$$inline_8$$.height)}$sendMessageToMgtConsole$$("getelementpositions:"+
document.documentElement.scrollWidth+","+document.documentElement.scrollHeight+";"+$e$$1_htmlelem_positions$$inline_6$$.join("|"));return;default:$debug$$("Could not find a handler for message: "+$e$$1_htmlelem_positions$$inline_6$$.data);return}}function $sendMessageToMgtConsole$$($message$$6$$){if($instance$$.$isInFrame$()||$instance$$.$isInSettingsFrame$()){var $target$$13$$=parent.postMessage?parent:parent.document.postMessage?parent.document:undefined;$target$$13$$&&$target$$13$$.postMessage($message$$6$$,
$instance$$.$mgtConsoleDomain$)}}function $entry_recordMouseDown$$($e$$3$$){if(!$disableScript$$)try{$instance$$.$recordMouseDown$($e$$3$$)}catch($ex$$1$$){$instance$$.$reportClientException$("recordMouseDown",$ex$$1$$)}}function $entry_recordMouseMove$$($e$$4$$){if(!$disableScript$$)try{$instance$$.$recordMouseMove$($e$$4$$)}catch($ex$$2$$){$instance$$.$reportClientException$("recordMouseMove",$ex$$2$$)}}function $entry_saveDataOnUnload$$(){if(!$disableScript$$)try{$instance$$.$saveData$(true)}catch($ex$$3$$){$instance$$.$reportClientException$("saveData",
$ex$$3$$)}}function $getElementID$$($e$$6$$){if(!$e$$6$$)return"";var $index$$34_nodelist$$inline_17$$;a:{$index$$34_nodelist$$inline_17$$=$instance$$.$allElements$;for(var $len$$inline_19$$=$index$$34_nodelist$$inline_17$$.length,$i$$inline_20$$=0;$i$$inline_20$$<$len$$inline_19$$;$i$$inline_20$$++)if($index$$34_nodelist$$inline_17$$[$i$$inline_20$$]===$e$$6$$){$index$$34_nodelist$$inline_17$$=$i$$inline_20$$;break a}$index$$34_nodelist$$inline_17$$=-1}if($index$$34_nodelist$$inline_17$$<0)return"";
return $e$$6$$.nodeName.charAt(0)+$index$$34_nodelist$$inline_17$$}function $LogEntry$$($x$$39$$,$y$$19$$,$type$$23$$,$time$$){this.$setValues$=function $this$$setValues$$($x$$40$$,$y$$20$$,$type$$24$$,$time$$1$$){this.x=$x$$40$$;this.y=$y$$20$$;this.type=$type$$24$$;this.$time$=$time$$1$$};this.$setValuesFromEntry$=function $this$$setValuesFromEntry$$($entry$$1$$){this.$setValues$($entry$$1$$.x,$entry$$1$$.y,$entry$$1$$.type,$entry$$1$$.$time$)};this.$setValues$($x$$39$$,$y$$19$$,$type$$23$$,$time$$)}
this.host="https:"==document.location.protocol?"https://ssl.":"http://www.";this.$serviceUrl$=this.host+"picnet.com.au/met/";this.$mgtConsoleDomain$=null;var $useTunnelVision$$=false,$showErrors$$=false,$requestIndex$$=0,$disableScript$$=false,$ieEventHandlers$$={},$usercode$$,$prevEntry$$=new $LogEntry$$(-1,-1,null,0),$prevEntryType$$=null,$scrollPosition$$=[0,0],$tunnel_vision_top$$=null,$tunnel_vision_right$$=null,$tunnel_vision_bottom$$=null,$tunnel_vision_left$$=null,$tunnel_vision_right_tunnel$$,
$tunnel_vision_left_tunnel$$,$tunnel_vision_container$$=null,$instance$$=this,$installationError$$="";this.$allElements$=[];this.$trackerValidationCode$=this.$startTime$=0;this.$logs$=[];this.$initialiseAllElements$=function $this$$initialiseAllElements$$(){var $tmp$$=document.getElementsByTagName("*");$instance$$.$allElements$=[];for(var $len$$5$$=$tmp$$.length,$foundbody$$=false,$i$$12$$=0;$i$$12$$<$len$$5$$;$i$$12$$++){var $e$$7$$=$tmp$$[$i$$12$$];if($e$$7$$.nodeType===1){var $n$$3$$=$e$$7$$.nodeName;
if($n$$3$$==="BODY")$foundbody$$=true;!$foundbody$$||$n$$3$$==="LINK"||$n$$3$$==="STYLE"||$n$$3$$==="HEAD"||$n$$3$$==="SCRIPT"||$n$$3$$==="INPUT"&&$e$$7$$.type.toLowerCase()==="hidden"||$instance$$.$isHidden$($e$$7$$)||$instance$$.$allElements$.push($e$$7$$)}}};this.$addEvent$=function $this$$addEvent$$($e$$8$$,$eventType$$1$$,$callback$$22$$){if($e$$8$$.addEventListener)$e$$8$$.addEventListener($eventType$$1$$,$callback$$22$$,false);else if($e$$8$$["on"+$eventType$$1$$]){var $handlers$$=[];$handlers$$.push($e$$8$$["on"+
$eventType$$1$$]);$handlers$$.push($callback$$22$$);$ieEventHandlers$$[$eventType$$1$$]=$handlers$$;$e$$8$$["on"+$eventType$$1$$]=$instance$$.$multicastIEEvents$}else $e$$8$$["on"+$eventType$$1$$]=$callback$$22$$};this.$clearAllEvents$=function $this$$clearAllEvents$$(){$instance$$.$removeEvent$(document.body,"mousedown",$entry_recordMouseDown$$);$instance$$.$removeEvent$(document.body,"mousemove",$entry_recordMouseMove$$);$instance$$.$removeEvent$(window,"beforeunload",$entry_saveDataOnUnload$$)};
this.$removeEvent$=function $this$$removeEvent$$($e$$9_handlers$$1$$,$i$$13_name$$41$$,$callback$$23$$){if($e$$9_handlers$$1$$.removeEventListener)$e$$9_handlers$$1$$.removeEventListener($i$$13_name$$41$$,$callback$$23$$,false);else if($e$$9_handlers$$1$$=$ieEventHandlers$$[$i$$13_name$$41$$])for($i$$13_name$$41$$=0;$i$$13_name$$41$$<$e$$9_handlers$$1$$.length;$i$$13_name$$41$$++)if($e$$9_handlers$$1$$[$i$$13_name$$41$$]===$callback$$23$$)$e$$9_handlers$$1$$[$i$$13_name$$41$$]=null};this.$multicastIEEvents$=
function $this$$multicastIEEvents$$(){for(var $handlers$$2$$=$ieEventHandlers$$[window.event.type],$i$$14$$=0;$i$$14$$<$handlers$$2$$.length;$i$$14$$++)$handlers$$2$$[$i$$14$$]&&$handlers$$2$$[$i$$14$$]()};this.$isInFrame$=function $this$$isInFrame$$(){return document.location.href.indexOf("#isin_p_tc")>=0};this.$isInSettingsFrame$=function $this$$isInSettingsFrame$$(){return document.location.href.indexOf("#isin_sett")>=0};this.$isPaidInFrame$=function $this$$isPaidInFrame$$(){return document.location.href.indexOf("#isin_p_tc_p")>=
0};this.$getTrackerValidationCode$=function $this$$getTrackerValidationCode$$(){var $pet$$=document.getElementById("PicNetEyeTracker");if($pet$$==null)return false;$useTunnelVision$$=$pet$$.getAttribute("use-tunnel-vision")==="true";$showErrors$$=$pet$$.getAttribute("show-errors")==="true";$usercode$$=$pet$$.getAttribute("usercode");if($usercode$$.indexOf("<")>=0)return false;$instance$$.$trackerValidationCode$=$instance$$.$isHidden$($pet$$)?0:$instance$$.$encode$($pet$$.innerHTML);return true};this.$isHidden$=
function $this$$isHidden$$($e$$10$$){return $e$$10$$.style&&($e$$10$$.style.display&&$e$$10$$.style.display=="none"||$e$$10$$.style.visibility&&$e$$10$$.style.visibility==="hidden")};this.$encode$=function $this$$encode$$($t$$){$t$$=$t$$.toUpperCase().replace(/ JQUERY[^ >]+/,"").replace(/\s+/g,"").replace('/">','">');$t$$=escape($t$$);for(var $val$$11$$=0,$i$$15$$=0;$i$$15$$<$t$$.length;$i$$15$$++)$val$$11$$+=$t$$.charCodeAt($i$$15$$)*0.5;return $val$$11$$};this.$checkAccountDetailsOnServer$=function $this$$checkAccountDetailsOnServer$$(){var $w$$4$$=
$instance$$.$getElementDimension$(window).width||0,$url$$18$$=document.location.href.split("#")[0];$url$$18$$=escape($url$$18$$);$instance$$.$makeJSONPCall$($instance$$.$serviceUrl$+"Tracker.mvc/ClientPageLoad?ac="+$usercode$$+"&vc="+$instance$$.$trackerValidationCode$+"&w="+$w$$4$$+"&url="+$url$$18$$,"picnet.met.client.ptc.checkAccountDetailsOnServerCallback")};this.$recordMouseDown$=function $this$$recordMouseDown$$($e$$11$$){var $x$$41$$=$instance$$.$getX$($e$$11$$),$y$$21$$=$instance$$.$getY$($e$$11$$);
if(!($x$$41$$<0||$y$$21$$<0)){$useTunnelVision$$&&$instance$$.$updateTunnelVision$(false,$x$$41$$,$y$$21$$);$instance$$.$addLog$($instance$$.now()-$instance$$.$startTime$,"D",$e$$11$$,$x$$41$$,$y$$21$$)}};this.$recordMouseMove$=function $this$$recordMouseMove$$($e$$12$$){var $x$$42$$=$instance$$.$getX$($e$$12$$),$y$$22$$=$instance$$.$getY$($e$$12$$);$useTunnelVision$$&&$instance$$.$updateTunnelVision$(false,$x$$42$$,$y$$22$$);var $time$$3$$=$instance$$.now()-$instance$$.$startTime$;$instance$$.$isIgnoreableMouseMove$($time$$3$$,
$x$$42$$,$y$$22$$)||$instance$$.$addLog$($time$$3$$,"M",$e$$12$$,$x$$42$$,$y$$22$$)};this.$isIgnoreableMouseMove$=function $this$$isIgnoreableMouseMove$$($time$$4$$,$x$$43$$,$y$$23$$){if($x$$43$$<0||$y$$23$$<0)return true;if($prevEntry$$.type!=="M")return false;if($prevEntry$$.x===$x$$43$$&&$prevEntry$$.y===$y$$23$$)return true;return $time$$4$$-$prevEntry$$.$time$<50};this.$getX$=function $this$$getX$$($e$$13$$){return $e$$13$$&&$e$$13$$.pageX?$e$$13$$.pageX:window.event?window.event.clientX+$instance$$.$getScrollLeft$():
-1};this.$getY$=function $this$$getY$$($e$$14$$){return $e$$14$$&&$e$$14$$.pageY?$e$$14$$.pageY:window.event?window.event.clientY+$instance$$.$getScrollTop$():-1};this.$getScrollLeft$=function $this$$getScrollLeft$$(){var $scrollLeft$$=document.body.scrollLeft;if($scrollLeft$$==0)$scrollLeft$$=window.pageXOffset?window.pageXOffset:document.body.parentElement?document.body.parentElement.scrollLeft:0;return $scrollLeft$$};this.$getScrollTop$=function $this$$getScrollTop$$(){var $scrollTop$$=document.body.scrollTop;
if($scrollTop$$==0)$scrollTop$$=window.pageYOffset?window.pageYOffset:document.body.parentElement?document.body.parentElement.scrollTop:0;return $scrollTop$$};this.$addLog$=function $this$$addLog$$($time$$5$$,$type$$25$$,$e$$15_entry$$2$$,$x$$44$$,$y$$24$$){if($e$$15_entry$$2$$=$instance$$.$createEntry$($type$$25$$,$e$$15_entry$$2$$,$time$$5$$-$prevEntry$$.$time$,$x$$44$$,$y$$24$$)){if($type$$25$$!=="S")$prevEntry$$.$setValues$($x$$44$$,$y$$24$$,$type$$25$$,$time$$5$$);else{$scrollPosition$$=[$x$$44$$,
$y$$24$$];$prevEntryType$$==="S"&&$instance$$.$logs$.pop()}$prevEntryType$$=$type$$25$$;$instance$$.$logs$.push($e$$15_entry$$2$$);$instance$$.$logs$.length>=220&&$instance$$.$saveData$(false)}};this.$createEntry$=function $this$$createEntry$$($type$$26$$,$dim$$1_e$$16_target$$15$$,$timediff$$7$$,$x$$45$$,$y$$25$$){var $direction$$8$$=$type$$26$$==="S"?0:$instance$$.$getPositionDiffFromLastPosition$($x$$45$$,$y$$25$$),$xdiff$$6$$=Math.round($type$$26$$==="S"||$prevEntry$$.type===null?$x$$45$$:Math.abs($prevEntry$$.x-
$x$$45$$)),$ydiff$$6$$=Math.round($type$$26$$==="S"||$prevEntry$$.type===null?$y$$25$$:Math.abs($prevEntry$$.y-$y$$25$$));if($type$$26$$==="S")return $picnet$met$StepEntryUtil$$.$compressStepEntryV3$($type$$26$$,$direction$$8$$,$xdiff$$6$$,$ydiff$$6$$,$timediff$$7$$);$dim$$1_e$$16_target$$15$$=$instance$$.$getTargetElement$($dim$$1_e$$16_target$$15$$);var $id$$11_x$$inline_28$$=$getElementID$$($dim$$1_e$$16_target$$15$$);if(!$id$$11_x$$inline_28$$){try{a:{$id$$11_x$$inline_28$$=$x$$45$$;for(var $y$$inline_29$$=
$y$$25$$,$i$$inline_30$$=0,$e$$inline_31_pos$$2$$;$e$$inline_31_pos$$2$$=$instance$$.$allElements$[$i$$inline_30$$];++$i$$inline_30$$){var $pos$$inline_32$$=$instance$$.$getElementPos$($e$$inline_31_pos$$2$$),$dim$$inline_33$$=$instance$$.$getElementDimension$($e$$inline_31_pos$$2$$);if($dim$$inline_33$$&&$dim$$inline_33$$.width)if(!($pos$$inline_32$$.x>=$id$$11_x$$inline_28$$&&$pos$$inline_32$$.y>=$y$$inline_29$$))if(!($pos$$inline_32$$.x+$dim$$inline_33$$.width>$id$$11_x$$inline_28$$))if(!($pos$$inline_32$$.y+
$dim$$inline_33$$.height>$y$$inline_29$$)){$dim$$1_e$$16_target$$15$$=$e$$inline_31_pos$$2$$;break a}}$dim$$1_e$$16_target$$15$$=null}}catch($e2$$){return}$id$$11_x$$inline_28$$=$getElementID$$($dim$$1_e$$16_target$$15$$);if(!$id$$11_x$$inline_28$$)return}$e$$inline_31_pos$$2$$=$instance$$.$getElementPos$($dim$$1_e$$16_target$$15$$);$dim$$1_e$$16_target$$15$$=$instance$$.$getElementDimension$($dim$$1_e$$16_target$$15$$);if(!(!$dim$$1_e$$16_target$$15$$||!$dim$$1_e$$16_target$$15$$.width||$dim$$1_e$$16_target$$15$$.width===
"0")){$x$$45$$=Math.max(0,Math.round(($x$$45$$-$e$$inline_31_pos$$2$$.x)*100/$dim$$1_e$$16_target$$15$$.width));$y$$25$$=Math.max(0,Math.round($y$$25$$-$e$$inline_31_pos$$2$$.y));return $picnet$met$StepEntryUtil$$.$compressStepEntryV3$($type$$26$$,$direction$$8$$,$xdiff$$6$$,$ydiff$$6$$,$timediff$$7$$,$id$$11_x$$inline_28$$,$x$$45$$,$y$$25$$)}};this.$getElementPos$=function $this$$getElementPos$$($e$$17$$){var $x$$46$$=0,$y$$26$$=0;if($e$$17$$.offsetParent)for(;;){$x$$46$$+=$e$$17$$.offsetLeft;$y$$26$$+=
$e$$17$$.offsetTop;if(!$e$$17$$.offsetParent)break;$e$$17$$=$e$$17$$.offsetParent}else if($e$$17$$.x){$x$$46$$=$e$$17$$.x;$y$$26$$=$e$$17$$.y}return{x:$x$$46$$,y:$y$$26$$}};this.$getElementDimension$=function $this$$getElementDimension$$($e$$18$$){var $dim$$2$$;try{$dim$$2$$=$e$$18$$.offsetWidth?{width:$e$$18$$.offsetWidth,height:$e$$18$$.offsetHeight}:$e$$18$$.innerWidth?{width:$e$$18$$.innerWidth,height:$e$$18$$.innerHeight}:$e$$18$$===window&&document.getElementsByTagName("html")[0].offsetWidth?
$instance$$.$getElementDimension$(document.getElementsByTagName("html")[0]):document&&typeof document.defaultView!=="undefined"&&document.defaultView?{width:document.defaultView.getComputedStyle($e$$18$$,"").getPropertyValue("width").split("px")[0],height:document.defaultView.getComputedStyle($e$$18$$,"").getPropertyValue("height").split("px")[0]}:{width:0,height:0}}catch($ex$$4$$){$dim$$2$$={width:0,height:0}}return $dim$$2$$};this.$getTargetElement$=function $this$$getTargetElement$$($e$$19$$){var $target$$16$$=
null;if(!$e$$19$$)$e$$19$$=window.event;if($e$$19$$.target)$target$$16$$=$e$$19$$.target;else if($e$$19$$.srcElement)$target$$16$$=$e$$19$$.srcElement;try{return $target$$16$$.nodeType!==1?null:$target$$16$$}catch($e2$$1$$){return null}};this.$resetLogBuffer$=function $this$$resetLogBuffer$$(){$requestIndex$$=0;$prevEntry$$=new $LogEntry$$(-1,-1,null,0);$instance$$.$logs$=[]};this.$getPositionDiffFromLastPosition$=function $this$$getPositionDiffFromLastPosition$$($x$$47$$,$y$$27$$){if($prevEntry$$.type===
null)return 0;return $prevEntry$$.x<$x$$47$$?$prevEntry$$.y<$y$$27$$?3:$prevEntry$$.y>$y$$27$$?9:6:$prevEntry$$.x>$x$$47$$?$prevEntry$$.y<$y$$27$$?1:$prevEntry$$.y>$y$$27$$?7:4:$prevEntry$$.y<$y$$27$$?2:$prevEntry$$.y>$y$$27$$?8:0};this.$reportClientException$=function $this$$reportClientException$$($details$$2_entryPointName$$,$ex$$5$$){$disableScript$$=true;$details$$2_entryPointName$$=$instance$$.$getExceptionDescription$($details$$2_entryPointName$$,$ex$$5$$);if($showErrors$$){$debug$$($details$$2_entryPointName$$);
typeof console!=="undefined"&&typeof console.$trace$!=="undefined"&&console.$trace$()}try{$instance$$.$makeJSONPCall$($instance$$.$serviceUrl$+"Tracker.mvc/ReportClientError?error="+$details$$2_entryPointName$$,"picnet.met.client.ptc.reportClientExceptionCallback");$instance$$.$clearAllEvents$()}catch($e$$20$$){}if($showErrors$$)throw $ex$$5$$;};this.$getExceptionDescription$=function $this$$getExceptionDescription$$($entryPointName$$1$$,$ex$$6$$){var $msg$$6$$="Client Error Details - ";try{$msg$$6$$+=
" \n\tbrowser: ["+navigator.appName+" : "+navigator.appVersion+"]"}catch($ex2$$){$msg$$6$$+=" \n\tbrowser: ERROR["+$ex2$$.message+"]"}try{$msg$$6$$+=" \n\turl: ["+escape(document.location.href)+"]"}catch($ex3$$){$msg$$6$$+=" \n\turl: ERROR["+$ex3$$.message+"]"}$msg$$6$$+=" \n\tentry point: ["+$entryPointName$$1$$+"]";if($ex$$6$$&&typeof $ex$$6$$==="string")$msg$$6$$+=" \n\tMessage: ["+escape($ex$$6$$)+"]";else if($ex$$6$$)for(var $prop$$2$$ in $ex$$6$$)$msg$$6$$+="\n\t"+$prop$$2$$+": ["+escape($ex$$6$$[$prop$$2$$])+
"]  ";else $msg$$6$$+=" \n\t[No details avalable]";try{var $stack$$=printStackTrace({$e$:$ex$$6$$,$guess$:true});$msg$$6$$+=$stack$$?" \n\tStack:\n\t\t"+$stack$$.join(" \n\t\t"):" \n\tStack Undefined"}catch($ex4$$){$msg$$6$$+=$msg$$6$$+=" \n\tStack: ERRROR["+$ex4$$.message+"]"}return $msg$$6$$};this.$areJSONPCallsEnabled$=true;this.$makeJSONPCall$=function $this$$makeJSONPCall$$($script$$inline_38_url$$19$$,$callbackname_target$$inline_43_url$$inline_37$$){$script$$inline_38_url$$19$$+="&cb="+$callbackname_target$$inline_43_url$$inline_37$$+
"&"+$instance$$.$startTime$+$requestIndex$$;$callbackname_target$$inline_43_url$$inline_37$$=$script$$inline_38_url$$19$$;$script$$inline_38_url$$19$$=document.createElement("script");$script$$inline_38_url$$19$$.setAttribute("id","JSONP");$script$$inline_38_url$$19$$.setAttribute("src",$callbackname_target$$inline_43_url$$inline_37$$);$script$$inline_38_url$$19$$.setAttribute("type","text/javascript");if(!this.$areJSONPCallsEnabled$)return $script$$inline_38_url$$19$$;$callbackname_target$$inline_43_url$$inline_37$$=
document.$head$||document.documentElement;$callbackname_target$$inline_43_url$$inline_37$$.insertBefore($script$$inline_38_url$$19$$,$callbackname_target$$inline_43_url$$inline_37$$.firstChild)};this.$saveData$=function $this$$saveData$$($isEndRequest$$){if(!($isEndRequest$$&&$instance$$.$logs$.length<4)){var $windowdim$$=$instance$$.$getElementDimension$(window),$url$$20$$=document.location.href.split("#")[0],$referrer$$=document.referrer?document.referrer.split("#")[0]:document.referrer,$data$$8$$=
"3:"+$instance$$.$logs$.join("");$instance$$.$logs$=[];$instance$$.$saveDataImpl$($usercode$$,$instance$$.$trackerValidationCode$,$requestIndex$$++,$windowdim$$.width,$windowdim$$.height,$isEndRequest$$,$instance$$.$startTime$,$url$$20$$,$referrer$$,$data$$8$$)}};this.$saveDataImpl$=function $this$$saveDataImpl$$($ac$$,$vc$$,$ri$$,$w$$5$$,$h$$4$$,$er$$,$st$$,$url$$21$$,$referrer$$1$$,$data$$9$$){$instance$$.$makeJSONPCall$($instance$$.$serviceUrl$+"Tracker.mvc/SaveTrackerData?ac="+$ac$$+"&vc="+$vc$$+
"&ri="+$ri$$+"&w="+$w$$5$$+"&h="+$h$$4$$+"&er="+$er$$+"&st="+$st$$+"&url="+escape($url$$21$$)+"&referrer="+escape($referrer$$1$$)+"&data="+$data$$9$$,"picnet.met.client.ptc.saveTrackerDataCallback")};this.$initialiseTunnelVision$=function $this$$initialiseTunnelVision$$(){var $body$$1$$=document.getElementsByTagName("body");if(!$body$$1$$||$body$$1$$.length!==1)$useTunnelVision$$=false;else{$body$$1$$=$body$$1$$[0];$tunnel_vision_container$$=document.createElement("div");$tunnel_vision_container$$.id=
"tunnel_vision_container";$tunnel_vision_container$$.style.position="relative";$tunnel_vision_container$$.style.height="100%";$tunnel_vision_container$$.style.width="100%";$tunnel_vision_container$$.style.overflow="auto";var $tunnel_wrapper$$=document.createElement("layer");$tunnel_wrapper$$.id="tunnel_vision_wrapper";$tunnel_wrapper$$.style.height="100%";for($tunnel_wrapper$$.style.width="100%";$body$$1$$.firstChild;)$tunnel_wrapper$$.appendChild($body$$1$$.firstChild);$tunnel_vision_container$$.appendChild($tunnel_wrapper$$);
$tunnel_wrapper$$=document.createElement("layer");$tunnel_wrapper$$.id="tunnel_vision_tunnel";$tunnel_wrapper$$.style.height="100%";$tunnel_wrapper$$.style.width="100%";$tunnel_wrapper$$.style.zIndex=2;$tunnel_wrapper$$.appendChild($tunnel_vision_top$$=$instance$$.$createTunnelVisionDiv$("top","top","100%","1600px","top","0px","left","0px"));$tunnel_wrapper$$.appendChild($tunnel_vision_bottom$$=$instance$$.$createTunnelVisionDiv$("bottom","bottom","100%","50%","bottom","0px","left","0px"));$tunnel_wrapper$$.appendChild($tunnel_vision_right$$=
$instance$$.$createTunnelVisionDivImpl$("right","right","50%","124px","top","0px","right","0px"));$tunnel_wrapper$$.appendChild($tunnel_vision_left$$=$instance$$.$createTunnelVisionDivImpl$("left","left","50%","124px","top","0px","left","0px"));$tunnel_vision_right$$.style.overflow="hidden";$tunnel_vision_left$$.style.overflow="hidden";$tunnel_vision_right$$.appendChild($tunnel_vision_right_tunnel$$=$instance$$.$createTunnelVisionDiv$("right_tunnel","right","100%","100%","top","0px","right","0px"));
$tunnel_vision_left$$.appendChild($tunnel_vision_left_tunnel$$=$instance$$.$createTunnelVisionDiv$("left_tunnel","left","100%","100%","top","0px","left","0px"));if(navigator.appName!=="Microsoft Internet Explorer"){$tunnel_vision_right$$.appendChild($instance$$.$createTunnelVisionCornerDiv$("tr","left","-97px 0px","97px","62px","top","0px","left","0px"));$tunnel_vision_right$$.appendChild($instance$$.$createTunnelVisionCornerDiv$("br","left","-97px -62px","97px","62px","top","62px","left","-97px"));
$tunnel_vision_left$$.appendChild($instance$$.$createTunnelVisionCornerDiv$("tl","right","0px 0px","97px","62px","top","0px","right","0px"));$tunnel_vision_left$$.appendChild($instance$$.$createTunnelVisionCornerDiv$("bl","right","0px -62px","97px","62px","top","62px","right","-97px"))}$tunnel_vision_container$$.appendChild($tunnel_wrapper$$);$body$$1$$.appendChild($tunnel_vision_container$$)}};this.$createTunnelVisionDiv$=function $this$$createTunnelVisionDiv$$($d$$3_idsuffix$$,$cssfloat$$,$width$$1$$,
$height$$1$$,$p1name$$,$p1val$$,$p2name$$,$p2val$$){$d$$3_idsuffix$$=$instance$$.$createTunnelVisionDivImpl$($d$$3_idsuffix$$,$cssfloat$$,$width$$1$$,$height$$1$$,$p1name$$,$p1val$$,$p2name$$,$p2val$$);$d$$3_idsuffix$$.style.backgroundImage="url("+$instance$$.$serviceUrl$+"resources/Icons/tunnelbg.png)";$d$$3_idsuffix$$.style.backgroundRepeat="repeat";return $d$$3_idsuffix$$};this.$createTunnelVisionCornerDiv$=function $this$$createTunnelVisionCornerDiv$$($idsuffix$$1$$,$cssfloat$$1_d$$4$$,$backgroundPosition$$,
$width$$2$$,$height$$2$$,$p1name$$1$$,$p1val$$1$$,$p2name$$1$$,$p2val$$1$$){$cssfloat$$1_d$$4$$=this.$createTunnelVisionDivImpl$($idsuffix$$1$$,$cssfloat$$1_d$$4$$,$width$$2$$,$height$$2$$,$p1name$$1$$,$p1val$$1$$,$p2name$$1$$,$p2val$$1$$);if($idsuffix$$1$$==="br")$cssfloat$$1_d$$4$$.style.margin="0px -194px 0px 0px";else if($idsuffix$$1$$==="bl")$cssfloat$$1_d$$4$$.style.margin="0px 0px 0px -194px";$cssfloat$$1_d$$4$$.style.position="relative";$cssfloat$$1_d$$4$$.style.backgroundImage="url("+$instance$$.$serviceUrl$+
"resources/Icons/tunnelcorners.png)";$cssfloat$$1_d$$4$$.style.backgroundPosition=$backgroundPosition$$;$cssfloat$$1_d$$4$$.style.backgroundRepeat="no-repeat";return $cssfloat$$1_d$$4$$};this.$createTunnelVisionDivImpl$=function $this$$createTunnelVisionDivImpl$$($idsuffix$$2$$,$cssfloat$$2$$,$width$$3$$,$height$$3$$,$p1name$$2$$,$p1val$$2$$,$p2name$$2$$,$p2val$$2$$){var $d$$5$$=document.createElement("div");$d$$5$$.id="tunnel_vision_"+$idsuffix$$2$$;$d$$5$$.style.zIndex=9999;$d$$5$$.style.position=
"absolute";$d$$5$$.style.cssFloat=$cssfloat$$2$$;$d$$5$$.style.width=$width$$3$$;$d$$5$$.style.height=$height$$3$$;$d$$5$$.style[$p1name$$2$$]=$p1val$$2$$;$d$$5$$.style[$p2name$$2$$]=$p2val$$2$$;return $d$$5$$};this.$updateTunnelVision$=function $this$$updateTunnelVision$$($isMouseScroll_xdiff$$7$$,$x$$48$$,$y$$28_ydiff$$7$$){if($tunnel_vision_container$$){var $windowdim$$1$$=$instance$$.$getElementDimension$($tunnel_vision_container$$),$bottom_height$$=0,$top_height$$=0,$left_width$$=0,$right_width$$=
0;if($isMouseScroll_xdiff$$7$$){$isMouseScroll_xdiff$$7$$=$x$$48$$-$scrollPosition$$[0];$y$$28_ydiff$$7$$=$y$$28_ydiff$$7$$-$scrollPosition$$[1];$top_height$$=parseInt($tunnel_vision_top$$.style.height,10)+$y$$28_ydiff$$7$$;$bottom_height$$=parseInt($tunnel_vision_bottom$$.style.height,10)-$y$$28_ydiff$$7$$;$left_width$$=parseInt($tunnel_vision_left$$.style.width,10)+$isMouseScroll_xdiff$$7$$;$right_width$$=parseInt($tunnel_vision_right$$.style.width,10)-$isMouseScroll_xdiff$$7$$}else{$top_height$$=
$y$$28_ydiff$$7$$-62;$bottom_height$$=$windowdim$$1$$.height-($y$$28_ydiff$$7$$+62);$left_width$$=$x$$48$$-60;$right_width$$=$windowdim$$1$$.width-($x$$48$$+60)}if($top_height$$<0)$top_height$$=0;if($left_width$$<0)$left_width$$=0;if($right_width$$<0)$right_width$$=0;if($bottom_height$$<0)$bottom_height$$=0;$bottom_height$$=$top_height$$>$windowdim$$1$$.height-124?0:Math.min($bottom_height$$,$windowdim$$1$$.height-124-$top_height$$);$tunnel_vision_top$$.style.height=$top_height$$+"px";$tunnel_vision_bottom$$.style.height=
$bottom_height$$+"px";$tunnel_vision_left$$.style.width=$left_width$$+"px";$tunnel_vision_left$$.style.top=$top_height$$+"px";$tunnel_vision_left_tunnel$$.style.width=($left_width$$<97?0:$left_width$$-97)+"px";$tunnel_vision_right$$.style.width=$right_width$$+"px";$tunnel_vision_right_tunnel$$.style.width=($right_width$$<97?0:$right_width$$-97)+"px";$tunnel_vision_right$$.style.top=$top_height$$+"px"}};this.$saveTrackerDataCallback$=function $this$$saveTrackerDataCallback$$($data$$10$$){$debug$$("saveTrackerDataCallback success["+
$data$$10$$.success+"] reason["+$data$$10$$.reason+"]")};this.$checkAccountDetailsOnServerCallback$=function $this$$checkAccountDetailsOnServerCallback$$($data$$11$$){if($data$$11$$.success==="true"){$debug$$("MET is recording this session");if($data$$11$$.paid==="true")document.getElementById("PicNetEyeTracker").innerHTML=""}else{$instance$$.$clearAllEvents$();$installationError$$=$data$$11$$.reason;$debug$$("MET is NOT recording this session - "+$installationError$$)}};this.$reportClientExceptionCallback$=
function $this$$reportClientExceptionCallback$$(){$debug$$("Exception reported successfully")};this.now=function $this$now$(){return(new Date).getTime()};this.$addEvent$(window,"load",$entry_load$$);$goog$exportPath_$$("picnet.met.client.ptc",this,void 0);$goog$exportPath_$$("picnet.met.client.ptc.saveTrackerDataCallback",this.$saveTrackerDataCallback$,void 0);$goog$exportPath_$$("picnet.met.client.ptc.checkAccountDetailsOnServerCallback",this.$checkAccountDetailsOnServerCallback$,void 0);$goog$exportPath_$$("picnet.met.client.ptc.reportClientExceptionCallback",
this.$reportClientExceptionCallback$,void 0);this["picnet.met.client.ptc.serviceUrl"]=this.$serviceUrl$});
