sexualwellbeing.org.nz Open in urlscan Pro
172.67.156.59  Public Scan

Submitted URL: https://www.familyplanning.org.nz/
Effective URL: https://sexualwellbeing.org.nz/
Submission: On April 27 via api from US — Scanned from NZ

Form analysis 3 forms found in the DOM

POST /

<form action="/" class="o-main-layout__main" enctype="multipart/form-data" id="contact-us-form" method="post" novalidate="novalidate">
  <div class="u-flex u-flex-column u-gap-6 c-cta--space-between">
    <div class="c-field__control-wrap">
      <div class="c-field__label-wrap u-pr-0">
        <label class="c-field__label u-ml-0" for="Username">Email address*</label>
      </div>
      <input class="c-textbox" data-val="true" data-val-email="Invalid e-mail address, must contain @ and ." data-val-length="The field Username must be a string with a maximum length of 50." data-val-length-max="50"
        data-val-required="Please enter your email address" id="Username" maxlength="50" name="Username" type="text" value="">
      <span class="field-validation-valid" data-valmsg-for="Username" data-valmsg-replace="true"></span>
    </div>
    <div class="c-field__control-wrap">
      <div class="c-field">
        <div class="c-field__label-wrap">
          <label class="c-field__label u-ml-0" for="Password">Password*</label>
        </div>
        <div class="c-field__control-wrap">
          <input class="c-textbox" data-val="true" data-val-length="The field Password must be a string with a maximum length of 20." data-val-length-max="20" data-val-required="Please enter your password" id="Password" maxlength="20" name="Password"
            type="password">
        </div>
        <div class="c-field__error-wrap">
          <span class="c-field__error field-validation-valid" data-valmsg-for="Password" data-valmsg-replace="true"></span>
        </div>
      </div>
      <div class="u-pt-5 u-pb-3">
        <button type="submit" class="c-cta c-cta--solid-button c-cta--full-width" id="loginSubmit">Sign in</button>
      </div>
      <div class="c-rich-text">
        <p><strong><a href="/shop/forgot-password/" target="" class="">Forgot Password?</a></strong></p>
      </div>
      <div class="validation-summary-valid" data-valmsg-summary="true">
        <ul>
          <li style="display:none"></li>
        </ul>
      </div>
    </div>
    <div class="u-ml-0">
      <h4 class="t-heading-5">Don't have a shop account?</h4>
      <div class="u-pt-3 u-pb-3">
        <a href="/shop/signup/" target="_self" class="c-cta c-cta--outlined-button c-cta--full-width">Sign up</a>
      </div>
    </div>
  </div>
  <input name="__RequestVerificationToken" type="hidden" value="CfDJ8LW80-b8KM9KrPQYILYlqESdPynQ3HteJqVYrEEdIJbRHUqF5_J6hm65BAKEDNJsKs7I7oowGaEs9OD7aYLr9XeJrizHuqXaudf3NjBAJ-gIWqPu1KFHL8CUZ9J0gGRXpW1fLP9hZo5HTue7MT5x6gQ"><input name="ufprt"
    type="hidden" value="CfDJ8LW80-b8KM9KrPQYILYlqER_hLTQ_fS8FaWrMni7hffdI-p-pZslzksCfdp2K5xcl14vJvvDNq0PHjDNc9CEexC4OjC4zR-ZpJWeUGKpVGyu0l3zdsUtHc2bbQjajj9Wmaufpt4uKeeYbyJ1nY8fA8ok2vPePU_FQN-np0TkOYQh">
</form>

POST /

