function tp_RatingClick(i,itemRating,itemID, iMaxRating, sSelectedImage, sUnselectedImage, iItemType, iItemRatingType, iTotalRatings,itemOwnerID)
		{			
			
			//var url = "http://<$TPPartnerDomain$>/community/app/nf/callback/insertrating.aspx";
			var url = "/community/app/nf/callback/insertrating.aspx";
			var args = "r="+i+"&i="+itemID+"&ot="+iItemType+"&irt="+iItemRatingType+"&o="+itemOwnerID;
			//document.write (args);
			iTotalRatings = parseFloat(iTotalRatings) + 1;
	
			var myAjax = new Ajax.Request(url,{method: 'post', postBody: args, onComplete: 'tp_RatingEvalResponse'});
				
			$tp_GetID('tp_rating_text_'+itemID).innerHTML = 'Thank you!';
			$tp_GetID('tp_total_ratings_'+itemID).innerHTML = iTotalRatings + ' total ratings';
			
			for (var x = 1; x <= iMaxRating ; x++)
			{
				var imgId = x + "_Rating_"+itemID;		
				var y = $tp_GetID(imgId);
				y.onclick = null;
				y.onmouseover = null;

			}			
		}
function tp_RatingEvalResponse()
{
	
}
function tp_RatingMouseOver(i,iMaxRating, sSelectedImage, sUnselectedImage, sItemID)
{			
	for (var x = 1; x <= iMaxRating ; x++)
	{
		var imgId = x+"_Rating_"+sItemID;		
		if (x<=i)
		{
			$tp_GetID(imgId).src = sSelectedImage;
		}
		else
		{
			$tp_GetID(imgId).src = sUnselectedImage;
		}
	}
}
function tp_LoginRedirect(sURL)
{
	window.location = sURL;
}
