Mahi ki tō mātou taha
Current vacancies
-
Te tono mahi i tō mātou taha
Applying for a role.
Find out about applying to work with us, and what to expect through our recruitment process.
-
Hono mai mā te aka pāpori
Be social.
Stay up to date with our work, and share your support for sexual and reproductive health and rights in Aotearoa.
" +
"" +
"" +
//ENG-1082
"
\"" + chatbtn_tooltip_text + "\"";
/* " ";
*/
doc.getElementById("widgetlbtn").style.color = color;
doc.getElementById("widgetlbtn").style.backgroundColor = msg.widgetcolor;
doc.getElementById("widgetlbtn").style.display = 'block';
count = count != undefined ? count : 0;
var chatbtn_badge_counter = IMILocalisation.getValue(msg.widget_lang, "badge_counter_unread_messages", "Livechat Button - {0} unread messages");
chatbtn_badge_counter = chatbtn_badge_counter.replace("{0}", count)
doc.getElementById("spnwidgetlbtn").setAttribute("aria-label", chatbtn_badge_counter);
doc.getElementById("widgetlbtn").addEventListener('click', function () {
console.log("switchicon called");
if (parent.IMIChatInit != undefined) {
parent.IMIChatInit.chatswitchicon();
}
else {
IMIChatInit.chatswitchicon();
}
});
doc.getElementById("widgetlbtn").addEventListener('keydown', function (e) {
if (e.key === 'Tab' && !e.shiftKey) {
e.preventDefault();
var widgetmainIframe = window.parent.document.getElementById("iframechatwindow");
if (document.getElementById("divchatmain").style.display == "block") {
widgetmainIframe.contentWindow.postMessage({
action: 'widgetbuttonkeypress',
}, "*");
}
this.blur();
}
});
document.getElementById('imi-chatbutton').style.display = "block";
//console.log( doc.getElementById("widgetlbtn"));
/*$('[data-toggle=\"tooltip\"]').tooltip();*/
// doc.close();
/* for test */
var launch_livechat_iframe_title = IMILocalisation.getValue(_IMIchat_widget_lang, "launch_livechat_iframe_title", "Launch Livechat");
var livechat_widget_iframe_title = IMILocalisation.getValue(_IMIchat_widget_lang, "livechat_widget_iframe_title", "Livechat widget");
$("iframe#imi-chatbutton").attr('title', launch_livechat_iframe_title);
$("iframe#iframechatwindow").attr('title', livechat_widget_iframe_title);
var doc1 = document.getElementById('chatunread-frame').contentWindow.document;
// doc1.open();
doc1.head.innerHTML = "
" +
"
" +
"";
//ENG-985
doc1.body.innerHTML = "
";
// ""+
//"" +
//"