if(!gBrowserDetector)
var gBrowserDetector=new RBrowserDetector();function Mixin_DomInsertable(type,name,id)
{this.DomNode=document.createElement(type);this.DomNode.name=name;this.DomNode.id=id;}
Mixin_DomInsertable.statics=new Object();Mixin_DomInsertable.statics.INSERTMETHOD_BEFOREASSIBLING=0;Mixin_DomInsertable.statics.INSERTMETHOD_APPENDASCHILD=1;Mixin_DomInsertable.statics.GetBrowserStyleName=function(style)
{switch(style)
{case"float":if(gBrowserDetector.gecko)
{return"cssFloat";}
return"styleFloat";default:return style;}}
Mixin_DomInsertable.prototype.PlaceInDom=function(node,insertMethod)
{switch(insertMethod)
{case Mixin_DomInsertable.statics.INSERTMETHOD_BEFOREASSIBLING:node.insertBefore(this.DomNode);break;case Mixin_DomInsertable.statics.INSERTMETHOD_APPENDASCHILD:node.appendChild(this.DomNode);break;}}
Mixin_DomInsertable.prototype.GetAttribute=function(attribute)
{return this.GetDomNode().getAttribute(attribute);}
Mixin_DomInsertable.prototype.SetAttribute=function(attribute,value)
{return this.GetDomNode().setAttribute(attribute,value);}
Mixin_DomInsertable.prototype.GetStyle=function(style)
{var trueStyleName=Mixin_DomInsertable.statics.GetBrowserStyleName(style);return this.GetDomNode().style[trueStyleName];}
Mixin_DomInsertable.prototype.SetStyle=function(style,value)
{var trueStyleName=Mixin_DomInsertable.statics.GetBrowserStyleName(style);return this.GetDomNode().style[trueStyleName]=value;}
Mixin_DomInsertable.prototype.GetDomNode=function()
{return this.DomNode;}
Mixin_DomInsertable.prototype.SetDomNode=function(node)
{this.DomNode=node;}
Mixin_DomInsertable.prototype.GetJSStringToGetNode=function()
{return"document.getElementById('"+this.GetDomNode().id+"')";}
Mixin_DomInsertable.prototype.Show=function()
{this.SetStyle("visibility","");if(this.GetStyle("display")=="none")
{this.SetStyle("display","block");}}
Mixin_DomInsertable.prototype.Hide=function(disappear)
{this.SetStyle("visibility","hidden");if(disappear)
{this.SetStyle("display","none");}}