// Copyright 2001-2002 Modern Mind(r) Software(tm), Inc.. All rights reserved.
function _Text(t,v,c,ah,av)
{
this.length=22
this.color=c
this.html=null
this.visible=(v==1)
this.SetColor=_SC
this.SetHTML=_SH
this.SetVisible=_SV
this.ah=ah
this.av=av
this.substitute=false
this.OC=null
this.fI=new Array(_nR)
this.fR=null
this.tag=t
this.type="txt"
this.GH=_TGH
this.GR=_TGR
this.GS=null
this.RZ=null
this.RS=null
this.Save=null
this.SR=_TSR
this.Substitute=_TB
this.Validate=null
}
function _TGH(f,c,o)
{
var s,t
s=new String
t=_RU(_GT(this.tag,this.fI[f]))
if(o==false){
s+=_cS(t)+_cP(c.x,c.y,c.w,c.h,false)+_cZ(c.z)+_cB(this.color)+_cA(this.ah)+_cV(this.visible)+_cES()
}
if(_cNT(this.ah,this.av)){
s+=_TO(0,0,0)+'ALIGN="'+_HA(this.ah)+'"><TR><TD HEIGHT='+c.h+' ALIGN="'+_HA(this.ah)+'" VALIGN="'+_VA(this.av)+'">'
}
if(this.OC&&(this.OC!=null)){
s+='<A STYLE="text-decoration:none;" HREF="javascript:null" onClick="parent._Clicked(parent.'+this.tag+'); return false">'
}
s+='<FONT '+_BA(true)+'>'+this.html+'</FONT>';
if(this.OC&&(this.OC!=null)){
s+='</A>'
}
if(_cNT(this.ah,this.av)){
s+='</TD></TR></TABLE>';
}
if(o==false){
s+=_cE()
}
return s
}
function _TB()
{
var h
if(this.substitute&&this.html){
h=_SubS(this.html)
if(h!=this.html){
this.html=h
this.fR=true
}
}
}
function _TGR()
{
return this.html
}
function _TSR(t)
{
this.html=t
}
function _Box(t,v,c)
{
this.length=17
this.color=c
this.visible=(v==1)
this.SetColor=_SC
this.SetVisible=_SV
this.fI=new Array(_nR)
this.fR=null
this.tag=t
this.type="bo"
this.GH=_BoGH
this.GR=null
this.GS=null
this.RZ=null
this.RS=null
this.Save=null
this.SR=null
this.Substitute=null
this.Validate=null
}
function _BoGH(f,c,o)
{
var s,t
s=new String
t=_RU(_GT(this.tag,this.fI[f]))
if(o==false){
s+=_cS(t)+_cP(c.x,c.y,c.w,c.h,false)+_cZ(c.z)+_cB(this.color)+_cA(this.ah)+_cV(this.visible)+_cES()
}
if(_cNT(this.ah,this.av)){
s+=_TO(0,0,0)+'ALIGN="'+_HA(this.ah)+'"><TR><TD HEIGHT='+c.h+' VALIGN="'+_VA(this.av)+'">'
}
s+='<IMG SRC="../lib2w/X.gif" WIDTH=1 HEIGHT=1>';
if(_cNT(this.ah,this.av)){
s+='</TD></TR></TABLE>';
}
if(o==false){
s+=_cE()
}
return s
}
