star = new Image(22,25)
star.src = "/images/rating_blue.gif"
stargrey = new Image(22,25)
stargrey.src = "/images/rating_grey.gif"

function changeImg(cImg,ref) {
	document.images[cImg].src = ref.src
}

function menuHighlight (pImgId, pHighLight) {
	if (pHighLight)
		document.getElementById(pImgId).src = gImgArrOn[pImgId].src;
	else
		document.getElementById(pImgId).src = gImgArr[pImgId].src;
}

function expandComment(containerId) {
	$('#' + containerId).slideDown();
}

function buryComment(id) {
	collapseComment(id + 'CommentContainer');
	$('#' + id + 'CommentControl').show();
}

function collapseComment(containerId) {
	$('#' + containerId).slideUp();
}

function toggleComment(containerId) {
	$('#' + containerId).slideToggle('fast');
}