function killErr(){
    return true;
}
window.onerror=killErr;

var rollText_k=4; 
var rollText_i=1; 
rollText_tt=setInterval("rollText(1)",10000);
function rollText(a){
clearInterval(rollText_tt);
rollText_tt=setInterval("rollText(1)",10000);
rollText_i+=a;
if (rollText_i>rollText_k){rollText_i=1;}
if (rollText_i==0){rollText_i=rollText_k;}
 for (var j=1; j<=rollText_k; j++){
document.getElementById("rollTextMenu"+j).style.display="none";
 }
document.getElementById("rollTextMenu"+rollText_i).style.display="block";
document.getElementById("pageShow").innerHTML = rollText_i+"/"+rollText_k;
} 

var rollText_x=4; 
var rollText_j=1; 

rollText_xx=setInterval("roll(1)",10000);

function roll(a){
clearInterval(rollText_xx);
rollText_xx=setInterval("roll(1)",10000);
rollText_j+=a;
if (rollText_j>rollText_x){rollText_j=1;}
if (rollText_j==0){rollText_j=rollText_x;}
 for (var j=1; j<=rollText_x; j++){
document.getElementById("rollMenu"+j).style.display="none";
 }
document.getElementById("rollMenu"+rollText_j).style.display="block";
document.getElementById("pageShow").innerHTML = rollText_j+"/"+rollText_x;
} 
 


