//--------------------------
// リスト表示
//--------------------------
function displayList(httpObj)
{
	getqs();
	
	var XML = httpObj.responseXML;
	var work = XML.getElementsByTagName("work");
	var int_imgID = XML.getElementsByTagName("imgID");
	var str_cap = XML.getElementsByTagName("cap");
	var str_text = XML.getElementsByTagName("text");


	strBuffTAG = "<ul>";
		for(i=0; i< work.length; i++)
		{
			strBuffTAG += "<li>";
			strBuffTAG += "<a href=\"main.html?photoKeyID=" + int_imgID[i].firstChild.nodeValue + "&galleyKeyID=" + _get['galleyKeyID'] + "&listMaxID=" + work.length + "\">";
			strBuffTAG += "<img src=\"/private/photograph/img/Gallery/" + _get['galleyKeyID'] + "/"  + int_imgID[i].firstChild.nodeValue + "s.jpg\">";
			strBuffTAG += "</a>" ;
			strBuffTAG += "</li>";
		}
	strBuffTAG += "</ul>";

	//パンくず
	strBuffTAG_panList = "";
	strBuffTAG_panList += "<div class=\"text\">";
	strBuffTAG_panList += "<a href=\"http://www.g-f-g.info/\">HOME</a>&nbsp;&gt;&nbsp; ";
	strBuffTAG_panList += "<a href=\"http://www.g-f-g.info/photograph\">Photograph</a> &nbsp;&gt;&nbsp;";
	strBuffTAG_panList += str_cap[0].firstChild.nodeValue ;
	strBuffTAG_panList += "</div>";

	//Gallery Titleタグ
	strBuffTAG_GalleryTitle = "";
	strBuffTAG_GalleryTitle += "<img src=\"/private/photograph/img/gallery_title_sub" + _get['galleyKeyID'] + ".gif\">";

	//Caption
	strBuffCaption = str_text[0].firstChild.nodeValue;

	//バッファリング
	$("indexImg").innerHTML = strBuffTAG;
	$("beltBlock").innerHTML = strBuffTAG_panList;
	$("title").innerHTML = strBuffTAG_GalleryTitle;
	$("caption").innerHTML = strBuffCaption;

}

