As you can see these function works unconditionally. If you want to
control conditions that is all up to your code. (for instance make sure that the content is on befor you turn off the toggler)
It is a good idea look at the source and inspect elements
function hideBox(id){
itemHolder.getBoxById(id).hideBox();
}
function showBox(id){
itemHolder.getBoxById(id).showBox();
}
function hideContent(id){
itemHolder.getBoxById(id).hideContent();
}
function showContent(id){
itemHolder.getBoxById(id).showContent();
}
function hideHeader(id){
itemHolder.getBoxById(id).hideHeader();
}
function showHeader(id){
itemHolder.getBoxById(id).showHeader();
}
function hideToggler(id){
itemHolder.getBoxById(id).hideToggler();
}
function showToggler(id){
itemHolder.getBoxById(id).showToggler();
}
function turnOffDrag(id){
itemHolder.getBoxById(id).turnOffDrag();
}
function turnOnDrag(id){
itemHolder.getBoxById(id).turnOnDrag();
}