/**
 *
 * @access public
 * @return void
 **/
function cacherPage() {
    var t = document.getElementsByClassName('page');
    for (i=0; i<t.length; i++) {
        t[i].style.display = 'none';
    }
}

/**
 *
 * @access public
 * @param String id
 * @param Boolean exists
 * @return void
 **/
function affichePage(id, exists) {
    cacherPage();
    setTimeout(function() {
                  cacherPage();
                  document.getElementById('page-'+id).style.display = 'block';
               }, 480);
}

/**
 *
 * @access public
 * @param String name
 * @return void
 **/
function afficheImage(name) {
    Modalbox.show("box-"+name+".html", {title: "Taverne de Maitre Kanter, Toulouse", width: 600});
}