jQuery.fn.maintainHeight = function()
{
	var maxHeight = 0;
	this.css('height', '');

	this.each(function()
	{
		if (this.offsetHeight > maxHeight) maxHeight = this.offsetHeight;
	});

	this.each(function()
	{
		var i = 0;
		$(this).height(maxHeight + "px");

		if (this.offsetHeight > maxHeight)
		{
			$(this).height((maxHeight - (this.offsetHeight - maxHeight)) + (i * 0.1) + "px");
			i++;
		}
	});
};

jQuery.fn.maintainWidth = function()
{
	if ($('#storeProducts').width() <= 538 ) $(this).width(46.5 + "%");
	else $(this).width(29.7374 + "%");
}