function IsBrowserIE()

{

	if (navigator.appName.indexOf('Microsoft') != -1)

		return true;

	else

		return false;

}

function showImage(url) {

	var pos = '';

	var l = -1;

	var t = -1;

	var width = 485;

	var height = 375 ;

	if (IsBrowserIE())

	{

		l = (screen.Width - width) / 2;

		t = (screen.Height - height) / 2;

	}

	else

	{

		l = (screen.availWidth - width) / 2;

		t = (screen.availHeight - height) / 2;

	}

	if (l >= 0 && t >= 0) {

		pos = ',top='+t+',left='+l;

	}

	

	win = window.open('', '', 'width='+width+',height='+height+',resizable=0,scrollbars=0'+pos);

	if (win != null) {

		doc = win.document;

		

		doc.writeln('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"');

		doc.writeln('"http://www.w3.org/TR/html4/loose.dtd">');

		doc.writeln('<html>');

		doc.writeln('<head>');

		doc.writeln('<title>Éden Panzió - Bük</title>');

		doc.writeln('<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">');

		doc.writeln('<link rel="shortcut icon" href="/favicon.ico">');

		doc.writeln('<style type="text/css">');

		doc.writeln('<!--');

		doc.writeln('body {');

		doc.writeln('	margin-left: 20px;');

		doc.writeln('	margin-top: 20px;');

		doc.writeln('	margin-right: 20px;');

		doc.writeln('	margin-bottom: 0px;');

		doc.writeln('}');

		doc.writeln('-->');

		doc.writeln('</style></head>');

		doc.writeln('<body>');

		doc.writeln('<img src="img/' + url + '" alt="" width="445" height="334">');

		doc.writeln('</body>');

		doc.writeln('</html>');

								

		doc.close();

		win.focus();

	}

}