function replyto(reply_, retitle)
{
//	alert(typeof(reply_));
	var reply_to = getObj('reply_to');
	var backlink = $('backlink');
	if(reply_.substring(0,1) == "C")
	{
		backlink.style.display = "inline";
	}
	else
	{
		backlink.style.display = "none";
	}
	var ctitle = getObj('ctitle');
	reply_to.value = reply_;
	ctitle.value = "Re: "+retitle;
}


function threaddetail(cid, flag)
{
	var divname = $("cdetail-" + cid);
	var theader = $("tdetail-" + cid);
	var hheader = $("hdetail-" + cid);
	if(flag){
		divname.style.display = "block";
		theader.style.display = "none";
		hheader.style.display = "inline";
	}
	else{
		divname.style.display = "none";
		theader.style.display = "inline";
		hheader.style.display = "none";
	}
}

