// ********************************************
// **        Flashmaps DB Mapper 1.0         **
// **      JavaScript Custom Functions       **
// ********************************************
// ** Feel free to make any changes you need **
// **      to fit your requirements.         **
// ********************************************
// **      (c)2005 Flashmaps Geospatial      **
// **        http://www.flashmaps.com        **
// ********************************************


// ********************************************
// **  Functions called from the map, events **
// ********************************************

// The visitor placed the mouse over a POI
function fmCustomPOIOnRollOver(fmPOIID) {
	// Write your code here
	// For example, display POI's picture
}

// The visitor moved the mouse out of a POI
function fmCustomPOIOnRollOut(fmPOIID1) {
	// Write your code here
	// For example, display a blank picture
}

// The visitor clicked on a POI
function fmCustomPOIOnRelease(fmPOIID) {
	// Write your code here
}

// The map is ready to receive commands
function fmCustomMapIsReady() {
	// Write your code here
}

// A set of POIs has been loaded
function fmCustomPOIURLLoaded(strPOIsURL, iPOIsNumber) {
	// Write your code here
  if ( eventPOILoaded ) {
    eventPOILoaded();
  }
}


// ********************************************
// **  Functions to send commands to the map **
// ********************************************

// Highlight a POI
function fmCustomPOIHighlight(fmPOIID, strMethod) {
	// Highlight a POI inside the map
	fmPOIHighlight(fmPOIID, strMethod);
	// Write your code here
	// For example, display a POIs picture
}

// Unhighlight a POI
function fmCustomPOIUnhighlight(fmPOIID) {
	// Unhighlight a POI inside the map
	fmPOIUnhighlight(fmPOIID);
	// Write your code here
	// For example, display a blank picture
}

// Highlight and focus on a POI
function fmCustomPOIHighlightAndFocusOn(fmPOIID, strMapScale, strMethod){
	// Focus and highlight on a POI inside the map
	fmPOIHighlightAndFocusOn(fmPOIID, strMapScale, strMethod);
	// Write your code here
}


