/**
 * function of ecs.
 * write material list.
 */
function write_ecs_734(list_count, associate_id)
{
	var UrlArray = new Array(
	<!--$$URL_ARRAY$$-->
      "4862487424",
      "4492973192",
      "4862486568",
      "4492971270",
      "4534035985",
      "4838721285",
      "4534036132",
      "4471716190",
      "4534036450",
      "489451138X",
<!--$$URL_ARRAY$$-->
	  ""
	);

	var ImgArray = new Array(
	<!--$$IMG_ARRAY$$-->
      "http://ecx.images-amazon.com/images/I/5128GWWFgaL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51GQA2A%2B7fL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51phPpHAJeL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51ptSRA9SFL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51kb1WqM1LL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/41-rbN32WGL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/41FXBZ58P2L._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51k2p8y2X6L._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51DWKRS0NNL._SL75_.jpg",
      "http://ecx.images-amazon.com/images/I/51XKZGABT5L._SL75_.jpg",
<!--$$IMG_ARRAY$$-->
	  ""
	);

	var TitleArray = new Array(
	<!--$$TITLE_ARRAY$$-->
      "【玉手箱対策用】必勝・就職試験! 8割が落とされる「Webテスト」完全突破法【1】2013年度版",
      "会社四季報　業界地図　2012年版",
      "【テストセンター・SPI2-G対応】 転職者用SPI2攻略問題集 【改訂3版】",
      "就職四季報　2013年版",
      "採用される履歴書・職務経歴書はこう書く&lt;実例付き&gt;",
      "ちつ☆トレ",
      "戦略思考コンプリートブック",
      "2013年度版 超速マスター！ 一般常識＆時事問題 別冊【最新重要時事キーワード】付き",
      "採用される転職者のための面接トーク術?モデル応答例付き",
      "小さな会社・儲けのルール?ランチェスター経営7つの成功戦略",
<!--$$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>"
	);
}


