function y(c) {
	var a = document.getElementById(c);
	if (a.style.visibility == 'hidden') {
		a.style.display = '';
		a.style.visibility = 'visible';
	} else {
		a.style.display = 'none';
		a.style.visibility = 'hidden';
	}
}

function z(x) {
	var c = document.getElementById(x + 'a');
	var e = document.getElementById(x + 'c');
	if (c.style.visibility == 'hidden') {
		c.style.display = '';
		c.style.visibility = 'visible';
		e.style.weight = 'bold';
		e.innerHTML = '&laquo; Rövidebben';
	} else {
		c.style.display = 'none';
		c.style.visibility = 'hidden';
		e.innerHTML = 'Részletek &raquo;';
	}
}

function i(path, optWidth, optHeight) {
	var actualWidth = typeof optWidth != "undefined" ? optWidth : "600px";
	var actualHeight = typeof optHeight != "undefined" ? optHeight : "500px";
	var winattr = "width=" + actualWidth + ",height=" + actualHeight + ",resizable=no,scrollbars=yes";
	window.open(path, "", winattr);
}

function l(y, z) {
	var f = document.getElementById(y);
	if (f.value == '') {
		f.style.color = '#777777';
		f.value = z;
	}
}

function l_ol(x, y) {
	l(x, y);
	var q = document.getElementById(x);
	q.onfocus = function () {
		var r = document.getElementById(x);
		if (r.value == y) {
			r.value = '';
			r.style.color = '#000000';
		}
	};
	q.onblur = function () {
		var r = document.getElementById(x);
		if (r.value == '') {
			r.style.color = '#777777';
			r.value = y;
		}
	};
}
