<%@ LANGUAGE="VBSCRIPT" %> <% Option Explicit Response.Buffer = true Response.Expires=0 Dim appPath Dim strUserAgent Dim strBrowser Dim strEmailBody Dim strName Dim strCompany Dim strAddress1 Dim strAddress2 Dim strCity Dim strState Dim strZip Dim strPhone Dim strEmail Dim boolSolutions Dim boolServices Dim boolProcucts Dim strSolutions Dim strServices Dim strProcucts Dim strAdditionalInfo call Main Sub Main() '*********************************************** GetFormVars CreateServerObjects BrowserSniffer OutPage Cleanup End Sub '*********************************************** Sub GetFormVars() '*********************************************** ' gather form variables strName = Request.Form("txtName") strCompany = Request.Form("txtCompany") strAddress1 = Request.Form("txtAddress1") strAddress2 = Request.Form("txtAddress2") strCity = Request.Form("txtCity") strState = Request.Form("txtState") strZip = Request.Form("txtZip") strPhone = Request.Form("txtPhone") strEmail = Request.Form("txtEmail") End Sub '*********************************************** Sub CreateServerObjects() '*********************************************** ' nothing to do End Sub '*********************************************** Sub BrowserSniffer() '*********************************************** strUserAgent = Request.ServerVariables("HTTP_User_Agent") if inStr(1, strUserAgent, "MSIE") <> 0 then strBrowser = "MSIE" else strBrowser = "Netscape" end if End Sub '*********************************************** Sub OutPage() '*********************************************** if strName <> "" then EmailBody SendMail Response.Redirect("confirm.htm") end if %> Contact Arbee Associates for Contract Office Furniture and Facilities Services
Home SolutionsServicesProductsLibraryCompany ContactSitemap
 

Please fill out the following form to contact an associate at Arbee.

* Denotes fields that are required

Name *
  I would like more information about:

Arbee Solutions (please specify)


Arbee Services (please specify)


Arbee Products (please specify)


Additional Information/Requests:

Company *
Address
Street 1 *
Street 2
City *
State *

Zip *
Phone Number
Email *

         


Arbee Locations



| HOME | SOLUTIONS | SERVICES | PRODUCTS | LIBRARY | COMPANY | CONTACT | SITEMAP |


2002 © Copyright Arbee Associates

<% End Sub '*********************************************** Sub EmailBody strEmailBody = "The person listed below has requested more information about Arbee Products and Services." & VbCrLf & VbCrLf strEmailBody = strEmailBody & "Name: " & strName & VbCrLf strEmailBody = strEmailBody & "Company: " & strCompany & VbCrLf strEmailBody = strEmailBody & "Address1: " & strAddress1 & VbCrLf strEmailBody = strEmailBody & "Address2: " & strAddress2 & VbCrLf strEmailBody = strEmailBody & "City: " & strCity & VbCrLf strEmailBody = strEmailBody & "State: " & strState & VbCrLf strEmailBody = strEmailBody & "Zip: " & strZip & VbCrLf strEmailBody = strEmailBody & "Phone: " & strPhone & VbCrLf strEmailBody = strEmailBody & "Email: " & strEmail & VbCrLf dim i For i = 1 To Request.Form("cbInfo").Count strEmailBody = strEmailBody & VbCrLf & Request.Form("cbInfo")(i) & ": Yes" & VbCrLf strEmailBody = strEmailBody & "Comments:" & VbCrLf strEmailBody = strEmailBody & Request.Form("taInfo")(i) & VbCrLf Next strEmailBody = strEmailBody & VbCrLf & "Additional Comments:" & VbCrLf strEmailBody = strEmailBody & Request.Form("taAdditionalInfo") end Sub Sub SendMail() Dim objMail Set objMail = CreateObject("CDONTS.NewMail") objMail.From = "webmaster@arbee.net" objMail.To ="fsolter@arbee.net" objMail.CC = "psterner@arbee.net; jbenzon@arbee.net" objMail.Subject = "Arbee Web Site Contact Request" objMail.BodyFormat = 1 objMail.MailFormat = 0 objMail.Body = strEmailBody objMail.Send set objMail = nothing End Sub '*********************************************************** Sub Cleanup() '*********************************************** ' clean up End Sub '*********************************************** %>