public void setSyncDriver(int syncMode) {

		// -1 slave turn off driving, but not syncing
		// 0 off
		// 1 driving on as driver

		// 2 sync turn on, but set as slave

		drivingSync = (syncMode == 1 ? true : false);
		isSynced = (syncMode > 0 || isSynced && syncMode < 0 ? true : false);
		Logger.debug(viewer.getHtmlName() + " " + syncMode + " synced? " + isSynced + " driving?" + drivingSync);
	}