function validate ( form )
{

 
   if (form.Type.value == "Select") {
     alert( "Please select the type of savings account." );
       form.Type.focus();
        return false ;
  
  }

       
   else  if (form.Amount.value == "") {
     alert( "Please specify the initial amount you will deposit into the account." );
       form.Amount.focus();
        return false ;
    }

       
       else if (form.InterestPaid.value == "Select") {
     alert( "Please specify when you'd like the interest paid." );
       form.InterestPaid.focus();
        return false ;
    }
   
   
    else if (form.OnlineAccess.value == "Select") {
     alert( "Please specify if you'd like to access the account online." );
       form.OnlineAccess.focus();
        return false ;
    }


   

    
    // ** END **
	return true ;
}




       
function validated(string) {
    for (var i=0, output='', valid="1234567890"; i<string.length; i++)
       if (valid.indexOf(string.charAt(i)) != -1)
          output += string.charAt(i)
    return output;
} 

function fnCopy(){
document.search.MaximumAmount.value = '>='+document.search.Amount.value;
document.search.MinimumAmount.value = '<='+document.search.Amount.value;
}

