// Societe - Emploi
var startX = 0, startY = 0, moveX = 0, moveY = 0;
function initPosition() {
startX = (document.all) ? document.body.scrollLeft : window.pageXOffset;
startY = (document.all) ? document.body.scrollTop : window.pageYOffset;
}
function positionWatermark( nWidth, nHeight ) {
var diffX = startX - ((document.all) ? document.body.scrollLeft : window.pageXOffset);
var diffY = startY - ((document.all) ? document.body.scrollTop : window.pageYOffset);
if (diffY < -1 || diffY > 1) { moveY = diffY / 10; startY -= moveY; }
if (diffX < -1 || diffX > 1) { moveX = diffX / 10; startX -= moveX; }
var innerX = ((document.all) ? document.body.clientWidth : window.innerWidth) - (nWidth + 10);
var innerY = ((document.all) ? document.body.clientHeight : window.innerHeight) - (nHeight + 10);
if (document.all) {
wedoo_watermark.style.pixelLeft = startX + innerX;
wedoo_watermark.style.pixelTop = startY + innerY;
} else {
document.getElementById( 'wedoo_watermark' ).style.left = startX + innerX - 20;
document.getElementById( 'wedoo_watermark' ).style.top = startY + innerY;
}
}
var sHTML = '
'
+ '