global maxlinks
Moved from XML to JSON