// 『全て』で開閉させるブロックの総数
var syslen = 5;

function byID(_id){
    if(document.getElementById){ return document.getElementById(_id) }
    if(document.all){ return document.all(_id); }
}

// 開閉システム プロパティ型
function OpenClose(_arg){
    var cur;
    if(cur = byID(_arg).style){
        if(cur.display != 'block'){ cur.display = 'block'; }
        else{ cur.display = 'none'; }
    }
}
function AllOC(_arg){
    if(_arg){ var val = 'block'; }else{ var val = 'none'; }
    for(i=1; i<=syslen; i++){ if(byID('sub'+i)){ byID('sub'+i).style.display = val; } }
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function gazou(mySrc){
document.myimg.src=mySrc;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function loadOpener() {
	opener.location.href=document.forms[0].reloadAction.value;
	window.close();
}
