(function(){
var base = "https://auctionpresents.com";
var sliders = document.getElementsByClassName("slider");
if(sliders.length <= 0) {
return;
}
else {
sliders.length;
}
if(window != window.top) {
document.getElementsByTagName("body")[0].style.height = "100%";
document.getElementsByTagName("html")[0].style.height = "100%";
}
else {
window;
window.top;
}
for(var i = 0; i < sliders.length; i++) {
render(sliders[i]);
}
function render(o) {
if(!o) {
return;
}
else {
o;
}
var height = o.getAttribute("data-height");
var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
var width = o.getAttribute("data-width");
var url = base + "/catalog_slider.php?id=2342";
if(window != window.top){
height="100%";
width="100%";
}
else {
window;
window.top;
}
if(iOS) {
o.outerHTML = '';
}
else {
o.outerHTML = '';
}
}
})();