function slidecomment(divid,childcom){
	
	var imgURL   = document.getElementById("imgURL").value;
	if(document.getElementById('img'+divid).src==imgURL+'/minus.gif')
	{
		$("."+divid).slideUp(1)
		var childcomArray=childcom.split(",");
		for(var i=0; i < childcomArray.length; i++)
		{
			$("."+childcomArray[i]).slideUp(1)
			if(document.getElementById("img"+childcomArray[i])!=null)
			{
				document.getElementById("img"+childcomArray[i]).src=imgURL+'/plus.gif';	
			}
		}
		document.getElementById('img'+divid).src=imgURL+'/plus.gif';		
	}else{
		$("."+divid).slideDown(1)
		document.getElementById('img'+divid).src=imgURL+'/minus.gif';		
	}
}

function readComment(form)
{ 
	if(confirm(comment_errors.vars.read_comment))
	{
		form.action=webURL+'/comments/readcomment/'; 
		form.submit();
	}
}


