<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta property="og:title" content="Essential Oils Pure and Natural | dōTERRA">
<meta property="og:description" content="Discover how essential oils can transform the way you manage your health.">
<meta property="og:type" content="website">
<meta property="og:image" content="https://beta-doterra.myvoffice.com/pdf/en/Instagram_Image.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:url" content="https://beta-doterra.myvoffice.com/Application/index.cfm">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PHX657');</script>
<!-- End Google Tag Manager -->
<link rel="stylesheet" href="/semantic/semantic.min.css" type="text/css">
<script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/evo/scripts/jquery-3.6.0.min.js"></script>
<script src="/semantic/semantic.min.js"></script>
<script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/evo/scripts/evo_events_popup.js"></script>
<script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/evo/scripts/evo.js"></script>
<script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/evo/scripts/global.js?v=1.4"></script>
<script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/scripts/header.js"></script>
<script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/scripts/ajax.js?v=1.0"></script>
<script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/evo/scripts/xregexp-all.js?v=1.5"></script>
<script src="https://beta-doterra.myvoffice.com/scripts/functions.js" language="JavaScript" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript" src="https://beta-doterra.myvoffice.com/scripts/copyaddress.js?v=3"></script>
<link rel="stylesheet" type="text/css" href="/skins/skin01/css/fonts.css">
<link rel="stylesheet" type="text/css" href="/skins/skin01/css/corporate.css">
<link rel="stylesheet" type="text/css" href="/skins/skin01/css/application.css">
<link rel="stylesheet" type="text/css" href="/skins/skin01/css/language.css">
<link rel="stylesheet" type="text/css" href="/skins/skin01/customcss/header.css">
<title>dōTERRA</title>
<script language="JavaScript">
function popUp(url, width, height) {
sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=' + width + ',height=' + height);
self.name = "mainWin";
}
//Used in ApplicationForm
function reveal(className, obj) {
var $input = $(obj);
if ($input.prop('checked')) $(className).show();
else $(className).hide();
}
function checkKanji(elem) {
//only allow double byte characters
var str = elem.value; /*WF167214*/
for (var i=0; i < str.length; i++) {
if (str.charCodeAt(i) <= 255 && !str[i].match(/\s/)) {
elem.value = ''; /*WF167214*/
alert('No Roman Characters');
return false;
}
}
return true;
}
function checkRoman(el) {
//only allow roman characters
var str=el.value;
for (var i=0; i < str.length; i++) {
if (str.charCodeAt(i) > 255) {
el.value='';
alert('No Native Characters');
return false;
}
}
return true;
}
function checkSingleByte(el){
//only allow roman characters
var str=el.value;
for (var i=0; i < str.length; i++) {
if (str.charCodeAt(i) > 255 && str.charCodeAt(i) < 65377 || str.charCodeAt(i) > 65439) {
el.value='';
alert('No Full Width Characters');
return false;
}
}
return true;
}
function checkAccent(el) {
//do not allow accent characters
var str=el.value;
for (var i=0; i < str.length; i++) {
if (str.charCodeAt(i) > 191 && str.charCodeAt(i) < 592) {
el.value='';
alert('No Accented Characters Allowed');
return false;
}
}
return true;
}
function checkCyrillic(el) {
//only allow cyrillic characters
var str=el.value;
for (var i=0; i < str.length; i++) {
//START:WF138249
if (str.charCodeAt(i) == 40 || str.charCodeAt(i) == 41 || str.charCodeAt(i) == 47 || str.charCodeAt(i) == 44 || str.charCodeAt(i) == 45) // allow the following (/,-)
{
}
else if (!(str.charCodeAt(i) >= 1024 && str.charCodeAt(i) <= 1279) && !str.charAt(i).match(/[\s0-9,\.]/)) { //END:WF138249 //WF156505 - Chris H - allow (.)
el.value='';
alert('Cyrillic Characters Only');
return false;
}
}
return true;
}
function checkNumeric(el) {
var str=el.value;
if (isNaN(str)) {
alert('Numeric Characters Only');
return false;
}
}
function isValidAddressChar(evt,modifier) {
const country = 'USA';
if (typeof modifier !== 'undefined' && modifier == 'lettersOnly') {
var pattern = /^[A-Za-zÀ-ü \/\-\u0400-\u04FF\u3040\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf\u017D-\u017E\u0176-\u0178\u00FD\u00FF\u0160-\u0161\u0E00-\u0E7F]+$/;
} else if (country == 'KOR') {
var pattern = '^[A-Za-zÀ-ü 0-9\\p{Hangul}]+$';
var useXRegExp = true;
} else {
var pattern = /^[A-Za-zÀ-ü 0-9\/\,\.\-\^\`\u0400-\u04FF\u3040\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf\u017D-\u017E\u0176-\u0178\u00FD\u00FF\u0160-\u0161\u0E00-\u0E7F]+$/;
}
var charCode = (evt.which) ? evt.which : event.keyCode
var charString = String.fromCharCode(charCode);
if (typeof useXRegExp !== 'undefined' && useXRegExp) {
var unicodeWord = XRegExp(pattern);
if(!(unicodeWord.test(charString)))
{
return false;
} else {
return true;
}
} else {
if (!(charString.match(pattern))) {
return false;
} else {
return true;
}
}
}
function isValidAddressCharValue(elem,modifier) {
const country = 'USA';
if (typeof modifier !== 'undefined' && modifier == 'lettersOnly') {
var pattern = /^[A-Za-zÀ-ü \/\-\u0400-\u04FF\u3040\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf\u017D-\u017E\u0176-\u0178\u00FD\u00FF\u0160-\u0161\u0E00-\u0E7F]+$/;
} else if (country == 'KOR') {
var pattern = '^[A-Za-zÀ-ü 0-9\\p{Hangul}]+$';
var useXRegExp = true;
} else {
var pattern = /^[A-Za-zÀ-ü 0-9\/\,\.\-\^\`\u0400-\u04FF\u3040\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf\u017D-\u017E\u0176-\u0178\u00FD\u00FF\u0160-\u0161\u0E00-\u0E7F]+$/;
}
var elVal = elem.value;
var valid = 1;
if (typeof useXRegExp !== 'undefined' && useXRegExp) {
var unicodeWord = XRegExp(pattern);
if(!(unicodeWord.test(elVal)))
{
valid = 0;
err = "Invalid Bill Info";
$(elem).closest('div.field').addClass('error');
} else if (elem) {
$(elem).closest('div.field').removeClass('error');
}
} else {
if (!(elVal.match(pattern))) {
valid = 0;
err = "Invalid Bill Info";
$(elem).closest('div.field').addClass('error');
} else if (elem) {
$(elem).closest('div.field').removeClass('error');
}
}
if (!valid) {
$('#errormessage').html(err);
$('#errormessage').show();
$('html, body').animate({
scrollTop: $('#errormessage').offset().top
}, 500);
return;
return false;
}
else {
$('#errormessage').hide();
return true;
}
}
</script>
<div id="teconsent" style="display: none;"></div>
<script class="trustecm" trackertype="functional" type="text/plain">
window['_fs_debug'] = false;
window['_fs_host'] = 'fullstory.com';
window['_fs_script'] = 'edge.fullstory.com/s/fs.js';
window['_fs_org'] = '11MSMR';
window['_fs_namespace'] = 'FS';
(function(m,n,e,t,l,o,g,y){
if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;}
g=m[e]=function(a,b,s){g.q?g.q.push([a,b,s]):g._api(a,b,s);};g.q=[];
o=n.createElement(t);o.async=1;o.crossOrigin='anonymous';o.src='https://'+_fs_script;
y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y);
g.identify=function(i,v,s){g(l,{uid:i},s);if(v)g(l,v,s)};g.setUserVars=function(v,s){g(l,v,s)};g.event=function(i,v,s){g('event',{n:i,p:v},s)};
g.anonymize=function(){g.identify(!!0)};
g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)};
g.log = function(a,b){g("log",[a,b])};
g.consent=function(a){g("consent",!arguments.length||a)};
g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};
g.clearUserCookie=function(){};
g.setVars=function(n, p){g('setVars',[n,p]);};
g._w={};y='XMLHttpRequest';g._w[y]=m[y];y='fetch';g._w[y]=m[y];
if(m[y])m[y]=function(){return g._w[y].apply(this,arguments)};
g._v="1.3.0";
})(window,document,window['_fs_namespace'],'script','user');
</script>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PHX657"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="consent_blackbar"></div>
<script>
//This is your domain, as in, how you who are calling the API wish to be identified.
var MY_DOMAIN = "doterra-cm1.com";
var REQUIRE_USER_EXPRESSED_PERMISSION = true;
var _STATE = {};
/**
* Different pages add the Consent Manager in different locations, so all callers of the API must wait till
* the API is loaded. The API is loaded in two stages:
* 1) The first stage is where the "PrivacyManagerAPI" object exists on the page and where default and
* page/domain specific settings can be obtained. If your requirements demand user consent, you must wait
* for the second stage load, but it is always recommended to wait for the second stage no matter what.
* The "loading" parameter will be added to all API responses when the API is in this state.
* 2) The second stage loads the user preferences and the domain specific information. If you made a
* postMessage API call during the first stage, then the API will automatically send you another, updated,
* response if the result has changed.
*/
function runOnce(){
// If notice behaviour is 'none' activate all 'trustcm' scripts
window.addEventListener("DOMContentLoaded", function(e){
try{
if(!_STATE.hasRunOnce){
var isNone = /.*(,|)none/i.test(getBehavior());
if (isNone) {
if( !_STATE.hasLoadedRequired ){
activateElement(document.querySelectorAll(".trustecm"));
_STATE.hasLoadedRequired = true;
}
}
_STATE.hasRunOnce = true;
_STATE.i && clearInterval(_STATE.i);
}
}catch(e){
e.name != 'SyntaxError' && console.log(e);
}
}, false);
//CHECK: for API exists on the page
if(!_STATE.hasRunOnce && window.PrivacyManagerAPI){
console.log("doing run once");
//Register with the API for automatic updates of user preferences (for the settings you care about)
//--OR-- if the API is loading, then this will send an update when the API is done and has loaded the user preferences.
window.addEventListener("message", function(e){
try{
var json = JSON.parse(e.data);
json.PrivacyManagerAPI && handleAPIResponse(json.PrivacyManagerAPI);
}catch(e){
e.name != 'SyntaxError' && console.log(e);
}
}, false);
var apiObject = {PrivacyManagerAPI: { self: MY_DOMAIN, action: "getConsent" , timestamp: new Date().getTime(), type: "functional" }};
window.top.postMessage(JSON.stringify(apiObject),"*");
apiObject = {PrivacyManagerAPI: { self: MY_DOMAIN, action: "getConsent" , timestamp: new Date().getTime(), type: "advertising" }};
window.top.postMessage(JSON.stringify(apiObject),"*");
_STATE.hasRunOnce = true;
_STATE.i && clearInterval(_STATE.i);
}
}
/**
* This function returns value of notice_behavior cookie to determine location and behavior manager based on domain.
* When no notice_behavior cookie exists, this returns a blank string.
*/
function getBehavior() {
var result = "";
var rx = new RegExp("\\s*notice_behavior\\s*=\\s*([^;]*)").exec(document.cookie);
if(rx&&rx.length>1){
result = rx[1];
}
return result;
}
/**
* This function is called whenever a user preference is initially set, is retrieved for the first time on this page, or is updated.
* This is the gateway function which should be customized by each client (you) to determine when and how to handle the API response.
*
* The second half of the function determines settings from the CM API, and decides which elements on the page should be "activated" based upon those settings.
* Elements can only be activated once. Elements can not be deactivated, once activated.
*/
function handleAPIResponse(response){
//CHECK: make sure this response is to YOU. You will actually get the messages to all API callers on this page, not just to you.
if(!response.source || response.self != MY_DOMAIN ) return;
console.log("user decision",response);
//Required trackers/cookies are always allowed, no need to ask permission.
if( !_STATE.hasLoadedRequired ){
activateElement(document.querySelectorAll(".trustecm[trackertype=required]"));
_STATE.hasLoadedRequired = true;
}
// Check if behavior manager is EU
var isEU = /.*(,|)eu/i.test(getBehavior());
//Case where we don't want to do anything till the user has made a preference.
if(isEU && REQUIRE_USER_EXPRESSED_PERMISSION && response.source != "asserted" ) return;
//Step 1) Get Consent Manager settings (user prefs)
// These API calls are DIFFERENT than the original API call ("response" parameter) so they must be called separately.
//Step 2) Apply the settings after checking if approved
var setting = null;
if( !_STATE.hasLoadedAdvertising ){
setting = PrivacyManagerAPI.callApi("getConsent", MY_DOMAIN , null ,null, "advertising");
if( setting.consent=="approved" ){
activateElement(document.querySelectorAll(".trustecm[trackertype=advertising]"));
_STATE.hasLoadedAdvertising = true;
}console.log(setting);
}
if( !_STATE.hasLoadedFunctional ){
setting = PrivacyManagerAPI.callApi("getConsent", MY_DOMAIN , null ,null, "functional");
if( setting.consent=="approved" ){
activateElement(document.querySelectorAll(".trustecm[trackertype=functional]"));
_STATE.hasLoadedFunctional = true;
}console.log(setting);
}
// No additional checking, this always fires, but only after a user has consented
if( !_STATE.hasLoadedAnyConsent ){
activateElement(document.querySelectorAll(".trustecm[trackertype=any]"));
_STATE.hasLoadedAnyConsent = true;
}
//check of vendor domain and fires if that domain is approved, which is based on how that domain was categorized on the backend
var vendors = document.querySelectorAll(".trustecm[trackertype=vendor]");
for (var i=0; i < vendors.length; i++) {
var currentVendor = vendors[i];
var vDomain = currentVendor.getAttribute("vsrc");
if (vDomain && !_STATE['hasLoaded'+vDomain]) {
setting = PrivacyManagerAPI.callApi("getConsent", MY_DOMAIN, vDomain);
if( setting.consent=="approved" ){
activateElement(document.querySelectorAll(".trustecm[trackertype=vendor][vsrc='"+ vDomain +"']"));
_STATE['hasLoaded'+vDomain] = true;
}console.log(setting);
}
}
}
/**
* Activates (runs, loads, or displays) an element based upon element node name.
* @param {Array.<HTMLElement>} list
*/
function activateElement(list){
if(!(list instanceof Array || list instanceof NodeList)) throw "Illegal argument - must be an array";
console.log("activating", list);
for(var item,i=list.length;i-- >0;){
item = list[i];
item.class = "trustecm_done";
switch(item.nodeName.toLowerCase()){
case "script":
var z = item.getAttribute("thesrc");
if(z){
var y = document.createElement("script");
y.src = z;
y.async = item.async;
item.parentNode.insertBefore(y,item);
}else eval(item.text || item.textContent || item.innerText);
}
}
}
_STATE.i = setInterval(runOnce,10);
</script>
<div id="chatJavaScriptAlertHeader" style="display: none;">If you see this, then either you have disabled JavaScript, or there is a syntax error in the Avaya WebChat files.</div>
<div id="cobrowseJavaScriptAlertHeader" style="display: none;">If you see this, then either you have disabled JavaScript, or there is a syntax error in the Avaya CoBrowsing files.</div>
<div id="Header" class="ui primary raised segment nomargin">
<div class="ui basic segment">
<div class="ui stackable grid">
<div id="logo" class="three wide column">
<a href="http://doterra.myvoffice.com"><img src="/skins/skin01/images/logo.svg" class="ui small image logo" alt="dōTERRA" border="0"/></a>
</div>
<div class="computer only ten wide tablet only ten wide column nopadding">
<div id="bc">
<table id="appprogresstable" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td class="tertiary2">
ENROLLMENT OPTIONS
</td>
<td >
ABOUT YOU
</td>
<td >
1ST ORDER SETUP
</td>
<td >
Complete registration
</td>
</tr>
<tr>
<td><div id="step" class="active"></div><div id="inactivelineright"></div></td>
<td><div id="step" class="inactive"></div><div id="inactivelineleft"></div><div id="inactivelineright"></div></td>
<td><div id="step" class="inactive"></div><div id="inactivelineleft"></div><div id="inactivelineright"></div></td>
<td><div id="step" class="inactive"></div><div id="inactivelineleft"></div></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="computer only three wide tablet only three wide column nopadding">
</div>
</div>
</div>
</div>
<div class="ui container hebrew">
<div class="MainContent">
<style>
#Header { display:none;}
.MainContent { display:none;}
</style>
<script>
$(document).ready(function() {
$('#Header').show();
$('.MainContent').show();
});
</script>
<form id="MemberTypeForm" method="post" action="index.cfm" class="ui form">
<input type='hidden' name='c_token' value='lp0n3187j4d1bgmfgfx0ctggvpyan1ydvonlrhdy'><input type='hidden' name='f_cd' value='09/07/2024 18:32:08'>
<input type="hidden" name="Fuseaction" value="ApplicationType.ProcessType">
<input type="hidden" id="DistID" name="DistID" value="">
<input type="hidden" id="MemberTypeStatus" name="MemberTypeStatus" value="">
<input type="hidden" id="OTGSELECTED" name="OTGSELECTED" value="1">
<input type="hidden" id="ChangeMyLanguage" name="ChangeMyLanguage" value="en_dot">
<input type="hidden" name="ByPassOrderSelection" value="1">
<div id="ApplicationTypeHeader" class="ui center aligned basic segment nopadding">
<h2 class="ui secondary header">
<span class="OA_Selecthow">
Select How You Would Like to Purchase Products
<ul><b>Please note these options have changed
</span>
</h2>
</div>
<div id="PleaseNotText" class="ui center aligned basic segment nomargin" style="display:none;">
<h4 class="ui secondary header">
Please note these options have changed
</h4>
</div>
<input type="Hidden" id="HomeCountry" name="HomeCountry" value="">
<input type="Hidden" id="EOHomeCountry" name="EOHomeCountry" value="">
<input type="Hidden" id="GACHomeCountry" name="GACHomeCountry" value="">
<input type="Hidden" id="RUSHomeCountry" name="RUSHomeCountry" value="">
<input type="Hidden" id="ZAFHomeCountry" name="ZAFHomeCountry" value="">
<input type="Hidden" id="WarehouseID" name="WarehouseID" value="">
<input type="Hidden" id="SetGovernmentID" name="SetGovernmentID" value="">
<div id="MemberTypeWholesaleBubble" class="ui segment nopadding" onclick="SelectType('WholesaleType');">
<div class="ui stackable grid nomargin">
<div id="WholesaleCustomerSelectDiv" class="six wide column nopadding">
<img id="TypeCustomer" class="ui fluid image" src="skins/skin01/images/TypeCustomer.png">
<div id="WholesaleCustomerSelect" class="inline field hebrew">
<div class="ui radio checkbox">
<input type="Radio" name="MemberType" value="W" id="WholesaleType">
<label for="WholesaleType"><h2>Wholesale<br>Customer</h2></label>
</div>
</div>
</div>
<div id="WholesaleCustomerInfoDiv" class="ten wide middle aligned column nopadding">
<div class="ui basic segment nomargin hebrew">
<div class="ui list">
<div class="item">
<i class="primary check icon"></i>
<div class="content">
No monthly order required
</div>
</div>
<div
<div class="item">
<i class="primary check icon"></i>
<div class="content">
Option to receive 10-30% of your total purchase back in FREE product points
</div>
</div>
<div class="item">
<i class="primary check icon"></i>
<div class="content">
Eligibility to receive dōTERRA's FREE Product of the Month
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="MemberTypeDistributorBubble" class="ui segment nopadding" onclick="SelectType('DistributorMemberType');">
<div class="ui stackable grid nomargin">
<div id="DistributorSelectDiv" class="six wide column nopadding">
<img id="TypeDistributor" class="ui fluid image" src="skins/skin01/images/TypeDistributor.png">
<div id="DistributorSelect" class="inline field hebrew">
<div class="ui radio checkbox">
<input type="Radio" id="DistributorMemberType" name="MemberType" value="D" checked>
<label for="DistributorMemberType"><h2>Wellness Advocate</h2></label>
</div>
</div>
</div>
<div id="DistributorInfoDiv" class="ten wide middle aligned column nopadding">
<div class="ui basic segment nomargin hebrew">
<div class="ui list">
<div class="item">
<i class="primary check icon"></i>
<div class="content">
No monthly order required
</div>
</div>
<div
<div class="content">
</div>
<div class="item">
<i class="primary check icon"></i>
<div class="content">
Option to receive 10-30% of your total purchase back in FREE product points
</div>
</div>
<div class="item">
<i class="primary check icon"></i>
<div class="content">
Eligibility to receive dōTERRA's FREE Product of the Month
</div>
</div>
<div class="item">
<i class="primary check icon"></i>
<div class="content">
Ability to earn compensation and bonuses
</div>
</div>
<div class="item">
<i class="primary check icon"></i>
<div class="content">
Ability to sign up new Wholesale Customers and Wellness Advocates
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="MemberTypeCustomerBubble" class="ui segment nopadding" onclick="SelectType('CustomerType');">
<div class="ui stackable grid nomargin">
<div id="CustomerSelectDiv" class="six wide column nopadding">
<div id="CustomerSelect" class="inline field">
<div class="ui radio checkbox">
<input type="Radio" name="MemberType" value="P" id="CustomerType">
<label for="CustomerType"><h2>Preferred<br>Member<br>Prices</h2></label>
</div>
</div>
</div>
<div id="CustomerInfoDiv" class="ten wide column nopadding">
<ul>
<li>Receive special pricing (20% discount) on all product purchases </li>
<li>No monthly order required</li>
<li>Option to receive 10-30% of your total purchase back in FREE product points</li>
<li>One-time enrollment fee -- no annual renewal fee</li>
</ul>
</div>
</div>
</div>
<div id="AdditionalInfoDiv" class="ui basic segment nopadding">
According to the Immigration Control Act, foreigners can only register for documents (store visits, e-mail or fax). For more information, contact the Customer Support Department TEL.
Please contact us at 1600-5105.
</div>
<div class="ui center aligned basic segment hebrew">
<input type="button" id="CONTINUEBTN" name="NextButton" class="avcobrowse-block ui basic primary button continuebutton" OnClick="SubmitTypeForm();" value='CONTINUE'>
</div>
</form>
<script>
function SelectType(id) {
document.getElementById(id).checked=true;
$('#MemberTypeDistributorBubble').removeClass('disabled');
$('#MemberTypeWholesaleBubble').removeClass('disabled');
$('#MemberTypeCustomerBubble').removeClass('disabled');
switch(id) {
case "DistributorMemberType":
/* START WF159613 - Chris H */
if (document.getElementById('EOCountries').value=='ITA'){
document.getElementById('CONTINUEBTN').style.display='none';
$('#divItalyPopup').modal('show');
}
/* END WF159613 */
/* START WF167925 */
if (document.getElementById('SelectHomeCountry').value=='TWN'){
document.getElementById('CONTINUEBTN').style.display='none';
$('#divTWNPopup').modal('show');
}
/* END WF167925 */
$('#MemberTypeWholesaleBubble').addClass('disabled');
$('#MemberTypeCustomerBubble').addClass('disabled');
break;
case "WholesaleType":
$('#MemberTypeDistributorBubble').addClass('disabled');
$('#MemberTypeCustomerBubble').addClass('disabled');
document.getElementById('CONTINUEBTN').style.display='inline-block'; /* WF159613 - Chris H */
break;
case "CustomerType":
$('#MemberTypeWholesaleBubble').addClass('disabled');
$('#MemberTypeDistributorBubble').addClass('disabled');
document.getElementById('CONTINUEBTN').style.display='inline-block'; /* WF159613 - Chris H */
break;
}
}
function SubmitTypeForm() {
if (document.getElementById('HomeCountry').value == 'AUS') {
document.getElementById('ChangeMyLanguage').value = 'en_aus';
}
else {
document.getElementById('ChangeMyLanguage').value = 'en_dot';
}
document.getElementById('MemberTypeForm').submit();
}
function UpgradeSubmitTypeForm() {
if (document.getElementById('HomeCountry').value == "USA") {
var nonDistType = "WholesaleType";
}
else {
var nonDistType = "CustomerType";
}
if (document.getElementById("DistributorMemberType").checked){
var checkedStatus = document.getElementById("DistributorMemberType").value;
}
else if (document.getElementById(nonDistType).checked){
var checkedStatus = document.getElementById(nonDistType).value;
}
document.getElementById("MemberTypeStatus").value = checkedStatus;
document.getElementById("DistributorMemberType").value = "U";
document.getElementById(nonDistType).value = "U";
if (document.getElementById('HomeCountry').value == 'AUS') {
document.getElementById('ChangeMyLanguage').value = 'en_aus';
}
else {
document.getElementById('ChangeMyLanguage').value = 'en_dot';
}
document.getElementById('MemberTypeForm').submit();
}
</script>
<script>
$( "#DistributorMemberType" ).click(function() {
if (document.getElementById('HomeCountry').value == "KOR") {
SubmitTypeForm();
}
});
$( "#WholesaleType" ).click(function() {
if (document.getElementById('HomeCountry').value == "KOR") {
SubmitTypeForm();
}
});
function setByPassFlag() {
if (document.getElementById("TWNbypassGovID").checked){
document.getElementById("TWNbypassGovID").value = "Y";
}
else{
document.getElementById("TWNbypassGovID").value = "";
}
}
</script>
</div>
</div>
</div>
<div id="overlay2" class="OA_overlay2"> </div>
</body>
</html>
<script>
$('.AppHelp').popup();
/*if(/Android/i.test(navigator.userAgent)){
setTimeout(function(){startingwindowheight = screen.height;},50);
$('input').on('focus', function(event){
setTimeout(function(){
var newwindowheight = screen.height;
var heightdiff = startingwindowheight - newwindowheight;
var spacediv = document.createElement("DIV");
document.body.appendChild(spacediv);
$(spacediv).css('height', heightdiff);
$(spacediv).attr('id','spacediv');
},500);
});
$('input').on('blur', function(event){
var spacediv = document.getElementById('spacediv');
if (typeof spacediv != 'undefined' && spacediv != null)
{
spacediv.parentNode.removeChild(spacediv);
}
});
}*/
</script>
<style type="text/css">
/*WF112739*/
.costaOffAddress {
font-size:12px;
margin-bottom: 1em;
color: #333333;
}
</style>
<script>
function CheckLanguage(languageselected) {
addDimmer();
if (document.getElementById('SelectHomeCountry')) {
var sel = document.getElementById('SelectHomeCountry');
var opt = sel.options[sel.selectedIndex];
thisvalue=opt.value;
ThisLanguageForm=document.LanguageForm2;
$(ThisLanguageForm).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + thisvalue + "'>");
}
else {
thisvalue='';
}
document.cookie = "Language=" + $('#AppChangeMyLanguage').val();
document.LanguageForm2.submit();
}
</script>
<div id="PopUp">
<div id="PopUpHeader" class="ui primary raised segment nomargin">
<div class="ui container">
<div class="ui stackable grid">
<div id="logo" class="sixteen wide column">
<a href="http://doterra.myvoffice.com"><img src="/skins/skin01/images/logo.svg" class="ui small image logo" alt="dōTERRA" border="0"/></a>
</div>
</div>
</div>
</div>
<div class="ui container">
<div id="PopUpBanner" class="ui basic segment nopadding nomargin">
<img src="skins/skin01/images/App_Banner.png" alt="App Banner">
</div>
<div class="ui one column centered grid">
<div class="sixteen wide mobile twelve wide tablet eight wide computer column">
<div class="ui center aligned basic segment">
<img src="/skins/skin01/images/World_sm.png" alt="World">
</div>
<div class="ui basic segment nomargin">
</div>
<div class="ui basic segment nomargin">
<form id="SelectMarketPopUp" method="post" action="index.cfm" class="ui form hebrew">
<input type="hidden" name="HidePopup" value="1">
<input type="hidden" name="FuseAction" value="ApplicationType.SelectMemberType">
<div class="field">
<label><div class="hebrew2">Region:</div></label>
<select id="SelectHomeCountry" name="HomeCountry" onChange="reloadCountry(this.value);">
<option value="">Select Country</option>
<option value="ZAF" >Africa</option>
<option value="AUS" >Australia</option>
<option value="BRA" >Brasil</option>
<option value="CAN" >Canada</option>
<option value="CHL" >Chile</option>
<option value="COL" >Colombia</option>
<option value="CRI" >Costa Rica</option>
<option value="ECU" >Ecuador</option>
<option value="SLV" >El Salvador</option>
<option value="EO" >Europe</option>
<option value="PYF" >French Polynesia</option>
<option value="GUA" >Guatemala</option>
<option value="HKG" >Hong Kong/Macau 香港/澳門</option>
<option value="IND" >India</option>
<option value="ISR" >Israel</option>
<option value="JPN" >Japan</option>
<option value="KAZ" >Kazakhstan</option>
<option value="MYS" >Malaysia</option>
<option value="MEX" >Mexico</option>
<option value="NZL" >New Zealand</option>
<option value="GAC" >Other (Global Access Country)</option>
<option value="PHL" >Philippines</option>
<option value="RUS" >Russia (EAEU)</option>
<option value="SGP" >Singapore</option>
<option value="KOR" >South Korea</option>
<option value="TWN" >Taiwan</option>
<option value="THA" >Thailand</option>
<option value="ARE" >United Arab Emirates</option>
<option value="USA" >United States</option>
</select>
</div>
<div id="PleaseChooseCountry" style="color:red;display:none;padding-top:5px;">Please choose a country</div>
<div id="EO" class="field" style="display:none;">
<select id="EOCountries" name="EOHomeCountry" onchange=" {$('#divPopupNorway').modal('hide');}reloadCountry(this.value);">
<option value="" selected>Choose Market</option>
<option value="EO_Andorra"
>
Andorra
</option>
<option value="EO_Austria"
>
Austria
</option>
<option value="EO_Belgium"
>
Belgium
</option>
<option value="EO_Bulgaria"
>
Bulgaria
</option>
<option value="EO_Croatia"
>
Croatia
</option>
<option value="EO_Cyprus"
>
Cyprus
</option>
<option value="EO_Czech Republic"
>
Czech Republic
</option>
<option value="EO_Denmark"
>
Denmark
</option>
<option value="EO_Estonia"
>
Estonia
</option>
<option value="EO_Finland"
>
Finland
</option>
<option value="EO_France"
>
France
</option>
<option value="DEU"
>
Germany
</option>
<option value="EO_Greece"
>
Greece
</option>
<option value="EO_Hungary"
>
Hungary
</option>
<option value="EO_Iceland"
>
Iceland
</option>
<option value="EO_Ireland"
>
Ireland
</option>
<option value="EO_Israel"
>
Israel
</option>
<option value="ITA"
>
Italy
</option>
<option value="EO_Latvia"
>
Latvia
</option>
<option value="EO_Liechtenstein"
>
Liechtenstein
</option>
<option value="EO_Lithuania"
>
Lithuania
</option>
<option value="EO_Luxembourg"
>
Luxembourg
</option>
<option value="EO_Malta"
>
Malta
</option>
<option value="EO_Moldova"
>
Moldova
</option>
<option value="EO_Monaco"
>
Monaco
</option>
<option value="EO_Netherlands"
>
Netherlands
</option>
<option value="EO_Norway"
>
Norway
</option>
<option value="EO_Poland"
>
Poland
</option>
<option value="EO_Portugal"
>
Portugal
</option>
<option value="EO_Romania"
>
Romania
</option>
<option value="EO_Slovakia"
>
Slovakia
</option>
<option value="EO_Slovenia"
>
Slovenia
</option>
<option value="EO_Spain"
>
Spain
</option>
<option value="EO_Sweden"
>
Sweden
</option>
<option value="EO_Switzerland"
>
Switzerland
</option>
<option value="GBR"
>
United Kingdom
</option>
</select>
</div>
<div id="GAC" class="field" style="display:none;">
<select id="GACCountries" name="GACHomeCountry" onChange="reloadCountry(this.value);">
<option value="" selected>Choose Market</option>
<option value="GAC_Albania" >Albania</option>
<option value="GAC_Algeria" >Algeria</option>
<option value="GAC_Angola" >Angola</option>
<option value="GAC_Anguilla" >Anguilla</option>
<option value="GAC_Argentina" >Argentina</option>
<option value="GAC_Armenia" >Armenia</option>
<option value="GAC_Aruba" >Aruba</option>
<option value="GAC_Azerbaijan" >Azerbaijan</option>
<option value="GAC_Bahamas" >Bahamas</option>
<option value="GAC_Bahrain" >Bahrain</option>
<option value="GAC_Bangladesh" >Bangladesh</option>
<option value="GAC_Barbados" >Barbados</option>
<option value="GAC_Barbuda and Antigua" >Barbuda and Antigua</option>
<option value="GAC_Belarus" >Belarus</option>
<option value="GAC_Belize" >Belize</option>
<option value="GAC_Benin" >Benin</option>
<option value="GAC_Bermuda" >Bermuda</option>
<option value="GAC_Bolivia" >Bolivia</option>
<option value="GAC_Bonaire" >Bonaire</option>
<option value="GAC_Bosnia and Herzegovina" >Bosnia and Herzegovina</option>
<option value="GAC_Botswana" >Botswana</option>
<option value="GAC_British Virgin Islands" >Virgin Islands (British)</option>
<option value="GAC_Brunei Darussalam" >Brunei Darussalam</option>
<option value="GAC_Cabo Verde" >Cabo Verde</option>
<option value="GAC_Cambodia" >Cambodia</option>
<option value="GAC_Cameroon" >Cameroon</option>
<option value="GAC_Cayman Islands" >Cayman Islands</option>
<option value="GAC_Chad" >Chad</option>
<option value="GAC_Channel Islands" >Channel Islands</option>
<option value="GAC_Comoros" >Comoros</option>
<option value="GAC_Curacao" >Curacao</option>
<option value="GAC_Cyprus" >Cyprus</option>
<option value="GAC_Democratic Republic of Congo" >Democratic Republic of Congo</option>
<option value="GAC_Djibouti" >Djibouti</option>
<option value="GAC_Dominican Republic" >Dominican Republic</option>
<option value="GAC_Egypt" >Egypt</option>
<option value="GAC_El Salvador" >El Salvador</option>
<option value="GAC_Equatorial Guinea" >Equatorial Guinea</option>
<option value="GAC_Ethiopia" >Ethiopia</option>
<option value="GAC_Falkland Islands" >Falkland Islands</option>
<option value="GAC_Fiji" >Fiji</option>
<option value="GAC_French Guiana" >French Guiana</option>
<option value="GAC_Gabon" >Gabon</option>
<option value="GAC_Gambia" >Gambia</option>
<option value="GAC_Georgia" >Georgia</option>
<option value="GAC_Ghana" >Ghana</option>
<option value="GAC_Greenland" >Greenland</option>
<option value="GAC_Grenada" >Grenada</option>
<option value="GAC_Guadeloupe (of Caribbean Islands)" >Guadeloupe (of Caribbean Islands)</option>
<option value="GAC_Guam" >Guam</option>
<option value="GAC_Guernsey" >Guernsey</option>
<option value="GAC_Guinea" >Guinea</option>
<option value="GAC_Guinea-Bissau" >Guinea-Bissau</option>
<option value="GAC_Guyana" >Guyana</option>
<option value="GAC_Haiti" >Haiti</option>
<option value="GAC_Holy See" >Holy See</option>
<option value="GAC_Honduras" >Honduras</option>
<option value="GAC_Indonesia" >Indonesia</option>
<option value="GAC_Ivory Coast (Cote d'Ivoire)" >Ivory Coast (Cote d'Ivoire)</option>
<option value="GAC_Jamaica" >Jamaica</option>
<option value="GAC_Jersey" >Jersey</option>
<option value="GAC_Jordan" >Jordan</option>
<option value="GAC_Kenya" >Kenya</option>
<option value="GAC_Kiribati" >Kiribati</option>
<option value="GAC_Kosovo" >Kosovo</option>
<option value="GAC_Kuwait" >Kuwait</option>
<option value="GAC_Kyrgyzstan" >Kyrgyzstan</option>
<option value="GAC_Lao PDR" >Lao PDR</option>
<option value="GAC_Lebanon" >Lebanon</option>
<option value="GAC_Lesotho" >Lesotho</option>
<option value="GAC_Liberia" >Liberia</option>
<option value="GAC_Macau" >Macau</option>
<option value="GAC_Macedonia" >Macedonia</option>
<option value="GAC_Madagascar" >Madagascar</option>
<option value="GAC_Malaysia" >Malaysia</option>
<option value="GAC_Maldives" >Maldives</option>
<option value="GAC_Marshall Islands" >Marshall Islands</option>
<option value="GAC_Martinique" >Martinique</option>
<option value="GAC_Mauritania" >Mauritania</option>
<option value="GAC_Mauritius" >Mauritius</option>
<option value="GAC_Micronesia" >Micronesia</option>
<option value="GAC_Moldova" >Moldova</option>
<option value="GAC_Mongolia" >Mongolia</option>
<option value="GAC_Montenegro" >Montenegro</option>
<option value="GAC_Montserrat" >Montserrat</option>
<option value="GAC_Morocco" >Morocco</option>
<option value="GAC_Mozambique" >Mozambique</option>
<option value="GAC_Myanmar" >Myanmar</option>
<option value="GAC_Namibia" >Namibia</option>
<option value="GAC_Nepal" >Nepal</option>
<option value="GAC_New Caledonia" >New Caledonia</option>
<option value="GAC_Nicaragua" >Nicaragua</option>
<option value="GAC_Niger" >Niger</option>
<option value="GAC_Nigeria" >Nigeria</option>
<option value="GAC_Oman" >Oman</option>
<option value="GAC_Other various Caribbean Islands near the area of Antigua and Barbuda" >Other various Caribbean Islands near the area of Antigua and Barbuda</option>
<option value="GAC_Pakistan" >Pakistan</option>
<option value="GAC_Panama" >Panama</option>
<option value="GAC_Papua New Guinea" >Papua New Guinea</option>
<option value="GAC_Paraguay" >Paraguay</option>
<option value="GAC_Peru" >Peru</option>
<option value="GAC_Qatar" >Qatar</option>
<option value="GAC_Rwanda" >Rwanda</option>
<option value="GAC_Saba" >Saba</option>
<option value="GAC_Saint Lucia" >Saint Lucia</option>
<option value="GAC_Saint Vincent and the Grenadines" >Saint Vincent and the Grenadines</option>
<option value="GAC_Saint-Martin" >Saint-Martin</option>
<option value="GAC_Samoa" >Samoa</option>
<option value="GAC_San Marino" >San Marino</option>
<option value="GAC_Sao Tome and Principe" >Sao Tome and Principe</option>
<option value="GAC_Saudi Arabia" >Saudi Arabia</option>
<option value="GAC_Senegal" >Senegal</option>
<option value="GAC_Serbia" >Serbia</option>
<option value="GAC_Seychelles" >Seychelles</option>
<option value="GAC_Sierra Leone" >Sierra Leone</option>
<option value="GAC_Sint Eustatius" >Sint Eustatius</option>
<option value="GAC_Sint Maarten" >Sint Maarten</option>
<option value="GAC_Slovak Republic" >Slovak Republic</option>
<option value="GAC_Solomon Islands" >Solomon Islands</option>
<option value="GAC_South Africa" >South Africa</option>
<option value="GAC_South Sudan" >South Sudan</option>
<option value="GAC_Sri Lanka" >Sri Lanka</option>
<option value="GAC_Sudan" >Sudan</option>
<option value="GAC_Suriname" >Suriname</option>
<option value="GAC_Swaziland" >Swaziland</option>
<option value="GAC_Syria" >Syria</option>
<option value="GAC_Tajikistan" >Tajikistan</option>
<option value="GAC_Tanzania" >Tanzania</option>
<option value="GAC_Thailand" >Thailand</option>
<option value="GAC_Timor-Leste" >Timor-Leste</option>
<option value="GAC_Togo" >Togo</option>
<option value="GAC_Tonga" >Tonga</option>
<option value="GAC_Trinidad and Tobago" >Trinidad and Tobago</option>
<option value="GAC_Tunisia" >Tunisia</option>
<option value="GAC_Turkey" >Turkey</option>
<option value="GAC_Uganda" >Uganda</option>
<option value="GAC_Ukraine" >Ukraine</option>
<option value="GAC_Uruguay" >Uruguay</option>
<option value="GAC_Uzbekistan" >Uzbekistan</option>
<option value="GAC_Vanuatu" >Vanuatu</option>
<option value="GAC_Vatican City" >Vatican City</option>
<option value="GAC_Venezuela" >Venezuela</option>
<option value="GAC_Vietnam" >Vietnam</option>
<option value="GAC_Yemen" >Yemen</option>
<option value="GAC_Zambia" >Zambia</option>
<option value="GAC_Zimbabwe" >Zimbabwe</option>
</select>
</div>
<div id="RUS" class="field" style="display:none;">
<select id="RUSCountries" name="RUSHomeCountry">
<option value="RUS_Russia">Russia</option>
<option value="RUS_Belarus">Belarus</option>
</select>
</div>
</form>
</div>
<div class="ui basic segment nomargin">
<form method="Post" action="index.cfm?" name="LanguageForm2" class="ui form">
<input type="hidden" name="EnrollerID_ATP" value="458046">
<input type="hidden" name="EnrollerID" value="458046">
<div class="field hebrew">
<label><div class="hebrew2">Language Preference</div></label>
<div id="PleaseChooseLanguage" style="color:red;display:none;padding-top:5px;">Please choose a language</div>
<select name="ChangeMyLanguage" id="AppChangeMyLanguage" size="1" OnChange="CheckLanguage(this.value);">
<option value="" disabled selected>Select a Language</option>
<option value="ar">Arabic</option>
<option value="ms">Bahasa Malaysia</option>
<option value="zh_can">Chinese - 中文 </option>
<option value="zh_hkg">Chinese - 中文(香港)</option>
<option value="zh_cn">Chinese - 中文(简体)</option>
<option value="zh_tw">Chinese - 中文(台灣)</option>
<option value="zh_usa">Chinese - 中文(繁體)</option>
<option value="de">German - Deutsch</option>
<option value="nl">Dutch</option>
<option value="en_dot" selected>English</option>
<option value="en_aus">English - Australia & New Zealand</option>
<option value="en_uk">English - Europe</option>
<option value="en_in">English-India</option>
<option value="es_chl">Español - Chile</option>
<option value="fr">French - Français</option>
<option value="he">Hebrew</option>
<option value="hu">Hungarian</option>
<option value="it">Italian</option>
<option value="ja">Japanese - 日本語</option>
<option value="ko">Korean</option>
<option value="pl">Polish</option>
<option value="pt">Portuguese</option>
<option value="pt_bra">Portuguese - Brazil</option>
<option value="ro">Romanian</option>
<option value="ru">Russian</option>
<option value="ru_eeo">Russian EEO</option>
<option value="ru_uk">Russian-Ukraine</option>
<option value="sk">Slovak</option>
<option value="es">Spanish - ESPAÑOL</option>
<option value="es_col">Spanish</option>
<option value="es_mex">Spanish - Español (Mexico)</option>
<option value="sv">Swedish</option>
<option value="th">Thai - ภาษาไทย</option>
<option value="zh_sgp">Chinese - 中文(新加坡)</option>
<option value="zh_my">中文 (马来西亚)</option>
<option value="zh_aus">Chinese - 中文-澳大利亚</option>
</select>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div id="divPopupNorway" class="ui small modal">
<div class="ui basic segment nomargin">
Please note that orders shipping to Norway must contain approved products or the order will not ship. To find a list of the approved products please click on the following link or contact customer service for further details.
</div>
<div class="ui basic segment nomargin">
<a href = "http://doterraeveryday.eu/approved-norway-products/" target="blank" onClick="$('#divPopupNorway').modal('hide');">List of Approved Products for Norway</a>
</div>
<div class="ui center aligned basic segment nomargin">
<input type="button" class="ui primary button" value="OK" onClick="$('#divPopupNorway').modal('hide');">
</div>
</div>
<script>
function CloseNFROTG() {
if (document.getElementById('OTGRadio').checked) {
document.getElementById('OTGSELECTED').value='1';
if (document.getElementById('SelectHomeCountry').value == 'EO')
{
if ($('#EOCountries').val().split('_').length > 1)
{
var thisCou = $('#EOCountries').val().split('_')[1];
}
else
{
var thisCou = $('#EOCountries').val();
}
} else if (document.getElementById('SelectHomeCountry').value == 'GAC')
{
if ($('#GACCountries').val().split('_').length > 1)
{
var thisCou = $('#GACCountries').val().split('_')[1];
}
else
{
var thisCou = $('#GACCountries').val();
}
} else if (document.getElementById('SelectHomeCountry').value == 'RUS')
{
if ($('#RUSCountries').val().split('_').length > 1)
{
var thisCou = $('#RUSCountries').val().split('_')[1];
}
else
{
var thisCou = $('#RUSCountries').val();
}
} else if (document.getElementById('SelectHomeCountry').value == 'ZAF')
{
if ($('#ZAFCountries').val().split('_').length > 1)
{
var thisCou = $('#ZAFCountries').val().split('_')[1];
}
else
{
var thisCou = $('#ZAFCountries').val();
}
}
else
{
var thisCou = document.getElementById('SelectHomeCountry').value;
}
if (listFind("AUS,BRA,DEU,Andorra,Austria,Belgium,Bulgaria,Croatia,Cyprus,Czech Republic,Denmark,Estonia,Finland,France,Greece,Hungary,Iceland,Ireland,Latvia,Liechtenstein,Lithuania,Luxembourg,Malta,Moldova,Monaco,Netherlands,Norway,Poland,Portugal,Romania,Slovakia,Slovenia,Spain,Sweden,Switzerland,FRA,GBR,ITA,NZL,POL,ZAF",thisCou)) {
var getBuildURL=getShopURL(thisCou,document.getElementById('AppChangeMyLanguage').value);
if (getBuildURL != '') {
window.location.href="https://shop.doterra.com/"+getBuildURL+"/create-account?EnrollerID=458046";
return;
}
}
}
else if (document.getElementById('NFRRadio').checked) {
document.getElementById('OTGSELECTED').value='0';
if(document.getElementById('HomeCountry').value == "MEX") {
var input = document.createElement('input');
input.setAttribute('type','hidden');
input.setAttribute("name", "SecondAddressCountry");
input.setAttribute("value", "USA");
document.getElementById("MemberTypeForm").appendChild(input);
}
if(document.getElementById('HomeCountry').value == "ISR") {
var input = document.createElement('input');
input.setAttribute('type','hidden');
input.setAttribute("name", "SecondAddressCountry");
input.setAttribute("value", "ISRR");
document.getElementById("MemberTypeForm").appendChild(input);
}
}
document.getElementById('overlay2').style.display = 'none';
document.getElementById('APPNFROTG').style.display = 'none';
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
</script>
<div id="APPNFROTG">
<div id="PopUpHeader" class="ui primary raised segment nomargin">
<div class="ui container">
<div class="ui stackable grid">
<div id="logo" class="sixteen wide column">
<a href="http://doterra.myvoffice.com"><img src="/skins/skin01/images/logo.svg" class="ui small image logo" alt="dōTERRA" border="0"/></a>
</div>
</div>
</div>
</div>
<div class="ui container">
<div id="NFROTGHeader" class="ui center aligned basic segment nopadding">
<h2 class="nomargin">Type of Order</h2>
</div>
<br clear="all">
<div class="ui equal width stackable grid">
<div class="column">
<img id="NFROGTImg" src="skins/skin01/images/NFROTG.png" alt="NFROTG" title="NFG">
</div>
<div class="column hebrew">
<div class="ui basic segment nomargin">
<div id="OA_PurchasingChoiceText" class="ui basic segment nomargin" lang="en_dot">
Please select your purchasing order choice between receiving products from <span id='CountryName' style="color:#000000;font-size:17px"></span> or receiving products from USA.
</div>
<div class="ui basic segment nomargin">
<div id="OA_PurchasingChoiceSelections" class="ui form">
<div id="OTGContainer" class="field">
<div class="ui radio checkbox">
<input type="radio" name="NFROTGRadio" id="OTGRadio" value="OTG" checked="checked">
<label id="OTGRadioNZLL" for="OTGRadio" style="display:none;">
New Zealand products: Select this option if you wish to order your items from an New Zealand warehouse in New Zealand Dollars.
</label>
<label for="OTGRadio" id="OTGRadioRest">
<span class="OA_PurchasingChoiceOptionHeader">
Local (OTG) Order
</span><br>
Select this option if you wish to order your items from an <span id='CountryName2' class="extrabold"></span> <span class="extrabold">Warehouse</span> in <span id='CountryCurrency' class="extrabold"></span>
</label>
</div>
</div>
<div class="field">
<div class="ui radio checkbox">
<input type="radio" name="NFROTGRadio" id="NFRRadio" value="NFR">
<label id="NFRRadioNZLL" for="NFRRadio" style="display:none;">
USA Products: Select this option if you wish to order your items from a USA warehouse in US Dollars
</label>
<label for="NFRRadio" id="NFRRadioRest">
<span class="OA_PurchasingChoiceOptionHeader">
International (NFR)
</span><br>
Select this option if you wish to order your items from a <span class="extrabold">USA Warehouse</span> in <span class="extrabold">US Dollars</span>
</label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="ui center aligned basic segment hebrew">
<input type="button" OnClick="CloseNFROTG()" class="avcobrowse-block ui basic primary button continuebutton" value='CONTINUE'>
</div>
</div>
</div>
<div id="TWNPOPUP" class="ui small modal">
<div class="ui basic segment nomargin">
<div class="ui basic segment nomargin">
<h3 class="TWNCheckHeader">Join as a new Wellness Advocate</h3>
</div>
<div class="ui basic segment nomargin">
Please contact our <a href="http://www.doterra.com/#/en/international/asia/taiwan">Taiwan office</a> to find out more information
</div>
<div class="ui basic segment nomargin">
Phone number: 886-4-2210-7105; Email: taiwanservice@doterra.com
</div>
<div class="ui center aligned basic segment nomargin">
<a href="http://www.doterra.com" class="ui basic tertiary button">
Return Home
</a>
</div>
</div>
</div>
<div id="divItalyPopup" class="ui small modal">
<div class="ui basic segment nomargin">
<h3>Welcome to dōTERRA!</h3>
</div>
<div class="ui basic segment nomargin">
The Incaricati enrollment process includes a few simple steps:
<ul class="nomargin">
<li>You willbe asked to enter your personal information, your enroller and sponsor ID numbers (if applicable), and to place your enrollment order.</li>
<li>You will also be asked to fill out a form, detailing Italian income tax and social contribution withholdings, and agreeing to the data processing policy.</li>
<li>Once these steps are completed you will be asked to print, review, sign and date the form where indicated, and submit your signed form to dōTERRA.</li>
<li>Finally, you will be asked to create your Incaricati identification card by uploading a picture of yourself.</li>
<ul>
<li>To assist an email will be sent to you explaining how to print your form and create your identification card.</li>
<li>Please note, that until these steps are completed, your account willbe limited to that of a wholesale customer.</li>
</ul>
</ul>
</div>
<div class="ui basic segment nomargin">
We are pleased to have you join dōTERRA!Should you have any questions please contact us at: +39 0426270026 orassistenzaclienti@doterra.com.
</div>
<div class="ui center aligned basic segment nomargin">
<input type="button" class="ui basic primary button" onclick="$('#divItalyPopup').modal('hide');" value="Close">
<input type="button" class="ui primary button" onclick="SubmitTypeForm();" value="Continue">
</div>
</div>
<div id="divTWNPopup" class="ui small modal">
<div class="ui basic segment nomargin">
<h3>Welcome to dōTERRA!</h3>
</div>
<div class="ui basic segment nomargin">
Welcome to the ranks of doTERRA Wellness Advocate. After completing your enrollment, please remember to send back the signed agreement within 30 days. Thank you!
</div>
<div class="ui center aligned basic segment nomargin">
<input type="button" class="ui basic primary button" onclick="$('#divTWNPopup').modal('hide');" value=" Close ">
<input type="button" class="ui primary button" onclick="SubmitTypeForm();" value=" Continue ">
</div>
</div>
<div id="JPNStillTime" align="center" class="popup_layer" style="margin: 0px auto; position: absolute; top: 424px; left: 458px; background-color: transparent; overflow: visible; border: 0px; z-index: 5000; padding: 5px; display: none;">
<style>
.stilltime {
background-color:#DAE8F0;
}
</style>
<div class="save-changes-popup stilltime" style="width:400px;position:absoulte;">
<div style="text-align:left;width:350px;position:relative;float:center">
<p style="font-size:24px;font-weight:bold">Hey there night owl.</p> <p style="font-size:12px;font-weight:normal">It's not too late to place an order that counts for what is technically now last month. </p> <p style="font-size:12px;font-weight:normal">The commission period hasn't switched to a new month yet. Any orders placed at this time will still count towards <span style="font-weight:bold;font-style:italic">last month's</span> volume.</p>
</div>
<div style="position:relative;float:center;padding-bottom:20px">
<input type="button" class="savebutt" name="OKButton" onClick="parent.removeDiv('overlay');parent.removeDiv('JPNStillTime')" style="width:50px;" value="OK">
</div>
</div>
</div>
<script>
document.getElementById('AppChangeMyLanguage').onchange = function(){
if(this.value == 'ko') {
var country = document.getElementById('SelectHomeCountry');
var countries = country.options;
for(var index = 0;index < countries.length;index ++) {
if(countries[index].value == 'KOR') {
country.selectedIndex = index;
break;
}
}
}
CheckLanguage(this.value);
};
function ShowHideEO() {
var sel = document.getElementById('SelectHomeCountry');
var opt = sel.options[sel.selectedIndex];
if (opt.value == "EO") {
document.getElementById('EO').style.display = "block";
document.getElementById('GAC').style.display = "none";
}
else if (opt.value == "GAC") {
document.getElementById('GAC').style.display = "block";
document.getElementById('EO').style.display = "none";
}
else if (opt.value == "ZAF") {
document.getElementById('EO').style.display = "none";
document.getElementById('GAC').style.display = "none";
}
else {
document.getElementById('EO').style.display = "none";
document.getElementById('GAC').style.display = "none";
}
CheckTradChinese();
}
function reloadCountry(cou) {
addDimmer();
var dmd = "";
/* START WF171402 Megan D: Adding URL for EO subcountries on reload */
if(cou.substring(0, 2) == 'EO' || cou == 'DEU' || cou == 'ITA' || cou == 'GBR'){
var buildurl = "https://beta-doterra.myvoffice.com/Application/index.cfm?Country=EO&SubCountry="+cou+dmd;
} else if(cou.substring(0, 3) == 'ZAF'){
var buildurl = "https://beta-doterra.myvoffice.com/Application/index.cfm?Country=ZAF&SubCountry="+cou+dmd;
} else if(cou.substring(0, 3) == 'GAC'){
var subCou = cou.slice(4);
cou = 'GAC';
var buildurl = "https://beta-doterra.myvoffice.com/Application/index.cfm?Country=GAC&SubCountry="+subCou+dmd;
} else{
var buildurl = "https://beta-doterra.myvoffice.com/Application/index.cfm?Country="+cou+dmd;
}
/* END WF171402 MD */
buildurl+="&EnrollerID=458046";
var allNativeLang="{\"JPN\":\"ja\",\"KOR\":\"ko\",\"EO_France\":\"fr\",\"ISR\":\"he\",\"EO_Ireland\":\"en_uk\",\"PYF\":\"en_dot\",\"THA\":\"th\",\"FRA\":\"fr\",\"CHNN\":\"zh_tw\",\"MEXX\":\"en_dot\",\"EO_Slovenia\":\"sl\",\"ISRR\":\"zh_tw\",\"NZLA\":\"zh_tw\",\"KAZ\":\"ru\",\"EO_Romania\":\"ro\",\"USA\":\"en_dot\",\"PNT\":\"zh_tw\",\"CRI\":\"es\",\"EO_Czech Republic\":\"en_uk\",\"CHL\":\"es_chl\",\"EO_Liechtenstein\":\"de\",\"EO_Cyprus\":\"en_uk\",\"HKG\":\"zh_hkg\",\"ARE\":\"en_uk\",\"BRA\":\"pt_bra\",\"EO_Israel\":\"he\",\"SGPP\":\"zh_tw\",\"EO_Belgium\":\"en_uk\",\"EO_Hungary\":\"hu\",\"EO_Greenland\":\"en_uk\",\"MYSS\":\"zh_tw\",\"UKR\":\"ru_uk\",\"JPNN\":\"zh_tw\",\"POL\":\"en_uk\",\"EO_Greece\":\"en_uk\",\"EO_Bulgaria\":\"en_uk\",\"ZAF\":\"en_uk\",\"SGP\":\"en_dot\",\"EO_Netherlands\":\"nl\",\"PYFF\":\"zh_tw\",\"RUSN\":\"en_dot\",\"EO_Denmark\":\"en_uk\",\"IND\":\"en_in\",\"NZL\":\"en_aus\",\"CHN\":\"zh_cn\",\"CANN\":\"zh_tw\",\"TWN\":\"zh_tw\",\"MYS\":\"en_dot\",\"CAN\":\"en_dot\",\"SLV\":\"es\",\"COL\":\"es_col\",\"GUA\":\"es\",\"IDN\":\"id\",\"EO_Norway\":\"en_uk\",\"CAO\":\"es\",\"EO_Malta\":\"en_uk\",\"EO_Austria\":\"en_uk\",\"EO_Finland\":\"en_uk\",\"EO_Spain\":\"es\",\"EO_Latvia\":\"en_uk\",\"MEX\":\"es_mex\",\"EO_Poland\":\"en_uk\",\"EO\":\"en_uk\",\"EO_Slovakia\":\"sk\",\"CRII\":\"es\",\"EO_Andorra\":\"en_uk\",\"EO_Moldova\":\"ro\",\"PHL\":\"en_dot\",\"UKRR\":\"ru_uk\",\"EO_Estonia\":\"en_uk\",\"EO_Croatia\":\"en_uk\",\"TWNN\":\"zh_tw\",\"EO_Sweden\":\"sv\",\"AUSN\":\"zh_tw\",\"EO_Monaco\":\"en_uk\",\"EO_Portugal\":\"pt\",\"EO_Switzerland\":\"de\",\"GBR\":\"en_uk\",\"GTM\":\"es\",\"ECU\":\"es\",\"EO_Eastern European Other\":\"en_uk\",\"NZLL\":\"en_aus\",\"EO_Lithuania\":\"en_uk\",\"ITA\":\"it\",\"HKGG\":\"zh_tw\",\"RUS\":\"ru\",\"KORR\":\"zh_tw\",\"AUS\":\"en_aus\",\"EO_Luxembourg\":\"de\",\"GAC\":\"en_dot\",\"EO_Faroe Islands\":\"en_uk\",\"MDA\":\"ro\",\"DEU\":\"de\",\"EO_Iceland\":\"en_uk\"}";;
console.log(allNativeLang);
var allNativeLang = JSON.parse(allNativeLang);
console.log(allNativeLang);
var i;
console.log(cou);
console.log(allNativeLang);
for( i in allNativeLang){
if (i == cou) {
console.log(allNativeLang[i]);
document.cookie = "Language=" + allNativeLang[i];
}
}
window.location.href = buildurl;
}
function GoToTradChineseCountry() {
var sel = document.getElementById('SelectHomeCountry');
var opt = sel.options[sel.selectedIndex];
if ($("#AppChangeMyLanguage")) {
if ($("#AppChangeMyLanguage").val() == 'trad_chinese') {
if (opt.value != 'HKG' && 'en_dot' == 'zh_hkg') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='HKG'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_hkg").text("Chinese - 中文"));
$("#AppChangeMyLanguage").val('zh_hkg');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else
if (opt.value != 'SGP' && 'en_dot' == 'zh_sgp') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='SGP'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_sgp").text("Chinese - 中文"));
$("#AppChangeMyLanguage").val('zh_sgp');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else
if (opt.value != 'TWN' && 'en_dot' == 'zh_tw') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='TWN'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_tw").text("Chinese - 中文"));
$("#AppChangeMyLanguage").val('zh_tw');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else
if (opt.value != 'CHN' && 'en_dot' == 'zh_cn') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='CHN'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_cn").text("Chinese - 中文"));
$("#AppChangeMyLanguage").val('zh_cn');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else
if (opt.value != 'MYS' && 'en_dot' == 'zh_my') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='MYS'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_my").text("Chinese - 中文"));
$("#AppChangeMyLanguage").val('zh_my');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else
if (opt.value != 'CAN' && 'en_dot' == 'zh_can') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='CAN'>");
$("#AppChangeMyLanguage").append($("<option>Chinese (Canada) - 中文 - 加拿大</option>").attr("value", "zh_can").text("Chinese (Canada) - 中文 - 加拿大"));
$("#AppChangeMyLanguage").val('zh_can');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else
if (opt.value != 'AUS' && 'en_dot' == 'zh_aus') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='AUS'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - Australia</option>").attr("value", "zh_aus").text("Chinese - Australia"));
$("#AppChangeMyLanguage").val('zh_aus');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
/*alert($("#AppChangeMyLanguage").val());*/
}
}
}
function CheckTradChinese() {
var sel = document.getElementById('SelectHomeCountry');
var opt = sel.options[sel.selectedIndex];
if ($("#AppChangeMyLanguage")) {
if ($("#AppChangeMyLanguage").val() == 'trad_chinese') {
if (opt.value == 'MYS' && 'en_dot' != 'zh_my') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_my").text("Chinese - 中文"));
$("#AppChangeMyLanguage").val('zh_my');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else if (opt.value == 'HKG' && 'en_dot' != 'zh_hkg') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_hkg").text("Chinese - 中文"));
$("#AppChangeMyLanguage").val('zh_hkg');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else
if (opt.value == 'SGP' && 'en_dot' != 'zh_sgp') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_sgp").text("Chinese - 中文"));
$("#AppChangeMyLanguage").val('zh_sgp');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else
if (opt.value == 'TWN' && 'en_dot' != 'zh_tw') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_tw").text("Chinese - 中文"));
$("#AppChangeMyLanguage").val('zh_tw');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else
if (opt.value == 'CHN' && 'en_dot' != 'zh_cn') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_cn").text("Chinese - 中文"));
$("#AppChangeMyLanguage").val('zh_cn');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else
if (opt.value == 'CAN' && 'en_dot' != 'zh_can') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
$("#AppChangeMyLanguage").append($("<option>Chinese (Canada) - 中文 - 加拿大</option>").attr("value", "zh_can").text("Chinese (Canada) - 中文 - 加拿大"));
$("#AppChangeMyLanguage").val('zh_can');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else
if (opt.value == 'AUS' && 'en_dot' != 'zh_aus') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - Australia</option>").attr("value", "zh_aus").text("Chinese - Australia"));
$("#AppChangeMyLanguage").val('zh_aus');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
else
if ('en_dot' != 'zh_usa' && opt.value != 'TWN' && opt.value != 'HKG' && opt.value != 'SGP' && opt.value != 'MYS' && opt.value != 'CAN' && opt.value != 'AUS') {
$(document.LanguageForm2).append("<input type='hidden' id='SelectedCountryCode' name='SelectedCountryCode' value='" + opt.value + "'>");
$("#AppChangeMyLanguage").append($("<option>Chinese - 中文</option>").attr("value", "zh_usa").text("Chinese - 中文"));
$("#AppChangeMyLanguage").val('zh_usa');
$(".blu_butt").each(function(index){
$(this).hide()
});
document.LanguageForm2.submit();
}
}
}
}
function getShopURL(cou,lng) {
shCou=new Object();shCou["mys"]="MY";shCou["jpn"]="JP";shCou["kor"]="KR";shCou["france"]="FR";shCou["lithuania"]="LT";shCou["spain"]="ES";shCou["switzerland"]="CH";shCou["poland"]="PL";shCou["norway"]="NO";shCou["hungary"]="HU";shCou["portugal"]="PT";shCou["luxembourg"]="LU";shCou["fra"]="FR";shCou["andorra"]="AD";shCou["idn"]="ID";shCou["croatia"]="HR";shCou["iceland"]="IS";shCou["monaco"]="MC";shCou["chl"]="CL";shCou["netherlands"]="NL";shCou["moldova"]="MD";shCou["slovakia"]="SK";shCou["finland"]="FI";shCou["latvia"]="LV";shCou["liechtenstein"]="LI";shCou["bra"]="BR";shCou["bulgaria"]="BG";shCou["estonia"]="EE";shCou["phl"]="PH";shCou["belgium"]="BE";shCou["greece"]="GR";shCou["sweden"]="SE";shCou["austria"]="AT";shCou["pol"]="PL";shCou["zaf"]="ZA";shCou["gbr"]="GB";shCou["malta"]="MT";shCou["cyprus"]="CY";shCou["ita"]="IT";shCou["romania"]="RO";shCou["ireland"]="IE";shCou["denmark"]="DK";shCou["aus"]="AU";shCou["deu"]="DE";shCou["czech republic"]="CZ";shCou["slovenia"]="SI";shCou["nzl"]="NZ";shCou["ind"]="IN";
shLng=new Object();shLng["es_eo"]="es";shLng["sl"]="sl";shLng["ja"]="ja";shLng["sv"]="sv";shLng["en_uk"]="en";shLng["es_chl"]="es";shLng["ru"]="ru";shLng["hu"]="hu";shLng["zh_usa"]="zh";shLng["da"]="da";shLng["ru_uk"]="ru";shLng["ro"]="ro";shLng["no"]="no";shLng["zh_can"]="zh";shLng["zh_cn"]="zh";shLng["pt_bra"]="pt";shLng["fr_eo"]="fr";shLng["ms"]="ms";shLng["de"]="de";shLng["cs"]="cs";shLng["fr"]="fr";shLng["et"]="et";shLng["bg"]="bg";shLng["ko"]="ko";shLng["es_mex"]="es";shLng["fi"]="fi";shLng["lv"]="lv";shLng["sk"]="sk";shLng["en_dot"]="en";shLng["zh_tw"]="zh";shLng["es_col"]="es";shLng["th"]="th";shLng["es"]="es";shLng["nl"]="nl";shLng["en_aus"]="en";shLng["zh_hkg"]="zh";shLng["zh_sgp"]="zh";shLng["zh_aus"]="zh";shLng["he"]="he";shLng["pt"]="pt";shLng["uk"]="uk";shLng["it"]="it";shLng["zh_my"]="zh";
shCouLng=new Object();shCouLng["si"]="en,sl";shCouLng["cy"]="en";shCouLng["at"]="de,en";shCouLng["cl"]="en,es";shCouLng["lt"]="en,lt,ru";shCouLng["be"]="de,enfr,nl";shCouLng["jp"]="ja";shCouLng["ph"]="en";shCouLng["my"]="en,ms,zh";shCouLng["mt"]="en";shCouLng["hu"]="en,hu";shCouLng["ro"]="en,hu,ro";shCouLng["kr"]="en,ko";shCouLng["no"]="en,no";shCouLng["au"]="en,es,fr,pt";shCouLng["is"]="en";shCouLng["de"]="de,en,es";shCouLng["fr"]="en,fr,pt";shCouLng["bg"]="bg,en";shCouLng["fi"]="en,fi";shCouLng["ie"]="en";shCouLng["za"]="en";shCouLng["sk"]="en,sl,hu,sk,cs";shCouLng["lv"]="en,lv,ru";shCouLng["lu"]="de,en,fr";shCouLng["pl"]="en,pl";shCouLng["nz"]="en";shCouLng["ch"]="de,en,es,fr,it";shCouLng["mc"]="en,fr";shCouLng["in"]="en";shCouLng["dk"]="da,de,en";shCouLng["gr"]="en";shCouLng["es"]="en,es,pt";shCouLng["ad"]="en,es,fr,pt";shCouLng["nl"]="en,nl";shCouLng["hr"]="en";shCouLng["id"]="en,id";shCouLng["cz"]="cs,cz,en,ru,sk";shCouLng["se"]="en,no,sv";shCouLng["gb"]="en";shCouLng["li"]="de,en";shCouLng["pt"]="en,es,pt";shCouLng["it"]="en,it";shCouLng["ee"]="en,et,ru";shCouLng["br"]="pt";
var myCou=shCou[cou.toLowerCase()];
if (myCou == undefined) {
return '';
} else {
/* START WF172382 Megan D: Updating js to use myLng or lng based on what Hybris has avaible */
var myLng=shLng[lng.toLowerCase()];
var myCouLngList=shCouLng[myCou.toLowerCase()];
if (myLng != undefined && myCouLngList != undefined && myCouLngList.includes(myLng)) {
return myCou+"/"+myLng+"_"+myCou;
} else if(myCouLngList != undefined && myCouLngList.includes(lng)) {
return myCou+"/"+lng+"_"+myCou;
}
else {
return myCou+"/en_"+myCou;
}
/* END WF172382 MD */
}
}
function ChangeMarket() {
var marketModel = {
cou: document.getElementById("SelectHomeCountry").value,
lang: $('#AppChangeMyLanguage').val()
};
console.log(marketModel);
/* EVX-4407 Megan D; Not letting the user continue if no language is selected */
if (!$('#AppChangeMyLanguage').val()) {
document.getElementById('PleaseChooseLanguage').style.display = '';
return;
}
document.cookie = "Language=" + $('#AppChangeMyLanguage').val(); /*WF171402 Megan D: Adding this to set the Cookie.Langueage*/
if (document.getElementById('SelectHomeCountry').value == 'EO') {
if ($('#EOCountries').val().split('_').length > 1) {
var thisCou = $('#EOCountries').val().split('_')[1];
} else {
var thisCou = $('#EOCountries').val();
}
} else if (document.getElementById('SelectHomeCountry').value == 'GAC') {
if ($('#GACCountries').val().split('_').length > 1) {
var thisCou = $('#GACCountries').val().split('_')[1];
} else {
var thisCou = $('#GACCountries').val();
}
} else if (document.getElementById('SelectHomeCountry').value == 'RUS') {
if ($('#RUSCountries').val().split('_').length > 1) {
var thisCou = $('#RUSCountries').val().split('_')[1];
} else {
var thisCou = $('#RUSCountries').val();
}
} else {
var thisCou = document.getElementById('SelectHomeCountry').value;
}
if (listFind("AUS,BRA,DEU,Andorra,Austria,Belgium,Bulgaria,Croatia,Cyprus,Czech Republic,Denmark,Estonia,Finland,France,Greece,Hungary,Iceland,Ireland,Latvia,Liechtenstein,Lithuania,Luxembourg,Malta,Moldova,Monaco,Netherlands,Norway,Poland,Portugal,Romania,Slovakia,Slovenia,Spain,Sweden,Switzerland,FRA,GBR,ITA,NZL,POL,ZAF",thisCou)) {
var getBuildURL=getShopURL(thisCou,document.getElementById('AppChangeMyLanguage').value);
if (getBuildURL != '') {
var element = document.getElementById('DiamondID');
var dmdID = ""
if (typeof(element) != 'undefined' && element != null)
{
dmdID = "diamondID="+document.getElementById('DiamondID').value;
console.log(dmdID);
window.location.href="https://shop.doterra.com/"+getBuildURL+"/create-account?"+dmdID+"&EnrollerID=458046";
}
else
{
window.location.href="https://shop.doterra.com/"+getBuildURL+"/create-account?EnrollerID=458046";
}
return;
}
}
//mike
if (document.getElementById('SelectHomeCountry').value == 'CAN') {
var redirecturl = "/index.cfm?Fuse=public/DisplayPage&Page=OnlineAppRedirect&noheader=1&nofooter=1&country="+document.getElementById('SelectHomeCountry').value+"&language="+document.getElementById('AppChangeMyLanguage').value;
window.location.href = redirecturl;
return;
}
//mike
if (document.getElementById('SelectHomeCountry').value == 'USA') {
var redirecturl = "/index.cfm?Fuse=public/DisplayPage&Page=OnlineAppRedirect&noheader=1&nofooter=1&country="+document.getElementById('SelectHomeCountry').value+"&language="+document.getElementById('AppChangeMyLanguage').value;
window.location.href = redirecturl;
return;
}
var thisLanguage = $('#AppChangeMyLanguage').val();
var repimga=document.getElementById("NFROGTImg");
var repimgb=document.getElementById("TypeDistributor");
var repimgc=document.getElementById("TypeCustomer");
if(document.getElementById("SelectHomeCountry").value == 'HKG'){
repimga.src='skins/skin01/images/A.jpg';
repimgb.src='skins/skin01/images/C.jpg';
repimgc.src='skins/skin01/images/B.jpg';
}
else
{
repimga.src='skins/skin01/images/NFROTG.png';
repimgb.src='skins/skin01/images/TypeDistributor.png';
repimgc.src='skins/skin01/images/TypeCustomer.png';
}
var localidcheck = (typeof arguments[0] == 'undefined' || arguments[0] == '') ? 1:arguments[0];
document.getElementById('PleaseChooseCountry').style.display='none';
var sel = document.getElementById('SelectHomeCountry');
var opt = sel.options[sel.selectedIndex];
document.getElementById('HomeCountry').value=opt.value;
if ('AUS,CAN,CRII,CRI,EO,GBR,DEU,PYF,GUA,HKG,KOR,MEX,NZL,TWN,USA,GAC,ITA,ZAF,ISR'.indexOf(opt.value) >= 0) {
oldapp = document.getElementById('divGotoOldApp');
if (oldapp) {
oldapp.parentNode.removeChild(oldapp);
}
}
if (opt.value == "EO") {
var sel = document.getElementById('EOCountries');
var opt2 = sel.options[sel.selectedIndex];
document.getElementById('EOHomeCountry').value=opt2.value;
if (document.getElementById('EOHomeCountry').value == '')
throw new Error(document.getElementById('PleaseChooseCountry').style.display='');
if (opt2.value == "EO" || opt2.value == "GBR" || opt2.value == "DEU" || opt2.value == "ITA") {
$('#livechat').hide();
}
}
if (opt.value == "GAC") {
var sel = document.getElementById('GACCountries');
var opt2 = sel.options[sel.selectedIndex];
document.getElementById('GACHomeCountry').value=opt2.value;
if (document.getElementById('GACHomeCountry').value == '')
throw new Error(document.getElementById('PleaseChooseCountry').style.display='');
}
if (opt.value == "RUS") {
var sel = document.getElementById('RUSCountries');
var opt2 = sel.options[sel.selectedIndex];
document.getElementById('RUSHomeCountry').value=opt2.value;
if (document.getElementById('RUSHomeCountry').value == '')
throw new Error(document.getElementById('PleaseChooseCountry').style.display='');
}
if (opt.value == "ZAF") {
var sel = document.getElementById('ZAFCountries');
var opt2 = sel.options[sel.selectedIndex];
document.getElementById('ZAFHomeCountry').value=opt2.value;
if (document.getElementById('ZAFHomeCountry').value == '')
throw new Error(document.getElementById('PleaseChooseCountry').style.display='');
}
if ('USA,CAN,AUS,EO,GBR,DEU,NZLL,NZL,KOR,RUS,ITA,CRI,CRII,GUA,MEX,HKG,JPN,SGP,MYS,BRA,ECU,GAC,COL,ZAF,PHL,ISR,UKR,PYF,THA,FRA,POL,CHL,IND,IDN,ARE,SLV,KAZ'.indexOf(opt.value) > -1) {
$('#MemberTypeCustomerBubble').hide();
if ( opt.value != "KOR" && opt.value != "PHL" && opt.value != "THA") {
$('#WholesaleType').prop('checked', true);
$('#MemberTypeDistributorBubble').addClass('disabled');
}
else {
$('#MemberTypeWholesaleBubble').addClass('disabled');
}
}
else if ('CRII,CRI,RUS,UKR'.indexOf(opt.value) > -1) {
document.getElementById('MemberTypeCustomerBubble').style.display = 'none';
$('#MemberTypeWholesaleBubble').hide();
}
else {
$('#MemberTypeWholesaleBubble').hide();
}
if ('MYS,SGP'.indexOf(opt.value) > -1) {
SelectType('DistributorMemberType');
}
if ((opt.value == "ZAF") && $('#ZAFCountries').val() != 'ZAF_South Africa') {
if (localidcheck == 1) {
console.log($('#ZAFCountries').val());
ZAFAlertText = " \n\tNew disclaimer screen between Country/Language selection and Enrollment Options that will let the user know that they can only ship within South Africa. \n";
alert(ZAFAlertText);
}
}
if (document.getElementById('SelectWarehouseID')) {
var sel = document.getElementById('SelectWarehouseID');
var opt = sel.options[sel.selectedIndex];
document.getElementById('WarehouseID').value = opt.value;
}
else {
document.getElementById('WarehouseID').value = '';
}
closeoverlay=1;
var noCloseOverlayCou='';
var noCloseOverlayCou = new Set(['MEX','AUS','SGP','HKG','CAN','NZLL','NZL','RUS','ISR','UKR']);
if (noCloseOverlayCou.has(document.getElementById('HomeCountry').value)) {
closeoverlay = 0;
}
if (0) {
}
else if (localidcheck == 1 && document.getElementById('HomeCountry').value == 'GAC' && document.getElementById('GACHomeCountry').value == 'GAC_China') {
LocalIDPopUp();
}
else if (localidcheck == 0 && document.getElementById('HomeCountry').value == 'GAC' && document.getElementById('GACHomeCountry').value == 'GAC_China') {
document.getElementById('MemberTypeForm').submit();
}
else if (document.getElementById('HomeCountry').value == 'TWN') {
document.getElementById('overlay2').style.display = 'none';
$('#MemberTypeCustomerBubble').hide();
$('#MemberTypeWholesaleBubble').show();
$('#MemberTypeDistributorBubble').show();
$('#WholesaleType').attr('checked', true);
}
else if (document.getElementById('HomeCountry').value == 'KOR'){
document.getElementById('overlay2').style.display = 'none';
$('#WholesaleType').hide();
$('#DistributorMemberType').hide();
$('#DistributorMemberType').css('cursor','pointer');
$('#WholesaleType').css('cursor','pointer');
if ($('#NICESim')) {
$('#NICESim').show();
}
if ($('#AdditionalInfoDiv')) {
$('#AdditionalInfoDiv').show();
}
}
else if (document.getElementById('HomeCountry').value == 'MYS') {
//MYSPopUp();
document.getElementById('overlay2').style.display = 'none';
$('#MemberTypeCustomerBubble').hide();
$('#MemberTypeWholesaleBubble').show();
$('#MemberTypeDistributorBubble').show();
}
else if (document.getElementById('HomeCountry').value == 'EO'){
document.getElementById('overlay2').style.display = 'none';
$('#PleaseNotText').show();
}
else if (document.getElementById('HomeCountry').value == 'MEX'){
$('#OTGRadio').attr('checked', 'checked');
CloseNFROTG();
}
else if (document.getElementById('HomeCountry').value == 'UKR'){
$('#NFRRadio').attr('checked', 'checked');
CloseNFROTG();
}
else if (document.getElementById('HomeCountry').value == 'RUS'){
var sel = document.getElementById('RUSCountries');
var opt = sel.options[sel.selectedIndex];
if (!document.getElementById('RUSCountries') || opt.value == 'RUS_Russia') {
NFROTGPopUp();
} else {
document.getElementById('overlay2').style.display = 'none';
$('#PleaseNotText').show();
}
}
else if (document.getElementById('HomeCountry').value == 'ZAF'){
var sel = document.getElementById('ZAFCountries');
var opt = sel.options[sel.selectedIndex];
document.getElementById('overlay2').style.display = 'none';
$('#PleaseNotText').show();
}
else if (closeoverlay) {
document.getElementById('overlay2').style.display = 'none';
}
else {
NFROTGPopUp();
}
document.getElementById('PopUp').style.display = 'none';
if (document.getElementById('divGotoOldApp')) {
document.getElementById('divGotoOldApp').style.display = 'block';
}
document.body.scrollTop = document.documentElement.scrollTop = 0;
if (document.getElementById('SelectHomeCountry').value == 'JPN') {
}
}
function NFROTGPopUp(){
var HomeCountry = document.getElementById('HomeCountry').value;
var CountryName = document.getElementById('CountryName');
var CountryName2 = document.getElementById('CountryName2');
var CountryCurrency = document.getElementById('CountryCurrency');
document.getElementById('APPNFROTG').style.display = 'block';
$('#OTGRadioNZLL').hide();
$('#NFRRadioNZLL').hide();
$('#OTGRadioNZL').hide();
$('#NFRRadioNZL').hide();
$('#OTGRadioRest').show();
$('#NFRRadioRest').show();
if (HomeCountry == 'AUS') {
if (CountryName != null) {CountryName.innerHTML = 'Australia';}
if (CountryName2 != null) {CountryName2.innerHTML = 'Australian';}
if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Australian Dollars';}
}
if (HomeCountry == 'MEX') {
if (CountryName != null) {CountryName.innerHTML = 'Mexico';}
if (CountryName2 != null) {CountryName2.innerHTML = 'Mexico';}
if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Mexican Pesos';}
}
if (HomeCountry == 'HKG') {
if (CountryName != null) {CountryName.innerHTML = 'Hong Kong';}
if (CountryName2 != null) {CountryName2.innerHTML = 'Hong Kong';}
if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Hong Kong Dollars';}
}
if (HomeCountry == 'JPN') {
if (CountryName != null) {CountryName.innerHTML = 'Japan';}
if (CountryName2 != null) {CountryName2.innerHTML = '';}
if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Japan';}
}
if (HomeCountry == 'SGP') {
if (CountryName != null) {CountryName.innerHTML = 'Singapore';}
if (CountryName2 != null) {CountryName2.innerHTML = 'Singapore';}
if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Singapore Dollars';}
}
if (HomeCountry == 'NZLL' || HomeCountry == 'NZL') {
if (CountryName != null) {CountryName.innerHTML = 'New Zealand';}
if (CountryName2 != null) {CountryName2.innerHTML = 'United States';}
if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Dollars';}
$('#OTGRadioNZLL').show();
$('#NFRRadioNZLL').show();
$('#OTGRadioNZL').show();
$('#NFRRadioNZL').show();
$('#OTGRadioRest').hide();
$('#NFRRadioRest').hide();
}
if (HomeCountry == 'MYS') {
if (CountryName != null) {CountryName.innerHTML = 'Malaysia';}
if (CountryName2 != null) {CountryName2.innerHTML = 'Malaysia';}
if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Malaysia Ringgit';}
$('#OTGRadio').attr('checked', 'checked');
}
if (HomeCountry == 'ISR') {
if (CountryName != null) {CountryName.innerHTML = 'Israel';}
if (CountryName2 != null) {CountryName2.innerHTML = 'Israel';}
if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Israeli Shekels';}
$('#OTGRadio').attr('checked', 'checked');
}
if (HomeCountry == 'CAN') {
if (CountryName != null) {CountryName.innerHTML = 'Canada';}
if (CountryName2 != null) {CountryName2.innerHTML = 'Canadian';}
if (CountryCurrency != null) {CountryCurrency.innerHTML = 'Canadian Dollars';}
$('#OTGRadio').attr('checked', 'checked');
}
}
function LocalIDPopUp(){
document.getElementById('LOCALIDPOPUP').style.display = 'block';
}
function TWNPopUp() {
$('#TWNPOPUP').modal('show');
}
function GotoOldApp() {
var sel = document.getElementById('SelectHomeCountry');
var opt = sel.options[sel.selectedIndex];
document.getElementById('HomeCountry').value=opt.value;
if (opt.value != 'MEX') {
var str = "http://doterra-nt.myvoffice.com/doterra/Application/Apply.cfm&EnrollerID=458046";
var str = str.replace("?","&");
var str = str.replace("/re.cfm&re","/re.cfm?re");
str += "&LNG=en_dot";
var res = str.replace("Apply.cfm","Apply.cfm?OAbypass=1&Country=" + opt.value);
var res = str.replace("Apply%2Ecfm%3F","Apply%2Ecfm%3FOAbypass%3D1%26Country%3D" + opt.value + '%26');
if (document.getElementById('DiamondID')) {
var res = res.replace("Apply.cfm?","Apply.cfm?DiamondID=" + document.getElementById('DiamondID').value + "&");
}
if (document.getElementById('SilverID')) {
var res = res.replace("Apply.cfm?","Apply.cfm?SilverID=" + document.getElementById('SilverID').value + "&");
}
if(res.indexOf('Apply.cfm&') != -1) res = res.replace('Apply.cfm&','Apply.cfm?');
window.location.href = res;
}
}
showPopUp('overlay2','#ffffff');
GoToTradChineseCountry();
if ($('#NICESim')) {
$('#NICESim').hide();
}
if ($('#AdditionalInfoDiv')) {
$('#AdditionalInfoDiv').hide();
}
</script>
<script>
</script>