
function verifyLanguage() {
 if(navigator.cookieEnabled) {
    var testname="telttest=";
    var testvalue="teltvalue";
    document.cookie=testname+testvalue;
    var allcookies = document.cookie;
    var pos=allcookies.indexOf(testname);
    if (pos != -1) {
      var xdate=new Date(); xdate.setYear(xdate.getYear() -1);
      document.cookie=testname+testvalue+"; expires="+xdate.toGMTString();
      var innovations="TELT_Innovations_Inservice";
      //var innovations="TELT_User_Language";
      //var innovations="s_sq";
      pos=allcookies.indexOf(innovations); 
      if (pos == -1){
        var newUrl = "nocookies.html";
        setTimeout(window.location=newUrl, 0);
      }
    }
  }
}
verifyLanguage();
