
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


/*  メニューを無理矢理修正したためにCSSの一部が含まれています START*/
function navi_HeadTop()    {navi_sub(0).innerHTML=_HeadTop;}
function navi_HeadNew()    {navi_sub(1).innerHTML=_HeadNew;}
function navi_HeadPremium(){navi_sub(1).innerHTML=_HeadPremium;}
function navi_HeadSpecial(){navi_sub(1).innerHTML=_HeadSpecial;}
function navi_HeadMenu()   {navi_sub(1).innerHTML=_HeadMenu;}
function navi_HeadPresent(){navi_sub(1).innerHTML=_HeadPresent;}
function navi_clr(){
	var elm=document.getElementById('navi2nd2');
	if(!elm){
		elm=document.getElementById('navi2nd');
	}
	elm.innerHTML= navi_innerHTML;
	elm.style.backgroundColor= navi_backgroundColor;
	navi2nd_flag= 0;
}
function navi(){
	navi2nd_timer= setTimeout('navi_clr();',200);
}
function navi_sub(num){
	if(navi2nd_timer){
		clearTimeout(navi2nd_timer);
		navi2nd_timer= 0;
	}
	var elm=document.getElementById('navi2nd2');
	if(!elm){
		elm=document.getElementById('navi2nd');
	}
	if(1 != navi2nd_flag){
		navi_innerHTML= elm.innerHTML;
		navi_backgroundColor= elm.style.backgroundColor;
		navi2nd_flag= 1;
	}
	switch(num){
		case 1:
			elm.style.backgroundColor='#fff899';
			break;
		case 0: default:
			elm.style.backgroundColor='#fff899';
			break;
	}
	return elm;
}
function navi2nd_over(){
	if(navi2nd_timer){
		clearTimeout(navi2nd_timer);
		navi2nd_timer= 0;
	}
}
function navi2nd_out(){
	navi2nd_timer= setTimeout('navi_clr();',200);
}
function navi2nd_test(){
	alert("navi2nd test");
}
/* init ****/
navi2nd_timer= 0;
navi2nd_flag= 0;
/*  メニューを無理矢理修正したためにCSSの一部が含まれています END*/


