	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://combfix.net/galeria_popup/' + id, '', 'width=550, height=615');
	}
	
	function osszehasonlitasPopup()
	{
		window.open('http://combfix.net/osszehasonlitas.html', '', 'width=800, height=600, scrollbars=yes');
	}

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