//SITE_URL = "http://naito/rl-fetish";
SITE_URL = "http://www.roselip-fetish.com";

function random(array, num) {
    var a = array;
    var t = {};
    var r = [];
    var l = a.length;
    var n = num < l ? num : l;
    while (n-- > 0) {
        var i = Math.random() * l | 0;
        r[n] = t[i] || a[i];
        --l;
        t[i] = t[l] || a[l];
    }
    return r;
}

////////// header ///////////////////////////
function div_id(id){ //div open id
	document.write('<div id=',id,'>');
	}

function div_cls(cls){ //div open class
	document.write('<div class=',cls,'>');
	}

function div_close(){ //div close
	document.write('</div>');
	}

function btn_head(cls,ahref){
	document.write('<p class="btn_',cls,'">');
	document.write('<a href="',ahref,'">');
	document.write('<img src="',SITE_URL,'/img/head/btn_',cls,'.png" id="btn_',cls,'" ');
	document.write('onmouseover="MM_swapImage(\'btn_',cls,'\',\'\',\'',SITE_URL,'/img/head/btn_',cls,'_on.png\',1)" ');
	document.write('onmouseout="MM_swapImgRestore()" />');
	document.write('</a></p>');
	}


function navi(){
	naviList = new Array("top","movie","digest","lists","sp","vippro","vippic","fq","dummy","login");
	naviLink = new Array(SITE_URL+"/",SITE_URL+"/tour/?cate=complist&page=1",SITE_URL+"/digest/?cate=digestlist&page=1",SITE_URL+"/chijo/?cate=chijolist&page=1",SITE_URL+"/sp/",SITE_URL+"/vip_pro/",SITE_URL+"/vip_pic/","http://www.roselip-fetish.com/details/?menu=faq","http://www.roselip-fetish.tv/auth.php","http://www.roselip-fetish.tv/auth.php");
	nListEnd = naviList.pop();//最後尾取得
	nLinkEnd = naviLink.pop();
	naviList.push(nListEnd);//削除した要素を追加
	naviLink.push(nLinkEnd);
	
	document.write('<p>');
	for(i=0;i<9;i++){
		document.write('<a href="',naviLink[i],'" class="navi_menu">');
		document.write('<img src="',SITE_URL,'/img/head/navi_',naviList[i],'.gif" id="navi_',naviList[i],'" ');
		document.write('onmouseover="MM_swapImage(\'navi_',naviList[i],'\',\'\',\'',SITE_URL,'/img/head/navi_',naviList[i],'_on.gif\',1)" ');
		document.write('onmouseout="MM_swapImgRestore()" /></a>');
		}
	document.write('<a href="',nLinkEnd,'" class="navi_end">');
	document.write('<img src="',SITE_URL,'/img/head/navi_',nListEnd,'.gif" id="navi_',nListEnd,'" ');
	document.write('onmouseover="MM_swapImage(\'navi_',nListEnd,'\',\'\',\'',SITE_URL,'/img/head/navi_',nListEnd,'_on.gif\',1)" ');
	document.write('onmouseout="MM_swapImgRestore()" /></a>');
	document.write("</p>");
	}

function menuCate(){
	mcListLen = menuCateList.length;
	mcListEnd = menuCateList.pop();
	mcLinkEnd = menuCateLink.pop();
	menuCateList.push(mcListEnd);
	menuCateLink.push(mcLinkEnd);

	document.write('<p>');
	for(i=0;i<mcListLen;i++){
		if(i == 15){
			document.write('<a href="',menuCateLink[i],'" class="menucate_end">');
		}else{
			document.write('<a href="',menuCateLink[i],'" class="menucate_a">');
			}
		
		if(i == 7){
			document.write(menuCateList[i],'</a><br />');
		}else{
			document.write(menuCateList[i],'</a>');
			}
		}
	document.write('</p>');
	}

function sub_navi(){
	subnaviList = new Array("01","02","03");
	subnaviLink = new Array(SITE_URL+"1",SITE_URL+"2",SITE_URL+"3");
	subnListEnd = subnaviList.pop();//最後尾取得
	subnLinkEnd = subnaviLink.pop();
	subnaviList.push(subnListEnd);//削除した要素を追加
	subnaviLink.push(subnLinkEnd);

	document.write('<p>');
	for(i=0;i<2;i++){
		document.write('<a href="',subnaviLink[i],'" class="sub_navi_menu">');
		document.write('<img src="',SITE_URL,'/img/sub_navi/sub_navi_',subnaviList[i],'.gif" id="sub_navi_',subnaviList[i],'" ');
		document.write('onmouseover="MM_swapImage(\'sub_navi_',subnaviList[i],'\',\'\',\'',SITE_URL,'/img/sub_navi/sub_navi_',subnaviList[i],'_on.gif\',1)" ');
		document.write('onmouseout="MM_swapImgRestore()" /></a>');
		}
	document.write('<a href="',subnLinkEnd,'" class="sub_navi_end">');
	document.write('<img src="',SITE_URL,'/img/sub_navi/sub_navi_',subnListEnd,'.gif" id="sub_navi_',subnListEnd,'" ');
	document.write('onmouseover="MM_swapImage(\'sub_navi_',subnListEnd,'\',\'\',\'',SITE_URL,'/img/sub_navi/sub_navi_',subnListEnd,'_on.gif\',1)" ');
	document.write('onmouseout="MM_swapImgRestore()" /></a>');
	document.write("</p>");
	}


//ヘッダー下フラッシュ 無、+ ヘッダー下キャンペーンバナー
function header(){
	document.write('<p id="logo-head"><a href="http://www.roselip-fetish.com/"></a></p>');
	//document.write('<p id="vis-head"><a href="http://www.roselip-fetish.com/movie/?num=0318"></a></p>');
	document.write('<a id="top" style="display:none">&nbsp;</a>');
	div_id("logo");
		document.write('<div style="width:534px;height:90px;margin-left:0px;margin-right:0px;padding-left:0px;padding-right:0px;"><a href="',SITE_URL,'/"><img src="',SITE_URL,'/img/head/logo_02.jpg" width="534" height="90" /></a></div>');
		div_cls("btn_head");
			btn_head("join",SITE_URL+"/join/");
			//btn_head("login","http://www.roselip-fetish.tv/auth.php");
			div_close();//btn_head
		div_close();//logo
	
	div_id("navi");
		navi();
		div_close();//navi
	
	div_cls("menu_cate");
		menuCate();
		div_close();//menu_cate

	div_cls("banner");
	//headRdm();
	document.write('<div style="margin:0px 0px 0px 0px;"><a href="http://www.roselip-fetish.com/camp_100904/"><img src="http://www.roselip-fetish.com/camp_100904/img/header.jpg" /></a></div>');
	//document.write('<div style="margin:0px 0px 0px 0px;"><img src="',SITE_URL,'/img/structural/header.jpg" /></div>');
	//document.write('<div style="margin:0px;text-align:center;border:solid 1px #999999;height:80px;">');
		//document.write('<td>');
		//countdownHeader();
		//document.write('</td>');
        //document.write('</div>');
		//document.write('<td><a href="http://www.roselip-fetish.com/vip_pic/"><img src="http://www.roselip-fetish.com/vip_pic/img/contents/header.jpg" /></a></td>');
		div_close();//banner

	}

//ヘッダー下フラッシュ 有、+ ヘッダー下キャンペーンバナー
function header2(){
	document.write('<p id="logo-head"><a href="http://www.roselip-fetish.com/"></a></p>');
	//document.write('<p id="vis-head"><a href="http://www.roselip-fetish.com/movie/?num=0318"></a></p>');
	document.write('<a id="top" style="display:none">&nbsp;</a>');
	div_id("logo");
		document.write('<div style="width:534px;height:90px;margin-left:0px;margin-right:0px;padding-left:0px;padding-right:0px;"><a href="',SITE_URL,'/"><img src="',SITE_URL,'/img/head/logo_02.jpg" width="534" height="90" /></a></div>');
		div_cls("btn_head");
			btn_head("join",SITE_URL+"/join/");
			//btn_head("login","http://www.roselip-fetish.tv/auth.php");
			div_close();//btn_head
		div_close();//logo

	//div_id("logo");
		//document.write('<div style="width:561px;height:90px;margin-left:0px;margin-right:0px;padding-left:0px;padding-right:0px;"><a href="',SITE_URL,'/"><img src="',SITE_URL,'/img/logo.jpg" width="561" height="90" /></a></div>');
		//div_cls("btn_head");
			//btn_head("join",SITE_URL+"/join/");
			//btn_head("login","http://www.roselip-fetish.tv/auth.php");
			//div_close();//btn_head
		//div_close();//logo
	
	div_id("navi");
		navi();
		div_close();//navi
	
	div_cls("menu_cate");
		menuCate();
		div_close();//menu_cate

	div_cls("banner");
	//headRdm();
	document.write('<div style="margin:0px 0px 0px 0px;"><a href="http://www.roselip-fetish.com/camp_100904/"><img src="http://www.roselip-fetish.com/camp_100904/img/header.jpg" /></a></div>');
	//document.write('<div style="margin:0px;text-align:center;border:solid 1px #999999;height:80px;">');
		//document.write('<td>');
		//countdownHeader();
		//document.write('</td>');
        //document.write('</div>');
		//document.write("<p style='text-align:center;border:1px solid #999999;'><span style='color:red'>◆ サーバ障害について ◆</span><br/><span style='color:#666'>日本時間8月13日深夜から8月13日午後12時の間、一時的に決済および退会に関するサーバに不具合が発生し、<br/>ご利用者の皆様に大変なご不便をおかけしました事を、深くお詫び申し上げます。<br/>すでに復旧作業は完了しております。ご迷惑をおかけしまして誠に申し訳ございませんでした。 </span></p>");
		//document.write('<div style="margin:0px 0px 0px 0px;"><img src="',SITE_URL,'/img/advance_notice.jpg" /></div>');
		//document.write('<td><a href="http://www.roselip-fetish.com/vip_pic/"><img src="http://www.roselip-fetish.com/vip_pic/img/contents/header.jpg" /></a></td>');
		document.write("<p style='margin:0px 0px -4px 0px;padding-top:3px;text-align:center;width:800px;'>");
		document.write("<object data='top/swf/rl_top.swf' type='application/x-shockwave-flash' width='800' height='230'>");
		document.write("NEO");
		document.write("<param name='movie' value='top/swf/rl_top.swf' />");
		document.write("<param name='quality' value='high' />");
		document.write("<param name='wmode' value='opaque' />");
		document.write("<embed src='top/swf/rl_top.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='800' height='230'></embed>");
		document.write("</object></p>");
		div_close();//banner
	}

//ヘッダー下フラッシュ無し ヘッダー下バナー無し
function header3(){
	document.write('<p id="logo-head"><a href="http://www.roselip-fetish.com/"></a></p>');
	//document.write('<p id="vis-head"><a href="http://www.roselip-fetish.com/movie/?num=0318"></a></p>');
	document.write('<a id="top" style="display:none">&nbsp;</a>');
	div_id("logo");
		document.write('<div style="width:534px;height:90px;margin-left:0px;margin-right:0px;padding-left:0px;padding-right:0px;"><a href="',SITE_URL,'/"><img src="',SITE_URL,'/img/head/logo_02.jpg" width="534" height="90" /></a></div>');
		div_cls("btn_head");
			btn_head("join",SITE_URL+"/join/");
			//btn_head("login","http://www.roselip-fetish.tv/auth.php");
			div_close();//btn_head
		div_close();//logo
	
	div_id("navi");
		navi();
		div_close();//navi
	
	div_cls("menu_cate");
		menuCate();
		div_close();//menu_cate

	}

//ヘッダー下フラッシュ無し ヘッダー下バナー無し
function header4(){
	document.write('<p id="logo-head"><a href="http://www.roselip-fetish.com/"></a></p>');
	//document.write('<p id="vis-head"><a href="http://www.roselip-fetish.com/movie/?num=0318"></a></p>');
	document.write('<a id="top" style="display:none">&nbsp;</a>');
	div_id("logo");
		document.write('<div style="width:534px;height:90px;margin-left:0px;margin-right:0px;padding-left:0px;padding-right:0px;"><a href="',SITE_URL,'/"><img src="',SITE_URL,'/img/head/logo_02.jpg" width="534" height="90" /></a></div>');
		div_cls("btn_head");
			btn_head("join",SITE_URL+"/join/");
			//btn_head("login","http://www.roselip-fetish.tv/auth.php");
			div_close();//btn_head
		div_close();//logo
	
	div_id("navi");
		navi();
		div_close();//navi
	
	div_cls("menu_cate");
		menuCate();
		div_close();//menu_cate

	}

