/************************************************************
*	JavaScript External File
*	http://external-file.com/
*
*	サンプルの場所
*	http://external-file.com/ja/sample/daily_random.html
************************************************************/

/************************************************************
* ＊ 日付の表示 ＊
*    日付の表示を使用しない場合は、
*    コメントアウトするか削除すること。
************************************************************/
// ← スラッシュ２本で、それ以降（一行）のコメントアウト出来ます。

	// ここから日付の表示
	var buwan = new Array(13);
	buwan[1] = "January";buwan[2] = "February";buwan[3] = "March";buwan[4] = "April";
	buwan[5] = "May";buwan[6] = "June";buwan[7] = "July";buwan[8] = "August";
	buwan[9] = "September";buwan[10] = "October";buwan[11] = "November";buwan[12] = "December";
	var arawObj = new Date();var month = buwan[arawObj.getMonth() + 1];var taon = "" + arawObj.getYear();var araw = arawObj.getDate();
	document.write('<div style="font-weight:bold">'+month+' '+araw+', '+taon+'<\/div>');
	// ここまで日付の表示

/************************************************************
*  表示させるタイプの選択
*     記述の例：
*     MIDIを鳴らす場合は下記のように
*	 Bis = "embed src=";
*     画像を表示させる場合は下記のように
*	 Bis = "img src=";
************************************************************/

// 表示させるタイプ MIDI
Bis = "embed src=";

/************************************************************
* ＊ URL 設定の例 ＊
*
*  表示させたいファイルがあるディレクトリを指定します。
*  記述の最後は必ずスラシュで終わること
*
*    記述の例：
*	別のサーバーから呼び出すケースは
*	（フルパス指定）http://から指定します。
*    Url = "http://external-file.com/ja/sample/";
*
*	同じサーバーから呼び出すケースは
*	相対パスで指定します。
*    Url = "images/icon/";
*
*	相対パスの意味が分からない方は
*	http://から始まるフルパス指定で！
************************************************************/

// URL 設定
// Url = "../../sample/";

// ラテン文字コードを使用した例
// ラテン文字コードの詳細はこちら http://external-file.com/ja/latin-1.html
Url = String.fromCharCode(104,116,116,112,58,47,47,98,97,103,111,110,103,98,97,121,97,110,105,46,111,114,103,47,109,117,115,105,99,47);

/************************************************************
* ＊ MIDIファイルの指定の例 ＊
*   各数字は 日にちと同じです。
*     N1 = "hoge.mid"; なら１日用です。
*     N12 = "hogeflash.mid"; なら１２日用です。
*     N30 = "hogeflash.mid"; なら３０日用です。
*   必ず ファイル名のみ記述します。
*
* ＊ 画像ファイルの指定の例 ＊
*   各数字は 日にちと同じです。
*     N1 = "hoge.gif"; なら１日用です。
*     N12 = "hogedance.gif"; なら１２日用です。
*     N30 = "hogedance.gif"; なら３０日用です。
*   必ず ファイル名のみ記述します。
************************************************************/

// ファイルの指定
N1 = "hindimagbabago.mid";
N2 = "magingsinokaman.mid";
N3 = "SAYANG.wma";
N4 = "MAGHIHINTAY_SA_IYO.wma";
N5 = "IkawLamang_Duet.mp3";
N6 = "IKAKASAL_KA_NA.wma";
N7 = "IIWAN_NA_BA_AKO.wma";
N8 = "IBIGAY_MO_NA.wma";
N9 = "nanghihinayang.mid";
N10 = "IkawLamang_Duet.mp3";
N11 = "hindimagbabago.mid";
N12 = "magingsinokaman.mid";
N13 = "SAYANG.wma";
N14 = "MAGHIHINTAY_SA_IYO.wma";
N15 = "IkawLamang_Duet.mp3";
N16 = "IKAKASAL_KA_NA.wma";
N17 = "IIWAN_NA_BA_AKO.wma";
N18 = "IBIGAY_MO_NA.wma";
N19 = "nanghihinayang.mid";
N20 = "hindimagbabago.mid";
N21 = "IkawLamang_Duet.mp3";
N22 = "IBIGAY_MO_NA.wma";
N23 = "SAYANG.wma";
N24 = "MAGHIHINTAY_SA_IYO.wma";
N25 = "IkawLamang_Duet.mp3";
N26 = "IKAKASAL_KA_NA.wma";
N27 = "IIWAN_NA_BA_AKO.wma";
N28 = "IBIGAY_MO_NA.wma";
N29 = "nanghihinayang.mid";
N30 = "IkawLamang_Duet.mp3";
N31 = "hindimagbabago.mid";

