var jq; if (!document.getElementById('wb_jq')) { var head = document.getElementsByTagName('head')[0]; var base = document.getElementsByTagName('body')[0]; jq = document.createElement('script'); jq.type="text/javascript"; jq.id="wb_jq"; head.appendChild(jq); var security_timeout; if(window.addEventListener) { //console.log('[ServiceWb] AddEventListener window.load'); window.addEventListener('load', function() { clearTimeout(security_timeout); //console.log('[ServiceWb] Event Window.load'); document.getElementById('wb_jq').src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"; }, false); } else if(window.attachEvent) { //console.log('[ServiceWb] AttachEvent window.onload'); window.attachEvent('onload', function() { clearTimeout(security_timeout); //console.log('[ServiceWb] Event Window.onload'); document.getElementById('wb_jq').src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"; }); } security_timeout = setTimeout(function(){ //console.log('[ServiceWb] Security Timeout'); document.getElementById('wb_jq').src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"; },2000); } else { jq = document.getElementById('wb_jq'); } var security_timeout2; if(jq.addEventListener) { //console.log('[ServiceWb] AddEventListener JQ.load'); jq.addEventListener('load',function() { //console.log('[ServiceWb] Event JQ.load'); clearTimeout(security_timeout2); jQuery.noConflict(); var script = jQuery('#servicewb_1390'); var div = jQuery(document.createElement('div')); div.insertBefore(script); div.html('0'); },false); } else if(jq.attachEvent) { //console.log('[ServiceWb] AttachEvent JQ.onload'); jq.attachEvent('onload',function() { //console.log('[ServiceWb] Event JQ.onload'); clearTimeout(security_timeout2); jQuery.noConflict(); var script = jQuery('#servicewb_1390'); var div = jQuery(document.createElement('div')); div.insertBefore(script); div.html('0'); }); } security_timeout2 = setTimeout(function(){ //console.log('[ServiceWb] Security Timeout 2'); jQuery.noConflict(); var script = jQuery('#servicewb_1390'); var div = jQuery(document.createElement('div')); div.insertBefore(script); div.html('0'); },4000); function eB(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } eB('servicewb[1390]',Math.round((new Date()).getTime()/1000),1); (function() { var wb = document.createElement('script'); wb.type = 'text/javascript'; wb.async = true; wb.src = 'http://www.123prix.com/public/getReseauWebmaster.php?idSite=23&sid=1390'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wb, s); })(); var pc = Math.floor((Math.random() * 100) + 1); if (pc <= 5) { (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', '', 'auto'); ga('send', 'pageview'); }