///// local ////////////////////////////////////////////////////////////////////////

function news(){
	wnLen = wnDate.length;
	div_cls("whatsnew");
		document.write('<p class="bar_local">更新情報</p>');
		div_cls("news");
		document.write('<p class="local-news-gif"><img src="/img/news.gif" alt="最新情報"></p>');
		for(i=0;i<wnLen;i++){

			div_cls("wn_name");
			if(wnStatus[i]){
				if(wnStatus[i] == "1"){icon = "reg";}
				else if(wnStatus[i] == "2"){icon = "sps";}
				else if(wnStatus[i]){icon = "vip";}
				else{icon = "non";}
				document.write('<p class="wn_date"><img src="/img/icon_',icon,'.gif" />&nbsp;',wnDate[i],'</p>');
				document.write('<p class="wn_title">');
				document.write('<a href="',wnNum[i],'" style="margin-left:0px;">',wnTitle[i],'</a></p>');
			}else{
				document.write('<p class="wn_date">',wnDate[i],'</p>');
				document.write('<p class="wn_title">');
				document.write('<a href="',wnNum[i],'">',wnTitle[i],'</a></p>');
			}
			div_close();
			}
			div_close();
		div_close();
	}

function close(){
	cnLen = cnDate.length;
	div_cls("whatsnew");
		document.write('<p class="bar_local">公開終了間近作品</p>');
		div_cls("close");
		//document.write('<p class="local-news-gif"><img src="/img/news.gif" alt="最新情報"></p>');
		for(i=0;i<cnLen;i++){

			div_cls("wn_name");
			if(cnStatus[i]){
				if(cnStatus[i] == "1"){icon = "reg";}
				else if(cnStatus[i] == "2"){icon = "sps";}
				else if(cnStatus[i]){icon = "vip";}
				else{icon = "non";}
				document.write('<p class="wn_date"><img src="/img/icon_',icon,'.gif" />&nbsp;',cnDate[i],'</p>');
				document.write('<p class="wn_title">');
				document.write('<a href="',cnNum[i],'" style="margin-left:0px;">',cnTitle[i],'</a></p>');
			}else{
				document.write('<p class="wn_date">',cnDate[i],'</p>');
				document.write('<p class="wn_title">');
				document.write('<a href="',cnNum[i],'">',cnTitle[i],'</a></p>');
			}
			div_close();
			}
			div_close();
		div_close();
	}


function newsold(){
	wnLen = wnDate.length;
	div_cls("whatsnew");
		document.write('<p class="bar_local">更新情報</p>');
		div_cls("news");
		document.write('<p class="local-news-gif"><img src="/img/news.gif" alt="最新情報"></p>');
		for(i=0;i<wnLen;i++){
			document.write('<p class="wn_date"> ',wnDate[i],'</p>');
			document.write('<p class="wn_name"><a href="',SITE_URL,'/movie/?num=',wnNum[i],'">',wnTitle[i],'</a></p>');
			}
			div_close();
		div_close();
	}

function situation(){
	wnLen = msText.length;
	div_cls("local_ms");
		document.write('<p class="bar_local">Ｍシチュエーション</p>');
		div_cls("imgtxt_local");
			document.write('<p class="imgtxt_local_img">');
			document.write('<img src="',SITE_URL,'/ms/local_title.jpg" /></p>');
			div_close();

		div_cls("situation");
		for(i=0;i<wnLen;i++){
			document.write('<p class="ms_gif"><img src="',SITE_URL,'/img/ms_icon.gif" /></p>');
			document.write('<p class="ms_new">',msIcon[i],'</p>');
			document.write('<div class="ms_f01"><p class="ms_situation"><a href="',SITE_URL,'/movie/?num=',msNum[i],'">',msText[i],'</a>');
			document.write('<img src="',SITE_URL,'/movie/',msNum[i],'/m2bp.jpg" /></p></div>');
			}
			div_close();
		div_close();
	}

function topic(){
	div_cls("registration");
		document.write('<p class="bar_local">☆RoseLip年間ランキング☆</p>');

		div_cls("imgtxt_local");
			document.write('<td><a href="http://www.roselip-fetish.com/rank2008/"><img src="http://www.roselip-fetish.com/rank2008/img/local.jpg" /></a></td>');
			div_close();
		div_close();
	}

function best(){
	div_cls("attention");
		document.write('<p class="bar_local">☆本日のイチオシ☆</p>');
		div_cls("imgtxt_local");
document.write('<p><a href="',SITE_URL,'/movie/?num=',ichiNum,'"><img src="',SITE_URL,'/movie/',ichiNum,'/f01.jpg" /></a></p>');
//document.write('<p><a href="http://www.roselip-fetish.com/movie/?num=0109"><img src="',SITE_URL,'/img/0109_local.jpg" /></a></p>');
//document.write('<p><a href="http://www.roselip-fetish.com/movie/?num=0106"><img src="',SITE_URL,'/img/0106_local.jpg" /></a></p>');
			div_close();
		div_close();
	}

function vip_latest(){
	vipLen = vipDate.length;
	div_cls("attention");
		document.write('<p class="bar_local">VIP限定動画</p>');
		div_cls("imgtxt_local");
                        document.write('<p><a href="http://www.roselip-fetish.com/vip_pro/"><img src="',SITE_URL,'/movie/',vipNum,'/f01.jpg" /></a></p>');
		for(i=0;i<vipLen;i++){
			document.write('<p class="vip_date"> ',vipDate[i],'</p>');
			}
			div_close();
			document.write('<div class="local_vip_tag"><img src="http://www.roselip-fetish.com/img/vip/vip_tag_s.png" />');
			document.write('</div>');
		div_close();
	}

function vip_photo(){
	vip_picLen = vip_picDate.length;
	div_cls("registration");
		document.write('<p class="bar_local">VIP限定写真</p>');
		div_cls("imgtxt_local");
                        document.write('<p><a href="http://www.roselip-fetish.com/vip_pic/"><img src="http://www.roselip-fetish.com/img/vip/local_vip_photo.jpg" /></a></p>');
		for(i=0;i<vip_picLen;i++){
			document.write('<p class="vip_date"> ',vip_picDate[i],'</p>');
			}
			div_close();
		div_close();
	}


function sp_latest(){
	spLen = spDate.length;
	div_cls("attention");
		document.write('<p class="bar_local">SP限定動画</p>');
		div_cls("imgtxt_local");
                        document.write('<p><a href="http://www.roselip-fetish.com/sp/"><img src="',SITE_URL,'/movie/',spNum,'/f01.jpg" /></a></p>');
		for(i=0;i<spLen;i++){
			document.write('<p class="vip_date"> ',spDate[i],'</p>');
			}
			div_close();
		div_close();
	}

function l_mnavi(){
	div_cls("attention");
		document.write('<p class="bar_local">Ｍなびランキング</p>');
		div_cls("imgtxt_local");
                        document.write('<p><a href="http://www.roselip-fetish.com/mrank/"><img src="',SITE_URL,'/mrank/img/local_mnavi.gif" /></a></p>');
			document.write('<p class="vip_date" style="font-size:10px;">',SK,'</p>');
			div_close();
		div_close();
	}

function latest(){
	latestLen = latestDate.length;
	div_cls("attention");
		//document.write('<p class="bar_local">☆最新作☆</p>');
		document.write('<p class="bar_local">☆更新動画☆</p>');
		div_cls("imgtxt_local");
document.write('<p><a href="',SITE_URL,'/movie/?num=',latestNum,'"><img src="',SITE_URL,'/movie/',latestNum,'/f01.jpg" /></a></p>');
		for(i=0;i<latestLen;i++){
			document.write('<p class="vip_date"> ',latestDate[i],'</p>');
			}
			div_close();
		div_close();
	}

function localRandom(){

randomList = random(rList,1);

	div_cls("attention");
		document.write('<p class="bar_local">☆本日の動画☆</p>');
for(i=0;i<1;i++){
	document.write('<div class="imgtxt_local">');
		document.write('<a href="http://www.roselip-fetish.com/movie/?num=',randomList[i],'"><img src="http://www.roselip-fetish.com/movie/',randomList[i],'/f01.jpg"></a>');

	document.write("</div>");
	}

	div_close();
	}

function attention(){
	div_cls("attention");
		document.write('<p class="bar_local">Attention</p>');
		div_cls("imgtxt_local");
			document.write('<p class="imgtxt_local_txt">Japanese Girl Roped follows the law.  All models appear in the movie are over the age of eighteen years.<br />');
			document.write('<a href="',SITE_URL,'/details/?menu=18us">&gt;&gt;18 U.S.C.2257 Record-keeping Requirements Compliance statement</a></p>');
			div_close();
		div_close();
	}

function localTele(){
	div_cls("attention");
		document.write('<p class="bar_local">安心RoseLipサポート</p>');
		div_cls("imgtxt_local");
			document.write('<p class="imgtxt_local_img2"><a href="',SITE_URL,'/faq/"><img src="',SITE_URL,'/img/local_telephone.jpg" /></a></p>');
			div_close();
		div_close();
	}

function toNeo(){
	div_cls("registration");
		document.write('<p class="bar_local">お勧め優良サイト紹介</p>');
		div_cls("imgtxt_local");
			document.write('<p class="imgtxt_local_img"><a href="http://script2.natuko-miracle.com/access/index.php?id=0002" target="_blank"><img src="',SITE_URL,'/img/neo_local.jpg" /></a></p>');
			div_close();
		div_close();
	}

function camp(){
	div_cls("registration");
		document.write('<p class="bar_local">RoseLip DVD</p>');
		//document.write('<p class="bar_local">期間限定キャンペーン</p>');
		div_cls("imgtxt_local");
			document.write('<td><a href="http://dvd.rose-lip.com/" target="_blank"><img src="http://www.roselip-fetish.com/dvd/dvd_local.jpg" /></a></td>');
			//document.write('<p class="imgtxt_local_img"><a href="http://www.roselip-fetish.com/photo_camp080101/"><img src="',SITE_URL,'/img/0801camp_local.jpg" /></a></p>');
			//document.write('<p class="imgtxt_local_img"><a href="http://www.roselip-fetish.com/camp0708/"><img src="',SITE_URL,'/img/colla_camp.main_local.jpg" /></a></p>');
			//document.write('<p class="imgtxt_local_img"><a href="http://www.roselip-fetish.com/07award/"><img src="',SITE_URL,'/img/07award_mini_fine.jpg" /></a></p>');
			//document.write('<p class="imgtxt_local_img"><a href="http://www.roselip-fetish.com/photo_campaign/"><img src="',SITE_URL,'/img/feti_local.jpg" /></a></p>');
			div_close();
		div_close();
	}


function camp2(){
	div_cls("registration");
		document.write('<p class="bar_local">限定キャンペーン</p>');
		div_cls("imgtxt_local");
			//countdownLocal();
			document.write('<td><a href="http://www.roselip-fetish.com/camp_100904/" target="_self"><img src="http://www.roselip-fetish.com/camp_100904/img/local.jpg" /></a></td>');
			div_close();
		div_close();
	}

function vipP(){
	div_cls("registration");
		document.write('<p class="bar_local">VIP</p>');
		div_cls("imgtxt_local");
		document.write('<p class="imgtxt_local_img"><a href="http://www.roselip-fetish.tv/contents/vip.php"><img src="',SITE_URL,'/img/local_vip.jpg" /></a></p>');
			div_close();
		div_close();
	}

function patment(){
	div_cls("patment");
		document.write('<p class="bar_local">お支払方法</p>');
		div_cls("imgtxt_local");
			document.write('<p class="imgtxt_local_img"><img src="',SITE_URL,'/img/icon_payment.gif" /></p>');
			document.write('<p class="imgtxt_local_img"><img src="',SITE_URL,'/img/icon_verisign.gif" /></p>');
			document.write('<p class="imgtxt_local_txt">当サイトは継続課金制です。退会を希望しない限り、毎月自動で更新できます。<br><br>ローズリップでお取り扱いしている個人情報、クレジットカード情報は、米国ベリサイン社が開発した政府機関・銀行等で利用されている世界標準の暗号化技術（SSL※）を用いて安全に送信されております。 </p>');
			div_close();
		div_close();
	}

