var vuduDefault = {
  intro: ["<p>VUDU&trade; is "
    + "the world's premier HD streaming service:</p>"
    + "<ul>"
    + "<li>New releases are available same day as DVD</li>"
    + "<li>No subscription required, pay only for what you watch</li>"
    + "<li>The most HD movies on demand</li>"
    + "<li>Rent thousands of movies for just $2 for 2 nights</li>"
    + "<li>Add to your digital library - thousands of titles available to own</li>"
    + "</ul>"],
  success: ["<p>Congratulations!  You now own a digital copy of ${MOVIE}.</p>"
    + "<p class=\"simple-promo-header\">Watch on your computer:</p>"
    + "<p>To watch now on your internet connected PC or Mac, <a href=\"http://www.vudu.com/movies/\" target=\"_blank\">click here</a>, "
    + "select the <span class=\"simple-promo-header\">My VUDU</span> tab, then sign-in to access your movie.</p>"
    + "<p class=\"simple-promo-header\">Watch on your TV:</p>"
    + "<p>To watch on your TV, you need a VUDU-enabled device connected to the internet.  "
    + "You can find your movie under the <span class=\"simple-promo-header\">My VUDU</span> tab on your device.</p>"
    + "<p class=\"simple-promo-header\">Don't have a VUDU-enabled device?</p>"
    + "<ul>"
    + "<li><span style=\"font-weight:bold\">Blu-ray player or TV:</span> <a href=\"http://www.vudu.com/devices.html\" target=\"_blank\">click here</a> for a list of devices.</li>"
    + "<li><span style=\"font-weight:bold\">PlayStation&trade;3 System:</span> <a href=\"http://www.vudu.com/setup_ps3.html\" target=\"_blank\">click here</a> to get VUDU on your PS3.</li>"
    + "</ul>"
  ],
  footer: ["<br/><p class=\"simple-promo-header\">Ways to Watch</p>"
       + "<div id=\"hot-hw-container\" style=\"width:960px;height:360px\">"
       + "<div id=\"hw_ps3\" style=\"float:left;margin-top:12px;\">"
       + "    <div id=\"hw_ps3_top\" style=\"width:240px; height:198px;background-color:white;background-image:url(resources/hw-ps3.png);background-repeat:no-repeat;background-position:0 0;\">"
       + "        <div class=\"hw-header\">Sony PlayStation<sup>&reg;</sup>3</div>"
       + "    </div>"
       + "    <div style=\"width:240px;height:19px;background-image:url(resources/hw-middle-frame.png);background-repeat:repeat-y;background-position: 0 0;\"></div>"
       + "    <div style=\"width:240px;height:120px;background-image:url(resources/hw-middle-frame.png);background-repeat:repeat-y;background-position: 0 0;\">"
       + "        <div class=\"hw-body\"> VUDU is available for the PS3&trade; via the Sony PlayStation<sup>&reg;</sup> Network!</div>"
       + "    </div>"
       + "    <div style=\"width:240px;height:15px;background-image:url(resources/hw-bottom-frame.png);background-repeat:no-repeat;    background-position:0 0;\"></div>"
       + "</div>"
       + "<div id=\"hw_xbox\" style=\"float:left;margin-top:12px;\">"
       + "    <div id=\"hw_xbox_top\" style=\"width:240px; height:198px;background-color:white;background-image:url(resources/hw-xbox.png);background-repeat:no-repeat;background-position:0 0;\">"
       + "        <div class=\"hw-header\">Xbox 360<sup>&reg;</sup></div>"
       + "    </div>"
       + "    <div style=\"width:240px;height:19px;background-image:url(resources/hw-middle-frame.png);background-repeat:repeat-y;background-position: 0 0;\"></div>"
       + "    <div style=\"width:240px;height:120px;background-image:url(resources/hw-middle-frame.png);background-repeat:repeat-y;background-position: 0 0;\">"
       + "        <div class=\"hw-body\"> VUDU is available for the Xbox 360<sup>&reg;</sup> with an Xbox LIVE<sup>&reg;</sup> Gold Membership.</div>"
       + "    </div>"
       + "    <div style=\"width:240px;height:15px;background-image:url(resources/hw-bottom-frame.png);background-repeat:no-repeat;    background-position:0 0;\"></div>"
       + "</div>"
       + "<div id=\"hw_tv\" style=\"float:left;position:relative;top:12px;\">"
       + "    <div id=\"hw_tv_top\" style=\"width:240px;height:217px;background-color:white;background-image:url(resources/hw-tv-v2.png);background-repeat:no-repeat;background-position:0 0;\">"
       + "        <div class=\"hw-header\">HDTVs and Blu-ray</div>"
       + "    </div>"
       + "    <div style=\"width:240px;height:120px;background-image:url(resources/hw-middle-frame.png);background-repeat:repeat-y;background-position: 0 0\">"
       + "        <div class=\"hw-body\"> Virtually every Internet-connected HDTV and Blu-ray player on the market is now VUDU-enabled.</div>"
       + "    </div>"
       + "    <div style=\"width:240px;height:23px;background-image:url(resources/hw-bottom-frame.png);background-repeat:no-repeat;background-position:0 0;\"></div>"
       + "</div>"
       + "<div id=\"hw_boxee\" style=\"float:left;position:relative;top:12px;\">"
       + "    <div id=\"hw_boxee_top\" style=\"width:240px; height:217px;background-color:white;background-image:url(resources/hw-pc.png);background-repeat:no-repeat;background-position:0 0;\">"
       + "        <div class=\"hw-header\">PC, Mac, or iPad<sup>&reg;</sup></div>"
       + "    </div>"
       + "    <div style=\"width:240px;height:120px;background-image:url(resources/hw-middle-frame.png);background-repeat:repeat-y;    background-position: 0 0;\">"
       + "        <div class=\"hw-body\">"
       + "         Watch VUDU in SD now on your PC, Mac, or iPad<sup>&reg;</sup>.<br/><br/>"
       + "            <span style=\"font-size:9px;line-height:10px\">Note: Activation credit not available on<br/>these devices.</span>"
       + "        </div>"
       + "    </div>"
       + "    <div style=\"width:240px;height:23px;background-image:url(resources/hw-bottom-frame.png);background-repeat:no-repeat;background-position:0 0;\"></div>"
       + "</div>"
       + "</div>"
       + "<p>Note: See above or <a href=\"http://www.vudu.com/devices.html\" target=\"_blank\">click here</a> for a list of VUDU-enabled devices from which you can access your movie.</p>"
  ],
  successFooter: ["<p>You can watch movies on VUDU in one of these ways:</p>"
    + "<ul>"
    +   "<li>On a PlayStation&reg;3 System.  <a href=\"http://www.vudu.com/setup_ps3.html\" target=\"_blank\">Click here</a> to get VUDU on your PS3.</li>"
    +   "<li>On a Xbox 360&reg; <a href=\"http://www.vudu.com/setup_xbox.html\" target=\"_blank\">Click here</a> to get VUDU on your Xbox 360&reg;.</li>"
    +   "<li>On a VUDU-enabled Blu-ray&trade; player or TV.  <a href=\"http://www.vudu.com/devices.html\" target=\"_blank\">Click here</a> for a complete list of devices.</li>"
    +   "<li>On your PC or Mac.  <a href=\"http://www.vudu.com/movies/\" target=\"_blank\">Click here</a> to continue.</li>"
    + "</ul>"
  ]
};

