// 2.0 | roland | 2008-04-25 | jagdhof.com
function email_output(user, domain, tld, type, text, get, tag) {
	email = user+'@'+domain+'.'+tld;
	if(!text) text = email;
	if(tag) tag = ' '+tag;
	email = '<a href="mailto:'+email+get+'"'+tag+'>';
	if(type == 'all') email = email+text+'</a>';
	document.write(email);
}

function window_open(url, name, features) {
	window.open(url, name, features);
}

function element_showhide(id) {
	el = document.getElementById(id);
	el.style.display = (el.style.display != 'inline') ? 'inline' : 'none';
}

// Optional

// Custom