﻿<!--
// JavaScript Document
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

//フラッシュをJava経由で読み込むスクリプト
//function showFlash(url,width,height){
//	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+width+'" height="'+height+'">');
//	document.write('<param name="movie" value="'+url+'">');
//	document.write('<param name="quality" value="high">');
//	document.write('<embed src="'+url+'" quality="high" pluginspage="http://www.macromedia.com/jp/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'">');
//	document.write('</embed>');
//	document.write('</object>');
//}

//大きいバナーイメージ(又はフラッシュ)を定義
var mainimage = new Array(
//	'<scr'+'ipt type="text/javascript">showFlash("/swf/300x250_forMaru.swf",300,250);</scr'+'ipt>',
	'<a href="/pub/present.html"><img src="/img/ad/rect0601.gif" style="width: 300px;height: 125px;"></a>');

//フラッシュをバナーに組み込む場合は最上段のshowFlash関数を利用します。
//記述方法は下記の通り。※scriptタグの多重定義のみ気をつけてください。
//	'<scr'+'ipt language="javascript" type="text/javascript">showFlash("flashname.swf","width","height");</scr'+'ipt>',

//バナーの数を調べます。(2枚以上の時の記述)
//var figure = mainimage.length;

//for (i=0; i<100; i++) //　100はシャッフルする回数
//{
//	n1 = Math.floor(Math.random() * figure);
//	n2 = Math.floor(Math.random() * figure);
//	m = mainimage[n1]
//	mainimage[n1] = mainimage[n2];
//	mainimage[n2] = m;
//}

//バナーの数を調べます。
var figure = mainimage.length;

for (i=0; i<100; i++) //　100はシャッフルする回数
{
	n1 = Math.floor(Math.random() * figure);
	m = mainimage[n1]
	mainimage[n1] = mainimage[n1];
	mainimage[n1] = m;
}

//大きいバナーイメージを呼び出す関数
function putmainimage(cnt){
	document.write(mainimage[cnt]);
}

//-->
