function myFontSize(fontMod,setCookie) {
	newFontSize = parseInt(document.getElementById("my_body").style.fontSize);
	newFontSize = newFontSize+fontMod;
	if (newFontSize > 20) newFontSize = 20;
	if (newFontSize < 10) newFontSize = 10;
	document.getElementById("my_body").style.fontSize=newFontSize+"px";
	if(setCookie!=false)
		myCookie(newFontSize);
}
function myCookie(fontSize) {
	document.getElementById("fileDownload").src = "_shared/p_cookie.php?cookieNameArray=fontSize&cookieValueArray="+fontSize+"&debug=schinken";
}
function myDivHeight(div) {
	// tr: div top-right, br: div bottom-right, tc: div top-center, bc: div bottom-center
	height_tr = document.getElementById(div).offsetHeight;
	height_br = 0;
	if (document.getElementById("body_combined_row"))
		height_br = document.getElementById("body_combined_row").offsetHeight;
	height_tc = document.getElementById("container_body_top_center").offsetHeight;
	height_bc = document.getElementById("container_body_bottom_center").offsetHeight;
	if(height_tr > height_tc+height_bc)
		document.getElementById("container_body_bottom_center").style.padding = height_tr-height_tc-height_bc+"px 0px 0px 0px";
	else if (height_br > 0)
		document.getElementById("body_combined_row").style.height = height_tc+height_bc-height_tr+height_br-28+"px";
	//alert("TR: "+height_tr+" / BR: "+height_br+" / TC: "+height_tc+" / BC: "+height_bc);
}
