var max_no = 53; 
var rand_no = Math.floor(Math.random() * max_no);

if(rand_no == 0){document.write('<img src="bus/yuirail02.jpg" alt="ゆいレール(沖縄都市モノレール)" title="ゆいレール(沖縄都市モノレール)" border="0">');}
else if(rand_no == 1){document.write('<img src="bus/azuma01.jpg" alt="東運輸" title="東運輸" border="0">');}
else if(rand_no == 2){document.write('<img src="bus/azuma02.jpg" alt="東運輸" title="東運輸" border="0">');}
else if(rand_no == 3){document.write('<img src="bus/henza01.jpg" alt="平安座総合開発" title="平安座総合開発" border="0">');}
else if(rand_no == 4){document.write('<img src="bus/henza02.jpg" alt="平安座総合開発" title="平安座総合開発" border="0">');}
else if(rand_no == 5){document.write('<img src="bus/ie01.jpg" alt="伊江島観光バス" title="伊江島観光バス" border="0">');}
else if(rand_no == 6){document.write('<img src="bus/ie02.jpg" alt="伊江島観光バス" title="伊江島観光バス" border="0">');}
else if(rand_no == 7){document.write('<img src="bus/iriomote01.jpg" alt="西表島交通" title="西表島交通" border="0">');}
else if(rand_no == 8){document.write('<img src="bus/iriomote02.jpg" alt="西表島交通" title="西表島交通" border="0">');}
else if(rand_no == 9){document.write('<img src="bus/kume01.jpg" alt="久米島町営バス" title="久米島町営バス" border="0">');}
else if(rand_no == 10){document.write('<img src="bus/kume02.jpg" alt="久米島町営バス" title="久米島町営バス" border="0">');}
else if(rand_no == 11){document.write('<img src="bus/kunigami01.jpg" alt="国頭村営バス" title="国頭村営バス" border="0">');}
else if(rand_no == 12){document.write('<img src="bus/kunigami02.jpg" alt="国頭村営バス" title="国頭村営バス" border="0">');}
else if(rand_no == 13){document.write('<img src="bus/kyoei01.jpg" alt="宮古協栄バス" title="宮古協栄バス" border="0">');}
else if(rand_no == 14){document.write('<img src="bus/kyoei02.jpg" alt="宮古協栄バス" title="宮古協栄バス" border="0">');}
else if(rand_no == 15){document.write('<img src="bus/kyowa01.jpg" alt="共和バス" title="共和バス" border="0">');}
else if(rand_no == 16){document.write('<img src="bus/kyowa02.jpg" alt="共和バス" title="共和バス" border="0">');}
else if(rand_no == 17){document.write('<img src="bus/minamidaito01.jpg" alt="大東観光商事" title="大東観光商事" border="0">');}
else if(rand_no == 18){document.write('<img src="bus/naha01.jpg" alt="那覇バス" title="那覇バス" border="0">');}
else if(rand_no == 19){document.write('<img src="bus/naha02.jpg" alt="那覇バス" title="那覇バス" border="0">');}
else if(rand_no == 20){document.write('<img src="bus/okinawa01.jpg" alt="沖縄バス" title="沖縄バス" border="0">');}
else if(rand_no == 21){document.write('<img src="bus/okinawa02.jpg" alt="沖縄バス" title="沖縄バス" border="0">');}
else if(rand_no == 22){document.write('<img src="bus/okinawashi01.jpg" alt="沖縄市中心市街地循環バス" title="沖縄市中心市街地循環バス" border="0">');}
else if(rand_no == 23){document.write('<img src="bus/okinawashi02.jpg" alt="沖縄市中心市街地循環バス" title="沖縄市中心市街地循環バス" border="0">');}
else if(rand_no == 24){document.write('<img src="bus/ryukyu01.jpg" alt="琉球バス交通" title="琉球バス交通" border="0">');}
else if(rand_no == 25){document.write('<img src="bus/ryukyu02.jpg" alt="琉球バス交通" title="琉球バス交通" border="0">');}
else if(rand_no == 26){document.write('<img src="bus/taketomi01.jpg" alt="竹富島交通" title="竹富島交通" border="0">');}
else if(rand_no == 27){document.write('<img src="bus/taketomi02.jpg" alt="竹富島交通" title="竹富島交通" border="0">');}
else if(rand_no == 28){document.write('<img src="bus/tarama01.jpg" alt="多良間村自家用有償バス" title="多良間村自家用有償バス" border="0">');}
else if(rand_no == 29){document.write('<img src="bus/tarama02.jpg" alt="多良間村自家用有償バス" title="多良間村自家用有償バス" border="0">');}
else if(rand_no == 30){document.write('<img src="bus/tokashiki01.jpg" alt="とかしき観光バス" title="とかしき観光バス" border="0">');}
else if(rand_no == 31){document.write('<img src="bus/tokashiki02.jpg" alt="とかしき観光バス" title="とかしき観光バス" border="0">');}
else if(rand_no == 32){document.write('<img src="bus/toyo01.jpg" alt="東陽バス" title="東陽バス" border="0">');}
else if(rand_no == 33){document.write('<img src="bus/toyo02.jpg" alt="東陽バス" title="東陽バス" border="0">');}
else if(rand_no == 34){document.write('<img src="bus/yachiyo01.jpg" alt="八千代バス" title="八千代バス" border="0">');}
else if(rand_no == 35){document.write('<img src="bus/yachiyo02.jpg" alt="八千代バス" title="八千代バス" border="0">');}
else if(rand_no == 36){document.write('<img src="bus/yomitan01.jpg" alt="読谷村コミュニティバス｢鳳バス｣" title="読谷村コミュニティバス｢鳳バス｣" border="0">');}
else if(rand_no == 37){document.write('<img src="bus/yomitan02.jpg" alt="読谷村コミュニティバス｢鳳バス｣" title="読谷村コミュニティバス｢鳳バス｣" border="0">');}
else if(rand_no == 38){document.write('<img src="bus/yonaguni01.jpg" alt="与那国町営バス" title="与那国町営バス" border="0">');}
else if(rand_no == 39){document.write('<img src="bus/yonaguni02.jpg" alt="与那国町営バス" title="与那国町営バス" border="0">');}
else if(rand_no == 40){document.write('<img src="bus/yuirail01.jpg" alt="ゆいレール(沖縄都市モノレール)" title="ゆいレール(沖縄都市モノレール)" border="0">');}
else if(rand_no == 41){document.write('<img src="bus/toyo03.jpg" alt="東陽バス" title="東陽バス" border="0">');}
else if(rand_no == 42){document.write('<img src="bus/naha03.jpg" alt="那覇バス" title="那覇バス" border="0">');}
else if(rand_no == 43){document.write('<img src="bus/okinawa03.jpg" alt="沖縄バス" title="沖縄バス" border="0">');}
else if(rand_no == 44){document.write('<img src="bus/ryukyu03.jpg" alt="琉球バス交通" title="琉球バス交通" border="0">');}
else if(rand_no == 45){document.write('<img src="bus/yoron01.jpg" alt="南陸運" title="南陸運" border="0">');}
else if(rand_no == 46){document.write('<img src="bus/yoron02.jpg" alt="南陸運" title="南陸運" border="0">');}
else if(rand_no == 47){document.write('<img src="bus/zamami01.jpg" alt="座間味村営バス" title="座間味村営バス" border="0">');}
else if(rand_no == 48){document.write('<img src="bus/zamami02.jpg" alt="座間味村営バス" title="座間味村営バス" border="0">');}
else if(rand_no == 49){document.write('<img src="bus/naha04.jpg" alt="那覇バス" title="那覇バス" border="0">');}
else if(rand_no == 50){document.write('<img src="bus/okinawa04.jpg" alt="沖縄バス" title="沖縄バス" border="0">');}
else if(rand_no == 51){document.write('<img src="bus/ryukyu04.jpg" alt="琉球バス交通" title="琉球バス交通" border="0">');}
else if(rand_no == 52){document.write('<img src="bus/toyo04.jpg" alt="東陽バス" title="東陽バス" border="0">');}
