
// Communicator email conversion tracking
// Basic control parameters - load *after* the main CommunicatorTracking.js file
// Refer to CommunicatorCorp Conversion Tracking Guide V4

  cc_Duration = 30; // Default is 30 days anyway if this variable is omitted
  cc_ClientId = 1108;
  cc_UseSsl = true; // force secure image pixel
  cc_DebugMode = false; // set to false for production use. 



// CSS cssurn OPC cookie path workaround. 

function createSubDomainCookie(name,value,days) {

var brand = (document.location.href.indexOf('24studio') > -1) ? '24studio' : '24ace';

			if (days) {
				var date = new Date();
				date.setTime(date.getTime()+(days*24*60*60*1000));
				var expires = "; expires="+date.toGMTString();
			}
			else var expires = "";
			
				document.cookie = name+"="+value+expires+"; path=/; domain=." +brand +".co.uk";
			
}


if (document.cookie.indexOf('cssurn=') > -1)
{
  createSubDomainCookie('cssurn', document.cookie.match('cssurn=[^;]*')[0].substr(7), 365);  
}


///////////////