function dirnum(num) {

var dirpath= '';

if(num == ""){
	dirpath= '';
}else if(num == "1"){
	dirpath= '../';
}else if(num == "2"){
	dirpath= '../../';
}else if(num == "3"){
	dirpath= '../../../';
}else if(num == "4"){
	dirpath= '../../../../';
}else if(num == "5"){
	dirpath= '../../../../../';
}

/*ヘッダー START*/
Head = '';
Head += '<!-- ナビゲーション -->';
Head += '<div id="navSpace">';
Head += '<ul id="nav">';
Head += '<li><a onMouseOut="navi();" onMouseOver="navi_HeadTop();"     href="' + dirpath + 'index.html" id="Top">カラオケUGA(ウガ)</a></li>';
Head += '<li><a onMouseOut="navi();" onMouseOver="navi_HeadNew();"     href="' + dirpath + 'new/index.html" id="HotNews">カラオケUGA(ウガ)最新情報</a></li>';
Head += '<li><a onMouseOut="navi();" onMouseOver="navi_HeadPremium();" href="' + dirpath + 'premium/index.html" id="Premium">カラオケUGA(ウガ)楽曲情報</a></li>';
Head += '<li><a onMouseOut="navi();" onMouseOver="navi_HeadSpecial();" href="' + dirpath + 'special/index.html" id="Special">カラオケUGA(ウガ)スペシャル</a></li>';
Head += '<li><a onMouseOut="navi();" onMouseOver="navi_HeadMenu();"    href="' + dirpath + 'ugamenu/index.html" id="HeadMenu">カラオケUGA(ウガ)メニュー</a></li>';
Head += '<li><a onMouseOut="navi();" onMouseOver="navi_HeadPresent();" href="' + dirpath + 'special/tokusyu/katoumiriya/index.html#pre" id="Present">カラオケUGA(ウガ)プレゼント</a></li>';
Head += '</ul>';
Head += '</div>';
/*ヘッダー END*/

/*ヘッダーTOP 背景灰色で空のサブメニュー想定　START*/
_HeadTop = '';
_HeadTop += '　';
/*ヘッダーTOP END*/

/*ヘッダー最新情報 START*/
_HeadNew = '';
_HeadNew += ' | <a href="' + dirpath + 'new/newrelease/index.html">今週のおすすめ</a>';
_HeadNew += ' | <a href="' + dirpath + 'new/album/rd.html">アルバム全曲配信</a>';
_HeadNew += ' | <a href="' + dirpath + 'new/interview/index.html">アーティストインタビュー</a>';
_HeadNew += ' | ';
/*ヘッダー最新情報 END*/

/*ヘッダープレミアムシリーズ START*/
_HeadPremium = '';
_HeadPremium += ' | <a href="' + dirpath + 'premium/index.html">UGA映像コンテンツ</a>';
_HeadPremium += ' | <a href="' + dirpath + 'premium/anime/index.html">UGAアニメスペシャル</a>';
_HeadPremium += ' | <a href="' + dirpath + 'premium/studio/index.html">スタジオ録音</a>';
_HeadPremium += ' | <a href="' + dirpath + 'premium/data/premium_ps.html">配信曲リスト</a>';
_HeadPremium += ' | ';
/*ヘッダープレミアムシリーズ END*/

/*ヘッダースペシャル START*/
_HeadSpecial = '';
_HeadSpecial += '<div class="navi2right">';
_HeadSpecial += ' | <a href="' + dirpath + 'special/index.html">特集</a>';
_HeadSpecial += ' | <a href="' + dirpath + 'special/party_station/index.html">UGA パーティーステーション</a>';
_HeadSpecial += ' | <a href="' + dirpath + 'special/dl/index.html">UGA パンダダウンロード</a>';
_HeadSpecial += ' | ';
_HeadSpecial += '</div>';
/*ヘッダースペシャル END*/

/*ヘッダーUGAメニュー START*/
_HeadMenu = '';
_HeadMenu += '<div class="navi2right">';
_HeadMenu += ' | <a href="' + dirpath + 'ugamenu/about/index.html">UGA メニューってなに？</a>';
_HeadMenu += ' | <a href="' + dirpath + 'ugamenu/ugabato/index.html">ウガバト</a>';
_HeadMenu += ' | <a href="' + dirpath + 'ugamenu/ugabato/utajiman.html">UGA カラオケうた自慢</a>';
_HeadMenu += ' | <a href="' + dirpath + 'ugamenu/online/index.html">UGA オンラインファイター</a>';
_HeadMenu += ' | ';
_HeadMenu += '</div>';
/*ヘッダーUGAメニュー END*/

/*ヘッダープレゼント START*/
_HeadPresent = '';
_HeadPresent += '　';
/*ヘッダープレゼント END*/

/*ヘッダーnavi2nd初期化用 START*/
HeadTop =     '<div id="navi2nd2" onMouseOut="navi2nd_out();" onMouseOver="navi2nd_over();">'+_HeadTop+'</div>';
HeadNew =     '<div id="navi2nd"  onMouseOut="navi2nd_out();" onMouseOver="navi2nd_over();">'+_HeadNew+'</div>';
HeadPremium = '<div id="navi2nd"  onMouseOut="navi2nd_out();" onMouseOver="navi2nd_over();">'+_HeadPremium+'</div>';
HeadSpecial = '<div id="navi2nd"  onMouseOut="navi2nd_out();" onMouseOver="navi2nd_over();">'+_HeadSpecial+'</div>';
HeadMenu =    '<div id="navi2nd"  onMouseOut="navi2nd_out();" onMouseOver="navi2nd_over();">'+_HeadMenu+'</div>';
HeadPresent = '<div id="navi2nd"  onMouseOut="navi2nd_out();" onMouseOver="navi2nd_over();">'+_HeadPresent+'</div>';
/*ヘッダーnavi2nd初期化用 END*/


New = '';
New += '<!-- PartyStation -->';
New += '<div class="leftmenu">';
New += '<div class="party">';
New += '<a href="http://utauga.jp/special/campaign_100610/"><img src="' + dirpath + 'i/bt_ban.jpg" width="145" height="95" border="0"></a>';
New += '</div>';
New += '</div>';

New += '<!-- 今週のおすすめ -->';
New += '<div class="leftmenu">';
New += '<div class="leftmenu_title">';
New += '今週のおすすめ';
New += '</div>';
New += '<div class="leftmenu_bottom">';
New += '<ul>';
New += '<li><a href="' + dirpath + 'new/newrelease/index.html#new1">愛内里菜</a></li>';
New += '<li><a href="' + dirpath + 'new/newrelease/index.html#new2">今井美樹×小渕健太郎 with 布袋寅泰＋黒田俊介</a></li>';
New += '<li><a href="' + dirpath + 'new/newrelease/index.html#new3">逗子三兄弟</a></li>';
New += '<li><a href="' + dirpath + 'new/newrelease/index.html#new4">WaT</a></li>';



New += '</ul>';
New += '</div>';
New += '</div>';

New += '<!-- アルバム全曲配信 -->';
New += '<div class="leftmenu">';
New += '<div class="leftmenu_title">';
New += 'アルバム全曲配信';
New += '</div>';
New += '<div class="leftmenu_bottom">';
New += '<ul>';
New += '<li><a href="' + dirpath + 'new/album/goto.html">後藤真希</a></li>';
New += '</ul>';
New += '</div>';
New += '</div>';

New += '<!-- アーティストインタビュー -->';
New += '<div class="leftmenu">';
New += '<div class="leftmenu_title">';
New += 'アーティストインタビュー';
New += '</div>';
New += '<div class="leftmenu_bottom">';
New += '<ul>';
New += '<li><a href="' + dirpath + 'new/interview/index.html">SCANDAL</a></li>';
New += '</ul>';
New += '</div>';
New += '</div>';

New += '<!-- 今月の配信曲 -->';
New += '<div class="leftmenu">';
New += '<div class="leftmenu_title">';
New += '今月の配信曲';
New += '</div>';
New += '<div class="leftmenu_bottom">';
New += '<ul>';
New += '<li><a href="' + dirpath + 'new/data/tsuika.html">追加配信曲リスト</a></li>';
New += '</ul>';
New += '</div>';
New += '</div>';

New += '<!-- リクエスト -->';
New += '<div class="leftmenu">';
New += '<div class="omoshiroLeft">';
New += '<p>リクエスト</p>';
New += '<ul>';
New += '<li><a href="' + dirpath + 'community/request/index.html">リクエストする>>></a></li>';
New += '</ul>';
New += '</div>';
New += '</div>'

New += '<!-- メルマガ -->';
New += '<div class="leftmenu">';
New += '<div class="omoshiroLeft">';
New += '<p>メルマガ</p>';
New += '<ul>';
New += '<li><a href="https://p.blayn.jp/bm/p/f/tf.php?id=ugakara" target="_blank">メルマガ配信登録する>>></a></li>';
New += '<li><a href="https://p.blayn.jp/bm/p/f/tf.php?id=ugakara" target="_blank">メルマガ配信解除する>>></a></li>';
New += '</ul>';
New += '</div>';
New += '<div><br><br><br></div>';
New += '</div>'



Premium = '';
Premium += '<!-- PartyStation -->';
Premium += '<div class="leftmenu">';
Premium += '<div class="party">';
Premium += '<a href="http://utauga.jp/special/campaign_100610/"><img src="' + dirpath + 'i/bt_ban.jpg" width="145" height="95" border="0"></a>';
Premium += '</div>';
Premium += '</div>';

Premium += '<!-- UGAプレミアムライブ -->';
Premium += '<div class="leftmenu">';
Premium += '<div class="leftmenu_title">';
Premium += 'UGAプレミアムライブ';
Premium += '</div>';
Premium += '<div class="leftmenu_bottom">';
Premium += '<ul>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/bigbang/index.html">BIGBANG「ELECTRIC LOVETOUR 2010ver.」</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/shimatani/index.html">島谷ひとみ「Hitomi Shimatani Live 2008 Flare」</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/lindberg/index.html">LINDBERG『20th Anniversary Live 《SPECIAL》〜ドキドキすることやめられまへんな（笑）』</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/anation09/index.html">a-nation 2009</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/koda4/index.html">倖田來未「KODA KUMI LIVE TOUR 2009−TRICK−」</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/ootsuka/index.html">大塚 愛</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/dai/index.html">Do As Infinity</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/aaa/index.html">AAA</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/genkihatsuratsu/index.html">「元気はつらつ歌謡曲」1000回記念ライブ</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/avril/index.html">アヴリル・ラヴィーン</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/xjapan/index.html">X JAPAN</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/horiuchi/index.html">堀内孝雄・藤本美貴「UGA presents 堀内孝雄・藤本美貴「置き手紙」カラオケ大会」</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/kikkawa/index.html">吉川晃司『4つのライブからセレクトした、臨場感あふれるライブ映像で歌おう!!』</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/amuro/index.html">安室奈美恵「namie amuro BEST tour "Live Style 2006"」</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/Mi/index.html">Mi MINI LIVE 2005.6.15 in ZEPP TOKYO</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/s_live/livereport02/index.html">川嶋あい in 横浜BLITZ</a></li>';
Premium += '</ul>';
Premium += '</div>';
Premium += '</div>';

Premium += '<!-- 本人歌唱映像 -->';
Premium += '<div class="leftmenu">';
Premium += '<div class="leftmenu_title">';
Premium += '本人歌唱映像';
Premium += '</div>';
Premium += '<div class="leftmenu_bottom">';
Premium += '<ul>';
Premium += '<li><a href="' + dirpath + 'premium/clip/index.html">川嶋あい「見えない翼」</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/clip/pico.html">ぴこ「恋はシャボン」</a></li>';
Premium += '</ul>';
Premium += '</div>';
Premium += '</div>';

Premium += '<!-- UGA特典映像 -->';
Premium += '<div class="leftmenu">';
Premium += '<div class="leftmenu_title">';
Premium += 'UGA特典映像';
Premium += '</div>';
Premium += '<div class="leftmenu_bottom">';
Premium += '<ul>';
Premium += '<li><a href="' + dirpath + 'premium/digest/metalgear/index.html">「METAL GEAR SOLID PEACE WALKER」</a></li>';
Premium += '</ul>';
Premium += '</div>';
Premium += '</div>';
　　
Premium += '<!-- UGAアニメスペシャル -->';
Premium += '<div class="leftmenu">';
Premium += '<div class="leftmenu_title">';
Premium += 'UGAアニメスペシャル';
Premium += '</div>';
Premium += '<div class="leftmenu_bottom">';
Premium += '<ul>';
Premium += '<li><a href="' + dirpath + 'premium/anime/index.html">UGAアニメスペシャル</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/anime/tokusyu_yusha/index.html">勇者シリーズDVD-BOXプレゼント！</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/doujin/index.html">同人音楽特集</a></li>';
Premium += '</ul>';
Premium += '</div>';
Premium += '</div>';

Premium += '<!-- スタジオ録音 -->';
Premium += '<div class="leftmenu">';
Premium += '<div class="leftmenu_title">';
Premium += 'スタジオ録音';
Premium += '</div>';
Premium += '<div class="leftmenu_bottom">';
Premium += '<ul>';
Premium += '<li><a href="' + dirpath + 'premium/studio/index.html">LEGEND OF ROCK</a></li>';
Premium += '</ul>';
Premium += '</div>';
Premium += '</div>';

Premium += '<!-- 声優アーティスト -->';
Premium += '<div class="leftmenu">';
Premium += '<div class="leftmenu_title">';
Premium += '声優アーティスト';
Premium += '</div>';
Premium += '<div class="leftmenu_bottom">';
Premium += '<ul>';
Premium += '<li><a href="' + dirpath + 'premium/seiyu/index.html">本人映像配信曲　特集</a></li>';
Premium += '</ul>';
Premium += '</div>';
Premium += '</div>';

Premium += '<!-- 配信曲リスト -->';
Premium += '<div class="leftmenu">';
Premium += '<div class="leftmenu_title">';
Premium += '配信曲リスト';
Premium += '</div>';
Premium += '<div class="leftmenu_bottom">';
Premium += '<ul>';
Premium += '<li><a href="' + dirpath + 'premium/data/premium_ps.html">配信曲一覧<br>（UGAプレミアムライブ）</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/data/premium_clip.html">配信曲一覧（本人歌唱映像）</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/data/premium_digest.html">配信曲一覧（UGA特典映像）</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/data/clip_bn/a.html">本人映像</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/data/dance_clip.html">ダンス映像</a></li>';
Premium += '<li><a href="' + dirpath + 'premium/data/edition.html">配信曲一覧<br>（アニメ映像UGA edition）</a></li>';
Premium += '<li><a href="' + dirpath + 'new/album/index.html">アルバム全曲配信アーカイブ</a></li>';
Premium += '</ul>';
Premium += '</div>';
Premium += '</div>';

Premium += '<!-- リクエスト -->';
Premium += '<div class="leftmenu">';
Premium += '<div class="omoshiroLeft">';
Premium += '<p>リクエスト</p>';
Premium += '<ul>';
Premium += '<li><a href="' + dirpath + 'community/request/index.html">リクエストする>>></a></li>';
Premium += '</ul>';
Premium += '</div>';
Premium += '</div>'

Premium += '<!-- メルマガ -->';
Premium += '<div class="leftmenu">';
Premium += '<div class="omoshiroLeft">';
Premium += '<p>メルマガ</p>';
Premium += '<ul>';
Premium += '<li><a href="https://p.blayn.jp/bm/p/f/tf.php?id=ugakara" target="_blank">メルマガ配信登録する>>></a></li>';
Premium += '<li><a href="https://p.blayn.jp/bm/p/f/tf.php?id=ugakara" target="_blank">メルマガ配信解除する>>></a></li>';
Premium += '</ul>';
Premium += '</div>';
Premium += '<div><br><br><br></div>';
Premium += '</div>'



Special = '';
Special += '<!-- PartyStation -->';
Special += '<div class="leftmenu">';
Special += '<div class="party">';
Special += '<a href="http://utauga.jp/special/campaign_100610/"><img src="' + dirpath + 'i/bt_ban.jpg" width="145" height="95" border="0"></a>';
Special += '</div>';
Special += '</div>';

Special += '<!-- 特集 -->';
Special += '<div class="leftmenu">';
Special += '<div class="leftmenu_title">';
Special += '特集';
Special += '</div>';
Special += '<div class="leftmenu_bottom">';
Special += '<ul>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/katoumiriya/index.html">加藤ミリヤ 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/nishinokana/index.html">西野カナ 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/yui/index.html">YUI 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/funkymonkeybabys/index.html">FUNKY MONKEY BABYS 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/uverworld/index.html">UVERworld 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/remioromen2/index.html">レミオロメン 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/shounannokaze/index.html">湘南乃風 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/ikimonogakari/index.html">いきものがかり 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/2009rank/index.html">UGA年間総合ランキング2009発表！</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/becky/index.html">ベッキー♪♯ 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/sukimaswitch/index.html">スキマスイッチ×鋼の錬金術師<br>FULLMETAL ALCHEMIST 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/vamps/index.html">VAMPS 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/elt/index.html">Every Little Thing 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/uetoaya/index.html">上戸彩 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/anation09/index.html">a-nation 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/flumpool/index.html">flumpool 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/kiyoshirou/index.html">忌野清志郎 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/glay/index.html">GLAY 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/yuzu02/index.html">ゆず 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/sasuke/index.html">サスケ 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/kodamisono/index.html">倖田來未×misono 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/ken/index.html">Ken 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/boowy2/index.html">BOφWY 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/niconico/index.html">ニコニコ動画 特集</a></li>';
Special += '<li><a href="' + dirpath + 'special/tokusyu/bz/index.html">B\'z 特集</a></li>';
Special += '</ul>';
Special += '</div>';
Special += '</div>';

Special += '<!-- プレゼントキャンペーン -->';
Special += '<div class="leftmenu">';
Special += '<div class="leftmenu_title">';
Special += 'プレゼントキャンペーン';
Special += '</div>';
Special += '<div class="leftmenu_bottom">';
Special += '<ul>';
Special += '<li><a href="' + dirpath + 'special/okozukai/index.html">UGAおこづかい<br>キャンペーン</a></li>';
Special += '<li><a href="' + dirpath + 'premium/anime/tokusyu_yusha/index.html">勇者シリーズDVD-BOXプレゼント！</a></li>';
Special += '</ul>';
Special += '</div>';
Special += '</div>';

Special += '<!-- UGAパーティーステーション -->';
Special += '<div class="leftmenu">';
Special += '<div class="leftmenu_title">';
Special += 'UGAパーティーステーション';
Special += '</div>';
Special += '<div class="leftmenu_bottom">';
Special += '<ul>';
Special += '<li><a href="' + dirpath + 'special/party_station/index.html">UGAパーティーステーション</a></li>';
Special += '</ul>';
Special += '</div>';
Special += '</div>';

Special += '<!-- ダウンロード -->';
Special += '<div class="leftmenu">';
Special += '<div class="leftmenu_title">';
Special += 'ダウンロード';
Special += '</div>';
Special += '<div class="leftmenu_bottom">';
Special += '<ul>';
Special += '<li><a href="' + dirpath + 'special/dl/index.html">壁紙<br>スクリーンセーバー<br>ダウンロード</a></li>';
Special += '</ul>';
Special += '</div>';
Special += '</div>';

Special += '<!-- リクエスト -->';
Special += '<div class="leftmenu">';
Special += '<div class="omoshiroLeft">';
Special += '<p>リクエスト</p>';
Special += '<ul>';
Special += '<li><a href="' + dirpath + 'community/request/index.html">リクエストする>>></a></li>';
Special += '</ul>';
Special += '</div>';
Special += '</div>'

Special += '<!-- メルマガ -->';
Special += '<div class="leftmenu">';
Special += '<div class="omoshiroLeft">';
Special += '<p>メルマガ</p>';
Special += '<ul>';
Special += '<li><a href="https://p.blayn.jp/bm/p/f/tf.php?id=ugakara" target="_blank">メルマガ配信登録する>>></a></li>';
Special += '<li><a href="https://p.blayn.jp/bm/p/f/tf.php?id=ugakara" target="_blank">メルマガ配信解除する>>></a></li>';
Special += '</ul>';
Special += '</div>';
Special += '<div><br><br><br></div>';
Special += '</div>'



UGAMenu = '';
UGAMenu += '<!-- PartyStation -->';
UGAMenu += '<div class="leftmenu">';
UGAMenu += '<div class="party">';
UGAMenu += '<a href="http://utauga.jp/special/campaign_100610/"><img src="' + dirpath + 'i/bt_ban.jpg" width="145" height="95" border="0"></a>';
UGAMenu += '</div>';
UGAMenu += '</div>';

UGAMenu += '<!-- UGAメニュー -->';
UGAMenu += '<div class="leftmenu">';
UGAMenu += '<div class="leftmenu_title">';
UGAMenu += 'UGAメニュー';
UGAMenu += '</div>';
UGAMenu += '<div class="leftmenu_bottom">';
UGAMenu += '<ul>';
UGAMenu += '<li><a href="' + dirpath + 'ugamenu/about/index.html">UGAメニューってなに？</a></li>';
UGAMenu += '<li><a href="' + dirpath + 'ugamenu/ugabato/index.html">ウガバト</a></li>';
UGAMenu += '<li><a href="' + dirpath + 'ugamenu/ugabato/utajiman.html">UGA カラオケうた自慢</a></li>';
UGAMenu += '<li><a href="' + dirpath + 'ugamenu/online/index.html">UGA オンラインファイター</a></li>';
UGAMenu += '</ul>';
UGAMenu += '</div>';
UGAMenu += '</div>';

UGAMenu += '<!-- リクエスト -->';
UGAMenu += '<div class="leftmenu">';
UGAMenu += '<div class="omoshiroLeft">';
UGAMenu += '<p>リクエスト</p>';
UGAMenu += '<ul>';
UGAMenu += '<li><a href="' + dirpath + 'community/request/index.html">リクエストする>>></a></li>';
UGAMenu += '</ul>';
UGAMenu += '</div>';
UGAMenu += '</div>'

UGAMenu += '<!-- メルマガ -->';
UGAMenu += '<div class="leftmenu">';
UGAMenu += '<div class="omoshiroLeft">';
UGAMenu += '<p>メルマガ</p>';
UGAMenu += '<ul>';
UGAMenu += '<li><a href="https://p.blayn.jp/bm/p/f/tf.php?id=ugakara" target="_blank">メルマガ配信登録する>>></a></li>';
UGAMenu += '<li><a href="https://p.blayn.jp/bm/p/f/tf.php?id=ugakara" target="_blank">メルマガ配信解除する>>></a></li>';
UGAMenu += '</ul>';
UGAMenu += '</div>';
UGAMenu += '<div><br><br><br></div>';
UGAMenu += '</div>'



Bottom = '';
Bottom += '<div class="main">';
Bottom += '<div id="mainBottom">';
Bottom += '<table cellpadding="0" cellspacing="0" border="0" width="700">';
Bottom += '<tr>';
Bottom += '<td width="478">';
Bottom += '<span class="px10">';
Bottom += '※BB開局店のみお楽しみいただけます。また機種及び設置環境により対応していない場合がございます。<br>';
Bottom += '※早送り、スピードコントロール、一時停止の操作をしますと、本人以外の映像に切り替わります。<br>';
Bottom += '※配信内容及び配信予定は変更になる場合がございます。';
Bottom += '</span>';
Bottom += '</td>';
Bottom += '<td width="222">';
Bottom += '<img src="' + dirpath + 'i/p.gif" width="222" height="57">';
Bottom += '</td>';
Bottom += '</tr>';
Bottom += '</table>';
Bottom += '</div>';
Bottom += '</div>';



Footer = '';
Footer += '<div class="bottom">';
Footer += '<table width="850" border="0" cellpadding="2" cellspacing="2">';
Footer += '<tr>';
Footer += '<td nowrap class="bottom2" bgcolor="#FF9900">｜<a href="' + dirpath + 'index.html">カラオケUGAホーム</a>｜<a href="' + dirpath + 'ranking/index.html">カラオケランキング</a>｜<a href="' + dirpath + 'search/shop_index.html">カラオケ店検索</a>｜<a href="' + dirpath + 'site.html">サイトポリシー</a>｜<a href="' + dirpath + 'privacy.html">プライバシーポリシー</a>｜<a href="' + dirpath + 'protection.html">個人情報の利用目的</a>｜<a href="' + dirpath + 'reference.html">お問い合わせ</a>｜<a href="' + dirpath + 'sitemap.html">サイトマップ</a>｜</td>';
Footer += '</tr>';
Footer += '<tr>';
Footer += '<td align="right" nowrap class="bottom2">Copyright(c) BMB Corp. All Rights Reserved.　</td>';
Footer += '</tr>';
Footer += '</table>';
Footer += '</div>';



}

