
/*if(document.getElementById('nonJsVideoRating'))
	document.getElementById('nonJsVideoRating').style.display="none";
	
if(document.getElementById('jsVideoRating'))
	document.getElementById('jsVideoRating').style.display="block";*/

function SelectStarRating(rating)
{
	switch (rating)
	{
		case 1:
			document.getElementById('imgStar1').src = rootPath + "images/star1.png";
			document.getElementById('imgStar2').src = rootPath + "images/star1grey.png";
			document.getElementById('imgStar3').src = rootPath + "images/star1grey.png";
			document.getElementById('imgStar4').src = rootPath + "images/star1grey.png";
			document.getElementById('imgStar5').src = rootPath + "images/star1grey.png";
			break;
		case 2:
			document.getElementById('imgStar1').src = rootPath + "images/star1.png";
			document.getElementById('imgStar2').src = rootPath + "images/star1.png";
			document.getElementById('imgStar3').src = rootPath + "images/star1grey.png";
			document.getElementById('imgStar4').src = rootPath + "images/star1grey.png";
			document.getElementById('imgStar5').src = rootPath + "images/star1grey.png";
			break;
		case 3:
			document.getElementById('imgStar1').src = rootPath + "images/star1.png";
			document.getElementById('imgStar2').src = rootPath + "images/star1.png";
			document.getElementById('imgStar3').src = rootPath + "images/star1.png";
			document.getElementById('imgStar4').src = rootPath + "images/star1grey.png";
			document.getElementById('imgStar5').src = rootPath + "images/star1grey.png";
			break;
		case 4:
			document.getElementById('imgStar1').src = rootPath + "images/star1.png";
			document.getElementById('imgStar2').src = rootPath + "images/star1.png";
			document.getElementById('imgStar3').src = rootPath + "images/star1.png";
			document.getElementById('imgStar4').src = rootPath + "images/star1.png";
			document.getElementById('imgStar5').src = rootPath + "images/star1grey.png";
			break;
		case 5:
			document.getElementById('imgStar1').src = rootPath + "images/star1.png";
			document.getElementById('imgStar2').src = rootPath + "images/star1.png";
			document.getElementById('imgStar3').src = rootPath + "images/star1.png";
			document.getElementById('imgStar4').src = rootPath + "images/star1.png";
			document.getElementById('imgStar5').src = rootPath + "images/star1.png";
			break;
	}
	
	document.getElementById('hidSelectedVideoRating').value = rating;
}

function PlayTrailer(id)
{
	document.getElementById(id).SetVariable("player:jsPlay", "");
}

function KeyPointsShow()
{
	document.getElementById('divKeyPointsSummary').style.display="none";
	document.getElementById('divKeyPointsFull').style.display="block";
	document.getElementById('divKeyPointsShow').style.display="none";
	document.getElementById('divKeyPointsHide').style.display="block";
}

function KeyPointsHide()
{
	document.getElementById('divKeyPointsSummary').style.display="block";
	document.getElementById('divKeyPointsFull').style.display="none";
	document.getElementById('divKeyPointsShow').style.display="block";
	document.getElementById('divKeyPointsHide').style.display="none";
}



