function view_Cart(){
	ipa_obj = document.getElementById("blockCart");
	//ipa_obj.style.left = "886px";
	//ipa_obj.style.top = "85px";
	ipa_obj.style.display = "block";
}
function close_Cart(){
	ipa_obj = document.getElementById("blockCart");
	//ipa_obj.style.left = "0px";
	//ipa_obj.style.top = "0px";
	ipa_obj.style.display = "none";
}
function xmlDatas(){
	if ((httpObj.readyState == 4) && (httpObj.status == 200)){
		xmlData = httpObj.responseXML;
		targetListProduct = xmlData.getElementsByTagName("cart");
		target_nameListTags = xmlData.getElementsByTagName("product_name");
		target_numberListTags = xmlData.getElementsByTagName("product_id");
 		target_priceListTags = xmlData.getElementsByTagName("product_price");
		targetLen = targetListProduct.length; // 登録されている商品数数
		for(i=0; i<targetLen; i++){
			tbl_dat += "	<div class=\"cartCommoditys line02\">";
			tbl_dat += "		<p><a href=\"" + target_numberListTags[i].childNodes[0].nodeValue + "\">" + target_nameListTags[i].childNodes[0].nodeValue + "</a></p>";
			tbl_dat += "		<p class=\"price\">" + target_priceListTags[i].childNodes[0].nodeValue + "円</p>";
			tbl_dat += "	</div>";
		}
		tbl_dat += "	<p class=\"nextBox\"> <span class=\"boxBack\"><a href=\"#\" class=\"arrow01\">前へ</a></span> <span class=\"boxNext\"><a href=\"#\" class=\"arrow06\">次へ</a></span> </p>";
		$("cartBoxBodyInner").innerHTML = tbl_dat;
	}
}
function getstblData(count_int){
	httpObj = createXMLHttpRequest(xmlDatas);
	if (httpObj){
		sData = "PHPSESSID=" + get_cookie();
		sData += "&counter=" + count_int;
		httpObj.open("POST","/shopping/cart.php",true);
		httpObj.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
		httpObj.send(sData);
	}
}
