/*->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->*/

(function($) {
	$.fn.get_dimension = function(outer) {
		c = {top:Number(0),left:Number(0),bottom:Number(0),right:Number(0),width:Number(0),height:Number(0)}
		o = $(this).offset()
		c.top = o.top
		c.left = o.left
		c.width = (outer != null) ? $(this).outerWidth(true) : $(this).width()
		c.height = (outer != null) ? $(this).outerHeight(true) : $(this).height()
		c.bottom = o.top + c.height
		c.right = o.left + c.width
		return c
		}
	}
)(jQuery);

/*->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->*/

(function($) {
	$.fn.show_properties = function(javascriptObj) {
		   var result = ""
		   for (var i in javascriptObj) {
			  result += "OBJECT." + i + " = " + javascriptObj[i] + "\n\n"
		   }
		return result
		}
	}
)(jQuery);


