/* jshint -W033 */ var problemCountries = []; var goodcountries = []; var nohoverCountries = []; // module pattern var WOF = WOF || {}; WOF.filterDetailPanel = function() { WOF.tidyUpDefinitions(); if ($('.map-data-country').length > 1){ WOF.addCountryJumpLinks(); } }; WOF.tidyUpDefinitions = function() { var obesityDefinitions = $('div.definitions').first(); $('div.definitions').remove(); $("#content").append(obesityDefinitions); } WOF.addCountryJumpLinks = function() { var jumper = $("