// リンクをランダムピックアップ
function writeRandomPickupLinkList() {
var list = [
['href="http://nozaki.com/','[NOZAKI.COM] - edge of the future -', ''],
['http://nozaki.com/','[S2] sandglass starts', ''],
['http://fanblogs.jp/mama-nikki/','Chiwamama的blog☆', ''],
['http://clip.hiniku.com/','hiniclip：ヒニクリップ', ''],
['http://kira-ism.seesaa.net/','kira-ism', ''],
['http://come.ti-da.net','mina-blog', ''],
['http://www.schaft.net/n00bs/','nOObs', ''],
['http://eigono.info/"','stop and start', ''],
['http://wada.cocolog-nifty.com/blog/','WADA-blog（わだぶろぐ）', ''],
['http://www.uka-blog.com/','うかブログ', ''],
['http://www.ulog.biz/','うろぐ', ''],
['http://orangesky.ti-da.net/','オレンジスカイのゆったりアフィリ', ''],
['http://orangesky.jp/','オレンジスカイの興味津々', ''],
['http://taiken-event.com/necpc/','NEC LaVie 体験感想レポート', ''],
['http://blog.livedoor.jp/mensstudio/','め～んずスタジオ', ''],
['http://syounanlife.cocolog-nifty.com/blog/','YASの湘南生活', ''],
['http://blog.livedoor.jp/hane_wing14/','派遣ＯＬはねのグータンな生活', ''],
['http://musilog.net/','ムジログ', '']
];
var listNum = 18;
var isBlank = 0;

// ************ 設定ここまで **************
var selectedId = 0;
var k = 0;
var newList = list;
var tempList = null;
var target = (isBlank == 0) ? '' : ' target="_blank"';
var att = '';

if (list.length < listNum) listNum = list.length;
document.write('<ul class="link">');
while (0 < listNum) {
k = 0;
selectedId = Math.floor(Math.random() * newList.length);
att = (newList[selectedId][2] != '') ? ' ' + newList[selectedId][2] : '';
document.write('<li><a href="' + newList[selectedId][0] + '"' + target + att + '>');
document.write(newList[selectedId][1]);
document.write('</a></li>');
listNum--;
tempList = new Array(listNum);
for (i = 0; i < newList.length; i++) {
if (i != selectedId) {
tempList[k] = newList[i];
k++;
}
}
newList = null;
newList = tempList;
}
document.write('</ul>');

}