	function ectCombo(Container){
		this.height = 17;	
		this.width = 118;
		this.mode = 1;
		this.strHTML = '';	
		this.items =  new Array();
		this.AddItem = AddItem;	
		this.container = Container;
		this.Selected = '';
	}
	
	function AddItem(Value,Text){
		var insertHTML = '';
		
		if(this.Selected==''){
			this.Selected = Text;
		}
		
		switch(this.mode){
			case 1:
				this.strHTML += '<tr><td class="cboBottom" onmouseover="javascript: this.className=\'cboOnOver\';" onmouseout="javascript: this.className=\'cboBottom\';" onclick="javascript: hide_cbo();onDropCbo(1,\''+Text+'\',\''+Value+'\');" style="cursor:hand">'+Text+'</td></tr>';
				break;
			case 2:
				this.strHTML += '<tr><td class="cboBottom" onmouseover="javascript: this.className=\'cboOnOver\';" onmouseout="javascript: this.className=\'cboBottom\';" onclick="javascript: hide_cbo();onDropCbo2(1,\''+Text+'\',\''+Value+'\');" style="cursor:hand">'+Text+'</td></tr>';
				break;				
		}
		
		
		insertHTML = '<table border="0" cellspacing="0" cellpadding="0" width='+this.width+' height="'+this.height+'">';
		switch(this.mode){
			case 1:		
				insertHTML +='<tr><td class="cboFrame" align="left"><table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%"><tr><td class="cboLeftTop" align="left" width="98%" height="15px" valign="top"><div name="divCboInterface" id="divCboInterface">'+this.Selected+'</div></td><td width="15px"><a href="javascript: onDropCbo(-1);"><img src="/web/images/cboArrow.jpg" width="15px" height="15px" border="0"></a></td></tr></table></td></tr>';			
				insertHTML +='<tr><td valign="top" align="left"><div name="divCboContainer" id="divCboContainer" style="position:absolute;width:'+(this.width)+';visibility: hidden;">';
				break;
			case 2:
				insertHTML +='<tr><td class="cboFrame" align="left"><table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%"><tr><td class="cboLeftTop" align="left" width="98%" height="15px" valign="top"><div name="divCboInterface1" id="divCboInterface1">'+this.Selected+'</div></td><td width="15px"><a href="javascript: onDropCbo2(-1);"><img src="/web/images/cboArrow.jpg" width="15px" height="15px" border="0"></a></td></tr></table></td></tr>';			
				insertHTML +='<tr><td valign="top" align="left"><div name="divCboContainer1" id="divCboContainer1" style="position:absolute;width:'+(this.width)+';visibility: hidden;">';			
				break;
		}
		insertHTML +='<table border="0" cellspacing="0" cellpadding="4" class="cboLeftTopBottom" width="100%">' + this.strHTML + '</table>';
		insertHTML +='</div>'
		insertHTML +='</td></tr></table>';
		
		if(this.container!=null){
			this.container.innerHTML = '';
			this.container.innerHTML = insertHTML;
		}
	}	
	/////////////////////////////////////////////////////////////////////////////////