@@script@@
{
var pageTracker = _gat._getTracker('UA-145722-1');
pageTracker._initData();
pageTracker._trackPageview();
}
@@script@@
@@script@@
{
var suiteName = 'shopstyleuk';
var omniHostName = 'omniture.shopstyle.co.uk';
// allow this component to be used within minimal pages that don't have all the store JS
if (typeof store_setReportSuiteName == 'function') store_setReportSuiteName(suiteName);
if (typeof store_setOmniHostName == 'function') store_setOmniHostName(omniHostName);
if (typeof store_setAjaxTrackingEnabled == 'function') store_setAjaxTrackingEnabled(false);
var s_shopstyle=makeOmnitureObject(suiteName, "shopstyle");
s_shopstyle.omniHost = omniHostName;
s_shopstyle.pageName='Filter - Brand';
s_shopstyle.channel='Browse Products';
s_shopstyle.prop1='Filter - Brand';
s_shopstyle.hier1='Browse Products,Filter - Brand';
s_shopstyle.prop24='ShopStyle UK';
s_shopstyle.eVar5='\x3canonymous\x3e';
s_shopstyle.eVar24='ShopStyle UK';
s_shopstyle.cookieDomainPeriods = '3';
s_shopstyle.fpCookieDomainPeriods = '3';
updateForVisitEvent(s_shopstyle);
s_shopstyle.sendPacket(100);
if (typeof setCookie == 'function' && typeof store_cookieDomain != 'undefined') {
var age;
// Always clear this cookie, in case we just processed an event
clearCookie('sc2', store_cookieDomain);
}
}
@@script@@
@@script@@
{
document.filterContext = null;
var initContext = function() {
// I think all this must be delayed because we're run by findAndEvalJS, and it's not clear that
// our pieces of the DOM are available yet
var prompt = 'type to search';
var messageNo = 'Select one or more.';
var messageOne = '1 item selected.';
var messageMulti = 'items selected.';
var noMatchDiv = $('noMatchMessage');
var noMatchMsg = noMatchDiv ? noMatchDiv.firstChild.nodeValue : null;
document.filterContext = new MFilterContext(
$$('.filterContainer'), noMatchDiv, $('filterSearchField'),
true,
["1817"],
["17","ambre solaire","and","avon","buin","carmex","caudalie","clarins","clinique","dr sebagh","elemis","esthederm","institut esthederm","l'oreal","lancaster","lancome","marks and spencer","nivea","no7","p20","peter thomas roth","philosophy","piz buin","roth","sebagh","simple","solaire","soltan","spencer","thomas","ultrasun"],
["13038","15794","15784","4117","13184","13290","923","974","2402","6576","1110","6775","6775","4265","3454","1485","15784","4313","13174","7895","3477","1817","13184","3477","6576","2003","15794","13210","15784","3477","8045"],
"filterBullet", null, false, prompt, messageNo, messageOne, messageMulti, noMatchMsg, null
);
document.filterContext.setup();
}
window.setTimeout(initContext, 1);
}
// short names for brevity in loop above
document.FCl = function(element) { if (document.filterContext) document.filterContext.toggle(element); }
document.FOv = function(element) { if (document.filterContext) document.filterContext.mouseOver(element); }
document.FOu = function(element) { if (document.filterContext) document.filterContext.mouseOut(element); }
@@script@@