function controlDefaultValues(controlsToProcess, defValue)
{
    for (var index in controlsToProcess)
    {
        control = getElementsByRegExpId(controlsToProcess[index])[0];
        if (control && control.value == '')
        {
            control.value = defValue;
            controlValues(control);
        }
        else if (control && control.value != '')
        {
            control.eValue = defValue;
            controlValues(control);
        }
    }
}
function controlValues(control){
	if(control){
	if (control.eValue && control.eValue == '') control.eValue = control.value;
	control.onfocus = function(){
		if(this.value == this.eValue){
			this.value = '';
		}
	}
	
	control.onblur = function(){
		if(this.value == ''){
			this.value = this.eValue;
		}
	}
	}
	return false;
}
