function AGEBox(color, code, textColorCode, width, height) {
	this.tl="images/boxes/"+color+"/tl.png"
	this.t="images/boxes/"+color+"/t.png"
	this.tr="images/boxes/"+color+"/tr.png"
	this.r="images/boxes/"+color+"/r.png"
	this.br="images/boxes/"+color+"/br.png"
	this.b="images/boxes/"+color+"/b.png"
	this.bl="images/boxes/"+color+"/bl.png"
	this.l="images/boxes/"+color+"/l.png"
	this.borderX=10
	this.borderY=10
	this.code=code
	this.textColorCode=textColorCode
	if (height) {
		this.height=height
	} else {
		this.height="*"
	}
	if (width) {
		this.width=width
	} else {
		this.width="*"
	}


	this.topWrapper="<table height="+this.height+" width="+this.width+" cellpadding=0 cellspacing=0><tr height="+this.borderX+">"
	this.topWrapper+="<td width="+this.borderX+"><img src='"+this.tl+"'></td>"
	this.topWrapper+="<td background="+this.t+"></td>"
	this.topWrapper+="<td width="+this.borderX+"><img src='"+this.tr+"'></td>"
	this.topWrapper+="</tr><tr>"
	this.topWrapper+="<td background='"+this.l+"'></td>"
	this.topWrapper+="<td bgcolor='"+this.code+"' style='color:"+this.textColorCode+"' valign=top>"


	this.bottomWrapper="</td>"
	this.bottomWrapper+="<td background='"+this.r+"'></td>"
	this.bottomWrapper+="</tr><tr height="+this.borderX+">"
	this.bottomWrapper+="<td width="+this.borderX+"><img src='"+this.bl+"'></td>"
	this.bottomWrapper+="<td background="+this.b+"></td>"
	this.bottomWrapper+="<td width="+this.borderX+"><img src='"+this.br+"'></td>"
	this.bottomWrapper+="</tr></table>"
}