www.themeadows.com Open in urlscan Pro
188.114.97.3  Public Scan

Submitted URL: http://www.themeadows.com/
Effective URL: https://www.themeadows.com/
Submission: On April 30 via api from US — Scanned from NL

Form analysis 0 forms found in the DOM

Text Content

 * About Us
   
   
   ABOUT US
   
   At The Meadows, we treat men and women 18 and older for substance use
   disorders, mental health issues, and trauma.
   
   Learn More
    * Our Sister Programs
      * Our Sister Programs
      * Claudia Black Young Adult Center
      * Gentle Path at the Meadows
      * Rio Retreat Center
      * Spero Center at The Meadows
      * The Meadows Adolescent Center
      * The Meadows Outpatient Center
      * The Meadows Malibu
      * The Meadows Ranch
      * The Meadows Texas
      * Willow House for Women
    * Why Choose Us
    * The Meadows Model
    * Accommodations
    * Our Team
    * Senior Fellows
    * FAQ
   
   MENU

 * Addiction Treatment
   
   
   ADDICTION TREATMENT
   
   Our treatment options range from detoxification to an intensive, inpatient
   psychotherapeutic program that addresses the symptoms and co-occurring
   disorders.
   
   Learn More
    * Alcohol Addiction
    * Drug Addiction
      * Drug Addiction
      * Prescription Drugs
      * Cocaine
      * Heroin
      * Meth
      * Marijuana/THC
      * Fentanyl
    * Love Addiction
    * Sex Addiction
    * Work & Money Issues
    * Body Image Issues
    * Detox
   
   MENU

 * Mental Health
   
   
   MENTAL HEALTH
   
   While you may arrive at treatment eager to focus on your primary concern,
   whether its substance abuse or emotional trauma, these are frequently
   connected to mental health issues.
   
   Learn More
    * Dual Diagnosis
    * Depression
    * Anxiety
    * Bipolar Disorder
    * Emotional Trauma
    * PTSD
    * Codependency & Control Issues
    * Relational Issues
    * Intimacy & Sexual Struggles
   
   MENU

 * Types of Therapy
   
   
   TYPES OF THERAPY
   
   Our comprehensive, co-occurring treatment includes a wide range of methods
   and modalities to address each individual’s unique needs for whole-body
   healing.
   
   Learn More
    * Brain Center
    * EMDR
    * Emotional Freedom Technique
    * Equine Therapy
    * Expressive Arts Therapy
    * Group Therapy
    * Internal Family Systems
    * Neurofeedback
    * Psychodrama
    * Safe and Sound Protocol
    * Somatic Experiencing®
    * Wellness / Holistic
   
   MENU

 * For Families
 * Admissions
   
   
   ADMISSIONS
   
   If you are interested in The Meadows for yourself or a loved one, contact one
   of our admissions specialists to start the admissions process today.
   
   Learn More
    * Paying for Treatment
    * Length of Stay
    * Levels of Care
    * What to Bring
    * Military & Veteran Support
    * For Referring Professionals
    * Bookstore
   
   MENU

 * Contact
   
   
   CONTACT
   
   Start your recovery journey today. If you or someone you love needs mental
   health and addiction treatment, The Meadows can help.
   
   Learn More
    * Careers
   
   MENU

 * Questions?
 * Workshops
 * Alumni
 * Blog
 * Call Us: 866-408-1892

×

 * Questions?
 * Workshops
 * Alumni
 * Blog
 * Call Us: 866-408-1892