<form action="/" class="o-main-layout__main" enctype="multipart/form-data" id="contact-us-form" method="post">
  <div class="u-flex u-flex-column u-gap-6 c-cta--space-between">
    <div class="c-field__control-wrap">
      <div class="c-field__label-wrap u-pr-0">
        <label class="c-field__label u-ml-0" for="Username">Email address*</label>
      </div>
      <input class="c-textbox" id="Username" maxlength="50" name="Username" type="text" value="">
      <span class="field-validation-valid" data-valmsg-for="Username" data-valmsg-replace="true"></span>
    </div>
    <div class="c-field__control-wrap">
      <div class="c-field">
        <div class="c-field__label-wrap">
          <label class="c-field__label u-ml-0" for="Password">Password*</label>
        </div>
        <div class="c-field__control-wrap">
          <input class="c-textbox" id="Password" maxlength="20" name="Password" type="password">
        </div>
        <div class="c-field__error-wrap">
          <span class="c-field__error field-validation-valid" data-valmsg-for="Password" data-valmsg-replace="true"></span>
        </div>
      </div>
      <div class="u-pt-5 u-pb-3">
        <button type="submit" class="c-cta c-cta--solid-button c-cta--full-width" id="loginSubmit">Sign in</button>
      </div>
      <div class="c-rich-text">
        <p><strong><a href="/shop/forgot-password/" target="_self" class="">Forgot Password?</a></strong></p>
      </div>
    </div>
    <div class="u-ml-0">
      <h4 class="t-heading-5">Don't have a shop account?</h4>
      <div class="u-pt-3 u-pb-3">
        <a href="/shop/signup/" target="_self" class="c-cta c-cta--outlined-button c-cta--full-width">Sign up</a>
      </div>
    </div>
  </div>
  <input name="__RequestVerificationToken" type="hidden" value="CfDJ8LW80-b8KM9KrPQYILYlqESdPynQ3HteJqVYrEEdIJbRHUqF5_J6hm65BAKEDNJsKs7I7oowGaEs9OD7aYLr9XeJrizHuqXaudf3NjBAJ-gIWqPu1KFHL8CUZ9J0gGRXpW1fLP9hZo5HTue7MT5x6gQ"><input name="ufprt"
    type="hidden" value="CfDJ8LW80-b8KM9KrPQYILYlqETv5FkBW6wusDS8Xz1fPZUfpVy0y00RBdoZn0YU9Y-CC2PXZ_Rod4G-gd_WDyvMa6058LQa9cn7Sn-7aMDtucnjVQrsnDzWEC4zxZ01O4Ks0K_Hbk24hlcpf2M4FqZHL94pLNPztKikkfe-hOXUXkpN">
</form>

/newsletter

<form class="" action="/newsletter">
  <div id="mc_embed_signup_scroll">
    <div class="c-footer__heading  u-mb-3">Stay in the loop</div>
    <div class="c-footer__content  u-mb-4">
      <p style="font-size: 16px; line-height: 22px;">Stay up-to-date with the latest news, courses and clinic information.</p>
    </div>
    <div class="c-footer__form">
      <input type="email" name="MERGE0" class="required email" id="mce-EMAIL" required="" value="" placeholder="Email">
      <input type="submit" name="subscribe" id="mc-embedded-subscribe" class="c-cta  c-cta--tight  c-cta--outlined-button  t-body-copy-sm" value="Subscribe">
    </div>
    <div id="mce-responses" class="clear  u-mt-4">
      <div class="response" id="mce-error-response" style="display: none;"></div>
      <div class="response" id="mce-success-response" style="display: none;"></div>
    </div>
  </div>
</form>

Text Content

4BCC20B1-8C76-4617-8156-73D232D1A4D6 96933A67-E793-42A2-9302-79E147631A52

QUICK EXIT

COURSES
SHOP

QUICK EXIT

   
 * Ngā hui Appointments
   Appointments
   Make an appointment
   Call our Client Contact Centre Ask for an appointment form
   Cancel an appointment
   Cancel your appointment form
   Useful links
   New clients Visiting a clinic Our fees
   Find a clinic
   North Island clinics
   Northland Kaikohe Whangārei
   Auckland Takapuna Newmarket New Lynn Henderson Panmure Manukau Papakura
   Waikato Hamilton Huntly
   Bay of Plenty Tauranga Katikati
   Gisborne
   Taranaki New Plymouth Hāwera
   Whanganui
   Wellington Wellington Central Porirua Lower Hutt
   South Island clinics
   Nelson Marlborough Blenheim
   Canterbury Christchurch Aranui Hornby Rangiora Timaru
   Otago Dunedin
   Southland Invercargill
   
   
 * Ngā ratonga Services
   Services
   Our services
   Getting contraception Emergency contraception Removing contraception STI
   testing and treatment Cervical screening Pregnancy testing Abortion
   Contraception problems Period problems
   View all services
   
    
   Useful links
   Appointments Find a clinic Visiting us Our fees
   
   
 * Ngā tohutohu Advice
   Advice
   Advice topics
   About sex Unprotected sex Contraception STIs Cervical screening Pregnancy
   Abortion Periods
   View all advice
    
   Popular topics
   Emergency contraception Contraception types Am I hapū? STI testing and
   treatment Cervical screening
   
   
 * Ngā akoranga Learn
   Learn
   Courses Resources
    * Conduct Cervical Screening US29556 2024
    * Certificate in Contraception and Sexual Health 2024
    * Navigating the Journey Q and A: For Secondary Schools
    * The Colours of Sexuality Q and A
    * Navigating the Journey Q and A: For Primary Schools
    * Contraception - Overview and Practical Essentials Online 2024
    * Sexually Transmissible Infections 2024
    * Emergency Contraception 2024
   
   View all courses
   Navigating the Journey: A guide for parents & whānau Contraception - Your
   Choice (pamphlet) Emergency Contraception (pamphlet) Ngā Kākano booklet
   View all resources
    
   Useful links
   Courses and workshops Resources For educators For parents & whānau Contact a
   Community Health Promoter
   
 * 
 * Menu
 * Your cart
   Your cart is empty
   Continue shopping
   Sign in to the shop to view all you your saved items.
   Sign in
   Sign in
   
   Returning customer
   
   Required fields are marked by *
   
   Email address*
   Password*
   
   
   Sign in
   
   Forgot Password?
   
    * 
   
   DON'T HAVE A SHOP ACCOUNT?
   
   Sign up
   Menu
   Ngā hui Appointments
   Ngā ratonga Services
   Ngā tohutohu Advice
   Ngā akoranga Learn
   Whakapā mai Contact us
   Mō mātou About us
   Te whakatairanga hauora Health promotion services
   Te mana ōrite i Aotearoa Equity in Aotearoa
   Mahi ki tō mātou taha Work with us
   Ngā karere News
   Find a clinic Courses sign in Shop
   

