<!--
function write_tv_fla(){
var msg_fl
msg_fl = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='622' height='350'>"; 
msg_fl = msg_fl + "<param name='movie' value='img/tv_top.swf'>"; 
msg_fl = msg_fl + "<param name=quality value=high>"; 
msg_fl = msg_fl + "<param name='wmode' value='transparent'>"; 
msg_fl = msg_fl + "<embed src='img/tv_top.swf' width='622' height='350' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' wmode='transparent'></embed>"; 
msg_fl = msg_fl + "</object>"; 
document.getElementById("tv_fla").innerHTML = msg_fl
}


var timerId = 0, i = 0, j = 0
var delayTime = 10000 //メッセージの変わる間隔（単位は千分の一秒）
var msg = new Array()

msg[msg.length] = "<table width='100%' height='36' border='0' cellpadding='2' cellspacing='0'><tr align='center' bgcolor='#D9EDFF'><td height='18' colspan='2' align='left' valign='bottom'>　<span class='style34'>塩家(まーすや)</span></td></tr><tr align='center'><td width='43%' height='18' align='left' valign='bottom'><a target='_brunk' href='http://www.ma-suya.com/shop_miyako.html'><img src='img/tv_top_bn_masuya.gif' width='142' height='52' border='0'></a></td><td width='57%' align='left' valign='top'>各地の塩を扱う「塩屋」(まーすや)<br>あなただけの塩を見つけに来ませんか？</td></tr></table><table width='100%' height='36' border='0' cellpadding='2' cellspacing='0'><tr align='center' bgcolor='#D9EDFF'><td height='18' colspan='2' align='left' valign='bottom'>　<span class='style34'>アパマンショップ</span></td></tr><tr align='center'><td width='43%' height='18' align='left' valign='bottom'><a target='_brunk' href='http://www.jjc-kk.com/'><img src='img/tv_bn_apaman.gif' width='142' height='52' border='0'></a></td><td width='57%' align='left' valign='top'>宮古島の「住」のことは、アパマンショップにおまかせ！スタッフ一同お待ちしております！</td></tr></table>"
msg[msg.length] = "<table width='100%' height='36' border='0' cellpadding='2' cellspacing='0'><tr align='center' bgcolor='#D9EDFF'><td height='18' colspan='2' align='left' valign='bottom'>　<span class='style34'>オキナワ宮古市場</span></td></tr><tr align='center'><td width='43%' height='18' align='left' valign='bottom'><a target='_brunk' href='http://www.miyakoichiba.co.jp/'><img src='img/tv_bn_okinawa.gif' width='142' height='52' border='0'></a></td><td width='57%' align='left' valign='top'>宮古島の食材なら<br>オキナワ宮古市場で決まり！<br>来店お待ちしております！</td></tr></table><table width='100%' height='36' border='0' cellpadding='2' cellspacing='0'><tr align='center' bgcolor='#D9EDFF'><td height='18' colspan='2' align='left' valign='bottom'>　<span class='style34'>オゴエ！コンシェルジュ</span></td></tr><tr align='center'><td width='43%' height='18' align='left' valign='bottom'><a target='_brunk' href='http://www.ogoe.co.jp/'><img src='img/tv_bn_ogoecn.gif' width='142' height='52' border='0'></a></td><td width='57%' align='left' valign='top'>宮古島の現地密着型旅行会社<br>航空券からホテルパックまで、お気軽にご相談下さい。</td></tr></table>"
msg[msg.length] = "<table width='100%' height='36' border='0' cellpadding='2' cellspacing='0'><tr align='center' bgcolor='#D9EDFF'><td height='18' colspan='2' align='left' valign='bottom'>　<span class='style34'>郷家</span></td></tr><tr align='center'><td width='43%' height='18' align='left' valign='bottom'><a target='_brunk' href='http://www.ogoe.co.jp/c_eat/ogoe_eat_00_04.html'><img src='img/tv_bn_gouya.gif' width='142' height='52' border='0'></a></td><td width='57%' align='left' valign='top'>お客様との一体感がたまらない！<br>民謡ライブと沖縄料理。両方楽しみたいなら「郷家」まで！</td></tr></table><table width='100%' height='36' border='0' cellpadding='2' cellspacing='0'><tr align='center' bgcolor='#D9EDFF'><td height='18' colspan='2' align='left' valign='bottom'>　<span class='style34'>本場泡盛 多良川</span></td></tr><tr align='center'><td width='43%' height='18' align='left' valign='bottom'><a target='_brunk' href='http://www.taragawa.co.jp/'><img src='img/tv_bn_taragawa.gif' width='142' height='52' border='0'></a></td><td width='57%' align='left' valign='top'>定番の泡盛「多良川」<br>お酒好きにはたまらない！泡盛以外にももろみ酢等もございます。</td></tr></table>"

function flickMsg() {
   if (j < 1000) {
   // 上の行の数字は繰り返しの回数です
      j++
      if (i < msg.length) {
         i++
         document.getElementById("pr_box").innerHTML = msg[i-1]
         document.getElementById("page_box").innerHTML = 'Page　' + i + ' / 3'
         if (i == msg.length)
            i = 0
      }
      timerId = setTimeout("flickMsg()", delayTime)
   } else
      document.getElementById("page_box").innerHTML = ""
}
-->