function showID(idName){ 
if ( document.getElementById )
document.getElementById( idName ).style.visibility   = 'visible' 
else if ( document.all ) document.all( idName ).style.visibility = 'visible' 
else if ( document.layers ) document.layers[ idName ].visibility = 'show' 
}

function hideID(idName){ 
if ( document.getElementById )
document.getElementById( idName ).style.visibility   = 'hidden' 
else if ( document.all ) document.all( idName ).style.visibility = 'hidden' 
else if ( document.layers ) document.layers[ idName ].visibility = 'hide' 
}

function showhide (divid) {
var whichid = document.getElementById(divid);
if (whichid.className=="colLshown") { whichid.className="colLhidden"; }
else { whichid.className="colLshown"; }
}

function aisatu() {
var n,now,hh;
var mess = new Array(4);
mess[0] = "こんばんは。";
mess[1] = "おはようございます！";
mess[2] = "こんにちは。";
mess[3] = "今日も一日お疲れ様！";
now=new Date();
hh=now.getHours();
if(hh <= 4 ) n=0;
if(hh >= 5  && hh <= 11) n=1;
if(hh >= 12 && hh <= 17) n=2;
if(hh >= 18 && hh <= 24) n=3;
return mess[n];
}