        // Attaching click events to the buttons

        // ShowAllStations
        function showAllStations() {
            if (StationMarkers.length == 0) {
                for (var i = 0; i < StationNames.length; i++) {
                    StationMarkers[i] = new google.maps.Marker({
                        position: StationCoords[i],
                        title: StationNames[i],
                        icon: StationImage,
                        map: map
                    });
                }
                document.getElementById('ShowStations').value = 'Delete Stations';
            }
            else {
                if (StationMarkers[0].getMap() == null) {
                    for (var i = 0; i < StationNames.length; i++) {
                        StationMarkers[i].setMap(map);
                    }
                    document.getElementById('ShowStations').value = 'Delete Stations';
                }
                else {
                    for (var i = 0; i < StationNames.length; i++) {
                        StationMarkers[i].setMap(null);
                    }
                    document.getElementById('ShowStations').value = 'Show Stations';
                }

            }

        }
		
        // Add !Check
        function addSpecificCheck(){
            addCheck(
                document.getElementById('id_text').value,
                document.getElementById('id_user_text').value,
                document.getElementById('ic_category_text').value,
                document.getElementById('id_station_text').value,
                document.getElementById('points_text').value,
                document.getElementById('creation_date_text').value,
                document.getElementById('comment_text').value,
                document.getElementById('url_photo_text').value,
                document.getElementById('like_text').value,
                document.getElementById('unlike_text').value
            );
        }
		
        // Remove !Check
        function removeSpecificCheck() {
            removeCheck(document.getElementById('removeCheck_text').value);
        }
		
        // refreshAllCheckMarkers
        function refreshAllChecks() {
            refreshAllCheckMarkers();
        }
		
        // Delete all subways
        function deleteAllSubways() {
            polyline_M1.setMap(null);
            polyline_M2.setMap(null);
            polyline_M3.setMap(null);
            polyline_M4.setMap(null);
            polyline_M5.setMap(null);
            polyline_M6.setMap(null);
            polyline_M7.setMap(null);
            polyline_M8.setMap(null);
            polyline_M9.setMap(null);
            polyline_M10_1.setMap(null);
            polyline_M10_2.setMap(null);
            polyline_M11.setMap(null);
            polyline_M12.setMap(null);
            polyline_M13_1.setMap(null);
            polyline_M13_2.setMap(null);
            polyline_M14.setMap(null);
        }
		


