function GoURL(url){
 var op =url.next.selectedIndex
 document.location.href = url.next.options[op].value
}


function getOSType() {
    var uAgent  = navigator.userAgent.toUpperCase();
    if (uAgent.indexOf("MAC") >= 0) return "MacOS";
    if (uAgent.indexOf("WIN") >= 0) return "Windows";
    if (uAgent.indexOf("X11") >= 0) return "UNIX";
}

function ffcc(b1){
  if(b1==0) {document.fccard.src = "../shop/10off_on.gif";}
  if(b1==1) {document.fccard.src = "../shop/10off_off.gif";}
}

function fc2(b1){
  if(b1==0) {document.fccard.src = "../shop/10off_2_on.gif";}
  if(b1==1) {document.fccard.src = "../shop/10off_2_off.gif";}
}

function onm(on1){
	document.images[on1].src = '../menu/m_' + on1 +'_on.gif';
}
function offm(off1){
	document.images[off1].src = '../menu/m_' + off1 +'_off.gif';
}

function onm3(on3,place){
	document.images[place].src = '../menu/p_' + on3 +'_on.gif';
}
function offm3(off3,place){
	document.images[place].src = '../menu/p_' + off3 +'_off.gif';
}

function onh(on5){
	document.images[on5].src = '../img/' + on5 +'_on.gif';
}
function offh(off5){
	document.images[off5].src = '../img/' + off5 +'_off.gif';
}

function ony(on6,place){
	document.images[place].src = '../img/' + on6 +'_on.gif';
}
function offy(off6,place){
	document.images[place].src = '../img/' + off6 +'_off.gif';
}

function onqr(on,place){
	document.images[place].src = '../inq/img/' + on +'.gif'; 
}

function ons(on7){
	document.images[on7].src = '../teire/img/' + on7 +'_on.gif';
}
function offs(off7){
	document.images[off7].src = '../teire/img/' + off7 +'_off.gif';
}

function onr(on8){
	document.images[on8].src = '../r_shop/img/' + on8 +'_on.gif';
}
function offr(off8){
	document.images[off8].src = '../r_shop/img/' + off8 +'_off.gif';
}

function showImg(im){
newWin = window.open("","newWin","width=300,height=200");
newWin.document.open();
newWin.window.focus();
newWin.document.write("<center><br>");
newWin.document.bgColor="#ffffff";
newWin.document.write("<table bgcolor='#ffffff' width=250><tr><td align='center'>");
newWin.document.write("<br><img src='");
newWin.document.write(im);
newWin.document.write("'><br><br>");
newWin.document.write("<a href='javascript:window.close();'>");
newWin.document.write("<b>");
newWin.document.write("<img src='../shop/close.gif' alt='CLOSE' border=0>");
newWin.document.write("</b></a><br><br>");
newWin.document.write("</td></tr></table>");
newWin.document.write("</center>");
newWin.document.close();
}

function showImg1(im){
newWin = window.open("","newWin","width=300,height=250");
newWin.document.open();
newWin.window.focus();
newWin.document.write("<center><br>");
newWin.document.bgColor="#ffffff";
newWin.document.write("<table bgcolor='#ffffff' width=250><tr><td align='center'>");
newWin.document.write("<br><img src='");
newWin.document.write(im);
newWin.document.write("'><br><br>");
newWin.document.write("<a href='javascript:window.close();'>");
newWin.document.write("<b>");
newWin.document.write("<img src='../shop/close.gif' alt='CLOSE' border=0>");
newWin.document.write("</b></a><br><br>");
newWin.document.write("</td></tr></table>");
newWin.document.write("</center>");
newWin.document.close();
}

function showImg2(im){
newWin = window.open("","newWin","width=300,height=300");
newWin.document.open();
newWin.window.focus();
newWin.document.write("<center>");
newWin.document.bgColor="#ffffff";
newWin.document.write("<table bgcolor='#ffffff' width=250><tr><td align='center'>");
newWin.document.write("<br><img src='");
newWin.document.write(im);
newWin.document.write("'><br><br>");
newWin.document.write("<a href='javascript:window.close();'>");
newWin.document.write("<b>");
newWin.document.write("<img src='../shop/close.gif' alt='CLOSE' border=0>");
newWin.document.write("</b></a><br>");
newWin.document.write("</td></tr></table>");
newWin.document.write("</center>");
newWin.document.close();
}

function showImg3(im){
newWin = window.open("","newWin","width=350,height=495");
newWin.document.open();
newWin.window.focus();
newWin.document.write("<center>");
newWin.document.bgColor="#ffffff";
newWin.document.write("<table bgcolor='#ffffff' width=300><tr><td align='center'>");
newWin.document.write("<img src='");
newWin.document.write(im);
newWin.document.write("'><br><br>");
newWin.document.write("<a href='javascript:window.close();'>");
newWin.document.write("<b>");
newWin.document.write("<img src='../shop/close.gif' alt='CLOSE' border=0>");
newWin.document.write("</b></a><br>");
newWin.document.write("</td></tr></table>");
newWin.document.write("</center>");
newWin.document.close();
}


