function setupColumns(containingDiv) {

  var locations, numLocations, locationCount;
  var leftCol, ctrCol, rtCol;

  try {
    // Divide the wrapper into 3 colummns
    locations = document.getElementById(containingDiv);
  
    leftCol = document.createElement('div');
    ctrCol = document.createElement('div');
    rtCol = document.createElement('div');
  
    leftCol.className = "locations_leftCol";
    ctrCol.className = "locations_ctrCol";
    rtCol.className = "locations_rtCol";
  
    locations.appendChild(leftCol);
    locations.appendChild(ctrCol);
    locations.appendChild(rtCol);
  
    // Move the content into columns
    
    locations = locations.getElementsByTagName('p');
    numLocations = locations.length;
    locationCount = 0;
  
    while (locationCount <= Math.floor(numLocations/3)) {
      leftCol.appendChild(locations[0]);
      locationCount++;
    }
    while (locationCount <= Math.floor(2*numLocations/3)) {
      ctrCol.appendChild(locations[0]);
      locationCount++;
    }
    while (locationCount < numLocations) {
      rtCol.appendChild(locations[0]);
      locationCount++;
    }
  } catch(e) {}
  
}