var bc = border_color || this.bordercolor || "#777";
this.cfc = click_font_color || this.cfc || "#CC3300";
this.cbg = click_bg_color || this.cbg || "#FF9966";
this.cbr = click_border_color || this.cbr || "#CC3300";
this.sc = (show_click == undefined) ? ((this.sc == undefined) ? false : this.sc) : show_click;
this.fontname = ff, this.fontsize = fs, this.fontcolor = fc;
this.bgcolor = bg, this.keycolor = kc, this.bordercolor = bc;
if(!exists)
{
this.Cntr = ct, this.LastKey = null;
VATMpad.prototype.kbArray[container_id] = this;
}
var kb = exists ? ct.childNodes[0] : document.createElement("DIV");
if(!exists)
{
ct.appendChild(kb);
ct.style.display = "block";
ct.style.zIndex = 999;
if(do_embed)
ct.style.position = "relative";
else
{
ct.style.position = "absolute";
// Many thanks to Peter-Paul Koch (www.quirksmode.org) for the find-pos-X/find-pos-Y code.
var initX = 0, ct_ = ct;
if(ct_.offsetParent)
{
while(ct_.offsetParent)
{
initX += ct_.offsetLeft;
ct_ = ct_.offsetParent;
}
}
else if(ct_.x)
initX += ct_.x;










