//女子高生キャンペーン
function jk_campaign(){
	div_cls("togo");
		document.write('<div style=" width: 598px; padding: 4px; background-color: #6DA165; line-height: 0px; font-size: 0px; margin-bottom: 14px;" align="center"><a href="http://www.neo-miracle.com/jk_campaign_0528/?p=1"><img src="',TOP_URL,'/img/jk_top_banner.jpg" /></a></div>');
		div_close();
	}

function todays(todMovieNum){
	//div_cls("telop");
	//document.write('<MARQUEE loop="INFINITE" scrollamount="6" scrolldelay="90" >');
   
    //以下サーバメンテナンス情報
	//document.write(' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#FF0000;font-weight:bold">◆サーバーメンテナンスのお知らせ<br>');
	//document.write('<span style="color:#0000FF;font-weight:bold"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;・4/14  14:00〜15:00<br>');
	//document.write(' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;・3/24  01:00〜02:00');
    
	//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
	
	//document.write('8月14日(金)更新 <a href="http://www.neo-miracle.com/movie/?num=0386">MiRACLEでしか実現できない素人４名同時緊縛調教！</a>(120作品以上がダウンロード見放題) ');
	//document.write('8月14日(金)更新 <a href="http://www.neo-miracle.com/vip/">MiRALCE初の喪服緊縛！夫の目の前！</a>(VIP動画) ');
	//document.write('8月13日(木)更新 <a href="http://www.neo-miracle.com/sp-movie/">美形アナウンサーを強烈羞恥鼻穴湾曲フック！</a>(SP動画) ');
	//document.write('8月11日(火)更新 <a href="http://www.neo-miracle.com/shizuka/6005/">お尻の穴真珠を経験してみたい･･･短大生の懇願！</a>(120作品以上がダウンロード見放題)  ');
	//document.write('</MARQUEE>');
	//div_close();
	

	//document.write("<p style='width:598px;height:59px;background-color:#FF0000;padding:4px;margin:0px 0px 3px 0px'><a href='http://www.neo-miracle.com/join2/'><img src='http://www.neo-miracle.com/camp_091113/img/vip_banner.jpg'></a></p>");

	//document.write("<div class='top_flash'>");
	//document.write("<object data='top/swf/top.swf' type='application/x-shockwave-flash' width='606' height='275'>");
	//document.write("NEO");
	//document.write("<param name='movie' value='top/swf/top.swf' />");
	//document.write("<param name='quality' value='high' />");
	//document.write("<param name='wmode' value='opaque' />");
	//document.write("<embed src='top/swf/waku.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='606' height='275'></embed>");
	//document.write("</object></div>");
	//enup();	
	
	div_cls("todays");
//イチオシバナー
	//document.write('<div class="tod_title2">',mData[todMovieNum]["title"],'</div>');
//最新動画バナー
	document.write('<div class="tod_title"><span>',mData[todMovieNum]["title"],'</span></div>');
		document.write('<p class="tod_big"><a href="',TOP_URL,'/movie/?num=',todMovieNum,'"><img src="',TOP_URL,'/movie/',todMovieNum,'/top.jpg" /><br /></a></p>');
		document.write('<p class="tod_big_sub"><a href="http://www.neo-miracle.com/movie/?num=',todMovieNum,'"><img src="http://www.neo-miracle.com/img/top_sub.gif" /><br /></a></p>');
		div_cls("tod_imgtxt");
			div_cls("tod_img");
				document.write('<p>');
				AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','212','height','160','title','main','src','swf/main','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','swf/main' ); //end AC code
				document.write('</p>');
				div_close();
			div_cls("tod_txt");
				document.write('<p class="tod_desc">',mData[todMovieNum]["description"],'</p>');
				document.write('<p class="formore"><a href="',TOP_URL,'/movie/?num=',todMovieNum,'">');
				document.write('<img src="',TOP_URL,'/img/btn_click.gif" id="btn_click_tod" ');
				document.write('onmouseover="MM_swapImage(\'btn_click_tod\',\'\',\'',TOP_URL,'/img/btn_click_on.gif\',1)" ');
				document.write('onmouseout="MM_swapImgRestore()" /></a></p>');
				div_close();
			div_close();
			document.write('<br class="clear" />');
			document.write('<p class="tod_clr">&nbsp;</p>');
		div_close()
	
	}


