plugin.getCurNavigationTab
The 'getCurNavigationTab' function retrieves a tag of the current navigation tab in the main window.
- Prototype: plugin.getCurNavigationTab(iDbPos);
 - Parameters:
- iDbPos: a position number (0-based) of the database on the tab control; -1 for the current database.
 
 - Return Value: Tag of the current navigation tab; One of the available values:
- Outline
 - LabelTree
 - Calendar
 - Bookmarks
 - Overview
 
 - Example: 
alert(plugin.getCurNavigationTab(-1));