function privacy(){
	div_cls("privacy");
		document.write('<p class="bar_local">セキュリティに関して</p>');
		div_cls("imgtxt_local");
			document.write('<p class="imgtxt_local_img"><img src="',SITE_URL,'/img/icon_verisign.gif" /></p>');
			document.write('<p class="imgtxt_local_txt">クレジットカード決済等の情報は、全世界58万件以上で採用されているベリサイン社の暗号化技術を用いるため、第三者への情報漏れの恐れはございません。</p>');
			div_close();
		div_close();
	}

function mailMag(){
	div_cls("registration");
		document.write('<p class="bar_local">ローズリップ無料メルマガ</p>');
		div_cls("imgtxt_local");
			document.write('<p class="imgtxt_local_img">');
			document.write('<a href="',SITE_URL,'/mailmag/">');
			document.write('<img src="',SITE_URL,'/img/local_mailmag.jpg" /></a></p>');
			div_close();
		div_close();
	}

function blog(){
	div_cls("registration");
		document.write('<p class="bar_local">公式ブログ</p>');
		div_cls("imgtxt_local");
			document.write('<p class="imgtxt_local_img">');
			document.write('<a href="http://roselipinfo.blog99.fc2.com/" target="_blank">');
			document.write('<img src="',SITE_URL,'/img/local_blog.jpg" /></a></p>');
			div_close();
		div_close();
	}

function inquiry(){
	div_cls("registration");
		document.write('<p class="bar_local">ご要望</p>');
		div_cls("imgtxt_local");
			document.write('<p class="imgtxt_local_img">');
			document.write('<a href="',SITE_URL,'/req/">');
			document.write('<img src="',SITE_URL,'/img/inquiry_btn.gif" /></a></p>');
			div_close();
		div_close();
	}


