<div id='my-store-16337006'></div>
Your Custom Text Here
<div id='my-store-16337006'></div>
<script>
(function(ownerId) {
document.addEventListener("pageChange", function() {
loadEcwid();
}, false);
loadEcwid();
function loadEcwid() {
var containerId = 'my-store-' + ownerId;
var container = document.getElementById(containerId);
var isEcwidPage = container != null;
var ecwidLoaded = isEcwidPage && container.childNodes.length > 0;
if (ecwidLoaded && isEcwidPage) return;
if (!isEcwidPage) {
if (typeof Ecwid != 'undefined') {
Ecwid.destroy();
removeElementsByClassName("ecwid-minicart");
removeElementsByClassName("ecwid-pswp");
}
return;
}
window.ecwid_script_defer = true;
window.ecwid_dynamic_widgets = true;
window.css_selectors_prefix = encodeURIComponent('div#' + containerId);
var defaultCategoryId = (!!container.dataset['defaultCategoryId']?'defaultCategoryId=' + container.dataset['defaultCategoryId'] : '')
window._xnext_initialization_scripts = [{"widgetType":"ProductBrowser","id":"my-store-16337006","arg":["categoriesPerRow=3","views=grid(20,3) list(60) table(60)","categoryView=grid","searchView=list","id=my-store-16337006","defaultProductId="+getValueSave("my-store-16337006","data-default-product-id"),"defaultCategoryId="+getValueSave("my-store-16337006","data-default-category-id")]}];
if (typeof Ecwid != 'undefined') {
ecwid_onBodyDone();
Ecwid.init();
} else {
var script = document.createElement('script');
script.charset = 'utf-8';
script.type = 'text/javascript';
script.id = 'ecwid-script';
script.onload = function(){Ecwid.init()};
script.src = 'https://app.ecwid.com/script.js?' + ownerId;
container.parentNode.appendChild(script);
}
}
function removeElementsByClassName(className) {
var elements = document.getElementsByClassName(className);
for (var i = 0; i < elements.length; i++) {
elements[i].parentNode.removeChild(elements[i]);
}
}
// init watch function
window.onload = watch;
function watch() {
var observedAttributeName = "id";
MutationObserver = window.MutationObserver || window.WebKitMutationObserver;
var a = new MutationObserver(function (a) {
var dispatchedId;
for (var b = 0; b < a.length; b++) {
var c = a[b];
if ("attributes" === c.type) {
var targetId = c.target[observedAttributeName];
if (dispatchedId && dispatchedId == targetId) return;
dispatchedId = targetId;
var d = new Event("pageChange");
document.dispatchEvent(d)
}
}
});
a.observe(document.body, {attributes: !0, attributeFilter: [observedAttributeName]})
}
function getValueSave(id, attribute) {
var node = document.querySelector("#" + id);
return !node
? ""
: (!node.getAttribute(attribute)
? ""
: node.getAttribute(attribute))
}
})(16337006);
</script>
The Australian National University Fencing Club