/* Start CIGNA-specific code */
var CleanPath=window.location.pathname.replace(/\/?(!?ut\/|\?|$).*/,"");
var CleanURL=window.location.protocol+'//'+window.location.hostname+CleanPath;
/* End CIGNA-specific code */

/* OnlineOpinion v5.2.2 */
/* Released: 5/6/2011 */
/* Components: Full */
/* The following code is Copyright 1998-2011 Opinionlab, Inc.  All rights reserved. Unauthorized use is prohibited. This product and other products of OpinionLab, Inc. are protected by U.S. Patent No. 6606581, 6421724, 6785717 B1 and other patents pending. http://www.opinionlab.com */

/* Inline configuration */
var oo_feedback = new OOo.Ocode({
   onPageCard: {
      closeWithOverlay: true
   },
   referrerRewrite : {
	   searchPattern: null,
      replacePattern : CleanURL
   },	
   tealeafCookieName: 'TLTSID'
});

/* Run the Invitation instance*/
new OOo.Invitation({
/* REQUIRED - Asset identification */
   pathToAssets: '/iwov-resources/opinionlab/',
/* OPTIONAL - Configuration */
   promptTrigger: /.*/,
   responseRate: 5,
   repromptTime: 10368000,
   asm: 1,
   promptDelay: 3,
   popupType: 'popup',
   companyLogo: '../assets/media/images/logo/CignaFooterLogo.gif',
   neverShowAgainButton: false,
   referrerRewrite: {
       searchPattern: /:\/\/[^\/]+.*/
        ,replacePattern:'://survey.www.cigna.com' + CleanPath
   },
/* OPTIONAL - Cookie names */
   repromptCookie: 'oo_inv_reprompt',
   percentageCookie: 'oo_inv_percent'
});
