
function changeHolidayPlayerFrame(src) {

	changeRedTriangles(src);

	xmlHttp=getXmlHttpObject();

	xmlHttp.onreadystatechange = function() {

		if (xmlHttp.readyState == 4) {

			if (isProduction == 1) {
				pageTracker._trackPageview('/holiday/' + src);
			}

			document.getElementById('holidayPlayerFrame').innerHTML = xmlHttp.responseText;

		} else {

			document.getElementById('holidayPlayerFrame').innerHTML = '<div style="font-size: 14px;">' + loadingGraphic + '</div>';

		}
	}

	var url = siteURL + '/holiday/flash/' + src;

	xmlHttp.open("POST",url,true);
	xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	xmlHttp.send('');

}

function changeRedTriangles(src) {

	if (src == strSampleFC)	{
		document.getElementById('holidaySampleArrow').style.display = "block";
		document.getElementById('holidayWhatArrow').style.display = "none";

		document.getElementById(strSampleFC + 'Link').style.textDecoration = "none";
		document.getElementById(strWhatFC + 'Link').style.textDecoration = "underline";
	} else {
		document.getElementById('holidaySampleArrow').style.display = "none";
		document.getElementById('holidayWhatArrow').style.display = "block";

		document.getElementById(strSampleFC + 'Link').style.textDecoration = "underline";
		document.getElementById(strWhatFC + 'Link').style.textDecoration = "none";
	}

}

