var el = el || {};
el.homepage_slideshow_content = {
  unsupported_browser_image: "/home/images/041111_apr_refresh/pos1_daywear_bg.jpg",

  sections: [ // ------------------- Slideshow CTA Rollover Sections -------------------
    
    {
      url: "/templates/product/spp.tmpl?CATEGORY_ID=CAT28050&PRODUCT_ID=PROD96805",
      title: "Avant-Première Soin",
      image: "/images/homepage/hp1_rollover_anr.jpg",
      metrics_element_id: "EVERY DAY OFFER",
      metrics_category_id: "Homepage"
    },
    
    {
      url: "/templates/product/spp.tmpl?CATEGORY_ID=CAT31831&PRODUCT_ID=PROD99860",
      title: "Soin Teinté",
      image: "/images/homepage/hp2_rollover_daywear.jpg",
      metrics_element_id: "Pink Ribbon 2011",
      metrics_category_id: "Homepage"
    },
    
    {
      url: "/templates/product/mpp.tmpl?CATEGORY_ID=CAT24092",
      title: "Coffrets Mascara",
      image: "/images/homepage/hp3_rollover_mascara.jpg",
      metrics_element_id: "Repair Duo Set",
      metrics_category_id: "Homepage"
    },
    
    {
      url: "/service_client/pourquoi_acheter_en_ligne.tmpl",
      title: "Pourquoi acheter en Ligne ?",
      image: "/images/homepage/hp4_rollover_acherter_en_ligne.jpg",
      metrics_element_id: "Join Estee Lauder on Facebook",
      metrics_category_id: "Homepage"
    }
  
  ],
  
  
  slideshow: {
    
    slides: [    // ------------------- Slideshow Slide Content -------------------

      {
        name: "slide1",
        interval: "7",
        background_color: "#000",
        metrics_id: "DayWear_JS",
        onload: {"animation":"jq_fade_in,1"},
        onunload: {"animation":"jq_fade_out,2"},
        layers: [
            
            // Images
            {
              onload: {"animation":["jq_wait,2", "jq_fade_in,0.25"]},
              onclick: {"url":"/templates/product/spp.tmpl?CATEGORY_ID=CAT24051&PRODUCT_ID=PROD100221"},
              type: "image", x: "0", y: "0",
              src: "/images/homepage/hp1_idealist_bg.jpg"
            },
            {
              onload: {"animation":["jq_wait,3", "jq_fade_in,0.25"]},
              onclick: {"url":"/templates/product/spp.tmpl?CATEGORY_ID=CAT24051&PRODUCT_ID=PROD100221"},
              type: "image", x: "0", y: "0",
              src: "/images/homepage/hp1_idealist_prod.jpg"
            }
            
            /**
            // Copy
            {
              onload: {"animation":["jq_wait,4", "jq_fade_in,0.25"]},
              type: "text", x: "390", y: "125", width: "185", height: "50",
              text: "New.",
              style: "text-shadow: #fff 0px 0px 15px; font-size: 25px; letter-spacing:0px; text-align:left; font-family: OptimaDisplayBook;"
            },
            {
              onload: {"animation":["jq_wait,4", "jq_fade_in,0.25"]},
              type: "text", x: "390", y: "150", width: "200", height: "50",
              text: "Resilience Lift",
              style: "font-size: 25px; letter-spacing:0px; text-align:left; font-family: OptimaDisplayBook;"
            },
            {
              onload: {"animation":["jq_wait,5", "jq_fade_in,0.25"]},
              type: "text", x: "390", y: "185", width: "185", height: "50",
              text: "Now, Look as Young as You Feel",
              style: "font-size: 15px; letter-spacing:0px; text-align:left; font-family: OptimaDisplayBook;"
            },
            {
              onload: {"animation":["jq_wait,6", "jq_fade_in,0.25"]},
              type: "text", x: "390", y: "230", width: "185", height: "50",
              text: "LEARN MORE &raquo;",
              style: "color: #ecca88; font-size: 13px; letter-spacing:0px; text-align:left; font-family:Arial;"
            }
            **/

          ]
      }
 
     ],
    
    // ------------------- Slideshow Settings -------------------
    
    "width":      "970",
    "height":     "440",
    "autoplay" :  "true",
    "loop" :      "true",
    "zindexes" :  {
      "underlays" :     "0",
      "slides" :        "10",
      "slidelayers" :   "20",
      "slideoverlays" : "30",
      "overlays" :      "40"
    },
    "underlay" : {},
    "overlay" : {   // Slideshow Play/Pause/Next/Previous Controller
      layers: [
          {
            name:"prev",
            type: "image",
            onload: {"animation":"jq_fade_in,1"},
            onclick: {"script": "el.slideshow_player.previous_slide();"},
            x: "895",
            y: "13",
            width: "23",
            height: "19",
            src: "/images/slideshow/button_prev.gif"
          },
          {
            name:"playpause",
            type: "image",
            onload: {"animation":"jq_fade_in,1"},
            onclick: {"script": "el.slideshow_player.toggle_autoplay();"},
            x: "917",
            y: "13",
            width: "18",
            height: "19",
            src: "/images/slideshow/button_play.gif",
            "assets" : ["/images/slideshow/button_play.gif", "/images/slideshow/button_pause.gif"]
          },
          {
            name:"next",
            type: "image",
            onload: {"animation":"jq_fade_in,1"},
            onclick: {"script": "el.slideshow_player.next_slide();"},
            x: "934",
            y: "13",
            width: "23",
            height: "19",
            src: "/images/slideshow/button_next.gif"
          }    
        ]
      }
    }
  
};
