);
var titleContent = '';
titleContent = "
".concat(title, "
\n
").concat(subtitle, "
");
$('#' + currentElement.id + ' .titleseemore .titleseemore-content .centertitle').html(titleContent);
var tabTitle = '';
tabTitle = "
".concat(SeeMore, "
");
$('#' + currentElement.id + ' .titleseemore .titleseemore-content .more').html(tabTitle);
}
}
.bind(el))(props[el.id]);
}
var props = {
// "ik9l":{
// "pcbanner":"https://www.costway.com/media/wysiwyg/FDS-product/Home/ztr/bg.png","mbbanner":"https://www.costway.com/media/wysiwyg/FDS-product/Home/ztr/bg.png","skip":"https://www.costway.com/treadmills?entrypoint=presidentsday"}
// ,
"i10mf":{
"pcbanner":"https://assets.costway.com/media/wysiwyg/verify/file_4.png","mbbanner":"https://assets.costway.com/media/wysiwyg/verify/file_4.png","skip":"https://www.costway.com/costwayplus?entrypoint=stpatricksday"}
,"i9s2h":{
"pcbanner":"https://www.costway.co.uk/media/wysiwyg/FDS-product/Home/specials_folder/2024activity/March/1920-420.jpg","mbbanner":"https://www.costway.co.uk/media/wysiwyg/FDS-product/Home/specials_folder/2024activity/March/750-320.gif","skip":"https://www.costway.com/whattobuy?entrypoint=stpatricksday"}
};
var ids = Object.keys(props).map(function(id) {
return '#'+id }
).join(',');
var els = document.querySelectorAll(ids);
for (var i = 0, len = els.length; i < len; i++) {
var el = els[i];
(function (props) {
var pcimage1 = props['pcbanner'] || ['https://au.costway.com/media/wysiwyg/2023activity/chair/banner.jpg'];
var mbimage2 = props['mbbanner'] || ['https://au.costway.com/media/wysiwyg/2023activity/chair/bannermb.jpg'];
var skip = props['skip'] || ['https://www.costway.com'];
var currentElement = this;
var aaa = function () {
var strpcimage = "
\n \n
![](\"").concat(pcimage1,)
\n
\n \n
![](\"").concat(mbimage2,)
\n
\n ");
$('#' + currentElement.id + ' .content-banner .contentbanner').html(strpcimage);
};
aaa();
}
.bind(el))(props[el.id]);