var Qualtrics_SV_bkGLw4m8yNnpECF = { url:document.URL, survey:"http://bellmedia.qualtrics.com/SE/?SID=SV_bkGLw4m8yNnpECF", popup:function(width,height) { link=Qualtrics_SV_bkGLw4m8yNnpECF.survey+"&url="+Qualtrics_SV_bkGLw4m8yNnpECF.url; options = "menubar=no,width="+width+",height="+height+",toolbar=no,location=no,status=no,scrollbars=yes" var popupwindow = window.open(link,'Title',options); popupwindow.href+='&test'; }, showTip:function() { if(!document.getElementById('SV_bkGLw4m8yNnpECF'+'_tooltip')){ var new_link = document.getElementById('SV_bkGLw4m8yNnpECF'+'_feedbacklink'); var tip = document.createElement('div'); tip.style.fontSize='8pt'; tip.style.position='absolute'; tip.style.backgroundColor = '#FFFFC7'; tip.style.border='1px solid #FFDC81'; tip.style.color='#777777'; tip.style.fontFamily='Arial'; tip.style.whiteSpace='nowrap'; tip.style.textDecoration='none'; tip.style.padding='2px'; tip.id='SV_bkGLw4m8yNnpECF'+'_tooltip'; tip.innerHTML='Écrivez-nous vos commentaires sur le site'; document.body.appendChild(tip); if (new_link.addEventListener){new_link.addEventListener('mousemove', Qualtrics_SV_bkGLw4m8yNnpECF.moveTip, false);} else if (new_link.attachEvent){ new_link.attachEvent('onmousemove', Qualtrics_SV_bkGLw4m8yNnpECF.moveTip);} } }, moveTip:function(e) { if(document.getElementById('SV_bkGLw4m8yNnpECF'+'_tooltip')) { var tip=document.getElementById('SV_bkGLw4m8yNnpECF'+'_tooltip'); var mouseX;var mouseY; if (e.pageX){mouseX=e.pageX;mouseY=e.pageY;} else{mouseX=e.clientX+document.documentElement.scrollLeft;mouseY=e.clientY+document.documentElement.scrollTop;} if (mouseY-25<0){tip.style.top=mouseY + 15 +'px';} else {tip.style.top=(mouseY-25)+'px';} if (mouseX+15+tip.offsetWidth>window.innerWidth){tip.style.left=(window.innerWidth-tip.offsetWidth)+'px';} else{tip.style.left=(mouseX+15)+'px';} } }, removeTip:function() { var tip = document.getElementById('SV_bkGLw4m8yNnpECF'+'_tooltip');tip.parentNode.removeChild(tip); var new_link = document.getElementById('SV_bkGLw4m8yNnpECF'+'_feedbacklink'); if (new_link.addEventListener){new_link.removeEventListener('mousemove', Qualtrics_SV_bkGLw4m8yNnpECF.moveTip, false);} else if (new_link.detachEvent){ new_link.detachEvent('onmousemove', Qualtrics_SV_bkGLw4m8yNnpECF.moveTip);} } } var link=Qualtrics_SV_bkGLw4m8yNnpECF.survey+"&url="+Qualtrics_SV_bkGLw4m8yNnpECF.url; document.write("Commentaires"); var new_link = document.getElementById('SV_bkGLw4m8yNnpECF'+'_feedbacklink'); new_link.style.textDecoration='underline'; new_link.onmouseover=function(){Qualtrics_SV_bkGLw4m8yNnpECF.showTip();}; new_link.onmouseout=function(){Qualtrics_SV_bkGLw4m8yNnpECF.removeTip();};