/*
★サンプル
no				= 2;
--------------------------------------------------
表示順：0番から
==================================================

url[i]		= 'http://www.hiltononline.jp/wedding/hpcj/';
--------------------------------------------------
リンク先：絶対パスで記述
==================================================

target[i]	= '';
--------------------------------------------------
ウインドウ：新規ウインドウは「_blank」と記述
==================================================

alt[i]		= '';
--------------------------------------------------
画像のテキスト：画像に記載されている文字列を記述（ユーザビリティやSEO対策）
==================================================

img[i]		= 'banner_03.jpg';
--------------------------------------------------
画像ファイル名：拡張子まで記載し modify/aside/img/ フォルダに入れる
==================================================
*/
var no = 0;
var url = new Array();
var tgt = new Array();
var alt = new Array();
var img = new Array();


/* ==================================================
* セッティング
*/

// ロケーション
no			= 0;
url[no]	= 'http://www.hiltonosaka.com/wedding/location/index.html';
tgt[no]	= '';
alt[no]	= 'ロケーション';
img[no]	= 'banner_01.jpg';

// おうちde結婚式
no			= 1;
url[no]	= 'http://hiltononline.jp/ouchide_wedding/';
tgt[no]	= '_blank';
alt[no]	= 'ipad活用サービス おうちde結婚式';
img[no]	= 'banner_02.jpg';

// 結納プラン
no			= 2;
url[no]	= 'http://www.hiltonosaka.com/wedding/yuinou/index.html';
tgt[no]	= '';
alt[no]	= '結納プラン';
img[no]	= 'banner_03.jpg';

// HPCJウエディングキャンペーン
no			= 3;
url[no]	= 'http://www.hiltononline.jp/wedding/hpcj/';
tgt[no]	= '_blank';
alt[no]	= '挙式後の特典';
img[no]	= 'banner_hpcj.jpg';


/*
* ▲ ここまで
* ================================================== */

var html = '<ul>';
for(var i=0;i<url.length;i++) {
	html += '<li><a href="'+url[i]+'" target="'+tgt[i]+'">';
	html += '<img src="http://www.hiltonosaka.com/wedding//modify/aside/img/'+img[i]+'" alt="'+alt[i]+'" class="btn" />';
	html += '</a></li>';
}
html += '</ul>';

document.write(html);


