" name="ContactForm1" id="theForm" style="display:none">

Got questions about the setup of the hardware and/or software?
Our Customer Orientation website may help!
CONTACT THOR GUARD CONTACT US ON-LINE
TELEPHONE 954.835.0900 Please fill out the form below to contact THOR GUARD with your questions regarding our products and services.
  888.571.1212    
FAX 954.835.0808 NAME
ADDRESS 1193 Sawgrass Corporate Pkwy COMPANY
  Sunrise, FL 33323 TITLE
GENERAL EMAIL sales@thorguard.com ADDRESS
HARDWARE SUPPORT EMAIL service@thorguard.com CITY
SOFTWARE SUPPORT EMAIL support@thorguardweather.com STATE
    POSTAL CODE
    COUNTRY
    PHONE
    EMAIL
    TYPE OF BUSINESS
    SEND ME THOR GUARD LITERATURE tabindex="12">
   

HOW DID YOU HEAR ABOUT US

    QUESTIONS/COMMENTS
   
   
document.getElementById("theForm").style.display="block"; '; $response = $_POST["g-recaptcha-response"]; $url = 'https://www.google.com/recaptcha/api/siteverify'; $data = array( 'secret' => '6LcHwEEUAAAAACf_lLcnBAsvWpknZniICy8FTGKL', 'response' => $_POST["g-recaptcha-response"] ); $options = array( 'http' => array ( 'method' => 'POST', 'content' => http_build_query($data) ) ); $context = stream_context_create($options); $verify = file_get_contents($url, false, $context); $captcha_success=json_decode($verify); if ($_SERVER["REQUEST_METHOD"] == "POST") { if ($captcha_success->success==false) { // What happens when the CAPTCHA was entered incorrectly echo ''; die (); } else if ($captcha_success->success==true) { // echo "The reCAPTCHA was entered correctly."; if ($_REQUEST['phoneNumber'] != "123456" && $_REQUEST['phoneNumber'] != "0120120120") { if ($_REQUEST['custName'] == "" || $_REQUEST['emailAddress'] == "") { echo ''; die (); } else { echo ''; date_default_timezone_set('US/Eastern'); $mydate = date("m/d/Y -- h:i:s A T"); if ($_REQUEST['CompanyName'] != "") { $ComName = ", " . $_REQUEST['companyName']; } else { $ComName = ""; } if ($_REQUEST['companyLiterature'] == "on") { $comLit = "Yes"; } else { $comLit = "No"; } /*if ($_REQUEST['ContactMe'] == "on") { $contact = "Yes"; } else { $contact = "No"; }*/ $_REQUEST['State'] = strtoupper($_REQUEST['State']); if ($_REQUEST['State'] == "AZ" || $_REQUEST['State'] == "CO" || $_REQUEST['State'] == "NM" || $_REQUEST['State'] == "UT" || $_REQUEST['State'] == "WY") { $suggestedRepInfo = "\n\nSuggested Rep - Dusty Fisher - dfisher@thorguard.com; dustyff@gmail.com"; } else if ($_REQUEST['State'] == "CT" || $_REQUEST['State'] == "MA" || $_REQUEST['State'] == "ME" || $_REQUEST['State'] == "NH" || $_REQUEST['State'] == "VT" || $_REQUEST['State'] == "RI" || $_REQUEST['State'] == "NY") { $suggestedRepInfo = "\n\nSuggested Rep - John Dee - jdee@thorguard.com; D2Enterprises@hotmail.com"; } else if ($_REQUEST['State'] == "DE") { $suggestedRepInfo = "\n\nSuggested Rep - Ian Fawthrop - Ian@Lpsnet.com"; } else if ($_REQUEST['State'] == "NJ") { $suggestedRepInfo = "\n\nSuggested Rep - Northern NJ - John Dee - jdee@thorguard.com; D2Enterprises@hotmail.com" . "\nSuggested Rep - Southern NJ - Ian Fawthrop - Ian@Lpsnet.com"; } else if ($_REQUEST['State'] == "FL") { $suggestedRepInfo = "\n\nSuggested Rep - Southeast FL - Pat Bennett - pat.bennettpga@gmail.com" . "\nSuggested Rep - Southwest FL - Robb Pentico - rpentico@thorguard.com; rpentico@comcast.net" . "\nSuggested Rep - East FL Coast - Corey LaTulippe - clatulippe@thorguard.com; latulippe29@hotmail.com" . "\nSuggested Rep - West FL Coast - Hunter Ross - hross@thorguard.com; hunterross@verizon.net" . "\nSuggested Rep - Northeast FL - Roger Lindsay - rlindsay@thorguard.com; roger.lindsay@comcast.net" . "\nSuggested Rep - Northwest FL - Barton Platt - bplatte@thorguard.com; bplatte@relyon.tech"; } else if ($_REQUEST['State'] == "GA" || $_REQUEST['State'] == "SC") { $suggestedRepInfo = "\n\nSuggested Rep - Jeff Henderson - jhenderson@thorguard.com; jeffhenderson5@me.com"; } else if ($_REQUEST['State'] == "NC") { $suggestedRepInfo = "\n\nSuggested Rep - Josh Nagelberg - jnagelberg@thorguard.com; josh@carolinalightningprediction.com"; } else if ($_REQUEST['State'] == "IL") { $suggestedRepInfo = "\n\nSuggested Rep - Chicago - Roger Peterson - rpeterson@thorguard.com; lightningprediction@gmail.com" . "\nSuggested Rep - Central/Southern IL - Bryan Kilgore - bkilgore@thorguard.com; bryan@bamwx.com"; } else if ($_REQUEST['State'] == "IN") { $suggestedRepInfo = "\n\nSuggested Rep - Bryan Kilgore - bkilgore@thorguard.com; bryan@bamwx.com"; } else if ($_REQUEST['State'] == "KY" || $_REQUEST['State'] == "TN") { $suggestedRepInfo = "\n\nSuggested Rep - Tim Beard - tbeard@thorguard.com; Tim.Beard@comcast.net"; } else if ($_REQUEST['State'] == "LA" || $_REQUEST['State'] == "MS" || $_REQUEST['State'] == "AL") { $suggestedRepInfo = "\n\nSuggested Rep - Barton Platt - bplatte@thorguard.com; bplatte@relyon.tech"; } else if ($_REQUEST['State'] == "MD" || $_REQUEST['State'] == "VA") { $suggestedRepInfo = "\n\nSuggested Rep - Ben Woods - bwoods@thorguard.com; benstormin@gmail.com"; } else if ($_REQUEST['State'] == "KS" || $_REQUEST['State'] == "OK" || $_REQUEST['State'] == "NE") { $suggestedRepInfo = "\n\nSuggested Rep - Alex Broom - abroom@thorguard.com"; } else if ($_REQUEST['State'] == "MI" || $_REQUEST['State'] == "OH" || $_REQUEST['State'] == "WV") { $suggestedRepInfo = "\n\nSuggested Rep - Brad Reid - breid@thorguard.com; bradreid87@aol.com"; } else if ($_REQUEST['State'] == "MN" || $_REQUEST['State'] == "WI") { $suggestedRepInfo = "\n\nSuggested Rep - Tom Casey - tcasey@thorguard.com; tomcasey@wi.rr.com"; } else if ($_REQUEST['State'] == "MO") { $suggestedRepInfo = "\n\nSuggested Rep - Eastern MO - Bill Blackard - bill@mprsupply.com" . "\nSuggested Rep - Western MO - Alex Broom - abroom@thorguard.com"; } else if ($_REQUEST['State'] == "PA") { $suggestedRepInfo = "\n\nSuggested Rep - Northeast PA - John Dee - jdee@thorguard.com; D2Enterprises@hotmail.com" . "\nSuggested Rep - Central/Southeast PA - Ian Fawthrop - Ian@Lpsnet.com" . "\nSuggested Rep - Western PA - Brad Reid - breid@thorguard.com; bradreid87@aol.com"; } else if ($_REQUEST['State'] == "TX") { $suggestedRepInfo = "\n\nSuggested Rep - John Watson - jc.watson@att.net"; } else if ($_REQUEST['State'] == "ON") { $suggestedRepInfo = "\n\nSuggested Rep - Gene Hayden - norsat55@primus.ca"; } else if ($_REQUEST['State'] == "AB" || $_REQUEST['State'] == "SK" || $_REQUEST['State'] == "MB") { $suggestedRepInfo = "\n\nSuggested Rep - Brynley Evans - brynley.evans@shaw.ca"; } else { $suggestedRepInfo = "\n\nThere may not be a suggested rep for this area"; } $repMap = "\n\nThor Guard Rep & Distributor Map" . "\nwww.thorguard.com/maps"; // EMAIL INFO SENT //for testing $ourEmailAddress = "jswick@thorguardweather.com"; $ourEmailAddress = "sales@thorguard.com"; $theirEmailAddress = $_REQUEST['emailAddress']; $subject = "THORGUARD.COM REQUEST: " . $_REQUEST['custName'] . $ComName; $ourHeader = "From: " . $_REQUEST['emailAddress'] . "\r\n"; //for testing $ourHeader = "From: " . $_REQUEST['emailAddress'] . "\n"; //for testing $ourHeader .= "X-Sender: " . "jswicktgwx@gmail.com\n"; //for testing $ourHeader .= "Return-Path: " . "jswicktgwx@gmail.com\n"; //for testing $ourHeader .= "bcc: jswick@thorguardweather.com"; $ourHeader .= "cc: support@thorguardweather.com"; //for testing $theirHeader = "From: jswick@thorguardweather.com"; $theirHeader = "From: " . "Thor Guard Sales \n"; $ourMessage = "The following information was submitted from the THORGUARD.COM Contact Form:\n\n"; $theirMessage = "You submitted the following information at the THORGUARD.COM Website:\n\n"; $textMessage = "Date: " . $mydate . "\n\n" . "Name: " . $_REQUEST['custName'] . ", " . $_REQUEST['yourTitle'] . "\n\n" . "Type of Business: " . $_REQUEST['businessType'] . "\n" . "Company Name: " . $_REQUEST['companyName'] . "\n" . "Address: " . $_REQUEST['companyAddress'] . "\n" . "City: " . $_REQUEST['cityName'] . "\n" . "State: " . $_REQUEST['State'] . "\n" . "Zip Code: " . $_REQUEST['zipCode'] . "\n" . "Country: " . $_REQUEST['Country'] . "\n\n" . "Phone Number: " . $_REQUEST['phoneNumber'] . "\n" . "Email Address: " . $_REQUEST['emailAddress'] . "\n\n" . "How did you hear about Thor Guard: " . $_REQUEST['aboutThorGuard'] . "\n\n" . "Comments: " . $_REQUEST['Comments'] . "\n\n" . "Send Thor Guard Literature: " . $comLit . "\n"; //"Have a Salesman Contact Me: " . $contact; $externalFooter = "\n\nThank you for your request. We will be contacting you soon.\n\n" . "Thor Guard\n" . "888.571.1212\n" . "954.835.0900\n" . "sales@thorguard.com"; $internalMessage = $ourMessage . $textMessage; mail($ourEmailAddress,$subject,$internalMessage,$ourHeader); $externalMessage = $theirMessage . $textMessage . $externalFooter; mail($theirEmailAddress,$subject,$externalMessage,$theirHeader); echo '
 
The information below has been submitted to Thor Guard.
You will be receiving an email confirmation at ' . $theirEmailAddress . '.
Thank you for your interest in Thor Guard.

Date: ' . $mydate . '
Name: ' . $_REQUEST['custName'] . '
Title: ' . $_REQUEST['yourTitle'] . '
Type of Business: ' . $_REQUEST['businessType'] . '
Company Name: ' . $_REQUEST['companyName'] . '
Address: ' . $_REQUEST['companyAddress'] . '
City: ' . $_REQUEST['cityName'] . '
State: ' . $_REQUEST['State'] . '
Zip Code: ' . $_REQUEST['zipCode'] . '
Country: ' . $_REQUEST['Country'] . '
Phone Number: ' . $_REQUEST['phoneNumber'] . '
Email Address: ' . $_REQUEST['emailAddress'] . '
How did you hear about Thor Guard: ' . $_REQUEST['aboutThorGuard'] . '
Comments: ' . $_REQUEST['Comments'] . '
Send Thor Guard Literature: ' . $comLit . '

'; } } else { echo ''; die (); } } } ?>