function stripslashes(str) {
str=str.replace(/\\'/g,'\'');
str=str.replace(/\\"/g,'"');
str=str.replace(/\\0/g,'\0');
str=str.replace(/\\\\/g,'\\');
return str;
}

function emcs_web(obj,idpage) {
        
          
        $.getJSON("/cmsinterface.php?a=gpd&pid="+idpage, function(page) {
         
          $(obj).append('<div class="evmenubox"><div class="evmenubox-wrap clearfix">'+stripslashes(page.data.Html)+'</div></div>');
          $(obj).hover(function() {
              $(this).addClass('actived');
              var self = $(this);
              var tip = $('>.evmenubox',self);
              tip.show();
            },function () {
              $(this).removeClass('actived');
              var self = $(this);
              var tip = $('>.evmenubox',self);
              tip.hide();
            });  
        });      
        }
        
$(function () {
  emcs_web($('#menu-59'),71);
  });
