<!--
function buttonDisabled(){
	formsObj = document.forms;
	for(i=0; i<formsObj.length; i++){
		for(j=0; j<formsObj[i].length; j++){
			if(formsObj[i][j].type == "button") formsObj[i][j].disabled = true;
		}
	}
}
function buttonNoDisabled(){
	formsObj = document.forms;
	for(i=0; i<formsObj.length; i++){
		for(j=0; j<formsObj[i].length; j++){
			if(formsObj[i][j].type == "button") formsObj[i][j].disabled = false;
		}
	}
}
function deleteCheck(fm){
	if(confirm("削除してもよろしいですか？")){
		buttonDisabled(fm);
		fm.mode.value = 'delete';
		fm.submit();
	}
}
function imageUpload(fm){
	buttonDisabled(fm);
	fm.mode.value = 'img_upload';
	fm.submit();
}
function imageDelete(fm){
	if(confirm("写真を削除してもよろしいですか？")){
		buttonDisabled(fm);
		fm.mode.value = 'img_delete';
		fm.submit();
	}
}
function imageDeleteArray(fm,num){
	if(confirm("削除してもよろしいですか？")){
		fm.num.value = num;
		fm.mode.value = "img_delete";
		fm.submit();
	}
}
function trClick(url){
	location.href = url;
}
function trMouseOver(id,color){
	if(color == "") color = "#ffffaa";
	id.style.backgroundColor = color;
}
function trMouseOut(id,color){
	if(color == "") color = "#ffffff";
	id.style.backgroundColor = color;
}
-->
