IE=navigator.appName=="Netscape" && !document.getElementById?false:true;

function zoom(src,w,h) {
	html='<html><head><title>Международный аэропорт Шереметьево</title>'+'</head><body bgcolor=#FFFFFF leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 style="margin:0px">'+'<a href="#" onClick="window.close();"><img src="'+src+'" border=0 alt="" width='+w+' height='+h+'></a></body></html>';
	w = w + 10;
	h = h + 29;
	if (IE) {
		win=window.open('','acwin','width='+w+',height='+h+',resizable=no,top=100,left=100');
		win.document.open();
		win.document.write(html);
		win.document.close(); 
		win.resizeTo(w,h);
	}
	else {
		win=window.open(src,'acwin','width='+w+',height='+h+',resizable=yes');
	}
	win.focus();
	return false;
}

function zoom2(src,w,h) {
	html='<html><head><title>Международный аэропорт Шереметьево</title>'+'</head><body bgcolor=#FFFFFF leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 style="margin:0px">'+'<a href="#" onClick="window.close();"><img src="'+src+'" border=0 alt="закрыть окно"></a></body></html>';
	w = w + 27;
	h = h + 29;
	if (IE) {
		win=window.open('','acwin','width='+w+',height='+h+',resizable=no,scrollbars = yes,top=100,left=100');
		win.document.open();
		win.document.write(html);
		win.document.close(); 
		win.resizeTo(w,h);
	}
	else {
		win=window.open(src,'acwin','width='+w+',height='+h+',resizable=yes');
	}
	win.focus();
	return false;
}

function showinfo(name) {
  hideinfo( old );
  old = name;
  if(document.layers)
	document.layers[name].visibility = "show";
  else
	document.all[name].style.visibility = "visible";
  }

function hideinfo(name) {
  if(document.layers)
	document.layers[name].visibility = "hide";
  else
	document.all[name].style.visibility = "hidden";
  }

function dl( id,params ) {
  window.open( id,'_blank',params );
}
