<!--
		function ShowImage(url,width,height) {
			width = parseInt(width)+20;
			height = parseInt(height)+27;
			SmallPhotoWindow = window.open(url,'SmallPhotoWindow','width=' + width + ',height=' + height + ',scrollbars=no,toolbar=no,menubar=no,status=no,location=no,personalbar=no,directories=no,dependent=yes,resizable=no');
			SmallPhotoWindow.moveTo((screen.width - width)/2,(screen.height - height)/2);
			SmallPhotoWindow.focus();
		}


		function ShowMapImage(ida,width,height) {
			width = parseInt(width)+20;
			height = parseInt(height)+45;
			SmallPhotoWindow = window.open('/mapka.php/ida/' + ida,'MapPhotoWindow','width=' + width + ',height=' + height + ',scrollbars=no,toolbar=no,menubar=no,status=no,location=no,personalbar=no,directories=no,dependent=yes,resizable=no');
			SmallPhotoWindow.moveTo((screen.width - width)/2,(screen.height - height)/2);
			SmallPhotoWindow.focus();
		}


		function SetStatus(status_text) {   
			window.defaultStatus = status_text;
			window.status = status_text;
		}


		function ShowArticle(idart) {
			CommentWindow = window.open('/art.php/idart/'+ idart,'ArticleWindow','width=500,height=400,scrollbars=yes,toolbar=no,menubar=no,status=no,location=no,personalbar=no,directories=no,dependent=yes,resizable=no');
			CommentWindow.moveTo((screen.width - 500)/2,(screen.height - 400)/2);
			CommentWindow.focus();
		}


		function AddComment(idc,ida) {
			CommentWindow = window.open('/acw.php/idc/'+ idc +'/ida/'+ ida,'CommentWindow','width=420,height=280,scrollbars=yes,toolbar=no,menubar=no,status=no,location=no,personalbar=no,directories=no,dependent=yes,resizable=no');
			CommentWindow.moveTo((screen.width - 420)/2,(screen.height - 280)/2);
			CommentWindow.focus();
		}


		function EmailToFriend(url) {
			EmailWindow = window.open('/etf.php?url='+ url,'EmailWindow','width=440,height=370,scrollbars=yes,toolbar=no,menubar=no,status=no,location=no,personalbar=no,directories=no,dependent=yes,resizable=no');
			EmailWindow.moveTo((screen.width - 420)/2,(screen.height - 280)/2);
			EmailWindow.focus();
		}


		function CloseWindow() {
			self.close();
		}


		function ReloadOpener() {
			window.opener.location=window.opener.location;
		}

//-->