Menu

   
 * Menu
 * 
 * Submenu Ngā hui Appointments
   * Go back Appointments
     * Appointments
     * Make an appointment
     * Call our Client Contact Centre
     * Ask for an appointment form
     * Change or cancel an appointment
     * Cancel your appointment form
     * Useful Links
     * New clients
     * Visiting a clinic
     * Our fees
     * Find a clinic
     * North Island clinics
     * Northland Sub submenu
       * Kaikohe
       * Whangārei
     * Auckland Sub submenu
       * Takapuna
       * Newmarket
       * New Lynn
       * Henderson
       * Panmure
       * Manukau
       * Papakura
     * Waikato Sub submenu
       * Hamilton
       * Huntly
     * Bay of Plenty Sub submenu
       * Tauranga
       * Katikati
     * Gisborne
     * Taranaki Sub submenu
       * New Plymouth
       * Hāwera
     * Whanganui
     * Wellington Sub submenu
       * Wellington Central
       * Porirua
       * Lower Hutt
     * South Island clinics
     * Nelson Marlborough Sub submenu
       * Blenheim
     * Canterbury Sub submenu
       * Christchurch
       * Aranui
       * Hornby
       * Rangiora
       * Timaru
     * Otago Sub submenu
       * Dunedin
     * Southland Sub submenu
       * Invercargill
   
   
   
   
   
 * Submenu Ngā ratonga Services
   * Go back Services
     * Getting contraception
     * Emergency contraception
     * Removing contraception
     * STI testing and treatment
     * Cervical screening
     * Pregnancy testing
     * Abortion
     * Contraception problems
     * Period problems
     * View all services
     * Useful Links
     * Appointments
     * Find a clinic
     * Visiting us
     * Our fees
   
   
   
   
   
 * Submenu Ngā tohutohu Advice
   * Go back Advice
     * About sex
     * Unprotected sex
     * Contraception
     * STIs
     * Cervical screening
     * Pregnancy
     * Abortion
     * Periods
     * View all advice
     * Popular Topics
     * Emergency contraception
     * Contraception types
     * Am I hapū?
     * STI testing and treatment
     * Cervical screening
   
   
   
   
   
 * Submenu Ngā akoranga Learn
   Go back Learn
    * Courses
    * Conduct Cervical Screening US29556 2024
    * Certificate in Contraception and Sexual Health 2024
    * Navigating the Journey Q and A: For Secondary Schools
    * The Colours of Sexuality Q and A
    * Navigating the Journey Q and A: For Primary Schools
    * Contraception - Overview and Practical Essentials Online 2024
    * Sexually Transmissible Infections 2024
    * Emergency Contraception 2024
    * View all courses
    * Resources
    * Navigating the Journey: A guide for parents & whānau
    * Contraception - Your Choice (pamphlet)
    * Emergency Contraception (pamphlet)
    * Ngā Kākano booklet
    * Useful Links
    * Courses and workshops
    * Resources
    * For educators
    * For parents & whānau
    * Contact a Community Health Promoter

 * Whakapā mai Contact us
 * Mō mātou About us
 * Te whakatairanga hauora Health promotion services
 * Te mana ōrite i Aotearoa Equity in Aotearoa
 * Mahi ki tō mātou taha Work with us
 * Ngā karere News

Find a clinic Courses sign in Shop

Your cart
Your cart is empty
Continue shopping
Sign in to the shop to view all you your saved items.
Sign in
Shop sign in

Returning customers

Required fields are marked by *

Email address*
Password*


Sign in

Forgot Password?

DON'T HAVE A SHOP ACCOUNT?

