'); var documentId = $(this).attr('id'); var data = { 'task' : 'document.store_download', 'document_id' : documentId, 'name': $('#edocman-name').val(), 'email' : $('#email').val() }; $.ajax({ type: 'POST', url: 'index.php?option=com_edocman', data: data, dataType: 'html', success: function(htmltext) { $('.modal-body-download').hide(); $('.wait').remove(); $('#downloadsuccess').show('fast'); $('.download-complete-message').html(htmltext); }, error: function(jqXHR, textStatus, errorThrown) { alert(textStatus); } }); } }) function validateForm() { var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,10})?$/; var names = $('#edocman-name').val(); var email = $('#email').val(); var inputVal = new Array(names, email); var inputMessage = new Array("name", "email address"); $('.error').hide(); if(inputVal[0] == ""){ $('#edocman-name').after(' Please enter your ' + inputMessage[0] + ''); return false; } if(inputVal[1] == ""){ $('#email').after(' Please enter your ' + inputMessage[1] + ''); return false; } else if(!emailReg.test(email)){ $('#email').after(' Please enter a valid email address'); return false; } return true; } })

Mail to:
PO Box 205
Vancouver, WA 98666

360-695-1609