
function popup(url,name,width,height,props){

	//if(isPopupAllowed()) {
	var props = props+',directories=no,status=no,menubar=no,copyhistory=yes,width='+width+',height='+height;
	var popup = window.open(url,name,props);
	if (popup) {
		popup.focus();
		return true;
	} else {
		alert('Bitte deaktivieren Sie Ihren Popup-Blocker für diese Seite.');
		return false;
	}
}

function showpic(rightdiv_img){
	var bildblock = document.getElementById('rightdiv');
	bildblock.innerHTML='<a href="javascript:hidepic();"><img src="images/content/'+rightdiv_img+'"></a>';
}


function shownav(rightdiv){
	var bildblock = document.getElementById('rightdiv');
	bildblock.innerHTML='<a href="javascript:hidepic();"><img src="images/content/'+rightdiv+'"></a>';
}


function hidepic(blocktodisplay){
	var bildblock = document.getElementById('rightdiv');
	bildblock.innerHTML='';
}

function Zufallszahl(Minimum, Maximum)
{
	return Math.floor(Minimum+(Maximum-Minimum+1)*(Math.random()));
}

function showplantext (an, aus){
	document.getElementById(an).style.display = 'block';
	document.getElementById(aus).style.display = 'none';
}