/**
 * function of ecs.
 * write material list.
 */
function write_ecs_280(list_count, associate_id)
{
	var UrlArray = new Array(
	<!--$$URL_ARRAY$$-->
      "B002QD2SBI",
      "B005MJVNDM",
      "B0038OLQWQ",
      "B004H8AR40",
      "B004H8ARXQ",
      "0345481720",
      "0345481739",
      "0345481747",
      "B003GISFNC",
      "B002XQ32KO",
      "B003TWRQPI",
      "B00137UQ2Q",
      "B002UHJSQ8",
      "B005G0RK3O",
      "B002XQ32LI",
      "B000OCZ0MC",
      "4063408264",
      "B004H0MYY4",
      "4063407950",
      "B000O6O9CK",
      "B00104TLIC",
      "B0032Z7QUM",
      "B001VJNY52",
      "B003311N4A",
      "B003315S2S",
<!--$$URL_ARRAY$$-->
	  ""
	);

	var ImgArray = new Array(
	<!--$$IMG_ARRAY$$-->
      "http://ecx.images-amazon.com/images/I/61u7ge4HKoL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/513DxCU3y6L._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/41Pn3HliW9L._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51l9cwTYrsL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51jYOZSMLSL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51QSE4FDZFL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51HYS70NWML._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51ARPH2J0CL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/41kt61brf8L._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/41FKK76unOL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51RkwjqpZ3L._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51jdWbaC8ZL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/519vilRRymL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51dYeyFmxvL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/31v7UcO5B3L._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/41W3P4oVu5L._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51wIA-Yf9rL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51L%2BIwNAUXL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51%2BTdbOChtL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51G3EAteRFL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/61zGEVT40XL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/41HOfhv-KvL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51PG4t1J2kL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/41jpJMLbMBL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/41odX4BTGIL._SL75_.jpg",
<!--$$IMG_ARRAY$$-->
	  ""
	);

	var TitleArray = new Array(
	<!--$$TITLE_ARRAY$$-->
      "のだめカンタービレ 最終楽章 前編&amp;後編",
      "オーラ・クラシカル~美しい感動~",
      "時ヲ止メテ(DVD付)",
      "のだめカンタービレ アイライナーブラック",
      "のだめカンタービレ マスカラブラック",
      "Nodame Cantabile 1",
      "Nodame Cantabile 2",
      "Nodame Cantabile 3",
      "のだめカンタービレ コットンケンバンバッグ最終楽章モデル",
      "のだめカンタービレ ウールケンバンバッグ最終楽章モデル",
      "のだめカンタービレ 最終楽章 後編 スペシャル・エディション [DVD]",
      "のだめカンタービレ in ヨーロッパ [DVD]",
      "のだめカンタービレ 最終楽章 前編 スペシャル・エディション [DVD]",
      "【映画パンフレット】 『のだめカンタービレ 最終楽章 前編』 出演：上野樹里.玉木宏.瑛太.水川あさみ.小出恵介",
      "のだめカンタービレ 音符てんとう虫ペンポーチ",
      "のだめカンタービレ マングースボトル",
      "のだめカンタービレ（25）　＜完＞ (KC　KISS)",
      "のだめカンタービレ全25巻 完結セット (講談社コミックスキス)",
      "のだめカンタービレ（24） (講談社コミックスキス)",
      "のだめカンタービレ(特典無し)",
      "のだめカンタービレ ドリーム☆オーケストラ(特典無し)",
      "のだめカンタービレ 楽しい音楽の時間デス(特典無し)",
      "のだめカンタービレ巴里編マングース携帯ストラップ（赤）",
      "【のだめカンタービレ】のだめキューピーストラップ",
      "【のだめカンタービレ】千秋キューピーストラップ",
<!--$$TITLE_ARRAY$$-->
	  ""
	);

	if (list_count > UrlArray.length-1) {
		list_count = UrlArray.length-1;
	}

	document.write(
		"<div class=\"bp-ecs\">"
	);

	for (n = 0; n < list_count; n++) {
		var url = "http://www.amazon.co.jp/exec/obidos/ASIN/" + UrlArray[n] + "/" + associate_id + "/ref=nosim/";

		document.write(
			"<div class=\"bp-ecs-item\">"+
			"<a href=\"" + url + "\" target=\"_blank\">" +
			"<img src=\"" + ImgArray[n] + "\">"+
			"</a>"+
			"<div class=\"bp-ecs-product-detail\">"+
			"<a href=\"" + url + "\" target=\"_blank\">" + TitleArray[n] + "</a>"+
			"</div>"+
			"</div>"+
			"<br clear=\"both\">"
		);
	}

	document.write(
		"<div class=\"bp-ecs-banner\"><a href=\"http://www.blogpeople.net/affilist/\" target=\"_blank\"><img src=\"http://www.blogpeople.net/ecs/images/banner.gif\" alt=\"BlogPeople ecs\" style=\"border:none;\"></a></div>"+
		"<div class=\"bp-ecs-poweredby\"><a href=\"http://member.blogpeople.net/click/?pid=380\" target=\"_blank\">Powered by BlogPeople</a></div>"+
		"</div>"
	);
}


