function technologiesFeatures() {
	// START THE FIRST VIDEO
	$f("player", {src: "/video-player/player.swf?id=T01&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
	$(".hydraclear").show();
	
	// GENERAL FUNCTIONS
	applyOverlay = function() {
		$("#overlay").removeClass("getLower");
		$("#overlay").addClass("getHigher");
		$(".close").show();
	}
	removeOverlay = function() {
		$("#chart01").hide();
		$("#chart02").hide();
		$("#chart03").hide();
		$("#chart04").hide();
		$("#chart05").hide();
		$("#chart06").hide();
		$("#chart07").hide();
		$("#chart08").hide();
		$("#chart09").hide();
		$("#chart10").hide();
		$("#chart11").hide();
		$("#chart12").hide();
		$("#chart13").hide();
	}
	
	// REMOVE THE THUMBNAILS
	removeActiveFeatures = function() {
		$(".technologies-01").removeClass("technologies-01-over");
		$(".technologies-02").removeClass("technologies-02-over");
		$(".technologies-03").removeClass("technologies-03-over");
		$(".technologies-04").removeClass("technologies-04-over");
		$(".technologies-05").removeClass("technologies-05-over");
		$(".technologies-06").removeClass("technologies-06-over");
		$(".technologies-07").removeClass("technologies-07-over");
		
		// HIDE THE EXTRA CONTENT
		$(".hydraclear").hide();
		$(".lacreon").hide();
		$(".asd").hide();
		$(".spt").hide();
		$(".hsh").hide();
		$(".uv").hide();
		$(".handling").hide();
		
		$(".extra-features-hydraclear").hide();
		$(".extra-features-lacreon").hide();
		$(".extra-features-asd").hide();
		$(".extra-features-spt").hide();
		$(".extra-features-hsh").hide();
		$(".extra-features-uv").hide();
		
		$(".hide-hydraclear").hide();
		$(".hide-lacreon").hide();
		$(".hide-asd").hide();
		$(".hide-spt").hide();
		$(".hide-hsh").hide();
		$(".hide-uv").hide();
		
		$(".more-hydraclear").show();
		$(".more-lacreon").show();
		$(".more-asd").show();
		$(".more-spt").show();
		$(".more-hsh").show();
		$(".more-uv").show();
	}
	
	//PLAYLIST FUNCTIONS
	technologies_01 = function() {
		trackIt("/technologies-home.htm","technologies-video-click-hydraclear-technology");
		removeActiveFeatures();
		$(".technologies-01").addClass("technologies-01-over");
		$(".hydraclear").show();
	}
	technologies_02 = function() {
		trackIt("/technologies-home.htm","technologies-video-click-lacreon-technology");
		removeActiveFeatures();
		$(".technologies-02").addClass("technologies-02-over");
		$(".lacreon").show();
	}
	
	technologies_03 = function() {
		trackIt("/technologies-home.htm","technologies-video-click-accelerated-stabilization-design");
		removeActiveFeatures();
		$(".technologies-03").addClass("technologies-03-over");
		$(".asd").show();
	}
	
	technologies_04 = function() {
		trackIt("/technologies-home.htm","technologies-video-click-stereo-precision-technology");
		removeActiveFeatures();
		$(".technologies-04").addClass("technologies-04-over");
		$(".spt").show();
	}
	
	technologies_05 = function() {
		trackIt("/technologies-home.htm","technologies-video-click-hydrogels-and-silicone-hydrogels");
		removeActiveFeatures();
		$(".technologies-05").addClass("technologies-05-over");
		$(".hsh").show();
	}
	
	technologies_06 = function() {
		trackIt("/technologies-home.htm","technologies-video-click-uv-protection");
		removeActiveFeatures();
		$(".technologies-06").addClass("technologies-06-over");
		$(".uv").show();
	}
	
	technologies_07 = function() {
		trackIt("/technologies-home.htm","technologies-video-click-handling-contacts");
		removeActiveFeatures();
		$(".technologies-07").addClass("technologies-07-over");
		$(".handling").show();
	}
	
	
	// EPISODE 1
	$(".technologies-01").click(function() {
		$f("player", {src: "/video-player/player.swf?id=T01&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_01();
		return false
	})

	// EPISODE 2
	$(".technologies-02").click(function() {
		$f("player", {src: "/video-player/player.swf?id=T02&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_02();
		return false
	})
	
	// EPISODE 3
	$(".technologies-03").click(function() {
		$f("player", {src: "/video-player/player.swf?id=T03&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_03();
		return false
	})

	// EPISODE 4
	$(".technologies-04").click(function() { 
		$f("player", {src: "/video-player/player.swf?id=T04&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_04();
		return false
	})

	// EPISODE 5
	$(".technologies-05").click(function() {
		$f("player", {src: "/video-player/player.swf?id=T05&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_05();
		return false
	})

	 //EPISODE 6
	$(".technologies-06").click(function() { 
		$f("player", {src: "/video-player/player.swf?id=T06&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_06();
		return false
	})
	
	//EPISODE 7
	$(".technologies-07").click(function() {
		$f("player", {src: "/video-player/player.swf?id=T07&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_07();
		return false
	})	

	// HYDRACLEAR FUNCTIONS
	$(".more-hydraclear").click(function() { 
		$(".more-hydraclear").hide(0);
		$(".hide-hydraclear").show();
		$(".extra-features-hydraclear").show();
		return false
	})
	$(".hide-hydraclear").click(function() { 
		$(".more-hydraclear").show();
		$(".hide-hydraclear").hide(0);
		$(".extra-features-hydraclear").hide();
		return false
	})
	
	// LACREON FUNCTIONS
	$(".more-lacreon").click(function() { 
		$(".more-lacreon").hide(0);
		$(".hide-lacreon").show();
		$(".extra-features-lacreon").show();
		return false
	})
	$(".hide-lacreon").click(function() { 
		$(".more-lacreon").show();
		$(".hide-lacreon").hide(0);
		$(".extra-features-lacreon").hide();
		return false
	})
	
	// ASD FUNCTIONS
	$(".more-asd").click(function() { 
		$(".more-asd").hide(0);
		$(".hide-asd").show();
		$(".extra-features-asd").show();
		return false
	})
	$(".hide-asd").click(function() { 
		$(".more-asd").show();
		$(".hide-asd").hide(0);
		$(".extra-features-asd").hide();
		return false
	})
	
	// SPT FUNCTIONS
	$(".more-spt").click(function() { 
		$(".more-spt").hide(0);
		$(".hide-spt").show();
		$(".extra-features-spt").show();
		return false
	})
	$(".hide-spt").click(function() { 
		$(".more-spt").show();
		$(".hide-spt").hide(0);
		$(".extra-features-spt").hide();
		return false
	})
	
	// HSH FUNCTIONS
	$(".more-hsh").click(function() { 
		$(".more-hsh").hide(0);
		$(".hide-hsh").show();
		$(".extra-features-hsh").show();
		return false
	})
	$(".hide-hsh").click(function() { 
		$(".more-hsh").show();
		$(".hide-hsh").hide(0);
		$(".extra-features-hsh").hide();
		return false
	})
	
	// UV FUNCTIONS
	$(".more-uv").click(function() { 
		$(".more-uv").hide(0);
		$(".hide-uv").show();
		$(".extra-features-uv").show();
		return false
	})
	$(".hide-uv").click(function() { 
		$(".more-uv").show();
		$(".hide-uv").hide(0);
		$(".extra-features-uv").hide();
		return false
	})
	
	//CLOSE FUNCTION
	$(".close").click(function() { 
   		removeOverlay();
		$("#overlay").removeClass("getHigher");
		$("#overlay").addClass("getLower");
		$(this).hide();
		return false
	})
	
	//OVERLAY FOR CHARTS
	$(".chart01").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart01").show();
		return false
	})
	
	$(".chart02").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart02").show();
		return false
	})

	$(".chart03").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart03").show();
		return false
	})
	
	$(".chart04").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart04").show();
		return false
	})
	
	$(".chart05").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart05").show();
		return false
	})
	
	$(".chart06").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart06").show();
		return false
	})
	
	$(".chart07").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart07").show();
		return false
	})
	
	$(".chart08").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart08").show();
		return false
	})

	$(".chart09").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart09").show();
		return false
	})

	$(".chart10").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart10").show();
		return false
	})

	$(".chart11").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart11").show();
		return false
	})

	$(".chart12").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart12").show();
		return false
	})

	$(".chart13").click(function() { 
		removeOverlay();
		applyOverlay();
		$("#chart13").show();
		return false
	})
}
function setURL() {
	//SET THE URL VARIABLE TO CATH THE ANCHOR ATRIBUTE
	var url = jQuery.url.attr("anchor")
	
	//URL SETTINGS BY RETURN
	if (url == "MOISTURE_AND_COMFORT") {
		$f("player", {src: "/video-player/player.swf?id=T01&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_01();
	}
	if (url == "LACREON") {
		$f("player", {src: "/video-player/player.swf?id=T02&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_02();
	}
	if (url == "ADVANCED_LENS_DESIGN" || url == "ASD") {
		$f("player", {src: "/video-player/player.swf?id=T03&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_03();		
	}	
	if (url == "STEREO") {
		$f("player", {src: "/video-player/player.swf?id=T04&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_04();
	}	
	if (url == "UNIQUE_LENS_MATERIALS" || url =="BREATHABILITY" ) {
		$f("player", {src: "/video-player/player.swf?id=T05&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_05();
	}
	if (url == "UV_PROTECTION") {
		$f("player", {src: "/video-player/player.swf?id=T06&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_06();
	}	
	if (url == "HANDLING") {
		$f("player", {src: "/video-player/player.swf?id=T07&autoplay=false", wmode: 'opaque'}), { clip:{ autoBuffering: true}};
		technologies_07();
	}
}