/*クリスマス*/
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated.  All rights reserved.
var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;

function ControlVersion()
{
	var version;
	var axo;
	var e;

	// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry

	try {
		// version will be set for 7.X or greater players
		axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
		version = axo.GetVariable("$version");
	} catch (e) {
	}

	if (!version)
	{
		try {
			// version will be set for 6.X players only
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
			
			// installed player is some revision of 6.0
			// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
			// so we have to be careful. 
			
			// default to the first public version
			version = "WIN 6,0,21,0";

			// throws if AllowScripAccess does not exist (introduced in 6.0r47)		
			axo.AllowScriptAccess = "always";

			// safe to call for 6.0r47 or greater
			version = axo.GetVariable("$version");

		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 4.X or 5.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
			version = axo.GetVariable("$version");
		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 3.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
			version = "WIN 3,0,18,0";
		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 2.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
			version = "WIN 2,0,0,11";
		} catch (e) {
			version = -1;
		}
	}
	
	return version;
}

// JavaScript helper required to detect Flash Player PlugIn version information
function GetSwfVer(){
	// NS/Opera version >= 3 check for Flash plugin in plugin array
	var flashVer = -1;
	
	if (navigator.plugins != null && navigator.plugins.length > 0) {
		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
			var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
			var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
			var descArray = flashDescription.split(" ");
			var tempArrayMajor = descArray[2].split(".");			
			var versionMajor = tempArrayMajor[0];
			var versionMinor = tempArrayMajor[1];
			var versionRevision = descArray[3];
			if (versionRevision == "") {
				versionRevision = descArray[4];
			}
			if (versionRevision[0] == "d") {
				versionRevision = versionRevision.substring(1);
			} else if (versionRevision[0] == "r") {
				versionRevision = versionRevision.substring(1);
				if (versionRevision.indexOf("d") > 0) {
					versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
				}
			}
			var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
		}
	}
	// MSN/WebTV 2.6 supports Flash 4
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
	// WebTV 2.5 supports Flash 3
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
	// older WebTV supports Flash 2
	else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
	else if ( isIE && isWin && !isOpera ) {
		flashVer = ControlVersion();
	}	
	return flashVer;
}

// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
{
	versionStr = GetSwfVer();
	if (versionStr == -1 ) {
		return false;
	} else if (versionStr != 0) {
		if(isIE && isWin && !isOpera) {
			// Given "WIN 2,0,0,11"
			tempArray         = versionStr.split(" "); 	// ["WIN", "2,0,0,11"]
			tempString        = tempArray[1];			// "2,0,0,11"
			versionArray      = tempString.split(",");	// ['2', '0', '0', '11']
		} else {
			versionArray      = versionStr.split(".");
		}
		var versionMajor      = versionArray[0];
		var versionMinor      = versionArray[1];
		var versionRevision   = versionArray[2];

        	// is the major.revision >= requested major.revision AND the minor version >= requested minor
		if (versionMajor > parseFloat(reqMajorVer)) {
			return true;
		} else if (versionMajor == parseFloat(reqMajorVer)) {
			if (versionMinor > parseFloat(reqMinorVer))
				return true;
			else if (versionMinor == parseFloat(reqMinorVer)) {
				if (versionRevision >= parseFloat(reqRevision))
					return true;
			}
		}
		return false;
	}
}

function AC_AddExtension(src, ext)
{
  if (src.indexOf('?') != -1)
    return src.replace(/\?/, ext+'?'); 
  else
    return src + ext;
}

