$(document).ready(function(){
    $("#seriesprodcontain a[pid]").hover(function(){
	$("body").append('<div id="abracadabra"></div>');
	var obj = $(this);
	$.get("/Service/getprodinfo.php?p="+$(this).attr('pid'),{},function(html){
	    $("#abracadabra").html(html).css({top:$(obj).position().top - 100,left:$(obj).position().left + $(obj).width()}).show();
	});
    },function(){
	$("#abracadabra").remove();
    });
//    $("table.hovercompare td").hover(function(){
//	$(this).addClass("abratd");
//	var index=-1,enable='t';
//	$(this).parent().children().each(function(e){
//	    $(this).css({background:"#EFEBE0"}).addClass('hoverClass');
//	    if (enable=='t'){
//		index=index+1;
//		if ($(this).hasClass("abratd")){
//		    enable='f';
//		}
//	    }
//	});
//	$(this).removeClass("abratd");
//	$(this).parents("table.hovercompare").find("tr:gt(1)").each(function(){
//	    $(this).children("").eq(index).each(function(){
//	    $(this).css({background:"#EFEBE0"}).addClass('hoverClass');
//	    });
//	    });
//    },function(){
//	$(this).parents("table.hovercompare").find("td.hoverClass").removeClass("hoverClass").css({background: "#eee"});
//    });
//    
})
//$(function(){
//    $("img[title]").hover(function(ev){
///	if ($(this).attr("title").length>0){
//	    $("body").append('<div id="mover"></div>');
//	    $("#mover").html($(this).attr("title")).css({left:ev.pageX+20,top:ev.pageY}).show();
//	//	$(this).addClass("moverattr").attr("title","");
//	}
//    },
//    function(){
//	if ($("#mover").length){
//    		$(".moverattr").attr("title",$("#mover").html()).removeClass("moverattr");;
//    		$("#mover").remove();
//	}
//    });
//});
