// The code that is specific for the Introduction Form



 // General Validation Functions

 // Checks to see if the item contains any values
 function ContainsAnyText(textvalue)
  {
    // Check to see if there are values apart from spaces
    textvalue=textvalue.split(" ").join("");
    if (textvalue.length>0 )
    {
         return true;
    }
    
    // Otherwise return false
    return false;
  } 
  
	// Function to Submit the form
	function SubmitPasswordForm(obj,PasswordEntered,NoPasswordEntered,SessionTokens)
	{

		if(ContainsAnyText(obj.strPassword.value))
		{

			// Setup the URL
			url = "Index.cfm?fuseaction="+PasswordEntered+"&"+SessionTokens;
			
			// There is a password so Submit it to the XFA.PasswordEntered
			SubmitForm(obj,url,"");
		}
		else
		   {
			   // Setup the URL
			   url = "Index.cfm?fuseaction="+NoPasswordEntered+"&"+SessionTokens;

			  // No Password has been entered so go to the XFA.NoPasswordEntered
			  document.location = url;
			}

	}


