try {
var _xnext_included;
if (!_xnext_included && !window.location.href.match(/fb_xd_fragment/g)) {
_xnext_included = true;
if(!document.body) {
throw "The tag
is missing";
}
function xInjectJs(src) {
if (window.ecwid_script_defer) {
var script = document.createElement("script");
script.setAttribute("src", src);
script.charset = "utf-8";
script.setAttribute("type", "text/javascript");
document.body.appendChild(script);
} else document.write("");
}
// Hi! Do you love reading JavaScript code? We too!
// Ecwid has a plenty of different APIs and we welcome all developers to
// create addons and services (free or paid ones) for Ecwid merchants. Such
// addons and apps will be promoted on our site.
// More about our APIs: http://api.ecwid.com
var ecwidContextPath = "";
var addExtension = function(cons,ext) {
if (cons.addExtension) cons.addExtension(ext);
else cons(ext);
};
var ep = function() {
this.extensions = [];
this.consumers = [];
var that = this;
this.registerConsumer = function(cons) {
that.consumers.push(cons);
for (var i=0; i',eb='<\/head><\/body><\/html>',vb='=',Cb='?',gc='A8F1A1E9BE08478D2762057295666E82',xb='Bad handler "',hc='C72E44CE89012C90FDA9BF5D7E18C189',bb='CSS1Compat',hb='Chrome',gb='DOMContentLoaded',X='DUMMY',ic='EF7483B26CF6C4752663FC18186C67BC',jc='FBE0EECDADA7A70B923325DC21451286',rc='https://d21tbovnt7w6kc.cloudfront.net/css?ownerid=2829112&h=-692510862&lang=en'+cssUrlAddition,xc='Ignoring non-whitelisted Dev Mode URL: ',wc='__gwtDevModeHook:ru.cdev.xnext.frontend.Main',vc='_gwt_dummy_',Mb='android',Ib='base',Gb='baseUrl',S='begin',Y='body',R='bootstrap',Fb='clear.cache.gif',ub='content',Nb='desktop',sc='end',ib='eval("',uc='file:',$b='gecko',_b='gecko1_8',T='gwt.codesvr.ru.cdev.xnext.frontend.Main=',U='gwt.codesvr=',zb='gwt:onLoadErrorFn',wb='gwt:onPropertyErrorFn',tb='gwt:property',ob='head',pc='href',tc='http:',Wb='ie10',Zb='ie6',Yb='ie8',Xb='ie9',Vb='iemobile/10',Z='iframe',Eb='img',Pb='ipad',Ob='iphone',Qb='ipod',lb='javascript',$='javascript:""',mc='link',qc='loadExternalRefs',pb='meta',Kb='mgwt.os',nb='moduleRequested',mb='moduleStartup',Ub='msie',qb='name',Sb='opera',_='position:absolute; width:0; height:0; border:none; left: -1000px;',nc='rel',V='ru.cdev.xnext.frontend.Main',bc='ru.cdev.xnext.frontend.Main.devmode.js',Hb='ru.cdev.xnext.frontend.Main.nocache.js',rb='ru.cdev.xnext.frontend.Main::',Lb='safari',kb='script',ac='selectingPermutation',W='startup',oc='stylesheet',fb='undefined',Rb='user.agent',Tb='webkit';var o;var p=window;var q=document;s(R,S);function r(){var a=p.location.search;return a.indexOf(T)!=-1||a.indexOf(U)!=-1}
function s(a,b){if(p.__gwtStatsEvent){p.__gwtStatsEvent({moduleName:V,sessionId:p.__gwtStatsSessionId,subSystem:W,evtGroup:a,millis:(new Date).getTime(),type:b})}}
ru_cdev_xnext_frontend_Main.__sendStats=s;ru_cdev_xnext_frontend_Main.__moduleName=V;ru_cdev_xnext_frontend_Main.__errFn=null;ru_cdev_xnext_frontend_Main.__moduleBase=X;ru_cdev_xnext_frontend_Main.__softPermutationId=0;ru_cdev_xnext_frontend_Main.__computePropValue=null;ru_cdev_xnext_frontend_Main.__getPropMap=null;ru_cdev_xnext_frontend_Main.__gwtInstallCode=function(){};ru_cdev_xnext_frontend_Main.__gwtStartLoadingFragment=function(){return null};var t=function(){return false};var u=function(){return null};__propertyErrorFunction=null;var v=p.__gwt_activeModules=p.__gwt_activeModules||{};v[V]={moduleName:V};var w;function A(){C();return w}
function B(){C();return w.getElementsByTagName(Y)[0]}
function C(){if(w){return}var a=q.createElement(Z);a.src=$;a.id=V;a.style.cssText=_+ab;a.tabIndex=-1;q.body.appendChild(a);w=a.contentDocument;if(!w){w=a.contentWindow.document}w.open();var b=document.compatMode==bb?cb:db;w.write(b+eb);w.close()}
function D(k){function l(a){function b(){if(typeof q.readyState==fb){return typeof q.body!=fb&&q.body!=null}return /loaded|complete/.test(q.readyState)}
var c=b();if(c){a();return}function d(){if(!c){c=true;a();if(q.removeEventListener){q.removeEventListener(gb,d,false)}if(e){clearInterval(e)}}}
if(q.addEventListener){q.addEventListener(gb,d,false)}var e=setInterval(function(){if(b()){d()}},50)}
function m(c){function d(a,b){a.removeChild(b)}
var e=B();var f=A();var g;if(navigator.userAgent.indexOf(hb)>-1&&(window.JSON&&window.JSON.stringify)){var h=f.createDocumentFragment();h.appendChild(f.createTextNode(ib));for(var i=0;i=0){continue}if(j==tb){k=i.getAttribute(ub);if(k){var l,m=k.indexOf(vb);if(m>=0){j=k.substring(0,m);l=k.substring(m+1)}else{j=k;l=db}c[j]=l}}else if(j==wb){k=i.getAttribute(ub);if(k){try{d=eval(k)}catch(a){alert(xb+k+yb)}}}else if(j==zb){k=i.getAttribute(ub);if(k){try{e=eval(k)}catch(a){alert(xb+k+Ab)}}}}}u=function(a){var b=c[a];return b==null?null:b};__propertyErrorFunction=d;ru_cdev_xnext_frontend_Main.__errFn=e}
function G(){if(window.ecwid_script_base){o=window.ecwid_script_base;return o}function e(a){var b=a.lastIndexOf(Bb);if(b==-1){b=a.length}var c=a.indexOf(Cb);if(c==-1){c=a.length}var d=a.lastIndexOf(Db,Math.min(c,b));return d>=0?a.substring(0,d+1):db}
function f(a){if(a.match(/^\w+:\/\//)){}else{var b=q.createElement(Eb);b.src=a+Fb;a=e(b.src)}return a}
function g(){var a=u(Gb);if(a!=null){return a}return db}
function h(){var a=q.getElementsByTagName(kb);for(var b=0;b0){return a[a.length-1].href}return db}
function j(){var a=q.location;return a.href==a.protocol+Jb+a.host+a.pathname+a.search+a.hash}
var k=g();if(k==db){k=h()}if(k==db){k=i()}if(k==db&&j()){k=e(q.location.href)}k=f(k);return k}
function H(a){if(a.match(/^\//)){return a}if(a.match(/^[a-zA-Z]+:\/\//)){return a}return ru_cdev_xnext_frontend_Main.__moduleBase+a}
function I(){var f=[];var g=0;function h(a,b){var c=f;for(var d=0,e=a.length-1;d=10||b.indexOf(Vb)!=-1}())return Wb;if(function(){return b.indexOf(Ub)!=-1&&q.documentMode>=9}())return Xb;if(function(){return b.indexOf(Ub)!=-1&&q.documentMode>=8}())return Yb;if(function(){var a=/msie ([0-9]+)\.([0-9]+)/.exec(b);if(a&&a.length==3)return c(a)>=6000}())return Zb;if(function(){return b.indexOf($b)!=-1}())return _b;return Lb};i[Rb]={gecko1_8:0,ie10:1,ie6:2,ie8:3,ie9:4,opera:5,safari:6};t=function(a,b){return b in i[a]};ru_cdev_xnext_frontend_Main.__getPropMap=function(){var a={};for(var b in i){if(i.hasOwnProperty(b)){a[b]=k(b)}}return a};ru_cdev_xnext_frontend_Main.__computePropValue=k;p.__gwt_activeModules[V].bindings=ru_cdev_xnext_frontend_Main.__getPropMap;s(R,ac);if(r()){return H(bc)}var l;try{h([Nb,Wb],cc);h([Nb,Zb],dc);h([Nb,Lb],ec);h([Nb,Sb],fc);h([Nb,Xb],gc);h([Nb,Yb],hc);h([Nb,_b],ic);h([Ob,Lb],jc);l=f[k(Kb)][k(Rb)];var m=l.indexOf(kc);if(m!=-1){g=parseInt(l.substring(m+1),10);l=l.substring(0,m)}}catch(a){}ru_cdev_xnext_frontend_Main.__softPermutationId=g;return H(l+lc)}
function J(){if(!p.__gwt_stylesLoaded){p.__gwt_stylesLoaded={}}function c(a){if(!__gwt_stylesLoaded[a]){var b=q.createElement(mc);b.setAttribute(nc,oc);b.setAttribute(pc,H(a));q.getElementsByTagName(ob)[0].appendChild(b);__gwt_stylesLoaded[a]=true}}
s(qc,S);c(rc);s(qc,sc)}
F();ru_cdev_xnext_frontend_Main.__moduleBase=G();v[V].moduleBase=ru_cdev_xnext_frontend_Main.__moduleBase;var K=I();if(p){var L=!!(p.location.protocol==tc||p.location.protocol==uc);p.__gwt_activeModules[V].canRedirect=L;function M(){var b=vc;try{p.sessionStorage.setItem(b,b);p.sessionStorage.removeItem(b);return true}catch(a){return false}}
if(L&&M()){var N=wc;var O=p.sessionStorage[N];if(!/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?\/.*$/.test(O)){if(O&&(window.console&&console.log)){console.log(xc+O)}O=db}if(O&&!p[N]){p[N]=true;p[N+yc]=G();var P=q.createElement(kb);P.src=O;var Q=q.getElementsByTagName(ob)[0];Q.insertBefore(P,Q.firstElementChild||Q.children[0]);return false}}}J();s(R,sc);D(K);return true}
ru_cdev_xnext_frontend_Main.succeeded=ru_cdev_xnext_frontend_Main();
// ========================= NOCACHE END ===========================
if (document.removeEventListener) {
document.removeEventListener("DOMContentLoaded", ecwid_onBodyDone, false);
}
if (ecwid_onBodyDoneTimerId) {
clearInterval(ecwid_onBodyDoneTimerId);
}
}
}
if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", function() {
ecwid_onBodyDone();
}, false);
}
// Fallback. If onBodyDone() gets fired twice, it's not a big deal.
var ecwid_onBodyDoneTimerId = setInterval(function() {
if (/loaded|complete/.test(document.readyState)) {
ecwid_onBodyDone();
}
}, 50);
window.xnext_ownerId=2829112;
window.Ecwid.demo=false;
window.Ecwid.cssUrl="https://d21tbovnt7w6kc.cloudfront.net/css?ownerid=2829112&h=-692510862&lang=en";
window.Ecwid.acceptLanguage=["en"];
window.Ecwid.getAppPublicConfig = function(namespace) {
var publicData = {};
var result = publicData[namespace];
return typeof result === 'string' ? result : null;
}
function xAddWidget(widgetType, arg) {
arg = Array.prototype.slice.call(arg); // Cast Argument object into array
var idPrefix = "id=";
var id;
var stylePrefix = "style=";
var style = "";
for (var i=0; i 1) {
hashParams = hashParams[1].split('&');
for (i = 0; i < hashParams.length; i++) {
var hashParam = hashParams[i];
var paramPrefix = '_x' + widgetType + '_';
if (hashParam.indexOf(paramPrefix) != 0) {
continue;
}
hashParam = hashParam.split('=');
if (hashParam.length != 2) {
continue;
}
var paramName = hashParam[0].replace(paramPrefix, '');
var paramValue = decodeURIComponent(hashParam[1]);
var replaceIndex = arg.length;
for (var j = 0; j < arg.length; j++) {
if (arg[j].indexOf(paramName + '=') == 0) {
replaceIndex = j;
break;
}
}
arg[replaceIndex] = paramName + '=' + paramValue;
}
}
if(id && document.getElementById(id)) {
var e = document.getElementById(id);
while(e.hasChildNodes()) e.removeChild(e.firstChild);
e.setAttribute("style", style);
try { e.style.cssText = style; } catch(e) { } // IE
} else {
i=1;
do {
id = widgetType+"-"+i++;
} while (document.getElementById(id));
var html = "";
document.write(html);
}
var l = 0;
if (!window._xnext_initialization_scripts) {
window._xnext_initialization_scripts = [];
} else {
l = window._xnext_initialization_scripts.length;
}
window._xnext_initialization_scripts[l] = {widgetType:widgetType, id:id, arg:arg};
window.ecwid_dynamic_widgets && ecwid_onBodyDone();
}
function xProductBrowser() {
ecwid_loader();
window.ecwid_dynamic_widgets && Ecwid.destroy();
xAddWidget("ProductBrowser", arguments);
}
function ecwid_loader() {
if (!window.ecwid_loader_shown && ecwid_no_fb_iframe()) {
if (!window.ecwid_use_custom_loading_indicator && !window.ecwid_script_defer) {
document.write(
''
);
document.write(
'' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
' +
'
'
);
}
window.ecwid_loader_shown = true;
}
}
function xAddToBag() {
xAddWidget("AddToBag", arguments);
}
function xProductThumbnail() {
xAddWidget("ProductThumbnail", arguments);
}
function xLoginForm() {
xAddWidget("LoginForm", arguments);
}
function xMinicart() {
xAddWidget("Minicart", arguments);
}
function xCategories() {
ecwid_loader();
xAddWidget("Categories", arguments);
}
function xVCategories() {
xAddWidget("VCategories", arguments);
}
function xSearchPanel() {
xAddWidget("SearchPanel", arguments);
}
function xGadget() {
xAddWidget("Gadget", arguments);
}
function xSingleProduct() {
xAddWidget("SingleProduct", arguments)
}
function xAffiliate(id) { Ecwid.affiliateId = id; }
if (typeof xInitialized == 'function') xInitialized();
if (!(window.ecwid_no_body_height && window.ecwid_no_body_height == true)) {
if (/MSIE .+Win/.test(navigator.userAgent)) {
var clientHeight = document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight;
} else {
var clientHeight = window.innerHeight-20;
}
document.body.style.minHeight = clientHeight+"px";
}
}
} catch (e) {
function xReportError(msg) {
var html = ""+msg+" |
";
if (window.ecwid_script_defer) {
var element = document.createElement("div");
element.innerHTML = html;
document.body.appendChild(element);
} else document.write(html);
}
var commonError = "The store cannot be loaded in your browser because of some JavaScript errors, sorry.
" +
"If you open this site using a mobile device, you can visit our mobile store " +
"which is designed specially for them and doesn't use JavaScript.
" +
"Below here's the exact error occurred. Please report it to the issue tracker.
";
var bodyTagError = "This document doesn't contain the required " +
"<body> and </body> "+
"tags. Thus your Ecwid store cannot be loaded. " +
"Please add these tags and refresh the page. This message will disappear and you will see your store.";
var isWindowsMobile2005 = /(msie 4).*(windows ce)/i.test(navigator.userAgent);
if (!document.body && !isWindowsMobile2005) {
xReportError(bodyTagError);
} else {
xReportError(commonError + e.message);
}
throw e;
}