FE9D29B3-F346-4682-8D3C-A2B9B0FB6D7D Created with sketchtool.
 * About Us
   
   
   ABOUT
   
   At The Meadows, we treat men and women 18 and older for substance use
   disorders, mental health issues, and trauma.
   
   Learn More
    * Our Sister Programs
    * Why Choose Us
    * The Meadows Model
    * Accommodations
    * Our Team
    * Senior Fellows
    * FAQ
   
    * Claudia Black Young Adult Center
    * Gentle Path at the Meadows
    * Rio Retreat Center
    * Spero Center at The Meadows
    * The Meadows Adolescent Center
    * The Meadows Outpatient Center
    * The Meadows Malibu
    * The Meadows Ranch
    * The Meadows Texas
    * Willow House for Women

 * Addiction Treatment
   
   
   ADDICTION TREATMENT
   
   Our treatment options range from detoxification to an intensive, inpatient
   psychotherapeutic program that addresses the symptoms and co-occurring
   disorders.
   
   Learn More
    * Alcohol Addiction
    * Drug Addiction
    * Love Addiction
    * Sex Addiction
    * Work & Money Issues
    * Body Image Issues
    * Detox
   
    * Prescription Drugs
    * Cocaine
    * Heroin
    * Meth
    * Marijuana/THC
    * Fentanyl

 * Mental Health
   
   
   MENTAL HEALTH
   
   While you may arrive at treatment eager to focus on your primary concern,
   whether its substance abuse or emotional trauma, these are frequently
   connected to mental health issues.
   
   Learn More
    * Dual Diagnosis
    * Depression
    * Anxiety
    * Bipolar Disorder
    * Emotional Trauma
    * PTSD
    * Codependency & Control Issues
    * Relational Issues
    * Intimacy & Sexual Struggles

 * Types of Therapy
   
   
   TYPES OF THERAPY
   
   Our comprehensive, co-occurring treatment includes a wide range of methods
   and modalities to address each individual’s unique needs for whole-body
   healing.
   
   Learn More
    * Brain Center
    * EMDR
    * Emotional Freedom Technique
    * Equine Therapy
    * Expressive Arts Therapy
    * Group Therapy
    * Internal Family Systems
    * Neurofeedback
    * Psychodrama
    * Safe and Sound Protocol
    * Somatic Experiencing®
    * Wellness / Holistic

 * For Families
 * Admissions
   
   
   ADMISSIONS
   
   If you are interested in The Meadows for yourself or a loved one, contact one
   of our admissions specialists to start the admissions process today.
   
   Learn More
    * Paying for Treatment
    * Length of Stay
    * Levels of Care
    * What to Bring
    * Military & Veteran Support
    * For Referring Professionals
    * Bookstore

 * Contact
   
   
   CONTACT
   
   Start your recovery journey today. If you or someone you love needs mental
   health and addiction treatment, The Meadows can help.
   
   Learn More
    * Careers


THIS IS WHERE I CHANGE MY STORY

Taking that first step can be scary, but we’re here to help you heal and begin a
new chapter.

Contact Us


THE MOST TRUSTED NAME IN TRAUMA & ADDICTION TREATMENT



For more than 45 years we’ve been helping people overcome addiction, heal
unresolved emotional trauma, and develop the tools they need to transform their
lives. Whether you or someone you love is entering treatment for the first time
or struggling with a relapse, our time-tested Meadows Model is unparalleled in
producing successful outcomes that translate to lasting recovery.





MEADOWS BEHAVIORAL HEALTHCARE

About Us


HOW WE CAN HELP

ADDICTION TREATMENT

MENTAL HEALTH

DUAL DIAGNOSIS


WHAT MAKES US DIFFERENT?

INTEGRATED TRAUMA SERVICES

You can’t find lasting healing without getting to the source of the hurt.
Unresolved trauma can wreak havoc if it isn’t addressed, which is why trauma
treatment is an integral part of our program. We’ll uncover past pain, confront
its effects, and teach healthy new coping skills.

Learn More

FAMILY PROGRAM

Addiction doesn’t just impact one person, it causes a ripple effect, putting a
significant strain on families and relationships. We recognize that and
incorporate loved ones into the treatment process, extending opportunities for
healing to the whole family.

Learn More

INNOVATIVE BRAIN CENTER

We use cutting-edge methods and state-of-the-art equipment to aid in grounding
and self-regulation. Neuro- and biofeedback help to retrain the brain, making it
possible to confront deeper issues with less anxiety and a calmer spirit.

Learn More

UNIQUE WORKSHOPS

Survivors I is an essential component of The Meadows inpatient treatment
program. In a safe, supportive environment, this signature workshop helps
patients discover the origins that fuel harmful behaviors by looking at
addiction, trauma, mood disorders, and troubling relationships.

Learn More

THERAPIES & SERVICES

