//tealium universal tag - utag.loader ut4.0.201202230721, Copyright 2012 Tealium.com Inc. All Rights Reserved.
var utag_condload=false;
try{
function utag_condloader(src,a,b){a=document;b=a.createElement('script');b.language='javascript';b.type='text/javascript';b.src=src;a.getElementsByTagName('head')[0].appendChild(b)};
var utag_lh=location.hostname;
if(location.hostname=="mobistar-after8.staging.nascom.be"){utag_condloader('//tealium.hs.llnwd.net/o43/utag/mobistar/main/qa/utag.js');utag_condload=true}
}catch(e){};
if(!utag_condload){try{/* OPTIMOST GLOBAL HEAD CODE V2.22a - Copyright 2002-2011 Autonomy Optimost */

// Set opIsLive to true in live environment, and false in staging or test environment.
var opIsLive = true;
if(location.hostname=="mobistar-after8.staging.nascom.be")opIsLive=false;
var opLiveUrl="/es/607/c/1/u/mobistar_live.js";
var opQaUrl="/es/607/c/1/u/mobistar_staging.js";
var opCDomain="mobistar.be";
var optimost={A:{},C:{},D:document,L:document.location,M:[],Q:{},T:new Date(),U:'',V:'2.7',Enabled:true,ST:"script",SA:
{"type":"text/javascript"},I:function(){var s=this.L.search;var c=this.D.cookie;if(s.length>3){for(var a=s.substring(1)
.split("&"),i=0,l=a.length;i<l;i++){var p=a[i].indexOf("=");if(p>0)this.Q[a[i].substring(0,p)]=unescape(a[i].substring(
p+1));}}if(c.length>3){for(var a=c.split(";"),i=0,b=a.length;i<b;i++){var v=a[i].split("=");while(v[0].substring(0,
1)==" ")v[0]=v[0].substring(1,v[0].length);if(v.length==2)this.C[v[0]]=unescape(v[1]);}}},B:function(){var n;this.A={
};var _o=this;this.A.D_ts=Math.round(_o.T.getTime()/1000);this.A.D_tzo=_o.T.getTimezoneOffset();this.A.D_loc=_o.L.protocol+
"//"+_o.L.hostname+_o.L.pathname;this.A.D_ckl=_o.D.cookie.length;this.A.D_ref=_o.D.referrer;if(typeof optrial=="object")
for(n in optrial)this.A[n]=optrial[n];for(n in this.Q)this.A[n]=this.Q[n];for(n in this.C)if(n.substring(0,2)=="op")this.A[n]=
this.C[n];},S:function(){var q='';for(var n in this.A)if(this.A[n]!=null && this.A[n]!="")q+=(q.length>0?"&":(this.U.indexOf(
"?")>0?"&":"?"))+n+"="+escape(this.A[n]);return this.U+q;},SC:function(n,v,e,d){var de=new Date();de.setTime(de.getTime()+
e*1000);this.D.cookie=n+"="+escape(v)+((e==null)?"":("; expires="+de.toGMTString()))+"; path=/"+((d==null)?"":(";domain="+d))
},SLD:function(){var sld=this.D.domain;var dp=sld.split(".");var l=dp.length;if(l<2)sld=null;else if(!isNaN(dp[l-1])&&!isNaN(
dp[l-2]))sld=null;else sld="."+dp[l-2]+"."+dp[l-1];return sld;},R:function(r,c,d,e){if(this.Enabled){var b=true;if(r<1000){
b=(Math.floor(Math.random()*1000)<r);if(c!=null){if(this.C[c]!=null)b=(this.C[c]!="mvt-no");else this.SC(c,b?"mvt-yes":"mvt-no",
e,d);}}if(b){
//var scr=document.createElement('script');scr.src=this.S();document.getElementsByTagName('head')[0].appendChild(scr);
document.write('<script type="text/javascript" src="'+this.S()+'"></scr'+'ipt>');
}}},addModule:function(s,f){this.M[s]=f;},displayModule:function(s){if(typeof this.M[s]=="function")this.M[s]();},hasModules:
function(){return count(this.M)>0;},cStyle:function(st,sId){if (document.getElementById(sId)==null){var head=
document.getElementsByTagName('head')[0];style = document.createElement('style');if(sId)style.setAttribute('id',sId);
rules = document.createTextNode(st);style.type = 'text/css';if(style.styleSheet)style.styleSheet.cssText = rules.nodeValue;
else style.appendChild(rules);head.appendChild(style);}},rStyle:function(sId){var st = document.getElementById(sId);if(st){
st.parentNode.removeChild(st);}}};optimost.I();optimost.cssN = 0;optrial=(typeof optrial=='object')?optrial:new Object;
opcounter=(typeof opcounter=='object')?opcounter:new Object;var _opF=function(s){var p=optimost.L.protocol;return p+((p==
'http:')?'//by.optimost.com/':'//by.essl.optimost.com/by/')+s};function OpExperiment(u,m){if(typeof u !='string')this.url='';
else{if(u.match(/trial\//)){u=u.substring(u.indexOf('trial/'));this.url=_opF(u)}else this.url=''}if(typeof m=='string'){
this.modules=[];this.modules.push(m)}else if(typeof m=='object') this.modules=m;this.enabled=true;this.ratio=1000;
this.cookieName=null;this.domain=null;this.expiry=null;this.hideCSS='';this.trialCodeLow=false;this.run=_opRunE;
this.attribute=function(){};this.dMs=function(){for(var _i=0;_i<this.modules.length;_i++)optimost.displayModule(
this.modules[_i])}}function _opRunE(p){if(this.url!=''){if((!this.trialCodeLow&&(typeof p!='string'||p!='low'))||
(this.trialCodeLow&&p=='low')){this.attribute();var _o=optimost;_o.U=this.url;_o.B();if(this.enabled)_o.R(this.ratio,
this.cookieName,this.domain,this.expiry)} else if(this.hideCSS!=''&&(typeof p!='string'||p!='low')){_o.cStyle(this.hideCSS,
'opCssHide'+optimost.cssN);optimost.cssN++;}if(typeof _opEs=='undefined')window._opEs=[];if(p!='low')_opEs.push(this)}}
function OpCounter(u){if(typeof u!='string')this.url='';else{if(u.match(/counter\//)){u=u.substring(u.indexOf('counter/'));
this.url=_opF(u);} else this.url='';}this.attribute=function(){};this.add=function(){if(typeof _opCs=='undefined')window._opCs
=[];_opCs.push(this)};this.run=function(){this.attribute();if(this.url!=''){var _o=optimost;_o.U=this.url;var _ot=optrial;
optrial=opcounter;_o.B();optrial=_ot;
//var scr=document.createElement('script');scr.src=_o.S();document.getElementsByTagName('head')[0].appendChild(scr);
document.write('<script type="text/javascript" src="'+_o.S()+'"></scr'+'ipt>');
}};this.add()}function opGetC(cN){if(typeof optimost=='object'){for(n in optimost.C)if(n==cN)
return optimost.C[n]}return null}function opSetC(n,v,d){document.cookie=n+"="+escape(v)+";path=/"+((d==null)?"":(";domain="+d))}
function opGetDm(){if(typeof opCDomain=='string'&&document.domain.indexOf(opCDomain)!=-1)return opCDomain;else return null}var
opTUrl=optimost.L.toString();var opD=((opTUrl.split('//')[0]!='http:')?'https://by.essl':'http://es')+'.optimost.com/';opLiveUrl=
opD+opLiveUrl.substring(opLiveUrl.indexOf('es/'));opQaUrl=opD+opQaUrl.substring(opQaUrl.indexOf('es/'));var opJsUrl=opQaUrl;if(
opIsLive==true){opJsUrl=opLiveUrl}if(opTUrl.indexOf('opglobalqa=true')!=-1){opSetC('opglobalqa','true',opGetDm());var opGQa=true}
else if(opTUrl.indexOf('opglobalqa=false')!=-1){opSetC('opglobalqa','false',opGetDm());var opGQa=false}else var opGQa=(opGetC(
'opglobalqa')=='true');if(opGQa)opJsUrl=opQaUrl;var opDs=Math.round(optimost.T.getTime()/(3600000*24));

//var opScr=document.createElement('script');opScr.src=opJsUrl+'?D_ds='+opDs;document.getElementsByTagName('head')[0].appendChild(opScr);
document.write('<script type="text/javascript" src="'+opJsUrl+'?D_ds='+opDs+'"></scr'+'ipt>');

}catch(e){}};
if (typeof utag == "undefined" && !utag_condload) {
  var utag = {
    sender: {},
    send: {},
    rpt: {
      ts: {
        a: new Date()
      }
    },
    dbi: [],
    loader: {
      q: [],
      lc: 0,
      f: {},
      p: 0,
      ol: 0,
      wq: [],
      ft: 0,
      rf: 0,
      ri: 0,
      rp: 0,
      rq: [],
      lh: function(a, b) {
        a = "" + location.hostname;
        b = a.split(".");
        return b.splice(b.length - 2, 2).join(".");
      },
      WQ: function(a, b, c, d) {
        utag.DB('WQ:' + utag.loader.wq.length);
        c = true;
        try {
          utag.loader.GET()
        } catch (e) {};
        var lq = [];
        for (a = 0; a < utag.loader.wq.length; a++) {
          b = utag.loader.wq[a];
	  b.load = utag.loader.cfg[b.id].load;
          if (b.load > 0) {
            if (b.send) {
              c = false;
              utag.send[b.id] = b;
              this.f[b.id] = 0;
            }
            lq.push(b);
          }
        }
        if (c) {
          d = false;
          for (b in utag.loader.GV(utag.send)) d = true;
          if (c && d) this.LOAD('WAIT_FORCE');
        }
        this.wq = [];
        for (a = 0; a < lq.length; a++) {
          utag.DB('utag.loader.WAIT: loading ' + lq[a].id);
          utag.loader.AS(lq[a])
        }
      },
      AS: function(a, b, c, d) {
        utag.sender[a.id] = a;
        if (typeof a.src == 'undefined') {
          a.src = utag.cfg.path + ((typeof a.name != 'undefined') ? a.name : 'utag.' + a.id + '.js')
        }
        if (utag.cfg.v) a.src += (a.src.indexOf('?') > 0 ? '&' : '?') + 'utv=' + utag.cfg.v;
        utag.rpt['l_' + a.id] = a.src;
        b = document;
        if (a.load == 2) {
          b.write('<script id="' + a.id + '" src="' + a.src + '"></scr' + 'ipt>')
        } else {
          if (b.createElement) {
            c = a.id;
            if (!b.getElementById(c)) {
              if (a.load == 3) {
                d = b.createElement('iframe');
                d.setAttribute('height', '1');
                d.setAttribute('width', '1');
                d.setAttribute('style', 'display:none');
                d.setAttribute('src', a.src)
              } else {
                d = b.createElement('script');
                d.language = 'javascript';
                d.type = 'text/javascript';
                d.src = a.src
              }
              d.id = c;
              b.getElementsByTagName('head')[0].appendChild(d)
            }
          }
        }
      },
      GV: function(a, b, c) {
        b = {};
        for (c in a) {
          if (typeof a[c] != "function") b[c] = a[c];
        }
        return b
      },
      RD: function(o, a, b, c, d, e, f, g) {
        a = document.getElementsByTagName("meta");
        for (b = 0; b < a.length; b++) {
          if (a[b].name && a[b].name != "") o["meta." + a[b].name.toLowerCase()] = a[b].content.toLowerCase();
        }
        a = location.search.toLowerCase();
        if (a.length > 1) {
          b = a.substring(1).split('&');
          for (a = 0; a < b.length; a++) {
            c = b[a].split("=");
            o["qp." + c[0]] = unescape(c[1])
          }
        }
        a = (new Date()).getTime();
        b = utag.loader.RC();
        c = a + parseInt(utag.cfg.session_timeout);
        d = a + (Math.ceil(Math.random() * 1000000));
        if ((b.utag_main && (typeof b.utag_main._st == "undefined" || (typeof b.utag_main._st != "undefined" && parseInt(b.utag_main._st) < a))) || !b.utag_main) {
          if (b.utag_main) {
            b.utag_main._st = c;
            b.utag_main.ses_id = d;
          } else {
            b.utag_main = {
              _st: c,
              ses_id: d
            }
          }
          utag.loader.SC("utag_main", {
            "_st": c,
            "ses_id": d + ";exp-session"
          });
        } else {
          utag.loader.SC("utag_main", {
            "_st": c
          })
        }
        for (d in b) {
          if (d.match(/utag_(.*)/)) {
            for (c in utag.loader.GV(b[d])) {
              o["cp.utag_" + RegExp.$1 + "_" + c] = b[d][c];
            }
          }
        }
        for (c in utag.loader.GV((utag.cl && !utag.cl['_all_']) ? utag.cl : b)) {
          if (c.indexOf("utag_") < 0 && typeof b[c] != "undefined") o["cp." + c] = b[c];
        }
        o["dom.referrer"] = eval("document." + "referrer");
        o["dom.title"] = "" + document.title;
        o["dom.domain"] = "" + location.hostname;
        o["dom.query_string"] = "" + (location.search).substring(1);
        o["dom.url"] = "" + document.URL;
        o["dom.pathname"] = "" + location.pathname;
      },
      RC: function(a, x, b, c, d, e, f, g, h, i, j, k, l, m, n, o, v, ck, cv) {
        o = {};
        b = ("" + document.cookie != "") ? (document.cookie).split("; ") : [];
        for (c = 0; c < b.length; c++) {
          if (b[c].match(/^(.*?)=(.*)$/)) {
            ck = RegExp.$1;
            cv = RegExp.$2;
          }
          e = unescape(cv);
          if (ck.indexOf("ulog") == 0 || ck.indexOf("utag_") == 0) {
            e = e.split("$");
            g = [];
            j = {};
            for (f = 0; f < e.length; f++) {
              g = e[f].split(":");
              if (g.length > 2) {
                g[1] = g.slice(1).join(":");
              }
              v = "";
              if (("" + g[1]).indexOf("~") == 0) {
                h = g[1].substring(1).split("|");
                for (i = 0; i < h.length; i++) h[i] = unescape(h[i]);
                v = h
              } else v = unescape(g[1]);
              j[g[0]] = v
            }
            o[ck] = {};
            e = (new Date()).getTime();
            for (f in utag.loader.GV(j)) {
              if (j[f] instanceof Array) {
                n = [];
                for (m = 0; m < j[f].length; m++) {
                  if (j[f][m].match(/^(.*);exp-(.*)$/)) {
                    k = (RegExp.$2 == "session") ? (typeof j._st != "undefined" ? j._st : e - 1) : parseInt(RegExp.$2);
                    if (k > e) n[m] = (x == 0) ? j[f][m] : RegExp.$1;
                  }
                }
                j[f] = n.join("|");
              } else {
                j[f] = "" + j[f];
                if (j[f].match(/^(.*);exp-(.*)$/)) {
                  k = (RegExp.$2 == "session") ? (typeof j._st != "undefined" ? j._st : e - 1) : parseInt(RegExp.$2);
                  j[f] = (k < e) ? null : (x == 0 ? j[f] : RegExp.$1);
                }
              }
              if (j[f]) o[ck][f] = j[f];
            }
          } else if (utag.cl[ck] || utag.cl['_all_']) {
            o[ck] = e
          }
        }
        return (a) ? (o[a] ? o[a] : {}) : o;
      },
      SC: function(a, b, c, d, e, f, g, h, i, j, k, x, v) {
        if (!a) return 0;
        v = "";
        x = "Thu, 31 Dec 2099 00:00:00 GMT";
        if (c && c == "da") {
          x = "Thu, 31 Dec 2009 00:00:00 GMT";
        } else if (a.indexOf("utag_") != 0 && a.indexOf("ulog") != 0) {
          if (typeof b != "object") {
            v = b
          }
        } else {
          d = utag.loader.RC(a, 0);
          for (e in utag.loader.GV(b)) {
            f = "" + b[e];
            if (f.match(/^(.*);exp-(\d+)(\w)$/)) {
              g = (new Date()).getTime() + parseInt(RegExp.$2) * ((RegExp.$3 == "h") ? 3600000 : 86400000);
              f = RegExp.$1 + ";exp-" + g;
            }
            if (c == "i") {
              if (d[e] == null) d[e] = f;
            } else if (c == "d") delete d[e];
            else if (c == "a") d[e] = (d[e] != null) ? (f - 0) + (d[e] - 0) : f;
            else if (c == "ap" || c == "au") {
              if (d[e] == null) d[e] = f;
              else {
                if (d[e].indexOf("|") > 0) {
                  d[e] = d[e].split("|")
                }
                g = (d[e] instanceof Array) ? d[e] : [d[e]];
                g.push(f);
                if (c == "au") {
                  h = {};
                  k = {};
                  for (i = 0; i < g.length; i++) {
                    if (g[i].match(/^(.*);exp-(.*)$/)) {
                      j = RegExp.$1;
                    }
                    if (typeof k[j] == "undefined") {
                      k[j] = 1;
                      h[g[i]] = 1;
                    }
                  }
                  g = [];
                  for (i in utag.loader.GV(h)) {
                    g.push(i);
                  }
                }
                d[e] = g
              }
            } else d[e] = f;
          }
          h = new Array();
          for (g in utag.loader.GV(d)) {
            if (d[g] instanceof Array) {
              for (c = 0; c < d[g].length; c++) {
                d[g][c] = escape(d[g][c])
              }
              h.push(g + ":~" + d[g].join("|"))
            } else h.push(g + ":" + escape(d[g]))
          };
          if (h.length == 0) {
            h.push("");
            x = ""
          }
          v = (h.join("$"));
        }
        document.cookie = a + "=" + v + ";path=/;domain=" + utag.cfg.domain + ";expires=" + x;
        return 1
      },
      LOAD: function(a, b, c, d) {
        utag.DB('utag.loader.LOAD:' + a);
        if (this.f[a] == 0) {
          utag.DB('utag.loader.LOAD:add sender-' + a);
          this.f[a] = 1;
          if (utag.loader.wq.length > 0) return;
          for (b in utag.loader.GV(this.f)) {
            if (this.f[b] == 0) return
          };
          utag.DB('CLEAR FORCE');
          clearTimeout(utag.loader.ft);
          utag.DB('utag.handler.INIT');
          utag.handler.INIT()
        }
      },
      EV: function(a, b, c, d) {
        if (b == "ready") {
          if (document.readyState === "complete") setTimeout(c, 1);
          else {
            var RH;
            if (document.addEventListener) {
              RH = function() {
                document.removeEventListener("DOMContentLoaded", RH, false);
                c()
              };
              document.addEventListener("DOMContentLoaded", RH, false);
              window.addEventListener("load", c, false);
            } else if (document.attachEvent) {
              RH = function() {
                if (document.readyState === "complete") {
                  document.detachEvent("onreadystatechange", RH);
                  c()
                }
              }
              document.attachEvent("onreadystatechange", RH);
              window.attachEvent("onload", c);
            }
          }
        } else {
          if (a.addEventListener) {
            a.addEventListener(b, c, false)
          } else if (a.attachEvent) {
            a.attachEvent(((d == 1) ? "" : "on") + b, c)
          }
        }
      }
    },
    DB: function(a, b) {
      try {
        b = document.cookie;
        if (b.indexOf('utagdb=true') >= 0) console.log(a)
      } catch (e) {}
    },
    RP: function(a, b, c) {
      if (typeof a != 'undefined' && typeof a.src != 'undefined' && a.src != '') {
        b = [];
        for (c in utag.loader.GV(a)) {
          if (c != 'src') b.push(c + '=' + escape(a[c]));
        }
        this.dbi.push((new Image()).src = a.src + '?utv=' + utag.cfg.v + '&utid=' + utag.cfg.utid + '&' + (b.join('&')));
      }
    },
    view: function(a) {
      this.handler.trigger('view', a)
    },
    link: function(a) {
      this.handler.trigger('link', a)
    },
    handler: {
      base: "",
      df: {},
      o: {},
      send: {},
      iflag: 0,
      INIT: function(a, b, c) {
        this.iflag = 1;
        a = utag.loader.q.length;
        if (a > 0) {
          for (b = 0; b < a; b++) {
            c = utag.loader.q[b];
            utag.handler.trigger(c.a, c.b)
          }
        }
        utag.handler.trigger('view', utag.data)
      },
      test: function() {
        return 1
      },
      trigger: function(a, b, c, d) {
        b = b || {};
        if (!this.iflag) {
          utag.loader.q.push({
            a: a,
            b: b
          });
          return;
        }
        for (c in utag.loader.GV(this.df)) {
          if (typeof this.df[c] != "function" && typeof b[c] == "undefined") b[c] = this.df[c]
        }
        for (c = 0; c < this.extend.length; c++) {
          try {
            this.extend[c](a, b);
            utag.rpt['ex_' + c] = 0
          } catch (e) {
            utag.rpt['ex_' + c] = 1
          }
        };
        for (c in utag.loader.GV(utag.send)) {
          if (typeof utag.sender[c] != "undefined") {
            try {
              utag.sender[c].send(a, utag.handler.C(b));
              utag.rpt['s_' + c] = 0
            } catch (e) {
              utag.rpt['s_' + c] = 1
            };
            utag.rpt.ts['s'] = new Date();
            utag.RP(utag.rpt);
          }
        }
        c = this.base.split(",");
        for (d = 0; d < c.length; d++) {
          if (typeof b[c[d]] != "undefined") this.df[c[d]] = b[c[d]]
        }
        this.o = b
      },
      C: function(a, b, c, d) {
        b = {};
        for (c in utag.loader.GV(a)) {
          if (typeof a[c] != "function") b[c] = a[c]
        }
        return b
      }
    }
  };
  utag.cfg = {
    v: "ut4.0.201202230721",
    session_timeout: 1800000,
    readywait: 0,
    noload: 0,
    forcetimeout: 3000,
    domain: utag.loader.lh(),
    path: "//tealium.hs.llnwd.net/o43/utag/mobistar/main/prod/",
    utid: "mobistar/main/201202142309"
  };try{var _gaq=_gaq || [];var pageTracker=pageTracker || {_trackEvent:function(c,d,e,f,g){g={ga_eventCat:c,ga_eventAction:d,ga_eventLabel:e,ga_eventValue:f};utag.link(g);},_trackPageview:function(c){_gaq.push(['_trackPageview',c?c:null]);}}}catch(e){};utag.cond={11:0,21:0,7:0,26:0,2:0,17:0,22:0,18:0,30:0,16:0,13:0,23:0,29:0,6:0,27:0,25:0,28:0,3:0,9:0,12:0,15:0,20:0,14:0,8:0,4:0,24:0,19:0,10:0,5:0};
utag.pre=function(){utag.data=(typeof utag_data!='undefined')?utag_data:{};try{utag.loader.RD(utag.data);try{utag.cond[11]|=(utag.data['dom.pathname'].indexOf('/nl/aanbod/')==0)||(utag.data['dom.pathname'].indexOf('/fr/offre/')==0)||(utag.data['page_type']=='homepage')}catch(e){};try{utag.cond[21]|=(utag.data['page_type']=='confirmation'&&/ibimfl|irimfl|imimfl|ibasicfl|irelaxfl|imaxfl/i.test(utag.data['prod_name']))||(utag.data['dom.pathname'].indexOf('/checkout/complete')>-1&&/ibimfl|irimfl|imimfl|ibasicfl|irelaxfl|imaxfl/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[7]|=(utag.data['page_type']=='confirmation'&&utag.data['cp.utag_main_affcredit']=='netaff')}catch(e){};try{utag.cond[26]|=(utag.data['prod_name']=='sp3')}catch(e){};try{utag.cond[17]|=(utag.data['page_type']=='confirmation'&&/iewtick|iewday|iewmrx|iewmmx|ipad15|ipad25/i.test(utag.data['prod_name']))||(utag.data['dom.pathname'].indexOf('/checkout/complete')>-1&&/iewtick|iewday|iewmrx|iewmmx|ipad15|ipad25/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[2]|=(/homepage|promotion|overview|product|confirmation/.test(utag.data['page_type']))}catch(e){};try{utag.cond[22]|=(/bestdeal|My5|My10|My15|My25|My45|My70|My99|unlimitd|iphone30|iphone45|iphone60/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[18]|=(utag.data['page_type']=='confirmation'&&/sp3/i.test(utag.data['prod_name']))||(utag.data['dom.pathname'].indexOf('/checkout/complete')>-1&&/sp3/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[30]|=(utag.data['page_type']=='homepage')}catch(e){};try{utag.cond[23]|=(/talk|text|tribe|start/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[13]|=(utag.data['language']=='nl')||(utag.data['dom.pathname']=='/nl')||(utag.data['dom.pathname'].indexOf('/nl/')>-1)}catch(e){};try{utag.cond[16]|=(utag.data['page_type']=='confirmation'&&/ibasic|irelax|imax/i.test(utag.data['prod_name']))||(utag.data['dom.pathname'].indexOf('/checkout/complete')>-1&&utag.data['prod_name'].indexOf('/ibasic|irelax|imax/i')>-1)}catch(e){};try{utag.cond[29]|=(/ibimfl|irimfl|imimfl|ibasicfl|irelaxfl|imaxfl/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[6]|=(utag.data['page_type']=='confirmation'&&utag.data['cp.utag_main_affcredit']=='zanox')}catch(e){};try{utag.cond[27]|=(utag.data['prod_name']=='sp4')}catch(e){};try{utag.cond[25]|=(/iewtick|iewday|iewmrx|iewmmx|ipad15|ipad25/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[28]|=(/ibasicim|irelaxim|imaxim/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[3]|=(/homepage|promotion|product|personal_data/.test(utag.data['page_type']))}catch(e){};try{utag.cond[9]|=(utag.data['dom.url'].indexOf('http:')==0)}catch(e){};try{utag.cond[12]|=(utag.data['language']=='fr')||(utag.data['dom.pathname']=='/fr')||(utag.data['dom.pathname'].indexOf('/fr/')>-1)}catch(e){};try{utag.cond[14]|=(utag.data['page_type']=='confirmation'&&/bestdeal|My5|My10|My15|My25|My45|My70|My99|unlimitd|iphone30|iphone45|iphone60/i.test(utag.data['prod_name']))||(utag.data['dom.pathname'].indexOf('/checkout/complete')>-1&&/bestdeal|My5|My10|My15|My25|My45|My70|My99|unlimitd|iphone30|iphone45|iphone60/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[20]|=(utag.data['page_type']=='confirmation'&&/ibasicim|irelaxim|imaxim/i.test(utag.data['prod_name']))||(utag.data['dom.pathname'].indexOf('/checkout/complete')>-1&&/ibasicim|irelaxim|imaxim/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[15]|=(utag.data['dom.pathname'].indexOf('/checkout/complete')>-1&&/talk|text|tribe|start/i.test(utag.data['prod_name']))||(utag.data['page_type']=='confirmation'&&/talk|text|tribe|start/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[8]|=(utag.data['page_type']=='confirmation'&&utag.data['cp.utag_main_affcredit']=='trade')}catch(e){};try{utag.cond[4]|=(utag.data['page_type']=='confirmation')||(utag.data['dom.pathname'].indexOf('/checkout/complete')>-1)}catch(e){};try{utag.cond[24]|=(/ibasic|irelax|imax/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[10]|=(/promotion|product/.test(utag.data['page_type']))}catch(e){};try{utag.cond[19]|=(utag.data['page_type']=='confirmation'&&/sp4/i.test(utag.data['prod_name']))||(utag.data['dom.pathname'].indexOf('/checkout/complete')>-1&&/sp4/i.test(utag.data['prod_name']))}catch(e){};try{utag.cond[5]|=(/promotion|product|confirmation/.test(utag.data['page_type']))}catch(e){};}catch(e){}};
utag.loader.GET=function(){utag.cl={'_all_':1};utag.pre();
  utag.handler.extend=[function(a,b,c,d){
  b._ccustid='';
  b._ctype=(typeof b['ord_trans']!='undefined')?b['ord_trans']:'';
  b._csubtotal=(typeof b['prod_total_price']!='undefined')?b['prod_total_price']:'';
  b._ccurrency=(typeof b['ord_currency']!='undefined')?b['ord_currency']:'';
  b._ccountry=(typeof b['cust_country']!='undefined')?b['cust_country']:'';
  b._ccity='';
  b._czip='';
  b._ctax='';
  b._cstore=(typeof b['site']!='undefined')?b['site']:'web';
  b._cship='';
  b._corder=(typeof b['ord_inv']!='undefined')?b['ord_inv']:'';
  b._cstate='';
  b._ctotal=(typeof b['prod_total_price']!='undefined')?b['prod_total_price']:'';
  b._cpromo='';
  b._cprod=(typeof b['prod_name']!='undefined'&&b['prod_name'].length>0)?b['prod_name'].split(';'):[];
  b._cprodname=(typeof b['prod_name']!='undefined'&&b['prod_name'].length>0)?b['prod_name'].split(';'):[];
  b._cbrand=[];
  b._ccat=(typeof b['prod_cat']!='undefined'&&b['prod_cat'].length>0)?b['prod_cat'].split(';'):[];
  b._ccat2=[];
  b._cquan=(typeof b['prod_qty']!='undefined'&&b['prod_qty'].length>0)?b['prod_qty'].split(';'):[];
  b._cprice=(typeof b['prod_price']!='undefined'&&b['prod_price'].length>0)?b['prod_price'].split(';'):[];
  b._csku=(typeof b['prod_sku']!='undefined'&&b['prod_sku'].length>0)?b['prod_sku'].split(';'):[];
  b._cpdisc=[];
  if(b._cprod.length==0){b._cprod=b._csku.slice()};
  if(b._cprodname.length==0){b._cprodname=b._csku.slice()};
  function tf(a){if(a=='' || isNaN(parseFloat(a))){return a}else{return (parseFloat(a)).toFixed(2)}};
  b._ctotal=tf(b._ctotal);b._csubtotal=tf(b._csubtotal);b._ctax=tf(b._ctax);b._cship=tf(b._cship);for(c=0;c<b._cprice.length;c++){b._cprice[c]=tf(b._cprice[c])};for(c=0;c<b._cpdisc.length;c++){b._cpdisc[c]=tf(b._cpdisc[c])};
},function(a,b){if(typeof b['ord_currency']=='undefined'){b['_ccurrency']='EUR'}},function(a,b,c,d,e,f,g){d=b['qp.ac_med'];if(typeof d=='undefined')return;c=[{'netaffiliation':'netaf'},{'netaff':'netaf'}];var m=false;for(e=0;e<c.length;e++){for(f in c[e]){if(d==f){b['qp.ac_med']=c[e][f];m=true};};if(m)break};},function(a,b,c,d,e,f,g){d=b['av_med'];if(typeof d=='undefined')return;c=[{'netaffiliation':'netaf'},{'netaff':'netaf'}];var m=false;for(e=0;e<c.length;e++){for(f in c[e]){if(d==f){b['av_med']=c[e][f];m=true};};if(m)break};},function(a,b){if(b["qp.zanpid"]){
  utag.loader.SC("utag_main",{zanpid:b["qp.zanpid"]+";exp-30d",aff:"zanox;exp-30d"});
  b['cp.utag_main_aff']="zanox";
}
if(b["qp.tduid"]){
  utag.loader.SC("utag_main",{tduid:b["qp.tduid"]+";exp-30d",aff:"trade;exp-30d"});
  b['cp.utag_main_aff']="trade";
}
if(b["qp.ac_med"]=='zanox'){
  utag.loader.SC("utag_main",{aff:"zanox;exp-30d"});
  b['cp.utag_main_aff']="zanox";
}
if(b["qp.ac_med"]=='trade'){
  utag.loader.SC("utag_main",{aff:"trade;exp-30d"});
  b['cp.utag_main_aff']="trade";
}
if(/netaf/.test(b["qp.ac_med"])){
  utag.loader.SC("utag_main",{aff:"netaff;exp-30d"});
  b['cp.utag_main_aff']="netaff";
}},function(a,b){var aff_cookie=utag.loader.RC('utag_main',0);
var aff_lived=0;
var affview_lived=0;
if(typeof aff_cookie.aff!='undefined' && typeof aff_cookie.affview!='undefined'){
  aff_lived=30*86400000+parseInt(b["cp.utag_main__st"])-parseInt(aff_cookie.aff.split('exp-')[1]);
  affview_lived=3*86400000+parseInt(b["cp.utag_main__st"])-parseInt(aff_cookie.affview.split('exp-')[1]);
}
if (aff_lived<affview_lived || (typeof aff_cookie.aff!='undefined' && aff_lived==0)){
  utag.loader.SC("utag_main",{affcredit:b['cp.utag_main_aff']+";exp-session"});
}else{
  utag.loader.SC("utag_main",{affcredit:b['cp.utag_main_affview']+";exp-session"});
}},function(a,b){if(b['page_type']=='confirmation'){b['rtn_usr']='client'}},function(a,b){if (typeof b['rtn_usr'] != 'undefined') {
  utag.loader.SC('utag_main', {'aut_usr': b['rtn_usr']});
}},function(a,b){if(typeof b['cp.utag_main_aut_usr']!='undefined'&&b['cp.utag_main_aut_usr']!=''){b['aut_usr']=b['cp.utag_main_aut_usr']}},function(a,b){if(typeof b['prod_name']!='undefined'){b['td_event']=b['prod_name'];b['netaff_mclic']=b['prod_name']}},function(a,b){if((typeof b['td_event']!='undefined'&&typeof b['td_event']!='undefined'&&b['td_event']!='')){try{b['td_event']=b.td_event.replace(/My5|My10|My15|bestdeal/gi,'207038')}catch(e){};try{b['td_event']=b.td_event.replace(/My25|My45|iphone30|iphone45/gi,'207040')}catch(e){};try{b['td_event']=b.td_event.replace(/My70|My99|iphone60/gi,'207042')}catch(e){};try{b['td_event']=b.td_event.replace(/iewtick|iewday|iewmrx|iewmmx/gi,'133093')}catch(e){};try{b['td_event']=b.td_event.replace(/ipad15|ipad25|ipad/gi,'133093')}catch(e){};try{b['td_event']=b.td_event.replace(/imimfl|irimfl|ibimfl|imaxfl|irelaxfl|ibasicfl/gi,'54187')}catch(e){};try{b['td_event']=b.td_event.replace(/ibasicim|irelaxim|imaxim/gi,'206581')}catch(e){};try{b['td_event']=b.td_event.replace(/imax|irelax|ibasic/gi,'54187')}catch(e){};try{b['td_event']=b.td_event.replace(/sp3|sp4/gi,'209186')}catch(e){};try{b['td_event']=b.td_event.replace(/talk/gi,'220594')}catch(e){};try{b['td_event']=b.td_event.replace(/text/gi,'220596')}catch(e){};try{b['td_event']=b.td_event.replace(/tribe/gi,'220598')}catch(e){};try{b['td_event']=b.td_event.replace(/start/gi,'248976')}catch(e){}}},function(a,b){if((typeof b['qp.tduid']!='undefined'&&typeof b['qp.ac_med']=='undefined')||(typeof b['qp.zanpid']!='undefined'&&typeof b['qp.ac_med']=='undefined')||(typeof b['ac_src']!='undefined'&&typeof b['qp.ac_med']=='undefined')||typeof b['td_event']!='undefined'&&b['td_event']!=''){b['qp.ac_med']='Untracked';try{b['td_prod_name']=b.td_event.split(';')}catch(e){}}},function(a,b){if((typeof b['netaff_mclic']!='undefined'&&typeof b['netaff_mclic']!='undefined'&&b['netaff_mclic']!='')){try{b['netaff_mclic']=b.netaff_mclic.replace(/My5|My10|My15|bestdeal/gi,'S436C51013')}catch(e){};try{b['netaff_mclic']=b.netaff_mclic.replace(/My25|My45|iphone30|iphone45/gi,'S436C51014')}catch(e){};try{b['netaff_mclic']=b.netaff_mclic.replace(/My70|My99|iphone60/gi,'S436C51015')}catch(e){};try{b['netaff_mclic']=b.netaff_mclic.replace(/iewtick|iewday|iewmrx|iewmmx/gi,'S436C51016')}catch(e){};try{b['netaff_mclic']=b.netaff_mclic.replace(/ipad15|ipad25|ipad/gi,'S436C51016')}catch(e){};try{b['netaff_mclic']=b.netaff_mclic.replace(/imimfl|irimfl|ibimfl|imaxfl|irelaxfl|ibasicfl/gi,'S436C51017')}catch(e){};try{b['netaff_mclic']=b.netaff_mclic.replace(/ibasicim|irelaxim|imaxim/gi,'S436C51017')}catch(e){};try{b['netaff_mclic']=b.netaff_mclic.replace(/imax|irelax|ibasic/gi,'S436C51017')}catch(e){};try{b['netaff_mclic']=b.netaff_mclic.replace(/talk|text|tribe|start/gi,'S436C51012')}catch(e){};try{b['netaff_mclic']=b.netaff_mclic.replace(/sp3|sp4/gi,'S436C510221')}catch(e){}}},function(a,b){if(typeof b['netaff_mclic']!='undefined'){try{b['netaff_prod_name']=b.netaff_mclic.split(';')}catch(e){}}}];
  utag.loader.cfg={"20":{load:2,send:1,wait:0},"21":{load:utag.cond[9],send:1,wait:0},"1":{load:1,send:1,wait:1},"2":{load:1,send:1,wait:1},"9":{load:utag.cond[11],send:1,wait:1},"10":{load:utag.cond[6],send:1,wait:1},"13":{load:utag.cond[3],send:1,wait:1},"12":{load:utag.cond[8],send:1,wait:1},"22":{load:utag.cond[9],send:1,wait:1},"14":{load:utag.cond[7],send:1,wait:1},"24":{load:utag.cond[10],send:1,wait:1},"19":{load:utag.cond[4],send:1,wait:1},"8":{load:utag.cond[2],send:1,wait:1},"44":{load:utag.cond[30],send:1,wait:1},"15":{load:utag.cond[5],send:1,wait:1},"16":{load:utag.cond[4],send:1,wait:1},"26":{load:utag.cond[12],send:1,wait:1},"27":{load:utag.cond[13],send:1,wait:1},"28":{load:utag.cond[14],send:1,wait:1},"29":{load:utag.cond[15],send:1,wait:1},"30":{load:utag.cond[16],send:1,wait:1},"31":{load:utag.cond[17],send:1,wait:1},"32":{load:utag.cond[18],send:1,wait:1},"33":{load:utag.cond[19],send:1,wait:1},"34":{load:utag.cond[20],send:1,wait:1},"35":{load:utag.cond[21],send:1,wait:1},"17":{load:utag.cond[4],send:1,wait:1},"36":{load:utag.cond[22],send:1,wait:1},"37":{load:utag.cond[23],send:1,wait:1},"38":{load:utag.cond[24],send:1,wait:1},"39":{load:utag.cond[25],send:1,wait:1},"40":{load:utag.cond[26],send:1,wait:1},"41":{load:utag.cond[27],send:1,wait:1},"42":{load:utag.cond[28],send:1,wait:1},"43":{load:utag.cond[29],send:1,wait:1}};
}

  utag.loader.SETFORCE = function(a) {
    utag.DB('SETFORCE:' + a);
    if (utag.loader.ft > 0) clearTimeout(utag.loader.ft);
    utag.loader.ft = (utag.cfg.forcetimeout != 0) ? setTimeout(utag.loader.FORCE, utag.cfg.forcetimeout) : 0
  }
  utag.loader.FORCE = function(a, b, c, d) {
    a = utag.sender;
    b = utag.loader.f;
    utag.DB('FORCE');
    for (c in utag.loader.GV(b)) {
      d = a[c].id;
      if (typeof b[c] != 'undefined' && b[c] == 0) {
        utag.DB('FORCEERROR:' + d);
        utag.rpt['f_' + d] = 1;
        delete utag.sender[d];
        delete utag.send[d];
        utag.loader.LOAD(d)
      }
    }
  }
  utag.loader.INIT = function(a, b, c, d) {
    if (this.ol == 1) return -1;
    else this.ol = 1;
    utag.rpt.ts['i'] = new Date();
    if (!utag.cfg.noload) {
      try {
        this.GET()
      } catch (e) {};
      var lq = [];
      for (a in this.GV(this.cfg)) {
        b = this.cfg[a];
        b.id = a;
        if (b.wait == 1) {
          this.wq.push(b)
        } else if (b.load > 0) {
          if (b.send) {
            utag.send[b.id] = b;
            this.f[b.id] = 0
          }
          lq.push(b);
        }
      }
      for (a = 0; a < lq.length; a++) {
        utag.DB('utag.loader.INIT: loading ' + b.id);
        utag.loader.AS(lq[a])
      }
      if (utag.loader.wq.length > 0) utag.loader.EV('', 'ready', function(a) {
        utag.loader.WQ();
        utag.loader.SETFORCE('WAIT')
      });
      else utag.loader.SETFORCE('INIT')
    }
    return 1
  };
  utag.cfg.readywait ? utag.loader.EV('', 'ready', function(a) {
    utag.DB('READY');
    utag.loader.INIT()
  }) : utag.loader.INIT();
}
