/* map alt titles  */
function mapTitles(target_items, name){
    $(target_items).each(function(i){
        $("body").append("<div class='"+name+"' id='"+name+i+"' ><p>"+$(this).attr('alt')+"</p></div>");
        var map_over = $("#"+name+i);
     
        $(this).removeAttr("alt").mouseover(function(){
            map_over.css({
                opacity:0.9,
                display:"none"
            }).show()
        // cursor! follow me!
        }).mousemove(function(kmouse){
            map_over.css({
                left:kmouse.pageX+15,
                top:kmouse.pageY+15
                });
        }).mouseout(function(){
            map_over.hide();
        });
    });
}

// show it
$(document).ready(function(){
	 mapTitles("area", "mapOver"); // area or a or whatever
});
