	function equalHeight(group) {
		var tallest = 0;
		group.each(function() {
			var thisHeight = $(this).height();
			if(thisHeight > tallest) {
				tallest = thisHeight;
			}
		});
		
		tallest -= 20;

		group.height(tallest);
	}
		
	$(document).ready(function()
	{
		$("a[rel^='lightbox']").lightBox();
		
			});

	function galeriaPopup(id)
	{
		window.open('http://quick-irodabutor.com/galeria_popup/' + id, '', 'width=550, height=615');
	}

	function onTermekTulajdonsagElemValasztas(item, cDiv)
	{
		$.ajax({
			url: "http://quick-irodabutor.com/ajaxGetKonfigElemKep.php?id=" + $("#" + item).val() + "&meret=100",
			cache: false,
			beforeSend: function()
			{
				$("#" + cDiv).html("<img src='http://quick-irodabutor.com/img/ajaxloading01.gif' style='border: 0px;' />");
			},
			success: function(output)
			{
				$("#" + cDiv).html(output);
			}
		});
	}
	