<!--

// From Hokkaido Ticker type b

var swfsource = "http://www.fromhokkaido.jp/ticker/swf/flaticker_b.swf";
var swfwidth = 390;
var swfheight = 40;
var proxygif = "http://www.fromhokkaido.jp/ticker/img/no_plugin.gif";

var flashVersion=false;
var nn=(navigator.appName.charAt(0)=="N");
var n6=(document.getElementById && nn) || false;
var ie=(document.all && !nn) || false;
var mac=(navigator.userAgent.indexOf("Mac")!=-1) || false;
var ver=""+navigator.appVersion;
var fno=ver.indexOf(" ");
var macChecked=0;
ver=eval(ver.substring(0,fno));

if (ie && !mac)
{
	var flashVersion=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").FlashVersion();
			flashVersion=Math.floor(flashVersion / 0x10000);
}

if (!flashVersion)
{
	if (nn && !document.plugins) flashVersion=false;
	else if ((nn || n6) && navigator.plugins) flashVersion=navigator.plugins["Shockwave Flash"].description.charAt(16);
	else flashVersion=false;
}

if (ie && mac) window.onload=chkMac;

function chkMac()
{
	if (window["sample"]) flashVersion=((window["sample"].FlashVersion() & 0xffff0000) >> 16);
	macChecked=1;
	result();
}


// display

if ( flashVersion >=5 || (mac && ie && macChecked==0) )
{
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
	document.write(' ID="flaticker" WIDTH="' + swfwidth + '" HEIGHT="' + swfheight + '">');
	document.write(' <PARAM NAME=movie VALUE="' + swfsource + '">' );
	document.write(' <PARAM NAME=quality VALUE=high>' );
	document.write(' <PARAM NAME=devicefont VALUE=true> ');
	
	document.write(' <EMBED src="' + swfsource + '" quality=high devicefont=true swLiveConnect=FALSE ');
	document.write(' WIDTH="' + swfwidth + '" HEIGHT="' + swfheight + '" NAME="flaticker"');
	
	document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
	document.write(' </EMBED>');
	document.write(' </OBJECT>');
}
else
{
	document.write('<a href="http://www.macromedia.com/jp/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&Lang=Japanese">');
	document.write('<img src="' + proxygif + '" border="0">');
	document.write('</a>');
}
//-->