メロッチョ
モフモフ
メロリン

左のサンプルのコード

<div id="bpcl_mero"></div>
<div id="bpcl_mero_itemlist"></div>
<script language="javascript" type="text/javascript">
<!--
var mero_id = Array('b36759baab5b208dabdd7ffa2d6016a6', '8eced83fca8a95e54c15115b4df86ce5' , '30b88e5e4512fd562d63244edbdcd9cc');
var mero_mouseout_img = new Array('http://meropar.jp/img/logo_blog_1.gif', 'http://meropar.jp/img/logo_blog_1.gif', 'http://meropar.jp/img/logo_blog_1.gif');
var mero_mouseover_img = new Array('http://meropar.jp/img/logo_blog_2.gif', 'http://meropar.jp/img/logo_blog_2.gif', 'http://meropar.jp/img/logo_blog_2.gif');

var mero_tab_html = new Array(
'<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="140" HEIGHT="40" id="merotch3" ALIGN=""><PARAM NAME=movie VALUE="http://www.foo.com/bar/merotch3.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="http://www.foo.com/bar/merotch3.swf" quality=high bgcolor=#FFFFFF WIDTH="140" HEIGHT="40" NAME="merotch3" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>', // 1つ目のFlash表示HTML
'<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="140" HEIGHT="40" id="merotch3" ALIGN=""><PARAM NAME=movie VALUE="http://www.foo.com/bar/mofutch2.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="http://www.foo.com/bar/mofutch2.swf" quality=high bgcolor=#FFFFFF WIDTH="140" HEIGHT="40" NAME="merotch3" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>', // 2つ目のFlash表示HTML
'<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="140" HEIGHT="40" id="merotch3" ALIGN=""><PARAM NAME=movie VALUE="http://www.foo.com/bar/merotch3.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="http://www.foo.com/bar/merotch3.swf" quality=high bgcolor=#FFFFFF WIDTH="140" HEIGHT="40" NAME="merotch3" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>' // 3つ目のFlash表示HTML
);
var mero_tab_ishtml = new Array(1, 1, 1);

var mero_itemlist = new Array(
'meromero=1&snail=1&purpleSnail=0&blueTulip=0&redTulip=0&whiteTulip=0&yellowTulip=0&blueFlower=0&redFlower=0&whiteFlower=0&yellowFlower=0&tricolorFlower=0&tricolorTulip=0&greenOnion=0&sunFlower=0&take=0&bee=0&bfly=0&palm=0&addr=5-116-125&name=五(メロッチョ)&comm=よろしく', // 1つ目のアイテムリストのコード
'meromero=3&snail=0&purpleSnail=1&blueTulip=0&redTulip=0&whiteTulip=0&yellowTulip=0&blueFlower=0&redFlower=0&whiteFlower=0&yellowFlower=0&tricolorFlower=0&tricolorTulip=0&greenOnion=0&sunFlower=0&take=0&bee=0&bfly=0&palm=0&addr=6-113-146&name=五(モフモフ)&comm=よろしく', // 2つ目のアイテムリストのコード
'meromero=2&snail=0&purpleSnail=0&blueTulip=1&redTulip=0&whiteTulip=0&yellowTulip=0&blueFlower=0&redFlower=0&whiteFlower=0&yellowFlower=0&tricolorFlower=0&tricolorTulip=0&greenOnion=0&sunFlower=0&take=0&bee=0&bfly=0&palm=0&addr=4-117-157&name=五(メロリン)&comm=よろしく' // 3つ目のアイテムリストのコード
);

var mero_first_no = -1;
var mero_interval = 30000;
var mero_use_itemlist = 1;
var mero_itemlistswf_url = 'http://www.foo.com/bar/itemList02.swf';

var mero_old_no = -1;
var mero_timer_id;
var mero_is_random = 0;
var mero_random_switch = 1;

if (mero_first_no == -1) {
    show_mero_random();
}
else {
    show_mero_main(mero_first_no);
}
if (mero_interval > 0) {
    mero_timer_id = setInterval('show_mero_random()', mero_interval);
}

function show_mero_sub(id)
{
    var html;

    if (mero_tab_ishtml[id]) {
        html = mero_tab_html[id];
    }
    else {
        html = "<a href=\"http://meropar.jp/\" target=\"_blank\"><img src=\"" + mero_mouseout_img[id] + "\" border=\"0\" style=\"border: none;\" onmouseover=\"this.src='" + mero_mouseover_img[id] + "'\" onmouseout=\"this.src='" + mero_mouseout_img[id] + "'\" alt=\"メロメロパーク\" /></a>";
    }
    html += "<br /><object codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='140' height='257' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='http://cache.meropar.jp/swf/blog/main.swf' /><param name='quality' value='high' /><param name='bgcolor' value='ffffff' /><param name='FlashVars' value='key=" + mero_id[id] + "' /><embed src='http://cache.meropar.jp/swf/blog/main.swf' FlashVars='key=" + mero_id[id] + "' quality='high' bgcolor='#ffffff' width='140' height='257' name='main' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>";
    return html;
}

function show_mero_sub_itemlist(id)
{
    var html;

    html = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="140" height="100" id="itemList02" align="middle">';
    html += '<param name="allowScriptAccess" value="sameDomain" />';
    html += '<param name="movie" value="' + mero_itemlistswf_url + '" />';
    html += '<param name="FlashVars" value="' + mero_itemlist[id] + '" />'; 
    html += '<param name="loop" value="false" />';
    html += '<param name="quality" value="high" />';
    html += '<param name="bgcolor" value="#ffffff" />';
    html += '<embed src="' + mero_itemlistswf_url + '" FlashVars="' + mero_itemlist[id] + '" loop="false" quality="high" bgcolor="#ffffff" width="140" height="100" name="itemList02" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
    html += '</object>';
    return html;
}

function show_mero_main(mero_no)
{
    mero_html = show_mero_sub(mero_no);
    mero_old_no = mero_no;
    document.getElementById('bpcl_mero').innerHTML = mero_html;
    if (mero_use_itemlist) {
        mero_itemlist_html = show_mero_sub_itemlist(mero_no);
        document.getElementById('bpcl_mero_itemlist').innerHTML = mero_itemlist_html;
    }
    if (mero_interval > 0 && !mero_is_random) {
        clearInterval(mero_timer_id);
        mero_timer_id = setInterval('show_mero_random()', mero_interval);
    }
}

function show_mero_random()
{
    if (mero_random_switch) {
        do {
            mero_new_no = Math.floor(Math.random() * mero_id.length);
        } while (mero_new_no == mero_old_no);
        mero_is_random = 1;
        show_mero_main(mero_new_no);
        mero_is_random = 0;
    }
}

function mero_random_on()
{
    mero_random_switch = 1;
}

function mero_random_off()
{
    mero_random_switch = 0;
}
//-->
</script>
<a href="javascript:show_mero_main(0);">メロッチョ</a><br />
<a href="javascript:show_mero_main(1);">モフモフ</a><br />
<a href="javascript:show_mero_main(2);">メロリン</a><br />