var WlParams = '';
var WlReferrer = document.location.toString();

   if (typeof WlNeedRcmd == 'undefined')
   {
       WlNeedRcmd= true;
   }
   if ( typeof WlRcmdType == 'undefined')
   {
       WlRcmdType= "keyword";
   }
   if (typeof WlNeedTracking == 'undefined')
   {
       WlNeedTracking= true;
   }
   if (typeof WlWebsiteId == 'undefined')
   {
    var WlWebsiteId = document.domain.replace(/.*www./g,"").replace(/.*\.([a-zA-Z0-9]+\-*[a-zA-Z0-9]+\.(co.uk|com|fr|be|net|com.br|es|de))/g,"$1");
   }
   if (typeof WlCustomerId == 'undefined')
   {
       WlCustomerId= "himedia";
   }
   if (WlCustomerId)
   {
       WlParams= WlParams + "&CustomerId=" + escape(WlCustomerId);
   }
   if (WlWebsiteId)
   {
       WlParams= WlParams + "&WebsiteId=" + escape(WlWebsiteId);
   }
   if (typeof WlAC == 'undefined')
   {
       WlAC= true;
   }
   if (WlAC)
   {
       WlParams= WlParams + "&AC=on";
   }
   if (typeof WlContentGroup == 'undefined')
   {
       WlContentGroup= "Default";
   }
   if (typeof WlReferrer == 'string')
   {
       WlParams= WlParams + "&Referer=" + escape(WlReferrer)
   }

   if (typeof WlQuestion == 'undefined')
   {
        WlQuestion= "";
   }

   var WlRnd = Math.floor(Math.random()*99999999999);
   var WlProtocol = location.protocol.indexOf('https')>-1?'https:':'http:';


   if (WlNeedTracking)
   {
       var WlUrl= WlProtocol + '//tr.himedia.individuad.net/Cnt/himedia/CP/' + WlContentGroup + '?ord=' + WlRnd + WlParams;
       document.write('<img src="' + WlUrl + '" width="0" height="0" border="0">');
   }

   if (WlNeedRcmd)
   {
       WlRcmd= "";

       if (WlRcmdType == 'keyword')
       {
       var WlUrl= WlProtocol + '//rc.himedia.individuad.net/Get/himedia/JS/GetRcmd.js?ord=' + WlRnd;
       }
       else
       {
       var WlUrl= WlProtocol + '//rc.himedia.individuad.net/Get/himedia/JS/GetRcmdByCookie.js?ord=' + WlRnd;
       }
       document.write('<scr' + 'ipt language="JavaScript" src="' + WlUrl + '"></sc' + 'ript>');
   }


   if (WlQuestion)
   {
   var WlUrl= WlProtocol + '//tr.himedia.individuad.net/Cnt/himedia/CD/questionnaire' + '?ord=' + WlRnd + '&' + WlQuestion;
   document.write('<img src="' + WlUrl + '" width="0" height="0" border="0">');
   }
