# JS Global Variables

The following list of variables is set globally in stc-scripts.js and can be accessed by other scripts:

  • $menuBasketItem - jQuery element for the basket time that appears in the header
  • cookieDomain - domain on which cookie is set, default values is 'savethechildren.org'
  • fancyboxSettings - JSON object with default fancybox settings
  • tealFancyboxSettings - JSON object with teal fancybox settings
  • plumFancyboxSettings - JSON object with plum fancybox settings

# Donation

Some JS variables are rendered in a global scope on donation pages. See reus_scripts_1561 for full details.