function zlGetEindcijfer()
{
var eindcijfer=0;
var host=document.location.hostname;
if(host=='www.zwitserleven.nl')eindcijfer=1;
if(host=='www2.zwitserleven.nl')eindcijfer=1;
if(host=='nl'||host=='nlnew')eindcijfer=-1;
if(host=='www.zwitserlevengevoel.nl')eindcijfer=2;
if(host=='gevoel')eindcijfer=-2
if(host=='www.zwitserleven.biz')eindcijfer=3;
if(host=='biz')eindcijfer=-3
if(host=='www.upo.nl')eindcijfer=5;
if(host=='nest.zwitserleven.nl')eindcijfer=7;
if(host=='nest2.zwitserleven.nl')eindcijfer=7;
if(host=='nest')eindcijfer=-7;
if(host=='levensloop.zwitserleven.nl')eindcijfer=8;
return eindcijfer;
}
if(zlGetEindcijfer()<=0)
{
document.write(unescape('%3Cscript src="http'+("https:"==document.location.protocol?'s':'')+'://nlnew/root/js/sitestat_5.js" type="text/javascript"%3E%3C/script%3E'));
}
else
{
document.write(unescape('%3Cscript src="http'+("https:"==document.location.protocol?'s':'')+'://www.zwitserleven.nl/root/js/sitestat_5.js" type="text/javascript"%3E%3C/script%3E'));
}
var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");
var zlJsHost=(("https:"==document.location.protocol)?"https://":"http://")
+(zlGetEindcijfer()<=0?'nlnew':'www.zwitserleven.nl');
function zlMeettag(sitestatTeller,googleTeller)
{
if(sitestatTeller)
{
if(sitestatTeller.substring(sitestatTeller.length-6)!='.index')sitestatTeller+='.index';
sitestat('http'+("https:"==document.location.protocol?'s':'')+'://nl.sitestat.com/zwitserleven/zwitserleven/s?'+sitestatTeller);
}
if(!zlGetEindcijfer())return;
if(!googleTeller&&zlMeettag.googlePlaced)return;
zlMeettag.googlePlaced=true;
var pageTracker=_gat._getTracker("UA-1216525-"+zlGetEindcijfer());
pageTracker._initData();
pageTracker._trackPageview(googleTeller);
if(zlMeettag.test)
{
alert('De meettag is afgegaan met eindcijfer '+zlGetEindcijfer());
}
}
zlMeettag.test=window.location.search.indexOf('testzlmeettag=1')>=0;
zlMeettag.loadScript=function(src)
{
var script=document.createElement('script');
script.src=src;
document.getElementsByTagName('head')[0].appendChild(script);
}
zlMeettag.loadScript(zlJsHost+"/root/js/sitestat_5.js");
zlMeettag.loadScript(gaJsHost+"google-analytics.com/ga.js");
if(zlGetEindcijfer()==8)zlMeettag.loadScript(zlJsHost+"/root/js/callmeettag.js");
