バリュー値がこの範囲ならツマミを動かす document.images[iName].style.top = Math.round(sind*17+206); //17は回転半径、後ろは背景位置合わせ document.images[iName].style.left = Math.round(cosd*17+83+hose); //17は回転半径、後ろは背景位置合わせ if(iN2=="level")awx=Math.round(awx/100*150); if(iN2=="znr"){awx=Math.round(awx/100*25);if(awx==0)awx=1;} jp.elements[iN2].value=awx; jp.elements[iN2+"B"].value=alim; } return false; } //初期設定ルーチン function initialR(){ window.resizeTo(730,880); xj=getck("cab3a"); if(xj=="")xj="200,200,200,200,200,200,200,200,200,200,200,200,200"; amodel.amodelhid.value=xj; jg=xj.split(","); for(ih=0;ih<13;ih++){ if(jg[ih]!=200){amodel.elements[ih].checked=true; n2="i"+ih; document.getElementById(n2).style.backgroundColor="#e4eaea";} } calc(); xj=getck("cab3b"); if(xj=="")xj="200,200,200,200,200,200,200,200,200,200,200,200,200"; cabinet.cabinethid.value=xj; jg=xj.split(","); for(i=0;i<13;i++){ if(jg[i]!=200){cabinet.elements[i].checked=true; n2="d"+i; document.getElementById(n2).style.backgroundColor="#e4eca2";} } calc2(); jp.gain.value=50; jp.tube.value=50; jp.bass.value=50; jp.mid.value=50; jp.treb.value=50; jp.pres.value=50; jp.level.value=75; jp.znr.value=13; jp.odds.value=50; jp.rev.value=50; jp.gainB.value=-60; jp.tubeB.value=-60; jp.bassB.value=-60; jp.midB.value=-60; jp.trebB.value=-60; jp.presB.value=-60; jp.levelB.value=-60; jp.znrB.value=-60; jp.oddsB.value=-60; jp.revB.value=-60; cabinet.pfd.value="Page TopのButtonを押してPatchをつくってne" }