		var arrayLength = 25;
		
		linkUrl = new Array(arrayLength);
		linkUrl[0]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.meiji-kohgyo.co.jp@ target="_blank"><IMG alt="明治鋼業：ホームページへ" border="2" height="60" src="images/meiji-kohgyo.gif" width="150"></A>';
		linkUrl[1]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.at-kowa.co.jp@handahigashi@head.htm" target="_blank"><IMG alt="興和工業所：ホームページへ" border="2" height="60" src="images/kowa-kogyo.gif" width="150"></A>';
		linkUrl[2]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.okudaira-pipe.co.jp@index.html" target="_blank"><IMG alt="奥平パイプ興業：ホームページへ" border="2" height="60" src="images/okuhira.gif" width="150"></A>';
		linkUrl[3]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.checkerplate.co.jp@index.html" target="_blank"><IMG alt="丸和：ホームページへ" border="2" height="60" src="images/maruwa.gif" width="150"></A>';
		linkUrl[4]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.sunei-metal.co.jp@index.html" target="_blank"><IMG alt="三栄金属株式会社：ホームページへ" border="2" height="60" src="images/sunei.gif" width="150"></A>';
		linkUrl[5]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.kk-chiyoda.co.jp@index.html" target="_blank"><IMG alt="株式会社千代田：ホームページへ" border="2" height="60" src="images/chiyoda.gif" width="150"></A>';
		linkUrl[6]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.sankokinzoku.co.jp@index.html" target="_blank"><IMG alt="株式会社三幸金属工業所：ホームページへ" border="2" height="60" src="images/sanko.gif" width="150"></A>';
		linkUrl[7]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.doi-kozai.co.jp@index.html" target="_blank"><IMG alt="土井鋼材株式会社：ホームページへ" border="2" height="60" src="images/doi.gif" width="150"></A>';
		linkUrl[8]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.kondo-kouzai.co.jp@index.htm" target="_blank"><IMG alt="近藤鋼材株式会社：ホームページへ" border="2" height="60" src="images/k_bana.gif" width="150"></A>';
		linkUrl[9]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.daisun.co.jp@index.html" target="_blank"><IMG alt="株式会社ダイサン：ホームページへ" border="2" height="60" src="images/ddd.gif" width="150"></A>';		
		linkUrl[10]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.e-daito.co.jp@index.html" target="_blank"><IMG alt="大東鉄板株式会社：ホームページへ" border="2" height="60" src="images/daito.gif" width="150"></A>';		
		linkUrl[11]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.hanwa-steel.com@kousei@index.html" target="_blank"><IMG alt="有限会社光成工業：ホームページへ" border="2" height="60" src="images/kosei.gif" width="150"></A>';		
		linkUrl[12]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.hanwa.co.jp@hecs@index.html" target="_blank"><IMG alt="阪和エコスチール株式会社：ホームページへ" border="2" height="60" src="images/ecosteel.gif" width="150"></A>';		
		linkUrl[13]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.hanwa.co.jp@ecobiz@index.html" target="_blank"><IMG alt="エコビジネス開発室：ホームページへ" border="2" height="60" src="images/ecobusiness.gif" width="150"></A>';		
		linkUrl[14]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.hanwa.co.jp@hrc@index.html" target="_blank"><IMG alt="阪和流通センター：ホームページへ" border="2" height="60" src="image/ryutu_new.gif" width="150"></A>';		
		linkUrl[15]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.kawakami-kanamono.co.jp@index.html" target="_blank"><IMG alt="河上金物株式会社：ホームページへ" border="2" height="60" src="images/kawakami.gif" width="150"></A>';		
		linkUrl[16]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://shinyamato.jp@index.html" target="_blank"><IMG alt="新大和鋼材：ホームページへ" border="2" height="60" width="150" src="images/shinyamato.gif"></A>';		
		linkUrl[17]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.ota-shoji.co.jp@" target="_blank"><IMG alt="太田商事：ホームページへ" border="2" height="60" width="150" src="images/ota-shoji.gif"></A>';
		linkUrl[18]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.shibaura-group.co.jp@" target="_blank"><IMG alt="芝浦シヤリング：ホームページへ" border="2" height="60" width="150" src="images/shibaura.gif"></A>';		
		linkUrl[19]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.okayama-sekisai.com@" target="_blank"><IMG alt="岡山積載運輸：ホームページへ" border="2" height="60" width="150" src="images/okaseki.gif"></A>';		
		linkUrl[20]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.togun.co.jp@" target="_blank"><IMG alt="東群鋼材株式会社：ホームページへ" border="2" height="60" width="150" src="images/togun01.gif"></A>';		
		linkUrl[21]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.matsuyama-kozai.co.jp@" target="_blank"><IMG alt="松山鋼材株式会社：ホームページへ" border="2" height="60" width="150" src="images/matsuyama.gif"></A>';		
		linkUrl[22]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.kk-kinta.co.jp@" target="_blank"><IMG alt="株式会社金太：ホームページへ" border="2" height="60" width="150" src="images/kinta.gif"></A>';		
		linkUrl[23]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.toholath.com@index.htm" target="_blank"><IMG alt="東邦ラス工業株式会社：ホームページへ" border="2" height="60" width="150" src="images/toholath.gif"></A>';		
		linkUrl[24]='<A href="https://www.hanwa-steel.com/hk/steel/counter.do?TARGET=http://www.hanwa-steel.com@hannantokushu@index.html" target="_blank"><IMG alt="株式会社阪南特殊ロール：ホームページへ" border="2" height="60" width="150" src="images/hannan_banner.jpg"></A>';		
		
function getBanner(){
			time = new Date();
			min = time.getMinutes();
			var sec = time.getSeconds();
			
			var num = min * 3 + parseInt(sec / 6);
			
			leftPos1 = (num % arrayLength);

			if(leftPos1 < arrayLength-1)  leftPos2  = leftPos1 + 1;
			else                          leftPos2  = 0;
			
			if(leftPos2 < arrayLength-1)  leftPos3  = leftPos2 + 1;
			else                          leftPos3  = 0;

			if(leftPos3 < arrayLength-1)  rightPos1 = leftPos3 + 1;
			else                          rightPos1 = 0;

			if(rightPos1 < arrayLength-1) rightPos2 = rightPos1 + 1;
			else                          rightPos2 = 0;
			
			if(rightPos2 < arrayLength-1) rightPos3 = rightPos2 + 1;
			else                          rightPos3 = 0;


			document.write('<table border="0" cellspacing="0" cellpadding="3"><tr><td>');
			document.write(linkUrl[leftPos1]);
			document.write('</td><td>');
			document.write(linkUrl[rightPos1]);
			document.write('</td><td><tr><td>');
			document.write(linkUrl[leftPos2]);
			document.write('</td><td>');
			document.write(linkUrl[rightPos2]);
			document.write('</td></tr><tr><td>');
			document.write(linkUrl[leftPos3]);
			document.write('</td><td>');
			document.write(linkUrl[rightPos3]);															
			document.write('</td></tr></table>');
		}


window.onresize = rebuild;
function rebuild(){ location.reload();}