function init(width, label, labelw) {
	var div = document.createElement("div");
	this.fLabelElem = null;
	this.fLabelNode = null;
	if( label ) {
	    var ldiv = div;
	    ldiv = document.createElement("div")
	    if( labelw )
		ldiv.style.width = width;
	    ldiv.style.textAlign = "right";
	    ldiv.style.cssFloat = "left";
	    ldiv.style.paddingRight = "0.5em";
	    ldiv.style.fontWeight = "bold";
	    ldiv.style.display  = "inline";

	    this.fLabelElem = document.createTextNode(label);

	    ldiv.appendChild(this.fLabelElem);
	    this.fLabelNode = ldiv;

	    div.appendChild(ldiv);
	}
	var i = document.createElement("input");
	i.type = "text";
	i.style.fontSize = "100%";// so it scales with the browse text size (liquid design)
	if( width ) {
	    i.style.width = width;
	    if( label )
		i.style.textAlign = "left";
	}
	i.style.display  = "inline";
	i.style.cssFloat = "right";
	i.setAttribute("autocomplete","off");	// supposedly gets around mozilla bug about permission denied
						// when we set focus - found by browsing web
	div.appendChild(i);
	this.fOuter = div;
	this.fTextBox = i;
    }
/**
     * initialize the text box
     * @param {String} width	the width of the entire text box as specifiable
     *				in a css style
     * @param {label}  label	the label text
     * @param {String}  labelw	(optional) the width of the label as specifiable
     *				in a css style
     */
initialize the text box
@param {String} width    the width of the entire text box as specifiable
in a css style
@param {label}  label    the label text
@param {String}  labelw  (optional) the width of the label as specifiable
in a css style
initialize the text box @param { String } width the width of the entire text box as specifiable in a css style @param { label } label the label text @param { String } labelw ( optional ) the width of the label as specifiable in a css style
function init(width, label, labelw) {
	var div = document.createElement("div");
	this.fLabelElem = null;
	this.fLabelNode = null;
	if( label ) {
	    var ldiv = div;
	    ldiv = document.createElement("div")
	    if( labelw )
		ldiv.style.width = width;
	    ldiv.style.textAlign = "right";
	    ldiv.style.cssFloat = "left";
	    ldiv.style.paddingRight = "0.5em";
	    ldiv.style.fontWeight = "bold";
	    ldiv.style.display  = "inline";
	    this.fLabelElem = document.createTextNode(label);
	    ldiv.appendChild(this.fLabelElem);
	    this.fLabelNode = ldiv;
	    div.appendChild(ldiv);
	}
	var i = document.createElement("input");
	i.type = "text";
	i.style.fontSize = "100%";
	if( width ) {
	    i.style.width = width;
	    if( label )
		i.style.textAlign = "left";
	}
	i.style.display  = "inline";
	i.style.cssFloat = "right";
	i.setAttribute("autocomplete","off");	
	div.appendChild(i);
	this.fOuter = div;
	this.fTextBox = i;
    }
function init ( width , label , labelw ) { var div = document . createElement ( "div" ) ; this . fLabelElem = null ; this . fLabelNode = null ; if ( label ) { var ldiv = div ; ldiv = document . createElement ( "div" ) if ( labelw ) ldiv . style . width = width ; ldiv . style . textAlign = "right" ; ldiv . style . cssFloat = "left" ; ldiv . style . paddingRight = "0.5em" ; ldiv . style . fontWeight = "bold" ; ldiv . style . display = "inline" ; this . fLabelElem = document . createTextNode ( label ) ; ldiv . appendChild ( this . fLabelElem ) ; this . fLabelNode = ldiv ; div . appendChild ( ldiv ) ; } var i = document . createElement ( "input" ) ; i . type = "text" ; i . style . fontSize = "100%" ; if ( width ) { i . style . width = width ; if ( label ) i . style . textAlign = "left" ; } i . style . display = "inline" ; i . style . cssFloat = "right" ; i . setAttribute ( "autocomplete" , "off" ) ; div . appendChild ( i ) ; this . fOuter = div ; this . fTextBox = i ; }
initialize the text box
 @param {String} width    the width of the entire text box as specifiable
                          in a css style
 @param {label}  label    the label text
 @param {String}  labelw  (optional) the width of the label as specifiable
                          in a css style
initialize the text box @param { String } width the width of the entire text box as specifiable in a css style @param { label } label the label text @param { String } labelw ( optional ) the width of the label as specifiable in a css style
// so it scales with the browse text size (liquid design)
 // supposedly gets around mozilla bug about permission denied
 // when we set focus - found by browsing web
