localStorage.setItem('hidableshow-' + item + '_' + page, nowShown);
}
}
}
function infoboxToggle() {
var page = window.pageName.replace(/\W/g, '_');
var nowShown;
if(document.getElementById('infoboxtoggle').innerHTML == '[Hide]') {
document.getElementById('infoboxinternal').style.display = 'none';
document.getElementById('infoboxtoggle').innerHTML = '[Show]';
nowShown = false;
} else {
document.getElementById('infoboxinternal').style.display = 'block';
document.getElementById('infoboxtoggle').innerHTML = '[Hide]';
nowShown = true;
}
if(window.storagePresent) {
localStorage.setItem('infoboxshow-' + page, nowShown);
}
}