At The Meadows, we treat the whole person by blending modern therapeutic
practices with holistic methods. Group and one-on-one sessions, Somatic
Experiencing, and EMDR take place alongside tai chi, mindfulness, expressive
arts, and equine therapy to create a comprehensive program.

Learn More

SENIOR FELLOW OVERSIGHT

Our handpicked team of Senior Fellows represents excellence and experience in a
range of specialties. Each Senior Fellow is involved in worldwide practice and
research in their area of expertise, and their oversight constantly challenges
The Meadows to excel and stay current.

Learn More



OUR RANGE OF PROGRAMS



We understand that a one-size-fits-all approach to treatment isn’t the best way
to bring about lasting healing. That’s why The Meadows offers a specialized
continuum of behavioral health services — at our main campus and through our
sister programs — designed to meet your unique needs. Recovery is
Possible. We’re here to help.



Our Sister Programs
 * Adult Inpatient Treatment
 * Women’s Eating Disorders
 * Men’s Sexual Addiction
 * Women’s Intimacy Issues
 * Young Adults
 * Maturing Adults
 * Outpatient Programs
 * Workshops


TAKE A TOUR



According to local legend, the clear, dry air of the Sonoran Desert has healing
powers. For decades the land we call home has served as a place of healing, and
The Meadows continues to build on that legacy. Explore our grounds, peek inside
buildings, and discover our amenities through this up-close look.



Tour The Meadows



ADMISSIONS

Our Admissions team is here to help 24 hours a day and is experienced in
assisting others with compassion, dignity, and respect — hallmark values of The
Meadows for more than 45 years. The Meadows’ Admissions Specialists are here to
help you on your way to a healthier and more productive lifestyle. When you
call, they will lead you through a series of questions to determine if The
Meadows is a good fit, and how soon your treatment can begin. If you are
interested in The Meadows for yourself or a loved one, call or fill out an
admissions form today!

IF YOU ARE INTERESTED IN THE MEADOWS FOR YOURSELF OR A LOVED ONE CALL OR FILL
OUT AN ADMISSIONS FORM TODAY!

Contact our Admissions office

  866-408-1892

For international callers

  928-668-1999

Or complete an admissions contact form:

Click below to start the admissions process today

Admissions Form

Contact Us



Admissions

866-408-1892

All Other Calls

928-668-1999

Location



The Meadows of Wickenburg
1655 N. Tegner Street
Wickenburg, AZ 85390



Google Map

More Information


About Us Addiction Treatment Alcohol Addiction Drug Addiction Sex Addiction
Mental Health Types of Therapy For Families Admissions Careers Questions?
Contact Us

Meet Our Network


Claudia Black Young Adult Center Gentle Path at the Meadows Rio Retreat Center
Spero Center at The Meadows The Meadows Outpatient The Meadows Ranch The Meadows
Malibu The Meadows Adolescent Center The Meadows Texas Willow House for Women

Accreditations




All Rights Reserved

HIPAA Privacy Policy


" + "" + "" + "" + badgecount + ""; /* " "; */
doc.getElementById("widgetlbtn").style.color =color;
doc.getElementById("widgetlbtn").style.backgroundColor = msg.widgetcolor;
doc.getElementById("widgetlbtn").style.display = 'block';
doc.getElementById("widgetlbtn").addEventListener('click', function () {
console.log("switchicon called"); parent.IMIChatInit.chatswitchicon() });
//console.log( doc.getElementById("widgetlbtn"));
/*$('[data-toggle=\"tooltip\"]').tooltip();*/ // doc.close(); /* for test */ var
doc1 = document.getElementById('chatunread-frame').contentWindow.document; //
doc1.open(); doc1.head.innerHTML = "" + ""; doc1.body.innerHTML = "x