var accountConfig = {

  pageContainerId          : "widgetContainer",
  cookieDomain             : ".vudu.com",

  api                      : "http://apicache.vudu.com/api2/",
  secureApi                : "https://api.vudu.com/api2/",

  mediaImagesUrl           : "http://images2.vudu.com/",
  secureMediaImagesUrl     : "https://images.vudu.com/",

  myLogin                  : "https://my.vudu.com/MyLogin.html",
  referAFriendLoginURL     : "https://my.vudu.com/ReferAFriendLogin.html",
  accountCreate            : "https://my.vudu.com/AccountCreate.html",
  accountSetup             : "https://my.vudu.com/AccountSetup.html",
  myAccount                : "https://my.vudu.com/MyAccount.html",
  myActivation             : "https://my.vudu.com/MyActivation.html",
  myDevice                 : "https://my.vudu.com/MyDevice.html",
  redeemPromoCode          : "https://my.vudu.com/RedeemPromo.html",
  redeemSavedPromo         : "https://my.vudu.com/RedeemSavedPromo.html",
  devices                  : "http://www.vudu.com/devices/Devices.html",
  movies                   : "http://www.vudu.com/movies/",
  passwordReset	           : "https://myvudu.vudu.com/PasswordReset.html",
  tosUrl                   : "http://www.vudu.com/termsofservice.html",
  getVudu                  : "http://www.vudu.com/devices.html",

  playbackSize             : "960px:540px",
  playbackFlashUrl         : "http://www.vudu.com/flash/StrobeMediaPlayback.swf",
  debugPlaybackFlashUrl	   : "http://www.vudu.com/flash/StrobeMediaPlaybackDebug.swf",
  playbackInstallUrl       : "http://www.vudu.com/flash/expressInstall.swf",
  playbackFlashNetwork     : "production",

  createPaymentCallBackURL : "/resources/html/CreatePaymentCallback.html",
  
  speedTestVuduCdn1URL      : "http://speedtest.vudu.com/cdn1/",
  speedTestVuduCdn1Link     : "http://speedtest.vudu.com",
  speedTestNetURL           : "http://www.speedtest.net",
  speedTestNetLink          : "www.speedtest.net",

  activationTemplate       : "Congratulations! Your ${0} is now activated.",

  addPaymentMethodText     : "To continue watching movies after you have used your free credit, "
                                + "please provide your payment information below. "
                                + "Your credit card will only be charged as and when you rent or buy movies.  "
                                + "There are no monthly fees.",

  promotTemplate           : "We have deposited a <b>${0}</b> activation credit in your VUDU account*. "
                                + "<br>Use your credit towards any movie on the VUDU service. "
                                + "This credit will expire on <b>${1}</b>.",

  promoFooter              : "*Activation credits have no monetary value and may "
                                + "only be used on the VUDU service.",

  deactivateAlert          : "Are you sure you want to deactivate your device ${0}?",

  facebookAppId            : "6332427127",
  disableFacebookConnect   : "false",

  qualityGreateChoice      : "great",
  qualityOkChoice          : "ok",
  qualityBadChoice         : "bad",

  showTaxes                : "true",
  
  country                  : "us", /* us, mx */

  /* Which survey to display at the end of account setup.  Must match a surveyDefId defined in the portal */
  accountSetupSurveyDefId  : "1",

  boxeeDownload            : "http://www.vudu.com/product_boxee.html",
  toyStory3RequireDevice   : "false",
  toyStory3Browsers        : {
    "browsers": [
      { filter : function() { return navigator.appVersion.indexOf("Apple") != -1;},
        lib : "/resources/toystory3/safarideluxedigitalcopy.js" }
    ],
    "defaultLib": "/widgets/deluxedigitalcopy/deluxedigitalcopy.nocache.js"
  },
  cars2Browsers	       : {
    "browsers": [
                { filter : function() { return navigator.appVersion.indexOf("Apple") != -1;},
                    lib : "/resources/cars2/safaricars2.js" }
    ], "defaultLib": "/widgets/cars2/cars2.nocache.js"
   },

  deluxeCopyReturnUrl      : "https://disc.wdshedigitalcopy.com/Auth201008_1/return.aspx",
  showBlackFridayPromo     : "true",

  blackFridayDevices       : { "device" : [
    { displayName : ["Magnavox Blu-ray Player"],
      displayModel: ["MBP5120F"],
      hardwareIdPrefix: ["G2NSD001"],
      frontImageURL: ["resources/BlackFriday/MagnavoxFront.jpg"],
      backImageURL: ["resources/BlackFriday/MagnavoxBack.jpg"],
      serialPrefix: []
    },
    { displayName: ["Philips Blu-ray Home Theater"],
      displayModel: ["HTS3051B"],
      hardwareIdPrefix: ["G2NSD011"],
      frontImageURL: ["resources/BlackFriday/PhilipsFront.jpg"],
      backImageURL: ["resources/BlackFriday/PhilipsBack.jpg"],
      serialPrefix: []
    },
    { displayName: ["Samsung Blu-ray Player"],
      displayModel: ["BD-C6500"],
      hardwareIdPrefix: ["SAMBBC01"],
      frontImageURL: ["resources/BlackFriday/SamsungFront.jpg"],
      backImageURL: ["resources/BlackFriday/SamsungBack.jpg"],
      serialPrefix: []
    },
    { displayName: ["LG Blu-ray Player"],
      displayModel: ["BD550"],
      hardwareIdPrefix: ["LG02BD57"],
      frontImageURL: ["resources/BlackFriday/LGFront.jpg"],
      backImageURL: ["resources/BlackFriday/LGBack.jpg"],
      serialPrefix: []
    }
  ]},

  simplePromotions         : { "promotions" : [
    { name : ["digitalcopy"], /* must be all lower case */
      image: ["resources/promo_digitalcopy.png"],
      body: [ "<p class=\"vudu-label-title\">Redeem Offer: Step 1 of 2</p>"
        + "<p>Thank you for your recent purchase. To get your digital "
        + "copy on VUDU, please enter the promotion code your "
        + "received with your DVD/Blu-ray package in the space below. "
        + "Limit 5 redemptions per customer.</p>"
        + "<p>Note: To watch the digital copy, you need a "
        + "VUDU-enabled device connected to the Internet.  Please see below "
        + "or <a href=\"http://www.vudu.com/devices.html\" target=\"_blank\">"
        + "click here</a> for a complete list of VUDU-enabled TVs and "
        + "Blu-ray players.</p>"],
      intro: vuduDefault.intro,
      introWidth: ["400"], /* in pixels */
      footer: vuduDefault.footer,
      success: ["<p>Congratulations!  You now own a digital copy of <b>${MOVIE}</b>. " +
        "You can watch it instantly from any VUDU device tied to your account."],
      successFooter: vuduDefault.successFooter
    },
    { name : ["moviecredits"], /* must be all lower case */
      image: ["resources/promo_moviecredits.png"],
      body: [ "<p class=\"vudu-label-title\">Redeem Offer: Step 1 of 2</p>"
        + "<p>Thank you for your recent purchase. To get "
        + "your movie credits on VUDU, please enter your promotion code "
        + "in the space below. "
        + "Limit 5 redemptions per customer.</p>"],
      intro: vuduDefault.intro,
      introWidth: ["400"], /* in pixels */
      footer: vuduDefault.footer,
      success: ["<p>Congratulations!  You now have "
        + "additional movie credits in your VUDU account.  Unused credits will "
        + "expire 1 year from today.</p>"
        + "<p>If you would like to complete account set-up so that you can watch more movies on VUDU after you have used your free credit, or make changes to an existing account, please click below.</p>"],
      successFooter: vuduDefault.successFooter
    },
    { name : ["rewardscredits"], /* must be all lower case */
        image: ["resources/promo_rewardscredits.png"],
        skipStepCount: ["true"],
        body: [ "<p class=\"vudu-label-title\">Redeem Offer:</p>"
          + "<p>To get your movie credits on VUDU, please enter your promotion code "
          + "in the space below. Limit 5 redemptions per customer. "],
        intro: vuduDefault.intro,
        introWidth: ["400"], /* in pixels */
        footer: vuduDefault.footer,
        success: ["<p>Congratulations!  You now have "
          + "additional movie credits in your VUDU account.  Unused credits will "
          + "expire 1 year from today.</p>"
          + "<p>If you would like to complete account set-up so that you can watch more movies on VUDU after you have used your free credit, or make changes to an existing account, please click below.</p>"],
        successFooter: vuduDefault.successFooter
    },
    { name : ["moviecard"], /* must be all lower case */
      title : ["Movie Card Redemption"], /* appears at top of each page, can be null */
      promoCodeName : ["Movie Card Number"], /* what the user calls the thing he types in, can be null */
      promoCreationMethod : ["promoForMovieCardCreate"], /* null, or promoCreate, or promoForMovieCardCreate */
      image: ["resources/promo_moviecard.png"],
      body: [ "<p class=\"simple-promo-header\">Redeem Offer: Step 1 of 2</p>"
        + "<p>Thank you for your recent purchase. To get "
        + "your digital movie on VUDU, please enter the unique code printed "
        + "on your Movie Card in the space below. Limit 5 redemptions per customer.</p><p/>"],
      intro: ["<p>VUDU offers the hottest new movies streaming instantly from "
        + "your web browser or VUDU-enabled device, without a subscription.</p>"
        + "<p>With VUDU you get:</p>"
        + "<ul>"
        + "<li>New releases available the same day as DVD</li>"
        + "<li>Your choice from more than 50,000 blockbusters, Hollywood classics, and independent films</li>"
        + "<li>Thousands of movies for just $2 for 2 nights</li>"
        + "</ul>"],
      introWidth: ["500"], /* in pixels */
      footer: vuduDefault.footer,
      success: vuduDefault.success,
      successFooter: [ "<br/><p class=\"simple-promo-header\">Other great titles also available from VUDU:</p>"
        + "<table class=\"movie-card-poster\"><tr>"
        + "<td><a href=\"http://www.vudu.com/movies/#!content/184967\"><img src=\"https://images.vudu.com/poster2/184967-m\"/></a></td>"
        + "<td><a href=\"http://www.vudu.com/movies/#!content/185654\"><img src=\"https://images.vudu.com/poster2/185654-m\"/></a></td>"
        + "<td><a href=\"http://www.vudu.com/movies/#!content/181828\"><img src=\"https://images.vudu.com/poster2/181828-m\"/></a></td>"
        + "<td><a href=\"http://www.vudu.com/movies/#!content/181808\"><img src=\"https://images.vudu.com/poster2/181808-m\"/></a></td>"
        + "<td><a href=\"http://www.vudu.com/movies/#!content/178811\"><img src=\"https://images.vudu.com/poster2/178811-m\"/></a></td>"
        + "</tr><tr>"
        + "<td><div class=\"movie-card-grey-stars\"><div class=\"movie-card-blue-stars\" style=\"width:66px\"></div></div></td>"
        + "<td><div class=\"movie-card-grey-stars\"><div class=\"movie-card-blue-stars\" style=\"width:58px\"></div></div></td>"
        + "<td><div class=\"movie-card-grey-stars\"><div class=\"movie-card-blue-stars\" style=\"width:48px\"></div></div></td>"
        + "<td><div class=\"movie-card-grey-stars\"><div class=\"movie-card-blue-stars\" style=\"width:66px\"></div></div></td>"
        + "<td><div class=\"movie-card-grey-stars\"><div class=\"movie-card-blue-stars\" style=\"width:54px\"></div></div></td>"
        + "</tr></table>"
        + "<br/>"
        + "<div style=\"width:80%;height:1px;border-top:1px solid grey\"></div>"
        + "<br/>"
        + "<img src=\"resources/promo_moviecard_scart_legal.png\" />"
      ]
    },
    { name : ["wm5"], /* must be all lower case */
      image: ["resources/5dollar_banner.png"],
      body: [ "<p class=\"vudu-label-title\">Redeem Movie Credit: Step 1 of 2</p>"
        + "<p>Thank you for your recent purchase at Walmart. To get "
        + "your $5 in free movie credits on VUDU, please enter the promotion code on "
        + "the sticker from your DVD/Blu-ray package in the space below. "
        + "Limit 5 redemptions per customer.</p>"],
      intro: vuduDefault.intro,
      introWidth: ["400"], /* in pixels */
      footer: vuduDefault.footer,
      success: ["<p>Congratulations!  You now have "
        + "$5 in movie credits in your VUDU account.  Unused credits will "
        + "expire 1 year from today.</p>"
        + "<br/>"
        + "<p>If you would like to complete account set-up so that you can watch more movies on VUDU after you have used your free credit, or make changes to an existing account, please click below.</p>"],
      successFooter: vuduDefault.successFooter
    },
    { name : ["netgear"], /* must be all lower case */
      image: ["resources/5dollar_banner.png"],
      body: ["<p class=\"vudu-label-title\">Redeem Movie Credit: Step 1 of 2</p>"
        + "<p>Thank you for your recent purchase at Walmart. To get "
        + "your $10 in free movie credits on VUDU, please enter the promotion code from "
        + "the insert in the package in the space below and follow the on-screen instructions. "
        + "Limit 5 redemptions per customer.</p>"
        + "<p>Note: To use your movie credits, you need to get a VUDU-enabled "
        + "device and activate it on your TV.  Please "
        + "<a href=\"http://www.vudu.com/devices.html\" target=\"_blank\">"
        + "click here</a> for a complete list of VUDU-enabled devices.</p>"],
      intro: vuduDefault.intro,
      introWidth: ["400"], /* in pixels */
      footer: vuduDefault.footer,
      success: ["<p>Congratulations!  You now have "
        + "$10 in movie credits in your VUDU account.  Unused credits will "
        + "expire 1 year from today."],
      successNoDevice: ["<p>Congratulations!  You now have $10 in movie "
        + "credits in your VUDU account.  Unused credits will expire 1 year "
        + "from today.</p>"
        + "<p>To use your movie credits, use any VUDU-enabled device or the "
        + "VUDU Boxee application that was activated using the same email account "
        + "(${USER}).  To see which devices are associated with this email address, "
        + "click the My Account button below.</p>"
        + "<p>If you are a new user and would like to complete account set-up "
        + "so that you can watch more movies on VUDU after you have used your "
        + "free credits, or if you are an existing user and need to make changes "
        + "to your existing account, please click the My Account button.</p>"],
      successFooter: vuduDefault.successFooter
    },
    { name : ["blackswan"], /* must be all lower case */
      image: ["https://images.vudu.com/poster2/167817-232"],
      body: ["<p class=\"vudu-label-title\">Promotion Redemption: Step 1 of 2</p>"
        + "<p>Thank you for your recent purchase.  "
        + "To get your digital copy of Black Swan on VUDU, please enter the "
        + "promotion code on the sticker from your DVD/Blu-ray package in the space below.  "
        + "Offer good until 3/29/2012. Limit 5 redemptions per customer.</p>"
        + "<p>Note: To watch the digital copy of your movie, you need a VUDU-enabled "
        + "device.  Please, see below or "
        + "<a href=\"http://www.vudu.com/devices.html\" target=\"_blank\">"
        + "click here</a> for a complete list of VUDU-enabled TVs and Blu-ray players.</p>"],
      intro: vuduDefault.intro,
      introWidth: ["400"], /* in pixels */
      footer: vuduDefault.footer,
      success: ["<p>Congratulations!  You now own a digital copy of <b>${MOVIE}</b>. " +
        "You can watch it instantly from any VUDU device tied to your account."],
      successFooter: vuduDefault.successFooter
    },
    { name : ["gulliver"], /* must be all lower case */
      image: ["https://images.vudu.com/poster2/192607-232"],
      body: ["<p class=\"vudu-label-title\">Promotion Redemption: Step 1 of 2</p>"
        + "<p>Thank you for your recent purchase.  "
        + "To get your digital copy of Gulliver's Travels on VUDU, please enter the "
        + "promotion code on the sticker from your DVD/Blu-ray package in the space below.  "
        + "Offer good until 4/5/2012. Limit 5 redemptions per customer.</p>"
         + "<p>Note: To watch the digital copy of your movie, you need a VUDU-enabled "
        + "device.  Please, see below or "
        + "<a href=\"http://www.vudu.com/devices.html\" target=\"_blank\">"
        + "click here</a> for a complete list of VUDU-enabled TVs and Blu-ray players.</p>"],
      intro: vuduDefault.intro,
      introWidth: ["400"], /* in pixels */
      footer: vuduDefault.footer,
      success: ["<p>Congratulations!  You now own a digital copy of <b>${MOVIE}</b>. " +
        "You can watch it instantly from any VUDU device tied to your account."],
      successFooter: vuduDefault.successFooter
    },
    { name : ["paramount"], /* must be all lower case */
      image: ["resources/5dollar_banner.png"],
      body: [ "<p class=\"vudu-label-title\">Redeem Movie Credit: Step 1 of 2</p>"
        + "<p>Thank you for your recent purchase at Walmart. To get "
        + "your $5 in free movie credits on VUDU, please enter the promotion code on "
        + "the sticker from your DVD/Blu-ray package in the space below. "
        + "Limit 5 redemptions per customer.</p>"],
      intro: vuduDefault.intro,
      introWidth: ["400"], /* in pixels */
      footer: vuduDefault.footer,
      success: ["<p>Congratulations!  You now have "
        + "$5 in movie credits in your VUDU account.  Unused credits will "
        + "expire 1 year from today.</p>"
        + "<br/>"
        + "<p>If you would like to complete account set-up so that you can watch more movies on VUDU after you have used your free credit, or make changes to an existing account, please click below.</p>"],
      successFooter: vuduDefault.successFooter
     },
     { name : ["lgcinema3d"], /* must be all lower case */
       image: ["resources/promo_lgcinema3d.jpg"],
       body: [ "<p class=\"vudu-label-title\">Promotion Redemption: Step 1 of 2</p>"
         + "<p>Thank you for your recent LG purchase. In a few easy steps, "
         + "you will soon be able to enjoy VUDU digital content instantly on "
         + "your NEW LG Cinema 3D TV!  Life's Good!</p>"
         + "<p>To receive your $200&dagger; VUDU account credit, please enter the "
         + "promotion code provided, from the offer letter you received, in "
         + "the space below.  Code and account credits expire June 21, 2012. "
         + "Limit 5 redemptions per customer."],
       intro: vuduDefault.intro,
       introWidth: ["400"], /* in pixels */
       footer: [ "<p style=\"font-size:9px\">&dagger;LG Electronics USA, Inc. "
         + "will not be responsible for any recipients' failure to use full "
         + "$200 VUDU content reward code amount and will also not be "
         + "responsible for any additional charges incurred after the credit "
         + "is consumed or expires unused.  New VUDU customers will be "
         + "required to activate an account on VUDU with a valid credit card "
         + "to complete any transactions after June 21, 2012.</p>"],
       success: ["<p>Thank you, your $200&dagger; VUDU account credit has been issued. "
         + "You can now choose to rent or purchase the digital content titles "
         + "of your choice instantly from your NEW LG Cinema 3D TV.  "
         + "Life's Good!</p>"],
       successFooter: [ "<p style=\"font-size:9px; margin-top:250px\">&dagger;LG Electronics USA, Inc. "
         + "will not be responsible for any recipients' failure to use full "
         + "$200 VUDU content reward code amount and will also not be "
         + "responsible for any additional charges incurred after the credit "
         + "is consumed or expires unused.  New VUDU customers will be "
         + "required to activate an account on VUDU with a valid credit card "
         + "to complete any transactions after June 21, 2012.</p>"]
     },
     { name : ["lgsmarttv"], /* must be all lower case */
       image: ["resources/promo_lgsmarttv.png"],
       body: [ "<p class=\"vudu-label-title\">Promotion Redemption: Step 1 of 2</p>"
         + "<p>Thank you for your recent LG purchase. In a few easy steps, "
         + "you will soon be able to enjoy VUDU digital content instantly on "
         + "your NEW LG SMART TV!  Life's Good!</p>"
         + "<p>To receive your $100&dagger; VUDU account credit, please enter the "
         + "promotion code provided, from the offer letter you received, in "
         + "the space below.  Code and account credits expire July 26, 2012. "
         + "Limit 5 redemptions per customer."],
       intro: vuduDefault.intro,
       introWidth: ["400"], /* in pixels */
       footer: [ "<p style=\"font-size:9px\">&dagger;LG Electronics USA, Inc. "
         + "will not be responsible for any recipients' failure to use full "
         + "$100 VUDU content reward code amount and will also not be "
         + "responsible for any additional charges incurred after the credit "
         + "is consumed or expires unused.  New VUDU customers will be "
         + "required to activate an account on VUDU with a valid credit card "
         + "to complete any transactions after July 26, 2012.</p>"],
       success: ["<p>Thank you, your $100&dagger; VUDU account credit has been issued. "
         + "You can now choose to rent or purchase the digital content titles "
         + "of your choice instantly from your NEW LG SMART TV.  "
         + "Life's Good!</p>"],
       successFooter: [ "<p style=\"font-size:9px; margin-top:250px\">&dagger;LG Electronics USA, Inc. "
         + "will not be responsible for any recipients' failure to use full "
         + "$100 VUDU content reward code amount and will also not be "
         + "responsible for any additional charges incurred after the credit "
         + "is consumed or expires unused.  New VUDU customers will be "
         + "required to activate an account on VUDU with a valid credit card "
         + "to complete any transactions after July 26, 2012.</p>"]
     }
  ]},

  loginExtraButton        : "wmt",

  buildChange             : "BUILD_CHANGE",

  deluxePartnerErrorText   : {
      partner03 : ["<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>" +
          "<p class=\"deluxe-header\">Due to an error, we couldn't " +
          "redeem the offer.</p>" +
          "<p class=\"deluxe-plain-text\">Please, contact Paramount " +
          "Home Entertainment customer care at " +
          "<a href=\"http://www.paramountdigitalcopy.com/support/contact.html\" >" +
          "http://www.paramountdigitalcopy.com/support/contact.html</a>.</p>" +
          "<p class=\"deluxe-plain-text\">You may now close this window.</p>"],
      partner04 : ["<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>" +
          "<p class=\"deluxe-header\">Due to an error, we couldn't " +
          "redeem the offer.</p>" +
          "<p class=\"deluxe-plain-text\">Please, contact Universal Studios " +
          "Home Entertainment customer care at " +
          "<a href=\"http://www.universaldigitalcopy.com/support/contact\" >" +
          "http://www.universaldigitalcopy.com/support/contact</a>.</p>" +
          "<p class=\"deluxe-plain-text\">You may now close this window.</p>"]
  }
};



