// ●店名
var shop = "池袋東口イメクラ「初体験」";



//●お店ページリンク
var link2 = "";

link2+='http://fuzokudx.com/tenpoinfo?tenpoCd='

link2+='hatutaiken'//店舗キー入力




// ●女の子の名前と年齢スリーサイズ　改行→「girlprof+='<br>';」

var girlprof = "";

girlprof+='<font class=S  style=line-height:200%; color=#000000>';

girlprof+=shop;

girlprof+='</font><br>';

girlprof+='<font class=M style=font-weight:bold; line-height:200%; color=#000000>';

girlprof+=' 　みな [21歳]   　';//名前と年齢を記入、その後に全角スペース入れてね！

girlprof+='</font>';

girlprof+='<font class=S color=#000000>';



girlprof+=' T:155  B:87 (E)  W:57  H:85   ';//3サイズを記入



girlprof+='</font>';



// ●オフィシャルHPがあればオリジナルURL、なければ「0」を記入　※記入いらず



var link = "#";




// ●写真枚数



var max = 12;











//////////////////////////////////////ここから下は触らないでね




var i = 0;



var count = 0;


image = new Array();



for(i=0 ; i<max ; i++){



  num=i+1



  image[i] = new Image();



  image[i].src = num + ".jpg";
 


}




// ●プロフィール表示



function prof(){



  document.write(girlprof);



}







// ●店名表示



function sho(){



  if(link != 0){


    shopinfo2="<a href=" + link2 + " target=_blank><img src=http://www.fuzokudx.com/dx_data/c_img/gravure/spot_tenpo01.gif alt=お店ページへ width=90 height=33 align=left border=0 onMouseOver=this.src='http://www.fuzokudx.com/dx_data/c_img/gravure/spot_tenpo02.gif' onMouseOut=this.src='http://www.fuzokudx.com/dx_data/c_img/gravure/spot_tenpo01.gif'></a>";



    document.write(shopinfo2);



  }



shopinfo="";



document.write(shopinfo);



}







// ●NEXTorBACKボタンor画像を押した時



function action1(n){







  count+=n







// NEXT or BACKボタン表示切り替え



  if(count<=0||count>= image.length){



    count=0;



 


  back_u.innerHTML = "<img src=http://www.fuzokudx.com/dx_data/c_img/gravure/spot_back_u03.gif width=134 height=33 border=0>";



  gazo.innerHTML = "<a href=javascript:action1(1);><img src=" + image[count].src + " alt=次の写真へ border=0></a></a>";



  }







  else if(count==1){



 


  back_u.innerHTML = "<a href=javascript:action1(-1);><img src=http://www.fuzokudx.com/dx_data/c_img/gravure/spot_back_u01.gif width=134 height=33 alt=前の写真を見る border=0 onMouseOver=this.src='http://www.fuzokudx.com/dx_data/c_img/gravure/spot_back_u02.gif' onMouseOut=this.src='http://www.fuzokudx.com/dx_data/c_img/gravure/spot_back_u01.gif'></a>";



  gazo.innerHTML = "<a href=javascript:action1(1);><img src=" + image[count].src + " alt=次の写真へ border=0></a></a>";







  }







  else if(count== image.length-2){



 


  next_u.innerHTML = "<a href=javascript:action1(1);><img src=http://www.fuzokudx.com/dx_data/c_img/gravure/spot_next_u01.gif width=133 height=33 alt=次の写真を見る border=0 onMouseOver=this.src='http://www.fuzokudx.com/dx_data/c_img/gravure/spot_next_u02.gif' onMouseOut=this.src='http://www.fuzokudx.com/dx_data/c_img/gravure/spot_next_u01.gif'></a>";



  gazo.innerHTML = "<a href=javascript:action1(1);><img src=" + image[count].src + " alt=次の写真へ border=0></a>";







  }







  else if(count== image.length-1){



  next_u.innerHTML = "<a href=ind.html><img src=http://www.fuzokudx.com/dx_data/c_img/gravure/spot_next_u01.gif width=133 height=33 border=0  onMouseOver=this.src='http://www.fuzokudx.com/dx_data/c_img/gravure/spot_next_u02.gif' onMouseOut=this.src='http://www.fuzokudx.com/dx_data/c_img/gravure/spot_next_u01.gif'></a>";



  gazo.innerHTML = "<a href=ind.html><img src=" + image[count].src + " border=0></a>";







  }else{



      gazo.innerHTML = "<a href=javascript:action1(1);><img src=" + image[count].src + " alt=次の写真へ border=0></a>";



    }



}



