if (top.frames.length > 0) top.location.href = self.location;

function copy() {
	alert('© by Janis Purucker');
}

function disableselect(e) {
	return false;
}

function reEnable() {
	return true;
}

function rechtsKlick(e) {
	if (navigator.appName.indexOf('Microsoft') >= 0) {
		if (event.button == 2 || event.button == 3)
		copy();
	}
	else {
		if (e.which == 2 || e.which == 3)
		setTimeout("copy()",200);
	}
}

for(i = 0; i < document.images.length; ++i) {
	if(document.images[i].name == 'bild1')
	document.images[i].onmousedown = rechtsKlick;
}

document.onselectstart = new Function ("return false")
if (window.sidebar) {
	document.onmousedown = disableselect;
	document.onclick = reEnable;
}

