function show_zusatzbild(src, titel, text, id){
 		document.getElementById("zusatz").innerHTML = "<div class=\"zusatz_box5\"><div class=\"zusatz_box\">&nbsp;</div><div class=\"zusatz_box3\">&nbsp;</div><div class=\"zusatz_box4\"><div class=\"zusatz_box2\" id=\"zusatz_box2\"><div style=\"text-align:right;\"><a onclick=\"close_zusatz();\">Close</a> <a onclick=\"close_zusatz();\"><img src=\"dateien/layout/close.gif\" alt=\"Close\" border=\"0\" /></a>&nbsp;&nbsp;</div><img src=\"" + src +"\" border=\"0\" alt=\"\" /><br /><br /><h1>" + titel + "</h1>" + text + "</div></div><div class=\"zusatz_box3\">&nbsp;</div><div class=\"zusatz_box\">&nbsp;</div></div>";
	pos_top = parseInt(document.getElementById("zusatz" + id).offsetTop);
	box_hoehe = 600; //Bild max. 500 + 60 Rahmen + 40 Text (Schaetzwert)
	doc_hoehe = parseInt(document.getElementById("footer").offsetHeight);
	diff_hoehe = doc_hoehe - (box_hoehe + pos_top - 239);//239 Hoehe Menu
	//if(diff_hoehe < 0){
	//	pos_top = pos_top - (diff_hoehe * -1) - 10 - 239; //10px zusaetzlicher Abstand + Menu
	//}else{
	//	if (diff_hoehe < 10){
	//		pos_top = pos_top - (10 - diff_hoehe); // damit immer 10px zusaetzlicher Abstand
	//	}
	//}
	document.getElementById("zusatz").style.top = pos_top + "px";
	document.getElementById("zusatz").style.height = getWindowHeight()  + "px";
	document.getElementById("zusatz").style.width = getWindowWidth() + "px";
	document.getElementById("zusatz").style.display = "block";
}

function show_zusatzflash(src, titel, text, breite, hoehe, id){
		url = "http://www.hofer.de/de/";
		inhalt = "<div class=\"zusatz_box5\"><div class=\"zusatz_box\">&nbsp;</div><div class=\"zusatz_box3\">&nbsp;</div><div class=\"zusatz_box4\"><div class=\"zusatz_box2\" id=\"zusatz_box2\"><div style=\"text-align:right;\"><a onclick=\"close_zusatz();\">Close</a> <a onclick=\"close_zusatz();\"><img src=\"dateien/layout/close.gif\" alt=\"Close\" border=\"0\" /></a>&nbsp;&nbsp;</div><object type=\"application/x-shockwave-flash\" data=\"flv-player/FlowPlayer.swf\" width=\"" + breite + "\" height=\"" + hoehe + "\" id=\"FlowPlayer\"><param name=\"allowScriptAccess\" value=\"always\" /><param name=\"movie\" value=\"flv-player/FlowPlayer.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"scaleMode\" value=\"showAll\" /><param name=\"allowfullscreen\" value=\"true\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"allowNetworking\" value=\"all\" /><param name=\"flashvars\" value=\"config={autoPlay: true, loop: false, 		initialScale: 'scale', showLoopButton: false, showPlayListButtons: false, videoFile: '" + url + src + "',}\" /></object><br /><br /><h1>" + titel + "</h1>" + text + "</div></div><div class=\"zusatz_box3\">&nbsp;</div><div class=\"zusatz_box\">&nbsp;</div></div>";
 		document.getElementById("zusatz").innerHTML = inhalt;
	pos_top = parseInt(document.getElementById("zusatz" + id).offsetTop);
	box_hoehe = 600; //Bild max. 500 + 60 Rahmen + 40 Text (Schaetzwert)
	doc_hoehe = parseInt(document.getElementById("footer").offsetHeight);
	diff_hoehe = doc_hoehe - (box_hoehe + pos_top - 239);//239 Hoehe Menu
	//if(diff_hoehe < 0){
	//	pos_top = pos_top - (diff_hoehe * -1) - 10 - 239; //10px zusaetzlicher Abstand + Menu
	//}else{
	//	if (diff_hoehe < 10){
	//		pos_top = pos_top - (10 - diff_hoehe); // damit immer 10px zusaetzlicher Abstand
	//	}
	//}
	document.getElementById("zusatz").style.top = pos_top + "px";
	document.getElementById("zusatz").style.height = getWindowHeight()  + "px";
	document.getElementById("zusatz").style.width = getWindowWidth() + "px";
	document.getElementById("zusatz").style.display = "block";
}

function close_zusatz(){
document.getElementById("zusatz").style.display = "none";
}

function getWindowHeight() {
	if (self.innerHeight) // all except Explorer
	{
		return self.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
		// Explorer 6 Strict Mode
	{
		return document.documentElement.clientHeight;
	}
	else if (document.body) // other Explorers
	{
		return document.body.clientHeight;
	}
}

function getWindowWidth() {
	if (self.innerWidth) // all except Explorer
	{
		return self.innerWidth * 0.98;
	}
	else if (document.documentElement && document.documentElement.clientWidth)
		// Explorer 6 Strict Mode
	{
		return document.documentElement.clientWidth * 0.98;
	}
	else if (document.body) // other Explorers
	{
		return document.body.clientWidth * 0.98;
	}else{
		return 0;
	}
}