/* 2010-2011 - Insite Innovations and Properties B.V., an Adversitement group company. All rights reserved. */
if(typeof iwa=="undefined")var iwa=new Object;iwa.cv="20110527 1.3.1",iwa.c=new Object,iwa.c.sensorUrl="i01.trusted9.nl",iwa.c.sensorApp="i.gif",iwa.c.internalLinks="ikkan.nl,talentenvertaler.nl",iwa.profile="ikkan",typeof document.location!="undefined"&&document.location.toString().indexOf("talentenvertaler.nl")>-1?document.location.toString().indexOf("test.talentenvertaler.nl")>-1?iwa.c.cookieDomain="test.talentenvertaler.nl":iwa.c.cookieDomain="talentenvertaler.nl":typeof document.location!="undefined"&&document.location.toString().indexOf("ikkan.nl")>-1&&(iwa.c.cookieDomain="ikkan.nl"),iwa.onBeforeSent=function(){var a=iwa.getQueryParam("gclid");typeof a!="undefined"&&a!=""&&(iwa.cp=a);var a=iwa.getQueryParam("ecmp");typeof a!="undefined"&&a!=""&&(iwa.cp=a);var b=iwa.seoChannelManager();typeof b!="undefined"&&typeof b=="object"&&(iwa.searchkeyword=b.keyword,iwa.searchengine=b.engine,typeof b.position!="undefined"&&(iwa.searchposition=b.position))},iwa.clickTellAFriend=function(){iwa.pagename="Tell a friend",iwa.track="pagename",iwa.transmitLink(!1,"Tell a friend","o")},iwa.clickSetTalent=function(a,b){if(typeof a!="undefined"&&a!=""){iwa.talent=a.toLowerCase(),typeof b!="undefined"&&b!=""&&(iwa.toolused=b),iwa.pagename="stap 2";var c=iwa.getCookie("i_t");c=iwa.aul(iwa.talent,c,","),iwa.setCookie("i_t",c),iwa.talentlist=c,iwa.numberoftalents=c.split(",").length,iwa.track="talent,pagename,talentlist,numberoftalents,toolused",iwa.transmitLink(!1,"Talent toevoegen","o")}},iwa.clickUnsetTalent=function(a){if(typeof a!="undefined"&&a!=""){iwa.unsettalent=a.toLowerCase(),iwa.pagename="stap 2: talent verwijderen";var b=iwa.getCookie("i_t"),c=b.split(","),d=[],e=0;if(typeof c!="undefined"&&c.length>0)for(var f=0;f<c.length;f++)c[f]!=a.toLowerCase()&&(d[e]=c[f],e++);iwa.setCookie("i_t",d.join(",")),iwa.talentlist=d.join(","),iwa.numberoftalents=d.length,iwa.track="unsettalent,pagename,talentlist,numberoftalents",iwa.transmitLink(!1,"Talent toevoegen","o")}},iwa.setTalents=function(){var a=iwa.getCookie("i_t");typeof a!="undefined"&&a!=""&&(iwa.talentlist=a,iwa.numberoftalents=a.split(",").length,iwa.setCookie("i_t",""),iwa.setCookie("i_ms",0))},iwa.clickLogin=function(a){typeof a!="undefined"&&a!=""&&(iwa.logintype=a,iwa.track="logintype",iwa.transmitLink(!1,"Login","o"))},iwa.clickMaakAnoniemeTalentenkaart=function(){window.setTimeout(function(){iwa.cardtype="Anoniem",iwa.pagename="stap 4",iwa.track="cardtype,pagename",iwa.transmitLink(!1,"Maak anonieme talentenkaart","o")},200)},iwa.clickMaakPersoonlijkeTalentenkaart=function(){window.onunload=function(){iwa.cardtype="Persoonlijk",iwa.pagename="stap 4",iwa.track="cardtype,pagename",iwa.transmitLink(!1,"Maak persoonlijke talentenkaart","o")}},iwa.clickVacancy=function(a){typeof a!="undefined"&&a!=""&&(iwa.vacancyname=a,iwa.track="vacancyname",iwa.transmitLink(!1,"Klik naar werk.nl (klik op beroep)","o"))},iwa.clickMoreSuggestions=function(){window.onunload=function(){var a=iwa.getCookie("i_ms");a!=""?(iwa.moresuggestions=a,iwa.setCookie("i_ms",Math.round(parseInt(a)+1))):(iwa.moresuggestions=1,iwa.setCookie("i_ms",1)),iwa.track="moresuggestions",iwa.transmitLink(!1,"Meer suggesties","o")}},iwa.clickLink=function(a){typeof a!="undefined"&&a!=""&&(iwa.linkLabel=a,iwa.track="linkLabel",iwa.transmitLink(!1,"Externe link clicks","o"))},iwa.getQueryParam=function(a,b){b=b||window.location.href;var c;if((c=b.indexOf("?"))!=-1){b=b.substring(c).substring(1);var d=b.split("&");for(c=0;c<d.length;c++){var e=d[c].split("=");if(e.length>1&&e[0].toLowerCase()==a.toLowerCase())return unescape(e[1])}}return""},iwa.aul=function(a,b,c){if(typeof c=="undefined"||typeof c!="undefined"&&c=="")var c=",";if(typeof b=="undefined"||typeof b!="undefined"&&b=="")var d=[];else var d=b.split(c);if(typeof a!="undefined"&&a!=""){var e=!1;for(var f=0;f<d.length;f++)typeof d[f]!="undefined"&&d[f]==a&&(e=!0);e||d.push(a);return d.join(c)}return!1},iwa.seoChannelManager=function(){this.engines=[["blogsearch.google.nl","q"],["news.google.nl","q"],["maps.google.nl","q"],["video.google.nl","q"],["blogsearch.google.be","q"],["news.google.be","q"],["maps.google.be","q"],["video.google.be","q"],["blogsearch.google.com","q"],["news.google.com","q"],["maps.google.com","q"],["video.google.com","q"],["images.google","prev"],["google.nl","q"],["google.be","q"],["google.com","q"],["bing","q"],["cuil","q"],["blueyonder","q"],["chello","q1"],["dmoz","search"],["dogpile","q"],["home.nl","q"],["hotbot","query"],["ixquick.com","query"],["kobala","qr"],["metaspider.nl","query"],["myway.com","searchfor"],["mywebsearch.com","searchfor"],["netmenu.metaseek.nl","qry"],["search.icq.com","q"],["startgoogle.startpagina.nl","q"],["vinden.nl","q"],["vindex.nl","search_for"],["web.nl","zoekwoord"],["zoek.nl","q"],["zoeken.nl","query"],["zoeken.track.nl","qr"],["zoekhet.nl","query"],["zoeknu.nl","Keywords"],["ziggo.nl","q"],["hetnet.nl","keyword"],["google","q"],["yahoo","p"],["msn","q"],["aol","query"],["aol","encquery"],["lycos","query"],["ask","q"],["altavista","q"],["netscape","query"],["cnn","query"],["looksmart","qt"],["about","terms"],["mamma","q"],["alltheweb","q"],["gigablast","q"],["voila","rdata"],["virgilio","qs"],["live","q"],["baidu","wd"],["alice","qs"],["yandex","text"],["najdi","q"],["aol","q"],["club-internet","query"],["mama","query"],["seznam","q"],["search","q"],["wp","szukaj"],["onet","qt"],["netsprint","q"],["google.interia","q"],["szukacz","q"],["yam","k"],["pchome","q"],["kvasir","searchExpr"],["sesam","q"],["ozu","q"],["terra","query"],["nostrum","query"],["mynet","q"],["ekolay","q"],["search.ilse","search_for"]];if(typeof document.referrer!="undefined"&&document.referrer!=""){var a=document.referrer.split("/")[2],b=!1;if(typeof a!="undefined"&&a!="")for(var c in this.engines)if(!b&&typeof this.engines[c][0]!="undefined"&&this.engines[c][0]!=""&&this.engines[c][1]!=""&&a.indexOf(this.engines[c][0])>-1){var d=new Object;d.domain=this.engines[c][0];var e=iwa.getQueryParam(this.engines[c][1],document.referrer);e!=""&&(d.keyword=e),b=!0}if(b&&typeof d!="undefined"){d.domain.indexOf("google")>-1&&(d.position=iwa.getQueryParam("cd",document.referrer));var f=d.domain.charAt(0).toUpperCase(),c=f+d.domain.substr(1);d.engine=c;return d}return!1}},iwa.transmit=function(){if(typeof iwa.c.sensorUrl=="undefined"||iwa.c.sensorUrl=="")return!1;if(typeof iwa.c.sensorApp=="undefined"||iwa.c.sensorApp=="")return!1;var a=!1;typeof document.location!="undefined"&&document.location.toString().indexOf("https://")>-1?a="https":typeof document.location!="undefined"&&document.location.toString().indexOf("http://")>-1&&(a="http"),typeof iwa.c.useSecure!="undefined"&&iwa.c.useSecure==!0?a="https":typeof iwa.c.useSecure!="undefined"&&iwa.c.useSecure==!1&&(a="http");var b=a+"://"+iwa.c.sensorUrl+"/"+iwa.c.sensorApp,c=Math.floor(Math.random()*0x9a3298afb5ac7000),d=iwa.getCookie("i_vi"),e=7300;typeof d=="undefined"||typeof d!="undefined"&&d==""?(iwa.setCookie("i_vi","vi_"+c,e),d="vi_"+c):typeof d!="undefined"&&d!=""&&iwa.setCookie("i_vi",d,e),iwa.vID=d,typeof iwa.onBeforeSent!="undefined"&&typeof iwa.onBeforeSent=="function"&&iwa.onBeforeSent(),(typeof iwa.linkType=="undefined"||typeof iwa.linkType!="undefined"&&iwa.linkType=="")&&iwa.setConstants();if(typeof iwa.linkType!="undefined"&&iwa.linkType!=""){if(typeof iwa.track!="undefined"&&iwa.track!="")var f=iwa.track.split(",");else var f=[];f.push("linkLabel"),f.push("linkName"),f.push("link"),f.push("linkType"),f.push("vID"),f.push("cv"),f.push("profile")}var g="",h=1,i=[];i[0]="rn="+Math.floor(Math.random()*1e4);for(g in iwa)typeof iwa[g]!="undefined"&&iwa[g]!=""&&typeof iwa[g]!="function"&&typeof iwa[g]!="object"&&(typeof iwa.linkType!="undefined"&&iwa.linkType!=""?typeof f!="undefined"&&f.length>0&&iwa.inarray(g,f)&&(i[h]=g+"="+escape(iwa[g]),h++):(i[h]=g+"="+escape(iwa[g]),h++));if(typeof iwa.linkName!="undefined"&&iwa.linkName!="")iwa.load(b+"?log=1&"+i.join("&"));else{var j=!1;window.addEventListener?window.addEventListener("load",function(){iwa.load(b+"?log=1&"+i.join("&")),j=!0},!1):window.attachEvent&&window.attachEvent("onload",function(){iwa.load(b+"?log=1&"+i.join("&")),j=!0}),j||iwa.load(b+"?log=1&"+i.join("&"))}},window.onload=function(){var a=document.getElementsByTagName("a"),b=iwa.c.internalLinks.split(",");for(var c in a)typeof a[c]!="undefined"&&typeof a[c].href!="undefined"&&!iwa.inarray(a[c].href,b)&&(window.addEventListener?a[c].addEventListener("click",function(a){iwa.el(a.target)},!1):window.attachEvent&&a[c].attachEvent("onclick",function(a){iwa.el(a.srcElement)}))},iwa.el=function(a){var b=iwa.c.internalLinks.split(","),c=!1;if(typeof a!="undefined"&&typeof a.parentNode!="undefined"&&typeof a.parentNode.href!="undefined")var d=a.parentNode.href.split("/");else{if(!(typeof a!="undefined"&&a.toString().indexOf("/")>-1||typeof a.href!="undefined"))return!1;var d=a.toString().split("/")}var e=a;if(typeof d[2]!="undefined"&&d[2]!=""){var f=d[2];if(!iwa.inarray(f,b)||typeof e.href!="undefined"&&!iwa.inarray(e.href,b)){var g=e.innerHTML,h=g.replace(/&(lt|gt);/g,function(a,b){return b=="lt"?"<":">"}),h=h.replace(/<\/?[^>]+(>|$)/g,"");iwa.transmitLink(e,"Exit link: "+h,"e");return!0}}},iwa.load=function(a,b,c){var d=document.createElement("img");d.style.display="none",d.style.border="0px",d.style.width="1px",d.style.height="1px",typeof b!="undefined"&&b(),d.readyState?d.onreadystatechange=function(){if(d.readyState=="loaded"||d.readyState=="complete")d.onreadystatechange=null,typeof c!="undefined"&&c()}:d.onload=function(){typeof c!="undefined"&&c()},d.src=a,document.getElementsByTagName("head")[0].appendChild(d)},iwa.setCookie=function(a,b,c){var d="",e="",f="";if(typeof iwa.c.cookieDomain!="undefined"&&iwa.c.cookieDomain!="")var g=iwa.c.cookieDomain;else{if(typeof iwa.c.sensorUrl=="undefined"||iwa.c.sensorUrl=="")return!1;var g=iwa.c.sensorUrl}if(c!=undefined){var h=new Date;isNaN(c)?h=c:h.setTime(h.getTime()+864e5*parseFloat(c)),d="; expires="+h.toGMTString(),f="; path=/",e="; domain="+g}else e="; domain="+g;return document.cookie=a+"="+(b||"")+f+e+d},iwa.getCookie=function(a){var b=document.cookie.match("(^|;) ?"+escape(a)+"=([^;]*)(;|$)");return b?unescape(b[2]):""},iwa.inarray=function(a,b){if(typeof a!="undefined"&&typeof b!="undefined")for(var c=0;c<b.length;c++)if(a.indexOf(b[c])>-1)return!0;return!1},iwa.transmitLink=function(a,b,c){iwa.linkName=typeof b!="undefined"&&b!=""?b:"unnamed link",iwa.linkType=typeof c!="undefined"&&c!=""?c:"l",typeof a!="undefined"&&a.href!=""&&(iwa.link=a.href);if(typeof a!="undefined"&&typeof a.innerHTML!="undefined"&&a.innerHTML!=""&&typeof iwa.linkLabel=="undefined"){var d=a.innerHTML.replace(/&(lt|gt);/g,function(a,b){return b=="lt"?"<":">"}),d=d.replace(/<\/?[^>]+(>|$)/g,"");iwa.linkLabel=d}iwa.transmit(),iwa.linkName="",iwa.linkType="",iwa.linkLabel="",iwa.link="",iwa.track=""},iwa.setConstants=function(){iwa.sw=typeof screen.width!="undefined"?screen.width:"",iwa.sh=typeof screen.height!="undefined"?screen.height:"",iwa.cd=typeof screen.colorDepth!="undefined"?screen.colorDepth:"",iwa.dt=typeof document.title!="undefined"?document.title:"",iwa.dr=typeof document.referrer!="undefined"?document.referrer:"",iwa.cb=(new Date).getTime(),iwa.dl=typeof document.location!="undefined"?document.location.toString():""}
