//This class handles datepicker components date "<div>" element,
//and sets the foreground color of the style for the component.
var DatePickerDiv = {};
DatePickerDiv.Div = Class.create();
DatePickerDiv.Div.prototype = {
	initialize:function(id, options) {
		this.divId = id;
		this.options = new $H(options);
		if(  this.options == null ) {
			this.options = new $H();
		}
		this.setInitialValues(options);
	},
	setInitialValues:function(options) {
		//$(this.divId).innerHTML=this.options['initialValue'];
		if($(this.divId) != null && $(this.divId).style != null) {
			this.originalFgColor = $(this.divId).style.color;
		}
	},
	setStyleColor:function(colorValue) {
		$(this.divId).style.color=colorValue;
	}
}
	