@@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,
["2446"],
["and","bebe confort","confort","gap","gro-group","grobag","john lewis","lewis","marks and spencer","spencer","vertbaudet"],
["15784","13430","13430","2446","16219","7680","7733","7733","15784","15784","8447"],
"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@@