"; // ""+ //"" + //""; //doc1.close();
doc1.getElementsByTagName('html')[0].classList.add('imichatmsgpreview');
doc1.getElementById("ancclearcards").addEventListener('click', function () {
parent.IMIChatInit.clearmsgcards() }); IMIGeneral.storeLocal("style_" +
document.getElementById("divicw").getAttribute("data-bind") + "_" +
window.location.hostname, msg);
document.getElementById('chatbutton').style.display = "block"; } else {
document.getElementById("divicw").innerHTML = ''; } } catch (e1) { } },
chatswitchicon: function (type) { console.log("Chatswitchicon::" + type); try {
if (type === undefined || type == 1 || type == 0) { var destination =
document.getElementById('iframechatwindow').contentWindow; msg = { "action":
"register_rtm", "host": window.location.hostname }; destination.postMessage(msg,
domainUrl); } /*type=1-max and 0- min */ var isMobile = "0"; // if
(window.innerWidth > 768) { // document.getElementById('divchatmain').className
= 'main-chat-cont'; // } else { //
document.getElementById('divchatmain').className = 'main-chat-cont chatmobile';
// isMobile="1"; // } if ((navigator.userAgent.indexOf("Mobile")) != -1) {
isMobile = "1"; } sessionStorage.setItem("data-bind",
document.getElementById("divicw").getAttribute("data-bind"));
sessionStorage.setItem("data-org",
document.getElementById("divicw").getAttribute("data-org")); var iframe =
document.getElementById('imi-chatbutton'); if (iframe == null || iframe ==
undefined) return; var innerDoc = iframe.contentDocument ||
iframe.contentWindow.document; //Open Widget if
(document.getElementById("divchatmain").style.display === 'none' && (type == 1
|| type == 2 || type == undefined)) {
document.getElementById("divchatmain").style.display = "block";
IMIGeneral.checkmobile(); //if ((window.outerWidth < 497) &&
(document.documentElement.classList.contains('imichatmobile-active') == false)
&& document.getElementById("divchatmain").style.display == "block") { var
className = " " + document.documentElement.className + " "; if
((window.outerWidth < 700) && (" " + className + " ").replace(/[\n\t]/g, "
").indexOf("imichatmobile-active") > -1 &&
document.getElementById("divchatmain").style.display == "block") { //
if((document.documentElement.classList.value.split(/\s+|\./).filter(word => word
=== 'imichatmobile-active').length==1) == false){
document.documentElement.classList.remove("imichatmobile-active");
document.documentElement.className = document.documentElement.className + "
imichatmobile-active"; // } } else { document.documentElement.className =
document.documentElement.className.replace(' imichatmobile-active', ''); }
document.getElementById('chatunread-frame').style.display = "none";
innerDoc.getElementById("widgetlbtn").setAttribute("class", "open-btn state1 " +
buttonType + " close-btn"); //
innerDoc.getElementById("widgetlbtn").setAttribute("aria-label", "Close web
chat"); innerDoc.getElementById("widgetlbtn").setAttribute("aria-expanded",
"true");
document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").style.display
= "none";
document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").innerText
= ""; localStorage.setItem(fingerprint + "_" + _skey + "_badgecount", 0);
localStorage.setItem(fingerprint + "_" + _skey + "_cardcount", 0);
IMIChatInit.clearmsgcards(); // if (IMIGeneral.getBrowserName() == "safari") {
// if (IMIGeneral.detectIOS()) { // document.body.classList.add('chatnoscroll');
// } // } if (type === undefined) { var destination =
document.getElementById('iframechatwindow').contentWindow; msg = { "action":
"showiframe", "host": window.location.hostname, "chatmobile": isMobile };
destination.postMessage(msg, domainUrl);
document.getElementById("iframechatwindow").setAttribute("aria-hidden","false");
} return; } //Close Widget if
(document.getElementById("divchatmain").style.display === 'block' && (type == 0
|| type == 2 || type == undefined)) { document.documentElement.className =
document.documentElement.className.replace(' imichatmobile-active', '');
//document.body.classList.remove('chatnoscroll');
document.getElementById("divchatmain").style.display = "none";
innerDoc.getElementById("widgetlbtn").setAttribute("class", "open-btn state " +
buttonType); innerDoc.getElementById("widgetlbtn").setAttribute("aria-expanded",
"false"); innerDoc.getElementById("widgetlbtn").focus();
document.getElementById('chatunread-frame').style.display = "block";
localStorage.setItem(fingerprint + "_" + _skey + "_cardcount", 0);
document.getElementById("iframechatwindow").setAttribute("aria-hidden", "true");
return; } //var iframeEl = document.getElementById("iframechatwindow"); // Make
sure you are sending a string, and to stringify JSON //
iframeEl.contentWindow.postMessage("hello", '*'); return; } catch (e) {
console.log("LaunchProactiveMsgManager:" + e.msg); } }, clearmsgcards: function
() {
document.getElementById('chatunread-frame').contentWindow.document.getElementById("msg-list").innerHTML
= "";
document.getElementById('chatunread-frame').contentWindow.document.getElementById("ancclearcards").style.display
= "none";
//document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").style.display
= "none";
//document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").innerText
== ""; localStorage.setItem(fingerprint + "_" + _skey + "_cardcount", 0); },
openchat: function (event) {
document.getElementById('imichat-fullscreen-modal').className =
'imichat-fullscreen-modal'; var destination =
document.getElementById('iframechatwindow').contentWindow;
destination.postMessage({ action: 'openchat', threadid: event.data.threadid,
proactive_id: event.data.proactive_id }, '*');
parent.IMIChatInit.chatswitchicon(2); }, extractContent: function(s) { var span
= document.createElement('span'); span.innerHTML = s; return span.textContent ||
span.innerText; }, badgecount: function (event) { try { if
(document.getElementById("divchatmain").style.display === 'none') { var count =
document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").innerText;
if (count == 0 || count == "") { count = 1; } else { count = parseInt(count) +
1; } var duplicate = 0; var innerDivs; var innerDivsCount = 0; var refChild;
IMIChatInit.clearmsgcards(); var containerDiv =
document.getElementById('chatunread-frame').contentWindow.document.getElementById("msg-list");
if (count > 1) { innerDivs = containerDiv.getElementsByClassName("msg"); if
(innerDivs != undefined) { innerDivsCount = innerDivs.length; for (var i = 0; i
< innerDivs.length; i++) { if ("msg_" + event.data.msgtransid ==
innerDivs[i].id) { duplicate = 1; } } refChild = innerDivs[0]; } } var
cardcount; var checkbadgecount; if (innerDivs == undefined) {
localStorage.setItem(event.data.fingerprint + "_" + _skey + "_cardcount", 1); }
document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").style.display
= "block"; if (duplicate == 0) { if (parseInt(innerDivsCount) == 5) {
containerDiv.removeChild(document.getElementById('chatunread-frame').contentWindow.document.getElementsByClassName('msg')[4]);
containerDiv.removeChild(document.getElementById('chatunread-frame').contentWindow.document.getElementsByClassName('msgclear')[4]);
innerDivsCount = innerDivsCount - 1; } if ((parseInt(innerDivsCount) < 1 &&
event.data.badge_type === undefined) || event.data.badge_type === 2 ||
event.data.badge_type === 3) { var node = document.createElement("div"); var
node1 = document.createElement("div"); var textnode =
document.createTextNode(IMIChatInit.extractContent(event.data.msg)); if
(textnode.data.length > 45) { if (event.data.badge_type === undefined ||
event.data.badge_type === 2) { textnode.data = textnode.data.substr(0, 45) +
"..."; } else { textnode.data = textnode.data; } } node.className = "msg";
node.style = "cursor:pointer;"; node1.className = "msgclear"; node.id = "msg_" +
event.data.msgtransid; // Create a text node node1.id = "msgclear_" +
event.data.msgtransid; node1.style = "clear:both;";
node.addEventListener("click", function () { window.parent.postMessage({ action:
'openchat', threadid: event.data.threadid, proactive_id: event.data.proactive_id
}, '*'); }); node1.addEventListener("click", function () {
window.parent.postMessage({ action: 'openchat', threadid: event.data.threadid,
proactive_id: event.data.proactive_id }, '*'); }); if (event.data.msg_from !==
undefined && event.data.msg_from !== "") { var span =
document.createElement("span"); //var span span.innerHTML = '' +
event.data.msg_from + ':'; node.appendChild(span); } else if
(event.data.msg_from === undefined || event.data.msg_from == "") { var span =
document.createElement("span"); //var span span.innerHTML = 'New Conversation:';
node.appendChild(span); } node.appendChild(textnode); var height =
document.getElementsByClassName('main-unreadchat-cont')[0].style.height; if
(height == "") { height = 70; } if (innerDivsCount == 0) { height =
document.getElementsByClassName('main-unreadchat-cont')[0].style.height =
"150px"; } /* else if (innerDivsCount == 2) { height =
document.getElementsByClassName('main-unreadchat-cont')[0].style.height =
"150px"; } else if (innerDivsCount > 2) {*/ else {
document.getElementsByClassName('main-unreadchat-cont')[0].style.height =
parseInt(height) + 60 + "px"; } var referenceNode =
document.getElementById('chatunread-frame').contentWindow.document.getElementById("msg-list");
// document.querySelector('#some-element'); if (innerDivsCount == 0) {
referenceNode.appendChild(node); referenceNode.appendChild(node1); } else {
referenceNode.insertBefore(node, refChild); referenceNode.insertBefore(node1,
refChild); if ((window.innerHeight + 100) <
(document.getElementsByClassName("main-unreadchat-cont")[0].style.height)) { var
frame = document.getElementById('chatunread-frame'); var c =
frame.contentDocument || frame.contentWindow.document;
c.getElementsByTagName("body")[0].offsetHeight = '80%';
c.getElementsByTagName("body")[0].style.overflow = "auto"; } } if
(event.data.badge_type === 3) {
document.getElementsByClassName("main-unreadchat-cont")[0].style.height =
"100%"; var frame = document.getElementById('chatunread-frame'); var c =
frame.contentDocument || frame.contentWindow.document;
c.getElementsByClassName("msg")[0].style.maxHeight = "unset"; var frameheight =
c.getElementsByTagName("body")[0].offsetHeight;
document.getElementsByClassName("main-unreadchat-cont")[0].style.height =
frameheight + "px"; } } else if (event.data.badge_type === 4) { var
fullscreen_modal = document.getElementById('imichat-fullscreen-modal');
fullscreen_modal.className = 'imichat-fullscreen-modal imichat-open';
fullscreen_modal.contentWindow.postMessage({ action: 'bind_data', proactive_id:
event.data.proactive_id, threadid: event.data.threadid, msg_from:
event.data.msg_from, msg: event.data.msg, btn_chat_now_open:
IMILocalisation.getValue(_IMIchat_widget_lang,
"proactive_poupup_chat_now_button", "Chat Now"), btn_chat_now_close:
IMILocalisation.getValue(_IMIchat_widget_lang, "proactive_poupup_close_button",
"Close") }, "*"); } cardcount =
parseInt(localStorage.getItem(event.data.fingerprint + "_" + _skey +
"_cardcount")) + 1; localStorage.setItem(event.data.fingerprint + "_" + _skey +
"_cardcount", cardcount); localStorage.setItem("fingerprint",
event.data.fingerprint); localStorage.setItem(event.data.fingerprint + "_" +
_skey + "_badgecount", count);
document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").innerText
= count; }
document.getElementById('chatunread-frame').contentWindow.document.getElementById("ancclearcards").style.display
= (event.data.badge_type === undefined || (event.data.badge_type === 2 ||
event.data.badge_type === 3)) ? "block" : "none"; } } catch (e) {
console.log("badgecount:" + e.msg); } }, message: function (event) { try { if
(event.data.action != null) { if (event.data.action == 'openchat') {
IMIChatInit.openchat(event); } if (event.data.action == 'badgecount') {
IMIChatInit.badgecount(event); } if (event.data.action == 'chatswitchicon') {
IMIChatInit.chatswitchicon(); //event } if (event.data.action ==
'imichat_custom_chat_fields') { if (event.data.type == 'add') { if
(_IMIchat_callback_dic['imichat-widget:custom_chat_fields_init'] !== undefined)
{
_IMIchat_callback_dic['imichat-widget:custom_chat_fields_init'](event.data.response);
} } else if (event.data.type == 'update') { if
(_IMIchat_callback_dic['imichat-widget:custom_chat_fields_update'] !==
undefined) {
_IMIchat_callback_dic['imichat-widget:custom_chat_fields_update'](event.data.response);
} }//event } if (event.data.action == 'loadstyles') {
IMIChatInit.loadJQuery(_domain_name, function () {
IMIChatInit.loadwidgetStyles(event.data.message); try { if (event.data.message
!= null) { if (_IMIchat_callback_dic['imichat-widget:ready'] !== undefined) {
_IMIchat_callback_dic['imichat-widget:ready'](_attr_key);
console.log("imichat-widget:ready fired"); } //eval('imichatWidgetLoaded();');
if (_IMIchat_callback_dic['imichat-widget:custom_chat_fields_init'] !==
undefined) { _IMIchat_callback_dic['imichat-widget:custom_chat_fields_init']();
} } } catch (e) { } IMIChatInit.LaunchProactiveMsgManager(_domain_name, function
() { }); IMIChatInit.handleAbandonedChats(); }); } if (event.data.action ==
'closemodelpopup') {
document.getElementById('imichat-fullscreen-modal').className =
'imichat-fullscreen-modal'; } if (event.data.action == 'setsession') {
sessionStorage.setItem(event.data.key, event.data.value); } if
(event.data.action == 'setlocal') { localStorage.setItem(event.data.key,
event.data.value); } if (event.data.action == 'browserstorage') {
document.getElementById("divicw").innerHTML = "
\n \n \nError:
Cookies Disabled


We use cookies to enable best chat experience. Follow these directions to
re-enable cookies specific to your browser type or re-open this website in a
cookie-enabled browser.

"; console.log("Local storage not supported"); } } } catch (e) { } }, resize:
function () { try { var destination =
document.getElementById('iframechatwindow').contentWindow;
destination.postMessage({ action: 'resize', width: window.outerWidth
//window.innerWidth//screen.width // document.body.clientWidth }, "*");
IMIGeneral.checkmobile(); } catch (e) { } }, LaunchProactiveMsgManager: function
(domainName, callback) { try { var widget_styles = localStorage.getItem("style_"
+ document.getElementById("divicw").getAttribute("data-bind") + "_" +
window.location.hostname); if (widget_styles == null &&
!JSON.parse(widget_styles).enable_proactive) { callback(); return; } var body =
document.getElementsByTagName('body')[0]; var script =
document.createElement('script'); script.type = 'text/javascript'; script.src =
IMIChatInit.domainName() + '/js/proactive-msg-manager.js';
body.appendChild(script); script.addEventListener('load', function (event) {
console.log('proactive manager loaded;'); var destination =
document.getElementById('iframechatwindow').contentWindow;
destination.postMessage({ action: 'proactive-manager-loaded', attrkey:
document.getElementById("divicw").getAttribute("data-bind"), host:
window.location.hostname }, "*"); callback(); }); } catch (e) {
console.log("LaunchProactiveMsgManager:" + e.msg); } }, processAbandonedChats:
function (type) { var browser_fingerprint = localStorage.getItem("fingerprint");
var url = IMIGeneral.profileUrl() + "livechats/" + _attr_key + "/customers/" +
browser_fingerprint + "/abandoned?host=" + window.document.URL; url = url +
"&type=" + type; var body = JSON.stringify({ "is_reloaded": false,
"is_closechat": true }); var headers = { type: 'application/json' }; var blob =
new Blob([body], headers); navigator.sendBeacon(url); }, handleAbandonedChats:
function () { // Attach the event keypress to exclude the F5 refresh
//jQuery(window).on('keydown', function (e) { window.addEventListener('keydown',
function (e) { if (e.keyCode == 116) { _IMIchat_IsValidNavigation = true; } });
window.addEventListener("beforeunload", function (e) {
sessionStorage.setItem(_attr_key + "_imichat-reload-check", document.referrer);
console.log(document.referrer); //sessionStorage.setItem("imi_tabid",
Math.random().toString(16).slice(2)); if (_IMIchat_IsValidNavigation !==
undefined && !_IMIchat_IsValidNavigation) {
IMIChatInit.processAbandonedChats("unload"); } }); if
(window.performance.navigation.type == 1) {
IMIChatInit.processAbandonedChats("load"); } }, loadJQuery: function
(domainName, callback) { if (typeof (jQuery) !== 'undefined') { callback();
return; } var body = document.getElementsByTagName('body')[0]; var script =
document.createElement('script'); script.type = 'text/javascript'; script.src =
domainName + '/js/jquery-3.1.1.js'; body.appendChild(script);
script.addEventListener('load', function (event) { callback(); }); return; },
on: function (func_name, callback) { if (typeof callback != 'function') {
console.error('function was expected.'); return; } switch (func_name) { case
'imichat-widget:ready': _IMIchat_callback_dic['imichat-widget:ready'] =
callback; break; } }, checklocalStorage: function () { var test = 'test'; try {
localStorage.setItem(test, test); localStorage.removeItem(test); return true; }
catch (e) { return false; } }, call_previous_chats: function () { try { var
destination = document.getElementById('iframechatwindow').contentWindow; msg = {
"action": "showiframe", "host": window.location.hostname, "chatmobile":
((navigator.userAgent.indexOf("Mobile")) != -1) ? "1" : "0" };
destination.postMessage(msg, domainUrl); } catch (e) { } },
check_clear_session_chats: function () { if (document.referrer ==
sessionStorage.getItem(_attr_key + "_imichat-reload-check")) { return false; }
else if (sessionStorage.getItem(_attr_key + "_imichat-reload-check") ==
undefined) { return true; } else { console.log("Hey, Thanks for visiting
again"); return false; } } }; }(); if (IMIChatInit.checklocalStorage()) {
IMIChatInit.init(); } else { document.getElementById("divicw").innerHTML = "
\n \n \nError:
Cookies Disabled


We use cookies to enable best chat experience. Follow these directions to
re-enable cookies specific to your browser type or re-open this website in a
cookie-enabled browser.

"; console.log("Local storage not supported"); } var imichatwidget = { // get
hasInitiatedConversation() { // if
(sessionStorage.getItem("imichat_hasinitconvexist") == null) // return false; //
if (sessionStorage.getItem("imichat_hasinitconvexist") == "1") { // return true;
// } else { // return false; // } // }, hasInitiatedChat: function () { if
(sessionStorage.getItem("imichat_hasinitconvexist") == null) return false; if
(sessionStorage.getItem("imichat_hasinitconvexist") == "1") { return true; }
else { return false; } }, show: function () { //$("#divicw").show();return;
document.getElementById("divicw").style.display = 'block'; }, hide: function ()
{ // $("#divicw").hide();return; document.getElementById("divicw").style.display
= 'none'; }, /* test:function() {
if(sessionStorage.getItem("imichat_hasinitconvexist")==null) return false;
if(sessionStorage.getItem("imichat_hasinitconvexist")=="1") { return true; }
else { return false; } },*/ maximizeWindow: function () {
IMIChatInit.chatswitchicon(1); IMIChatInit.resize();
IMIChatInit.call_previous_chats(); return; }, minimizeWindow: function () {
return IMIChatInit.chatswitchicon(0); }, init: function (jsondata, callback) {
if (typeof callback != 'function') { console.error('function was expected.');
return; } var destination =
document.getElementById('iframechatwindow').contentWindow;
destination.postMessage({ action: 'imichat_custom_chat_fields', data: jsondata,
type: 'add' }, '*');
_IMIchat_callback_dic['imichat-widget:custom_chat_fields_init'] = callback; },
update: function (jsondata, callback) { if (typeof callback != 'function') {
console.error('function was expected.'); return; } var destination =
document.getElementById('iframechatwindow').contentWindow;
destination.postMessage({ action: 'imichat_custom_chat_fields', data: jsondata,
type: 'update' }, '*');
_IMIchat_callback_dic['imichat-widget:custom_chat_fields_update'] = callback; },
on: function (func_name, callback) { if (typeof callback != 'function') {
console.error('function was expected.'); return; } switch (func_name) { case
'imichat-widget:ready': _IMIchat_callback_dic['imichat-widget:ready'] =
callback; break; } } }; /* function imichatWidgetLoaded(){imi
imichatwidget.maximizeWindow(); }*/
Call
Text
Live Chat
Email