			function popUp(FileAllegato, ImgWidth, ImgHeight) {
				ImgWidth	= ImgWidth + 36;
				ImgHeight = ImgHeight + 20;

				MinWidth	= 158;
				MinHeight = 103;
				MaxWidth	= screen.availWidth;
				MaxHeight	= screen.availHeight;

				PopWidth	= MinWidth;
				PopHeight = MinHeight;

				if (ImgWidth > MinWidth)		PopWidth = ImgWidth;
				if (ImgHeight > MinHeight)	PopHeight = ImgHeight;

				if (PopWidth > MaxWidth)		PopWidth	= MaxWidth;
				if (ImgHeight > MaxHeight)	PopHeight = MaxHeight;

				PopLeft	= (screen.availWidth - PopWidth) / 2;
				PopTop	= (screen.availHeight - PopHeight) / 2;

				window.open(FileAllegato, "popUp", "width="+PopWidth+",height="+PopHeight+",left="+PopLeft+",top="+PopTop+",scrollbars=0,resizable=no,status=no");
			}
			function popUp_video(FileAllegato, ImgWidth, ImgHeight) {
				ImgWidth	= ImgWidth + 36;
				ImgHeight = ImgHeight + 20;

				MinWidth	= 158;
				MinHeight = 103;
				MaxWidth	= screen.availWidth;
				MaxHeight	= screen.availHeight;

				PopWidth	= MinWidth;
				PopHeight = MinHeight;

				if (ImgWidth > MinWidth)		PopWidth = ImgWidth;
				if (ImgHeight > MinHeight)	PopHeight = ImgHeight;

				if (PopWidth > MaxWidth)		PopWidth	= MaxWidth;
				if (ImgHeight > MaxHeight)	PopHeight = MaxHeight;

				PopLeft	= (screen.availWidth - PopWidth) / 2;
				PopTop	= (screen.availHeight - PopHeight) / 2;

				window.open(FileAllegato, "popUp", "width="+PopWidth+",height="+PopHeight+",left="+PopLeft+",top="+PopTop+",scrollbars=no,resizable=no,status=no");
			}
			function popUp_info(FileAllegato, ImgWidth, ImgHeight) {
				ImgWidth	= ImgWidth + 36;
				ImgHeight = ImgHeight + 20;

				MinWidth	= 158;
				MinHeight = 103;
				MaxWidth	= screen.availWidth;
				MaxHeight	= screen.availHeight;

				PopWidth	= MinWidth;
				PopHeight = MinHeight;

				if (ImgWidth > MinWidth)		PopWidth = ImgWidth;
				if (ImgHeight > MinHeight)	PopHeight = ImgHeight;

				if (PopWidth > MaxWidth)		PopWidth	= MaxWidth;
				if (ImgHeight > MaxHeight)	PopHeight = MaxHeight;

				PopLeft	= (screen.availWidth - PopWidth) / 2;
				PopTop	= (screen.availHeight - PopHeight) / 2;

				window.open(FileAllegato, "popUp", "width="+PopWidth+",height="+PopHeight+",left="+PopLeft+",top="+PopTop+",scrollbars=1,resizable=no,status=no");
			}
