﻿function CSHome(objectName, detailId)
{
	// Public: Properties
	this.ObjectName = objectName; 																																				// Name of Object Instance
	this.Series = new Object();
	
	this.Series.selEl = document.getElementById(detailId);
}
CSHome.prototype.getEvent = function(pValue)
{
	if (typeof (pValue) != 'undefined')
	{
		this.Series.selEl.style.backgroundImage = "url(" + pValue + ")";
	}
	else
	{
		this.Series.selEl.style.backgroundImage = "";
	}
};
CSHome.prototype.setEvent = function(href, target)
{
	if (target == "_self")
	{
		window.location = href;
	}
	else
	{
		window.open(href);
	}
};