Sign up
 * Ngā mātanga i te hauora taera me te hauora whakawhānau.
   
   
   THE EXPERTS IN SEXUAL AND REPRODUCTIVE HEALTH. 
   
   Everybody deserves access to expert information, advice, and care  — that’s
   what we provide (formerly Family Planning). 
   
   How we can help Find a clinic
   

 * Kei te hiahia tohutohu au…
   I need advice…
   Should I get an STI test? How do I get emergency contraception? What should I
   do if I had unprotected sex? What should I know about having sex? What
   contraception is right for me?
   Read more advice
 * Kimihia tō tari hauora tino pātata mai nei
   Find your nearest clinic
   
   Anyone can come to our clinics. We have experienced health professionals
   across Aotearoa ready to provide expert information, advice and care. Contact
   us for your appointment needs. For information and advice, check out our
   advice section. 
   
   Appointments Find a clinic
   
   Kimihia tō tari hauora tino pātata mai nei
   Find your nearest clinic
   
   Anyone can come to our clinics. We have experienced health professionals
   across Aotearoa ready to provide expert information, advice and care. Contact
   us for your appointment needs. For information and advice, check out our
   advice section. 
   
   Appointments Find a clinic
 * Mātau
   I want
   to know about…
   What can Sexual Wellbeing Aotearoa help me with? What are your fees? What is
   it like visiting a clinic? Are you LGBTQIA+ friendly Is visiting a clinic
   confidential?
   View more
   Pārongo
   I need
   information on…
   Emergency contraception Contraception types STI testing Cervical screening
   Relationships and Sexuality Education
   View more
   Ako
   I want
   to learn about…
   Courses and workshops Resources Clinical training For educators For parents &
   whānau
   Learn
 * Our mahi
   Mō mātou
   ABOUT SEXUAL WELLBEING AOTEAROA
   
   We're committed to equity, where all people have the opportunity to achieve
   the highest level of health and wellbeing.
   
   Courses
   Te whakangungu haumanu
   CLINICAL TRAINING
   Health promotion
   Te whakatairanga hauora
   EDUCATION, TRAINING, AND RESOURCES
   Our mahi
   Te mana ōrite i Aotearoa
   EQUITY IN AOTEAROA
   Get involved
   Mahi ki tō mātou taha
   WORK WITH US
   Our mahi
   Ngā hōtaka ā-ao
   INTERNATIONAL PROGRAMMES
   Newsroom
   Ngā karere, ngā kōrero me ngā putanga
   NEWS, STORIES, AND PUBLICATIONS


 * SHOP OUR RESOURCES AND PRODUCTS
   
   Resources
   Products
   View our shop
    * Navigating the Journey: A guide for parents & whānau
      $0.00
      
      
    * Youth pamphlet - Just about...
      $0.60
      
      
    * Emergency Contraception (pamphlet)
      $0.60
      
      
    * Ngā Kākano booklet
      $0.00
      
      
   
   
    * Female (Internal) Condom (FC2)
      $4.30
      
      
    * My Size condoms - 53 - 3s
      $6.00
      
      
    * My Size condoms - 57 - 3s
      $6.00
      
      
    * SKYN Intense Feel Latex-Free Condoms - 10s
      $18.00
      
      
   
   


" + "" + "" + "" + 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"); if (parent.IMIChatInit != undefined) {
parent.IMIChatInit.chatswitchicon(); } else { 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 () { if
(parent.IMIChatInit != undefined) { parent.IMIChatInit.clearmsgcards(); } else {
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 }, '*'); if (parent.IMIChatInit !=
undefined) { parent.IMIChatInit.chatswitchicon(2); } else {
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.min.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(); }*/
4BCC20B1-8C76-4617-8156-73D232D1A4D6

Formerly Family Planning, we’re now Sexual Wellbeing Aotearoa. Still New
Zealand’s largest provider of sexual and reproductive health services, clinics,
information, advice and education. Online or in person, on a course or in a
resource – we’re here to help you make decisions about your sexual health and
wellbeing.

Appointments
Find a clinic
Services
Advice
Learn
About
News
Get involved
Careers
Shop
Contact us
Feedback, and complaints

Stay in the loop

Stay up-to-date with the latest news, courses and clinic information.



Support us

Support Sexual Wellbeing Aotearoa and the work we do for people's sexual and
reproductive health and rights in Aotearoa New Zealand.

Become a member Membership renewal Donate

© 2024 Sexual Wellbeing Aotearoa

Terms of use

Privacy

Disclaimer

Accreditations

Site by NV Interactive



Facebook Instagram LinkedIn YouTube TikTok


SHARE THIS PAGE

 * Share on Facebook
 * Share on LinkedIn

Copy URL
Close

Close

Link copied to clipboard