function showImg4(im){
newWin = window.open("","newWin","width=550,height=350");
newWin.document.open();
newWin.window.focus();
newWin.document.write("<center><br><br>");
newWin.document.bgColor="#ffffff";
newWin.document.write("<table bgcolor='#ffffff' width=500><tr><td align='center'>");
newWin.document.write("<img src='");
newWin.document.write(im);
newWin.document.write("'><br><br>");
newWin.document.write("<a href='javascript:window.close();'>");
newWin.document.write("<b>");
newWin.document.write("<img src='../shop/close.gif' alt='CLOSE' border=0>");
newWin.document.write("</b></a><br>");
newWin.document.write("</td></tr></table>");
newWin.document.write("</center>");
newWin.document.close();
}

function km(b1){
  if(b1==0) {document.toru.src = "midashi/km_yogore_on.gif";}
  if(b1==1) {document.toru.src = "midashi/km_yogore_off.gif";}
  if(b1==2) {document.migaku.src = "midashi/km_migaku_on.gif";}
  if(b1==3) {document.migaku.src = "midashi/km_migaku_off.gif";}
  if(b1==4) {document.arau.src = "midashi/km_arau_on.gif";}
  if(b1==5) {document.arau.src = "midashi/km_arau_off.gif";}
  if(b1==6) {document.nuru.src = "midashi/km_nuru_on.gif";}
  if(b1==7) {document.nuru.src = "midashi/km_nuru_off.gif";}
  if(b1==8) {document.set.src = "midashi/km_set_on.gif";}
  if(b1==9) {document.set.src = "midashi/km_set_off.gif";}
}

function te(b1){
  if(b1==0) {document.ato.src = "gif/fp_ato_on.gif";}
  if(b1==1) {document.ato.src = "gif/fp_ato_off.gif";}
  if(b1==2) {document.s1.src = "gif/fp_s1_on.gif";}
  if(b1==3) {document.s1.src = "gif/fp_s1_off.gif";}
  if(b1==4) {document.t1.src = "gif/fp_t1_on.gif";}
  if(b1==5) {document.t1.src = "gif/fp_t1_off.gif";}
}

function ste(b1){
  if(b1==0) {document.ato.src = "gif/sax_ato_on.gif";}
  if(b1==1) {document.ato.src = "gif/sax_ato_off.gif";}
  if(b1==2) {document.s1.src = "gif/sax_s1_on.gif";}
  if(b1==3) {document.s1.src = "gif/sax_s1_off.gif";}
  if(b1==4) {document.t1.src = "gif/sax_t1_on.gif";}
  if(b1==5) {document.t1.src = "gif/sax_t1_off.gif";}
}

function clte(b1){
  if(b1==0) {document.ato.src = "gif/cl_ato_on.gif";}
  if(b1==1) {document.ato.src = "gif/cl_ato_off.gif";}
  if(b1==2) {document.s1.src = "gif/cl_s1_on.gif";}
  if(b1==3) {document.s1.src = "gif/cl_s1_off.gif";}
  if(b1==4) {document.t1.src = "gif/cl_t1_on.gif";}
  if(b1==5) {document.t1.src = "gif/cl_t1_off.gif";}
}

function pte(b1){
  if(b1==0) {document.ato.src = "gif/pi_ato_on.gif";}
  if(b1==1) {document.ato.src = "gif/pi_ato_off.gif";}
  if(b1==2) {document.s1.src = "gif/pi_s1_on.gif";}
  if(b1==3) {document.s1.src = "gif/pi_s1_off.gif";}
  if(b1==4) {document.t1.src = "gif/pi_t1_on.gif";}
  if(b1==5) {document.t1.src = "gif/pi_t1_off.gif";}
}

function LinkWin1(url) {
 var LM1;
 LM1=window.open(url,"win1","scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,width=620,height=575");
 LM1.window.focus();
}

function LinkWin2(url) {
 var LM2;
 LM2=window.open(url,"win2","scrollbars=no,resizable=yes,toolbar=no,location=no,directories=no,width=600,height=490");
 LM2.window.focus();
}

function LinkWinf(url) {
 var LM1;
 LM1=window.open(url,"win3","scrollbars=yes,resizable=yes,toolbar=yes,menubar=yes,location=no,directories=no,width=650,height=400");
 LM1.window.focus();
}


