var __wixns=__wixns||{};
__wixns.__WIXRelocator={agentNames:"ipad,ipod,iphone, android,iemobile,bada,blackberry",run:function(a){if(this.shouldRedirect(location.protocol,location.host)){var b=this.matchAgent(a);
if(b){this.redirect()
}}},matchAgent:function(c){var f=this.agentNames.replace(/\s*,\s*/g,",");
var g=f.split(",");
for(var b=0,a=g.length;
b<a;
++b){var e=g[b];
var d=new RegExp("\\b"+e,"i");
if(c.match(d)){return e
}}return null
},shouldRedirect:function(c,b){if(!c||!c.match(/^http/i)){return false
}if(!b){return false
}var a=b.split(".");
if(a[0]=="m"||a[0]=="M"){return false
}if(!isNaN(a[a.length-1])){return false
}return true
},redirect:function(){var a=this.processHost(location);
if(a!=location.href){window.location.replace(a)
}},processHost:function(g){var b=(g&&g.href)?g.href:"";
var e=(g&&g.host)?g.host:"";
if(!e||!b){return b
}var a=b.indexOf(e);
if(a<0){return b
}var d=g.search||"";
var f=g.hash||"";
e=e.replace(/^www\./i,"");
e="m."+e;
var c=b.substring(0,a)+e+"/"+d+f;
return c
}};
if(!__wixns.isOff){__wixns.__WIXRelocator.run(navigator.userAgent||navigator.vendor)
};
