%@ Language=JavaScript %> <% var ysnEmailSent = false; var Action = isNaN(Request("Action"))? 0: Number(Request("Action")).valueOf(); if (Action > 0) { // if action is zero, page is entered for the first time var strSubject = Request("Subject"); var strName = Request("Name"); var strEmail = Request("Email"); var strOrganization = Request("Organization"); var strAddress = Request("Address"); var strCity = Request("City"); var strState = Request("State"); var strZip = Request("Zip"); var strPhone = Request("Phone"); var strFax = Request("Fax"); var strCategory = Request("Category"); var strComments = Request("Comments"); var strRecepient = "tom@nowakradiant.com" var strFrom = "tom@nowakradiant.com"; sLineBreak = unescape("%0D%0A"); strWebMaster = strEmail.value; sm = Server.CreateObject("CDONTS.NewMail"); var strEmailBody = new String(); strEmailBody = sLineBreak; strEmailBody += "Name: " + strName +sLineBreak; strEmailBody += "Address: " + sLineBreak; strEmailBody += strAddress + sLineBreak; strEmailBody += strCity + ", " + strState + " " + strZip + sLineBreak; strEmailBody += "Phone: " + strPhone + sLineBreak; strEmailBody += "Fax: " + strFax + sLineBreak + sLineBreak; strEmailBody += "Email: " + strEmail + sLineBreak + sLineBreak; strEmailBody += "Interested in: " + strCategory + sLineBreak; strEmailBody += sLineBreak + "Comments:" + sLineBreak; strEmailBody += strComments + sLineBreak; sm.Send (strFrom, strRecepient, strSubject, strEmailBody); ysnEmailSent = true sm = null; } %>
![]() |
|||||
|
<% } else { // email was sent %>
Thank You For Contacting Nowak Radiant
We will be contacting you soon. Thanks Again! <% } %> |
|||||
![]() |
|||||
|
|
|||||