function gRank(){

	document.write("<div class='linkInfo' style='margin-top:5px'>");
	document.write("<p style='background-color:#000000;padding:5px 0px;margin:0px 0px 3px 0px'><img src='top/link_header.gif' width='580'></p>");
	document.write("<div class='linkinfoTxt'><a href='http://www.smxsmxsm.com' target='_blank'><img src='top/1.jpg' width='180' height='120'><br>ＳＭランキング</a></div>");
	document.write("<div class='linkinfoTxt'><a href='http://ayageki.kir.jp' target='_blank'><img src='top/2.jpg' width='180' height='120'><br>Ayaの激的空間 </a></div>");
	document.write("<div class='linkinfoTxt'><a href='http://www.blackdiamondxfreex.com/ltp_in?01105' target='_blank'><img src='top/3.jpg' width='180' height='120'><br>Black Diamond</a></div>");
	document.write("<div class='linkclear'></div>");
	document.write("<div class='linkinfoTxt'><a href='http://zero.kankin.net/index.cgi?03997 ' target='_blank'><img src='top/4.jpg' width='180' height='120'><br>監禁恥育</a></div>");
	document.write("<div class='linkinfoTxt'><a href='http://ranks1.apserver.net/share/in.php?u=wakagimi&id=miracle' target='_blank'><img src='top/5.jpg' width='180' height='120'><br>おっぱいと浣腸の世界</a></div>");
	document.write("<div class='linkinfoTxt'><a href='http://zero.kankin.net/index.cgi?03997 ' target='_blank'><img src='top/6.jpg' width='180' height='120'><br>緊縛・拘束</a></div>");
	document.write("<div class='linkclear'></div>");
	document.write("<div class='linkinfoTxt'><a href='http://www.blackdiamondxfreex.com/ltp_in?01105' target='_blank'><img src='top/7.jpg'width='180' height='120'><br>露出・フェチ・強姦</a></div>");
	document.write("<div class='linkinfoTxt'><a href='http://www.epism.com/' target='_blank'><img src='top/8.jpg' width='180' height='120'><br>ＳＭ捕虜収容所</a></div>");	
	document.write("<div class='linkinfoTxt'><a href='http://www.smxsmxsm.com' target='_blank'><img src='top/9.jpg' width='180' height=120'><br>ＳＭＸＳＭＸＳＭ</a></div>");
	document.write("<div class='linkclear'></div>");
	document.write("</div>");

}



function ichioshi(ichiNum){
	document.write('<div class="ichi_title"><span>',mData[ichiNum]["title"],'</span></div>');
	document.write('<p style="text-align:center; margin:0px 0px 14px; line-height: 0px; font-size: 0px; padding: 4px; background-color: #000000; width: 598px;"><a href="',TOP_URL,'/movie/?num=',ichiNum,'"><img src="',TOP_URL,'/movie/',ichiNum,'/top.jpg" /></a><a href="',TOP_URL,'/movie/?num=',ichiNum,'"><img src="http://www.neo-miracle.com/img/top_sub.gif" /></a></p>');
	}


//以下並び替えエリア
function topIndex(){
	//jk_campaign();
	todMovieNum = mList.pop();
	ichiNum = mList.pop();
	ichiNum2 = mList.pop();
	mList.reverse();
	
	todays(todMovieNum);
	

	
	//TOP限定動画
	//document.write('<a href="/camp_091113/"><img src="http://www.neo-miracle.com/img/camp_bar.gif" width="610" style="margin-top:10px;" /></a>');//12月26日削除
	document.write('<div style="width:608px;border:#000 solid 1px;margin-bottom:5px;">');
	//document.write('<div style="text-align: center;padding:5px 0;"><a href="/camp_091113/"><img src="/camp_091113/img/top.jpg" width="598" /></a></div>');//12月26日削除
	//document.write('<div style="text-align: center;padding:5px 0;"><a href="http://www.neo-miracle.com/join2/"><img src="/camp_091113/img/vip_extend_new.jpg" width="598" /></a></div>');
	document.write('</div>');


	
	
	
	
	
	//TOPイチオシ動画
	ichioshi(ichiNum);
	ichioshi(ichiNum2);
	//TOP150作品PICKUP
	boxRecommend();	
	//document.write('<div align="center" style="margin:0px 0px 14px; padding: 4px; background-color: #000000; line-height: 0px; font-size: 0px; width: 598px;"><a href="http://www.neo-miracle.com/tour/rank.php?cate=rank100&page=1"><img src="http://www.neo-miracle.com/img/rank/main100.jpg" /></a></div>');
	//campaign('top');
	//campaign2('top');
	boxCompList();
	
	boxM2List(mList[0]);
	boxM2List(mList[1]);
	//boxM2List(mList[2]);
	//boxM2List(mList[3]);
	
	//TOP石田動画
	//document.write('<div align="center" style="margin:0px; line-height: 0px; font-size: 0px; width: 598px;"><a href="http://www.neo-miracle.com/movie/?num=0398"><img src="http://www.neo-miracle.com/shizuka/ShizukaBar.jpg" /></a></div>');
		//document.write('<div align="center" style="margin:0px; line-height: 0px; font-size: 0px; width: 598px;"><a href="http://www.neo-miracle.com/movie/?num=0398"><img src="http://www.neo-miracle.com/shizuka/ShizukaBar2.jpg" /></a></div>');
	//document.write('<div align="center" style="margin:0px 0px 14px; padding: 4px; background-color: #000000; line-height: 0px; font-size: 0px; width: 598px;"><a href="http://www.neo-miracle.com/movie/?num=0398"><img src="http://www.neo-miracle.com/movie/0398/top.jpg" /></a></div>');

	boxListTbl();
	boxCompend();
	bnrJoinNow();

	//ranktop();
	japanTop();
	dvdTop();
//document.write('<div style=" width: 598px; padding: 4px; background-color: #6DA165; line-height: 0px; font-size: 0px; margin-bottom: 14px;"><a href="http://www.miracle-premium.com/" target="_blank"><img src="/img/premium/top_bnr.jpg" /></a></div>');
	//telePhone();

	}

