function WebDiv(comp)
{
  this.comp=comp;
  this.setValue = WebDivSetValue;
  this.getValue = WebDivGetValue;
  this.value='';
}

function WebDivSetValue(value)
{
  this.value=value;
  if(value==null)
  	value='';
  var comp = window.document.getElementById(this.comp);
  if(!comp)
  	alert('WebDiv:'+this.comp);
  else
  	comp.innerHTML = value;
}

function WebDivGetValue()
{
	return this.value;
}