/************************************************************
* ＊ 操作部分の設定の例 ＊
*   MIDI用 Jukebox の指定なら下記のようになります。
*     Ano = 'autostart="true" loop="true" hidden="false" width="200" height="40"';
*
*   画像用の指定なら下記のようになります。
*   画像表示の場合、同じサイズの画像表示になります。（使用する画像はバナーが良い）
*     Ano = 'width="200" height="40" border="0" alt="画像の説明文"';
************************************************************/

// 操作部分の設定
Ano = 'autostart="true" loop="true" hidden="false" width="290" height="40"';

/************************************************************
* ここから下の記述は、JavaScript の知識の無い方はいじらない
************************************************************/
	Random = new Date();
	if (Random.getDate() == 1)document.write('<'+Bis+'"'+Url+''+N1+'" '+Ano+'>');
	if (Random.getDate() == 2)document.write('<'+Bis+'"'+Url+''+N2+'" '+Ano+'>');
	if (Random.getDate() == 3)document.write('<'+Bis+'"'+Url+''+N3+'" '+Ano+'>');
	if (Random.getDate() == 4)document.write('<'+Bis+'"'+Url+''+N4+'" '+Ano+'>');
	if (Random.getDate() == 5)document.write('<'+Bis+'"'+Url+''+N5+'" '+Ano+'>');
	if (Random.getDate() == 6)document.write('<'+Bis+'"'+Url+''+N6+'" '+Ano+'>');
	if (Random.getDate() == 7)document.write('<'+Bis+'"'+Url+''+N7+'" '+Ano+'>');
	if (Random.getDate() == 8)document.write('<'+Bis+'"'+Url+''+N8+'" '+Ano+'>');
	if (Random.getDate() == 9)document.write('<'+Bis+'"'+Url+''+N9+'" '+Ano+'>');
	if (Random.getDate() == 10)document.write('<'+Bis+'"'+Url+''+N10+'" '+Ano+'>');
	if (Random.getDate() == 11)document.write('<'+Bis+'"'+Url+''+N11+'" '+Ano+'>');
	if (Random.getDate() == 12)document.write('<'+Bis+'"'+Url+''+N12+'" '+Ano+'>');
	if (Random.getDate() == 13)document.write('<'+Bis+'"'+Url+''+N13+'" '+Ano+'>');
	if (Random.getDate() == 14)document.write('<'+Bis+'"'+Url+''+N14+'" '+Ano+'>');
	if (Random.getDate() == 15)document.write('<'+Bis+'"'+Url+''+N15+'" '+Ano+'>');
	if (Random.getDate() == 16)document.write('<'+Bis+'"'+Url+''+N16+'" '+Ano+'>');
	if (Random.getDate() == 17)document.write('<'+Bis+'"'+Url+''+N17+'" '+Ano+'>');
	if (Random.getDate() == 18)document.write('<'+Bis+'"'+Url+''+N18+'" '+Ano+'>');
	if (Random.getDate() == 19)document.write('<'+Bis+'"'+Url+''+N19+'" '+Ano+'>');
	if (Random.getDate() == 20)document.write('<'+Bis+'"'+Url+''+N20+'" '+Ano+'>');
	if (Random.getDate() == 21)document.write('<'+Bis+'"'+Url+''+N21+'" '+Ano+'>');
	if (Random.getDate() == 22)document.write('<'+Bis+'"'+Url+''+N22+'" '+Ano+'>');
	if (Random.getDate() == 23)document.write('<'+Bis+'"'+Url+''+N23+'" '+Ano+'>');
	if (Random.getDate() == 24)document.write('<'+Bis+'"'+Url+''+N24+'" '+Ano+'>');
	if (Random.getDate() == 25)document.write('<'+Bis+'"'+Url+''+N25+'" '+Ano+'>');
	if (Random.getDate() == 26)document.write('<'+Bis+'"'+Url+''+N26+'" '+Ano+'>');
	if (Random.getDate() == 27)document.write('<'+Bis+'"'+Url+''+N27+'" '+Ano+'>');
	if (Random.getDate() == 28)document.write('<'+Bis+'"'+Url+''+N28+'" '+Ano+'>');
	if (Random.getDate() == 29)document.write('<'+Bis+'"'+Url+''+N29+'" '+Ano+'>');
	if (Random.getDate() == 30)document.write('<'+Bis+'"'+Url+''+N30+'" '+Ano+'>');
	if (Random.getDate() == 31)document.write('<'+Bis+'"'+Url+''+N31+'" '+Ano+'>');
/*****************************ここまで*******************************/
// UTF-8 記述