/*===================================
  [関数 chBanner]
  バナーをランダム表示するJavascript
====================================*/

function chBanner(alt,url,img)
{
	n = Math.floor(Math.random() * url.length);
	if((url[n] == ""))
		{
		document.write('<p><img src="'+img[n]+'" width="135" height="50" alt="'+alt[n]+'" /></p>');
		}
	else{
		document.write('<p><a href="'+url[n]+'" target="_blank"><img src="'+img[n]+'" width="135" height="50" alt="'+alt[n]+'" /></a></p>');
		}
}
// _______________ end of function fsc() ___ 

//EOF

