var popUpWin;

/** Funktion um ein neues Fenster f�r weitere Bilder zu �ffnen. */
function popUpWindowMorePics(url) {
	if (popUpWin) {
		if (!popUpWin.closed) {
			popUpWin.close();
		}
	}
	var width = 530;
	var posX = (window.screen.width / 2) - (width / 2);
	var height = 620;
	var posY = (window.screen.height / 2) - (height / 2);
	var param = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes';
	param = param + ',resizable=yes,copyhistory=no,width=' + width + ',height=' + height;
	param = param + ',left=' + posX + ',top=' + posY + ',screenX=' + posX + ',screenY=' + posY;
	popUpWin = window.open(url, 'popUpWin', param);
}

/** Zeigt das DIV für die Videos an */
function showDetailVideo() {
	document.getElementById('videoDiv').style.display="block";
}

/** Zeigt das DIV für die Videos an */
function showCatText(index) {
	var teaser = 'catTextTeaser'+index;
	var full = 'catTextFull'+index;
	document.getElementById(full).style.display="block";
	document.getElementById(teaser).style.display="none";
}

/** Zeigt Verbandsdaten an */
function showVerband() {
	$('.verband').css('display','table-row');
	$('.verbandHTML').css('display','table-row');
	$('.verbandJS').css('display','none');
}
