﻿       function SwapPoints()
        {
            //Switch the points between the two shapes, making them trade places
            var pts = shape01.GetPoints();
            if (pts[0].Latitude == "44.88980971906551")
            {
                shape01.SetPoints(points02);
                shape02.SetPoints(points01);
            }
            else
            {
                shape01.SetPoints(points01);
                shape02.SetPoints(points02);
            }
        }



























































































































































































        function bre4()
        { 
	
			var x = new VELatLong(53.3532,26.0836);
			karchova = new VEShape(VEShapeType.Pushpin, x); karchova.SetCustomIcon("<div class=obj15>●</div>");karchova.SetTitle('Карчова');
			karchova.SetDescription('<a href=http://globus.tut.by/karchova/index.htm target=_blank>Смотреть Карчова на глобусе</a><br><br><a href=/map/index.php?map=N-35-89.gif>Скачать карту района</a><ul><li> <a href=http://globus.tut.by/karchova/index.htm#filar target=_blank>"камень Филаретов"</a></ul>');
	map.AddShape(karchova);
	
			var x = new VELatLong(53.2641,26.0438);
			arabovschina = new VEShape(VEShapeType.Pushpin, x); arabovschina.SetCustomIcon("<div class=obj15>●</div>");arabovschina.SetTitle('Арабовщина');
			arabovschina.SetDescription('<a href=http://globus.tut.by/arabovschi/index.htm target=_blank>Смотреть Арабовщина на глобусе</a><br><br><a href=/map/index.php?map=N-35-101.gif>Скачать карту района</a><ul><li> <a href=http://globus.tut.by/arabovschi/index.htm#dot target=_blank>доты</a><li> <a href=http://globus.tut.by/arabovschi/index.htm#tail target=_blank>памятник Корвату (первому Герою Беларуси)</a></ul>');
	map.AddShape(arabovschina);
	
			var x = new VELatLong(52.8565,25.2395);
			bulla = new VEShape(VEShapeType.Pushpin, x); bulla.SetCustomIcon("<div class=obj15>●</div>");bulla.SetTitle('Булла');
			bulla.SetDescription('<a href=http://globus.tut.by/bulla/index.htm target=_blank>Смотреть Булла на глобусе</a><br><br><a href=/map/index.php?map=N-35-111.gif>Скачать карту района</a><ul><li> <a href=http://globus.tut.by/bulla/index.htm#church target=_blank>церковь Усекновения Главы св. Иоанна Предтечи (дерев.)</a></ul>');
	map.AddShape(bulla);
	
			var x = new VELatLong(53.1544,26.1464);
			adahovschina = new VEShape(VEShapeType.Pushpin, x); adahovschina.SetCustomIcon("<div class=obj15>●</div>");adahovschina.SetTitle('Адаховщина 1-я');
			adahovschina.SetDescription('<a href=http://globus.tut.by/adahovschi/index.htm target=_blank>Смотреть Адаховщина 1-я на глобусе</a><br><br><a href=/map/index.php?map=N-35-101.gif>Скачать карту района</a><ul><li> <a href=http://globus.tut.by/adahovschi/index.htm#church target=_blank>церковь св. Ильи</a><li> <a href=http://globus.tut.by/adahovschi/index.htm#dot_ne target=_blank>дот немецкий</a></ul>');
	map.AddShape(adahovschina);
	
			var x = new VELatLong(52.7637,26.4407);
			gancevichi = new VEShape(VEShapeType.Pushpin, x); gancevichi.SetCustomIcon("<div class=obj15>●</div>");gancevichi.SetTitle('Ганцевичи');
			gancevichi.SetDescription('<a href=http://globus.tut.by/gancevichi/index.htm target=_blank>Смотреть Ганцевичи на глобусе</a><br><br><a href=/map/index.php?map=N-35-113.gif>Скачать карту района</a><ul><li> <a href=http://globus.tut.by/gancevichi/index.htm#kostel target=_blank>костел Благовещенский</a><li> <a href=http://globus.tut.by/gancevichi/index.htm#church target=_blank>церковь св. Тихона</a><li> <a href=http://globus.tut.by/gancevichi/index.htm#evr_graves target=_blank>кладбище еврейское</a></ul>');
	map.AddShape(gancevichi);
	
			var x = new VELatLong(52.4699,25.1685);
			beloozersk = new VEShape(VEShapeType.Pushpin, x); beloozersk.SetCustomIcon("<div class=obj15>●</div>");beloozersk.SetTitle('Белоозерск');
			beloozersk.SetDescription('<a href=http://globus.tut.by/beloozersk/index.htm target=_blank>Смотреть Белоозерск на глобусе</a><br><br><a href=/map/index.php?map=N-35-123.gif>Скачать карту района</a><ul><li> <a href=http://globus.tut.by/beloozersk/index.htm#church target=_blank>церковь св. Серафима Саровского</a></ul>');
	map.AddShape(beloozersk);	        
         }  

