function Show1_1(){
  if(document.images){
    
    idc=1;
    vmax=0;
    rapeet=0;
    sendnet=0;
    tm1=0;
    bacrex=0;
    dcs=0;
    got=0;
    winwin=0;

    document.cookie="IDC"

  }
}

function Show1_2(){
  if(document.images){
    
    idc=0;
    vmax=1;
    rapeet=0;
    sendnet=0;
    tm1=0;
    bacrex=0;
    dcs=0;
    got=0;
    winwin=0;
    
    document.cookie="VMAX"
    
  }
}
function Show1_3(){
  if(document.images){
    
    idc=0;
    vmax=0;
    rapeet=1;
    sendnet=0;
    tm1=0;
    bacrex=0;
    dcs=0;
    got=0;
    winwin=0;
    
    document.cookie="RAPEET"
    
  }
}
function Show1_4(){
  if(document.images){
  
    idc=0;
    vmax=0;
    rapeet=0;
    sendnet=1;
    tm1=0;
    bacrex=0;
    dcs=0;
    got=0;
    winwin=0;
    
document.cookie="SENDNET"
    
  }
}
function Show1_5(){
  if(document.images){
  
    idc=0;
    vmax=0;
    rapeet=0;
    sendnet=0;
    tm1=1;
    bacrex=0;
    dcs=0;
    got=0;
    winwin=0;
    
    document.cookie="TM1"
    
  }
}
function Show1_6(){
  if(document.images){
    idc=0;
    vmax=0;
    rapeet=0;
    sendnet=0;
    tm1=0;
    bacrex=1;
    dcs=0;
    got=0;
    winwin=0;
    
    document.cookie="BACREX"
    
  }
}
function Show1_7(){
  if(document.images){
    
    idc=0;
    vmax=0;
    rapeet=0;
    sendnet=0;
    tm1=0;
    bacrex=0;
    dcs=1;
    got=0;
    winwin=0;
    
    document.cookie="DCS"
    
  }
}
function Show1_9(){
  if(document.images){
    
    idc=0;
    vmax=0;
    rapeet=0;
    sendnet=0;
    tm1=0;
    bacrex=0;
    dcs=0;
    got=0;
    winwin=1;
    
    document.cookie="WinWin"
    
  }
}

/*クッキーを指定してサービス紹介ページを開く*/
function SelectIDC(){
  document.cookie="IDC"
  window.open("index_jigyou.html", "_parent");
}
function SelectVMAX(){
  document.cookie="VMAX"
  window.open("index_jigyou.html", "_parent");
}
function SelectRAPEET(){
  document.cookie="RAPEET"
  window.open("index_jigyou.html", "_parent");
}
function SelectSendNet(){
  document.cookie="SENDNET"
  window.open("index_jigyou.html", "_parent");
}
function SelectTM1(){
  document.cookie="TM1"
  window.open("index_jigyou.html", "_parent");
}
function SelectBACREX(){
  document.cookie="BACREX"
  window.open("index_jigyou.html", "_parent");
}
function SelectWinWin(){
  document.cookie="WinWin"
  window.open("index_jigyou.html", "_top");
}
/*クッキーを指定してサービス紹介ページを開く*/

/*指定されたクッキーに対応してShow〜を行う*/
function GetCookie(){
  strService=document.cookie;
  if(strService=="IDC"){
  	opensub('data');
  	Show1();
    Show1_1();
  }else if(strService=="VMAX"){
    opensub('data');
    Show1();
    Show1_2();
  }else if(strService=="RAPEET"){
    opensub('data');
    Show1();
    Show1_3();
  }else if(strService=="SENDNET"){
    opensub('data');
    Show1();
    Show1_4();
  }else if(strService=="TM1"){
    opensub('data');
    Show1();
    Show1_5();
  }else if(strService=="BACREX"){
    opensub('data');
    Show1();
    Show1_6();
  }else if(strService=="DCS"){
    opensub('data');
    Show1();
    Show1_7();
  }else if(strService=="WinWin"){
    opensub('data');
    Show1();
    Show1_9();
  }
}
/*指定されたクッキーに対応してShow〜を行う*/

/*index_service.htmlの"2"フレームに個別のサービス紹介ページを開く*/
function ExWind1(){
  window.open("idc.html","jigyou");
}
function ExWind2(){
  window.open("vmax.html","jigyou");
}
function ExWind3(){
  window.open("rapeet.html","jigyou");
}
function ExWind4(){
  window.open("sendnet.html","jigyou");
}
function ExWind5(){
  window.open("tm1.html","jigyou");
}
function ExWind6(){
  window.open("bacrex.html","jigyou");
}
function ExWind7(){
  window.open("DCS-ASP.html","jigyou");
}
function ExWind9(){
  window.open("WinWin.html","jigyou");
}
/*index_service.htmlの"2"フレームに個別のサービス紹介ページを開く*/

/*指定されたクッキーに対応してExWind〜を行う*/
function OpWind(){
  strService=document.cookie;
  if(strService=="IDC"){
    ExWind1();
  }else if(strService=="VMAX"){
    ExWind2();
  }else if(strService=="RAPEET"){
    ExWind3()();
  }else if(strService=="SENDNET"){
    ExWind4();
  }else if(strService=="TM1"){
    ExWind5();
  }else if(strService=="BACREX"){
    ExWind6();
  }else if(strService=="DCS"){
    ExWind7();
  }else if(strService=="WinWin"){
    ExWind9();
  }
}
/*指定されたクッキーに対応してExWind〜を行う*/


function varclear(){
	idc=0;
    vmax=0;
    rapeet=0;
    sendnet=0;
    tm1=0;
    bacrex=0;
    dcs=0;
    got=0;
    winwin=0;
    
    Off1_1();
    Off1_2();
    Off1_3();
    Off1_4();
    Off1_5();
    Off1_6();
    Off1_7();
    Off1_8();
    Off1_9();
}

