try
{
if(!f50482())
{
HTMLElement.prototype.swapNode=function(item2){
var v12375=this;
var v12438=v12375.parentNode;
var v12439=item2.parentNode;
var v12376=v12375.cloneNode(true);
var nextSibling=item2.nextSibling;
v12375=v12438.replaceChild(item2,v12375);
if(nextSibling==null)
v12439.appendChild(v12376);
else
v12439.insertBefore(v12376,nextSibling);
}
HTMLElement.prototype.__defineSetter__("innerText",function(v11220){
this.innerHTML=v11220.replace(/\&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");
});
HTMLElement.prototype.__defineGetter__("innerText",function(){
var r=this.ownerDocument.createRange();
r.selectNodeContents(this);
return r.toString();
});
var _emptyTags={
"IMG":true,
"BR":true,
"INPUT":true,
"META":true,
"LINK":true,
"PARAM":true,
"HR":true
};
HTMLElement.prototype.__defineGetter__("outerHTML",function(){
var v12277=this.attributes;
var v11225="<"+this.tagName;
for(var i=0;i<v12277.length;i++)
v11225+=" "+v12277[i].name+"=\""+v12277[i].value+"\"";
if(_emptyTags[this.tagName])
return v11225+">";
return v11225+">"+this.innerHTML+"</"+this.tagName+">";
});
HTMLElement.prototype.__defineSetter__("outerHTML",function(sHTML){
var r=this.ownerDocument.createRange();
r.setStartBefore(this);
var v10213=r.createContextualFragment(sHTML);
this.parentNode.replaceChild(v10213,this);
return this;
});
HTMLElement.prototype.__defineGetter__("outerText",function(){
var r=this.ownerDocument.createRange();
r.selectNodeContents(this);
return r.toString();
});
HTMLElement.prototype.__defineSetter__("outerText",function(v11220){
this.outerHTML=v11220.replace(/\&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");
});
HTMLElement.prototype.insertAdjacentHTML=function(sWhere,sHTML){
var v10213;
var r=this.ownerDocument.createRange();
switch(String(sWhere).toLowerCase()){
case"beforebegin":
r.setStartBefore(this);
v10213=r.createContextualFragment(sHTML);
this.parentNode.insertBefore(v10213,this);
break;
case"afterbegin":
r.selectNodeContents(this);
r.collapse(true);
v10213=r.createContextualFragment(sHTML);
this.insertBefore(v10213,this.firstChild);
break;
case"beforeend":
r.selectNodeContents(this);
r.collapse(false);
v10213=r.createContextualFragment(sHTML);
this.appendChild(v10213);
break;
case"afterend":
r.setStartAfter(this);
v10213=r.createContextualFragment(sHTML);
this.parentNode.insertBefore(v10213,this.nextSibling);
break;
}
};
HTMLElement.prototype.insertAdjacentText=function(sWhere,v11220){
v11220=v11220.replace(/\&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");
this.insertAdjacentHTML(sWhere,v11220);
};
HTMLElement.prototype.__defineGetter__("parentElement",function(){
if(this.parentNode==this.ownerDocument)return null;
return this.parentNode;
});
CSSStyleDeclaration.prototype.__defineSetter__("pixelWidth",function(v11393){
this.width=v11393;
});
CSSStyleDeclaration.prototype.__defineGetter__("pixelWidth",function(){
if((this.width)!=null&&(this.width)!=undefined&&(this.width)!='')
return parseInt(this.width);
else
return 0;
});
CSSStyleDeclaration.prototype.__defineSetter__("pixelHeight",function(v10391){
this.height=v10391;
});
CSSStyleDeclaration.prototype.__defineGetter__("pixelHeight",function(){
if((this.height)!=null&&(this.height)!=undefined&&(this.height)!='')
return parseInt(this.height);
else
return 0;
});
CSSStyleDeclaration.prototype.__defineSetter__("pixelTop",function(v11312){
this.top=v11312;
});
CSSStyleDeclaration.prototype.__defineGetter__("pixelTop",function(){
if((this.top)!=null&&(this.top)!=undefined&&(this.top)!='')
return parseInt(this.top);
else
return 0;
});
CSSStyleDeclaration.prototype.__defineSetter__("pixelLeft",function(v10500){
this.left=v10500;
});
CSSStyleDeclaration.prototype.__defineGetter__("pixelLeft",function(){
if((this.left)!=null&&(this.left)!=undefined&&(this.left)!='')
return parseInt(this.left);
else
return 0;
});
CSSStyleDeclaration.prototype.__defineSetter__("pixelRight",function(RightValue){
this.right=RightValue;
});
CSSStyleDeclaration.prototype.__defineGetter__("pixelRight",function(){
if((this.right)!=null&&(this.right)!=undefined&&(this.right)!='')
return parseInt(this.right);
else
return 0;
});
CSSStyleDeclaration.prototype.__defineSetter__("pixelBottom",function(BottomValue){
this.bottom=BottomValue;
});
CSSStyleDeclaration.prototype.__defineGetter__("pixelBottom",function(){
if(this.bottom!=null&&this.bottom!=undefined&&this.bottom!='')
return parseInt(this.bottom);
else
return 0;
});
HTMLElement.prototype.__defineGetter__("parentElement",function(){
return this.parentNode;
});
Event.prototype.__defineGetter__("srcElement",function(){
try
{
e=this;
var node=e.target;
while(node.nodeType!=node.ELEMENT_NODE)
{
node=node.parentNode;
}
return node;
}
catch(v12703)
{
return(null);
}
});
HTMLElement.prototype.__defineGetter__("children",function(){
return this.childNodes;
});
Event.prototype.__defineGetter__("offsetX",function(){
return this.layerX;
});
Event.prototype.__defineGetter__("offsetY",function(){
return this.layerY;
});
Event.prototype.__defineGetter__("clientX",function(){
return this.pageX;
});
Event.prototype.__defineGetter__("clientY",function(){
return this.pageY;
});
var v12410=false;
var v12474=document.getElementsByTagName("HTML")[0];
function f51549(v12339)
{
if(v12410)
{
v12339.preventDefault();
v12339.returnValue=false;
document.removeEventListener("mousemove",CaptureMouse,true);
v12339._FixOffset=f51629(v12339.srcElement);
if(v12339._FixOffset==v12474)
v12339._FixOffset=document.body;
v12410.dispatchEvent(v12339);
document.addEventListener("mousemove",CaptureMouse,true);
v12339.stopPropagation();
v12339._FixOffset=null;
}
}
function f51697(v12339)
{
if(v12410)
{
document.removeEventListener("mouseup",ReleaseMouse,true);
document.removeEventListener("mousemove",CaptureMouse,true);
v12339._FixOffset=f51629(v12339.srcElement);
if(v12339._FixOffset==v12474)
v12339._FixOffset=document.body;
v12410.dispatchEvent(v12339);
v12410=null;
v12339.stopPropagation();
v12339.preventDefault();
v12339._FixOffset=null;
}
}
function f51725(v12339)
{
v12339.stopPropagation();
v12339.preventDefault();
}
function f51629(n)
{
try
{
while(n&&n.nodeType!=1)n=n.parentNode;
}
catch(ex)
{
n=null;
}
return n;
}
HTMLElement.prototype.setCapture=function(v12339)
{
};
HTMLElement.prototype.releaseCapture=function()
{
};
}
}
catch(v12703)
{
}


