var mikoOpenModal_boxget;
var urlHash = window.location.hash;
var init_pop_up_boxget = function() {
var div = document.createElement("div");
//var imghtml = getImage();
var htmlstr = '
';
document.body.insertAdjacentHTML("afterbegin", htmlstr);
window.addEventListener('popstate', function(e) {
e.preventDefault();
mikoOpenModal_boxget();
});
history.pushState(null, null, null);
mikoOpenModal_boxget = function() {
urlHash = window.location.hash;
if(!urlHash){ document.getElementById("boxget-modal-check").checked = false; }
};
};
if (document.readyState !== 'loading') {
init_pop_up_boxget();
} else {
window.addEventListener('DOMContentLoaded', function() {
init_pop_up_boxget();
});
}