var config = {
  enableComments           : false,
  enableDownloads          : true,
  pageContainerId          : "widgetContainer",
  cookieDomain             : ".vudu.com",

  api                      : "http://apicache.vudu.com/api2/",
  secureApi                : "https://api.vudu.com/api2/",
  kickstartServer          : "https://startup.vudu.com/kickstart/webSocketUserQuery",

  mediaImagesUrl           : "http://images2.vudu.com/",
  secureMediaImagesUrl     : "https://images.vudu.com/",

  myLogin                  : "https://my.vudu.com/MyLogin.html",
  myExternalLogin		   : "https://my.vudu.com/MyEmbeddedLogin.html",
  accountCreate            : "https://my.vudu.com/AccountCreate.html",
  passwordResetUrl         : "https://my.vudu.com/PasswordReset.html",
  webHomePage              : "http://www.vudu.com",
  ps3page				   : "http://www.vudu.com/setup_ps3.html",
  tvBlueRayPage			   : "http://www.vudu.com/setup_hdtv.html",
  referAFriendUrl          : "http://www.vudu.com/referafriend.html",
  moviesPageUrl            : "http://www.vudu.com/movies/",

  playbackSize             : "960px:540px",
  playbackFlashUrl         : "http://www.vudu.com/flash/StrobeMediaPlayback.swf",
  debugPlaybackFlashUrl	   : "http://www.vudu.com/flash/StrobeMediaPlaybackDebug.swf",
  playbackInstallUrl       : "http://www.vudu.com/flash/expressInstall.swf",
  downloaderLauncherUrl    : "http://www.vudu.com/flash/DownloaderLauncher.swf",
  playbackFlashNetwork     : "production",
  editionLocationFetechIntervalSec : 86300,

  playbackErrorMessage	   : "Issue encountered while playing the movie, please try again later",

  iosPlayableContentIds	   : "185654,181828,178811,187576,181808,181833,181853,178840,168654,162094,178854,181848,181838,129072,178835,167771",
  htmlVideoUrl             : "http://unsecure.sw.vudu.com/${0}/${1}/livestream/program.m3u8",
  loginExtraButton         : "wmt",
  buildChange              : "Amir-Local",

  showReferAFriendLink     : true,
  referAFriendBtnPromoText : "Get a $3.99 credit",
  showMovieDetailPopupOnHover : true
};

