begin
  if (GetZ <= 13) and (GetX mod 2 = 0) and (GetY mod 2 = 0) then
    ResultUrl := TemplateToUrl(GetURLBase)+inttostr(getz-2)+'/'+inttostr(getx/2)+'/'+inttostr(gety/2)+'.png';
end.