{
  "name": "zzz - Crave Background Reskin JavaScript BETA2",
  "description": "Jon testing things here.  Beta version of a template to handle all standard bg skins. Includes tracking.",
  "variables": [
    {
      "choices": [
        {
          "label": "center",
          "value": "center"
        },
        {
          "label": "left",
          "value": "left"
        },
        {
          "label": "right",
          "value": "right"
        }
      ],
      "allowOtherChoice": false,
      "label": "horiz_align",
      "uniqueName": "horiz_align",
      "description": "Horizontal Alignment",
      "isRequired": true,
      "variableType": "LIST"
    },
    {
      "mimeTypes": [
        "GIF",
        "JPG",
        "SWF"
      ],
      "label": "Image_file",
      "uniqueName": "Image_file",
      "isRequired": true,
      "variableType": "ASSET"
    },
    {
      "choices": [
        {
          "label": "top",
          "value": "top"
        },
        {
          "label": "bottom",
          "value": "bottom"
        },
        {
          "label": "middle",
          "value": "middle"
        }
      ],
      "allowOtherChoice": false,
      "label": "vert_align",
      "uniqueName": "vert_align",
      "description": "Vertical Alignment",
      "isRequired": true,
      "variableType": "LIST"
    },
    {
      "choices": [
        {
          "label": "no-repeat",
          "value": "no-repeat"
        },
        {
          "label": "repeat-x",
          "value": "repeat-x"
        },
        {
          "label": "repeat-y",
          "value": "repeat-y"
        },
        {
          "label": "repeat",
          "value": "repeat"
        }
      ],
      "allowOtherChoice": false,
      "label": "repeat",
      "uniqueName": "repeat",
      "description": "background repeat",
      "isRequired": true,
      "variableType": "LIST"
    },
    {
      "label": "bg_color",
      "uniqueName": "bg_color",
      "description": "background color: (eg #000000 or black)",
      "isRequired": true,
      "variableType": "STRING"
    },
    {
      "choices": [
        {
          "label": "scroll",
          "value": "scroll"
        },
        {
          "label": "fixed",
          "value": "fixed"
        }
      ],
      "allowOtherChoice": false,
      "label": "bg_attach",
      "uniqueName": "bg_attach",
      "description": "fixed or scrolls with page",
      "isRequired": true,
      "variableType": "LIST"
    },
    {
      "label": "Tracking",
      "uniqueName": "Tracking",
      "description": "3rd party pixel if any",
      "isRequired": false,
      "variableType": "STRING"
    },
    {
      "isTrackingUrl": false,
      "urlType": "STANDARD_HTTP",
      "label": "Click-Through URL",
      "uniqueName": "Click-Through URL",
      "description": "REQUIRED: The clickthrough url.",
      "isRequired": true,
      "variableType": "URL"
    }
  ],
  "formatter": "\u003cstyle\u003e\n\tbody {\n\t\tbackground-image: url([%Image_file%]);\n\t\tbackground-position: [%horiz_align%] [%vert_align%];\n\t\tbackground-repeat: [%repeat%];\n\t\tbackground-color: [%bg_color%];\n\t\tbackground-attachment: [%bg_attach%];\n\t\tmargin: 0px;\n\t}\n\u003c/style\u003e\n\n\u003cscript type\u003d\"text/javascript\"\u003e\n  var aoClickUrl\u003d\"%c[%Click-Through URL%]\";\n\u003c/script\u003e\n\u003cimg src\u003d\"[%Tracking%]\"\u003e\n",
  "type": "USER_DEFINED",
  "isInterstitial": false,
  "isNativeEligible": false,
  "isNativeVideoEligible": false,
  "isNative360ImageEligible": false,
  "isSafeFrameCompatible": false
}