﻿       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 min4()
        { 
	
			var x = new VELatLong(52.7893,27.5331);
			soligorsk = new VEShape(VEShapeType.Pushpin, x); soligorsk.SetCustomIcon("<div class=obj15>●</div>");soligorsk.SetTitle('Солигорск');
			soligorsk.SetDescription('<a href=http://globus.tut.by/soligorsk/index.htm target=_blank>Смотреть Солигорск на глобусе</a><br><br><a href=/map/index.php?map=N-35-116.gif>Скачать карту района</a><ul><li> <a href=http://globus.tut.by/soligorsk/index.htm#mounts target=_blank>"соляные" горы</a><li> <a href=http://globus.tut.by/soligorsk/index.htm#kostel target=_blank>костел св. Франциска</a><li> <a href=http://globus.tut.by/soligorsk/index.htm#church target=_blank>церковь Покровская</a></ul>');
	map.AddShape(soligorsk);
	
			var x = new VELatLong(54.2563,27.0973);
			rakutevschina = new VEShape(VEShapeType.Pushpin, x); rakutevschina.SetCustomIcon("<div class=obj15>●</div>");rakutevschina.SetTitle('Ракутевщина');
			rakutevschina.SetDescription('<a href=http://globus.tut.by/rakutevsch/index.htm target=_blank>Смотреть Ракутевщина на глобусе</a><br><br><a href=/map/index.php?map=N-35-67.gif>Скачать карту района</a><ul><li> <a href=http://globus.tut.by/rakutevsch/index.htm#stones target=_blank>мемориальные валуны в память о М. Богдановиче</a><li> <a href=http://globus.tut.by/rakutevsch/index.htm#museum target=_blank>музей-усадьба М. Богдановича</a></ul>');
	map.AddShape(rakutevschina);
	
			var x = new VELatLong(53.8297,27.339);
			gorodische_min = new VEShape(VEShapeType.Pushpin, x); gorodische_min.SetCustomIcon("<div class=obj15>●</div>");gorodische_min.SetTitle('Городище');
			gorodische_min.SetDescription('<a href=http://globus.tut.by/gorodische_min/index.htm target=_blank>Смотреть Городище на глобусе</a><br><br><a href=/map/index.php?map=N-35-79.gif>Скачать карту района</a><ul><li> <a href=http://globus.tut.by/gorodische_min/index.htm#gor target=_blank>городище (археол.)</a></ul>');
	map.AddShape(gorodische_min);	        
         }  

