var kazu = 2; // データ数var hyouji = 2; // 表示データ数hako = new Array(kazu);for (i=0;i<=kazu;i++) {hako[i]=0;} // チェックフラグ初期化// randomjmp = new Array();anc = new Array();text = new Array();url = new Array();imp = new Array();// to linkjmp[0] = "/h/redirect/index.php?id=p_yamanote";jmp[1] = "/h/redirect/index.php?id=p_ueno";//jmp[2] = "/h/redirect/index.php?id=matsubara";//jmp[3] = "/h/redirect/index.php?id=matsubara";// anchor textanc[0] = "15年の実績。";anc[1] = "安心の上野クリニック";//anc[2] = "安心の上野 クリニック";//anc[3] = "安心の上野 クリニック";// texttext[0] = "痛くない、包茎治療 山の手形成クリニック";text[1] = "全国21カ所。性病から男性強化まで。 治療の詳しい説明パンフ 無料進呈中";//text[2] = "全国21カ所。性病から男性強化まで。 治療の詳しい説明パンフ 無料進呈中";//text[3] = "全国21カ所。性病から男性強化まで。 治療の詳しい説明パンフ 無料進呈中";// urlurl[0] = "www.y-c.jp";url[1] = "www.ueno.co.jp";//url[2] = "www.ueno.co.jp";//url[3] = "www.ueno.co.jp";//impimp[0] = "http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2419699&pid=876188588";imp[1] = "http://www.accesstrade.net/at/r.html?rk=01002gqi00358u";if(hyouji<=kazu) {for (i=1;i<=hyouji;i++) {do {var rand = Math.floor(Math.random()*kazu); }while ( 0<hako[rand] );//n = Math.floor(Math.random()*jmp.length);document.write("<p class='ads'><a href='"+jmp[rand]+"' target='_blank'><span class='adsLink'>");document.write(""+anc[rand]+"");document.write("</span><br />");document.write("<span class='adsTedt'>"+text[rand]+"</span><br />");document.write("<span class='adsUrl'>"+url[rand]+"</span>");document.write("</a><img src='"+imp[rand]+"' width='1' height='1' alt='' /></p>");hako[rand]=+1;}}