/* BANDEIRA QUE SEGUE O MOUSE */
$(document).ready(function() {
xOffset=-20; yOffset=-150;
$(".tooltip").hover(function(e){
this.t=this.title;
$(this).removeAttr("title");
this.alt = "";
$("body").append("<p id='tooltip'>"+ this.t +"</p>");
$("#zoomcapa")
.css("top",(e.pageY - xOffset) + "px")
.css("left",(e.pageX + yOffset) + "px")
.fadeIn('fast');
},function(){
this.title = this.t;
$("#zoomcapa").remove();
});
$("*[title]").mousemove(function(e){
$("#zoomcapa")
.css("top",(e.pageY - xOffset) + "px")
.css("left",(e.pageX + yOffset) + "px");
});
});
moveContent = function(nameDivOas, nameDivOasDisplay) {
$(nameDivOas).appendTo(nameDivOasDisplay);
}

/* AMPLIAR CAPINHA */
$(document).ready(function() {
xOffset=300; yOffset=-450;
$(".zoomcapa").hover(function(e){
this.t=this.title;
$(this).removeAttr("title");
this.alt = "";
$("body").append("<p id='zoomcapa'><img src='http://vocesa.abril.com.br/imagens/capas/edicaodomes.jpg'/></p>");
$("#zoomcapa")
.css("top",(e.pageY - xOffset) + "px")
.css("left",(e.pageX + yOffset) + "px")
.fadeIn('fast');
},function(){
this.title = this.t;
$("#zoomcapa").remove();
});
$("*[title]").mousemove(function(e){
$("#zoomcapa")
.css("top",(e.pageY - xOffset) + "px")
.css("left",(e.pageX + yOffset) + "px");
});
});
