//<![CDATA[
var BlendCountIMG, BlendCountIMGHG;
function FullSize(Picture, PicHeight, PicWidth) {
	ScrollPosition();
	ScrnY();
	var PicHgW = PicWidth + 8;
	var PicHgH = PicHeight + 38;
	var ImgMarginX	= parseInt(-PicHgW / 2);
	var ImgMarginY	= parseInt(-PicHgH / 2);
	var ShMarginX		= parseInt(-PicHgW / 2 + 10);
	var ShMarginY		= parseInt(-PicHgH / 2 + 10);
	SetOpacity('SCRD', 0);
	SetOpacity('IMGhg', 0);
	SetOpacity('IMGShadow', 0);
	document.getElementById('SCR').style.top			=  ScrollPosY + 'px';
	document.getElementById('SCR').style.display	= 'block';
	document.getElementById('SCRD').style.top			=  ScrollPosY + 'px';
	document.getElementById('SCRD').style.height	=  ScrnHeight + 'px';
	document.getElementById('SCRD').style.display	= 'block';
	document.getElementById('IMGhg').style.display= 'block';
	document.getElementById('IMGhg').style.width	= PicHgW + 'px';
	document.getElementById('IMGhg').style.height	= PicHgH + 'px';
	document.getElementById('IMGhg').style.margin	= ImgMarginY + 'px 0 0 ' +  ImgMarginX + 'px';
	document.getElementById('IMGShadow').style.display= 'block';
	document.getElementById('IMGShadow').style.width	= PicHgW + 'px';
	document.getElementById('IMGShadow').style.height	= PicHgH + 'px';
	document.getElementById('IMGShadow').style.margin = ShMarginY + 'px 0 0 ' +  ShMarginX + 'px';
	document.getElementById('SCRIMG').src = Picture;
	BlendCountIMG	= 0;
	BlendCountIMGHG = 0;
	BlendAct = 1;
	StartOn();
}
function StartOn() {
	if(BlendAct == 1) {
		BlendCountIMG = BlendCountIMG + 10;
		BlendCountIMGHG = BlendCountIMGHG + 3;
		if(BlendCountIMG < 101) {
			SetOpacity('IMGhg', BlendCountIMG);
			SetOpacity('IMGShadow', BlendCountIMGHG);
			SetOpacity('SCRD', BlendCountIMGHG);
			window.setTimeout("StartOn()")
		}
	} else {
		StartOff();
	}
}
function PictureOff() {
	BlendAct = 2;
	StartOff();
}
function StartOff() {
	BlendCountIMG = BlendCountIMG - 10;
	BlendCountIMGHG = BlendCountIMGHG - 3;
	if(BlendCountIMG > 1) {
		SetOpacity('IMGhg', BlendCountIMG);
		SetOpacity('IMGShadow', BlendCountIMGHG);
		SetOpacity('SCRD', BlendCountIMGHG);
		window.setTimeout("StartOff()")
	} else {
		BlendAct = 0;
		document.getElementById("SCR").style.display = "none";
		document.getElementById("SCRD").style.display = "none";
		document.getElementById("IMGShadow").style.display = "none";
		document.getElementById("SCRIMG").src = "images/gla-blank.gif";
	}
}
// ===
function SetOpacity(objId, opacity) {
	opacity = (opacity == 100)?99.999:opacity;
	obj = document.getElementById(objId);
	obj.style.filter = 'alpha(opacity:' + opacity + ')';
	obj.style.KHTMLOpacity = opacity/100;
	obj.style.MozOpacity = opacity/100;
	obj.style.opacity = opacity/100;
}
// ===
var ScrnHeight;
function ScrnY() {
	if (self.innerHeight) {
		ScrnHeight = self.innerHeight;}
	else if (document.documentElement && document.documentElement.clientHeight) {
		ScrnHeight = document.documentElement.clientHeight;}
	else if (document.body) {
		ScrnHeight = document.body.clientHeight;}
}
// ===
var ScrollPosY;
function ScrollPosition() {
	if (typeof window.pageYOffset != 'undefined') {
		ScrollPosY = window.pageYOffset;
	}
	else if (typeof document.compatMode != 'undefined' &&
		document.compatMode != 'BackCompat') {
		ScrollPosY = document.documentElement.scrollTop;
	}
	else if (typeof document.body != 'undefined') {
		ScrollPosY = document.body.scrollTop;
	}
}

	var Frage;
	function OK(Frage) {
		var conf = window.confirm(Frage);
		if (!conf)
			{
			return false;
			}
	}

//]]>