
//タイトル表示//
msg = "【"+document.title+"】";
stcnt = 0
guideSw=true
function typing()
{
stcnt += 2
status=msg.substring(0,stcnt);
if(stcnt <= msg.length) guideSw=setTimeout("typing()",50);
}
typing()
function jump(sel) {
  if (sel.options[sel.selectedIndex].value) {
    location.href = sel.options[sel.selectedIndex].value;
  }
}

//画像変更//
function showform(url){url.style.visibility='visible';}
function hideform(url){url.style.visibility='hidden';}

function getCookie(keyname){
  tmp=document.cookie +";";
  index1=tmp.indexOf(keyname,0)
  if(index1!=-1){
    tmp=tmp.substring(index1,tmp.length);
    index2=tmp.indexOf("=",0)+1;
    index3=tmp.indexOf(";",index2);
    return(unescape(tmp.substring(index2,index3)));
  }
  return("");
}

function setCookie(keyname,val){
  var expdate = new Date ();
  expdate.setTime (expdate.getTime() + (24 * 60 * 60 * 1000 * 30 * 1));
  tmp=keyname+"="+escape(val)+";";
  tmp+="expires="+expdate.toGMTString()+";";
  document.cookie=tmp;
}

//メニュー//

function menulist(id) {
var disp = document.all(id).style.display;

if(disp != "none" || disp == "") {
  document.all(id).style.display = "none";
 }
else {
  document.all(id).style.display = "block";
 }
}

//LOADING//
function load() {
  history.forward();
    if(document.all){
      loading.style.visibility = "hidden";
      content.style.visibility = "visible";
      return 0;
    }
}