jQuery(function($) {
var timer;
function mouseoverActiontooltip(event)
{
$("body").append("<p id='tooltip'>"+ this.rel + "</p>");
$("#tooltip").css("left",(event.pageX + 20) + "px");
$("#tooltip").css("top",(event.pageY - 10) + "px");
}

function mouseoutActiontooltip(event)
{
$("#tooltip2").remove();
}

function mousemoveActiontooltip(event)
{
$("#tooltip2").css("left",(event.pageX - 35) + "px");
$("#tooltip2").css("top",(event.pageY - 150) + "px");
}

function mouseoverActiontooltipImage(event)
{
$("body").append("<p id='tooltip'><img src="+ this.rel + "></img></p>");
$("#tooltip").css("left",(event.pageX + 20) + "px");
$("#tooltip").css("top",(event.pageY - 10) + "px");
}

function mouseoutActiontooltipImage(event)
{
$("#tooltip").remove();
}

function mousemoveActiontooltipImage(event)
{
$("#tooltip").css("left",(event.pageX - 200) + "px");
$("#tooltip").css("top",(event.pageY - 300) + "px");
}

function mouseoverActiontooltipImage2(event)
{
$("body").append("<p id='tooltip'><img src="+ this.rel + "></img></p>");
$("#tooltip").css("left",(event.pageX + 20) + "px");
$("#tooltip").css("top",(event.pageY - 10) + "px");
}

function mouseoutActiontooltipImage2(event)
{
$("#tooltip").remove();
}

function mousemoveActiontooltipImage2(event)
{
$("#tooltip").css("left",(event.pageX - 200) + "px");
$("#tooltip").css("top",(event.pageY + 25) + "px");
}

function mouseoverActiontooltipImage3(event)
{
$("body").append("<p id='tooltip'><img src="+ this.rel + "></img></p>");
$("#tooltip").css("left",(event.pageX + 20) + "px");
$("#tooltip").css("top",(event.pageY - 10) + "px");
}

function mouseoutActiontooltipImage3(event)
{
$("#tooltip").remove();
}

function mousemoveActiontooltipImage3(event)
{
$("#tooltip").css("left",(event.pageX - 35) + "px");
$("#tooltip").css("top",(event.pageY - 300) + "px");
}


$('.tooltip').bind('mouseover', mouseoverActiontooltip);

$('.tooltip').bind('mouseout', mouseoutActiontooltip);

$('.tooltip').bind('mousemove', mousemoveActiontooltip);

$('.tooltipImage').bind('mouseover', mouseoverActiontooltipImage);

$('.tooltipImage').bind('mouseout', mouseoutActiontooltipImage);

$('.tooltipImage').bind('mousemove', mousemoveActiontooltipImage);

$('.tooltipImage2').bind('mouseover', mouseoverActiontooltipImage2);

$('.tooltipImage2').bind('mouseout', mouseoutActiontooltipImage2);

$('.tooltipImage2').bind('mousemove', mousemoveActiontooltipImage2);

$('.tooltipImage3').bind('mouseover', mouseoverActiontooltipImage3);

$('.tooltipImage3').bind('mouseout', mouseoutActiontooltipImage3);

$('.tooltipImage3').bind('mousemove', mousemoveActiontooltipImage3);
}); 


