<!--
var NL = "\r\n";

function commentpost(form)
{
	var postid = form.id.value;
	if( form.comment.value == "" ){
		alert("コメントを入力してください");
		return( false );
	}
	form.submit.disabled = true;
	document.getElementById("commentnum" + postid).innerHTML = parseInt(document.getElementById("commentnum" + postid).innerHTML) + 1;
	return( true );
}

function commentview(id)
{
	var remoteURL = "";
	var comment = "";
	remoteURL = "http://cocomitemi.jp/?action_comment_view=1&id=" + id;
	comment = document.getElementById("comment"+id).innerHTML;
	if ( comment == "" )
	{
		self.frames.commentviewfrm.location.href = remoteURL;
	}
	else
		document.getElementById("comment"+id).innerHTML = "";
}

function bookmark(id)
{
	var remoteURL = "";
	var comment = "";
	remoteURL = "http://cocomitemi.jp/?action_bookmark_add=1&id=" + id;
//	self.frames.bookmark.location.href = remoteURL;
	document.getElementById("bookmarkfrm").src= remoteURL;

}

function report(id)
{
	var remoteURL = "";
	var comment = "";
	remoteURL = "http://cocomitemi.jp/?action_spot_report=1&id=" + id;
//	self.frames.bookmark.location.href = remoteURL;
	document.getElementById("bookmarkfrm").src= remoteURL;

}

function sendpoint(id)
{
	var remoteURL = "";
	var comment = "";
	remoteURL = "http://cocomitemi.jp/?action_entry_sendpoint=1&id=" + id;
//	self.frames.bookmark.location.href = remoteURL;
	document.getElementById("bookmarkfrm").src= remoteURL;

}
// -->