function AC_Generateobj(objAttrs, params, embedAttrs) 
{ 
  var str = '';
  if (isIE && isWin && !isOpera)
  {
    str += '<object ';
    for (var i in objAttrs)
    {
      str += i + '="' + objAttrs[i] + '" ';
    }
    str += '>';
    for (var i in params)
    {
      str += '<param name="' + i + '" value="' + params[i] + '" /> ';
    }
    str += '</object>';
  }
  else
  {
    str += '<embed ';
    for (var i in embedAttrs)
    {
      str += i + '="' + embedAttrs[i] + '" ';
    }
    str += '> </embed>';
  }

  document.write(str);
}

function AC_FL_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
     , "application/x-shockwave-flash"
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_SW_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
     , null
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
  var ret = new Object();
  ret.embedAttrs = new Object();
  ret.params = new Object();
  ret.objAttrs = new Object();
  for (var i=0; i < args.length; i=i+2){
    var currArg = args[i].toLowerCase();    

    switch (currArg){	
      case "classid":
        break;
      case "pluginspage":
        ret.embedAttrs[args[i]] = args[i+1];
        break;
      case "src":
      case "movie":	
        args[i+1] = AC_AddExtension(args[i+1], ext);
        ret.embedAttrs["src"] = args[i+1];
        ret.params[srcParamName] = args[i+1];
        break;
      case "onafterupdate":
      case "onbeforeupdate":
      case "onblur":
      case "oncellchange":
      case "onclick":
      case "ondblclick":
      case "ondrag":
      case "ondragend":
      case "ondragenter":
      case "ondragleave":
      case "ondragover":
      case "ondrop":
      case "onfinish":
      case "onfocus":
      case "onhelp":
      case "onmousedown":
      case "onmouseup":
      case "onmouseover":
      case "onmousemove":
      case "onmouseout":
      case "onkeypress":
      case "onkeydown":
      case "onkeyup":
      case "onload":
      case "onlosecapture":
      case "onpropertychange":
      case "onreadystatechange":
      case "onrowsdelete":
      case "onrowenter":
      case "onrowexit":
      case "onrowsinserted":
      case "onstart":
      case "onscroll":
      case "onbeforeeditfocus":
      case "onactivate":
      case "onbeforedeactivate":
      case "ondeactivate":
      case "type":
      case "codebase":
      case "id":
        ret.objAttrs[args[i]] = args[i+1];
        break;
      case "width":
      case "height":
      case "align":
      case "vspace": 
      case "hspace":
      case "class":
      case "title":
      case "accesskey":
      case "name":
      case "tabindex":
        ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
        break;
      default:
        ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
    }
  }
  ret.objAttrs["classid"] = classid;
  if (mimeType) ret.embedAttrs["type"] = mimeType;
  return ret;
}
/*クリスマス終わり*/