 $(document).ready(function(){
    //初始化
 	$("#gqtip").hide();
 	//鼠标移动到层上层可见
 	var tip = $("#gqtip");
 	tip.mouseover(function(){
 	  tip.show();
 	});
 	tip.mouseout(function(){
 	  tip.hide();
 	});
 })
 
 //鼠标移入事件
 function tipMouseOver(aNode,shop,prolist)
 {
   //1.获取当前链接的位置
   aNode= $("#"+aNode); 
   var offset = aNode.offset();
   //2.层定位
   var tip = $("#gqtip");
   tip.css("left",offset.left+"px").css("top",offset.top-1+aNode.height()+"px");
   tip.html(shop+prolist);
   //3.层显示
   tip.show();
 }
 
 //鼠标离开事件
 function tipMouseOut()
 {
   $("#gqtip").hide();
 }
 