$(function() {
	
	$.items = {
		maxHeight: -1
	}

	$("#blok1, #blok2, #blok3").each(function() {
		if ($(this).height() > $.items.maxHeight) {
			$.items.maxHeight = $(this).height();
		}
	}).height($.items.maxHeight + 30).each(function() {
		$div = $(this);
		$(this).find(".linkmodel14").prependTo($div).css({"position": "absolute", "bottom": "10px", "right": "0"});
	});

	$("#blok2 .box table").each(function() {
		$table = $(this);
		$table.css({"cursor": "pointer"}).click(function() {
			document.location = $(this).find("a").attr("href");
		});
	});

});
