	function addListeners() {
		if (player) {
			player.addModelListener("STATE", "stateListener");
			player.addModelListener("TIME", "positionListener");
		}
		else setTimeout("addListeners()",100);
	}
	
	function positionListener(obj) {
		doUpdate(obj.position);
	}

	function doUpdate(pos) {
		if (hasStarted == false && pos > 0) {
			hasStarted = true;
			navHighlight = true;
			$("#flashvideo").css("background", "#ffffff");
		}
		if (navHighlight == true) {
			if (pos > 17) {
				navHighlight = false
				$("#nav UL LI A:eq(0)")
					.animate({ backgroundColor: "#fff" }, 600 )
					.animate({ backgroundColor: "#133E8D" }, 600, function(){
					$("#nav UL LI A:eq(1)")
						.stop()
						.animate({ backgroundColor: "#fff" }, 600 )
						.animate({ backgroundColor: "#CF152D" }, 600, function(){
							$("#nav UL LI A:eq(2)")
							.stop()
							.animate({ backgroundColor: "#fff" }, 600 )
							.animate({ backgroundColor: "#7345AB" }, 600);
					});
				});
				$("#nav UL LI A:eq(0)").hover(function() { $(this).css("backgroundColor", "#1A54BF"); }, 
					function() { $(this).css("backgroundColor", "#133E8D"); });
				$("#nav UL LI A:eq(1)").hover(function() { $(this).css("backgroundColor", "#ED475C"); }, 
					function() { $(this).css("backgroundColor", "#CF152D"); });
				$("#nav UL LI A:eq(2)").hover(function() { $(this).css("backgroundColor", "#BEA6DB"); }, 
					function() { $(this).css("backgroundColor", "#7345AB"); });
			}
		}
		if (otherHighlight) {
			if (pos > 26) { 
				otherHighlight = false;
				$("#infoinsp").fadeOut(600).fadeIn(600);
			}
		}	
	}
