/* 
 * Filename -constants.js
 * Author   - R. Zupko II
 *  
 * Purpose  - Isolate the various constants that are being used by maps.js from
 *	the data side of things.
 *
 * Notes - Note the use of var instead of const, this is due to IE not 
 *	supporting the keyword in version 7.
 */

 // The various image icons that are used on the map
 var iconLeader = "http://www.google.com/intl/en_us/mapfiles/ms/icons/blue.png";
 var iconFundrasing = "http://www.google.com/intl/en_us/mapfiles/ms/icons/yellow.png";
 var iconLoan = "http://www.google.com/intl/en_us/mapfiles/ms/icons/green.png";
 var iconDefaulted = "http://www.google.com/intl/en_us/mapfiles/ms/icons/red.png";
 var iconRefunded = "http://www.google.com/intl/en_us/mapfiles/ms/icons/red-dot.png";
 
 // The basic URL for the server
 var kivaServer = "http://kivaworld.code-zen.info/kiva.php?op=";
 
 // Kiva loan URL
 var kivaLoanUrl = "http://www.kiva.org/app.php?page=businesses&action=about&id=";
 
 // Kiva lender URL
 var kivaLenderUrl = "http://www.kiva.org/lender/";
 
  // The various server operation requests
 var lenderDetail = "lenderdetail";
 var lendeeDetail = "loandetail";
 var newestLoans = "newloans";
 var recentActions = "recentactions";