function email_decode(email, text) {
	var out = '';
	var href = true;
	if (email == '') {
		href = false;
		email = text;
	}
	email = email.replace(/ \((zavináč|at)\) /gi, '@');
	email = email.replace(/ \((tečka|dot)\) /gi, '.');
	if (text == '') {
		text = email;
	}
	if (href) {
		document.write ('<a href="mailto:'+email+'">'+text+'</a>');
	} else {
		document.write (email);
	}
}
