
/*
function emcs_webb(obj,idpage) {
          
        $.getJSON("/cmsinterface.php?a=gpd&pid="+idpage, function(page) {
                        
          $(obj).append('<div class="infobox">'+stripslashes(page.data.Html)+'</div>');
          $(obj).hover(function() {
              $(this).addClass('actived');
              var self = $(this);
              var tip = $('>.infobox',self);
              tip.show();
            },function () {
              $(this).removeClass('actived');
              var self = $(this);
              var tip = $('>.infobox',self);
              tip.hide();
            });  
        });      
        }
        
$(function () {
  emcs_webb($('#ainfofly'),34);
  });
          */
  
  function emcs_webbb(obj,idpage) {
          
        $.getJSON("/cmsinterface.php?a=gpd&pid="+idpage, function(page) {
          
          var box=$("#textinfo");
                        
          $(box).append('<div class="infobox">'+stripslashes(page.data.Html)+'</div>');
          //box.hide();
          
          $(obj).hover(function() {
              $(this).addClass('actived');
              var self = this;
              var tip = $('.infobox');
              tip.show();
              //tip.animate({opacity:1},1000);
            },function () {
              $(this).removeClass('actived');
              var self = $(this);
              var tip = $('.infobox');
              tip.hide();
              //tip.animate({opacity:0},1000);
            });  
        });      
        }
        
$(function () {
  emcs_webbb($('#ainfofly'),34);
  
  
  });
