function ComplaintHandler( id ) {
	this.id = 0;
	if( typeof( id ) == 'number' ) this.id = id;
}

ComplaintHandler.prototype.displayBox = function( id ) {
	var realId = 0;

	if( typeof( id ) == 'number' ) realId = id;
	else realId = this.id;
	document.getElementById( "complainttitle" + realId ).className = document.getElementById( "complaint" + realId ).style.display == "block" ? "answer_more" : "answer_less",document.getElementById( "complaint" + realId ).style.display = document.getElementById( "complaint" + realId ).style.display == "block" ? "none" : "block";
	return true;
}

