// JavaScript Document

<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->

 <!--
function splice_modoki(){
//配列を用意※「"」を使うと不具合がおきる為、タグを使う際は要注意※
var flashName = new
Array(
"<a href=pickup/1.html><img src=image/top/pickup/1.gif alt=PICK UP width=277 height=112 border=0></a>",
"<a href=pickup/12.html><img src=image/top/pickup/12.gif alt=PICK UP width=277 height=112 border=0></a>",
"<a href=pickup/13.html><img src=image/top/pickup/13.gif alt=PICK UP width=277 height=112 border=0></a>",
"<a href=pickup/14.html><img src=image/top/pickup/14.gif alt=PICK UP width=277 height=112 border=0></a>",
"<a href=pickup/15.html><img src=image/top/pickup/15.gif alt=PICK UP width=277 height=112 border=0></a>",
"<a href=pickup/16.html><img src=image/top/pickup/16.gif alt=PICK UP width=277 height=112 border=0></a>",
"<a href=pickup/17.html><img src=image/top/pickup/17.gif alt=PICK UP width=277 height=112 border=0></a>",
"<a href=pickup/19.html><img src=image/top/pickup/19.gif alt=PICK UP width=277 height=112 border=0></a>",
"<a href=pickup/20.html><img src=image/top/pickup/20.gif alt=PICK UP width=277 height=112 border=0></a>");

kaisuu = 10 ; //取り出す個数。配列数より多くしてはだめ。kaisuu = flashName.lengthにすると配列の数だけ取り出してくれて安全。ここではあえてマニュアル指定。
aaa= ""; //選んだ順に取っておく変数を用意

for(i=0;i<kaisuu;i++){


thisFlash = flashName[Math.floor(Math.random()*flashName.length)];//ランダムに生成

//元配列flashNameを、生成されたthisFlashのない短い配列に作り直す。
//splice/pop/pushサポートされるのはIE5.5以降なので面倒なことをしている。
newFlashName = flashName + ""; //空文字を追加することで文字列に変換して代入
mypatt = new RegExp(thisFlash,"g"); //マッチパターンのセット
newFlashName = newFlashName.replace(mypatt,""); //置換する
newFlashName = newFlashName.replace(/,,/g,","); //,,を,に置換する
newFlashName = newFlashName.replace(/^,/,""); //行頭の,を削除
newFlashName = newFlashName.replace(/,$/,""); //行末の,を削除
flashName = newFlashName.split(","); // ,で分解して配列に戻す。同時に元の配列とすり替え

aaa = aaa + thisFlash + ""; //生成された配列を追加
}
document.write(aaa + ""); //できあがったランダムな順番に表示。
}

//-->


 <!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->


