<% Response.Buffer = true DIM WhatDevice, MyDevice, MobileURL, MobilePath ' Website path to your mobile website is hosted MobilePath = "http://m.investigateohio.com" ' Domain published for mobile users, bypasses redirect on detection MobileURL = "m.investigateohio.com" ' Website for non mobile users WebsiteURL = "www.investigateohio.com" MyDevices = Split("iphone, palm, palmos, palmsource, blackberry, nokia, phone, midp, mobi, pda, wap, java, nokia, hand, symbian, chtml, wml, ericsson, lg, audiovox, motorola, samsung, sanyo, sharp, telit, tsm, mobile, mini, windows ce, smartphone, 240x320, 320x320, mobileexplorer, j2me, sgh, portable, sprint, vodafone, docomo, kddi, softbank, pdxgw, j-phone, astel, minimo, plucker, netfront, xiino, mot-v, mot-e, portalmmm, sagem, sie-s, sie-m, android, ipod", ", ") ' Find out about the URL, including any query string stuff you want to pass on DirPages = Request.ServerVariables("SCRIPT_NAME") DirPagesQueryString = Request.ServerVariables("QUERY_STRING") myDomain = Request.ServerVariables("SERVER_NAME") ' Redirect all domains to WebsiteURL including subdomains. ' This is for SEO and prevents duplicate indexing ' IF myDomain <> WebsiteURL THEN ' DirPath = DirPages & "?" & DirPagesQueryString ' IF LCase(DirPath) = "/default.asp?" THEN DirPath = "" 'Redirectto = "http://" & WebsiteURL & DirPath ' END IF ' Redirection for mobile site begins IF DirPagesQueryString = "" THEN WhatDevice = Request.ServerVariables("HTTP_USER_AGENT") for i=0 to UBOUND(MyDevices) IF InStr(LCase(WhatDevice),LCase(MyDevices(i))) <> 0 THEN Redirectto = MobilePath END IF next ' Don't redirect iPads to the mobile site as they are full resolution IF InStr(LCase(WhatDevice),"ipad") > 0 THEN Redirectto = "" END IF ' Perform the redirect, I'd advise to print Redirectto first to confirm you haven't created a looping redirect IF Redirectto <> "" THEN ' Response.Status="301 Moved Permanently" ' Response.AddHeader "Location", Redirectto Response.Redirect(Redirectto) END IF %> Case Intake Form

Home

Case Intake Submittal Form (for Existing Clients Only)

Important, Please Read:

1. Client Information:
First Name
Last Name
Email Address