function tmenu(b1){



  if(b1==0) {document.tyuko.src ="hyousi/tyuuko_1.gif";}
  if(b1==1) {document.tyuko.src ="hyousi/tyuuko_2.gif";}
  if(b1==2) {document.gm.src ="hyousi/gyoumu_1.gif";}
  if(b1==3) {document.gm.src ="hyousi/gyoumu_2.gif";}
  if(b1==4) {document.bo.src ="hyousi/bouon_1.gif";}
  if(b1==5) {document.bo.src ="hyousi/bouon_2.gif";}
  if(b1==6) {document.mt.src ="hyousi/mente_1.gif";}
  if(b1==7) {document.mt.src ="hyousi/mente_2.gif";}
  if(b1==8) {document.ok.src ="hyousi/onkyou_1.gif";}
  if(b1==9) {document.ok.src ="hyousi/onkyou_2.gif";}
  if(b1==10) {document.ss.src ="hyousi/sensei_1.gif";}
  if(b1==11) {document.ss.src ="hyousi/sensei_2.gif";}
  if(b1==12) {document.od.src ="hyousi/ondai_1.gif";}
  if(b1==13) {document.od.src ="hyousi/ondai_2.gif";}
  if(b1==14) {document.fc.src ="hyousi/fc_1.gif";}
  if(b1==15) {document.fc.src ="hyousi/fc_2.gif";}
  if(b1==16) {document.st.src ="hyousi/staff_1.gif";}
  if(b1==17) {document.st.src ="hyousi/staff_2.gif";}
  if(b1==18) {document.mp.src ="hyousi/sitemap_1.gif";}
  if(b1==19) {document.mp.src ="hyousi/sitemap_2.gif";}
  if(b1==20) {document.ns.src ="hyousi/nets_1.gif";}
  if(b1==21) {document.ns.src ="hyousi/nets_2.gif";}
  if(b1==22) {document.rt.src ="hyousi/rt_1.gif";}
  if(b1==23) {document.rt.src ="hyousi/rt_2.gif";}
}


function sm(b1){
  if(b1==0) {document.ken.src = "midashi/ken_piano_on.gif";}
  if(b1==1) {document.ken.src = "midashi/ken_piano.gif";}
  if(b1==2) {document.toru.src = "midashi/k_toru_on.gif";}
  if(b1==3) {document.toru.src = "midashi/k_toru.gif";}
  if(b1==4) {document.migaku.src = "midashi/k_migaku._on.gif";}
  if(b1==5) {document.migaku.src = "midashi/k_migaku.gif";}
  if(b1==6) {document.arau.src = "midashi/k_arau_on.gif";}
  if(b1==7) {document.arau.src = "midashi/k_arau.gif";}
  if(b1==8) {document.nuru.src = "midashi/k_nuru_on.gif";}
  if(b1==9) {document.nuru.src = "midashi/k_nuru.gif";}
  if(b1==10) {document.set.src = "midashi/k_set_on.gif";}
  if(b1==11) {document.set.src = "midashi/k_set.gif";}
}



function pull(flg) {
	if (flg == 'ok') document.getElementById('mngk').style.visibility='hidden', document.getElementById('mnok').style.visibility='visible', document.getElementById('mnms').style.visibility='hidden', document.getElementById('mnko').style.visibility='hidden';
	else if (flg == 'gk')  document.getElementById('mnok').style.visibility='hidden', document.getElementById('mngk').style.visibility='visible', document.getElementById('mnms').style.visibility='hidden', document.getElementById('mnko').style.visibility='hidden';
	else if (flg == 'ms')  document.getElementById('mnok').style.visibility='hidden', document.getElementById('mngk').style.visibility='hidden', document.getElementById('mnms').style.visibility='visible', document.getElementById('mnko').style.visibility='hidden';
	else if (flg == 'ko')  document.getElementById('mnok').style.visibility='hidden', document.getElementById('mngk').style.visibility='hidden', document.getElementById('mnms').style.visibility='hidden', document.getElementById('mnko').style.visibility='visible';
	else document.getElementById('mngk').style.visibility='hidden',document.getElementById('mnok').style.visibility='hidden', document.getElementById('mnms').style.visibility='hidden',document.getElementById('mnko').style.visibility='hidden' ;
}

function LinkMo3(url) {
        var LM3;
        LM3=window.open(url,"win2","scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,width=420,height=430");
        LM3.window.focus();
}

function LinkMo4(url) {
        var LM4;
        LM4=window.open(url,"win3","scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,width=650,height=610");
        LM4.window.focus();
}

    function LinkMo5(url) {
        var LM5;
        LM5=window.open(url,"win4","scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,width=520,height=585");
        LM5.window.focus();
}

    function LinkMo6(url) {
        var LM6;
        LM6=window.open(url,"win5","scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,width=570,height=585");
        LM6.window.focus();
}

    function LinkMo7(url) {
        var LM7;
        LM7=window.open(url,"win6","scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,width=610,height=585");
        LM7.window.focus();
}




