pubRightMovel.style.visibility = 'hidden';
var pubM = {hover: 20, divisor: 6, callRate: 55, layer: document[document.all ? "all" : "layers"]["pubRightMovel"]}

pubM.paint = function() {
  targetY = (document.all ? document.body.scrollTop : window.pageYOffset) + pubM.hover;
  currentY = document.all ? pubM.layer.style.pixelTop : pubM.layer.top;
  difference = currentY - targetY;
  decrement = Math.round(difference / pubM.divisor);
  if (document.all){ pubM.layer.style.pixelTop -= decrement;} else { pubM.layer.top -= decrement;}
}

function fechaPub(){
pubLayer.style.visibility='hidden';
}