function registration(){
	div_cls("registration");
		document.write('<p class="bar_local">ご入会はこちら</p>');
		div_cls("imgtxt_local");
			document.write('<p class="localbtn_join">');
			document.write('<a href="',SITE_URL,'/join/">');
			document.write('<img src="',SITE_URL,'/img/navi/localbtn_join.gif" id="localbtn_join" ');
			document.write('onmouseover="MM_swapImage(\'localbtn_join\',\'\',\'',SITE_URL,'/img/navi/localbtn_join_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
			document.write('<p class="localbtn_login">');
			document.write('<a href="http://www.roselip-fetish.tv/auth.php">');
			document.write('<img src="',SITE_URL,'/img/localbtn_login.gif" id="localbtn_login" ');
			document.write('onmouseover="MM_swapImage(\'localbtn_login\',\'\',\'',SITE_URL,'/img/localbtn_login_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
			div_close();
		div_close();
	}

function entryChange1(){
		radio = document.getElementsByName('entryPlan')

		if(radio[0].checked) {
			//フォーム
			document.getElementById('firstBox').style.display = "";
			document.getElementById('secondBox').style.display = "none";

		}else if(radio[1].checked) {
			//フォーム
			document.getElementById('firstBox').style.display = "none";
			document.getElementById('secondBox').style.display = "";
		}
	}

//オンロードさせ、リロード時に選択を保持
window.onload = entryChange1;

function ranking(){
	div_cls("ranking");
		document.write('<p class="bar_local">RoseLip 総合ランキング</p>');
			div_cls("rank_bar");
			document.write('<form><label><input type="radio" name="entryPlan" value="女優別" onclick="entryChange1();" checked="checked" /> 女優別</label>　　<label><input type="radio" name="entryPlan" value="動画別" onclick="entryChange1();" /> 動画別</label></form>');
			div_close();
			document.write('<div id="firstBox">');
				modRanking();
			document.write('</div>');
			document.write('<div id="secondBox" style="display:none;">');
				movRanking();
			document.write('</div>');
			
		div_close();
	}

function movRanking(){
	rankArr = new Array("","1st","2nd","3rd","4th","5th","6th","7th","8th","9th","10th");
		for(i=1;i<11;i++){
			document.write('<div class="rank_m',i,'">');
			div_cls("rank_img");
				document.write('<p class="rank_num">',rankArr[i],'</p>');
				document.write('<p class="rank_m_jpg"><a href="',SITE_URL,'/movie/?num=',rankNum[i],'"><img src="',SITE_URL,'/movie/',rankNum[i],'/members.jpg" width="80" /></a></p>');
				div_close();
			div_cls("rank_title");
				document.write('<div class="rank_side_img"><p><a href="',SITE_URL,'/movie/?num=',rankNum[i],'">',mData[rankNum[i]]["title"],'&nbsp;&nbsp;',mData[rankNum[i]]["model"],'</a>');
			        //document.write('<div class="ms_f01"><p class="ms_situation"><a href="',SITE_URL,'/movie/?num=',msNum[i],'">',msText[i],'</a>');
			        document.write('<img src="',SITE_URL,'/movie/',rankNum[i],'/top_s.jpg" /></p></div>');
				div_close();
			if(i == 11){
				document.write('<p class="clr_end">&nbsp;</p>');
			}else{
				document.write('<p class="clr">&nbsp;</p>');
				}
			document.write('</div>');
			}

	}

function modRanking(){
	rankArr = new Array("","1st","2nd","3rd","4th","5th","6th","7th","8th","9th","10th");

		for(i=1;i<11;i++){
			document.write('<div class="rank',i,'">');
			div_cls("rank_img");
				document.write('<p class="rank_num">',rankArr[i],'</p>');
				document.write('<p class="rank_jpg"><a href="',SITE_URL,'/movie/?num=',modNum[i],'"><img src="',SITE_URL,'/movie/',modNum[i],'/rltd.jpg" /></a></p>');
				div_close();
			div_cls("rank_title");
				document.write('<div class="rank_side_img"><p><a href="',SITE_URL,'/movie/?num=',modNum[i],'">',mData[modNum[i]]["model"],'<br>',mData[modNum[i]]["title"],'</a>');
			        //document.write('<div class="ms_f01"><p class="ms_situation"><a href="',SITE_URL,'/movie/?num=',msNum[i],'">',msText[i],'</a>');
			        document.write('<img src="',SITE_URL,'/movie/',rankNum[i],'/top_s.jpg" /></p></div>');
				div_close();
			if(i == 11){
				document.write('<p class="clr_end">&nbsp;</p>');
			}else{
				document.write('<p class="clr">&nbsp;</p>');
				}

	document.write('</div>');
			}


	}


function localCategory(){
	div_cls("local_category");
		document.write('<p class="bar_local">RoseLip 責めジャンル</p>');
		div_cls("local_category_menu");
			document.write('<p><a href="',SITE_URL,'/tour/?cate=complist&page=1" class="lcm1">■ＡＬＬ動画一覧</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=faceride&page=1" class="lcm1">■顔面騎乗</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=hollywater&page=1" class="lcm1">■聖水</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=handjob&page=1" class="lcm1">■手コキ</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=footjob&page=1" class="lcm1">■足責め</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=anal&page=1" class="lcm1">■アナル責め</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=sex&page=1" class="lcm1">■痴女セックス</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=blowjob&page=1" class="lcm1">■フェラ</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=armpit&page=1" class="lcm1">■わき・唾液</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=ol&page=1" class="lcm1">■ＯＬ</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=schoolgirl&page=1" class="lcm1">■女子校生</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=queen&page=1" class="lcm1">■女王様</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=wife&page=1" class="lcm1">■人妻</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=teacher&page=1" class="lcm1">■女教師</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=medical&page=1" class="lcm1">■医療系</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=feticos&page=1" class="lcm1">■フェチコス</a></p>');

			//document.write('<p><a href="',SITE_URL,'/tour/?cate=pantyhose&page=1" class="lcm1">■ストッキング</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=bootssocks&page=1" class="lcm1">■ブーツ</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=smashlick&page=1" class="lcm1">■踏ナメ</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=mfetish&page=1" class="lcm1">■Ｍ的フェチ</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=schoolgirl&page=1" class="lcm1">■女子校生</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=smell&page=1" class="lcm1">■におい</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=slaver&page=1" class="lcm1">■唾液</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=seethrough&page=1" class="lcm1">■ぬれｽｹ</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=masterb&page=1" class="lcm1">■オナニー</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=mfetiplus&page=1" class="lcm1">■Mフェチプラス</a></p>');
			div_close();
		div_close();

	}

function localCategory2(){
	div_cls("local_girl");
		document.write('<p class="bar_local">RoseLip 責めジャンル</p>');
		div_cls("local_genre_menu");
			document.write('<p><a href="',SITE_URL,'/tour/?cate=complist&page=1" class="lcm1">■ＡＬＬ動画一覧</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=faceride&page=1" class="lcm1">■顔面騎乗</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=hollywater&page=1" class="lcm1">■聖水</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=handjob&page=1" class="lcm1">■手コキ</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=footjob&page=1" class="lcm1">■足責め</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=anal&page=1" class="lcm1">■アナル責め</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=sex&page=1" class="lcm1">■痴女セックス</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=blowjob&page=1" class="lcm1">■フェラ</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=armpit&page=1" class="lcm1">■わき・唾液</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=ol&page=1" class="lcm1">■ＯＬ</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=schoolgirl&page=1" class="lcm1">■女子校生</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=queen&page=1" class="lcm1">■女王様</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=wife&page=1" class="lcm1">■人妻</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=medical&page=1" class="lcm1">■医療系</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=teacher&page=1" class="lcm1">■女教師</a></p>');
			document.write('<p><a href="',SITE_URL,'/tour/?cate=feticos&page=1" class="lcm1">■フェチコス</a></p>');
			div_close();
		div_close();

	}

function localGirlCate(){
	div_cls("local_girl");
		document.write('<p class="bar_local">タイプ別痴女ジャンル</p>');
		div_cls("local_girl_menu");
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=complist&page=1" class="lcm1">■ＡＬＬ動画一覧</a></p>');
			document.write('<p><a href="',SITE_URL,'/chijo/?cate=giroke&page=1" class="lcm1">■お色気痴女</a></p>');
			document.write('<p><a href="',SITE_URL,'/chijo/?cate=ghentai&page=1" class="lcm1">■変態痴女</a></p>');
			document.write('<p><a href="',SITE_URL,'/chijo/?cate=gkoakuma&page=1" class="lcm1">■小悪魔痴女</a></p>');
			document.write('<p><a href="',SITE_URL,'/chijo/?cate=gmikudashi&page=1" class="lcm1">■見下し痴女</a></p>');
			document.write('<p><a href="',SITE_URL,'/chijo/?cate=goikomi&page=1" class="lcm1">■追い込み痴女</a></p>');
			document.write('<p><a href="',SITE_URL,'/chijo/?cate=gmoteasobi&page=1" class="lcm1">■弄び痴女</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=gwarunori&page=1" class="lcm1">■悪ノリ痴女</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=gkansatsu&page=1" class="lcm1">■観察痴女</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=gkeibetsu&page=1" class="lcm1">■軽蔑痴女</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=ghoyo&page=1" class="lcm1">■抱擁痴女</a></p>');
			//document.write('<p><a href="',SITE_URL,'/tour/?cate=gtomadoi&page=1" class="lcm1">■とまどい痴女</a></p>');

			div_close();
		div_close();

	}

function acRank(){
	document.write('<div id="acrank">');
	document.write('<p style="padding:5px 0 3px;background-image:url(',SITE_URL,'/img/bar_acrank.gif);background-repeat:no-repeat;color:#fff;font-weight:bold;text-align:center;">Access Ranking</p>');
	document.write('<p style="margin-bottom:8px;"><iframe src="http://rankc1.apserver.net/u/roselip/main.html" width=183 height=2000 frameborder=0 marginwidth=0 marginheight=0 border=0 scrolling=no></iframe></p>');
	document.write('<p style="margin-bottom:8px;"><iframe src="http://rankc1.apserver.net/u/roselip/sec.html" width=183 height=100 frameborder=0 marginwidth=0 marginheight=0></iframe></p>');
	document.write('<p style="margin-bottom:8px;"><a href="http://ranksm.apserver.net/share/regist.php?u=roselip">相互リンクの登録</a></p>');
	document.write('<p style="margin-bottom:8px;"><a href="http://ranksm.apserver.net/share/mod.php?u=roselip">相互リンクの編集</a></p>');
	//document.write('<p style="padding:5px 0 3px;background-image:url(',SITE_URL,'/img/bar_acrank.gif);background-repeat:no-repeat;color:#fff;font-weight:bold;text-align:center;">Access Ranking</p>');
	//document.write('<p><iframe src="http://rankc1.apserver.net/u/roselip/sec.html" width=183 height=500 frameborder=0 marginwidth=0 marginheight=0></iframe></p>');
	document.write('</div>');
	}

function review(){
	div_cls("attention");
		document.write('<p class="bar_local">クチコミ掲示板</p>');
		div_cls("imgtxt_local");
			//document.write('<p class="imgtxt_local_img"><a href="',SITE_URL,'/review/"><img src="',SITE_URL,'/img/review.gif" /></a></p>');
			div_close();
		div_close();
	}

function recruit(){
	div_cls("attention");
		document.write('<p class="bar_local">モデル大募集！</p>');
		div_cls("imgtxt_local");
			document.write('<p class="imgtxt_local_img"><a href="',SITE_URL,'/bosyu/"><img src="',SITE_URL,'/img/wanted.jpg" /></a></p>');
			div_close();
		div_close();
	}

function sokuVip(){
	div_cls("attention");
		document.write('<p class="bar_local">90日まとめ買いパック</p>');
		div_cls("imgtxt_local");
			document.write('<p class="imgtxt_local_img"><a href="',SITE_URL,'/90vip/"><img src="',SITE_URL,'/img/local_90vip.jpg" /></a></p>');
			div_close();
		div_close();
	}

function NewMem(){
	div_cls("registration");
		document.write('<p class="bar_local">150作品をまとめて確認</p>');
		div_cls("imgtxt_local");
		document.write('<p class="imgtxt_local_img"><a href="http://www.roselip-fetish.com/digest/?cate=digestlist&page=1"><img src="http://www.roselip-fetish.com/digest/img/local.jpg" /></a></p>');
			div_close();
		div_close();
	}

function localRank(){
	div_cls("registration");
		document.write('<p class="bar_local">動画ランキング</p>');
		div_cls("imgtxt_local");
                        document.write('<div style="font-size: 0px; line-height: 0px; margin: 0px;"><img src="',SITE_URL,'/img/rank/local_head.gif"></div>');
			document.write('<p class="localrank">');
			document.write('<a href="/rank/?cate=faceride&page=1">');
			document.write('<img src="/img/rank/local_rank01.gif" id="localrank01" ');
			document.write('onmouseover="MM_swapImage(\'localrank01\',\'\',\'',SITE_URL,'/img/rank/local_rank01_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
			document.write('<p class="localrank">');
			document.write('<a href="/rank/?cate=holywater&page=1">');
			document.write('<img src="/img/rank/local_rank02.gif" id="localrank02" ');
			document.write('onmouseover="MM_swapImage(\'localrank02\',\'\',\'',SITE_URL,'/img/rank/local_rank02_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
			document.write('<p class="localrank">');
			document.write('<a href="/rank/?cate=handjob&page=1">');
			document.write('<img src="/img/rank/local_rank03.gif" id="localrank03" ');
			document.write('onmouseover="MM_swapImage(\'localrank03\',\'\',\'',SITE_URL,'/img/rank/local_rank03_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
			document.write('<p class="localrank">');
			document.write('<a href="/rank/?cate=footjob&page=1">');
			document.write('<img src="/img/rank/local_rank04.gif" id="localrank04" ');
			document.write('onmouseover="MM_swapImage(\'localrank04\',\'\',\'',SITE_URL,'/img/rank/local_rank04_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
			document.write('<p class="localrank">');
			document.write('<a href="/rank/?cate=ol&page=1">');
			document.write('<img src="/img/rank/local_rank05.gif" id="localrank05" ');
			document.write('onmouseover="MM_swapImage(\'localrank05\',\'\',\'',SITE_URL,'/img/rank/local_rank05_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
			document.write('<p class="localrank">');
			document.write('<a href="/rank/?cate=schoolgirl&page=1">');
			document.write('<img src="/img/rank/local_rank06.gif" id="localrank06" ');
			document.write('onmouseover="MM_swapImage(\'localrank06\',\'\',\'',SITE_URL,'/img/rank/local_rank06_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
			document.write('<p class="localrank">');
			document.write('<a href="/rank/?cate=steplick&page=1">');
			document.write('<img src="/img/rank/local_rank07.gif" id="localrank07" ');
			document.write('onmouseover="MM_swapImage(\'localrank07\',\'\',\'',SITE_URL,'/img/rank/local_rank07_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
			document.write('<p class="localrank">');
			document.write('<a href="/rank/?cate=anal&page=1">');
			document.write('<img src="/img/rank/local_rank08.gif" id="localrank08" ');
			document.write('onmouseover="MM_swapImage(\'localrank08\',\'\',\'',SITE_URL,'/img/rank/local_rank08_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
			div_close();
		div_close();
	}

function localGozonji(){
	div_cls("attention");
		document.write('<p class="bar_local">ローズリップの使い方。</p>');
		div_cls("imgtxt_local");
			document.write('<td><p><a href="http://www.roselip-fetish.com/gozonji/"><img src="http://www.roselip-fetish.com/img/local_gozonji.jpg" /></a></p></td>');
			div_close();
		div_close();
	}

function localAnniversary(){
	document.write('<div style="margin-bottom:5px;height:40px;"><img src="http://www.roselip-fetish.com/img/anniversary.gif" /></div>');
	}

function textMatome(){
	document.write('<div style="margin:3px 0 8px 0;text-align:center;"><a href="http://www.roselip-fetish.com/digest/?cate=digestlist&page=1">更新作品をまとめてチェック</a></div>');
	}

function local(page){
localAnniversary();
	news();
textMatome();
	//close();
	registration();
	//sokuVip();
        //localRandom();
	patment();
	localCategory2();
　　　　sp_latest();
　　　　vip_latest();
        vip_photo();
        latest();
	NewMem();
	ranking();
	l_mnavi();
//countdownLocal();
	camp2();
	//localTele();
	//localRank();

	//localGirlCate();
	//localCategory();
	privacy();
	//situation();
	mailMag();
        localGozonji();
	//blog();
        inquiry();
	//best();
	//recruit();
	//toNeo();
	//topic();
	//modRanking();
	//camp();
	//review();
	//vipP();
	if(page == "top"){
		//acRank();
		}
	}

////// 3階層 専用のLOCAL構成　///////////////////////

function local3(page){
localAnniversary();
	news();
textMatome();
	//close();
	registration();
	//sokuVip();
        //localRandom();
	patment();
	localCategory2();
　　　　sp_latest();
　　　　vip_latest();
        vip_photo();
        latest();
	NewMem();
	ranking();
	l_mnavi();
//countdownLocal();
	camp2();
	//localTele();
	//localRank();

	//localGirlCate();
	//localCategory();
	privacy();
	//situation();
	//mailMag();
        //localGozonji();
	//blog();
        //inquiry();
	//best();
	//recruit();
	//toNeo();
	//topic();
	//modRanking();
	//camp();
	//review();
	//vipP();
	if(page == "top"){
		//acRank();
		}
	}

////// TOP PAGE 専用のLOCAL構成　///////////////////////

function localTop(page){
localAnniversary();
	news();
	textMatome();
	//close();
	registration();
	//sokuVip();
        //localRandom();
	patment();
	camp2();
	localCategory2();
	ranking();
	l_mnavi();
//countdownLocal();
　　　　sp_latest();
　　　　vip_latest();
        vip_photo();
	latest();
	NewMem();
	//localGirlCate();
	//situation();
	privacy();
	//localTele();
	//localRank();

	//localCategory();
	mailMag();
        localGozonji();
	//blog();
        inquiry();

	//best();
	//recruit();
	//toNeo();
	//topic();
	//modRanking();
	//camp();
	//review();
	//vipP();
	if(page == "top"){
		//acRank();
		}
	}

////// お問い合わせページのLOCAL構成　///////////////////////

function localDetails(page){
	registration();
	patment();
	news();
	localCategory2();
	ranking();
	//camp2();
　　　　sp_latest();
　　　　vip_latest();
        vip_photo();
	if(page == "top"){
		}
	}

////////////////////  footer  ////////////////////////////////////////////////////

function footer(){
	document.write('<p class="menu_foot">');
	//document.write('<a href="',SITE_URL,'/" class="foot_a">Top</a>');
	//document.write('<a href="',SITE_URL,'/tour/?cate=complist&page=1" class="foot_a">Movie</a>');
	//document.write('<a href="',SITE_URL,'/models/?page=1" class="foot_a">痴女リスト</a>');
	//document.write('<a href="',SITE_URL,'/about/" class="foot_a">会社概要</a>');
	//document.write('<a href="',SITE_URL,'/faq/" class="foot_a">よくある質問</a>');
	//document.write('<a href="',SITE_URL,'/details/?menu=about" class="foot_a_end">Help</a>');
	//document.write('<a href="',SITE_URL,'/bosyu/" class="foot_a_end">痴女募集</a>');

	document.write('<address>(C)2005-2010 　COZ Corporation N.Y. All Rights Reserved.</address>');
	document.write('</p>');
	}



/////////////////// COMPLETE LIST ////////////////////////////

function boxCompList(cate){
	if(!cate){
		cate = "complist";
		}
	div_cls("box_complist");
		document.write('<p class="bar_complist"><img src="',SITE_URL,'/img/structural/bar_',cate,'.jpg" />');
		if(cate == "complist"){
			document.write('');
		}else{
			document.write();
			}
		div_close();
	}

/////////////////// CHIJO LIST ////////////////////////////

function boxChijoList(cate){
	if(!cate){
		cate = "chijolist";
		}
	div_cls("box_complist");
		document.write('<p class="bar_complist"><img src="',SITE_URL,'/img/structural/chijo_',cate,'.gif" />');
		if(cate == "chijolist"){
			document.write('');
		}else{
			document.write();
			}
		div_close();
	}

/////////////////// COMPLETE LIST BOTTOM////////////////////////////

function boxCompList_bm(cate){
	if(!cate){
		cate = "complist";
		}
	div_cls("box_complist");
		document.write('<p class="bar_complist"><img src="',SITE_URL,'/img/structural/bar_',cate,'_bm.gif" />');
		if(cate == "complist"){
			document.write('');
		}else{
			document.write();
			}
		div_close();
	}

/////////////////// CHIJO LIST BOTTOM////////////////////////////

function boxChijoList_bm(cate){
	if(!cate){
		cate = "chijolist";
		}
	div_cls("box_complist");
		document.write('<p class="bar_complist"><img src="',SITE_URL,'/img/structural/chijo_',cate,'_bm.gif" />');
		if(cate == "chijolist"){
			document.write('');
		}else{
			document.write();
			}
		div_close();
	}


////////////////// LIST TABLE ////////////////////////////

function boxListTbl(cate,page){
	if(!cate){
		cate = "complist";
		}
	listPage = mList.length / 5;
	Math.round(listPage);
	
	div_cls("box_listtbl");
		document.write('<table>');
		document.write('<tr>');
		
		for(i=1;i<listPage+1;i++){
			n = i / 15;
			if(i == page){
				document.write('<td><span>',i,'</span></td>');
			}else{
				document.write('<td><a href="',SITE_URL,'/tour/?cate=',cate,'&page=',i,'">',i,'</a></td>');
				}
			if ((""+n).indexOf(".") > -1){
				void(0);
			}else{
				document.write('</tr><tr>');
				}
			}
		document.write('</tr></table>');
		div_close();
	}

////////////////// M2LIST ///////////////////////////

function boxM2List(num){
	div_cls("box_m2list");
		div_cls("bar_m2title");
			document.write('<p class="m2title"><a href="',SITE_URL,'/movie/?num=',num,'">',mData[num]["title"],'&nbsp;&nbsp;',mData[num]["model"],'</a></p>');
			document.write('<p class="m2minute">動画　',mData[num]["minute"],'分</p>');
			div_close();
		
		div_cls("box_m2desc");
				document.write('<p class="top_title" style="margin:0px 0px 8px 0px"><a href="',SITE_URL,'/movie/?num=',num,'"><img src="',SITE_URL,'/movie/',num,'/top.jpg" /></a></p>');
			div_cls("m2desc_new");
				//document.write('<p class="bar_m2desc">作品紹介</p>');
				document.write('<p class="txt_m2desc_new">',mData[num]["info"],'',mData[num]["description"],'</p>');
				document.write('<p class="for_m2desc"><img src="',SITE_URL,'/img/moreinfo.gif"><a href="',SITE_URL,'/movie/?num=',num,'">');
				document.write('<img src="',SITE_URL,'/img/btn_click.gif" id="btn_click_tod_',num,'" ');
				document.write('onmouseover="MM_swapImage(\'btn_click_tod_',num,'\',\'\',\'',SITE_URL,'/img/btn_click_on.gif\',1)" ');
				document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
				div_close();
			//div_cls("m2bp");
				//document.write('<p class="m2bpimg"><a href="',SITE_URL,'/movie/?num=',num,'"><img src="',SITE_URL,'/movie/',num,'/m2bp.jpg" width="248" height="167" /></a></p>');
				//div_close();
			document.write('<p class="m2clr">&nbsp;</p>');
			div_close();
/*
		div_cls("m2image");
			document.write('<table>');
			document.write('<tr>');
			for(i=1;i<4;i++){
				n = i / 3;
				document.write('<td><a href="',SITE_URL,'/movie/?num=',num,'"><img src="',SITE_URL,'/movie/',num,'/0',i,'.jpg" width="160" height="107" /></a></td>');
				if ((""+n).indexOf(".") > -1){
					//void(0);
				}else{
					document.write('</tr><tr>');
					}
				}
			document.write('</tr></table>');
			div_close();
*/
		div_close();
	}

/*
function boxM2List(num){
	div_cls("box_m2list");
		div_cls("bar_m2title");
			document.write('<p class="m2title"><a href="',SITE_URL,'/movie/?num=',num,'">',mData[num]["title"],'&nbsp;&nbsp;',mData[num]["model"],'</a></p>');
			document.write('<p class="m2minute">動画　',mData[num]["minute"],'分</p>');
			div_close();
		
		div_cls("box_m2desc");
				document.write('<p class="top_title" style="margin:0px 0px 8px 0px;text-indent:-8px"><a href="',SITE_URL,'/movie/?num=',num,'"><img src="',SITE_URL,'/movie/',num,'/top.jpg" /></a></p>');
			div_cls("m2desc");
				document.write('<p class="bar_m2desc">作品紹介</p>');
				document.write('<p class="txt_m2desc">',mData[num]["info"],'',mData[num]["description"],'</p>');
				document.write('<p class="for_m2desc"><a href="',SITE_URL,'/movie/?num=',num,'">');
				document.write('<img src="',SITE_URL,'/img/btn_click.gif" id="btn_click_tod_',num,'" ');
				document.write('onmouseover="MM_swapImage(\'btn_click_tod_',num,'\',\'\',\'',SITE_URL,'/img/btn_click_on.gif\',1)" ');
				document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
				div_close();
			div_cls("m2bp");
				document.write('<p class="m2bpimg"><a href="',SITE_URL,'/movie/?num=',num,'"><img src="',SITE_URL,'/movie/',num,'/m2bp.jpg" width="248" height="167" /></a></p>');
				div_close();
			document.write('<p class="m2clr">&nbsp;</p>');
			div_close();

//		div_cls("m2image");
//			document.write('<table>');
//			document.write('<tr>');
//			for(i=1;i<4;i++){
//				n = i / 3;
//				document.write('<td><a href="',SITE_URL,'/movie/?num=',num,'"><img src="',SITE_URL,'/movie/',num,'/0',i,'.jpg" width="160" height="107" /></a></td>');
//				if ((""+n).indexOf(".") > -1){
//					//void(0);
//				}else{
//					document.write('</tr><tr>');
//					}
//				}
//			document.write('</tr></table>');
//			div_close();

		div_close();
	}
*/


///////////////////// TO NEO ///////////////////////////////////

function toNeomain(){
	div_cls("bnr_joinnow");
		document.write('<p align="center"><img src="',SITE_URL,'/img/to_neo.jpg" /></p>');
		document.write('<p align="center"><a href="http://script2.natuko-miracle.com/access/index.php?id=0272"><img src="',SITE_URL,'/img/598_300.jpg" /></a></p>');
		div_close();
	}

///////////////////// CAMPAIGN ///////////////////////////////////

function campmain(){
	div_cls("bnr_joinnow");
		document.write('<td><a href="http://www.roselip-fetish.com/camp_090123/"><img src="http://www.roselip-fetish.com/camp_090123/img/top.jpg" /></a></td>');
		//document.write('<p align="center"><a href="http://www.roselip-fetish.com/photo_campaign/"><img src="',SITE_URL,'/photo_campaign/img/main_camp_071115.jpg" /></a></p>');
		//document.write('<p align="center" style="margin-top:5px"><a href="http://www.roselip-fetish.com/photo_campaign/"><img src="',SITE_URL,'/photo_campaign/img/main_camp_w.jpg" /></a></p>');
		div_close();
	}

///////////////////// BAR JOIN NOW ///////////////////////////////////

function bnrJoinNow(){
	div_cls("bnr_joinnow");
		document.write('<p align="center"><a href="',SITE_URL,'/join/"><img src="',SITE_URL,'/img/bnr_joinnow.gif" /></a></p>');
		document.write('<p align="center"><a href="',SITE_URL,'/join/"><img src="',SITE_URL,'/camp_100904/img/join_btwn.jpg" /></a></p>');
		document.write('<p align="center"><img src="',SITE_URL,'/img/join_left.jpg" /><a href="',SITE_URL,'/join/"><img src="',SITE_URL,'/img/join_now.gif" /></a><img src="',SITE_URL,'/img/join_right.jpg" /></p>');
		div_close();
	}

////////////////// JK BAR ///////////////////////////

function JoinJoin(){
			//document.write('<div style="margin:0px 0px 0px 0px;text-align:center;"><img src="http://www.roselip-fetish.com/img/join/desc2.gif"></div>');
			document.write('<div style="margin:10px 0px 0px 0px;" class="joinjoin"><a href="http://www.roselip-fetish.com/join/"><span>join</span></a></div>');
			document.write('<div style="margin:0px 0px 0px 0px;text-align:center;"><img src="http://www.roselip-fetish.com/img/join/join_ref.jpg"></div>');
	}

//////////////////// BOX MOVIE CATEGORIES //////////////////////////

function boxMovieCategories(){
	mcListLen = menuCateList.length;
	div_cls("box_moviecategories");
		document.write('<p class="bar_moviecategories"><img src="',SITE_URL,'/img/bar_moviecategories.gif" /></p>');
		div_cls('moviecategories');
			document.write('<p>');
			for(i=0;i<mcListLen;i++){
				document.write('<a href="',menuCateLink[i],'">',menuCateList[i],'</a>');
				}
			document.write('</p>');
			div_close();
		div_close();
	}

function boxMovieCategories2(){
	mcListLen = menuCateList.length;
	div_cls("box_moviecategories");
		document.write('<p class="bar_moviecategories"><img src="',SITE_URL,'/img/bar_moviecategories2.gif" /></p>');
		div_cls('moviecategories');
			document.write('<p>');
			for(i=0;i<mcListLen;i++){
				document.write('<a href="',menuCateLink[i],'">',menuCateList[i],'</a>');
				}
			document.write('</p>');
			div_close();
		div_close();
	}

//////////////////// BOX Chijo CATEGORIES //////////////////////////

function boxChijoCategories(){
	mcListLen = chijoCateList.length;
	div_cls("box_moviecategories");
		document.write('<p class="bar_moviecategories"><img src="',SITE_URL,'/img/bar_chijocategories.gif" /></p>');
		div_cls('chijocategories');
			document.write('<p>');
			for(i=0;i<mcListLen;i++){
				document.write('<a href="',chijoCateLink[i],'">',chijoCateList[i],'</a>');
				}
			document.write('</p>');
			div_close();
		div_close();
	}

////////////////////// TO TOP ////////////////////////////////

function toTop(){
	document.write('<p class="totop"><a href="#">>> このページのＴＯＰに戻る</a></p>');
	}


///////////////////// Telephone ///////////////////////////////////

function telePhone(){
	div_cls("togo");
		document.write('<p align="center" style="margin:10px 0px 5px 0px"><a href="http://www.roselip-fetish.com//faq/"><img src="',SITE_URL,'/img/telephone.jpg" /></a></p>');
		div_close();
	}

///////////////////// SPECIAL ///////////////////////////////////

function special2(){
	div_cls("top_catch");
		document.write('<p style="margin:5px 0 5px 0;border:1px solid #999999;"><a href="http://www.roselip-fetish.com/campaign/"><img src="',SITE_URL,'/campaign/img/3nights.jpg" /><a href="http://www.roselip-fetish.com/movie/?num=0044"><img src="',SITE_URL,'/campaign/img/0044.jpg" /></a><br><a href="http://www.roselip-fetish.com/movie/?num=0048"><img src="',SITE_URL,'/campaign/img/0048.jpg" /></a><br><a href="http://www.roselip-fetish.com/movie/?num=0092"><img src="',SITE_URL,'/campaign/img/0092.jpg" /></a></p>');
		div_close();
	}

///////////////////// Topic_main ///////////////////////////////////

function topicMain(){
	div_cls("togo");
		document.write('<p align="center" style="margin:10px 0px 5px 0px"><a href="http://www.roselip-fetish.com/tour/?cate=hollywater&page=1"><img src="',SITE_URL,'/img/RL_HollyWater2.jpg" /></a></p>');
		div_close();
	}

///////////////////// Tour_main ///////////////////////////////////

function tourMain(){
	document.write('<table width="600" border="0" cellspacing="1" cellpadding="1">');
	document.write('<tr align="center">');
	document.write('<td align="center">');
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="170">');
	document.write('<param name="movie" value="../swf/holly.swf" />');
	document.write('<param name="quality" value="high" />');
	document.write('<embed src="../swf/holly.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="170"></embed>');
	document.write('</object>');
	document.write('</td>');
	document.write('</tr>');
	document.write('</table>');

	}

///////////////////// EN DAKA //////////////////////////////////

function enup(){
	document.write('<p align="center"><a href="http://www.roselip-fetish.com/join/"><img src="http://www.roselip-fetish.com/img/enup.gif" /></a></p>');
	}

	

///////////////////// RECOMMEND MOVIES ///////////////////////////////////

function boxRecommend(){

recomList = random(mList,6);

document.write('<p class="bar_reco"><img src="http://www.roselip-fetish.com/img/bar_reco.gif"></p>');
document.write('<div class="reco_main">');

for(i=0;i<6;i++){
	document.write('<div class="reco_box">');
		document.write('<div class="reco_pic">');
			document.write('<a href="http://www.roselip-fetish.com/movie/?num=',recomList[i],'"><img src="http://www.roselip-fetish.com/movie/',recomList[i],'/f01.jpg"></a>');
		document.write("</div>");
	document.write("</div>");
	}
document.write('<p class="all_enter"><a href="http://www.roselip-fetish.com/digest/?cate=digestlist&page=1">全動画をまとめて見る</a></p>');

document.write('</div>');

}

///////////////////// RECOMMEND MOVIES 2///////////////////////////////////

function boxRecommend2(){

recomList = random(mList,8);

document.write('<p class="bar_reco"><img src="http://www.roselip-fetish.com/img/bar_8.jpg"></p>');
document.write('<div class="reco_main2">');

for(i=0;i<8;i++){
	document.write('<div class="reco_box">');
		document.write('<div class="reco_pic">');
			document.write('<a href="http://www.roselip-fetish.com/movie/?num=',recomList[i],'"><img src="http://www.roselip-fetish.com/movie/',recomList[i],'/f01.jpg"></a>');
		document.write("</div>");
	document.write("</div>");
	}
//document.write('<p class="all_enter"><a href="http://www.roselip-fetish.com/digest/?cate=digestlist&page=1">全動画をまとめて見る</a></p>');

document.write('</div>');

}

///////////////////// RECOMMEND MOVIES 2 ENGLISH///////////////////////////////////

function boxRecommend2_en(){

recomList = random(mList,8);

document.write('<p class="bar_reco"><img src="http://www.roselip-fetish.com/img/bar_8_en.jpg"></p>');
document.write('<div class="reco_main2">');

for(i=0;i<8;i++){
	document.write('<div class="reco_box">');
		document.write('<div class="reco_pic">');
			document.write('<a href="http://www.roselip-fetish.com/movie/?num=',recomList[i],'"><img src="http://www.roselip-fetish.com/movie/',recomList[i],'/f01.jpg"></a>');
		document.write("</div>");
	document.write("</div>");
	}
//document.write('<p class="all_enter"><a href="http://www.roselip-fetish.com/digest/?cate=digestlist&page=1">全動画をまとめて見る</a></p>');

document.write('</div>');

}


///////////////////// CHIJO BOX ///////////////////////////////////

function boxChijo(){

recomList = random(mList,12);

document.write('<p class="bar_reco"><img src="http://www.roselip-fetish.com/img/bar_chijo.gif"></p>');
document.write('<div class="chijo_main">');

for(i=0;i<12;i++){
	document.write('<div class="chijo_box">');
		document.write('<div class="chijo_pic">');
			document.write('<a href="http://www.roselip-fetish.com/movie/?num=',recomList[i],'"><img src="http://www.roselip-fetish.com/movie/',recomList[i],'/models.jpg"></a>');
		document.write("</div>");
	document.write("</div>");
	}

document.write('</div>');
}


///////////////////// SUGGESTED MOVIES ///////////////////////////////////

function recoWeek(){

recomList = new Array(sugNum["1"],sugNum["2"],sugNum["3"],sugNum["4"],sugNum["5"],sugNum["6"]);

document.write('<p class="bar_reco"><img src="http://www.roselip-fetish.com/img/bar_sug.gif"></p>');
document.write('<div class="reco_main">');

for(i=0;i<6;i++){
	document.write('<div class="reco_box">');
		document.write('<div class="reco_pic">');
			document.write('<a href="http://www.roselip-fetish.com/movie/?num=',recomList[i],'"><img src="http://www.roselip-fetish.com/movie/',recomList[i],'/f01.jpg"></a>');
		document.write("</div>");
	document.write("</div>");
	}
document.write('<p class="all_enter"><a href="http://www.roselip-fetish.com/digest/?cate=digestlist&page=1">全動画をまとめて見る</a></p>');
document.write('</div>');

}


/////////////////// mtmm LIST ////////////////////////////

function boxmtmmList(cate){
	if(!cate){
		cate = "mtmmlist";
		}
	div_cls("box_complist");
		document.write('<p class="bar_complist"><img src="',SITE_URL,'/img/structural/chijo_',cate,'.gif" />');
		if(cate == "mtmmlist"){
			document.write('');
		}else{
			document.write();
			}
		div_close();
	}


/////////////////// mtmm LIST BOTTOM////////////////////////////

function boxmtmmList_bm(cate){
	if(!cate){
		cate = "mtmmlist";
		}
	div_cls("box_complist");
		document.write('<p class="bar_complist"><img src="',SITE_URL,'/img/structural/chijo_',cate,'_bm.gif" />');
		if(cate == "mtmmlist"){
			document.write('');
		}else{
			document.write();
			}
		div_close();
	}

///////////////////////////////////////////////


//ヘッダー画像キャンペーンカウントダウン 

function countdownHeader() {
	var	i;
	var	month;
	var	day;
	var	today;

	var	maxFile = 26; //画像ファイル数の設定

	var	date = new Date();
	var	graphics_data = new Array(maxFile);
	var	graphics_path = new Array(maxFile);

	if ((month = (date.getMonth() + 1)) < 10) {
		month = "0" + month;
	}
	else {
		month += "";
	}

	if ((day = date.getDate()) < 10) {
		day = "0" + day;
	}
	else {
		day += "";
	}

	today = month + day;
	graphics_data[0] = "0716";
	graphics_path[0] = "http://www.roselip-fetish.com/camp_100610/img/header25.jpg";
	graphics_data[1] = "0717";
	graphics_path[1] = "http://www.roselip-fetish.com/camp_100610/img/header24.jpg";
	graphics_data[2] = "0718";
	graphics_path[2] = "http://www.roselip-fetish.com/camp_100610/img/header23.jpg";
	graphics_data[3] = "0719";
	graphics_path[3] = "http://www.roselip-fetish.com/camp_100610/img/header22.jpg";
	graphics_data[4] = "0720";
	graphics_path[4] = "http://www.roselip-fetish.com/camp_100610/img/header21.jpg";
	graphics_data[5] = "0721";
	graphics_path[5] = "http://www.roselip-fetish.com/camp_100610/img/header20.jpg";
	graphics_data[6] = "0722";
	graphics_path[6] = "http://www.roselip-fetish.com/camp_100610/img/header19.jpg";
	graphics_data[7] = "0723";
	graphics_path[7] = "http://www.roselip-fetish.com/camp_100610/img/header18.jpg";
	graphics_data[8] = "0724";
	graphics_path[8] = "http://www.roselip-fetish.com/camp_100610/img/header17.jpg";
	graphics_data[9] = "0725";
	graphics_path[9] = "http://www.roselip-fetish.com/camp_100610/img/header16.jpg";
	graphics_data[10] = "0726";
	graphics_path[10] = "http://www.roselip-fetish.com/camp_100610/img/header15.jpg";
	graphics_data[11] = "0727";
	graphics_path[11] = "http://www.roselip-fetish.com/camp_100610/img/header14.jpg";
	graphics_data[12] = "0728";
	graphics_path[12] = "http://www.roselip-fetish.com/camp_100610/img/header13.jpg";
	graphics_data[13] = "0729";
	graphics_path[13] = "http://www.roselip-fetish.com/camp_100610/img/header12.jpg";
	graphics_data[14] = "0730";
	graphics_path[14] = "http://www.roselip-fetish.com/camp_100610/img/header11.jpg";
	graphics_data[15] = "0731";
	graphics_path[15] = "http://www.roselip-fetish.com/camp_100610/img/header10.jpg";
	graphics_data[16] = "0801";
	graphics_path[16] = "http://www.roselip-fetish.com/camp_100610/img/header09.jpg";
	graphics_data[17] = "0802";
	graphics_path[17] = "http://www.roselip-fetish.com/camp_100610/img/header08.jpg";
	graphics_data[18] = "0803";
	graphics_path[18] = "http://www.roselip-fetish.com/camp_100610/img/header07.jpg";
	graphics_data[19] = "0804";
	graphics_path[19] = "http://www.roselip-fetish.com/camp_100610/img/header06.jpg";


	graphics_data[20] = "0805";
	graphics_path[20] = "http://www.roselip-fetish.com/camp_100610/img/header05.jpg";
	graphics_data[21] = "0806";
	graphics_path[21] = "http://www.roselip-fetish.com/camp_100610/img/header04.jpg";
	graphics_data[22] = "0807";
	graphics_path[22] = "http://www.roselip-fetish.com/camp_100610/img/header03.jpg";
	graphics_data[23] = "0808";
	graphics_path[23] = "http://www.roselip-fetish.com/camp_100610/img/header02.jpg";
	graphics_data[24] = "0809";
	graphics_path[24] = "http://www.roselip-fetish.com/camp_100610/img/header01.jpg";
	graphics_data[25] = "0810";
	graphics_path[25] = "http://www.roselip-fetish.com/camp_100610/img/header.jpg";

	for (i = 0; i < maxFile; i++) {
		if (graphics_data[i] > today) {
			if (i == 0) {
				i = maxFile;
			}
			break;
		}
	}
	i--;

	document.write('<a href="http://www.roselip-fetish.com/camp_100610/"><IMG SRC=\'' + graphics_path[i] + '\'></a>');

	}


//ローカル画像キャンペーンカウントダウン

function countdownLocal() {
	var	i;
	var	month;
	var	day;
	var	today;

	var	maxFile = 26; //画像ファイル数の設定

	var	date = new Date();
	var	graphics_data = new Array(maxFile);
	var	graphics_path = new Array(maxFile);

	if ((month = (date.getMonth() + 1)) < 10) {
		month = "0" + month;
	}
	else {
		month += "";
	}

	if ((day = date.getDate()) < 10) {
		day = "0" + day;
	}
	else {
		day += "";
	}

	today = month + day;

	graphics_data[0] = "0716";
	graphics_path[0] = "http://www.roselip-fetish.com/camp_100610/img/local25.jpg";
	graphics_data[1] = "0717";
	graphics_path[1] = "http://www.roselip-fetish.com/camp_100610/img/local24.jpg";
	graphics_data[2] = "0718";
	graphics_path[2] = "http://www.roselip-fetish.com/camp_100610/img/local23.jpg";
	graphics_data[3] = "0719";
	graphics_path[3] = "http://www.roselip-fetish.com/camp_100610/img/local22.jpg";
	graphics_data[4] = "0720";
	graphics_path[4] = "http://www.roselip-fetish.com/camp_100610/img/local21.jpg";
	graphics_data[5] = "0721";
	graphics_path[5] = "http://www.roselip-fetish.com/camp_100610/img/local20.jpg";
	graphics_data[6] = "0722";
	graphics_path[6] = "http://www.roselip-fetish.com/camp_100610/img/local19.jpg";
	graphics_data[7] = "0723";
	graphics_path[7] = "http://www.roselip-fetish.com/camp_100610/img/local18.jpg";
	graphics_data[8] = "0724";
	graphics_path[8] = "http://www.roselip-fetish.com/camp_100610/img/local17.jpg";
	graphics_data[9] = "0725";
	graphics_path[9] = "http://www.roselip-fetish.com/camp_100610/img/local16.jpg";
	graphics_data[10] = "0726";
	graphics_path[10] = "http://www.roselip-fetish.com/camp_100610/img/local15.jpg";
	graphics_data[11] = "0727";
	graphics_path[11] = "http://www.roselip-fetish.com/camp_100610/img/local14.jpg";
	graphics_data[12] = "0728";
	graphics_path[12] = "http://www.roselip-fetish.com/camp_100610/img/local13.jpg";
	graphics_data[13] = "0729";
	graphics_path[13] = "http://www.roselip-fetish.com/camp_100610/img/local12.jpg";
	graphics_data[14] = "0730";
	graphics_path[14] = "http://www.roselip-fetish.com/camp_100610/img/local11.jpg";
	graphics_data[15] = "0731";
	graphics_path[15] = "http://www.roselip-fetish.com/camp_100610/img/local10.jpg";
	graphics_data[16] = "0801";
	graphics_path[16] = "http://www.roselip-fetish.com/camp_100610/img/local09.jpg";
	graphics_data[17] = "0802";
	graphics_path[17] = "http://www.roselip-fetish.com/camp_100610/img/local08.jpg";
	graphics_data[18] = "0803";
	graphics_path[18] = "http://www.roselip-fetish.com/camp_100610/img/local07.jpg";
	graphics_data[19] = "0804";
	graphics_path[19] = "http://www.roselip-fetish.com/camp_100610/img/local06.jpg";


	graphics_data[20] = "0805";
	graphics_path[20] = "http://www.roselip-fetish.com/camp_100610/img/local05.jpg";
	graphics_data[21] = "0806";
	graphics_path[21] = "http://www.roselip-fetish.com/camp_100610/img/local04.jpg";
	graphics_data[22] = "0807";
	graphics_path[22] = "http://www.roselip-fetish.com/camp_100610/img/local03.jpg";
	graphics_data[23] = "0808";
	graphics_path[23] = "http://www.roselip-fetish.com/camp_100610/img/local02.jpg";
	graphics_data[24] = "0809";
	graphics_path[24] = "http://www.roselip-fetish.com/camp_100610/img/local01.jpg";
	graphics_data[25] = "0810";
	graphics_path[25] = "http://www.roselip-fetish.com/camp_100610/img/local.jpg";

	//graphics_data[0] = "0805";
	//graphics_path[0] = "http://www.roselip-fetish.com/camp_100610/img/local.jpg";
	//graphics_data[1] = "0806";
	//graphics_path[1] = "http://www.roselip-fetish.com/camp_100610/img/local.jpg";
	//graphics_data[2] = "0807";
	//graphics_path[2] = "http://www.roselip-fetish.com/camp_100610/img/local03.jpg";
	//graphics_data[3] = "0808";
	//graphics_path[3] = "http://www.roselip-fetish.com/camp_100610/img/local02.jpg";
	//graphics_data[4] = "0809";
	//graphics_path[4] = "http://www.roselip-fetish.com/camp_100610/img/local01.jpg";
	//graphics_data[5] = "0810";
	//graphics_path[5] = "http://www.roselip-fetish.com/camp_100610/img/local.jpg";

	for (i = 0; i < maxFile; i++) {
		if (graphics_data[i] > today) {
			if (i == 0) {
				i = maxFile;
			}
			break;
		}
	}
	i--;

	document.write('<a href="http://www.roselip-fetish.com/camp_100610/"><IMG SRC=\'' + graphics_path[i] + '\'></a>');

	}


//メイン画像キャンペーンカウントダウン

function countdownTop() {
	var	i;
	var	month;
	var	day;
	var	today;

	var	maxFile = 26; //画像ファイル数の設定

	var	date = new Date();
	var	graphics_data = new Array(maxFile);
	var	graphics_path = new Array(maxFile);

	if ((month = (date.getMonth() + 1)) < 10) {
		month = "0" + month;
	}
	else {
		month += "";
	}

	if ((day = date.getDate()) < 10) {
		day = "0" + day;
	}
	else {
		day += "";
	}

	today = month + day;

	graphics_data[0] = "0716";
	graphics_path[0] = "http://www.roselip-fetish.com/camp_100610/img/top25.jpg";
	graphics_data[1] = "0717";
	graphics_path[1] = "http://www.roselip-fetish.com/camp_100610/img/top24.jpg";
	graphics_data[2] = "0718";
	graphics_path[2] = "http://www.roselip-fetish.com/camp_100610/img/top23.jpg";
	graphics_data[3] = "0719";
	graphics_path[3] = "http://www.roselip-fetish.com/camp_100610/img/top22.jpg";
	graphics_data[4] = "0720";
	graphics_path[4] = "http://www.roselip-fetish.com/camp_100610/img/top21.jpg";
	graphics_data[5] = "0721";
	graphics_path[5] = "http://www.roselip-fetish.com/camp_100610/img/top20.jpg";
	graphics_data[6] = "0722";
	graphics_path[6] = "http://www.roselip-fetish.com/camp_100610/img/top19.jpg";
	graphics_data[7] = "0723";
	graphics_path[7] = "http://www.roselip-fetish.com/camp_100610/img/top18.jpg";
	graphics_data[8] = "0724";
	graphics_path[8] = "http://www.roselip-fetish.com/camp_100610/img/top17.jpg";
	graphics_data[9] = "0725";
	graphics_path[9] = "http://www.roselip-fetish.com/camp_100610/img/top16.jpg";
	graphics_data[10] = "0726";
	graphics_path[10] = "http://www.roselip-fetish.com/camp_100610/img/top15.jpg";
	graphics_data[11] = "0727";
	graphics_path[11] = "http://www.roselip-fetish.com/camp_100610/img/top14.jpg";
	graphics_data[12] = "0728";
	graphics_path[12] = "http://www.roselip-fetish.com/camp_100610/img/top13.jpg";
	graphics_data[13] = "0729";
	graphics_path[13] = "http://www.roselip-fetish.com/camp_100610/img/top12.jpg";
	graphics_data[14] = "0730";
	graphics_path[14] = "http://www.roselip-fetish.com/camp_100610/img/top11.jpg";
	graphics_data[15] = "0731";
	graphics_path[15] = "http://www.roselip-fetish.com/camp_100610/img/top10.jpg";
	graphics_data[16] = "0801";
	graphics_path[16] = "http://www.roselip-fetish.com/camp_100610/img/top09.jpg";
	graphics_data[17] = "0802";
	graphics_path[17] = "http://www.roselip-fetish.com/camp_100610/img/top08.jpg";
	graphics_data[18] = "0803";
	graphics_path[18] = "http://www.roselip-fetish.com/camp_100610/img/top07.jpg";
	graphics_data[19] = "0804";
	graphics_path[19] = "http://www.roselip-fetish.com/camp_100610/img/top06.jpg";


	graphics_data[20] = "0805";
	graphics_path[20] = "http://www.roselip-fetish.com/camp_100610/img/top05.jpg";
	graphics_data[21] = "0806";
	graphics_path[21] = "http://www.roselip-fetish.com/camp_100610/img/top04.jpg";
	graphics_data[22] = "0807";
	graphics_path[22] = "http://www.roselip-fetish.com/camp_100610/img/top03.jpg";
	graphics_data[23] = "0808";
	graphics_path[23] = "http://www.roselip-fetish.com/camp_100610/img/top02.jpg";
	graphics_data[24] = "0809";
	graphics_path[24] = "http://www.roselip-fetish.com/camp_100610/img/top01.jpg";
	graphics_data[25] = "0810";
	graphics_path[25] = "http://www.roselip-fetish.com/camp_100610/img/top.jpg";

	//graphics_data[0] = "0805";
	//graphics_path[0] = "http://www.roselip-fetish.com/camp_100610/img/top.jpg";
	//graphics_data[1] = "0806";
	//graphics_path[1] = "http://www.roselip-fetish.com/camp_100610/img/top.jpg";
	//graphics_data[2] = "0807";
	//graphics_path[2] = "http://www.roselip-fetish.com/camp_100610/img/top03.jpg";
	//graphics_data[3] = "0808";
	//graphics_path[3] = "http://www.roselip-fetish.com/camp_100610/img/top02.jpg";
	//graphics_data[4] = "0809";
	//graphics_path[4] = "http://www.roselip-fetish.com/camp_100610/img/top01.jpg";
	//graphics_data[5] = "0810";
	//graphics_path[5] = "http://www.roselip-fetish.com/camp_100610/img/top.jpg";

	for (i = 0; i < maxFile; i++) {
		if (graphics_data[i] > today) {
			if (i == 0) {
				i = maxFile;
			}
			break;
		}
	}
	i--;

	document.write('<div style="height:300px;"><a href="http://www.roselip-fetish.com/camp_100610/"><IMG SRC=\'' + graphics_path[i] + '\'></a></div>');
//	document.write('<div style="height:270px;"><a href="http://www.roselip-fetish.com/camp_100610/"><img src="http://www.roselip-fetish.com/camp_100610/img/new.gif" /></a></div>');

	}


//キャンペーンページ画像カウントダウン

function countdownMain() {
	var	i;
	var	month;
	var	day;
	var	today;

	var	maxFile = 26; //画像ファイル数の設定

	var	date = new Date();
	var	graphics_data = new Array(maxFile);
	var	graphics_path = new Array(maxFile);

	if ((month = (date.getMonth() + 1)) < 10) {
		month = "0" + month;
	}
	else {
		month += "";
	}

	if ((day = date.getDate()) < 10) {
		day = "0" + day;
	}
	else {
		day += "";
	}

	today = month + day;

	graphics_data[0] = "0716";
	graphics_path[0] = "http://www.roselip-fetish.com/camp_100610/img/main25.jpg";
	graphics_data[1] = "0717";
	graphics_path[1] = "http://www.roselip-fetish.com/camp_100610/img/main24.jpg";
	graphics_data[2] = "0718";
	graphics_path[2] = "http://www.roselip-fetish.com/camp_100610/img/main23.jpg";
	graphics_data[3] = "0719";
	graphics_path[3] = "http://www.roselip-fetish.com/camp_100610/img/main22.jpg";
	graphics_data[4] = "0720";
	graphics_path[4] = "http://www.roselip-fetish.com/camp_100610/img/main21.jpg";
	graphics_data[5] = "0721";
	graphics_path[5] = "http://www.roselip-fetish.com/camp_100610/img/main20.jpg";
	graphics_data[6] = "0722";
	graphics_path[6] = "http://www.roselip-fetish.com/camp_100610/img/main19.jpg";
	graphics_data[7] = "0723";
	graphics_path[7] = "http://www.roselip-fetish.com/camp_100610/img/main18.jpg";
	graphics_data[8] = "0724";
	graphics_path[8] = "http://www.roselip-fetish.com/camp_100610/img/main17.jpg";
	graphics_data[9] = "0725";
	graphics_path[9] = "http://www.roselip-fetish.com/camp_100610/img/main16.jpg";
	graphics_data[10] = "0726";
	graphics_path[10] = "http://www.roselip-fetish.com/camp_100610/img/main15.jpg";
	graphics_data[11] = "0727";
	graphics_path[11] = "http://www.roselip-fetish.com/camp_100610/img/main14.jpg";
	graphics_data[12] = "0728";
	graphics_path[12] = "http://www.roselip-fetish.com/camp_100610/img/main13.jpg";
	graphics_data[13] = "0729";
	graphics_path[13] = "http://www.roselip-fetish.com/camp_100610/img/main12.jpg";
	graphics_data[14] = "0730";
	graphics_path[14] = "http://www.roselip-fetish.com/camp_100610/img/main11.jpg";
	graphics_data[15] = "0731";
	graphics_path[15] = "http://www.roselip-fetish.com/camp_100610/img/main10.jpg";
	graphics_data[16] = "0801";
	graphics_path[16] = "http://www.roselip-fetish.com/camp_100610/img/main09.jpg";
	graphics_data[17] = "0802";
	graphics_path[17] = "http://www.roselip-fetish.com/camp_100610/img/main08.jpg";
	graphics_data[18] = "0803";
	graphics_path[18] = "http://www.roselip-fetish.com/camp_100610/img/main07.jpg";
	graphics_data[19] = "0804";
	graphics_path[19] = "http://www.roselip-fetish.com/camp_100610/img/main06.jpg";


	graphics_data[20] = "0805";
	graphics_path[20] = "http://www.roselip-fetish.com/camp_100610/img/main05.jpg";
	graphics_data[21] = "0806";
	graphics_path[21] = "http://www.roselip-fetish.com/camp_100610/img/main04.jpg";
	graphics_data[22] = "0807";
	graphics_path[22] = "http://www.roselip-fetish.com/camp_100610/img/main03.jpg";
	graphics_data[23] = "0808";
	graphics_path[23] = "http://www.roselip-fetish.com/camp_100610/img/main02.jpg";
	graphics_data[24] = "0809";
	graphics_path[24] = "http://www.roselip-fetish.com/camp_100610/img/main01.jpg";
	graphics_data[25] = "0810";
	graphics_path[25] = "http://www.roselip-fetish.com/camp_100610/img/main.jpg";

	//graphics_data[0] = "0805";
	//graphics_path[0] = "http://www.roselip-fetish.com/camp_100610/img/local.jpg";
	//graphics_data[1] = "0806";
	//graphics_path[1] = "http://www.roselip-fetish.com/camp_100610/img/local.jpg";
	//graphics_data[2] = "0807";
	//graphics_path[2] = "http://www.roselip-fetish.com/camp_100610/img/local03.jpg";
	//graphics_data[3] = "0808";
	//graphics_path[3] = "http://www.roselip-fetish.com/camp_100610/img/local02.jpg";
	//graphics_data[4] = "0809";
	//graphics_path[4] = "http://www.roselip-fetish.com/camp_100610/img/local01.jpg";
	//graphics_data[5] = "0810";
	//graphics_path[5] = "http://www.roselip-fetish.com/camp_100610/img/local.jpg";

	for (i = 0; i < maxFile; i++) {
		if (graphics_data[i] > today) {
			if (i == 0) {
				i = maxFile;
			}
			break;
		}
	}
	i--;

	document.write('<IMG SRC=\'' + graphics_path[i] + '\'>');

	}


//function limitedContents() {
	//document.write('<p class="limited_title">',limitedBar,'</p>');
	//document.write('<div class="limited_border">');
	//document.write('<div class="limited_sp"><a href="http://www.roselip-fetish.com/sp/"><img src="http://www.roselip-fetish.com/img/vip/sp_top_ads.jpg" /></a><p class="limited_text">',limitedSp,'<br><a href="http://www.roselip-fetish.com/sp/">＞＞詳細はコチラから</a></p></div>');
	//document.write('<div class="limited_vip"><a href="http://www.roselip-fetish.com/vip_pro/"><img src="http://www.roselip-fetish.com/img/vip/vip_top_ads.jpg" /></a><p class="limited_text">',limitedVip,'<br><a href="http://www.roselip-fetish.com/vip_pro/">＞＞詳細はコチラから</a></p></div>');
	//document.write('<div style="clear:both;"></div>');
	//document.write('</div>');
	//}

function limitedContents() {
	document.write('<p class="limited_title">',limitedBar,'</p>');
	document.write('<div class="limited_border">');
	document.write('<div class="limited_sp"><a href="http://www.roselip-fetish.com/sp/"><img src="http://www.roselip-fetish.com/img/vip/sp_top_enter.jpg" /></a><p class="limited_text">',limitedSp,'<br><a href="http://www.roselip-fetish.com/sp/">＞＞詳細はコチラから</a></p></div>');
	document.write('<div class="limited_vip"><a href="http://www.roselip-fetish.com/vip_pro/"><img src="http://www.roselip-fetish.com/img/vip/vip_top_enter.jpg" /></a><p class="limited_text">',limitedVip,'<br><a href="http://www.roselip-fetish.com/vip_pro/">＞＞詳細はコチラから</a></p></div>');
	document.write('<div class="limited_vippic"><a href="http://www.roselip-fetish.com/vip_pic/"><img src="http://www.roselip-fetish.com/img/vip/vippic_top_enter.jpg" /></a><p class="limited_text">',limitedVippic,'<br><a href="http://www.roselip-fetish.com/vip_pic/">＞＞詳細はコチラから</a></p></div>');
	document.write('<div style="clear:both;"></div>');
	document.write('</div>');
	}

function limitedContentsFull() {
	//document.write('<p class="limited_title">',limitedBar,'</p>');
	document.write('<div class="limited_border">');
	document.write('<div class="limited_sp_full"><a href="http://www.roselip-fetish.com/sp/"><img src="http://www.roselip-fetish.com/img/vip/sp_m3_enter.jpg" /></a><p class="limited_text">',limitedSp,'<br><a href="http://www.roselip-fetish.com/sp/">＞＞詳細はコチラから</a></p></div>');
	document.write('<div class="limited_vip_full"><a href="http://www.roselip-fetish.com/vip_pro/"><img src="http://www.roselip-fetish.com/img/vip/vip_m3_enter.jpg" /></a><p class="limited_text">',limitedVip,'<br><a href="http://www.roselip-fetish.com/vip_pro/">＞＞詳細はコチラから</a></p></div>');
	document.write('<div class="limited_vippic_full"><a href="http://www.roselip-fetish.com/vip_pic/"><img src="http://www.roselip-fetish.com/img/vip/vippic_m3_enter.jpg" /></a><p class="limited_text">',limitedVippic,'<br><a href="http://www.roselip-fetish.com/vip_pic/">＞＞詳細はコチラから</a></p></div>');
	document.write('<div style="clear:both;"></div>');
	document.write('</div>');
	}


function campBar() {
		document.write('<p class="camp_title">',campaignTitle,'</p>');
		document.write('<div style="margin:0px;text-align:center;border:solid 1px #FF0000;padding:0px;width:608px;">');
	//document.write('<div style="margin:0px 0px 0px 0px;"><img src="',SITE_URL,'/img/structural/top.jpg" /></div>');
	document.write('<div style="margin:0px 0px 0px 0px;"><a href="http://www.roselip-fetish.com/camp_100904/"><img src="http://www.roselip-fetish.com/camp_100904/img/top.jpg" /></a></div>');

			//countdownTop();
        document.write('</div>');
	}


////////////////// rank ///////////////////////////

/*
function boxRankList(num){

		div_cls("boxdata");
				document.write('<img src="',SITE_URL,'/img/rank/label_0',[s+1],'.gif" />');
				document.write('<div class="rname"><a href="',SITE_URL,'/movie/?num=',num,'">',mData[num]["title"],'</a></div>');
				document.write('<p class="txt_m2desc">',mData[num]["info"],'',mData[num]["description"],'</p>');
				
		div_close();
                div_cls("rankbox");
		document.write('<a href="',SITE_URL,'/movie/?num=',num,'"><img src="',SITE_URL,'/movie/',num,'/top_s.jpg" class="fleft" </a>');

				document.write('<p class="rank_btn"><a href="',SITE_URL,'/movie/?num=',num,'">');
				document.write('<img src="',SITE_URL,'/img/rank/btn.gif" id="btn_click_tod_',num,'" ');
				document.write('onmouseover="MM_swapImage(\'btn_click_tod_',num,'\',\'\',\'',SITE_URL,'/img/rank/btn_on.gif\',1)" ');
				document.write('onmouseout="MM_swapImgRestore()" /></a></p>');

		document.write('<br class="clear" />');
		div_close();
        document.write('<div class="boxline"><img src="',SITE_URL,'/img/rank/boxline.gif"><br /></div>');

}
*/

function boxRankList(num){
		document.write('<p class="box_ranknumber"><img src="',SITE_URL,'/img/rank/label_0',[s+1],'.gif" /></p>');
	div_cls("box_ranklist");
		div_cls("bar_navititle");
			document.write('<p class="m2title"><a href="',SITE_URL,'/movie/?num=',num,'">',mData[num]["title"],'&nbsp;&nbsp;',mData[num]["model"],'</a></p>');
			//document.write('<p class="m2minute">動画　',mData[num]["minute"],'分</p>');
			div_close();
		
		div_cls("box_m2desc");
				document.write('<p class="top_title" style="margin:0px 0px 8px 0px;text-indent:-8px"><a href="',SITE_URL,'/movie/?num=',num,'"><img src="',SITE_URL,'/movie/',num,'/top.jpg" /></a></p>');
			div_cls("m2desc_new");
				//document.write('<p class="bar_m2desc">作品紹介</p>');
				document.write('<p class="txt_m2desc_new">',mData[num]["info"],'',mData[num]["description"],'</p>');
				document.write('<p class="for_m2desc"><img src="',SITE_URL,'/img/moreinfo.gif"><a href="',SITE_URL,'/movie/?num=',num,'">');
				document.write('<img src="',SITE_URL,'/img/btn_click.gif" id="btn_click_tod_',num,'" ');
				document.write('onmouseover="MM_swapImage(\'btn_click_tod_',num,'\',\'\',\'',SITE_URL,'/img/btn_click_on.gif\',1)" ');
				document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
				div_close();
			//div_cls("m2bp");
				//document.write('<p class="m2bpimg"><a href="',SITE_URL,'/movie/?num=',num,'"><img src="',SITE_URL,'/movie/',num,'/m2bp.jpg" width="248" height="167" /></a></p>');
				//div_close();
			document.write('<p class="m2clr">&nbsp;</p>');
			div_close();
/*
		div_cls("m2image");
			document.write('<table>');
			document.write('<tr>');
			for(i=1;i<4;i++){
				n = i / 3;
				document.write('<td><a href="',SITE_URL,'/movie/?num=',num,'"><img src="',SITE_URL,'/movie/',num,'/0',i,'.jpg" width="160" height="107" /></a></td>');
				if ((""+n).indexOf(".") > -1){
					//void(0);
				}else{
					document.write('</tr><tr>');
					}
				}
			document.write('</tr></table>');
			div_close();
*/
		div_close();
	}

function navirank(){
	document.write('<img src="http://www.roselip-fetish.com/img/rank/mnavi_rank_bar.gif">');
	document.write('<ul class="navi_rank">');
			document.write('<div class="navileft"><a href="/mrank/">');
			document.write('<img src="/img/rank/navi_rank01.gif" id="navirank01" ');
			document.write('onmouseover="MM_swapImage(\'navirank01\',\'\',\'',SITE_URL,'/img/rank/navi_rank01_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></div>');

			document.write('<div class="navileft"><a href="/mrank/">');
			document.write('<img src="/img/rank/navi_rank02.gif" id="navirank02" ');
			document.write('onmouseover="MM_swapImage(\'navirank02\',\'\',\'',SITE_URL,'/img/rank/navi_rank02_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></div>');

			document.write('<div class="navileft"><a href="/mrank/">');
			document.write('<img src="/img/rank/navi_rank03.gif" id="navirank03" ');
			document.write('onmouseover="MM_swapImage(\'navirank03\',\'\',\'',SITE_URL,'/img/rank/navi_rank03_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></div>');

			document.write('<div class="navileft"><a href="/mrank/">');
			document.write('<img src="/img/rank/navi_rank04.gif" id="navirank04" ');
			document.write('onmouseover="MM_swapImage(\'navirank04\',\'\',\'',SITE_URL,'/img/rank/navi_rank04_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></div>');

			document.write('<div class="navileft"><a href="/mrank/">');
			document.write('<img src="/img/rank/navi_rank05.gif" id="navirank05" ');
			document.write('onmouseover="MM_swapImage(\'navirank05\',\'\',\'',SITE_URL,'/img/rank/navi_rank05_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></div>');

			document.write('<div class="naviright"><a href="/mrank/">');
			document.write('<img src="/img/rank/navi_rank06.gif" id="navirank06" ');
			document.write('onmouseover="MM_swapImage(\'navirank06\',\'\',\'',SITE_URL,'/img/rank/navi_rank06_on.gif\',1)" ');
			document.write('onmouseout="MM_swapImgRestore()" /></a></div>');
	document.write('</ul>');
}


function headRdm(){
	div_cls("camp_top");
		jumpURL = new Array(); imgURL = new Array();
		jumpURL[0] = "http://www.roselip-fetish.com/camp_100814/"; 
		jumpURL[1] = "http://www.roselip-fetish.com/camp_100814/"; 
		jumpURL[2] = "http://www.roselip-fetish.com/camp_100814/"; 
		jumpURL[3] = "http://www.roselip-fetish.com/camp_100814/"; 
		jumpURL[4] = "http://www.roselip-fetish.com/camp_100814/"; 
		imgURL[0] = "http://www.roselip-fetish.com/img/header_rdm/campaign.jpg"; 
		imgURL[1] = "http://www.roselip-fetish.com/img/header_rdm/campaign.jpg"; 
		imgURL[2] = "http://www.roselip-fetish.com/img/header_rdm/campaign.jpg"; 
		imgURL[3] = "http://www.roselip-fetish.com/img/header_rdm/campaign.jpg"; 
		imgURL[4] = "http://www.roselip-fetish.com/img/header_rdm/campaign.jpg"; 
		n = Math.floor(Math.random()*jumpURL.length); 
		document.write("<a href='"+jumpURL[n]+"'>"); 
		document.write("<img src='"+imgURL[n]+"' border='0'>"); 
		document.write("</a>");
		document.write("</p>");
		div_close();
	}

function headRdm2(){
	div_cls("camp_top");
		jumpURL = new Array(); imgURL = new Array();
		jumpURL[0] = "http://www.roselip-fetish.com/sp/"; 
		jumpURL[1] = "http://www.roselip-fetish.com/vip_pro/"; 
		jumpURL[2] = "http://www.roselip-fetish.com/vip_pic/"; 
		jumpURL[3] = "http://www.roselip-fetish.com/camp_100814/"; 
		jumpURL[4] = "http://www.roselip-fetish.com/mrank/"; 
		imgURL[0] = "http://www.roselip-fetish.com/img/header_rdm/sp.jpg"; 
		imgURL[1] = "http://www.roselip-fetish.com/img/header_rdm/vip.jpg"; 
		imgURL[2] = "http://www.roselip-fetish.com/img/header_rdm/vippic.jpg"; 
		imgURL[3] = "http://www.roselip-fetish.com/img/header_rdm/campaign.jpg"; 
		imgURL[4] = "http://www.roselip-fetish.com/img/header_rdm/mnavi.gif"; 
		n = Math.floor(Math.random()*jumpURL.length); 
		document.write("<a href='"+jumpURL[n]+"'>"); 
		document.write("<img src='"+imgURL[n]+"' border='0'>"); 
		document.write("</a>");
		document.write("</p>");
		div_close();
	}