if (g=="gay") 
   { 
	  var syn = 'g';
	  var syntxt = 'gay';
	 } 
else 
   {
	 var syn = 'h';
	 var syntxt = 'hetero';
  }
	
var lg2 = lg;
if (lg=='en') lg2='us';

if (getCookieInfo('dhtml')!='off') 
   {
	  var expire = new Date();
	  var temps = expire.getTime() + (60*60*24*1000);
	  expire.setTime(temps);
	  document.cookie = "dhtml=off; expires=" + expire.toGMTString();
	  var popupWidth = 500;
		var popupHeight = 400;
		var popupUrl="http://www.securitetotale.com/cb.php?module=guest_cbsys_preform&num_facturation=1&id_cb=MiniSites&skin=3";
		popupUrl+="&id_form=49&id="+idw+"&langue="+lg2+"&synergie="+syntxt+"&e=1&tracker=promo_dhtml";
		document.write('<script src="http://ktu.sv2.biz/tools/dhtml/dhtml.js"'+'><'+'/script>');
	 }
	 
function getCookieInfo(dataName)
   {
    var cookieLen = dataName.length;
    var cookieData = document.cookie;
    var allcookieLen = cookieData.length;

    var i = 0;
    var cookieEnd;

    while(i < allcookieLen)
       {
        var j = i + cookieLen;
        if (cookieData.substring(i,j) == dataName)
           {
            cookieEnd = cookieData.indexOf(";", j);
            if (cookieEnd == -1)
               {
                cookieEnd = cookieData.length;
               }
            return unescape(cookieData.substring(j+1, cookieEnd))
           }
        i++;
       }
    return 0;
   }