// JavaScript Document
function fPrintCont()
{
	var winW=425;
	
	if(document.getElementById("logo"))
	{
		logo = document.getElementById("logo").innerHTML;
	}
	
	if(document.getElementById("block_m2_1"))
	{
		var curImgDiv="<div id='block_m2_1'>" + document.getElementById("block_m2_1").innerHTML + "</div>";
	}
	else if(document.getElementById("block_m3_1"))
	{
		var curImgDiv="<div id='block_m3_1'>" + document.getElementById("block_m3_1").innerHTML + "</div>";
	}
	else if(document.getElementById("block_m4_1"))
	{
		var curImgDiv="<div id='block_m4_1'>" + document.getElementById("block_m4_1").innerHTML + "</div>";
	}
	else if(document.getElementById("block_m5_1"))
	{
		var curImgDiv="<div id='block_m5_1'>" + document.getElementById("block_m5_1").innerHTML + "</div>";
	}
	else if(document.getElementById("block_m7_1"))
	{
		var curImgDiv="<div id='block_m7_1'>" + document.getElementById("block_m7_1").innerHTML + "</div>";
	}
	else if(document.getElementById("theDivImg"))
	{
		var curImgDiv="<div id='theDivImg' class='imgContC'>" + document.getElementById("theDivImg").innerHTML + "</div>";
	}
	
	
	if(document.getElementById("block_m2_3"))
	{
		var curTxtDiv="<div id='block_m2_3'>" + document.getElementById("block_m2_3").innerHTML + "</div>";
	}
	else if(document.getElementById("block_m3_3"))
	{
		var curTxtDiv="<div id='block_m3_3'>" + document.getElementById("block_m3_3").innerHTML + "</div>";
		winW=582;
	}
	else if(document.getElementById("block_m4_3"))
	{
		var curTxtDiv="<div id='block_m4_3'>" + document.getElementById("block_m4_3").innerHTML + "</div>";
		winW=582;
	}
	else if(document.getElementById("block_m5_3"))
	{
		var curTxtDiv="<div id='block_m5_3'>" + document.getElementById("block_m5_3").innerHTML + "</div>";
		winW=425;
	}
	else if(document.getElementById("block_m7_3"))
	{
		var curTxtDiv="<div id='block_m7_3'>" + document.getElementById("block_m7_3").innerHTML + "</div>";
		winW=554;
	}
	else if(document.getElementById("theDiv"))
	{
		var curTxtDiv="<div id='theDiv' class='txtContC'>" + document.getElementById("theDiv").innerHTML + "</div>";
		winW=554;
	}
	else if(document.getElementById("theDiv1"))
	{
		var curTxtDiv="<div id='theDiv1'>" + document.getElementById("theDiv1").innerHTML + "</div>";
		winW=268;
	}	
	
	
	if(typeof(curImgDiv)=="undefined") curImgDiv="";
	
	contDiv="<div id='middle'>" + curImgDiv + curTxtDiv + "</div>";
		winFinal=winW+23;
		var a = window. open('', '', 'scrollbars=yes, width=' + winFinal + ', height=600');
		a.document.open("text/html");
		a.document.write("<html><head><script type='text/javascript'>function initAll(){ document.getElementById('finalDiv').style.display = 'block'; } window.onload=initAll;</script><link rel='stylesheet' href='fileadmin/template/main/css/style_print.css' media='all' /></head><body class='body2'><div id='finalDiv' style='display: none;'>" + contDiv + "</div></body></html>");
		a.document.close();
		//a.print();
	
}
