// Copyright 2001-2002 Modern Mind(r) Software(tm), Inc.. All rights reserved.
var _imgPrefix="Img"
function _Image(t,v,c,ah,av)
{
this.length=31
this.color=c
this.text=null
this.url=null
this.visible=(v==1)
this.SetColor=_SC
this.SetText=_IT
this.SetURL=_IU
this.SetVisible=_SV
this.ah=ah
this.av=av
this.h=null
this.w=null
this.OC=null
this.OMOv=null
this.OMOu=null
this.OTO=null
this.fI=new Array(_nR)
this.fR=null
this.tag=t
this.type="im"
this.GH=_ImGH
this.GR=_ImGR
this.GS=null
this.RZ=null
this.RS=null
this.Save=null
this.SR=_ImSR
this.Substitute=null
this.Validate=null
}
function _ImGH(f,c,o)
{
var s,tg
s=new String()
tg=_RU(_GT(this.tag,this.fI[f]))
if(o==false){
s+=_cS(tg)+_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)+'">'
}
if(this.OC||this.OMOv||this.OMOu){
s+='<A HREF="javascript:null" '
if(this.OC)s+=' onClick="parent._Clicked(parent.'+this.tag+'); return false"'
else s+=' onClick="return false;"'
if(this.OMOv)s+=' onMouseOver="parent._MousedOver(parent.'+this.tag+'); return true;"'
if(this.OMOu)s+=' onMouseOut="parent._MousedOut(parent.'+this.tag+'); return true;"'
s+='>'
}
s+='<IMG ID="'+_imgPrefix+tg+'" NAME="'+_imgPrefix+tg+'" SRC="'+this.url+'" BORDER=0'
if(this.h&&this.w)
s+=' HEIGHT="'+this.h+'" WIDTH="'+this.w+'"'
if(this.text)s+=' ALT="'+this.text+'" TITLE="'+this.text+'"'
s+='>'
if(this.OC||this.OMOv||this.OMOu)s+='</A>'
if(_cNT(this.ah,this.av)){
s+='</TD></TR></TABLE>';
}
if(o==false){
s+=_cE()
}
return s
}
function _IU(u)
{
this.url=u
if(_NS4){
this.fR=true
}
else {
_cUE(_cIU,this.tag,u,this.fI)
}
}
function _IT(t)
{
this.text=t
if(_NS4){
this.fR=true
}
else {
_cUE(_cIT,this.tag,t,this.fI)
}
}
function _ImGR()
{
return this.text
}
function _ImSR(t)
{
this.SetText(t)
}
function _cIU(fN,t,u,n)
{
var e,i
e=_cAT(fN,_imgPrefix+t,n)
if(e){
for(i=0;i<e.length;i++){
e[i].src=u
}
}
}
function _cIT(fN,t,a,n)
{
var e,i
e=_cAT(fN,_imgPrefix+t,n)
if(e&&(!_NS4)){
for(i=0;i<e.length;i++){
e[i].alt=a
if(e[i].title)e[i].title=a
}
}
}
