We use cookies for site personalization and analytics. You can opt out of third party cookies. More info in our privacy policy.   Got it

Best viewed full screen. We'll redirect you shortly…

function resizeIframe() {
var btb = document.getElementById('btb');
btb.style.height = btb.contentWindow.document. body.scrollHeight + "px";
}

function redirectToStatic() {
var target="https://newint.org/static/btb/btb.html";
setTimeout(function() {window.location.href=target}, 5000);
}

function mobileRedirect() {
// Safari 3.0+ "[object HTMLElementConstructor]"
var isSafari = /constructor/i.test(window.HTMLElement) || (function (p) { return p.toString() === "[object SafariRemoteNotification]"; })(!window['safari'] || (typeof safari !== 'undefined' && safari.pushNotification));
var isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
var isMobile = window.screen.width < 500 || window.screen.height <500;
if (isIOS) {
insertCss("#frame-wrapper {overflow: auto; -webkit-overflow-scrolling: touch;}");
document.getElementById('mobile-msg').style.display='block';
redirectToStatic();
}
}

//https://stackoverflow.com/questions/707565/how-do-you-add-css-with-javas...
function insertCss( code ) {
var style = document.createElement('style');
style.type = 'text/css';
if (style.styleSheet) {
// IE
style.styleSheet.cssText = code;
}
else {
// Other browsers
style.innerHTML = code;
}
document.getElementsByTagName("head")[0].appendChild( style );
}

mobileRedirect();

Subscribe   Ethical Shop