function $style(ElementId, CssProperty)
{
	function $(stringId)
	{
		return document.getElementById(stringId);
	}
	if($(ElementId).currentStyle)
	{
		var convertToCamelCase = CssProperty.replace(/\-(.)/g, function(m, l){return l.toUpperCase()});
		return $(ElementId).currentStyle[convertToCamelCase];
	}
	else if (window.getComputedStyle)
	{
		var elementStyle = window.getComputedStyle($(ElementId), "");
		return elementStyle.getPropertyValue(CssProperty);
	}
}