/*-------------------
 Comment Section Class
--------------------*/

function Container() {
    this._container;
}

// objectContent is the content to insert into the floatingObject div
Container.prototype.setObjectContent = function(objectContent) {
 	this._objectContent = objectContent;
}

Container.prototype.getObjectContent = function() {
 	return this._objectContent;
}

// objectContent is the content to insert into the floatingLabel div
Container.prototype.setLabelContent = function(labelContent) {
 	this._labelContent = labelContent;
}

Container.prototype.getLabelContent = function() {
 	return this._labelContent;
}

Container.prototype.getElement = function() {
	var containerElement 			= $('floatingContainer');
	return containerElement;
}

Container.prototype.getFloatingObject = function() {
	var floatingObject 			= $('floatingObject');
	return floatingObject;
}

Container.prototype.getFloatingLabel = function() {
	var floatingLabel 			= $('floatingLabel');
	return floatingLabel;
}

Container.prototype.isContainerDisplayed = function() {
	var containerElement	= this.getElement();
	var displayStatus		= containerObj.getStyle('display');
	return displayStatus;
}

Container.prototype.displayContainer = function() {
	var containerElem			= this.getElement();
	var floatingObj				= this.getFloatingObject();
	var floatingLab				= this.getFloatingLabel();
	floatingObj.innerHTML	 	= this.getObjectContent();
	floatingLab.innerHTML	 	= this.getLabelContent();
	var	elemId					= containerElem.id;
	new Effect.Grow(elemId);
}

Container.prototype.hide = function() {
	var containerElem			= this.getElement();
	var	elemId					= containerElem.id;
	//containerElem.style.display = 'none';
	new Effect.Shrink(elemId);
}

