function FormDataMultiplier(element, warn) {
	if (!element) {
		this.fDiv           = oEditor.FCK.EditorDocument.createElement( 'DIV' ) ;
		this.fDiv           = oEditor.FCK.InsertElementAndGetIt( this.fDiv ) ;
        this.ToolTipIMG     = oEditor.FCK.EditorDocument.createElement( 'IMG' );

		this.fDivCl         = new ClassList("fdmultiplier");

        this.fDiv.appendChild(this.ToolTipIMG);
        SetAttribute(this.ToolTipIMG, "class", "tooltipimg");
        SetAttribute(this.ToolTipIMG, "src", "images/help.gif");
        SetAttribute(this.ToolTipIMG, "align", "top");


		this.divID = "";

        this.fDiv.innerHTML = '&nbsp;';
	} else {
		this.fDiv           = element;
        this.fDivCl     = new ClassList(DlgGetAttribute(this.fDiv, 'class'));
		this.divID = DlgGetAttribute(this.fDiv, 'ID');
	}
}

FormDataMultiplier.prototype.loadToDialog = function() {
    GetE('txtToolTip').value    = DlgGetAttribute(this.fDiv, 'title');
//	GetE('txtLabel').value      = this.fLabel.innerHTML;
   	GetE('txtName').value       = this.divID;
/*	if (this.fDivCl.hasLabel('mandatory')) {
		GetE('txtMandatory').checked = true;
	}*/
}

FormDataMultiplier.prototype.saveFromDialog = function() {
/*    SetAttribute( this.fDiv, 'title', GetE('txtToolTip').value) ;
    
      this.fLabel.innerHTML = GetE('txtLabel').value;
    
	if (GetE('txtMandatory').checked) {
		this.fDivCl.addLabel('mandatory');
	} else {
		this.fDivCl.removeLabel('mandatory');
	}*/

	this.fDiv.className = this.fDivCl.toString();
    SetAttribute( this.fDiv, 'ID', GetE('txtName').value) ;
	
	return true;
}

FormDataMultiplier.prototype.validate = function(){
	return true;
}

FormDataMultiplier.prototype.isEmpty = function() {
	var empty = true;
 	return empty;
}