 = true;

}

if( useQM )
{
     var qmgs = "" + QuantumMetricAPI.getSessionID();
     var qmgu = "" + QuantumMetricAPI.getUserID();
	 
	 dObj.qmsid = qmgs
	 dObj.qmuid = qmgu;
}
else										   
{
	console.log( "DF QM NP" );			 
}
  
try { dObj.bt = escape(lmd.bu); } catch(e) { dObj.bt = "missing"; console.log(e) }
try { dObj.bpid = escape(dataObject.bpid); } catch(e) { dObj.bpid = "missing"; console.log(e) }
try { dObj.cn = escape(dataObject.cn); } catch(e) { dObj.cn = "missing"; console.log(e) }
        if(typeof s != "undefined")
        {
                dObj.amc = escape(s.marketingCloudVisitorID);
        }
dObj.env = "L";

dObj.csr = screen.width + "x" + screen.height;
dObj.wiw = window.innerWidth;
dObj.curl = escape(document.location.href);
dObj.chn = escape(document.location.hostname);


dObj.l = slang;
dObj.sp = escape(dataObject.sp);
  
 var dnow = new Date();
 var topis = (dnow.getTime() - parseInt(plt) )/1000;
 dObj.topis = topis;
  dObj.usrt = escape(lmd.userType);
  try{ dObj.ueml = escape(lmd.user.emailID); } catch { dObj.ueml = 'NA'; }

if(test)
{
dObj.test = 1;
dObj.jpgtest = 1;
}

if(doNewWindow)
{
  	var popWindow = window.open("","survey","height=675,width=640,resizable=yes,scrollbars=yes");
    var head = popWindow.document.head;
    var body = popWindow.document.body;

	var confdbu = ""+dataObject.bu;
	
	if( confdbu.indexOf("NEC") != -1 )
    {
   	var newScript2 = popWindow.document.createElement('title');
	newScript2.text = 'コメントカード';
	head.appendChild(newScript2);
    }
    else
    {
					var newScript2 = popWindow.document.createElement('title');
					newScript2.text = "Lenovo";
					head.appendChild(newScript2);
    }

  
	var newScript = popWindow.document.createElement('script');
  	newScript.type = "text/javascript";
    newScript.text = "(function(w,d,s,i){o=d.createElement('script'), m=d.getElementsByTagName('script')[0]; o.async=1; o.src=s; o.id=i; m.parentNode.insertBefore(o,m)})(window, document, 'https://digitalfeedback.us.confirmit.com/api/digitalfeedback/loader?programKey=7N8nBV', 'cf-program-7N8nBV')";
	head.appendChild(newScript);

    var mwmeta = popWindow.document.createElement("meta");
    mwmeta.setAttribute("name", "viewport");
    mwmeta.setAttribute("content", "width=device-width, initial-scale=1.0");
    head.appendChild(mwmeta);
  
	body.innerHTML = "" + "<input type=hidden id='pid' value=" + pid + "><input id='cdat' type=hidden value=" + JSON.stringify(dObj) + ">";
}
else
{
  var ctx = api()
  ctx.container(container)
  ctx.survey(pid)
  ctx.data(dObj)
  ctx.show();
}
  sessionStorage.setItem("LOSADivt","1");
  ConfirmitCookies.set(oneDayCookieName, '1', {path : '/', expiry : 86400, secure:true, samesite: 'None'});
};
};Ә