function HideItem(itemID)
{
	document.all['open'+itemID].style.display = "none";
	document.all['close'+itemID].style.display = "inline";
}
function ShowItem(itemID)
{
	document.all['open'+itemID].style.display = "inline";
	document.all['close'+itemID].style.display = "none";
}

function loadParentURL(url) 
{
	self.opener.document.location.href = url
}

function windowZoom(theURL,winName,features) {
	window.open(theURL,winName,features)
	}

function immerVorne() {
	setTimeout("self.focus()",1000);
	}

function erneutLaden(zeit) {
	setTimeout("document.location.reload()",zeit);
	}

function windowResize(w,h) {
	resizeTo(w,h);
	}

function resetCounter() {
	setTimeout("parent.window.statusleiste.countDown()",1000);
	}

function resetOpenerCounter() {
	setTimeout("opener.parent.window.statusleiste.countDown()",1000);
	}

function resetParentCounter() {
	setTimeout("parent.parent.window.statusleiste.countDown()",1000);
	}

function resetParentParentCounter() {
	setTimeout("parent.parent.parent.window.statusleiste.countDown()",1000);
	}

function windowClose() {
	window.self.close();
}

function calcCharLeft(target,laenge) {
	var maxLength = laenge;
		if (target.value.length > maxLength) {
		target.value = target.value.substring(0,maxLength);
		charleft = 0;
		} else {
		charleft = maxLength - target.value.length;
		}
		document.globe.laenge.value = charleft;
	}

function click(){
	if(event.button == 2 || event.button == 3)
	alert("Der rechte Mausklick ist deaktiviert!")
}
// document.onmousedown=click


//  End -->
