﻿
	var chgCont = new Array()
	var seenCont
	chgCont[0] = "<a href='http://click.dtiserv2.com/Click2/202-56-8502' target='_blank'><img border='0' src='http://affiliate.dtiserv.com/image/x-ray/56-300-09.gif' alt='投稿大魔王' width='300px' height='215px'></a>"
	chgCont[1] = "<a href='http://click.dtiserv2.com/Click2/202-287-8502' target='_blank'><img border='0' src='http://affiliate.dtiserv.com/image/drumcan/90-350-02.gif' alt='ドラムカン' width='320px' height='200px'></a>"
	chgCont[2] = "<a href='http://click.dtiserv2.com/Click2/202-47-8502' target='_blank'><img border='0' src='http://affiliate.dtiserv.com/image/jpex/47-300-08.jpg' alt='日本人のおしっこEX' width='300px' height='200px'></a>"
	chgCont[3] = "<a href='http://click.dtiserv2.com/Click2/202-292-8502' target='_blank'><img border='0' src='http://affiliate.dtiserv.com/sam/pop/movies/gif/02/10musu01.gif' alt='天然むすめ' width='310px' height='190px'></a>"
	chgCont[4] = "<a href='http://www.maniaxdvd.com/page/link.html?number=index&id=rsk80rh' target='_blank'><img border='0' src='http://www.maniaxdvd.com/page/affiliate/banner/maniaxdvd_cm1.gif' alt='マニアックス' width='200px' height='40px'></a>"
	chgCont[5] = "<a href='http://click.dtiserv2.com/Click2/202-170-8502' target='_blank'><img border='0' src='http://affiliate.dtiserv.com/image/peepsamurai/170-350-01.gif' alt='のぞき侍' width='320px' height='200px'></a>"
	chgCont[6] = "<a href='http://click.dtiserv2.com/Click2/202-139-8502' target='_blank'><img border='0' src='http://affiliate.dtiserv.com/image/girls21/139-350-02.gif' alt='ガールズ２１' width='320px' height='200px'></a>"
	chgCont[7] = "<a href='http://cnt.affiliate.fc2.com/cgi-bin/click.cgi?aff_userid=6416&aff_siteid=5951&aff_shopid=39' target='_blank'><img border='0' src='http://cnt.affiliate.fc2.com/cgi-bin/banner.cgi?aff_siteid=5951&bid=3608&uid=6416' alt='輪姦の女神' width='120px' height='230px'></a>"
	chgCont[8] = "<a href='http://v012.video-ad01.com/?id=VA021502' target='_blank'><img border='0' src='http://blog34.fc2.com/o/ogurashiki/file/pop_realpeeping01.jpg' alt='リアルピーピング' width='300px' height='250px'></a>"
	chgCont[9] = "<a href='http://v003.video-ad01.com/?id=VA021504' target='_blank'><img border='0' src='http://blog34.fc2.com/o/ogurashiki/file/pop_smextacysy01.jpg' alt='smエクスタシー' width='300px' height='250px'></a>"
	chgCont[10] = "<a href='http://www.maniaxdvd.com/page/link.html?number=index&id=rsk80rh' target='_blank'><img border='0' src='http://www.maniaxdvd.com/page/affiliate/banner/maniaxdvd_cm2.gif' alt='マニアックス' width='200px' height='40px'></a>"
	chgCont[11] = "<a href='http://cnt.affiliate.fc2.com/cgi-bin/click.cgi?aff_userid=6416&aff_siteid=5951&aff_shopid=38' target='_blank'><img border='0' src='http://cnt.affiliate.fc2.com/cgi-bin/banner.cgi?aff_siteid=5951&bid=3683&uid=6416' alt='av-heart' width='270px' height='250px'></a>"
	chgCont[12] = "<a href='http://www.urabon-x.com/?a_aid=185&a_bid=3407' target='_blank'><img border='0' src='http://www.gl-cash.com/affiliate/banners/bk250_250.jpg' alt='裏本X' width='250px' height='250px'></a>"
	chgCont[13] = "<a href='http://click.dtiserv2.com/Click2/100-298-8502' target='_blank'><img border='0' src='http://affiliate.dtiserv.com/image/jpe_encore/298-350-01.jpg' alt='JPFアンコール' width='320px' height='300px'></a>"
	// メッセージ中にはこの例のようにＨＴＭＬタグが使えます。
	// メッセージの途中で改行を入れるとスクリプトが動かなくなるので、長いメッセージでも
	// 改行を入れないでください。
	var newCont = chgCont[0] // デフォルトで表示されるもの（クッキーをオフにしている場合など）
	var cExpires
	var nowDate = new Date()
	nowDate.setMonth(nowDate.getDate()+7) //１週間後にクッキー消滅
	cExpires = nowDate.toGMTString()
	var cookieValue = document.cookie
	var startOfValue = cookieValue.indexOf("seenCont=")
	if (startOfValue == -1) {
	   startOfValue = cookieValue.indexOf("seenCont=")
	   if (startOfValue == -1) {
	      seenCont = 0
	      newCont = chgCont[seenCont]
	   }
	}
	if (seenCont != 0) {
	   startOfValue = cookieValue.indexOf("=", startOfValue) + 1
	   var endOfValue = cookieValue.indexOf(";", startOfValue)
	   if (endOfValue == -1) {
	      endOfValue = cookieValue.length
	   }
	   seenCont = Number(cookieValue.substring(startOfValue, endOfValue))
	   if (seenCont<chgCont.length-1) {
	      seenCont++
	   } else {
	      seenCont = 0
	   }
	   newCont = chgCont[seenCont]
	}
	document.cookie = "seenCont=" + seenCont + ";expires=" + cExpires + ";"