		<!--
		// -----------------------------------------------------------------------------
		// Globals
		// Major version of Flash required
		var requiredMajorVersion = 7;
		// Minor version of Flash required
		var requiredMinorVersion = 0;
		// Revision of Flash required
		var requiredRevision = 0;
		// the version of javascript supported
		var jsVersion = 1.0;
		// -----------------------------------------------------------------------------
		// -->

		function validateInfo() {

			if (isEmail(document.newsletterForm.email.value) == false) {
				document.newsletterForm.email.focus();
				alert("Please enter a valid email address");
    			return false; 	
			}
			
			return true;
		}
		
		function openWakeUpYes() {
			
			loginRedirect = "wake-up.jsp";
			 
		    u = "wake-up.jsp?keepThis=true&TB_iframe=true&height=410&width=360";
		   
			var t = null;
			var g = null;
			// show the ThickBox
			TB_show(t, u, g);	
		}
		
		function openWakeUpNo() {
			
			loginRedirect = "wake-up.jsp";
			
		    u = "wake-up.jsp?keepThis=true&TB_iframe=true&height=410&width=360";
		    
			var t = null;
			var g = null;
			// show the ThickBox
			TB_show(t, u, g);	
		}
		
		function openEncouragement() {
			
			loginRedirect = "send-friend-encouragement.jsp";
			
		    u = "send-friend-encouragement.jsp?keepThis=true&TB_iframe=true&height=410&width=360";
		    
			var t = null;
			var g = null;
			// show the ThickBox
			TB_show(t, u, g);	
			
			
		}
		
		function openMotivate() {
			
			loginRedirect = "send-motivate.jsp";
			
		    u = "send-motivate.jsp?keepThis=true&TB_iframe=true&height=410&width=360";
		    
			var t = null;
			var g = null;
			// show the ThickBox
			TB_show(t, u, g);	
			
		}
		
		function openEcardBubble() {
			
			loginRedirect = "send-friend-bubble-ecard.jsp";
			
		    u = "send-friend-bubble-ecard.jsp?keepThis=true&TB_iframe=true&height=410&width=360";
		    
			var t = null;
			var g = null;
			// show the ThickBox
			TB_show(t, u, g);	
			
			
		}

		function openTestimonials(id)
		{
			loginRedirect = "testimonials.jsp";
			u = loginRedirect+"?";
			if(!isNaN(id)) u += "goToVideo="+id+"&";
			u += "keepThis=true&TB_iframe=true&height=450&width=725";			
			var t = null;
			var g = null;
			TB_show(t, u, g);
		}
		
		/*
		function openDisclaimer() {
	
			document.getElementById('flashcontent').style.display = 'none';
			document.getElementById('wrapall').style.display = 'block';
		}
		
		function closeDisclaimer() {
		
			document.getElementById('wrapall').style.display = 'none';
			document.getElementById('flashcontent').style.display = 'block';
		}
		
		function openD(id)
		{
		
			loginRedirect = "buffer.jsp";
			u = loginRedirect+"?TB_flash=true&height=140&width=395";
			var t = null;
			var g = null;
			TB_show(t, u, g);
		
		}
		
		function openBuy()
		{
			zar = 1;
			/*TB_remove();
			TB_show(null, "buffer.jsp?TB_flash=true&height=140&width=395", null);
			document.getElementById('content').innerHTML = 'Oi =D';
		}*/
