
function hideConcert(id) {
	element = getElement(id);
	element.className = 'invisible livedetails';	
}
	

function encodeEmail(cod,key) {
	href = '';
	for (x=0; x<cod.length; x++) 
		if (key.indexOf(cod.charAt(x))<0) href += cod.charAt(x)
		else href += key.charAt((key.indexOf(cod.charAt(x))-cod.length+key.length)%key.length)
	window.location = 'mailto:'+href
}


function dotoggle(id) {
	element = getElement(id);
	if (element.className == 'livedetails')
		element.className = 'invisible livedetails';
	else element.className = 'livedetails';
}


function getElement(id) {
	id = 'concert'+id;
	return document.getElementById(id);
}


function openLyrics(file) {
	window.open(file,'lyrics','width=300,height=500,scrollbars,top=50');
	return false;
}


function addBorder(element) {
	element.className='gallery_hover';
}


function removeBorder(element) {
	element.className='gallery';
}


function closePopup() {
	self.close();
	return false;
}


function submit(form) {
	form.submit;
}


function openWindow(element) {
	window.open(element.href);
	return false;
}


function googleAnalytics() {
	_uacct = 'UA-2967227-1';
	urchinTracker();
}


<!-- (c)2007 www.in-exile.de -->