/**
 confirm.js
 Copyright (C) 2003 Momose, Hiroshi(momose@i-apps.net)
 This software is distributed under GPL(Generic Public Lisence).
 */

function confirmDeleteImage(strPageName, strFilename) {
	if(confirm('本当に削除しますか？')) {
		document.del_image.page.value = strPageName;
		document.del_image.filename.value = strFilename;
		document.del_image.submit();
	}
}

function confirmDeleteComment(strPageName, strIDString, strCommentID) {
	if(confirm('本当に削除しますか？')) {
		document.del_comment.page.value = strPageName;
		document.del_comment.plugin_id.value = strIDString;
		document.del_comment.plugin_comment_id.value = strCommentID;
		document.del_comment.submit();
	}
}

function confirmDeleteBBS(strPageName, strEntryID) {
	if(confirm('本当に削除しますか？')) {
		document.del_bbs.page.value = strPageName;
		document.del_bbs.plugin_id.value = strEntryID;
		document.del_bbs.submit();
	}
}
