function subwinopen_2007b(url) {
    var wo = window.open(url,"",
 "width=640,height=660,left=10,top=10,directories=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0");
     wo.window.focus();
  }

function subwinopen1(url) {
    var wo = window.open(url,"",
 "width=955,height=698,left=40,top=9,directories=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=1,toolbar=0");
     wo.window.focus();
	 window.moveTo(0,0);
	 window.resizeTo(screen.availWidth,screen.availHeight);
  }
  
function subwinopen2(url) {
    var wo = window.open(url,"",
 "width=600,height=620,left=152,top=100,directories=0,location=0,menubar=0,resizable=1,scrollbars=0,status=0,titlebar=1,toolbar=1");
     wo.window.focus();
  }

function subwinopen3(url) {
    var wo = window.open(url,"",
 "width=800,height=600,left=150top=100,directories=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0");
     wo.window.focus();
  }
  
function subwinopen_bw(url) {
    var wo = window.open(url,"",
 "width=250,height=200,left=150top=200,directories=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=1,toolbar=0");
     wo.window.focus();
  }

function subwinopen_event(url) {
    var wo = window.open(url,"",
 "width=400,height=300,left=150top=200,directories=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=1,toolbar=0");
     wo.window.focus();
  }

function subwinopen_product(url) {
    var wo = window.open(url,"",
 "width=550,height=450,left=150top=200,directories=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=1,toolbar=1");
     wo.window.focus();
  }

function subwinopen_ast(url) {
    var wo = window.open(url,"",
 "width=280,height=200,left=150top=200,directories=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=1,toolbar=0");
     wo.window.focus();
  }

function subwinopen_0405w(url) {
    var wo = window.open(url,"",
 "width=670,height=625,left=20,top=10,directories=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0");
     wo.window.focus();
  }
  
function subwinopen_05ss(url) {
    var wo = window.open(url,"",
 "width=720,height=690,left=20,top=5,directories=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=1,toolbar=0");
     wo.window.focus();
  }
  
function ch_body(P2){
//  window.open(P1,"left","resizable=0,scrollbars=0");
  window.open(P2,"right","resizable=0,scrollbars=0");
}

function Cart() { window.open("","Cart","location=no,status=yes,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width=550,height=450"); }

function akr_send_chk_d(go) {
           if (go.c_select_1.selectedIndex == 0){
          window.alert("お肌のトーンを選択して下さい！！");
           return false }
           if (go.c_select_2.selectedIndex == 0){
          window.alert("お肌の色味を選択して下さい！！");
           return false }
		   if (go.c_select_1.selectedIndex == 1&&go.c_select_2.selectedIndex == 1) {
		   parent.location.href = "6_d_1_1.html" 
           return false }
		   if (go.c_select_1.selectedIndex == 1&&go.c_select_2.selectedIndex == 2) {
		   parent.location.href = "6_d_1_2html" 
           return false }
		   if (go.c_select_1.selectedIndex == 2&&go.c_select_2.selectedIndex == 1) {
		   parent.location.href = "6_d_2_1.html" 
           return false }
		   if (go.c_select_1.selectedIndex == 2&&go.c_select_2.selectedIndex == 2) {
		   parent.location.href = "6_d_2_2.html" 
           return false }
}
function akr_send_chk_h(go) {
           if (go.c_select_1.selectedIndex == 0){
          window.alert("お肌のトーンを選択して下さい！！");
           return false }
           if (go.c_select_2.selectedIndex == 0){
          window.alert("お肌の色味を選択して下さい！！");
           return false }
		   if (go.c_select_1.selectedIndex == 1&&go.c_select_2.selectedIndex == 1) {
		   parent.location.href = "6_h_1_1.html" 
           return false }
		   if (go.c_select_1.selectedIndex == 1&&go.c_select_2.selectedIndex == 2) {
		   parent.location.href = "6_h_1_2.html" 
           return false }
		   if (go.c_select_1.selectedIndex == 2&&go.c_select_2.selectedIndex == 1) {
		   parent.location.href = "6_h_2_1.html" 
           return false }
		   if (go.c_select_1.selectedIndex == 2&&go.c_select_2.selectedIndex == 2) {
		   parent.location.href = "6_h_2_2.html" 
           return false }
}
function akr_send_chk_s(go) {
           if (go.c_select_1.selectedIndex == 0){
          window.alert("お肌のトーンを選択して下さい！！");
           return false }
           if (go.c_select_2.selectedIndex == 0){
          window.alert("お肌の色味を選択して下さい！！");
           return false }
		   if (go.c_select_1.selectedIndex == 1&&go.c_select_2.selectedIndex == 1) {
		   parent.location.href = "6_s_1_1.html" 
           return false }
		   if (go.c_select_1.selectedIndex == 1&&go.c_select_2.selectedIndex == 2) {
		   parent.location.href = "6_s_1_2.html" 
           return false }
		   if (go.c_select_1.selectedIndex == 2&&go.c_select_2.selectedIndex == 1) {
		   parent.location.href = "6_s_2_1.html" 
           return false }
		   if (go.c_select_1.selectedIndex == 2&&go.c_select_2.selectedIndex == 2) {
		   parent.location.href = "6_s_2_2.html" 
           return false }
}
function akr_send_chk_p(go) {
           if (go.c_select_1.selectedIndex == 0){
          window.alert("お肌のトーンを選択して下さい！！");
           return false }
           if (go.c_select_2.selectedIndex == 0){
          window.alert("お肌の色味を選択して下さい！！");
           return false }
		   if (go.c_select_1.selectedIndex == 1&&go.c_select_2.selectedIndex == 1) {
		   parent.location.href = "6_p_1_1.html" 
           return false }
		   if (go.c_select_1.selectedIndex == 1&&go.c_select_2.selectedIndex == 2) {
		   parent.location.href = "6_p_1_2.html" 
           return false }
		   if (go.c_select_1.selectedIndex == 1&&go.c_select_2.selectedIndex == 3) {
		   parent.location.href = "6_p_1_3.html" 
           return false }
		   if (go.c_select_1.selectedIndex == 2&&go.c_select_2.selectedIndex == 1) {
          window.alert("トーンで「青味はあるが強くない」を選択した場合は、色味は「中間」か「色黒」を選択して下さい。");
           return false }
		   if (go.c_select_1.selectedIndex == 2&&go.c_select_2.selectedIndex == 2) {
		   parent.location.href = "6_p_2_2.html" 
           return false }
           if (go.c_select_1.selectedIndex == 2&&go.c_select_2.selectedIndex == 3) {
		   parent.location.href = "6_p_2_3.html" 
           return false }
}


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function newwinn(url){
    var map=window.open(url,"mapwindow","width=483,height=540,toolbar=no,scrollbars=yes,resizable=no,menubar=no");
    map.window.focus()
}

function newwinn2(url){
    var uamapn2=window.open(url,"mapn2","width=483,height=600,toolbar=no,scrollbars=yes,resizable=no,menubar=no");
   uamapn2.window.focus();
}

function newwinb(url){
    var uamapb=window.open(url,"mapb","width=495,height=500,toolbar=no,scrollbars=yes,resizable=no,menubar=no");
   uamapb.window.focus();
}
