function criteoObj()
{
	this.string = false;
}

criteoObj.prototype.getValue = function()
{
	var name = 'criteo_startno';
	var nameEQ=name+"=";
	var ca=document.cookie.split(';');
	for(var i=0;i<ca.length;i++)
	{
		var c=ca[i];
		while(c.charAt(0)==' ')
		{
			c=c.substring(1,c.length);
		}
		if(c.indexOf(nameEQ)==0)
		{
			var cookieVal = unescape(unescape(c.substring(nameEQ.length,c.length)));
			if(cookieVal == 'custom1=criteo&')
			{
				return '&custom1=criteo';
			}
		}
	}

	return '';
}

criteoObj.prototype.get = function()
{
	if(this.string === false)
	{
		this.string = this.getValue();
	}

	return this.string;
}

var criteo = new criteoObj();
