// charming sale shop
var _shop_info = new Array();

// shop info
_shop_info["shop_id"]             = '1011';
_shop_info["shop_category_id"]    = 'A';
_shop_info["shop_category_name"]  = 'かわいい人気アイテム、目白押し';
_shop_info["shop_name"]           = 'ベラ元町プラザ店';
_shop_info["shop_index"]          = '6';
_shop_info["sale_title"]          = '半期に一度のランジェリー大バーゲン<br>';
_shop_info["sale_body"]           = '超目玉商品<br><br>1.　￥525　200本限り<br>ブラジャーいろいろ<br><br>2.　2枚　￥300　300枚限り<br>綿、ナイロン　M.L<br>ショーツいろいろ<br><br>イチオシ！<br>1.　￥399　M〜LL<br>ワイヤーなし　ソフトブラジャー<br><br>2.　￥525　コーナー<br>ガードル　64〜90<br>インナー　いろいろ　S〜LL<br><br>3.￥1050〜<br>リラックスタイムのルームウェアー<br>';
_shop_info["image_caption1"]      = 'メリハリボディの必須アイテム<br>ボディシェイパー・ガードル・etc<br>￥1500→￥1050などなど<br>20％〜30％OFF<br>';
_shop_info["image_caption2"]      = 'かわいい　ヒョウ柄インナー・ハラマキ<br>ショートパンツ・スパッツ　各￥525<br>';
_shop_info["image_caption3"]      = '';
_shop_info["shop_area"]           = '1';
_shop_info["shop_address"]        = '13　元町プラザ1Ｆ';
_shop_info["shop_tel"]            = '045-662-0230';
_shop_info["shop_time"]           = '10:30〜19:30';
_shop_info["shop_mail"]           = 'info@bella.ne.jp';
_shop_info["shop_url"]            = 'http://bella.ne.jp';
_shop_info["coupon_flag"]         = '1';
_shop_info["coupon_body"]         = 'お買上げ<br>2,000円以上で200円割引<br>3,000円以上で300円割引<br>5,000円以上で500円割引<br>※期間中お1人様1回限りのご利用とさせて頂きます。';
_shop_info["valid_flag"]          = '2';

// initialize
function initialize() {
	// valid flag
	if(_shop_info["valid_flag"] == '0') { return; }
	// coupon
	if(_shop_info["coupon_flag"] == '1') {
		document.getElementById("couponImage").style.display  = "";
		document.getElementById("couponTicket").style.display = "";
		if(_shop_info["coupon_body"] != '') {
			document.getElementById("couponBody").style.display = "";
		}
	}
	// sale body
	if(_shop_info["sale_body"] != '') {
		document.getElementById("saleBody").style.display = "";
	}
	// address
	if((_shop_info["shop_area"] != '') && (_shop_info["shop_address"] != '')) {
		document.getElementById("shopAddress").style.display = "";
	}
	// tel
	if(_shop_info["shop_tel"] != '') {
		document.getElementById("shopTel").style.display = "";
	}
	// time
	if(_shop_info["shop_time"] != '') {
		document.getElementById("shopTime").style.display = "";
	}
	// mail
	if(_shop_info["shop_mail"] != '') {
		document.getElementById("shopMail").style.display = "";
	}
	// url
	if(_shop_info["shop_url"] != '') {
		document.getElementById("shopUrl").style.display = "";
	}
}

// outoput
function printShopInfo(_name,_head,_foot) { document.write(checkString(_head)+_shop_info[_name]+checkString(_foot)); }

// check string
function checkString(_str) { if(_str !== undefined) { return _str; } else { return ''; }}

