//_E[hh~
//gε}/Κ^
function setPicture(){

	var i = 1;
	var objPct;
	var objSpc;
	while(document.getElementById("pct" + i)){
		var objPct = document.getElementById("pct" + i);
		var objSpc = document.getElementById("spc" + i);
		objSpc.width=objPct.width;
		objSpc.height=objPct.height-4;
		i++;
	}
}

//¨ΪΧ/σό
function setPictureLR(){

	var i = 1;
	while(document.getElementById("pct_l" + i)){
		var objPctL = document.getElementById("pct_l" + i);
		var objSpcL = document.getElementById("spc_l" + i);
		objSpcL.width=objPctL.width + 1;
		objSpcL.height=objPctL.height;
		i++;
	}

	i = 1;
	while(document.getElementById("pct_r" + i)){
		var objPctR = document.getElementById("pct_r" + i);
		var objSpcR = document.getElementById("spc_r" + i);
		
		objSpcR.width=objPctR.width + 1;
		objSpcR.height=objPctR.height;
		i++;
	}
}

//gεΚ^
function setPictureKakudai(){
	var objPct;
	var objSpc;
	var strUA = navigator.userAgent.toLowerCase();

	var objPct = document.getElementById("pct1");
	var objSpc = document.getElementById("spc1");

	if(!objPct || !objSpc){
		return;
	}
	if(strUA.indexOf("firefox") != -1 || (strUA.indexOf("MSIE 7.0") && typeof document.documentElement.style.msInterpolationMode != "undefined")){
	//IE7ΖFireFox
		var objDivSpc = objSpc.parentNode.parentNode;
		objDivSpc.style.left = objPct.offsetLeft + "px";
	}
	objSpc.width = objPct.width;
	objSpc.height = objPct.height-4;
	objSpc.style.top = "0px";
}


