function NObject() { NObject.prototype.RuntimeType = this; NObject.prototype.RuntimeTypeName = NObject.extractTypeName(); NObject.prototype.BaseType = null; NObject.prototype.BaseTypeName = null; this.InstanceAutoIncrementId = NObject.GlobalInstanceCounter; NObject.GlobalInstanceCounter ++; }; NObject.GlobalInstanceCounter = 0; NObject.DebugWarnings = new Array(); NObject.prototype.InitializeRuntimeTypeInfo = function(prototype) { if(String(this.RuntimeType) != "undefined") return; this.RuntimeType = prototype.RuntimeType; this.RuntimeTypeName = prototype.RuntimeTypeName; this.BaseType = prototype.BaseType; this.BaseTypeName = prototype.BaseTypeName; }; NObject.prototype.ToString = function(self) { return "object " + self.GetTypeName(); }; NObject.prototype.toString = function() { return this.ToString(this); }; NObject.prototype.GetHashCode = function(self) { return self.InstanceAutoIncrementId; }; NObject.prototype.Equals = function(self, object) { if(object == null || String(object) == "undefined") return false; if(object.InstanceAutoIncrementId) return object.InstanceAutoIncrementId == self.InstanceAutoIncrementId; return false; }; NObject.prototype.GetEnumerator = function() { throw "GetEnumerator() is not part of the Nevron JavaScript Framework"; }; NObject.prototype.GetType = function() { return this.RuntimeType; }; NObject.prototype.GetTypeName = function() { return this.RuntimeTypeName; }; NObject.prototype.GetAltTypeName = function() { return this.RuntimeType.__0n$m; }; NObject.prototype.GetBase = function() { return this.BaseType.prototype; }; NObject.prototype.GetBaseType = function() { return this.BaseType; }; NObject.prototype.GetBaseTypeName = function() { return this.BaseTypeName; }; NObject.prototype.GetAltBaseTypeName = function() { if(!this.BaseType || !this.BaseType.__0n$m) return null; return this.BaseType.__0n$m; }; NObject.AddDebugWarning = function(className, memebrName, isStatic) { if(typeof(isStatic) == "undefined") isStatic = false; if(isStatic) NObject.DebugWarnings.push("WARNING: " + className + "." + memebrName + " is already defined."); else NObject.DebugWarnings.push("WARNING: " + className + ".prototype." + memebrName + " is already defined."); return; }; NObject.AddDebugWarningRex = NObject.AddDebugWarning; NObject.DumpDebugWarnings = function() { var text = ""; for(var i = 0; i < NObject.DebugWarnings.length; i++) { if(i % 20 == 19) { alert(text); text = ""; } text += NObject.DebugWarnings[i] + "\r\n"; } if(text != "") { alert(text); } NObject.DebugWarnings.length = 0; }; NObject.IsInherited = function(cls, memberName, isStatic) { var type = eval(cls.prototype.BaseTypeName); while(type != null && NObject.IsDef(typeof(type))) { if(isStatic) { if(NObject.IsDef(typeof(type[memberName]))) return true; } else { if(NObject.IsDef(typeof(type.prototype[memberName]))) return true; } type = eval(type.prototype.BaseTypeName); } return false; }; NObject.IsInheritedRex = NObject.IsInherited; NObject.IsDef = function(obj) { return new String(obj) != "undefined"; }; NObject.Typeof = function(obj) { if(obj.GetClassName) { return obj.GetClassName(); } else if(obj.GetTypeName) { return obj.GetTypeName(); } else { return null; } }; NObject.GetObjectHashCode = function(obj) { if(NReflection.HasBaseClassOfType(obj, "NObject")) { return obj.GetHashCode(obj); } switch(typeof(obj)) { case "string": return NTools.GetStringHashCode(obj); case "number": return obj; case "boolean": return obj == true ? 0 : 1; default: return null; } }; NObject.CompareObjects = function(object1, object2) { if(!NReflection.IsInstance(object1) || !NReflection.IsInstance(object2)) return false; if(NReflection.HasBaseClassOfType(object1, "NObject") && NReflection.HasBaseClassOfType(object2, "NObject")) return object1.Equals(object1, object2); if((typeof(object1)) != (typeof(object2))) return false; return String(object1) == String(object2); }; Function.prototype.DeriveFrom = function(baseType) { var prop; if(this == baseType) throw "Cannot derive from self"; for(prop in baseType.prototype) if(typeof(baseType.prototype[prop]) == "function" && !this.prototype[prop]) this.prototype[prop] = baseType.prototype[prop]; this.prototype.toString = baseType.prototype.toString; for(prop in baseType) if(typeof(baseType[prop]) == "function" && !this.prototype[prop]) this[prop] = baseType[prop]; this.prototype.RuntimeType = this; this.prototype.RuntimeTypeName = this.extractTypeName(); this.prototype.BaseType = baseType; this.prototype.BaseTypeName = baseType.extractTypeName(); this.prototype[this.prototype.BaseTypeName] = baseType; if(baseType.__0n$m) this.prototype[baseType.__0n$m] = baseType; }; Function.prototype.extractTypeName = function() { var typeName; typeName = this.toString(); typeName = typeName.substring(typeName.indexOf(" ") + 1, typeName.indexOf("(")); return typeName; }; Function.prototype.GetType = function() { return this.prototype.RuntimeType; }; Function.prototype.GetClassName = function() { return this.prototype.RuntimeTypeName; }; Function.prototype.GetAltClassName = function() { if(!this.prototype.RuntimeType || !this.prototype.RuntimeType.__0n$m) return null; return this.prototype.RuntimeType.__0n$m; }; Function.prototype.GetBaseType = function() { return this.prototype.BaseType; }; Function.prototype.GetBase = function() { return this.prototype.BaseType.prototype; }; Function.prototype.GetBaseTypeName = function() { return this.prototype.BaseTypeName; }; Function.prototype.GetAltBaseTypeName = function() { if(!this.prototype.BaseType || !this.prototype.BaseType.__0n$m) return null; return this.prototype.BaseType.__0n$m; }; String.prototype.trim = function() { return this.replace(/^\s+|\s+$/, ''); }; function NRefParam(val) { this.InitializeRuntimeTypeInfo(NRefParam.prototype); this.NObject(); this.length += 1; this.val = null; this.val = val; }; NRefParam.DeriveFrom(NObject); NRefParam.prototype.SetValue = function(val) { this.val = val; }; NRefParam.prototype.GetValue = function() { return this.val; }; function NException(message, innerException) { this.InitializeRuntimeTypeInfo(NException.prototype); this.NObject(); this.length += 2; this.message = ""; this.innerException = null; if (NObject.IsDef(typeof message)) { this.message = message; } if (NObject.IsDef(typeof innerException)) { this.innerException = innerException; } }; NException.DeriveFrom(Error); NException.DeriveFrom(NObject); NException.prototype.GetMessage = function(self) { return self.message; }; NException.prototype.GetInnerException = function(self) { return self.innerException; }; NException.prototype.ToString = function(self) { var exc = self; var fullMsg = ""; var msg; while(exc != null && NObject.IsDef(typeof(exc))) { msg = exc.GetMessage(exc); if(msg == null || !NObject.IsDef(msg) || msg.length == 0) { exc = exc.innerException; continue; } if(msg.charAt(msg.length - 1) != ".") { fullMsg += msg + ". "; } else { fullMsg += msg + " "; } exc = exc.innerException; } return fullMsg; }; $_$_=ENMemberFilter;$_$_.__0n$m="$_$_";function ENMemberFilter(){if(typeof($_$_.All)!="undefined"&&!NObject.IsInheritedRex($_$_,"All",true))NObject.AddDebugWarningRex("ENMemberFilter","All",true);$_$_.All=0;if(typeof($_$_.Properties)!="undefined"&&!NObject.IsInheritedRex($_$_,"Properties",true))NObject.AddDebugWarningRex("ENMemberFilter","Properties",true);$_$_.Properties=1;if(typeof($_$_.Methods)!="undefined"&&!NObject.IsInheritedRex($_$_,"Methods",true))NObject.AddDebugWarningRex("ENMemberFilter","Methods",true);$_$_.Methods=2;}$_$_.DeriveFrom(NObject);$_$_();$$$_=ENType;$$$_.__0n$m="$$$_";function ENType(){if(typeof($$$_.TString)!="undefined"&&!NObject.IsInheritedRex($$$_,"TString",true))NObject.AddDebugWarningRex("ENType","TString",true);$$$_.TString="string";if(typeof($$$_.TInt)!="undefined"&&!NObject.IsInheritedRex($$$_,"TInt",true))NObject.AddDebugWarningRex("ENType","TInt",true);$$$_.TInt="number";if(typeof($$$_.TObject)!="undefined"&&!NObject.IsInheritedRex($$$_,"TObject",true))NObject.AddDebugWarningRex("ENType","TObject",true);$$$_.TObject="object";if(typeof($$$_.TBool)!="undefined"&&!NObject.IsInheritedRex($$$_,"TBool",true))NObject.AddDebugWarningRex("ENType","TBool",true);$$$_.TBool="boolean";if(typeof($$$_.TFunction)!="undefined"&&!NObject.IsInheritedRex($$$_,"TFunction",true))NObject.AddDebugWarningRex("ENType","TFunction",true);$$$_.TFunction="function";}$$$_.DeriveFrom(NObject);$$$_();$0$_=ENElementRole;$0$_.__0n$m="$0$_";function ENElementRole(){if(typeof($0$_.None)!="undefined"&&!NObject.IsInheritedRex($0$_,"None",true))NObject.AddDebugWarningRex("ENElementRole","None",true);$0$_.None=0;if(typeof($0$_.MouseCaptureLayer)!="undefined"&&!NObject.IsInheritedRex($0$_,"MouseCaptureLayer",true))NObject.AddDebugWarningRex("ENElementRole","MouseCaptureLayer",true);$0$_.MouseCaptureLayer=1;if(typeof($0$_.Last)!="undefined"&&!NObject.IsInheritedRex($0$_,"Last",true))NObject.AddDebugWarningRex("ENElementRole","Last",true);$0$_.Last=$0$_.MouseCaptureLayer;}$0$_.DeriveFrom(NObject);$0$_();$1$_=ENEventType;$1$_.__0n$m="$1$_";function ENEventType(){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($1$_.prototype);$h$$_.NObject();};$1$_.DeriveFrom(NObject);$1$_.$=function(){if(typeof($1$_.NotRelevant)!="undefined"&&!NObject.IsInheritedRex($1$_,"NotRelevant",true))NObject.AddDebugWarningRex("ENEventType","NotRelevant",true);$1$_.NotRelevant=0;if(typeof($1$_.MouseClick)!="undefined"&&!NObject.IsInheritedRex($1$_,"MouseClick",true))NObject.AddDebugWarningRex("ENEventType","MouseClick",true);$1$_.MouseClick=1;if(typeof($1$_.MouseDoubleClick)!="undefined"&&!NObject.IsInheritedRex($1$_,"MouseDoubleClick",true))NObject.AddDebugWarningRex("ENEventType","MouseDoubleClick",true);$1$_.MouseDoubleClick=2;if(typeof($1$_.MouseDown)!="undefined"&&!NObject.IsInheritedRex($1$_,"MouseDown",true))NObject.AddDebugWarningRex("ENEventType","MouseDown",true);$1$_.MouseDown=3;if(typeof($1$_.MouseUp)!="undefined"&&!NObject.IsInheritedRex($1$_,"MouseUp",true))NObject.AddDebugWarningRex("ENEventType","MouseUp",true);$1$_.MouseUp=4;if(typeof($1$_.MouseMove)!="undefined"&&!NObject.IsInheritedRex($1$_,"MouseMove",true))NObject.AddDebugWarningRex("ENEventType","MouseMove",true);$1$_.MouseMove=5;if(typeof($1$_.MouseOver)!="undefined"&&!NObject.IsInheritedRex($1$_,"MouseOver",true))NObject.AddDebugWarningRex("ENEventType","MouseOver",true);$1$_.MouseOver=6;if(typeof($1$_.MouseOut)!="undefined"&&!NObject.IsInheritedRex($1$_,"MouseOut",true))NObject.AddDebugWarningRex("ENEventType","MouseOut",true);$1$_.MouseOut=7;if(typeof($1$_.LastEventType)!="undefined"&&!NObject.IsInheritedRex($1$_,"LastEventType",true))NObject.AddDebugWarningRex("ENEventType","LastEventType",true);$1$_.LastEventType=$1$_.MouseOut;};$1$_.$();function $2$_(){if(typeof($2$_.$)!="undefined"&&!NObject.IsInheritedRex($2$_,"$",true))NObject.AddDebugWarningRex("$2$_","$",true);$2$_.$=0;if(typeof($2$_.a)!="undefined"&&!NObject.IsInheritedRex($2$_,"a",true))NObject.AddDebugWarningRex("$2$_","a",true);$2$_.a=1;if(typeof($2$_.b)!="undefined"&&!NObject.IsInheritedRex($2$_,"b",true))NObject.AddDebugWarningRex("$2$_","b",true);$2$_.b=2;}$2$_.DeriveFrom(NObject);$2$_();$3$_=ENDebugConsoleMode;$3$_.__0n$m="$3$_";function ENDebugConsoleMode(){if(typeof($3$_.Embedded)!="undefined"&&!NObject.IsInheritedRex($3$_,"Embedded",true))NObject.AddDebugWarningRex("ENDebugConsoleMode","Embedded",true);$3$_.Embedded=0;if(typeof($3$_.PopUp)!="undefined"&&!NObject.IsInheritedRex($3$_,"PopUp",true))NObject.AddDebugWarningRex("ENDebugConsoleMode","PopUp",true);$3$_.PopUp=1;if(typeof($3$_.Auto)!="undefined"&&!NObject.IsInheritedRex($3$_,"Auto",true))NObject.AddDebugWarningRex("ENDebugConsoleMode","Auto",true);$3$_.Auto=2;}$3$_.DeriveFrom(NObject);$3$_();$4$_=NOffset;$4$_.__0n$m="$4$_";function NOffset($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$4$_","$4$_",$,"number","$");if((typeof $8$_)!="undefined")$8$_.$("$4$_","$4$_",a,"number","a");$h$$_.InitializeRuntimeTypeInfo($4$_.prototype);$h$$_.NObject();if(typeof($h$$_.offsetLeft)!="undefined"&&!NObject.IsInheritedRex($4$_,"offsetLeft",false))NObject.AddDebugWarningRex("NOffset","offsetLeft",false);$h$$_.offsetLeft=0;if(typeof($h$$_.offsetTop)!="undefined"&&!NObject.IsInheritedRex($4$_,"offsetTop",false))NObject.AddDebugWarningRex("NOffset","offsetTop",false);$h$$_.offsetTop=0;if(NObject.IsDef((typeof $)))$h$$_.offsetLeft=$;if(NObject.IsDef((typeof a)))$h$$_.offsetTop=a;};$4$_.DeriveFrom(NObject);$5$_=NTools;$5$_.__0n$m="$5$_";function NTools(){}$5$_.DeriveFrom(NObject);$5$_();if(typeof(NTools.indexOf)!="undefined"&&!NObject.IsInheritedRex(NTools,"indexOf",true))NObject.AddDebugWarningRex("NTools","indexOf",true);$5$_.$ = $5$_.indexOf=function($,a){for(var b=0;b<$.length;b++){if($[b]==a)return b;}return-1;};if(typeof(NTools.TrimString)!="undefined"&&!NObject.IsInheritedRex(NTools,"TrimString",true))NObject.AddDebugWarningRex("NTools","TrimString",true);$5$_.a = $5$_.TrimString=function($,a){return $5$_.b($5$_.c($,a),a);};if(typeof(NTools.TrimStartOfString)!="undefined"&&!NObject.IsInheritedRex(NTools,"TrimStartOfString",true))NObject.AddDebugWarningRex("NTools","TrimStartOfString",true);$5$_.b = $5$_.TrimStartOfString=function($,a){if((typeof $8$_)!="undefined")$8$_.$("$5$_","b",$,"string","$");var b;for(b=0;b<$.length;b++){var c=$.charAt(b);var d=false;for(var e=0;e=0;b--){var c=$.charAt(b);var d=false;for(var e=0;e=0;b--){var c=$.charAt(b);var d=false;for(var e=0;e=0;d--){if($.charAt(d)==")")break;if($.charAt(d)=="$"){b.Start=d+1;break;}}if(b.Start==-1)return null;b.Start--;b.End+=1;return b;};if(typeof($5$_.k)!="undefined"&&!NObject.IsInheritedRex($5$_,"k",true))NObject.AddDebugWarningRex("$5$_","k",true);$5$_.k=function($,a,b){if((typeof $8$_)!="undefined")$8$_.$("$5$_","k",$,"string","$");if((typeof $8$_)!="undefined")$8$_.$("$5$_","k",a,"string","a");if((typeof $8$_)!="undefined")$8$_.$("$5$_","k",b,"string","b");var c=$.indexOf("&"+a+"=");if(c==-1)return $+"&"+a+"="+b;var d=$.indexOf("&",c+1);var e=$.slice(0,c)+"&"+a+"="+b+$.slice(d);return e;};$6$_=NStringBuilder;$6$_.__0n$m="$6$_";function NStringBuilder($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$6$_","$6$_",$,"string","$");$h$$_.InitializeRuntimeTypeInfo($6$_.prototype);$h$$_.NObject();if(typeof($h$$_.d)!="undefined"&&!NObject.IsInheritedRex($6$_,"d",false))NObject.AddDebugWarningRex("$6$_","d",false);$h$$_.d=new Array();if($9$_.b($))$h$$_.d[0]=$;};$6$_.DeriveFrom(NObject);$6$_.prototype.ToString=function($h$$_){return $h$$_.d.join("");};if(typeof(NStringBuilder.prototype.Append)!="undefined"&&!NObject.IsInheritedRex(NStringBuilder,"Append",false))NObject.AddDebugWarningRex("NStringBuilder","Append",false);$6$_.prototype.a = $6$_.prototype.Append=function($){var $h$$_=this;$h$$_.d[$h$$_.d.length]=new String($);return $h$$_;};if(typeof(NStringBuilder.prototype.AppendLine)!="undefined"&&!NObject.IsInheritedRex(NStringBuilder,"AppendLine",false))NObject.AddDebugWarningRex("NStringBuilder","AppendLine",false);$6$_.prototype.b = $6$_.prototype.AppendLine=function($){var $h$$_=this;if($9$_.b($))$h$$_.d[$h$$_.d.length]=$.toString()+"\r\n";else $h$$_.d[$h$$_.d.length]="\r\n";return $h$$_;};$7$_=NDiagnostics;$7$_.__0n$m="$7$_";function NDiagnostics(){if(typeof($7$_.y)!="undefined"&&!NObject.IsInheritedRex($7$_,"y",true))NObject.AddDebugWarningRex("$7$_","y",true);$7$_.y=null;if(typeof($7$_.z)!="undefined"&&!NObject.IsInheritedRex($7$_,"z",true))NObject.AddDebugWarningRex("$7$_","z",true);$7$_.z=false;if(typeof($7$_.A)!="undefined"&&!NObject.IsInheritedRex($7$_,"A",true))NObject.AddDebugWarningRex("$7$_","A",true);$7$_.A=false;if(typeof($7$_.B)!="undefined"&&!NObject.IsInheritedRex($7$_,"B",true))NObject.AddDebugWarningRex("$7$_","B",true);$7$_.B=0;if(typeof($7$_.C)!="undefined"&&!NObject.IsInheritedRex($7$_,"C",true))NObject.AddDebugWarningRex("$7$_","C",true);$7$_.C=null;if(typeof($7$_.D)!="undefined"&&!NObject.IsInheritedRex($7$_,"D",true))NObject.AddDebugWarningRex("$7$_","D",true);$7$_.D=$3$_.Auto;if(typeof($7$_.fonm)!="undefined"&&!NObject.IsInheritedRex($7$_,"fonm",true))NObject.AddDebugWarningRex("NDiagnostics","fonm",true);$7$_.fonm=true;}$7$_.DeriveFrom(NObject);$7$_();if(typeof(NDiagnostics.Trace)!="undefined"&&!NObject.IsInheritedRex(NDiagnostics,"Trace",true))NObject.AddDebugWarningRex("NDiagnostics","Trace",true);$7$_.$ = $7$_.Trace=function($,a){if((typeof $8$_)!="undefined")$8$_.$("$7$_","$",a,"number","a");if(!$9$_.b(a))a=$7$_.D;switch(a){case $3$_.Auto:case $3$_.PopUp:if($7$_.z)return;if($7$_.y==null||$7$_.y.closed!=false){$7$_.z=true;$7$_.y=$7$_.q("Trace");$7$_.y.document.write("

Trace

");$7$_.z=false;}$7$_.y.document.write(String($)+"
");break;case $3$_.Embedded:var b=$7$_.k(true);if(b==null)return;var c=document.createElement("p");c.style.margin="0px 0px 0px 0px";c.style.paddingLeft="16px";c.style.fontFamily="Arial, sans serif";c.style.fontSize="11pt";c.innerHTML=String($);b.appendChild(c);b.scrollTop=1000000;break;default:throw new $l$_(NObject.Typeof($3$_),a);}};if(typeof(NDiagnostics.ListMembers)!="undefined"&&!NObject.IsInheritedRex(NDiagnostics,"ListMembers",true))NObject.AddDebugWarningRex("NDiagnostics","ListMembers",true);$7$_.b = $7$_.ListMembers=function($,a,b,c){if((typeof $8$_)!="undefined")$8$_.$("$7$_","b",$,"string","$");if((typeof $8$_)!="undefined")$8$_.$("$7$_","b",b,"number","b");if((typeof $8$_)!="undefined")$8$_.$("$7$_","b",c,"number","c");if(!$9$_.b(c))c=$7$_.D;switch(c){case $3$_.Auto:case $3$_.PopUp:$7$_.s($,a,b);break;case $3$_.Embedded:$7$_.t($,a,b);break;default:throw new $l$_(NObject.Typeof($3$_),c);}};if(typeof(NDiagnostics.AlertProperties)!="undefined"&&!NObject.IsInheritedRex(NDiagnostics,"AlertProperties",true))NObject.AddDebugWarningRex("NDiagnostics","AlertProperties",true);$7$_.d = $7$_.AlertProperties=function($){if((typeof $)=="string"){alert("string: "+$);return;}var a=new Array();var b=0;var c=new String();for(var d in $){try{if($[d]==null||String($[d])==""||String($[d]).indexOf("[native code]")!=-1||d=="innerHTML"||d=="outerHTML")continue;if(b>25){a[a.length]=c;c=new String();b=0;}c+=d+" ="+$[d]+"\n";b++;}catch(e){}}a[a.length]=c;for(var f in a)alert(a[f]);};if(typeof(NDiagnostics.DisplayTraceElement)!="undefined"&&!NObject.IsInheritedRex(NDiagnostics,"DisplayTraceElement",true))NObject.AddDebugWarningRex("NDiagnostics","DisplayTraceElement",true);$7$_.e = $7$_.DisplayTraceElement=function($){if($7$_.C==null){$7$_.C=$7$_.l($);return;}var a=$c$_.c($);$7$_.C.style.left=$c$_.a(a.offsetLeft);$7$_.C.style.top=$c$_.a(a.offsetTop);$7$_.C.style.width=$c$_.a($.offsetWidth);$7$_.C.style.height=$c$_.a($.offsetHeight);};if(typeof(NDiagnostics.DebugConsoleVisible)!="undefined"&&!NObject.IsInheritedRex(NDiagnostics,"DebugConsoleVisible",true))NObject.AddDebugWarningRex("NDiagnostics","DebugConsoleVisible",true);$7$_.f = $7$_.DebugConsoleVisible=function($){if((typeof $8$_)!="undefined")$8$_.$("$7$_","f",$,"boolean","$");var a=document.getElementById("nDebugConsoleDiv_upperPanel");var b=document.getElementById("nDebugConsoleDiv_lowerPanel");var c=document.getElementById("nDebugConsoleDiv_upperPanelDiv");var d=document.getElementById("nDebugConsoleDiv");if(!$9$_.b(a)||!$9$_.b(b)||!$9$_.b(c)||!$9$_.b(d))return;if($){a.style.height=a["$_0"];b.style.height=b["$_1"];c.style.height=a.style.height;d.style.height=b.style.height;}else{a.style.height=a["$_2"];b.style.height=b["$_3"];c.style.height=a.style.height;d.style.height=b.style.height;}};if(typeof(NDiagnostics.ClearDebugConsole)!="undefined"&&!NObject.IsInheritedRex(NDiagnostics,"ClearDebugConsole",true))NObject.AddDebugWarningRex("NDiagnostics","ClearDebugConsole",true);$7$_.g = $7$_.ClearDebugConsole=function(){var $=document.getElementById("nDebugConsoleDiv");if(!$9$_.b($))return;$.innerHTML="";};if(typeof($7$_.h)!="undefined"&&!NObject.IsInheritedRex($7$_,"h",true))NObject.AddDebugWarningRex("$7$_","h",true);$7$_.h=function(){for(var $=0;$<100;$++){var a="zDiv"+$;var b=document.getElementById(a);if(b!=null)break;var c="xDiv"+$;var d=document.getElementById(c);document.body.removeChild(b);document.body.removeChild(d);}};if(typeof($7$_.i)!="undefined"&&!NObject.IsInheritedRex($7$_,"i",true))NObject.AddDebugWarningRex("$7$_","i",true);$7$_.i=function($,a,b,c,d){if((typeof $8$_)!="undefined")$8$_.$("$7$_","i",$,"number","$");if((typeof $8$_)!="undefined")$8$_.$("$7$_","i",a,"string","a");if((typeof $8$_)!="undefined")$8$_.$("$7$_","i",b,"number","b");if((typeof $8$_)!="undefined")$8$_.$("$7$_","i",c,"number","c");if((typeof $8$_)!="undefined")$8$_.$("$7$_","i",d,"boolean","d");var e=document.createElement("div");e.id="zDiv"+$;e.style.position="absolute";if(!d){e.style.top=$c$_.a(0);e.style.left=$c$_.a(30*$);e.style.width=$c$_.a(30);e.style.height=$c$_.a(b);}else{e.style.top=$c$_.a(30*$);e.style.left=$c$_.a(0);e.style.width=$c$_.a(b);e.style.height=$c$_.a(30);}e.style.background=a;document.body.appendChild(e);e=document.createElement("div");e.id="xDiv"+$;e.style.position="absolute";if(!d){e.style.top=$c$_.a(c);e.style.left=$c$_.a(30*$);e.style.width=$c$_.a(30);e.style.height=$c$_.a(30);}else{e.style.top=$c$_.a(30*$);e.style.left=$c$_.a(c);e.style.width=$c$_.a(30);e.style.height=$c$_.a(30);}e.style.background=a;e.style.border="2px solid black";document.body.appendChild(e);};if(typeof($7$_.j)!="undefined"&&!NObject.IsInheritedRex($7$_,"j",true))NObject.AddDebugWarningRex("$7$_","j",true);$7$_.j=function($){if((typeof $8$_)!="undefined")$8$_.$("$7$_","j",$,"number","$");if($7$_.D==$)return;switch($){case $3$_.Auto:return;case $3$_.Embedded:$7$_.D=$3$_.Embedded;return;case $3$_.PopUp:if($7$_.D!=$3$_.Embedded)$7$_.D=$3$_.PopUp;return;default:throw new $l$_(NObject.Typeof($3$_),$);}};if(typeof($7$_.k)!="undefined"&&!NObject.IsInheritedRex($7$_,"k",true))NObject.AddDebugWarningRex("$7$_","k",true);$7$_.k=function($){if((typeof $8$_)!="undefined")$8$_.$("$7$_","k",$,"boolean","$");if($7$_.A)return null;var a=document.getElementById("nDebugConsoleDiv");if(!$9$_.b(a)){$7$_.A=true;a=$7$_.n("Trace");$7$_.A=false;}$7$_.f($);return a;};if(typeof($7$_.l)!="undefined"&&!NObject.IsInheritedRex($7$_,"l",true))NObject.AddDebugWarningRex("$7$_","l",true);$7$_.l=function($){var a=$c$_.c($);var b=document.createElement("div");b.style.position="absolute";b.style.left=$c$_.a(a.offsetLeft);b.style.top=$c$_.a(a.offsetTop);b.style.width=$c$_.a($.offsetWidth);b.style.height=$c$_.a($.offsetHeight);b.style.border="solid 3px red";document.body.appendChild(b);return b;};if(typeof($7$_.m)!="undefined"&&!NObject.IsInheritedRex($7$_,"m",true))NObject.AddDebugWarningRex("$7$_","m",true);$7$_.m=function($,a){if($["$_4"]!=a["$_4"])return($["$_4"]Loading...";t.style.width="100%";t.style.height=$c$_.a(d);t.style.border="solid 1px black";u.type="button";u.style.width="100%";u.style.height=t.style.height;u.value="Close";$7$_.p(u);t.appendChild(u);q.appendChild(r);s.appendChild(t);p.appendChild(q);n.appendChild(o);m.appendChild(n);m.appendChild(p);m.appendChild(s);l.appendChild(m);k.appendChild(l);document.body.appendChild(k);$7$_.B++;return r;};if(typeof($7$_.p)!="undefined"&&!NObject.IsInheritedRex($7$_,"p",true))NObject.AddDebugWarningRex("$7$_","p",true);$7$_.p=function($){var a="nDenugDialogDiv"+$7$_.B;$.onclick=function(){document.body.removeChild(document.getElementById(a));};};if(typeof($7$_.q)!="undefined"&&!NObject.IsInheritedRex($7$_,"q",true))NObject.AddDebugWarningRex("$7$_","q",true);$7$_.q=function($){if((typeof $8$_)!="undefined")$8$_.$("$7$_","q",$,"string","$");var a=window.open("","_blank","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,copyhistory=0,top=0,left=0,width=1000,height=720");a.document.write("");a.document.write("");a.document.write("");a.document.write(" ");a.document.write("");a.document.write("");a.document.write(""+$+"");a.document.write("");return a;};if(typeof($7$_.r)!="undefined"&&!NObject.IsInheritedRex($7$_,"r",true))NObject.AddDebugWarningRex("$7$_","r",true);$7$_.r=function($){$.document.write("

end

");$.document.write("");$.document.close();};if(typeof($7$_.s)!="undefined"&&!NObject.IsInheritedRex($7$_,"s",true))NObject.AddDebugWarningRex("$7$_","s",true);$7$_.s=function($,a,b){if((typeof $8$_)!="undefined")$8$_.$("$7$_","s",$,"string","$");if((typeof $8$_)!="undefined")$8$_.$("$7$_","s",b,"number","b");try{if(!NObject.IsDef((typeof b)))b=$_$_.All;if((typeof a)==$$$_.TString)a=eval(a);var c=$7$_.q($);c.document.write("");c.document.write("

"+$+" - "+a+"

");var d=new $6$_();var e=$7$_.v(a,b,d);var f=d.ToString(d);c.document.write("");var g="";var h=0;var i;var j;var k;var l;for(l=0;l");c.document.write(" ");c.document.write("");h++;}if(f.length!=0){i=(h%2!=0)?"#f4f2f4":"#fbcb9c";c.document.write("");c.document.write(" ");c.document.write("");}c.document.write("
");c.document.write(""+g+"");c.document.write("
");c.document.write("error messages");c.document.write("

 

");c.document.write("");for(l=0;l");c.document.write(" ");c.document.write("");}k=j["$_5"];if($7$_.fonm&&(g=="function"||g=="delegate")){if(k.length>2&&k.charAt(0)=="$"&&k.charAt(k.length-2)=="$"&&k.charAt(k.length-1)=="_")continue;if(k.length>1&&k.charAt(0)=="N"&&k.charAt(1).toUpperCase()==k.charAt(1))continue;if(k.substr(0,2)=="EN")continue;}i=(l%2!=0)?"#f4f2f4":"#fceee4";c.document.write("");c.document.write(" ");c.document.write(" ");c.document.write(" ");c.document.write("");}c.document.write("
");c.document.write("

"+g+" | go top

");c.document.write("
");c.document.write(g);c.document.write(" ");c.document.write(k);c.document.write("  ");if(g=="function"){c.document.write("
");c.document.write($7$_.w(String(j["$_6"])));c.document.write("
");}else c.document.write(j["$_6"]);c.document.write("

 

");if(f.length!=0){c.document.write("");c.document.write(f);c.document.write("

 

");}$7$_.r(c);c.document["selectedObject"]=a;}catch(m){}};if(typeof($7$_.t)!="undefined"&&!NObject.IsInheritedRex($7$_,"t",true))NObject.AddDebugWarningRex("$7$_","t",true);$7$_.t=function($,a,b){if((typeof $8$_)!="undefined")$8$_.$("$7$_","t",$,"string","$");if((typeof $8$_)!="undefined")$8$_.$("$7$_","t",b,"number","b");if(!NObject.IsDef((typeof b)))b=$_$_.All;var c=$7$_.o($);window.setTimeout(function(){$7$_.u(c,$,a,b);},100);};if(typeof($7$_.u)!="undefined"&&!NObject.IsInheritedRex($7$_,"u",true))NObject.AddDebugWarningRex("$7$_","u",true);$7$_.u=function($,a,b,c){if((typeof $8$_)!="undefined")$8$_.$("$7$_","u",a,"string","a");if((typeof $8$_)!="undefined")$8$_.$("$7$_","u",c,"number","c");try{var d=$.offsetWidth;var e=$.offsetHeight;var f="nDebugDialogTop"+$.id;var g=new $6$_("");g.a("

").a(a).a(" - ").a(b).a("

");var h=new $6$_();var i=$7$_.v(b,c,h);var j=h.ToString(h);g.a("");var k="";var l=0;var m;var n;var o;var p;for(p=0;p");g.a(" ");g.a("");l++;}if(j.length!=0){m=(l%2!=0)?"#f4f2f4":"#fbcb9c";g.a("");g.a(" ");g.a("");}g.a("
");g.a("").a(k).a("");g.a("
");g.a("error messages");g.a("

 

");g.a("");for(p=0;p");g.a(" ");g.a("");}n=o["$_5"];if($7$_.fonm&&(k=="function"||k=="delegate")){if(n.length>2&&n.charAt(0)=="$"&&n.charAt(n.length-2)=="$"&&n.charAt(n.length-1)=="_")continue;if(n.length>1&&n.charAt(0)=="N"&&n.charAt(1).toUpperCase()==n.charAt(1))continue;if(n.substr(0,2)=="EN")continue;}m=(p%2!=0)?"#f4f2f4":"#fceee4";var q="\""+a+"."+n+"\"";var r="document.getElementById(\""+$.id+"\").selectedObject."+n;var s=String(c);var t="NDiagnostics.ListMembers("+q+", "+r+", "+s+", ENDebugConsoleMode.Embedded)";g.a("");g.a(" ");g.a(" ");g.a(" ");g.a("");}g.a("
");g.a("

").a(k).a(" | go top

");g.a("
");g.a(k);g.a(" ");g.a(" ").a(n).a("");g.a("  ");if(k=="function"){g.a("
");g.a($7$_.w(String(o["$_6"])));g.a("
");}else g.a(o["$_6"]);g.a("

 

");if(j.length!=0){g.a("");g.a(j);g.a("

 

");}$.innerHTML=g.ToString(g);$["selectedObject"]=b;$.style.width=$c$_.a(d);$.style.height=$c$_.a(e);}catch(u){}};if(typeof($7$_.v)!="undefined"&&!NObject.IsInheritedRex($7$_,"v",true))NObject.AddDebugWarningRex("$7$_","v",true);$7$_.v=function($,a,b){if((typeof $8$_)!="undefined")$8$_.$("$7$_","v",a,"number","a");if((typeof $8$_)!="undefined")$8$_.$("$7$_","v",b,"$6$_","b");var c=new Array();var d=new RegExp("<","gi");for(var e in $){try{var f=$[e];var g=String(f).replace(d,"<");var h=(typeof f);if(a==$_$_.Properties&&h=="function")continue;if(f==null)f="null";var i=e.slice(0,2).toLowerCase();if(a==$_$_.Methods&&h!="function"){if(h!="string")continue;if(i!="on")continue;}var j=new Object();j["$_5"]=String(e);if(i=="on")j["$_4"]="delegate";else j["$_4"]=h;j["$_6"]=g;c[c.length]=j;}catch(k){b.a("");b.a(" ");b.a(e).a(" caused exception ").a(k.message).a("

");b.a(" ");b.a("");}}c.sort($7$_.m);return c;};if(typeof($7$_.w)!="undefined"&&!NObject.IsInheritedRex($7$_,"w",true))NObject.AddDebugWarningRex("$7$_","w",true);$7$_.w=function($){if((typeof $8$_)!="undefined")$8$_.$("$7$_","w",$,"string","$");var a=new $6$_();var b=$.length;var c=0;var d=false;var e=false;var f=null;for(var g=0;g"+c+"\"",d),e);};if(typeof(NDebug.AssertExactType)!="undefined"&&!NObject.IsInheritedRex(NDebug,"AssertExactType",true))NObject.AddDebugWarningRex("NDebug","AssertExactType",true);$8$_.b = $8$_.AssertExactType=function($,a,b,c,d,e){if(!NObject.IsDef((typeof b)))return;if(b==null)return;if(c=="object")return;if(!$9$_.e(b,c))$7$_.$($8$_.n($,a,"ASSERTION (exact type) failed for type \""+c+"\"",d),e);};if(typeof(NDebug.AssertIsDef)!="undefined"&&!NObject.IsInheritedRex(NDebug,"AssertIsDef",true))NObject.AddDebugWarningRex("NDebug","AssertIsDef",true);$8$_.d = $8$_.AssertIsDef=function($,a,b,c,d,e){if(String(b)=="undefined")$7$_.$($8$_.n($,a,"ASSERTION (is def) failed; "+c,d),e);};if(typeof(NDebug.TraceError)!="undefined"&&!NObject.IsInheritedRex(NDebug,"TraceError",true))NObject.AddDebugWarningRex("NDebug","TraceError",true);$8$_.f = $8$_.TraceError=function($,a,b,c){if(!NObject.IsDef((typeof b))){$7$_.$($8$_.n($,a,"no error message was provided"),c);return;}var d="";if($9$_.c(b,NObject.Typeof(NException))){var e=b;d=e.GetMessage(e);}else{if(NObject.IsDef((typeof b.message)))d=b.message;if(NObject.IsDef((typeof b.description))){if(b.description!=d)d+="; "+b.description;}}if(d=="")d=b.toString();$7$_.$($8$_.n($,a,"EXCEPTION - "+d),c);};if(typeof(NDebug.Assert)!="undefined"&&!NObject.IsInheritedRex(NDebug,"Assert",true))NObject.AddDebugWarningRex("NDebug","Assert",true);$8$_.j = $8$_.Assert=function($,a,b,c,d){if(!b)$7$_.$($8$_.n($,a,"ASSERTION failed; "+c,null),d);};if(typeof(NDebug.Fail)!="undefined"&&!NObject.IsInheritedRex(NDebug,"Fail",true))NObject.AddDebugWarningRex("NDebug","Fail",true);$8$_.l = $8$_.Fail=function($,a,b,c){$7$_.$($8$_.n($,a,"ASSERTION (fail) failed; "+b,null),c);};if(typeof($8$_.n)!="undefined"&&!NObject.IsInheritedRex($8$_,"n",true))NObject.AddDebugWarningRex("$8$_","n",true);$8$_.n=function($,a,b,c){var d="";if($9$_.b($)&&$!="")d=""+$.toString()+".";var e="";if($9$_.b(a)&&a!="")e=""+a.toString()+"";var f;if($9$_.b(c)&&c!=""){var g="";if(d!=""||e!="")g="\""+d+e+"\", ";f=g+"var \""+c+"\": "+b.toString();}else{var h="";if(d!=""||e!="")g="\""+d+e+"\": ";f=g+b.toString();}var i=f.charAt(f.length-1);if(i!="."&&i!="!"&&i!="?"&&i!=";")f+=".";return f;};$9$_=NReflection;$9$_.__0n$m="$9$_";function NReflection(){}$9$_.DeriveFrom(NObject);$9$_();if(typeof(NReflection.HasProperties)!="undefined"&&!NObject.IsInheritedRex(NReflection,"HasProperties",true))NObject.AddDebugWarningRex("NReflection","HasProperties",true);$9$_.$ = $9$_.HasProperties=function($){for(var a in $)return true;return false;};if(typeof(NReflection.HasProperty)!="undefined"&&!NObject.IsInheritedRex(NReflection,"HasProperty",true))NObject.AddDebugWarningRex("NReflection","HasProperty",true);$9$_.a = $9$_.HasProperty=function($,a){var b=String(a);for(var c in $){if(c==b)return true;}return false;};if(typeof(NReflection.IsInstance)!="undefined"&&!NObject.IsInheritedRex(NReflection,"IsInstance",true))NObject.AddDebugWarningRex("NReflection","IsInstance",true);$9$_.b = $9$_.IsInstance=function($){var a=(typeof $);var b="";try{b=String($);}catch(c){return true;}return a!="undefined"&&a!="unknown"&&b!="null";};if(typeof(NReflection.HasBaseClassOfType)!="undefined"&&!NObject.IsInheritedRex(NReflection,"HasBaseClassOfType",true))NObject.AddDebugWarningRex("NReflection","HasBaseClassOfType",true);$9$_.c = $9$_.HasBaseClassOfType=function($,a){if(!$9$_.b($))return false;if(!$9$_.$($))return false;if(!$9$_.b($["GetBaseTypeName"]))return false;var b=$;var c=String(a);return b.GetBaseTypeName()==c||b.GetAltBaseTypeName()==c||$9$_.c(b.GetBaseType(),a);};if(typeof(NReflection.IsOfType)!="undefined"&&!NObject.IsInheritedRex(NReflection,"IsOfType",true))NObject.AddDebugWarningRex("NReflection","IsOfType",true);$9$_.e = $9$_.IsOfType=function($,a){if(!$9$_.b($))return false;var b=String(a);if((typeof $)!=$$$_.TObject)return(typeof $)==b;if(b==$$$_.TObject)return true;if(!$9$_.$($))return false;if(!$9$_.b($["GetTypeName"]))return false;var c=$;return(c.GetTypeName()==b)||(c.GetAltTypeName()==b);};if(typeof(NReflection.IsOfTag)!="undefined"&&!NObject.IsInheritedRex(NReflection,"IsOfTag",true))NObject.AddDebugWarningRex("NReflection","IsOfTag",true);$9$_.g = $9$_.IsOfTag=function($,a){if(!$9$_.e($,$$$_.TObject))return false;if(!$9$_.$($))return false;if(!$9$_.b($.tagName))return false;return $.tagName.toLowerCase()==a.toLowerCase();};if(typeof(NReflection.MapEnumValueToName)!="undefined"&&!NObject.IsInheritedRex(NReflection,"MapEnumValueToName",true))NObject.AddDebugWarningRex("NReflection","MapEnumValueToName",true);$9$_.h = $9$_.MapEnumValueToName=function($,a){if((typeof $8$_)!="undefined")$8$_.$("$9$_","h",$,"string","$");if((typeof $8$_)!="undefined")$8$_.$("$9$_","h",a,"number","a");var b=eval($);for(var c in b){var d=b[c];if(d==null||String(d)=="")continue;if(d==a){{var __r3=(c);if((typeof $8$_)!="undefined")$8$_.$("$9$_","h",__r3,"string","__r3");return __r3;}}}return null;};$a$_=NDictionaryEntry;$a$_.__0n$m="$a$_";function NDictionaryEntry($,a){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($a$_.prototype);$h$$_.NObject();if(typeof($h$$_.key)!="undefined"&&!NObject.IsInheritedRex($a$_,"key",false))NObject.AddDebugWarningRex("NDictionaryEntry","key",false);$h$$_.key=null;if(typeof($h$$_.val)!="undefined"&&!NObject.IsInheritedRex($a$_,"val",false))NObject.AddDebugWarningRex("NDictionaryEntry","val",false);$h$$_.val=null;if(NObject.IsDef((typeof $)))$h$$_.key=$;if(NObject.IsDef((typeof a)))$h$$_.val=a;};$a$_.DeriveFrom(NObject);$b$_=NHashtable;$b$_.__0n$m="$b$_";function NHashtable(){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($b$_.prototype);$h$$_.NObject();if(typeof($h$$_.k)!="undefined"&&!NObject.IsInheritedRex($b$_,"k",false))NObject.AddDebugWarningRex("$b$_","k",false);$h$$_.k=new Object();if(typeof($h$$_.l)!="undefined"&&!NObject.IsInheritedRex($b$_,"l",false))NObject.AddDebugWarningRex("$b$_","l",false);$h$$_.l=new Array();};$b$_.DeriveFrom(NObject);if(typeof(NHashtable.prototype.Clear)!="undefined"&&!NObject.IsInheritedRex(NHashtable,"Clear",false))NObject.AddDebugWarningRex("NHashtable","Clear",false);$b$_.prototype.e = $b$_.prototype.Clear=function(){var $h$$_=this;$h$$_.k=new Object();$h$$_.l=new Array();};if(typeof(NHashtable.prototype.Add)!="undefined"&&!NObject.IsInheritedRex(NHashtable,"Add",false))NObject.AddDebugWarningRex("NHashtable","Add",false);$b$_.prototype.f = $b$_.prototype.Add=function($,a){var $h$$_=this;var b;var c=NObject.GetObjectHashCode($);var d=$h$$_.k[c];if(!$9$_.b(d)){d=new Array();$h$$_.k[c]=d;b=new $a$_($,a);$h$$_.l[$h$$_.l.length]=b;d[d.length]=b;return;}var e;for(var f=0;f len/2) movecount = len; else movecount = NTools.RecalculateWithSimpleNewLine(txt, movecount); selection.Start = movecount; selection.End = selection.Start + rangelen; }catch($){}}element.Selection=selection;};if(typeof($c$_.t)!="undefined"&&!NObject.IsInheritedRex($c$_,"t",true))NObject.AddDebugWarningRex("$c$_","t",true);$c$_.t=function(){var $=document.getElementById("mouseCaptureEventTarget");if($9$_.b($))return $;var a=$c$_.h();var b=document.createElement("div");b.id="mouseCaptureEventTarget";b.style.position="absolute";b.style.top=$c$_.a(0);b.style.left=$c$_.a(0);b.style.width=$c$_.a(document.documentElement.clientWidth);b.style.height=$c$_.a(a);b.ElementRole=$0$_.MouseCaptureLayer;document.body.appendChild(b);return b;};if(typeof($c$_.u)!="undefined"&&!NObject.IsInheritedRex($c$_,"u",true))NObject.AddDebugWarningRex("$c$_","u",true);$c$_.u=function(){var $=document.getElementById("mouseCaptureEventTarget");if(!$9$_.b($))return;document.body.removeChild($);};if(typeof($c$_.v)!="undefined"&&!NObject.IsInheritedRex($c$_,"v",true))NObject.AddDebugWarningRex("$c$_","v",true);$c$_.v=function($,a,b,c,d,e){if((typeof $8$_)!="undefined")$8$_.$("$c$_","v",a,"number","a");if((typeof $8$_)!="undefined")$8$_.$("$c$_","v",b,"number","b");if((typeof $8$_)!="undefined")$8$_.$("$c$_","v",c,"number","c");if((typeof $8$_)!="undefined")$8$_.$("$c$_","v",d,"number","d");if((typeof $8$_)!="undefined")$8$_.$("$c$_","v",e,"string","e");var f=document.createElement("div");f.style.position="absolute";f.className=e;f.style.left=$c$_.a(a);f.style.top=$c$_.a(b);f.style.width=$c$_.a(c);f.style.height=$c$_.a(d);f.style.overflow="hidden";$.appendChild(f);return f;};if(typeof($c$_.w)!="undefined"&&!NObject.IsInheritedRex($c$_,"w",true))NObject.AddDebugWarningRex("$c$_","w",true);$c$_.w=function($){if((typeof $8$_)!="undefined")$8$_.$("$c$_","w",$,"string","$");var a=new RegExp("\\W*px\\W*$","gi");if($.search(a)!=-1)return $;return $+"px";};if(typeof($c$_.x)!="undefined"&&!NObject.IsInheritedRex($c$_,"x",true))NObject.AddDebugWarningRex("$c$_","x",true);$c$_.x=function(){var $=document.createElement("div");var a=document.createElement("div");var b=document.createElement("div");$.style.width=$c$_.a(10);$.style.height=$c$_.a(10);a.style.width=$c$_.a(10);a.style.height=$c$_.a(10);b.style.width=$c$_.a(10);b.style.height=$c$_.a(10);var c=new $4$_();a.appendChild(b);document.body.appendChild($);document.body.appendChild(a);c.offsetLeft=b.offsetLeft;c.offsetTop=b.offsetTop;document.body.removeChild($);document.body.removeChild(a);a.removeChild(b);return c.offsetLeft==0&&c.offsetTop==0;};if(typeof($c$_.y)!="undefined"&&!NObject.IsInheritedRex($c$_,"y",true))NObject.AddDebugWarningRex("$c$_","y",true);$c$_.y=function($){var a=$;var b=0;if($.offsetParent!=null){while(true){b+=$.offsetLeft;if($.offsetParent==null)break;$=$.offsetParent;}}else if($["x"]!=null)b+=$.x;{var __r17=(b-$c$_.A(a));if((typeof $8$_)!="undefined")$8$_.$("$c$_","y",__r17,"number","__r17");return __r17;}};if(typeof($c$_.z)!="undefined"&&!NObject.IsInheritedRex($c$_,"z",true))NObject.AddDebugWarningRex("$c$_","z",true);$c$_.z=function($){var a=$;var b=0;if($.offsetParent!=null){while(true){b+=$.offsetTop;if($.offsetParent==null)break;$=$.offsetParent;}}else if($["y"]!=null)b+=$.y;{var __r18=(b-$c$_.B(a));if((typeof $8$_)!="undefined")$8$_.$("$c$_","z",__r18,"number","__r18");return __r18;}};if(typeof($c$_.A)!="undefined"&&!NObject.IsInheritedRex($c$_,"A",true))NObject.AddDebugWarningRex("$c$_","A",true);$c$_.A=function($){var a=0;while($.parentNode!=null){if($.parentNode["scrollLeft"]!=null)a+=$.parentNode.scrollLeft;$=$.parentNode;}{var __r19=(a-$c$_.m());if((typeof $8$_)!="undefined")$8$_.$("$c$_","A",__r19,"number","__r19");return __r19;}};if(typeof($c$_.B)!="undefined"&&!NObject.IsInheritedRex($c$_,"B",true))NObject.AddDebugWarningRex("$c$_","B",true);$c$_.B=function($){var a=0;while($.parentNode!=null){if($.parentNode["scrollTop"]!=null)a+=$.parentNode.scrollTop;$=$.parentNode;}{var __r20=(a-$c$_.n());if((typeof $8$_)!="undefined")$8$_.$("$c$_","B",__r20,"number","__r20");return __r20;}};$d$_=NDelegate;$d$_.__0n$m="$d$_";function NDelegate($,a){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($d$_.prototype);$h$$_.NObject();if(typeof($h$$_.subscriber)!="undefined"&&!NObject.IsInheritedRex($d$_,"subscriber",false))NObject.AddDebugWarningRex("NDelegate","subscriber",false);$h$$_.subscriber=null;if(typeof($h$$_.handler)!="undefined"&&!NObject.IsInheritedRex($d$_,"handler",false))NObject.AddDebugWarningRex("NDelegate","handler",false);$h$$_.handler=null;if($9$_.e($,$$$_.TFunction))$h$$_.handler=$;else if($9$_.e(a,$$$_.TFunction)){$h$$_.subscriber=$;$h$$_.handler=a;}$h$$_.m();};$d$_.DeriveFrom(NObject);$d$_.o=function(){if(typeof($d$_.n)!="undefined"&&!NObject.IsInheritedRex($d$_,"n",true))NObject.AddDebugWarningRex("$d$_","n",true);$d$_.n=0;};$d$_.o();$d$_.prototype.Equals=function($h$$_,$){if((typeof $8$_)!="undefined")$8$_.$("$d$_","Equals",$h$$_,"$d$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$d$_","Equals",$,"NObject","$");var a=$;if(!$9$_.b(a))return false;if($h$$_.subscriber!=null)return $h$$_.subscriber.InstanceAutoIncrementId==a.subscriber.InstanceAutoIncrementId&&$h$$_.handler["$_7"]==a.handler["$_7"];return $h$$_.handler["$_7"]==a.handler["$_7"];};$d$_.prototype.GetHashCode=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$d$_","GetHashCode",$h$$_,"$d$_","$h$$_");if($h$$_.subscriber!=null){{var __r21=($h$$_.subscriber.InstanceAutoIncrementId^$h$$_.handler["$_7"]);if((typeof $8$_)!="undefined")$8$_.$("$d$_","GetHashCode",__r21,"number","__r21");return __r21;}}{var __r22=($h$$_.handler["$_7"]);if((typeof $8$_)!="undefined")$8$_.$("$d$_","GetHashCode",__r22,"number","__r22");return __r22;}};if(typeof($d$_.prototype.m)!="undefined"&&!NObject.IsInheritedRex($d$_,"m",false))NObject.AddDebugWarningRex("$d$_","m",false);$d$_.prototype.m=function(){var $h$$_=this;if($9$_.b($h$$_.handler["$_7"]))return;$h$$_.handler["$_7"]=$d$_.n;$d$_.n++;};$e$_=NEvent;$e$_.__0n$m="$e$_";function NEvent(){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($e$_.prototype);$h$$_.NObject();if(typeof($h$$_.C)!="undefined"&&!NObject.IsInheritedRex($e$_,"C",false))NObject.AddDebugWarningRex("$e$_","C",false);$h$$_.C=new $b$_();};$e$_.DeriveFrom(NObject);if(typeof(NEvent.prototype.Subscribe)!="undefined"&&!NObject.IsInheritedRex(NEvent,"Subscribe",false))NObject.AddDebugWarningRex("NEvent","Subscribe",false);$e$_.prototype.p = $e$_.prototype.Subscribe=function($,a){var $h$$_=this;var b=null;if($9$_.e($,NObject.Typeof($d$_)))b=$;else if($9$_.e($,$$$_.TFunction))b=new $d$_(null,$);else if($9$_.e(a,$$$_.TFunction))b=new $d$_($,a);else throw new NException("NEvent.prototype.Subscribe has invalid arguments.");if($h$$_.C.i(b))return;$h$$_.C.f(b,null);};if(typeof(NEvent.prototype.Unsubscribe)!="undefined"&&!NObject.IsInheritedRex(NEvent,"Unsubscribe",false))NObject.AddDebugWarningRex("NEvent","Unsubscribe",false);$e$_.prototype.s = $e$_.prototype.Unsubscribe=function($,a){var $h$$_=this;var b=null;if($9$_.e($,NObject.Typeof($d$_)))b=$;else if($9$_.e($,$$$_.TFunction))b=new $d$_(null,$);else if($9$_.e(a,$$$_.TFunction))b=new $d$_($,a);else throw new NException("NEvent.prototype.Subscribe has invalid arguments.");$h$$_.C.g(b);};if(typeof(NEvent.prototype.Fire)!="undefined"&&!NObject.IsInheritedRex(NEvent,"Fire",false))NObject.AddDebugWarningRex("NEvent","Fire",false);$e$_.prototype.v = $e$_.prototype.Fire=function(){var $h$$_=this;var $=false;var a=new Array();for(var b=0;b<$h$$_.C.l.length;b++){var c=$h$$_.C.l[b];a[a.length]=c.key;}for(var d=0;d$)return;var a=0;for(;a<$h$$_.Y.length;a++){if($h$$_.Y[a]>$)break;}if(a==0)return;$h$$_.Y.splice(0,a);};if(typeof($g$_.prototype.I)!="undefined"&&!NObject.IsInheritedRex($g$_,"I",false))NObject.AddDebugWarningRex("$g$_","I",false);$g$_.prototype.I=function(){var $h$$_=this;return $h$$_.Y.length;};if(typeof($g$_.prototype.J)!="undefined"&&!NObject.IsInheritedRex($g$_,"J",false))NObject.AddDebugWarningRex("$g$_","J",false);$g$_.prototype.J=function(){var $h$$_=this;if($h$$_.Y.length==0)return null;var $=$h$$_.Y[0];return $.D;};if(typeof($g$_.prototype.K)!="undefined"&&!NObject.IsInheritedRex($g$_,"K",false))NObject.AddDebugWarningRex("$g$_","K",false);$g$_.prototype.K=function($){var $h$$_=this;if($h$$_.R<=0)return null;if($h$$_.Y.length>=$h$$_.R)$h$$_.Y.shift();var a=new Date();var b=new $f$_(a.getTime(),$);$h$$_.Y[$h$$_.Y.length]=b;return b;};if(typeof($g$_.prototype.L)!="undefined"&&!NObject.IsInheritedRex($g$_,"L",false))NObject.AddDebugWarningRex("$g$_","L",false);$g$_.prototype.L=function(){var $h$$_=this;var $=$h$$_.Y.shift();$h$$_.M($.E);};if(typeof($g$_.prototype.M)!="undefined"&&!NObject.IsInheritedRex($g$_,"M",false))NObject.AddDebugWarningRex("$g$_","M",false);$g$_.prototype.M=function($){var $h$$_=this;{var __r24=($h$$_.V.handler($h$$_.V.subscriber,$[1],$[2],$[3],$[4],$[5],$[6],$[7],$[8],$[9],$[10]));if((typeof $8$_)!="undefined")$8$_.$("$g$_","M",__r24,"boolean","__r24");return __r24;}};if(typeof($g$_.prototype.N)!="undefined"&&!NObject.IsInheritedRex($g$_,"N",false))NObject.AddDebugWarningRex("$g$_","N",false);$g$_.prototype.N=function(){var $h$$_=this;{var __r25=($h$$_.T);if((typeof $8$_)!="undefined")$8$_.$("$g$_","N",__r25,"boolean","__r25");return __r25;}};if(typeof($g$_.prototype.O)!="undefined"&&!NObject.IsInheritedRex($g$_,"O",false))NObject.AddDebugWarningRex("$g$_","O",false);$g$_.prototype.O=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$g$_","O",$,"boolean","$");if($h$$_.T==$)return;if($h$$_.S){if($)$h$$_.U.p($h$$_,$h$$_.F);else $h$$_.U.s($h$$_,$h$$_.F);}if(!$)$h$$_.G();$h$$_.T=$;};function $h$_(){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($h$_.prototype);$h$$_.NObject();if(typeof($h$$_.$9)!="undefined"&&!NObject.IsInheritedRex($h$_,"$9",false))NObject.AddDebugWarningRex("$h$_","$9",false);$h$$_.$9=true;if(typeof($h$$_.$a)!="undefined"&&!NObject.IsInheritedRex($h$_,"$a",false))NObject.AddDebugWarningRex("$h$_","$a",false);$h$$_.$a=new $b$_();if(typeof($h$$_.$b)!="undefined"&&!NObject.IsInheritedRex($h$_,"$b",false))NObject.AddDebugWarningRex("$h$_","$b",false);$h$$_.$b=null;};$h$_.DeriveFrom(NObject);if(typeof($h$_.prototype.Z)!="undefined"&&!NObject.IsInheritedRex($h$_,"Z",false))NObject.AddDebugWarningRex("$h$_","Z",false);$h$_.prototype.Z=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$h$_","Z",$h$$_,"$h$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$h$_","Z",$,"$g$_","$");if($h$$_.$9==false)return true;a.unshift($);var b=$h$$_.$6();switch(b){case $2$_.$:$h$$_.$b=$;$.M(a);break;case $2$_.b:case $2$_.a:$h$$_.$2($,a);break;default:throw new $l$_(NObject.Typeof($2$_),b);}return false;};if(typeof($h$_.prototype.$_)!="undefined"&&!NObject.IsInheritedRex($h$_,"$_",false))NObject.AddDebugWarningRex("$h$_","$_",false);$h$_.prototype.$_=function(){var $h$$_=this;for(var $=0;$<$h$$_.$a.l.length;$++){var a=$h$$_.$a.l[$];var b=a.val;b.G();}};if(typeof($h$_.prototype.$$)!="undefined"&&!NObject.IsInheritedRex($h$_,"$$",false))NObject.AddDebugWarningRex("$h$_","$$",false);$h$_.prototype.$$=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$h$_","$$",$,"$g$_","$");if($.X!=null)return;$h$$_.$a.f($.P,$);$.X=new $d$_($h$$_,$h$$_.Z);};if(typeof($h$_.prototype.$0)!="undefined"&&!NObject.IsInheritedRex($h$_,"$0",false))NObject.AddDebugWarningRex("$h$_","$0",false);$h$_.prototype.$0=function(){var $h$$_=this;var $=0;for(var a=0;a<$h$$_.$a.l.length;a++){var b=$h$$_.$a.l[a];var c=b.val;$+=c.I();}return $;};if(typeof($h$_.prototype.$1)!="undefined"&&!NObject.IsInheritedRex($h$_,"$1",false))NObject.AddDebugWarningRex("$h$_","$1",false);$h$_.prototype.$1=function(){var $h$$_=this;if(!$h$$_.$9)return;switch($h$$_.$6()){case $2$_.$:break;case $2$_.b:case $2$_.a:$h$$_.$b=null;var $=$h$$_.$3();if($==null)break;$h$$_.$b=$;$.L();break;default:throw new $l$_(NObject.Typeof($2$_),$h$$_.$6());}};if(typeof($h$_.prototype.$2)!="undefined"&&!NObject.IsInheritedRex($h$_,"$2",false))NObject.AddDebugWarningRex("$h$_","$2",false);$h$_.prototype.$2=function($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$h$_","$2",$,"$g$_","$");if($.R<=0)return;var b=$.K(a);for(var c=0;c<$h$$_.$a.l.length;c++){var d=$h$$_.$a.l[c];var e=d.val;if($.Q<=e.Q)continue;e.H(b.D);}};if(typeof($h$_.prototype.$3)!="undefined"&&!NObject.IsInheritedRex($h$_,"$3",false))NObject.AddDebugWarningRex("$h$_","$3",false);$h$_.prototype.$3=function(){var $h$$_=this;var $=null;var a=null;for(var b=0;b<$h$$_.$a.l.length;b++){var c=$h$$_.$a.l[b];var d=c.val;var e=d.J();if(e==null)continue;if($==null){$=d;a=e;continue;}if(a"+(new Date())+", pending events: "+$h$$_.$0()+"


",$);for(var a=0;a<$h$$_.$a.l.length;a++){var b=$h$$_.$a.l[a];var c=b.val;if(c.Y.length==0)continue;var d=$h$$_.$4(b.key);$7$_.$("
Queue (priority = "+c.Q+") for event "+d+"",$);for(var e=0;e 

",$);};if(typeof($h$_.prototype.$6)!="undefined"&&!NObject.IsInheritedRex($h$_,"$6",false))NObject.AddDebugWarningRex("$h$_","$6",false);$h$_.prototype.$6=function(){var $h$$_=this;if($h$$_.$b!=null)return $2$_.a;var $=$h$$_.$0();if($==0)return $2$_.$;return $2$_.b;};if(typeof($h$_.prototype.$7)!="undefined"&&!NObject.IsInheritedRex($h$_,"$7",false))NObject.AddDebugWarningRex("$h$_","$7",false);$h$_.prototype.$7=function(){var $h$$_=this;return $h$$_.$9;};if(typeof($h$_.prototype.$8)!="undefined"&&!NObject.IsInheritedRex($h$_,"$8",false))NObject.AddDebugWarningRex("$h$_","$8",false);$h$_.prototype.$8=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$h$_","$8",$,"boolean","$");$h$$_.$9=$;};$i$_=NEventSinkService;$i$_.__0n$m="$i$_";function NEventSinkService(){if(typeof($i$_.MouseClick)!="undefined"&&!NObject.IsInheritedRex($i$_,"MouseClick",true))NObject.AddDebugWarningRex("NEventSinkService","MouseClick",true);$i$_.MouseClick=new $e$_();if(typeof($i$_.MouseDoubleClick)!="undefined"&&!NObject.IsInheritedRex($i$_,"MouseDoubleClick",true))NObject.AddDebugWarningRex("NEventSinkService","MouseDoubleClick",true);$i$_.MouseDoubleClick=new $e$_();if(typeof($i$_.MouseRClick)!="undefined"&&!NObject.IsInheritedRex($i$_,"MouseRClick",true))NObject.AddDebugWarningRex("NEventSinkService","MouseRClick",true);$i$_.MouseRClick=new $e$_();if(typeof($i$_.MouseDown)!="undefined"&&!NObject.IsInheritedRex($i$_,"MouseDown",true))NObject.AddDebugWarningRex("NEventSinkService","MouseDown",true);$i$_.MouseDown=new $e$_();if(typeof($i$_.MouseMove)!="undefined"&&!NObject.IsInheritedRex($i$_,"MouseMove",true))NObject.AddDebugWarningRex("NEventSinkService","MouseMove",true);$i$_.MouseMove=new $e$_();if(typeof($i$_.MouseUp)!="undefined"&&!NObject.IsInheritedRex($i$_,"MouseUp",true))NObject.AddDebugWarningRex("NEventSinkService","MouseUp",true);$i$_.MouseUp=new $e$_();if(typeof($i$_.MouseOut)!="undefined"&&!NObject.IsInheritedRex($i$_,"MouseOut",true))NObject.AddDebugWarningRex("NEventSinkService","MouseOut",true);$i$_.MouseOut=new $e$_();if(typeof($i$_.KeyDown)!="undefined"&&!NObject.IsInheritedRex($i$_,"KeyDown",true))NObject.AddDebugWarningRex("NEventSinkService","KeyDown",true);$i$_.KeyDown=new $e$_();if(typeof($i$_.KeyUp)!="undefined"&&!NObject.IsInheritedRex($i$_,"KeyUp",true))NObject.AddDebugWarningRex("NEventSinkService","KeyUp",true);$i$_.KeyUp=new $e$_();if(typeof($i$_.KeyPress)!="undefined"&&!NObject.IsInheritedRex($i$_,"KeyPress",true))NObject.AddDebugWarningRex("NEventSinkService","KeyPress",true);$i$_.KeyPress=new $e$_();if(typeof($i$_.BodyLoaded)!="undefined"&&!NObject.IsInheritedRex($i$_,"BodyLoaded",true))NObject.AddDebugWarningRex("NEventSinkService","BodyLoaded",true);$i$_.BodyLoaded=new $e$_();if(typeof($i$_.IntervalElapsed)!="undefined"&&!NObject.IsInheritedRex($i$_,"IntervalElapsed",true))NObject.AddDebugWarningRex("NEventSinkService","IntervalElapsed",true);$i$_.IntervalElapsed=new $e$_();if(typeof($i$_.AjaxIntervalElapsed)!="undefined"&&!NObject.IsInheritedRex($i$_,"AjaxIntervalElapsed",true))NObject.AddDebugWarningRex("NEventSinkService","AjaxIntervalElapsed",true);$i$_.AjaxIntervalElapsed=new $e$_();if(typeof($i$_.MouseMapOver)!="undefined"&&!NObject.IsInheritedRex($i$_,"MouseMapOver",true))NObject.AddDebugWarningRex("NEventSinkService","MouseMapOver",true);$i$_.MouseMapOver=new $e$_();if(typeof($i$_.MouseMapOut)!="undefined"&&!NObject.IsInheritedRex($i$_,"MouseMapOut",true))NObject.AddDebugWarningRex("NEventSinkService","MouseMapOut",true);$i$_.MouseMapOut=new $e$_();if(typeof($i$_.MouseCaptured)!="undefined"&&!NObject.IsInheritedRex($i$_,"MouseCaptured",true))NObject.AddDebugWarningRex("NEventSinkService","MouseCaptured",true);$i$_.MouseCaptured=new $e$_();if(typeof($i$_.MouseCapturedMove)!="undefined"&&!NObject.IsInheritedRex($i$_,"MouseCapturedMove",true))NObject.AddDebugWarningRex("NEventSinkService","MouseCapturedMove",true);$i$_.MouseCapturedMove=new $e$_();if(typeof($i$_.MouseReleased)!="undefined"&&!NObject.IsInheritedRex($i$_,"MouseReleased",true))NObject.AddDebugWarningRex("NEventSinkService","MouseReleased",true);$i$_.MouseReleased=new $e$_();if(typeof($i$_.AsyncCallbackSucceeded)!="undefined"&&!NObject.IsInheritedRex($i$_,"AsyncCallbackSucceeded",true))NObject.AddDebugWarningRex("NEventSinkService","AsyncCallbackSucceeded",true);$i$_.AsyncCallbackSucceeded=new $e$_();if(typeof($i$_.AsyncCallbackFailed)!="undefined"&&!NObject.IsInheritedRex($i$_,"AsyncCallbackFailed",true))NObject.AddDebugWarningRex("NEventSinkService","AsyncCallbackFailed",true);$i$_.AsyncCallbackFailed=new $e$_();if(typeof($i$_.AsyncCallbackTimedOut)!="undefined"&&!NObject.IsInheritedRex($i$_,"AsyncCallbackTimedOut",true))NObject.AddDebugWarningRex("NEventSinkService","AsyncCallbackTimedOut",true);$i$_.AsyncCallbackTimedOut=new $e$_();if(typeof($i$_.AsyncCallbackRecoveryStateStarted)!="undefined"&&!NObject.IsInheritedRex($i$_,"AsyncCallbackRecoveryStateStarted",true))NObject.AddDebugWarningRex("NEventSinkService","AsyncCallbackRecoveryStateStarted",true);$i$_.AsyncCallbackRecoveryStateStarted=new $e$_();if(typeof($i$_.AsyncCallbackRecoveryStateEnded)!="undefined"&&!NObject.IsInheritedRex($i$_,"AsyncCallbackRecoveryStateEnded",true))NObject.AddDebugWarningRex("NEventSinkService","AsyncCallbackRecoveryStateEnded",true);$i$_.AsyncCallbackRecoveryStateEnded=new $e$_();if(typeof($i$_.l)!="undefined"&&!NObject.IsInheritedRex($i$_,"l",true))NObject.AddDebugWarningRex("$i$_","l",true);$i$_.l=0;}$i$_.DeriveFrom(NObject);$i$_();if(typeof(NEventSinkService.Suspend)!="undefined"&&!NObject.IsInheritedRex(NEventSinkService,"Suspend",true))NObject.AddDebugWarningRex("NEventSinkService","Suspend",true);$i$_.$ = $i$_.Suspend=function($){if(!$9$_.b($)||$)$i$_.l++;else $i$_.l--;if($i$_.l<0)$i$_.l=0;return $i$_.l!=0;};if(typeof(NEventSinkService.IsSuspended)!="undefined"&&!NObject.IsInheritedRex(NEventSinkService,"IsSuspended",true))NObject.AddDebugWarningRex("NEventSinkService","IsSuspended",true);$i$_.a = $i$_.IsSuspended=function(){return $i$_.l!=0;};if(typeof(NEventSinkService.MouseClickHandler)!="undefined"&&!NObject.IsInheritedRex(NEventSinkService,"MouseClickHandler",true))NObject.AddDebugWarningRex("NEventSinkService","MouseClickHandler",true);$i$_.b = $i$_.MouseClickHandler=function(){if(String(typeof($i$_))=="undefined")return false;if($i$_.a())return true;if(!$i$_.MouseClick.B())return false;var $=null;var a=null;if(arguments.length!=0)$=arguments[0];else if($9$_.b(event))$=event;else return true;if(!$9$_.$($))return false;if($9$_.b($.srcElement))a=$.srcElement;else if($9$_.b($.target))a=$.target;else return true;if(!$9$_.b(a))return false;$.cancelBubble=$i$_.MouseClick.v(a,$c$_.e($,a),$c$_.f($,a),$c$_.d($,a));return!$.cancelBubble;};if(typeof(NEventSinkService.MouseDoubleClickHandler)!="undefined"&&!NObject.IsInheritedRex(NEventSinkService,"MouseDoubleClickHandler",true))NObject.AddDebugWarningRex("NEventSinkService","MouseDoubleClickHandler",true);$i$_.c = $i$_.MouseDoubleClickHandler=function(){if(String(typeof($i$_))=="undefined")return false;if($i$_.a())return true;if(!$i$_.MouseDoubleClick.B())return false;var $=null;var a=null;if(arguments.length!=0)$=arguments[0];else if($9$_.b(event))$=event;else return true;if(!$9$_.$($))return false;if($9$_.b($.srcElement))a=$.srcElement;else if($9$_.b($.target))a=$.target;else return true;if(!$9$_.b(a))return false;$.cancelBubble=$i$_.MouseDoubleClick.v(a,$c$_.e($,a),$c$_.f($,a),$c$_.d($,a));return!$.cancelBubble;};if(typeof(NEventSinkService.MouseRClickHandler)!="undefined"&&!NObject.IsInheritedRex(NEventSinkService,"MouseRClickHandler",true))NObject.AddDebugWarningRex("NEventSinkService","MouseRClickHandler",true);$i$_.d = $i$_.MouseRClickHandler=function(){if(String(typeof($i$_))=="undefined")return false;if($i$_.a())return true;if(!$i$_.MouseRClick.B())return false;var $=null;var a=null;if(arguments.length!=0)$=arguments[0];else if($9$_.b(event))$=event;else return true;if(!$9$_.$($))return false;if($9$_.b($.srcElement))a=$.srcElement;else if($9$_.b($.target))a=$.target;else return true;if(!$9$_.b(a))return false;$.cancelBubble=$i$_.MouseRClick.v(a,$c$_.e($,a),$c$_.f($,a),$c$_.d($,a));return!$.cancelBubble;};if(typeof(NEventSinkService.MouseDownHandler)!="undefined"&&!NObject.IsInheritedRex(NEventSinkService,"MouseDownHandler",true))NObject.AddDebugWarningRex("NEventSinkService","MouseDownHandler",true);$i$_.e = $i$_.MouseDownHandler=function(){if(String(typeof($i$_))=="undefined")return false;if($i$_.a())return true;if(!$i$_.MouseDown.B())return false;var $=null;var a=null;if(arguments.length!=0)$=arguments[0];else if($9$_.b(event))$=event;else return true;if(!$9$_.$($))return false;if($9$_.b($.srcElement))a=$.srcElement;else if($9$_.b($.target))a=$.target;else return true;if(!$9$_.b(a))return false;$.cancelBubble=$i$_.MouseDown.v(a,$c$_.e($,a),$c$_.f($,a),$c$_.d($,a));return!$.cancelBubble;};if(typeof(NEventSinkService.MouseMoveHandler)!="undefined"&&!NObject.IsInheritedRex(NEventSinkService,"MouseMoveHandler",true))NObject.AddDebugWarningRex("NEventSinkService","MouseMoveHandler",true);$i$_.f = $i$_.MouseMoveHandler=function(){if(String(typeof($i$_))=="undefined")return false;if($i$_.a())return true;if(!$i$_.MouseMove.B())return false;var $=null;var a=null;if(arguments.length!=0)$=arguments[0];else if($9$_.b(event))$=event;else return true;if(!$9$_.$($))return false;if($9$_.b($.srcElement))a=$.srcElement;else if($9$_.b($.target))a=$.target;else return true;if(!$9$_.b(a))return false;$.cancelBubble=$i$_.MouseMove.v(a,$c$_.e($,a),$c$_.f($,a),$c$_.d($,a));return!$.cancelBubble;};if(typeof(NEventSinkService.MouseUpHandler)!="undefined"&&!NObject.IsInheritedRex(NEventSinkService,"MouseUpHandler",true))NObject.AddDebugWarningRex("NEventSinkService","MouseUpHandler",true);$i$_.g = $i$_.MouseUpHandler=function(){if(String(typeof($i$_))=="undefined")return false;if($i$_.a())return true;if(!$i$_.MouseUp.B())return false;var $=null;var a=null;if(arguments.length!=0)$=arguments[0];else if($9$_.b(event))$=event;else return true;if(!$9$_.$($))return false;if($9$_.b($.srcElement))a=$.srcElement;else if($9$_.b($.target))a=$.target;else return true;if(!$9$_.b(a))return false;$.cancelBubble=$i$_.MouseUp.v(a,$c$_.e($,a),$c$_.f($,a),$c$_.d($,a));return!$.cancelBubble;};if(typeof(NEventSinkService.MouseOutHandler)!="undefined"&&!NObject.IsInheritedRex(NEventSinkService,"MouseOutHandler",true))NObject.AddDebugWarningRex("NEventSinkService","MouseOutHandler",true);$i$_.h = $i$_.MouseOutHandler=function(){if(String(typeof($i$_))=="undefined")return false;if($i$_.a())return true;if(!$i$_.MouseOut.B())return false;var $=null;var a=null;var b=null;if(arguments.length!=0)$=arguments[0];else if($9$_.b(event))$=event;else return true;if(!$9$_.$($))return false;if($9$_.b($.srcElement)){a=$.srcElement;b=$.toElement;}else if($9$_.b($.target)){a=$.target;b=$.relatedTarget;}else return true;if(!$9$_.b(a))return false;$.cancelBubble=$i$_.MouseOut.v(a,b,$c$_.e($,a),$c$_.f($,a),$c$_.d($,a));return!$.cancelBubble;};if(typeof(NEventSinkService.KeyDownHandler)!="undefined"&&!NObject.IsInheritedRex(NEventSinkService,"KeyDownHandler",true))NObject.AddDebugWarningRex("NEventSinkService","KeyDownHandler",true);$i$_.i = $i$_.KeyDownHandler=function(){if(String(typeof($i$_))=="undefined")return false;if($i$_.a())return true;if(!$i$_.KeyDown.B())return false;var $=null;var a=null;if(arguments.length!=0)$=arguments[0];else if($9$_.b(event))$=event;else return true;if(!$9$_.$($))return false;if($9$_.b($.srcElement))a=$.srcElement;else if($9$_.b($.target))a=$.target;else return true;if(!$9$_.b(a))return false;$.cancelBubble=$i$_.KeyDown.v(a,$.keyCode,$.altKey,$.ctrlKey,$.shiftKey);return!$.cancelBubble;};if(typeof(NEventSinkService.KeyUpHandler)!="undefined"&&!NObject.IsInheritedRex(NEventSinkService,"KeyUpHandler",true))NObject.AddDebugWarningRex("NEventSinkService","KeyUpHandler",true);$i$_.j = $i$_.KeyUpHandler=function(){if(String(typeof($i$_))=="undefined")return false;if($i$_.a())return true;if(!$i$_.KeyUp.B())return false;var $=null;var a=null;if(arguments.length!=0)$=arguments[0];else if($9$_.b(event))$=event;else return true;if(!$9$_.$($))return false;if($9$_.b($.srcElement))a=$.srcElement;else if($9$_.b($.target))a=$.target;else return true;if(!$9$_.b(a))return false;$.cancelBubble=$i$_.KeyUp.v(a,$.keyCode,$.altKey,$.ctrlKey,$.shiftKey);return!$.cancelBubble;};if(typeof(NEventSinkService.KeyPressHandler)!="undefined"&&!NObject.IsInheritedRex(NEventSinkService,"KeyPressHandler",true))NObject.AddDebugWarningRex("NEventSinkService","KeyPressHandler",true);$i$_.k = $i$_.KeyPressHandler=function(){if(String(typeof($i$_))=="undefined")return false;if($i$_.a())return true;if(!$i$_.KeyPress.B())return false;var $=null;var a=null;if(arguments.length!=0)$=arguments[0];else if($9$_.b(event))$=event;else return true;if(!$9$_.$($))return false;if($9$_.b($.srcElement))a=$.srcElement;else if($9$_.b($.target))a=$.target;else return true;if(!$9$_.b(a))return false;$.cancelBubble=$i$_.KeyPress.v(a,$.keyCode,$.altKey,$.ctrlKey,$.shiftKey);return!$.cancelBubble;};$j$_=NTimerService;$j$_.__0n$m="$j$_";function NTimerService(){if(typeof($j$_.b)!="undefined"&&!NObject.IsInheritedRex($j$_,"b",true))NObject.AddDebugWarningRex("$j$_","b",true);$j$_.b=0;if(typeof($j$_.c)!="undefined"&&!NObject.IsInheritedRex($j$_,"c",true))NObject.AddDebugWarningRex("$j$_","c",true);$j$_.c=null;}$j$_.DeriveFrom(NObject);$j$_();if(typeof(NTimerService.Enable)!="undefined"&&!NObject.IsInheritedRex(NTimerService,"Enable",true))NObject.AddDebugWarningRex("NTimerService","Enable",true);$j$_.$ = $j$_.Enable=function($){if((typeof $8$_)!="undefined")$8$_.$("$j$_","$",$,"boolean","$");if($&&$j$_.b!=0){$j$_.b++;return;}if(!$&&$j$_.b==0)return;if($){$j$_.b++;$j$_.c=window.setInterval($j$_.a,100);return;}$j$_.b--;window.clearInterval($j$_.c);$j$_.c=null;};if(typeof($j$_.a)!="undefined"&&!NObject.IsInheritedRex($j$_,"a",true))NObject.AddDebugWarningRex("$j$_","a",true);$j$_.a=function(){if($j$_.b==0)return;$i$_.IntervalElapsed.v($j$_.c);};$k$_=NNotImplementedException;$k$_.__0n$m="$k$_";function NNotImplementedException($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$k$_","$k$_",$,"string","$");$h$$_.InitializeRuntimeTypeInfo($k$_.prototype);$h$$_.NException($,a);};$k$_.DeriveFrom(NException);$k$_.prototype.GetMessage=function($h$$_){var $i$$_=$k$_.GetBase();var $=$i$$_.GetMessage($h$$_);if(!$9$_.b($))$="The requested operation or method is not implemented.";return $;};$l$_=NEnumCaseNotImplementedException;$l$_.__0n$m="$l$_";function NEnumCaseNotImplementedException($,a,b){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$l$_","$l$_",$,"string","$");if((typeof $8$_)!="undefined")$8$_.$("$l$_","$l$_",a,"number","a");$h$$_.InitializeRuntimeTypeInfo($l$_.prototype);$h$$_.NException();if($9$_.b($)&&$9$_.b(a)){var c=$9$_.h($,a);if(c==null)c="("+a+")";$h$$_.message="No case is implemented for the enum field: \""+$+"."+c+"\".";}if($9$_.b(b))$h$$_.innerException=b;};$l$_.DeriveFrom(NException);$l$_.prototype.GetMessage=function($h$$_){var $i$$_=$l$_.GetBase();var $=$i$$_.GetMessage($h$$_);if($==null||$.length==0)$="No case is implemented for the requested enum field.";return $;};$m$_=NEventData;$m$_.__0n$m="$m$_";function NEventData(){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($m$_.prototype);$h$$_.NObject();if(typeof($h$$_.handled)!="undefined"&&!NObject.IsInheritedRex($m$_,"handled",false))NObject.AddDebugWarningRex("NEventData","handled",false);$h$$_.handled=false;};$m$_.DeriveFrom(NObject);if(typeof(NEventData.prototype.GetHandled)!="undefined"&&!NObject.IsInheritedRex(NEventData,"GetHandled",false))NObject.AddDebugWarningRex("NEventData","GetHandled",false);$m$_.prototype.$c = $m$_.prototype.GetHandled=function(){var $h$$_=this;return $h$$_.handled;};if(typeof(NEventData.prototype.SetHandled)!="undefined"&&!NObject.IsInheritedRex(NEventData,"SetHandled",false))NObject.AddDebugWarningRex("NEventData","SetHandled",false);$m$_.prototype.$d = $m$_.prototype.SetHandled=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$m$_","$d",$,"boolean","$");if(!$)return;$h$$_.handled=true;};$n$_=NMouseEventData;$n$_.__0n$m="$n$_";function NMouseEventData($,a,b,c,d,e){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$n$_","$n$_",a,"$4$_","a");if((typeof $8$_)!="undefined")$8$_.$("$n$_","$n$_",b,"$4$_","b");if((typeof $8$_)!="undefined")$8$_.$("$n$_","$n$_",c,"$4$_","c");$h$$_.InitializeRuntimeTypeInfo($n$_.prototype);$h$$_.$m$_();if(typeof($h$$_.relatedTarget)!="undefined"&&!NObject.IsInheritedRex($n$_,"relatedTarget",false))NObject.AddDebugWarningRex("NMouseEventData","relatedTarget",false);$h$$_.relatedTarget=null;if(typeof($h$$_.localOffset)!="undefined"&&!NObject.IsInheritedRex($n$_,"localOffset",false))NObject.AddDebugWarningRex("NMouseEventData","localOffset",false);$h$$_.localOffset=null;if(typeof($h$$_.pageOffset)!="undefined"&&!NObject.IsInheritedRex($n$_,"pageOffset",false))NObject.AddDebugWarningRex("NMouseEventData","pageOffset",false);$h$$_.pageOffset=null;if(typeof($h$$_.screenOffset)!="undefined"&&!NObject.IsInheritedRex($n$_,"screenOffset",false))NObject.AddDebugWarningRex("NMouseEventData","screenOffset",false);$h$$_.screenOffset=null;if(typeof($h$$_.imageMapObjectItem)!="undefined"&&!NObject.IsInheritedRex($n$_,"imageMapObjectItem",false))NObject.AddDebugWarningRex("NMouseEventData","imageMapObjectItem",false);$h$$_.imageMapObjectItem=null;if(typeof($h$$_.imageMap)!="undefined"&&!NObject.IsInheritedRex($n$_,"imageMap",false))NObject.AddDebugWarningRex("NMouseEventData","imageMap",false);$h$$_.imageMap=null;$h$$_.eventTarget=$;if($9$_.b(a))$h$$_.localOffset=a;if($9$_.b(b))$h$$_.pageOffset=b;if($9$_.b(c))$h$$_.screenOffset=c;if($9$_.b(d))$h$$_.imageMap=d;if($9$_.b(e))$h$$_.imageMapObjectItem=e;};$n$_.DeriveFrom($m$_);$o$_=NKeyEventData;$o$_.__0n$m="$o$_";function NKeyEventData($,a,b,c,d){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$o$_","$o$_",a,"number","a");if((typeof $8$_)!="undefined")$8$_.$("$o$_","$o$_",b,"boolean","b");if((typeof $8$_)!="undefined")$8$_.$("$o$_","$o$_",c,"boolean","c");if((typeof $8$_)!="undefined")$8$_.$("$o$_","$o$_",d,"boolean","d");$h$$_.InitializeRuntimeTypeInfo($o$_.prototype);$h$$_.$m$_();if(typeof($h$$_.keyCode)!="undefined"&&!NObject.IsInheritedRex($o$_,"keyCode",false))NObject.AddDebugWarningRex("NKeyEventData","keyCode",false);$h$$_.keyCode=-1;if(typeof($h$$_.altKey)!="undefined"&&!NObject.IsInheritedRex($o$_,"altKey",false))NObject.AddDebugWarningRex("NKeyEventData","altKey",false);$h$$_.altKey=false;if(typeof($h$$_.ctrlKey)!="undefined"&&!NObject.IsInheritedRex($o$_,"ctrlKey",false))NObject.AddDebugWarningRex("NKeyEventData","ctrlKey",false);$h$$_.ctrlKey=false;if(typeof($h$$_.shiftKey)!="undefined"&&!NObject.IsInheritedRex($o$_,"shiftKey",false))NObject.AddDebugWarningRex("NKeyEventData","shiftKey",false);$h$$_.shiftKey=false;$h$$_.eventTarget=$;if($9$_.b(a))$h$$_.keyCode=a;if($9$_.b(b))$h$$_.altKey=b;if($9$_.b(c))$h$$_.ctrlKey=c;if($9$_.b(d))$h$$_.shiftKey=d;};$o$_.DeriveFrom($m$_);$p$_=NCommand;$p$_.__0n$m="$p$_";function NCommand($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$p$_","$p$_",$,"$s$_","$");if((typeof $8$_)!="undefined")$8$_.$("$p$_","$p$_",a,"$q$_","a");$h$$_.InitializeRuntimeTypeInfo($p$_.prototype);$h$$_.NObject();if(typeof($h$$_.tool)!="undefined"&&!NObject.IsInheritedRex($p$_,"tool",false))NObject.AddDebugWarningRex("NCommand","tool",false);$h$$_.tool=null;if(typeof($h$$_.$f)!="undefined"&&!NObject.IsInheritedRex($p$_,"$f",false))NObject.AddDebugWarningRex("$p$_","$f",false);$h$$_.$f=null;if($9$_.b($))$h$$_.tool=$;if($9$_.b(a))$h$$_.$f=a;};$p$_.DeriveFrom(NObject);if(typeof(NCommand.prototype.Execute)!="undefined"&&!NObject.IsInheritedRex(NCommand,"Execute",false))NObject.AddDebugWarningRex("NCommand","Execute",false);$p$_.prototype.$e = $p$_.prototype.Execute=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$p$_","$e",$h$$_,"$p$_","$h$$_");$h$$_.$f.$h();};$q$_=NCommandQueue;$q$_.__0n$m="$q$_";function NCommandQueue(){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($q$_.prototype);$h$$_.NObject();if(typeof($h$$_.$k)!="undefined"&&!NObject.IsInheritedRex($q$_,"$k",false))NObject.AddDebugWarningRex("$q$_","$k",false);$h$$_.$k=new Array();if(typeof($h$$_.$l)!="undefined"&&!NObject.IsInheritedRex($q$_,"$l",false))NObject.AddDebugWarningRex("$q$_","$l",false);$h$$_.$l=null;};$q$_.DeriveFrom(NObject);if(typeof(NCommandQueue.prototype.Enqueue)!="undefined"&&!NObject.IsInheritedRex(NCommandQueue,"Enqueue",false))NObject.AddDebugWarningRex("NCommandQueue","Enqueue",false);$q$_.prototype.$g = $q$_.prototype.Enqueue=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$q$_","$g",$,"$p$_","$");$h$$_.$k[$h$$_.$k.length]=$;};if(typeof($q$_.prototype.$h)!="undefined"&&!NObject.IsInheritedRex($q$_,"$h",false))NObject.AddDebugWarningRex("$q$_","$h",false);$q$_.prototype.$h=function(){var $h$$_=this;if($h$$_.$k.length==0){$h$$_.$l.$1();return;}var $=$h$$_.$k.shift();window.setTimeout(function(){$.Execute($);},0);};if(typeof($q$_.prototype.$i)!="undefined"&&!NObject.IsInheritedRex($q$_,"$i",false))NObject.AddDebugWarningRex("$q$_","$i",false);$q$_.prototype.$i=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$q$_","$i",$,"$h$_","$");if($9$_.b($))$h$$_.$l=$;};if(typeof($q$_.prototype.$j)!="undefined"&&!NObject.IsInheritedRex($q$_,"GetHasCommands",false))NObject.AddDebugWarningRex("NCommandQueue","GetHasCommands",false);$q$_.prototype.$j = $q$_.prototype.GetHasCommands=function(){var $h$$_=this;return($h$$_.$k.length!=0);};$r$_=NToolConfiguration;$r$_.__0n$m="$r$_";function NToolConfiguration($,a,b){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$r$_","$r$_",$,"string","$");if((typeof $8$_)!="undefined")$8$_.$("$r$_","$r$_",a,"boolean","a");if((typeof $8$_)!="undefined")$8$_.$("$r$_","$r$_",b,"NObject","b");$h$$_.InitializeRuntimeTypeInfo($r$_.prototype);$h$$_.NObject();if(typeof($h$$_.defaultEnabled)!="undefined"&&!NObject.IsInheritedRex($r$_,"defaultEnabled",false))NObject.AddDebugWarningRex("NToolConfiguration","defaultEnabled",false);$h$$_.defaultEnabled=false;if(typeof($h$$_.configurationObject)!="undefined"&&!NObject.IsInheritedRex($r$_,"configurationObject",false))NObject.AddDebugWarningRex("NToolConfiguration","configurationObject",false);$h$$_.configurationObject=null;$h$$_.toolId=$;if($9$_.b(a))$h$$_.defaultEnabled=a;if($9$_.b(b))$h$$_.configurationObject=b;};$r$_.DeriveFrom(NObject);$r$_.prototype.Equals=function($h$$_,$){var a=$;if(!$9$_.b(a))return false;return $h$$_.toolId==a.toolId;};$r$_.prototype.GetHashCode=function($h$$_){return NObject.GetObjectHashCode($h$$_.toolId);};$s$_=NTool;$s$_.__0n$m="$s$_";function NTool($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$s$_","$s$_",$,"$r$_","$");$h$$_.InitializeRuntimeTypeInfo($s$_.prototype);$h$$_.NObject();if(typeof($h$$_.$T)!="undefined"&&!NObject.IsInheritedRex($s$_,"$T",false))NObject.AddDebugWarningRex("$s$_","$T",false);$h$$_.$T=null;$h$$_.toolId=$.toolId;$h$$_.$S=$.defaultEnabled;};$s$_.DeriveFrom(NObject);if(typeof(NTool.prototype.Activate)!="undefined"&&!NObject.IsInheritedRex(NTool,"Activate",false))NObject.AddDebugWarningRex("NTool","Activate",false);$s$_.prototype.$m = $s$_.prototype.Activate=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$s$_","$m",$h$$_,"$s$_","$h$$_");if($h$$_.$T==null)return;$h$$_.$T.$l$($h$$_);};if(typeof(NTool.prototype.Dectivate)!="undefined"&&!NObject.IsInheritedRex(NTool,"Dectivate",false))NObject.AddDebugWarningRex("NTool","Dectivate",false);$s$_.prototype.$n = $s$_.prototype.Dectivate=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$s$_","$n",$h$$_,"$s$_","$h$$_");if($h$$_.$T==null)return;$h$$_.$T.$m$($h$$_);};if(typeof(NTool.prototype.Abort)!="undefined"&&!NObject.IsInheritedRex(NTool,"Abort",false))NObject.AddDebugWarningRex("NTool","Abort",false);$s$_.prototype.$o = $s$_.prototype.Abort=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$s$_","$o",$h$$_,"$s$_","$h$$_");if($h$$_.$T==null)return;$h$$_.$T.$n$($h$$_);};if(typeof(NTool.prototype.CanActivate)!="undefined"&&!NObject.IsInheritedRex(NTool,"CanActivate",false))NObject.AddDebugWarningRex("NTool","CanActivate",false);$s$_.prototype.$p = $s$_.prototype.CanActivate=function($h$$_){if($h$$_.$T==null)return false;if($h$$_.$S==false)return false;if($h$$_.$R())return false;if($h$$_.$T.$s$()!=null)return false;return true;};if(typeof(NTool.prototype.CanDeactivate)!="undefined"&&!NObject.IsInheritedRex(NTool,"CanDeactivate",false))NObject.AddDebugWarningRex("NTool","CanDeactivate",false);$s$_.prototype.$q = $s$_.prototype.CanDeactivate=function($h$$_){return $h$$_.$R();};if(typeof(NTool.prototype.CanProcessMouse)!="undefined"&&!NObject.IsInheritedRex(NTool,"CanProcessMouse",false))NObject.AddDebugWarningRex("NTool","CanProcessMouse",false);$s$_.prototype.$r = $s$_.prototype.CanProcessMouse=function($h$$_){return $h$$_.$S;};if(typeof(NTool.prototype.ProcessMouseEnter)!="undefined"&&!NObject.IsInheritedRex(NTool,"ProcessMouseEnter",false))NObject.AddDebugWarningRex("NTool","ProcessMouseEnter",false);$s$_.prototype.$s = $s$_.prototype.ProcessMouseEnter=function($h$$_,$,a){};if(typeof(NTool.prototype.ProcessMouseMove)!="undefined"&&!NObject.IsInheritedRex(NTool,"ProcessMouseMove",false))NObject.AddDebugWarningRex("NTool","ProcessMouseMove",false);$s$_.prototype.$t = $s$_.prototype.ProcessMouseMove=function($h$$_,$,a){};if(typeof(NTool.prototype.ProcessMouseDown)!="undefined"&&!NObject.IsInheritedRex(NTool,"ProcessMouseDown",false))NObject.AddDebugWarningRex("NTool","ProcessMouseDown",false);$s$_.prototype.$u = $s$_.prototype.ProcessMouseDown=function($h$$_,$,a){};if(typeof(NTool.prototype.ProcessMouseUp)!="undefined"&&!NObject.IsInheritedRex(NTool,"ProcessMouseUp",false))NObject.AddDebugWarningRex("NTool","ProcessMouseUp",false);$s$_.prototype.$v = $s$_.prototype.ProcessMouseUp=function($h$$_,$,a){};if(typeof(NTool.prototype.ProcessMouseLeave)!="undefined"&&!NObject.IsInheritedRex(NTool,"ProcessMouseLeave",false))NObject.AddDebugWarningRex("NTool","ProcessMouseLeave",false);$s$_.prototype.$w = $s$_.prototype.ProcessMouseLeave=function($h$$_,$,a){};if(typeof(NTool.prototype.ProcessMouseClick)!="undefined"&&!NObject.IsInheritedRex(NTool,"ProcessMouseClick",false))NObject.AddDebugWarningRex("NTool","ProcessMouseClick",false);$s$_.prototype.$x = $s$_.prototype.ProcessMouseClick=function($h$$_,$,a){};if(typeof(NTool.prototype.ProcessMouseRClick)!="undefined"&&!NObject.IsInheritedRex(NTool,"ProcessMouseRClick",false))NObject.AddDebugWarningRex("NTool","ProcessMouseRClick",false);$s$_.prototype.$y = $s$_.prototype.ProcessMouseRClick=function($h$$_,$,a){};if(typeof(NTool.prototype.ProcessMouseDoubleClick)!="undefined"&&!NObject.IsInheritedRex(NTool,"ProcessMouseDoubleClick",false))NObject.AddDebugWarningRex("NTool","ProcessMouseDoubleClick",false);$s$_.prototype.$z = $s$_.prototype.ProcessMouseDoubleClick=function($h$$_,$,a){};if(typeof(NTool.prototype.CanProcessKeyboard)!="undefined"&&!NObject.IsInheritedRex(NTool,"CanProcessKeyboard",false))NObject.AddDebugWarningRex("NTool","CanProcessKeyboard",false);$s$_.prototype.$A = $s$_.prototype.CanProcessKeyboard=function($h$$_){return $h$$_.$S;};if(typeof(NTool.prototype.ProcessKeyDown)!="undefined"&&!NObject.IsInheritedRex(NTool,"ProcessKeyDown",false))NObject.AddDebugWarningRex("NTool","ProcessKeyDown",false);$s$_.prototype.$B = $s$_.prototype.ProcessKeyDown=function($h$$_,$,a){};if(typeof(NTool.prototype.ProcessKeyUp)!="undefined"&&!NObject.IsInheritedRex(NTool,"ProcessKeyUp",false))NObject.AddDebugWarningRex("NTool","ProcessKeyUp",false);$s$_.prototype.$C = $s$_.prototype.ProcessKeyUp=function($h$$_,$,a){};if(typeof(NTool.prototype.ProcessKeyPressed)!="undefined"&&!NObject.IsInheritedRex(NTool,"ProcessKeyPressed",false))NObject.AddDebugWarningRex("NTool","ProcessKeyPressed",false);$s$_.prototype.$D = $s$_.prototype.ProcessKeyPressed=function($h$$_,$,a){};if(typeof(NTool.prototype.RequiresMouseEnterEvent)!="undefined"&&!NObject.IsInheritedRex(NTool,"RequiresMouseEnterEvent",false))NObject.AddDebugWarningRex("NTool","RequiresMouseEnterEvent",false);$s$_.prototype.$E = $s$_.prototype.RequiresMouseEnterEvent=function($h$$_){return false;};if(typeof(NTool.prototype.RequiresMouseMoveEvent)!="undefined"&&!NObject.IsInheritedRex(NTool,"RequiresMouseMoveEvent",false))NObject.AddDebugWarningRex("NTool","RequiresMouseMoveEvent",false);$s$_.prototype.$F = $s$_.prototype.RequiresMouseMoveEvent=function($h$$_){return false;};if(typeof(NTool.prototype.RequiresMouseDownEvent)!="undefined"&&!NObject.IsInheritedRex(NTool,"RequiresMouseDownEvent",false))NObject.AddDebugWarningRex("NTool","RequiresMouseDownEvent",false);$s$_.prototype.$G = $s$_.prototype.RequiresMouseDownEvent=function($h$$_){return false;};if(typeof(NTool.prototype.RequiresMouseUpEvent)!="undefined"&&!NObject.IsInheritedRex(NTool,"RequiresMouseUpEvent",false))NObject.AddDebugWarningRex("NTool","RequiresMouseUpEvent",false);$s$_.prototype.$H = $s$_.prototype.RequiresMouseUpEvent=function($h$$_){return false;};if(typeof(NTool.prototype.RequiresMouseLeaveEvent)!="undefined"&&!NObject.IsInheritedRex(NTool,"RequiresMouseLeaveEvent",false))NObject.AddDebugWarningRex("NTool","RequiresMouseLeaveEvent",false);$s$_.prototype.$I = $s$_.prototype.RequiresMouseLeaveEvent=function($h$$_){return false;};if(typeof(NTool.prototype.RequiresMouseClickEvent)!="undefined"&&!NObject.IsInheritedRex(NTool,"RequiresMouseClickEvent",false))NObject.AddDebugWarningRex("NTool","RequiresMouseClickEvent",false);$s$_.prototype.$J = $s$_.prototype.RequiresMouseClickEvent=function($h$$_){return false;};if(typeof(NTool.prototype.RequiresMouseRClickEvent)!="undefined"&&!NObject.IsInheritedRex(NTool,"RequiresMouseRClickEvent",false))NObject.AddDebugWarningRex("NTool","RequiresMouseRClickEvent",false);$s$_.prototype.$K = $s$_.prototype.RequiresMouseRClickEvent=function($h$$_){return false;};if(typeof(NTool.prototype.RequiresMouseDoubleClickEvent)!="undefined"&&!NObject.IsInheritedRex(NTool,"RequiresMouseDoubleClickEvent",false))NObject.AddDebugWarningRex("NTool","RequiresMouseDoubleClickEvent",false);$s$_.prototype.$L = $s$_.prototype.RequiresMouseDoubleClickEvent=function($h$$_){return false;};if(typeof(NTool.prototype.RequiresKeyDownEvent)!="undefined"&&!NObject.IsInheritedRex(NTool,"RequiresKeyDownEvent",false))NObject.AddDebugWarningRex("NTool","RequiresKeyDownEvent",false);$s$_.prototype.$M = $s$_.prototype.RequiresKeyDownEvent=function($h$$_){return false;};if(typeof(NTool.prototype.RequiresKeyUpEvent)!="undefined"&&!NObject.IsInheritedRex(NTool,"RequiresKeyUpEvent",false))NObject.AddDebugWarningRex("NTool","RequiresKeyUpEvent",false);$s$_.prototype.$N = $s$_.prototype.RequiresKeyUpEvent=function($h$$_){return false;};if(typeof(NTool.prototype.RequiresKeyPressedEvent)!="undefined"&&!NObject.IsInheritedRex(NTool,"RequiresKeyPressedEvent",false))NObject.AddDebugWarningRex("NTool","RequiresKeyPressedEvent",false);$s$_.prototype.$O = $s$_.prototype.RequiresKeyPressedEvent=function($h$$_){return false;};$s$_.prototype.Equals=function($h$$_,$){if((typeof $8$_)!="undefined")$8$_.$("$s$_","Equals",$h$$_,"$s$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$s$_","Equals",$,"NObject","$");var a=$;if(!$9$_.b(a))return false;return $h$$_.toolId==a.toolId;};$s$_.prototype.GetHashCode=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$s$_","GetHashCode",$h$$_,"$s$_","$h$$_");return NObject.GetObjectHashCode($h$$_.toolId);};if(typeof(NTool.prototype.GetEnabled)!="undefined"&&!NObject.IsInheritedRex(NTool,"GetEnabled",false))NObject.AddDebugWarningRex("NTool","GetEnabled",false);$s$_.prototype.$P = $s$_.prototype.GetEnabled=function(){var $h$$_=this;{var __r26=($h$$_.$S);if((typeof $8$_)!="undefined")$8$_.$("$s$_","$P",__r26,"boolean","__r26");return __r26;}};if(typeof(NTool.prototype.GetController)!="undefined"&&!NObject.IsInheritedRex(NTool,"GetController",false))NObject.AddDebugWarningRex("NTool","GetController",false);$s$_.prototype.$Q = $s$_.prototype.GetController=function(){var $h$$_=this;{var __r27=($h$$_.$T);if((typeof $8$_)!="undefined")$8$_.$("$s$_","$Q",__r27,"$t$_","__r27");return __r27;}};if(typeof(NTool.prototype.GetIsActive)!="undefined"&&!NObject.IsInheritedRex(NTool,"GetIsActive",false))NObject.AddDebugWarningRex("NTool","GetIsActive",false);$s$_.prototype.$R = $s$_.prototype.GetIsActive=function(){var $h$$_=this;if($h$$_.$T==null)return false;return(__exs1=$h$$_.$T.$s$()).Equals(__exs1,$h$$_);};$t$_=NController;$t$_.__0n$m="$t$_";function NController(){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($t$_.prototype);$h$$_.NObject();if(typeof($h$$_.ToolActivatedEvent)!="undefined"&&!NObject.IsInheritedRex($t$_,"ToolActivatedEvent",false))NObject.AddDebugWarningRex("NController","ToolActivatedEvent",false);$h$$_.ToolActivatedEvent=new $e$_();if(typeof($h$$_.ToolDeactivatedEvent)!="undefined"&&!NObject.IsInheritedRex($t$_,"ToolDeactivatedEvent",false))NObject.AddDebugWarningRex("NController","ToolDeactivatedEvent",false);$h$$_.ToolDeactivatedEvent=new $e$_();if(typeof($h$$_.ToolAbortedEvent)!="undefined"&&!NObject.IsInheritedRex($t$_,"ToolAbortedEvent",false))NObject.AddDebugWarningRex("NController","ToolAbortedEvent",false);$h$$_.ToolAbortedEvent=new $e$_();if(typeof($h$$_.ToolsChangedEvent)!="undefined"&&!NObject.IsInheritedRex($t$_,"ToolsChangedEvent",false))NObject.AddDebugWarningRex("NController","ToolsChangedEvent",false);$h$$_.ToolsChangedEvent=new $e$_();if(typeof($h$$_.$F$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$F$",false))NObject.AddDebugWarningRex("$t$_","$F$",false);$h$$_.$F$=new Array();if(typeof($h$$_.$G$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$G$",false))NObject.AddDebugWarningRex("$t$_","$G$",false);$h$$_.$G$=null;if(typeof($h$$_.$H$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$H$",false))NObject.AddDebugWarningRex("$t$_","$H$",false);$h$$_.$H$=false;};$t$_.DeriveFrom(NObject);$t$_.$I$=function(){if(typeof($t$_.$u$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$u$",true))NObject.AddDebugWarningRex("$t$_","$u$",true);$t$_.$u$=0;if(typeof($t$_.$v$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$v$",true))NObject.AddDebugWarningRex("$t$_","$v$",true);$t$_.$v$=1;if(typeof($t$_.$w$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$w$",true))NObject.AddDebugWarningRex("$t$_","$w$",true);$t$_.$w$=2;if(typeof($t$_.$x$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$x$",true))NObject.AddDebugWarningRex("$t$_","$x$",true);$t$_.$x$=3;if(typeof($t$_.$y$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$y$",true))NObject.AddDebugWarningRex("$t$_","$y$",true);$t$_.$y$=4;if(typeof($t$_.$z$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$z$",true))NObject.AddDebugWarningRex("$t$_","$z$",true);$t$_.$z$=5;if(typeof($t$_.$A$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$A$",true))NObject.AddDebugWarningRex("$t$_","$A$",true);$t$_.$A$=6;if(typeof($t$_.$B$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$B$",true))NObject.AddDebugWarningRex("$t$_","$B$",true);$t$_.$B$=7;if(typeof($t$_.$C$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$C$",true))NObject.AddDebugWarningRex("$t$_","$C$",true);$t$_.$C$=8;if(typeof($t$_.$D$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$D$",true))NObject.AddDebugWarningRex("$t$_","$D$",true);$t$_.$D$=9;if(typeof($t$_.$E$)!="undefined"&&!NObject.IsInheritedRex($t$_,"$E$",true))NObject.AddDebugWarningRex("$t$_","$E$",true);$t$_.$E$=10;};$t$_.$I$();if(typeof(NController.prototype.GetToolById)!="undefined"&&!NObject.IsInheritedRex(NController,"GetToolById",false))NObject.AddDebugWarningRex("NController","GetToolById",false);$t$_.prototype.$U = $t$_.prototype.GetToolById=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$t$_","$U",$,"string","$");var a=$h$$_.$F$.length;for(var b=0;b",">");return a;};if(typeof($x$_.h)!="undefined"&&!NObject.IsInheritedRex($x$_,"h",true))NObject.AddDebugWarningRex("$x$_","h",true);$x$_.h=function(xml){if((typeof $8$_)!="undefined")$8$_.$("$x$_","h",xml,"string","xml");var xmlDoc=null;if (window.ActiveXObject) { xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = false; xmlDoc.loadXML(xml); } else if (document.implementation && document.implementation.createDocument) { var parser = new DOMParser(); xmlDoc = parser.parseFromString(xml, "text/xml"); } return xmlDoc;};if(typeof($x$_.i)!="undefined"&&!NObject.IsInheritedRex($x$_,"i",true))NObject.AddDebugWarningRex("$x$_","i",true);$x$_.i=function(){var xmlDoc=null;if (window.ActiveXObject) { xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = false; } if (document.implementation && document.implementation.createDocument) { xmlDoc = document.implementation.createDocument("", "", null); } return xmlDoc;};if(typeof($x$_.j)!="undefined"&&!NObject.IsInheritedRex($x$_,"j",true))NObject.AddDebugWarningRex("$x$_","j",true);$x$_.j=function($){var a="";for(var b=0;b<$.childNodes.length;b++){var c=$.childNodes[b];if(c.nodeType!=4)continue;a+=c.nodeValue;}return a;};if(typeof($x$_.k)!="undefined"&&!NObject.IsInheritedRex($x$_,"k",true))NObject.AddDebugWarningRex("$x$_","k",true);$x$_.k=function($,a){if((typeof $8$_)!="undefined")$8$_.$("$x$_","k",a,"string","a");for(var b=0;b<$.length;b++){var c=$[b];if(c.name==a)return c;}return null;};if(typeof($x$_.l)!="undefined"&&!NObject.IsInheritedRex($x$_,"l",true))NObject.AddDebugWarningRex("$x$_","l",true);$x$_.l=function($){if((typeof $8$_)!="undefined")$8$_.$("$x$_","l",$,"string","$");var a=$.trim().split(" ");if(a.length!=2)return null;return new $4$_(parseInt(a[0]),parseInt(a[1]));};$y$_=NAjaxXmlDataSection;$y$_.__0n$m="$y$_";function NAjaxXmlDataSection($,a,b){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$y$_","$y$_",$,"string","$");if((typeof $8$_)!="undefined")$8$_.$("$y$_","$y$_",b,"string","b");$h$$_.InitializeRuntimeTypeInfo($y$_.prototype);$h$$_.NObject();if(typeof($h$$_.Name)!="undefined"&&!NObject.IsInheritedRex($y$_,"Name",false))NObject.AddDebugWarningRex("NAjaxXmlDataSection","Name",false);$h$$_.Name="";if(typeof($h$$_.Data)!="undefined"&&!NObject.IsInheritedRex($y$_,"Data",false))NObject.AddDebugWarningRex("NAjaxXmlDataSection","Data",false);$h$$_.Data="";if($9$_.b($))$h$$_.Name=$;if($9$_.b(a))$h$$_.Attributes=a;else $h$$_.Attributes=new Array();if($9$_.b(b))$h$$_.Data=b;};$y$_.DeriveFrom(NObject);$z$_=NAjaxXmlTransport;$z$_.__0n$m="$z$_";function NAjaxXmlTransport(){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($z$_.prototype);$h$$_.NObject();if(typeof($h$$_.DataSections)!="undefined"&&!NObject.IsInheritedRex($z$_,"DataSections",false))NObject.AddDebugWarningRex("NAjaxXmlTransport","DataSections",false);$h$$_.DataSections=new Array();};$z$_.DeriveFrom(NObject);if(typeof(NAjaxXmlTransport.prototype.Serialize)!="undefined"&&!NObject.IsInheritedRex(NAjaxXmlTransport,"Serialize",false))NObject.AddDebugWarningRex("NAjaxXmlTransport","Serialize",false);$z$_.prototype.$K$ = $z$_.prototype.Serialize=function(){var $h$$_=this;var $="";$+="";for(var a in $h$$_.DataSections){var b=$h$$_.DataSections[a];$+="<"+b.Name+" ";for(var c in b.Attributes){var d=b.Attributes[c];$+=c+"=\""+$x$_.g(d)+"\" ";}$+=">";$+="";$+="";}$+="";return $;};if(typeof(NAjaxXmlTransport.prototype.Deserialize)!="undefined"&&!NObject.IsInheritedRex(NAjaxXmlTransport,"Deserialize",false))NObject.AddDebugWarningRex("NAjaxXmlTransport","Deserialize",false);$z$_.prototype.$L$ = $z$_.prototype.Deserialize=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$z$_","$L$",$,"string","$");var a=$x$_.h($);if(a==null)return;var b=a.getElementsByTagName("ajaxXmlTransport")[0];if(b==null)return;for(var c=0;c0){if(d.offsetTop>=$.offsetTop||c.offsetTop<$.offsetTop)continue;e=true;}else{if(d.offsetTop<$.offsetTop||c.offsetTop>=$.offsetTop)continue;e=false;}if((d.offsetLeft+(($.offsetTop-d.offsetTop)/g)*(c.offsetLeft-d.offsetLeft))<$.offsetLeft){if(e)a.$00++;else a.$10++;}}return a;};$E$_=NImageMapObjectTile;$E$_.__0n$m="$E$_";function NImageMapObjectTile(){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($E$_.prototype);$h$$_.NObject();if(typeof($h$$_.TileId)!="undefined"&&!NObject.IsInheritedRex($E$_,"TileId",false))NObject.AddDebugWarningRex("NImageMapObjectTile","TileId",false);$h$$_.TileId="";if(typeof($h$$_.Items)!="undefined"&&!NObject.IsInheritedRex($E$_,"Items",false))NObject.AddDebugWarningRex("NImageMapObjectTile","Items",false);$h$$_.Items=new Array();};$E$_.DeriveFrom(NObject);$E$_.prototype.Equals=function($h$$_,$){if((typeof $8$_)!="undefined")$8$_.$("$E$_","Equals",$h$$_,"$E$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$E$_","Equals",$,"NObject","$");var a=$;if(!$9$_.b(a))return false;return a.TileId==$h$$_.TileId;};$E$_.prototype.GetHashCode=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$E$_","GetHashCode",$h$$_,"$E$_","$h$$_");return $5$_.f($h$$_.TileId);};if(typeof(NImageMapObjectTile.prototype.HitTest)!="undefined"&&!NObject.IsInheritedRex(NImageMapObjectTile,"HitTest",false))NObject.AddDebugWarningRex("NImageMapObjectTile","HitTest",false);$E$_.prototype.$40 = $E$_.prototype.HitTest=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$E$_","$40",$,"$4$_","$");for(var a=($h$$_.Items.length-1);a>=0;a--){var b=$h$$_.Items[a];if(b.$20($)){{var __r31=(b);if((typeof $8$_)!="undefined")$8$_.$("$E$_","$40",__r31,"$D$_","__r31");return __r31;}}}return null;};$F$_=NImageMapObject;$F$_.__0n$m="$F$_";function NImageMapObject(){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($F$_.prototype);$h$$_.NObject();if(typeof($h$$_.tiles)!="undefined"&&!NObject.IsInheritedRex($F$_,"tiles",false))NObject.AddDebugWarningRex("NImageMapObject","tiles",false);$h$$_.tiles=new $b$_();};$F$_.DeriveFrom(NObject);if(typeof(NImageMapObject.prototype.ParseXmlImageMap)!="undefined"&&!NObject.IsInheritedRex(NImageMapObject,"ParseXmlImageMap",false))NObject.AddDebugWarningRex("NImageMapObject","ParseXmlImageMap",false);$F$_.prototype.$50 = $F$_.prototype.ParseXmlImageMap=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$F$_","$50",$,"string","$");var a=$x$_.h($);if(a==null)return;var b=a.getElementsByTagName("imageMap")[0];if(b==null)return;for(var c=0;c'"+this.src+"'",b);return true;}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$M0",ex);return false;}};if(typeof($O$_.$N0)!="undefined"&&!NObject.IsInheritedRex($O$_,"$N0",true))NObject.AddDebugWarningRex("$O$_","$N0",true);$O$_.$N0=function(){try{$O$_.$R0(this);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$N0",ex);}};if(typeof($O$_.$O0)!="undefined"&&!NObject.IsInheritedRex($O$_,"$O0",true))NObject.AddDebugWarningRex("$O$_","$O0",true);$O$_.$O0=function(hr){try{if(!$9$_.b(hr))return;hr.onreadystatechange = function () {}; if(NReflection.IsInstance(hr.abort)) hr.abort(); delete hr; }catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$O0",ex);}};if(typeof($O$_.$P0)!="undefined"&&!NObject.IsInheritedRex($O$_,"$P0",true))NObject.AddDebugWarningRex("$O$_","$P0",true);$O$_.$P0=function($,a){if((typeof $8$_)!="undefined")$8$_.$("$O$_","$P0",a,"boolean","a");try{if(!$9$_.b($.readyState))return;if(String($.readyState)!="complete")return;if(!a)$O$_.$Q0($);else $O$_.$R0($);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$P0",ex);}};if(typeof($O$_.$Q0)!="undefined"&&!NObject.IsInheritedRex($O$_,"$Q0",true))NObject.AddDebugWarningRex("$O$_","$Q0",true);$O$_.$Q0=function($){try{var a=$["$_10"];var b=$O$_.$r1[$.src];if(!$9$_.b(b)){if(String(typeof($7$_))!="undefined")$8$_.f("$O$_","$Q0",$.src+" is not a vaild key in NCallbackService.LoadingImagesArray");return;}a.callbackService=$O$_.$q1[a.serviceId];if(a.type==$v$_.ImageRefresh){if(String(typeof($8$_))!="undefined")$8$_.f("$O$_","$Q0","Called in image refresh callback mode.");}if($9$_.b($["$_8"]))window.clearTimeout($["$_8"]);if($9$_.b($["$_9"]))window.clearInterval($["$_9"]);$["$_8"]=null;$["$_9"]=null;$.onload=null;$.onerror=null;$["$_10"]=null;delete($O$_.$r1[$.src]);a.callbackService.$91();b.src=$.src;if($9$_.b(b.clientWidth)){if(b.clientWidth==1&&b.clientHeight==1){a.callbackService.$Y0(a);$O$_.$K0(a.callbackService);a.callbackService.$T0();}else{a.callbackService.$H1[b.id]=b.clientWidth;a.callbackService.$I1[b.id]=b.clientHeight;a.callbackService.$71(b.src,b.clientWidth,b.clientHeight);a.callbackService.$_1(a);}}else{b.src=$.src;a.callbackService.$_1(a);}delete($);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$Q0",ex);}};if(typeof($O$_.$R0)!="undefined"&&!NObject.IsInheritedRex($O$_,"$R0",true))NObject.AddDebugWarningRex("$O$_","$R0",true);$O$_.$R0=function($,a){if((typeof $8$_)!="undefined")$8$_.$("$O$_","$R0",a,"boolean","a");try{if(!$9$_.b(a))a=false;if($9$_.b($["$_8"]))window.clearTimeout($["$_8"]);if($9$_.b($["$_9"]))window.clearInterval($["$_9"]);var b=$["$_10"];$["$_8"]=null;$["$_9"]=null;$.onload=null;$.onerror=null;$["$_10"]=null;var c=$O$_.$r1[$.src];if(!$9$_.b(c)){if(String(typeof($8$_))!="undefined")$8$_.f("$O$_","$R0",$.src+" is not a vaild key in NCallbackService.LoadingImagesArray");return;}b.callbackService=$O$_.$q1[b.serviceId];if(!$9$_.b(b.callbackService)){if(!$9$_.b(c["CallbackService"])){if(String(typeof($8$_))!="undefined")$8$_.f("$O$_","$R0","A callback service with an id "+b.serviceId+" could not be found");return;}b.callbackService=c["CallbackService"];}delete($O$_.$r1[$.src]);b.callbackService.$91();if(!a||!b.callbackService.$x1){c.src=$.src;if($9$_.b(c.clientWidth)){if(c.clientWidth==1&&c.clientHeight==1){b.callbackService.$Y0(b);$O$_.$K0(b.callbackService);b.callbackService.$T0();}else if(a)$O$_.$J0(b);else{b.callbackService.$H1[c.id]=c.clientWidth;b.callbackService.$I1[c.id]=c.clientHeight;b.callbackService.$71(c.src,c.clientWidth,c.clientHeight);b.callbackService.$_1(b);$O$_.$H0("",b);}}else{b.callbackService.$_1(b);$O$_.$H0("",b);}}else $O$_.$H0("",b);delete($);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$R0",ex);}};if(typeof($O$_.prototype.$T0)!="undefined"&&!NObject.IsInheritedRex($O$_,"$T0",false))NObject.AddDebugWarningRex("$O$_","$T0",false);$O$_.prototype.$T0=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$O$_","$T0",$,"boolean","$");try{if(!$9$_.b($))$=false;var a=new Array();a["isTimeout"]=$;$h$$_.$A0($1$_.NotRelevant,"reincarnate",a,true);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$T0",ex);}};if(typeof($O$_.prototype.$V0)!="undefined"&&!NObject.IsInheritedRex($O$_,"$V0",false))NObject.AddDebugWarningRex("$O$_","$V0",false);$O$_.prototype.$V0=function($h$$_,$){if((typeof $8$_)!="undefined")$8$_.$("$O$_","$V0",$h$$_,"$O$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$O$_","$V0",$,"$A$_","$");try{if(!$.$N$)return;if(!(__exs7=$.$M$.$V$).Equals(__exs7,$h$$_))return;switch($h$$_.$u1.Type){case $v$_.Http:$h$$_.$T0($.$O$);break;case $v$_.ImageRefresh:$O$_.$K0($h$$_);$h$$_.$X0($1$_.NotRelevant,"testConnection",null,1000);break;default:throw new $l$_(NObject.Typeof($v$_),$h$$_.$u1.Type);}}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$V0",ex);}};if(typeof($O$_.prototype.$W0)!="undefined"&&!NObject.IsInheritedRex($O$_,"$W0",false))NObject.AddDebugWarningRex("$O$_","$W0",false);$O$_.prototype.$W0=function($,a,b,c){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$O$_","$W0",$,"number","$");if((typeof $8$_)!="undefined")$8$_.$("$O$_","$W0",a,"string","a");if((typeof $8$_)!="undefined")$8$_.$("$O$_","$W0",c,"number","c");try{var d=new $N$_();d.async=true;d.serviceId=$h$$_.$y1;d.command=a;d.id=$h$$_.$01();d.type=$v$_.Http;d.eventType=$;$h$$_.$B1=d;if(!$9$_.b(b))b=new Array();b["name"]=a;var e=new $z$_();var f=new $y$_("command",b);e.DataSections[f.Name]=f;WebForm_DoCallback($h$$_.$u1.WebControlId,e.$K$(),$O$_.$d1,d,$O$_.$e1,true);$h$$_.$z1=window.setTimeout(function(){$O$_.$f1(d);},c);$h$$_.$w0($h$$_,d);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$W0",ex);}};if(typeof($O$_.prototype.$X0)!="undefined"&&!NObject.IsInheritedRex($O$_,"$X0",false))NObject.AddDebugWarningRex("$O$_","$X0",false);$O$_.prototype.$X0=function($,a,b,c){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$O$_","$X0",$,"number","$");if((typeof $8$_)!="undefined")$8$_.$("$O$_","$X0",a,"string","a");if((typeof $8$_)!="undefined")$8$_.$("$O$_","$X0",c,"number","c");try{if(!$9$_.b(b))b=new Array();b["name"]=a;b["webControlId"]=$h$$_.$u1.WebControlId;var d=new $N$_();d.async=true;d.webControlId=$h$$_.$u1.WebControlId;d.serviceId=$h$$_.$y1;d.command=a;d.id=$h$$_.$01();d.type=$v$_.ImageRefresh;d.eventType=$;$h$$_.$B1=d;var e=new $z$_();var f=new $y$_("command",b);e.DataSections[f.Name]=f;var g=$x$_.a($h$$_.$D1.src,e.$K$());$h$$_.$51($h$$_.$D1.id,g,d,c);$h$$_.$w0($h$$_,d);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$X0",ex);}};if(typeof($O$_.prototype.$Y0)!="undefined"&&!NObject.IsInheritedRex($O$_,"$Y0",false))NObject.AddDebugWarningRex("$O$_","$Y0",false);$O$_.prototype.$Y0=function($,a){if((typeof $8$_)!="undefined")$8$_.$("$O$_","$Y0",$,"$N$_","$");if((typeof $8$_)!="undefined")$8$_.$("$O$_","$Y0",a,"boolean","a");try{if($.callbackService.$x1)return;$.callbackService.$x1=true;$.callbackService.$21();$.callbackService.$s1.$Q$(a);(__exs8=$.callbackService).$q0(__exs8,$);try{$i$_.AsyncCallbackRecoveryStateStarted.v($);}catch(b){if(String(typeof($8$_))!="undefined")$8$_.f("$i$_","AsyncCallbackRecoveryStateStarted",b);}}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$Y0",b);}};if(typeof($O$_.prototype.$_1)!="undefined"&&!NObject.IsInheritedRex($O$_,"$_1",false))NObject.AddDebugWarningRex("$O$_","$_1",false);$O$_.prototype.$_1=function($){if((typeof $8$_)!="undefined")$8$_.$("$O$_","$_1",$,"$N$_","$");try{if($.callbackService.$x1==false)return;$.callbackService.$x1=false;if($.callbackService.$u1.Type!=$v$_.ImageRefresh)$.callbackService.$E0();$.callbackService.$s1.$R$();(__exs9=$.callbackService).$r0(__exs9,$);try{$i$_.AsyncCallbackRecoveryStateEnded.v($);}catch(a){if(String(typeof($8$_))!="undefined")$8$_.f("$i$_","AsyncCallbackRecoveryStateEnded",a);}}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$_1",a);}};if(typeof($O$_.prototype.$$1)!="undefined"&&!NObject.IsInheritedRex($O$_,"$$1",false))NObject.AddDebugWarningRex("$O$_","$$1",false);$O$_.prototype.$$1=function(){var $h$$_=this;try{if(!$9$_.b(__pendingCallbacks))return null;for(var $=0;$<__pendingCallbacks.length;$++){var a=__pendingCallbacks[$];if(!$9$_.b(a)||!$9$_.b(a["xmlRequest"]))continue;var b=a["context"];if(b.serviceId==$h$$_.$y1)return a["xmlRequest"];}return null;}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$$1",ex);return null;}};if(typeof($O$_.prototype.$01)!="undefined"&&!NObject.IsInheritedRex($O$_,"$01",false))NObject.AddDebugWarningRex("$O$_","$01",false);$O$_.prototype.$01=function(){var $h$$_=this;try{$O$_.$p1++;if($O$_.$p1<0)$O$_.$p1=0;$h$$_.$A1=$O$_.$p1;{var __r34=($h$$_.$A1);if((typeof $8$_)!="undefined")$8$_.$("$O$_","$01",__r34,"number","__r34");return __r34;}}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$01",ex);return -1;}};if(typeof($O$_.prototype.$11)!="undefined"&&!NObject.IsInheritedRex($O$_,"$11",false))NObject.AddDebugWarningRex("$O$_","$11",false);$O$_.prototype.$11=function(){var $h$$_=this;try{$h$$_.$A1=-1;}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$11",ex);}};if(typeof($O$_.prototype.$21)!="undefined"&&!NObject.IsInheritedRex($O$_,"$21",false))NObject.AddDebugWarningRex("$O$_","$21",false);$O$_.prototype.$21=function($){var $h$$_=this;try{if(!$9$_.b($)){var a=document.getElementById($h$$_.$u1.EcmaId+"_Div");if(!$9$_.b(a))return;$=new Array();var b=a.getElementsByTagName("IMG");var c=b.length;for(var d=0;d0){c["$_8"]=window.setTimeout(function(){$O$_.$Q0(c);},d.ImageLoadTimeout);}if(d.ImageLoadIePollingInterval>0&&$9$_.b(c.readyState)){c["$_9"]=window.setInterval(function(){$O$_.$P0(c,false);},d.ImageLoadIePollingInterval);}if(c.complete)$O$_.$Q0(c);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$41",ex);}};if(typeof($O$_.prototype.$51)!="undefined"&&!NObject.IsInheritedRex($O$_,"$51",false))NObject.AddDebugWarningRex("$O$_","$51",false);$O$_.prototype.$51=function($,a,b,c){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$O$_","$51",$,"string","$");if((typeof $8$_)!="undefined")$8$_.$("$O$_","$51",a,"string","a");if((typeof $8$_)!="undefined")$8$_.$("$O$_","$51",b,"$N$_","b");if((typeof $8$_)!="undefined")$8$_.$("$O$_","$51",c,"number","c");try{var d=document.getElementById($);if(!$9$_.b(d))return;var e=$x$_.$(a);$O$_.$r1[e]=d;var f=document.createElement("img");f.onload=$O$_.$N0;f.onerror=$O$_.$M0;f["$_10"]=b;f.src=e;$h$$_.$81();$h$$_.$z1=window.setTimeout(function(){$O$_.$R0(f,true);},c);if($h$$_.$u1.ImageLoadIePollingInterval>0&&$9$_.b(f.readyState)){f["$_9"]=window.setInterval(function(){$O$_.$P0(f,true);},$h$$_.$u1.ImageLoadIePollingInterval);}if(f.complete)$O$_.$R0(f);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$51",ex);}};if(typeof($O$_.prototype.$61)!="undefined"&&!NObject.IsInheritedRex($O$_,"$61",false))NObject.AddDebugWarningRex("$O$_","$61",false);$O$_.prototype.$61=function($){var $h$$_=this;try{var a=$h$$_.$H1[$.id];if(!$9$_.b(a))return;var b=$h$$_.$I1[$.id];if(!$9$_.b(b))return;var c=String(a)+"x"+String(b);var d=$h$$_.$J1[c];if($9$_.b(d)){$.src=d.src;return;}var e=$x$_.b($.src,a,b);$.src=e;}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$61",ex);}};if(typeof($O$_.prototype.$71)!="undefined"&&!NObject.IsInheritedRex($O$_,"$71",false))NObject.AddDebugWarningRex("$O$_","$71",false);$O$_.prototype.$71=function($,a,b){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$O$_","$71",$,"string","$");if((typeof $8$_)!="undefined")$8$_.$("$O$_","$71",a,"number","a");if((typeof $8$_)!="undefined")$8$_.$("$O$_","$71",b,"number","b");try{var c=String(a)+"x"+String(b);if($9$_.b($h$$_.$J1[c]))return;var d=$x$_.b($,a,b);var e=new Image(5);e.src=d;$h$$_.$J1[c]=e;}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$71",ex);}};if(typeof($O$_.prototype.$81)!="undefined"&&!NObject.IsInheritedRex($O$_,"$81",false))NObject.AddDebugWarningRex("$O$_","$81",false);$O$_.prototype.$81=function(){var $h$$_=this;try{$h$$_.$C1++;}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$81",ex);}};if(typeof($O$_.prototype.$91)!="undefined"&&!NObject.IsInheritedRex($O$_,"$91",false))NObject.AddDebugWarningRex("$O$_","$91",false);$O$_.prototype.$91=function(){var $h$$_=this;try{$h$$_.$C1--;if($h$$_.$C1<0){if(String(typeof($8$_))!="undefined")$8$_.f("$O$_","$a1","Pending images count cannot be less than 0");$h$$_.$C1=0;}}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$91",ex);}};if(typeof($O$_.prototype.$a1)!="undefined"&&!NObject.IsInheritedRex($O$_,"$a1",false))NObject.AddDebugWarningRex("$O$_","$a1",false);$O$_.prototype.$a1=function(){var $h$$_=this;try{if($h$$_.$C1!=0){if(String(typeof($8$_))!="undefined")$8$_.f("$O$_","$a1","Resetting pending images count cannot at value different than 0: "+$h$$_.$C1);}$h$$_.$C1=0;}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$a1",ex);}};if(typeof($O$_.prototype.$b1)!="undefined"&&!NObject.IsInheritedRex($O$_,"$b1",false))NObject.AddDebugWarningRex("$O$_","$b1",false);$O$_.prototype.$b1=function(){var $h$$_=this;try{if($h$$_.$F1.length>=$h$$_.$G1)$h$$_.$F1.shift();var $=new $M$_();$.$o0=new Date();$.$p0=null;$h$$_.$F1[$h$$_.$F1.length]=$;}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$b1",ex);}};if(typeof($O$_.prototype.$c1)!="undefined"&&!NObject.IsInheritedRex($O$_,"$c1",false))NObject.AddDebugWarningRex("$O$_","$c1",false);$O$_.prototype.$c1=function(){var $h$$_=this;try{if($h$$_.$F1.length==0)return;var $=$h$$_.$F1[$h$$_.$F1.length-1];if($.$p0!=null)return;$.$p0=new Date();}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$c1",ex);}};if(typeof($O$_.$d1)!="undefined"&&!NObject.IsInheritedRex($O$_,"$d1",true))NObject.AddDebugWarningRex("$O$_","$d1",true);$O$_.$d1=function($,a){if((typeof $8$_)!="undefined")$8$_.$("$O$_","$d1",a,"$N$_","a");try{a.callbackService=$O$_.$q1[a.serviceId];if(!$9$_.b(a.callbackService))return;var b=a.callbackService.$$1();if(!a.callbackService.$w1||a.callbackService.$A1!=a.id){a.callbackService.$11();if(a.async==true){window.setTimeout(function(){$O$_.$I0($,a);},0);}else $O$_.$I0($,a);return;}if($9$_.b(b)){var c=0;try{c=b.status;}catch(d){if(a.async==true){window.setTimeout(function(){$O$_.$e1("XMLHttpRequest was in an invalid state and the status property could not be read.",a);},0);}else $O$_.$e1("XMLHttpRequest was in an invalid state and the status property could not be read.",a);return;}if(c!=200){if(a.async==true){window.setTimeout(function(){$O$_.$e1("Server returned status code "+b.status,a);},0);}else $O$_.$e1("Server returned status code "+b.status,a);return;}}a.callbackService.$11();if(a.async==true){window.setTimeout(function(){$O$_.$H0($,a);},0);}else $O$_.$H0($,a);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$d1",d);}};if(typeof($O$_.$e1)!="undefined"&&!NObject.IsInheritedRex($O$_,"$e1",true))NObject.AddDebugWarningRex("$O$_","$e1",true);$O$_.$e1=function($,a){if((typeof $8$_)!="undefined")$8$_.$("$O$_","$e1",a,"$N$_","a");try{a.callbackService=$O$_.$q1[a.serviceId];if(!$9$_.b(a.callbackService)||!a.callbackService.$w1||a.callbackService.$A1!=a.id)return;var b=a.callbackService.$$1();a.callbackService.$11();if(a.async==true){window.setTimeout(function(){$O$_.$G0($,a);},0);}else $O$_.$G0($,a);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$e1",ex);}};if(typeof($O$_.$f1)!="undefined"&&!NObject.IsInheritedRex($O$_,"$f1",true))NObject.AddDebugWarningRex("$O$_","$f1",true);$O$_.$f1=function($){if((typeof $8$_)!="undefined")$8$_.$("$O$_","$f1",$,"$N$_","$");try{$.callbackService=$O$_.$q1[$.serviceId];if(!$9$_.b($.callbackService))return;if(!$.callbackService.$w1||$.callbackService.$A1!=$.id){var a=$.callbackService.$$1();$O$_.$K0($.callbackService);return;}$O$_.$J0($);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$f1",ex);}};if(typeof($O$_.prototype.$g1)!="undefined"&&!NObject.IsInheritedRex($O$_,"GetServiceId",false))NObject.AddDebugWarningRex("NCallbackService","GetServiceId",false);$O$_.prototype.$g1 = $O$_.prototype.GetServiceId=function(){var $h$$_=this;try{{var __r35=($h$$_.$y1);if((typeof $8$_)!="undefined")$8$_.$("$O$_","$g1",__r35,"number","__r35");return __r35;}}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$g1",ex);return -1;}};if(typeof(NCallbackService.prototype.GetIsBusy)!="undefined"&&!NObject.IsInheritedRex(NCallbackService,"GetIsBusy",false))NObject.AddDebugWarningRex("NCallbackService","GetIsBusy",false);$O$_.prototype.$h1 = $O$_.prototype.GetIsBusy=function(){var $h$$_=this;try{{var __r36=($h$$_.$w1);if((typeof $8$_)!="undefined")$8$_.$("$O$_","$h1",__r36,"boolean","__r36");return __r36;}}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$h1",ex);return false;}};if(typeof(NCallbackService.prototype.GetIsRecoveryState)!="undefined"&&!NObject.IsInheritedRex(NCallbackService,"GetIsRecoveryState",false))NObject.AddDebugWarningRex("NCallbackService","GetIsRecoveryState",false);$O$_.prototype.$i1 = $O$_.prototype.GetIsRecoveryState=function(){var $h$$_=this;try{{var __r37=($h$$_.$x1);if((typeof $8$_)!="undefined")$8$_.$("$O$_","$i1",__r37,"boolean","__r37");return __r37;}}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$i1",ex);return false;}};if(typeof(NCallbackService.prototype.GetWaitCursorEnabled)!="undefined"&&!NObject.IsInheritedRex(NCallbackService,"GetWaitCursorEnabled",false))NObject.AddDebugWarningRex("NCallbackService","GetWaitCursorEnabled",false);$O$_.prototype.$j1 = $O$_.prototype.GetWaitCursorEnabled=function(){var $h$$_=this;try{{var __r38=($h$$_.$u1.EnableWaitCursor);if((typeof $8$_)!="undefined")$8$_.$("$O$_","$j1",__r38,"boolean","__r38");return __r38;}}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$j1",ex);return true;}};if(typeof(NCallbackService.prototype.SetWaitCursorEnabled)!="undefined"&&!NObject.IsInheritedRex(NCallbackService,"SetWaitCursorEnabled",false))NObject.AddDebugWarningRex("NCallbackService","SetWaitCursorEnabled",false);$O$_.prototype.$k1 = $O$_.prototype.SetWaitCursorEnabled=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$O$_","$k1",$,"boolean","$");try{if(!$){$h$$_.$z0();$h$$_.$t1=0;}$h$$_.$u1.EnableWaitCursor=$;}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$k1",ex);}};if(typeof(NCallbackService.prototype.GetAvgCallbackTime)!="undefined"&&!NObject.IsInheritedRex(NCallbackService,"GetAvgCallbackTime",false))NObject.AddDebugWarningRex("NCallbackService","GetAvgCallbackTime",false);$O$_.prototype.$l1 = $O$_.prototype.GetAvgCallbackTime=function(){var $h$$_=this;try{if($h$$_.$F1.length==0)return 0;var $=0;var a=0;for(var b=0;b<$h$$_.$F1.length;b++){var c=$h$$_.$F1[b];if(c.$n0()==-1){a++;continue;}$+=c.$n0();}var d=($h$$_.$F1.length-a);if(d==0)return 0;$=$/d;return $;}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$l1",ex);return 0;}};if(typeof(NCallbackService.prototype.GetCallbackConfiguration)!="undefined"&&!NObject.IsInheritedRex(NCallbackService,"GetCallbackConfiguration",false))NObject.AddDebugWarningRex("NCallbackService","GetCallbackConfiguration",false);$O$_.prototype.$m1 = $O$_.prototype.GetCallbackConfiguration=function(){var $h$$_=this;try{{var __r39=($h$$_.$u1);if((typeof $8$_)!="undefined")$8$_.$("$O$_","$m1",__r39,"$G$_","__r39");return __r39;}}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$m1",ex);return null;}};if(typeof(NCallbackService.prototype.GetDelayReset)!="undefined"&&!NObject.IsInheritedRex(NCallbackService,"$n1",false))NObject.AddDebugWarningRex("$O$_","$n1",false);$O$_.prototype.$n1=function(){var $h$$_=this;try{return $h$$_.$C1!=0;}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$O$_","$n1",ex);return false;}};$P$_=NWebControlCallbackService;$P$_.__0n$m="$P$_";function NWebControlCallbackService($,a,b,c,d){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$P$_","$P$_",$,"$G$_","$");if((typeof $8$_)!="undefined")$8$_.$("$P$_","$P$_",a,"$L$_","a");if((typeof $8$_)!="undefined")$8$_.$("$P$_","$P$_",b,"$e$$_","b");if((typeof $8$_)!="undefined")$8$_.$("$P$_","$P$_",c,"$J$_","c");if((typeof $8$_)!="undefined")$8$_.$("$P$_","$P$_",d,"$K$_","d");$h$$_.InitializeRuntimeTypeInfo($P$_.prototype);$h$$_.$O$_($,a);if(typeof($h$$_.$H2)!="undefined"&&!NObject.IsInheritedRex($P$_,"$H2",false))NObject.AddDebugWarningRex("$P$_","$H2",false);$h$$_.$H2=new $e$_();if(typeof($h$$_.$I2)!="undefined"&&!NObject.IsInheritedRex($P$_,"$I2",false))NObject.AddDebugWarningRex("$P$_","$I2",false);$h$$_.$I2=new $e$_();if(typeof($h$$_.$J2)!="undefined"&&!NObject.IsInheritedRex($P$_,"$J2",false))NObject.AddDebugWarningRex("$P$_","$J2",false);$h$$_.$J2=new $e$_();if(typeof($h$$_.controller)!="undefined"&&!NObject.IsInheritedRex($P$_,"controller",false))NObject.AddDebugWarningRex("NWebControlCallbackService","controller",false);$h$$_.controller=new $t$_();if(typeof($h$$_.$U2)!="undefined"&&!NObject.IsInheritedRex($P$_,"$U2",false))NObject.AddDebugWarningRex("$P$_","$U2",false);$h$$_.$U2=new $h$_();if(typeof($h$$_.$V2)!="undefined"&&!NObject.IsInheritedRex($P$_,"$V2",false))NObject.AddDebugWarningRex("$P$_","$V2",false);$h$$_.$V2=null;if(typeof($h$$_.imageMap)!="undefined"&&!NObject.IsInheritedRex($P$_,"imageMap",false))NObject.AddDebugWarningRex("NWebControlCallbackService","imageMap",false);$h$$_.imageMap=null;if(typeof($h$$_.currentOverElement)!="undefined"&&!NObject.IsInheritedRex($P$_,"currentOverElement",false))NObject.AddDebugWarningRex("NWebControlCallbackService","currentOverElement",false);$h$$_.currentOverElement=null;try{$h$$_.$K2=new $g$_($w$_.Refresh,$.RefreshPriority,$.RefreshQueueLength,true,$.EnableRefresh,$h$$_.$H2,new $d$_($h$$_,$h$$_.$_2));$h$$_.$L2=new $g$_($w$_.MouseDoubleClick,c.$b0,c.$c0,true,false,$i$_.MouseDoubleClick,new $d$_($h$$_,$h$$_.$52),new $d$_($h$$_,$h$$_.$22));$h$$_.$M2=new $g$_($w$_.MouseClick,c.$90,c.$a0,true,false,$i$_.MouseClick,new $d$_($h$$_,$h$$_.$62),new $d$_($h$$_,$h$$_.$22));$h$$_.$N2=new $g$_($w$_.MouseDown,c.$f0,c.$g0,true,false,$i$_.MouseDown,new $d$_($h$$_,$h$$_.$72),new $d$_($h$$_,$h$$_.$22));$h$$_.$O2=new $g$_($w$_.MouseUp,c.$h0,c.$i0,true,false,$i$_.MouseUp,new $d$_($h$$_,$h$$_.$82),new $d$_($h$$_,$h$$_.$22));$h$$_.$P2=new $g$_($w$_.MouseMove,c.$d0,c.$e0,true,false,$i$_.MouseMove,new $d$_($h$$_,$h$$_.$92),new $d$_($h$$_,$h$$_.$22));$h$$_.$Q2=new $g$_($w$_.MouseOut,c.$d0,c.$e0,true,false,$i$_.MouseOut,new $d$_($h$$_,$h$$_.$a2),new $d$_($h$$_,$h$$_.$22));$h$$_.$R2=new $g$_($w$_.AutoRefresh,0,0,true,d.$j0,$i$_.AjaxIntervalElapsed,new $d$_($h$$_,$h$$_.$12),new $d$_($h$$_,$h$$_.$32));$h$$_.$S2=new $g$_($w$_.CustomCommand,9999,3,true,true,$h$$_.$I2,new $d$_($h$$_,$h$$_.$$2));$h$$_.$T2=new $g$_($w$_.QueryXmlImageMap,9999,1,true,true,$h$$_.$J2,new $d$_($h$$_,$h$$_.$02));$h$$_.$U2.$$($h$$_.$K2);$h$$_.$U2.$$($h$$_.$L2);$h$$_.$U2.$$($h$$_.$M2);$h$$_.$U2.$$($h$$_.$N2);$h$$_.$U2.$$($h$$_.$O2);$h$$_.$U2.$$($h$$_.$P2);$h$$_.$U2.$$($h$$_.$Q2);$h$$_.$U2.$$($h$$_.$R2);$h$$_.$U2.$$($h$$_.$S2);$h$$_.$U2.$$($h$$_.$T2);$h$$_.$V2=new $q$_();$h$$_.$V2.$i($h$$_.$U2);$h$$_.$s1.$W$=d.$k0;$h$$_.$s1.$X$=d.$l0;if($.ImageMapXml!=""){var e=new $z$_();e.$L$($.ImageMapXml);if($9$_.b(e.DataSections["imageMap"])){$h$$_.imageMap=new $F$_();var f=e.DataSections["imageMap"];$h$$_.imageMap.$50(f.Data);}}b.InitializeTools(b,$h$$_);$h$$_.$Z1();$h$$_.controller.ToolsChangedEvent.p($h$$_,$h$$_.$42);$h$$_.$C2(d.$j0);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$P$_",ex);}};$P$_.DeriveFrom($O$_);$P$_.prototype.$q0=function($h$$_,$){if((typeof $8$_)!="undefined")$8$_.$("$P$_","$q0",$h$$_,"$P$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$P$_","$q0",$,"$N$_","$");try{$h$$_.$U2.$8(false);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$q0",ex);}};$P$_.prototype.$r0=function($h$$_,$){if((typeof $8$_)!="undefined")$8$_.$("$P$_","$r0",$h$$_,"$P$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$P$_","$r0",$,"$N$_","$");try{$h$$_.$U2.$8(true);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$r0",ex);}};$P$_.prototype.$s0=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$P$_","$s0",$h$$_,"$P$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$P$_","$s0",a,"$N$_","a");try{if(a.type==$v$_.ImageRefresh)return;var b=new $z$_();b.$L$(String($));switch(a.command){case "getImageMapXml":break;case "mouseClick":case "mouseDoubleClick":case "mouseMove":case "mouseDown":case "mouseUp":case "mouseOver":case "mouseOut":case "refresh":case "autoRefresh":case "reincarnate":default:if(!$9$_.b(b.DataSections["redraw"]))break;var c=b.DataSections["redraw"];var d=c.Data;var e=d.split("|");$h$$_.$E0(e);break;}var f=b.DataSections["imageMap"];if($9$_.b(f)){a.imageMapObject=new $F$_();a.imageMapObject.$50(f.Data);$h$$_.imageMap=a.imageMapObject;}}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$s0",ex);}};$P$_.prototype.$u0=function($h$$_,$){if((typeof $8$_)!="undefined")$8$_.$("$P$_","$u0",$h$$_,"$P$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$P$_","$u0",$,"$N$_","$");try{if(!$h$$_.$B2())return;if($h$$_.$s1.$X$==1)return;if($h$$_.$E1<=1)return;$h$$_.$G2(Math.floor($h$$_.$F2()*$h$$_.$s1.$X$));}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$u0",ex);}};$P$_.prototype.$t0=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$P$_","$t0",$h$$_,"$P$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$P$_","$t0",a,"$N$_","a");if(String(typeof($8$_))!="undefined")$8$_.f("$P$_","$t0",String($));};$P$_.prototype.$x0=function($h$$_,$){if((typeof $8$_)!="undefined")$8$_.$("$P$_","$x0",$h$$_,"$P$_","$h$$_");var $i$$_=$P$_.GetBase();if((typeof $8$_)!="undefined")$8$_.$("$P$_","$x0",$,"$N$_","$");try{$i$$_.$x0($h$$_,$);$h$$_.$V2.$h();}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$x0",ex);}};if(typeof(NWebControlCallbackService.prototype.HitTest)!="undefined"&&!NObject.IsInheritedRex(NWebControlCallbackService,"HitTest",false))NObject.AddDebugWarningRex("NWebControlCallbackService","HitTest",false);$P$_.prototype.$L1 = $P$_.prototype.HitTest=function($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$P$_","$L1",$,"string","$");if((typeof $8$_)!="undefined")$8$_.$("$P$_","$L1",a,"$4$_","a");if($h$$_.imageMap==null)return null;return $h$$_.imageMap.$60($,a);};if(typeof(NWebControlCallbackService.prototype.Refresh)!="undefined"&&!NObject.IsInheritedRex(NWebControlCallbackService,"Refresh",false))NObject.AddDebugWarningRex("NWebControlCallbackService","Refresh",false);$P$_.prototype.$M1 = $P$_.prototype.Refresh=function(){var $h$$_=this;try{$h$$_.$H2.v();}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$M1",ex);}};if(typeof(NWebControlCallbackService.prototype.InvokeCustomCommand)!="undefined"&&!NObject.IsInheritedRex(NWebControlCallbackService,"InvokeCustomCommand",false))NObject.AddDebugWarningRex("NWebControlCallbackService","InvokeCustomCommand",false);$P$_.prototype.$N1 = $P$_.prototype.InvokeCustomCommand=function($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$P$_","$N1",$,"string","$");try{$h$$_.$I2.v($,a);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$N1",ex);}};if(typeof(NWebControlCallbackService.prototype.QueryXmlImageMap)!="undefined"&&!NObject.IsInheritedRex(NWebControlCallbackService,"QueryXmlImageMap",false))NObject.AddDebugWarningRex("NWebControlCallbackService","QueryXmlImageMap",false);$P$_.prototype.$O1 = $P$_.prototype.QueryXmlImageMap=function(){var $h$$_=this;try{$h$$_.$J2.v();}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$O1",ex);}};if(typeof(NWebControlCallbackService.prototype.DoMouseDoubleClick)!="undefined"&&!NObject.IsInheritedRex(NWebControlCallbackService,"DoMouseDoubleClick",false))NObject.AddDebugWarningRex("NWebControlCallbackService","DoMouseDoubleClick",false);$P$_.prototype.$P1 = $P$_.prototype.DoMouseDoubleClick=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$P$_","$P1",$,"$n$_","$");try{var a=new Array();a["id"]=$.eventTarget.id;a["x"]=$.localOffset.offsetLeft;a["y"]=$.localOffset.offsetTop;a["width"]=$.eventTarget.clientWidth;a["height"]=$.eventTarget.clientHeight;$h$$_.$A0($1$_.MouseDoubleClick,"mouseDoubleClick",a);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$P1",ex);}};if(typeof(NWebControlCallbackService.prototype.DoMouseClick)!="undefined"&&!NObject.IsInheritedRex(NWebControlCallbackService,"DoMouseClick",false))NObject.AddDebugWarningRex("NWebControlCallbackService","DoMouseClick",false);$P$_.prototype.$Q1 = $P$_.prototype.DoMouseClick=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$P$_","$Q1",$,"$n$_","$");try{var a=new Array();a["id"]=$.eventTarget.id;a["x"]=$.localOffset.offsetLeft;a["y"]=$.localOffset.offsetTop;a["width"]=$.eventTarget.clientWidth;a["height"]=$.eventTarget.clientHeight;$h$$_.$A0($1$_.MouseClick,"mouseClick",a);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$Q1",ex);}};if(typeof(NWebControlCallbackService.prototype.DoMouseDown)!="undefined"&&!NObject.IsInheritedRex(NWebControlCallbackService,"DoMouseDown",false))NObject.AddDebugWarningRex("NWebControlCallbackService","DoMouseDown",false);$P$_.prototype.$R1 = $P$_.prototype.DoMouseDown=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$P$_","$R1",$,"$n$_","$");try{var a=new Array();a["id"]=$.eventTarget.id;a["x"]=$.localOffset.offsetLeft;a["y"]=$.localOffset.offsetTop;a["width"]=$.eventTarget.clientWidth;a["height"]=$.eventTarget.clientHeight;$h$$_.$A0($1$_.MouseDown,"mouseDown",a);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$R1",ex);}};if(typeof(NWebControlCallbackService.prototype.DoMouseUp)!="undefined"&&!NObject.IsInheritedRex(NWebControlCallbackService,"DoMouseUp",false))NObject.AddDebugWarningRex("NWebControlCallbackService","DoMouseUp",false);$P$_.prototype.$S1 = $P$_.prototype.DoMouseUp=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$P$_","$S1",$,"$n$_","$");try{var a=new Array();a["id"]=$.eventTarget.id;a["x"]=$.localOffset.offsetLeft;a["y"]=$.localOffset.offsetTop;a["width"]=$.eventTarget.clientWidth;a["height"]=$.eventTarget.clientHeight;$h$$_.$A0($1$_.MouseUp,"mouseUp",a);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$S1",ex);}};if(typeof(NWebControlCallbackService.prototype.DoMouseMove)!="undefined"&&!NObject.IsInheritedRex(NWebControlCallbackService,"DoMouseMove",false))NObject.AddDebugWarningRex("NWebControlCallbackService","DoMouseMove",false);$P$_.prototype.$T1 = $P$_.prototype.DoMouseMove=function($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$P$_","$T1",$,"$n$_","$");try{var a=new Array();a["id"]=$.eventTarget.id;a["x"]=$.localOffset.offsetLeft;a["y"]=$.localOffset.offsetTop;a["width"]=$.eventTarget.clientWidth;a["height"]=$.eventTarget.clientHeight;$h$$_.$A0($1$_.MouseMove,"mouseMove",a);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$T1",ex);}};if(typeof(NWebControlCallbackService.prototype.DoMouseOver)!="undefined"&&!NObject.IsInheritedRex(NWebControlCallbackService,"DoMouseOver",false))NObject.AddDebugWarningRex("NWebControlCallbackService","DoMouseOver",false);$P$_.prototype.$U1 = $P$_.prototype.DoMouseOver=function($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$P$_","$U1",$,"$n$_","$");if((typeof $8$_)!="undefined")$8$_.$("$P$_","$U1",a,"string","a");try{var b=new Array();b["id"]=$.eventTarget.id;b["x"]=$.localOffset.offsetLeft;b["y"]=$.localOffset.offsetTop;b["width"]=$.eventTarget.clientWidth;b["height"]=$.eventTarget.clientHeight;b["itemId"]=a;$h$$_.$A0($1$_.MouseOver,"mouseOver",b);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$U1",ex);}};if(typeof(NWebControlCallbackService.prototype.DoMouseOut)!="undefined"&&!NObject.IsInheritedRex(NWebControlCallbackService,"DoMouseOut",false))NObject.AddDebugWarningRex("NWebControlCallbackService","DoMouseOut",false);$P$_.prototype.$V1 = $P$_.prototype.DoMouseOut=function($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$P$_","$V1",$,"$n$_","$");if((typeof $8$_)!="undefined")$8$_.$("$P$_","$V1",a,"string","a");try{var b=new Array();b["id"]=$.eventTarget.id;b["x"]=$.localOffset.offsetLeft;b["y"]=$.localOffset.offsetTop;b["width"]=$.eventTarget.clientWidth;b["height"]=$.eventTarget.clientHeight;b["itemId"]=a;$h$$_.$A0($1$_.MouseOut,"mouseOut",b);}catch(ex){if((typeof $8$_)!="undefined")$8$_.f("$P$_","$V1",ex);}};if(typeof(NWebControlCallbackService.prototype.GetImageElements)!="undefined"&&!NObject.IsInheritedRex(NWebControlCallbackService,"GetImageElements",false))NObject.AddDebugWarningRex("NWebControlCallbackService","GetImageElements",false);$P$_.prototype.$W1 = $P$_.prototype.GetImageElements=function(){var $h$$_=this;try{var $=new Array();var a=document.getElementById($h$$_.$m1().EcmaId+"_Div");var b=a.childNodes;for(var c=0;cg+i)e=g-h+i;}$.style.left=$c$_.a(e);$.style.top=$c$_.a(f);$.innerHTML=$h$$_.$83;$i$$_.$e($h$$_);};function $0$$_($,a,b){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$0$$_","$0$$_",$,"$s$_","$");if((typeof $8$_)!="undefined")$8$_.$("$0$$_","$0$$_",a,"$q$_","a");if((typeof $8$_)!="undefined")$8$_.$("$0$$_","$0$$_",b,"$n$_","b");$h$$_.InitializeRuntimeTypeInfo($0$$_.prototype);$h$$_.$p$_($,a);if(typeof($h$$_.$b3)!="undefined"&&!NObject.IsInheritedRex($0$$_,"$b3",false))NObject.AddDebugWarningRex("$0$$_","$b3",false);$h$$_.$b3=null;if($9$_.b(b))$h$$_.$b3=b;};$0$$_.DeriveFrom($p$_);$0$$_.prototype.$e = $0$$_.prototype.Execute=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$0$$_","$e",$h$$_,"$0$$_","$h$$_");var $i$$_=$0$$_.GetBase();var $=$h$$_.tool;$.tooltipDiv.className="";$.tooltipDiv.style.display="none";$i$$_.$e($h$$_);};$1$$_=NAjaxToolConfig;$1$$_.__0n$m="$1$$_";function NAjaxToolConfig($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$1$$_","$1$$_",$,"boolean","$");$h$$_.InitializeRuntimeTypeInfo($1$$_.prototype);$h$$_.NObject();if(typeof($h$$_.useImageMapFilter)!="undefined"&&!NObject.IsInheritedRex($1$$_,"useImageMapFilter",false))NObject.AddDebugWarningRex("NAjaxToolConfig","useImageMapFilter",false);$h$$_.useImageMapFilter=false;if($9$_.b($))$h$$_.useImageMapFilter=$;};$1$$_.DeriveFrom(NObject);$2$$_=NAjaxTool;$2$$_.__0n$m="$2$$_";function NAjaxTool($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$2$$_","$2$$_",$,"$P$_","$");if((typeof $8$_)!="undefined")$8$_.$("$2$$_","$2$$_",a,"$r$_","a");$h$$_.InitializeRuntimeTypeInfo($2$$_.prototype);$h$$_.$s$_(a);$h$$_.callbackService=$;if($9$_.b(a.configurationObject))$h$$_.config=a.configurationObject;else $h$$_.config=new $1$$_();};$2$$_.DeriveFrom($s$_);$2$$_.prototype.CanProcessKeyboard=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$2$$_","$A",$h$$_,"$2$$_","$h$$_");return false;};$3$$_=NMouseClickCallbackTool;$3$$_.__0n$m="$3$$_";function NMouseClickCallbackTool($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$3$$_","$3$$_",$,"$P$_","$");if((typeof $8$_)!="undefined")$8$_.$("$3$$_","$3$$_",a,"$r$_","a");$h$$_.InitializeRuntimeTypeInfo($3$$_.prototype);$h$$_.$2$$_($,a);};$3$$_.DeriveFrom($2$$_);$3$$_.prototype.RequiresMouseClickEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$3$$_","$J",$h$$_,"$3$$_","$h$$_");return true;};$3$$_.prototype.ProcessMouseClick=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$3$$_","$x",$h$$_,"$3$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$3$$_","$x",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$3$$_","$x",a,"$n$_","a");if($h$$_.config.useImageMapFilter&&a.imageMap!=null){var b=a.imageMap;var c=b.$60(a.eventTarget.id,a.localOffset);if(c==null)return;}$.$g(new $R$_($h$$_.callbackService,$h$$_,$,a));};$4$$_=NMouseDoubleClickCallbackTool;$4$$_.__0n$m="$4$$_";function NMouseDoubleClickCallbackTool($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$4$$_","$4$$_",$,"$P$_","$");if((typeof $8$_)!="undefined")$8$_.$("$4$$_","$4$$_",a,"$r$_","a");$h$$_.InitializeRuntimeTypeInfo($4$$_.prototype);$h$$_.$2$$_($,a);};$4$$_.DeriveFrom($2$$_);$4$$_.prototype.RequiresMouseDoubleClickEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$4$$_","$L",$h$$_,"$4$$_","$h$$_");return true;};$4$$_.prototype.ProcessMouseDoubleClick=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$4$$_","$z",$h$$_,"$4$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$4$$_","$z",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$4$$_","$z",a,"$n$_","a");if($h$$_.config.useImageMapFilter&&a.imageMap!=null){var b=a.imageMap;var c=b.$60(a.eventTarget.id,a.localOffset);if(c==null)return;}$.$g(new $S$_($h$$_.callbackService,$h$$_,$,a));};$5$$_=NMouseDownCallbackTool;$5$$_.__0n$m="$5$$_";function NMouseDownCallbackTool($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$5$$_","$5$$_",$,"$P$_","$");if((typeof $8$_)!="undefined")$8$_.$("$5$$_","$5$$_",a,"$r$_","a");$h$$_.InitializeRuntimeTypeInfo($5$$_.prototype);$h$$_.$2$$_($,a);};$5$$_.DeriveFrom($2$$_);$5$$_.prototype.RequiresMouseDownEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$5$$_","$G",$h$$_,"$5$$_","$h$$_");return true;};$5$$_.prototype.ProcessMouseDown=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$5$$_","$u",$h$$_,"$5$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$5$$_","$u",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$5$$_","$u",a,"$n$_","a");if($h$$_.config.useImageMapFilter&&a.imageMap!=null){var b=a.imageMap;var c=b.$60(a.eventTarget.id,a.localOffset);if(c==null)return;}$.$g(new $T$_($h$$_.callbackService,$h$$_,$,a));};$6$$_=NMouseMoveCallbackTool;$6$$_.__0n$m="$6$$_";function NMouseMoveCallbackTool($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$6$$_","$6$$_",$,"$P$_","$");if((typeof $8$_)!="undefined")$8$_.$("$6$$_","$6$$_",a,"$r$_","a");$h$$_.InitializeRuntimeTypeInfo($6$$_.prototype);$h$$_.$2$$_($,a);};$6$$_.DeriveFrom($2$$_);$6$$_.prototype.RequiresMouseMoveEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$6$$_","$F",$h$$_,"$6$$_","$h$$_");return true;};$6$$_.prototype.ProcessMouseMove=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$6$$_","$t",$h$$_,"$6$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$6$$_","$t",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$6$$_","$t",a,"$n$_","a");if($h$$_.config.useImageMapFilter&&a.imageMap!=null){var b=a.imageMap;var c=b.$60(a.eventTarget.id,a.localOffset);if(c==null)return;}$.$g(new $U$_($h$$_.callbackService,$h$$_,$,a));};$7$$_=NMouseUpCallbackTool;$7$$_.__0n$m="$7$$_";function NMouseUpCallbackTool($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$7$$_","$7$$_",$,"$P$_","$");if((typeof $8$_)!="undefined")$8$_.$("$7$$_","$7$$_",a,"$r$_","a");$h$$_.InitializeRuntimeTypeInfo($7$$_.prototype);$h$$_.$2$$_($,a);};$7$$_.DeriveFrom($2$$_);$7$$_.prototype.RequiresMouseUpEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$7$$_","$H",$h$$_,"$7$$_","$h$$_");return true;};$7$$_.prototype.ProcessMouseUp=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$7$$_","$v",$h$$_,"$7$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$7$$_","$v",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$7$$_","$v",a,"$n$_","a");if($h$$_.config.useImageMapFilter&&a.imageMap!=null){var b=a.imageMap;var c=b.$60(a.eventTarget.id,a.localOffset);if(c==null)return;}$.$g(new $X$_($h$$_.callbackService,$h$$_,$,a));};$8$$_=NMouseOutCallbackTool;$8$$_.__0n$m="$8$$_";function NMouseOutCallbackTool($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$8$$_","$8$$_",$,"$P$_","$");if((typeof $8$_)!="undefined")$8$_.$("$8$$_","$8$$_",a,"$r$_","a");$h$$_.InitializeRuntimeTypeInfo($8$$_.prototype);$h$$_.$2$$_($,a);};$8$$_.DeriveFrom($2$$_);$8$$_.prototype.RequiresMouseLeaveEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$8$$_","$I",$h$$_,"$8$$_","$h$$_");return true;};$8$$_.prototype.ProcessMouseLeave=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$8$$_","$w",$h$$_,"$8$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$8$$_","$w",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$8$$_","$w",a,"$n$_","a");var b=null;if($9$_.b(a.imageMapObjectItem)){var c=a.imageMapObjectItem;b=c.itemId;}$.$g(new $V$_($h$$_.callbackService,$h$$_,$,a,b));};$9$$_=NMouseOverCallbackTool;$9$$_.__0n$m="$9$$_";function NMouseOverCallbackTool($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$9$$_","$9$$_",$,"$P$_","$");if((typeof $8$_)!="undefined")$8$_.$("$9$$_","$9$$_",a,"$r$_","a");$h$$_.InitializeRuntimeTypeInfo($9$$_.prototype);$h$$_.$2$$_($,a);};$9$$_.DeriveFrom($2$$_);$9$$_.prototype.RequiresMouseEnterEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$9$$_","$E",$h$$_,"$9$$_","$h$$_");return true;};$9$$_.prototype.ProcessMouseEnter=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$9$$_","$s",$h$$_,"$9$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$9$$_","$s",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$9$$_","$s",a,"$n$_","a");var b=null;if($9$_.b(a.imageMapObjectItem)){var c=a.imageMapObjectItem;b=c.itemId;}$.$g(new $W$_($h$$_.callbackService,$h$$_,$,a,b));};$a$$_=NRedirectTool;$a$$_.__0n$m="$a$$_";function NRedirectTool($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$a$$_","$a$$_",$,"$r$_","$");$h$$_.InitializeRuntimeTypeInfo($a$$_.prototype);$h$$_.$s$_($);};$a$$_.DeriveFrom($s$_);$a$$_.prototype.RequiresMouseClickEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$a$$_","$J",$h$$_,"$a$$_","$h$$_");return true;};$a$$_.prototype.ProcessMouseClick=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$a$$_","$x",$h$$_,"$a$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$a$$_","$x",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$a$$_","$x",a,"$n$_","a");if(!$9$_.b(a.imageMap))return;var b=a.imageMap;var c=b.$60(a.eventTarget.id,a.localOffset);if(c==null)return;if(c.url==null||c.url=="")return;$.$g(new $Z$_($h$$_,$,a,c.url));a.$d(true);};$b$$_=NDynamicCursorTool;$b$$_.__0n$m="$b$$_";function NDynamicCursorTool($){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$b$$_","$b$$_",$,"$r$_","$");$h$$_.InitializeRuntimeTypeInfo($b$$_.prototype);$h$$_.$s$_($);if(typeof($h$$_.$c3)!="undefined"&&!NObject.IsInheritedRex($b$$_,"$c3",false))NObject.AddDebugWarningRex("$b$$_","$c3",false);$h$$_.$c3=null;};$b$$_.DeriveFrom($s$_);$b$$_.prototype.RequiresMouseEnterEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$b$$_","$E",$h$$_,"$b$$_","$h$$_");return true;};$b$$_.prototype.RequiresMouseLeaveEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$b$$_","$I",$h$$_,"$b$$_","$h$$_");return true;};$b$$_.prototype.ProcessMouseEnter=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$b$$_","$s",$h$$_,"$b$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$b$$_","$s",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$b$$_","$s",a,"$n$_","a");if(!$9$_.b(a.imageMapObjectItem))return;var b=a.imageMapObjectItem;if(b.cursorType==null||b.cursorType=="")return;if($h$$_.$c3==null)$h$$_.$c3=a.eventTarget.style.cursor;$.$g(new $_$$_($h$$_,$,a,b.cursorType));};$b$$_.prototype.ProcessMouseLeave=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$b$$_","$w",$h$$_,"$b$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$b$$_","$w",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$b$$_","$w",a,"$n$_","a");if(!$9$_.b(a.imageMapObjectItem))return;$.$g(new $_$$_($h$$_,$,a,$h$$_.$c3));};$c$$_=NTooltipToolConfig;$c$$_.__0n$m="$c$$_";function NTooltipToolConfig($,a,b){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$c$$_","$c$$_",$,"string","$");if((typeof $8$_)!="undefined")$8$_.$("$c$$_","$c$$_",a,"number","a");if((typeof $8$_)!="undefined")$8$_.$("$c$$_","$c$$_",b,"number","b");$h$$_.InitializeRuntimeTypeInfo($c$$_.prototype);$h$$_.$1$$_(false);if(typeof($h$$_.className)!="undefined"&&!NObject.IsInheritedRex($c$$_,"className",false))NObject.AddDebugWarningRex("NTooltipToolConfig","className",false);$h$$_.className=null;if(typeof($h$$_.labelDistance)!="undefined"&&!NObject.IsInheritedRex($c$$_,"labelDistance",false))NObject.AddDebugWarningRex("NTooltipToolConfig","labelDistance",false);$h$$_.labelDistance=new $Y$_();if($9$_.b($))$h$$_.className=$;if($9$_.b(a))$h$$_.labelDistance.offsetLeft=a;else $h$$_.labelDistance.offsetLeft=1;if($9$_.b(b))$h$$_.labelDistance.offsetBottom=b;else $h$$_.labelDistance.offsetBottom=3;};$c$$_.DeriveFrom($1$$_);$d$$_=NTooltipTool;$d$$_.__0n$m="$d$$_";function NTooltipTool($,a){var $h$$_=this;if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$d$$_",$,"$P$_","$");if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$d$$_",a,"$r$_","a");$h$$_.InitializeRuntimeTypeInfo($d$$_.prototype);$h$$_.$2$$_($,a);if(typeof($h$$_.$d3)!="undefined"&&!NObject.IsInheritedRex($d$$_,"$d3",false))NObject.AddDebugWarningRex("$d$$_","$d3",false);$h$$_.$d3=false;if(typeof($h$$_.tooltipDiv)!="undefined"&&!NObject.IsInheritedRex($d$$_,"tooltipDiv",false))NObject.AddDebugWarningRex("NTooltipTool","tooltipDiv",false);$h$$_.tooltipDiv=null;if(typeof($h$$_.$e3)!="undefined"&&!NObject.IsInheritedRex($d$$_,"$e3",false))NObject.AddDebugWarningRex("$d$$_","$e3",false);$h$$_.$e3=null;if($9$_.b(a.configurationObject))$h$$_.config=a.configurationObject;else $h$$_.config=new $c$$_();};$d$$_.DeriveFrom($2$$_);$d$$_.prototype.RequiresMouseEnterEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$E",$h$$_,"$d$$_","$h$$_");return true;};$d$$_.prototype.RequiresMouseLeaveEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$I",$h$$_,"$d$$_","$h$$_");return true;};$d$$_.prototype.RequiresMouseMoveEvent=function($h$$_){if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$F",$h$$_,"$d$$_","$h$$_");return true;};$d$$_.prototype.ProcessMouseEnter=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$s",$h$$_,"$d$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$s",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$s",a,"$n$_","a");if(!$9$_.b(a.imageMapObjectItem))return;var b=a.imageMapObjectItem;if(b.toolTip==null)return;if($h$$_.$d3)return;$h$$_.$d3=true;$h$$_.$e3=$h$$_.callbackService.currentOverElement;var c=$h$$_.config;$.$g(new $$$$_($h$$_.callbackService,$h$$_,$,a,b.toolTip,c.labelDistance,c.className));};$d$$_.prototype.ProcessMouseMove=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$t",$h$$_,"$d$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$t",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$t",a,"$n$_","a");if(!$h$$_.$d3)return;var b=a.imageMapObjectItem;if(b==null)return;var c=$h$$_.config;$.$g(new $$$$_($h$$_.callbackService,$h$$_,$,a,b.toolTip,c.labelDistance,c.className));};$d$$_.prototype.ProcessMouseLeave=function($h$$_,$,a){if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$w",$h$$_,"$d$$_","$h$$_");if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$w",$,"$q$_","$");if((typeof $8$_)!="undefined")$8$_.$("$d$$_","$w",a,"$n$_","a");if(!$h$$_.$d3)return;$h$$_.$d3=false;$h$$_.$e3=null;$.$g(new $0$$_($h$$_,$,a));};$e$$_=NToolFactory;$e$$_.__0n$m="$e$$_";function NToolFactory(){var $h$$_=this;$h$$_.InitializeRuntimeTypeInfo($e$$_.prototype);$h$$_.NObject();if(typeof($h$$_.configurationItems)!="undefined"&&!NObject.IsInheritedRex($e$$_,"configurationItems",false))NObject.AddDebugWarningRex("NToolFactory","configurationItems",false);$h$$_.configurationItems=new $b$_();for(var $=0;$