MO Tecnologias enters into an agreement with VendeMas to offer Merchant Funding to all affiliated merchants in its acquiring network – PRNewswire

‘);
newsFlag = true;
}//end of if condition

if( msg.result.static.hits != null && msg.result.static.hits.length > 0)
{
var prod_data = ”;
var resource_data = ” ;
var prefix = $(‘#pathPrefix’).val();
$.each(msg.result.static.hits, function(idx, dataObj) {

if( dataObj._source.type === ‘products’)
{
prod_data += ‘

  • ‘+dataObj._source.title+’
  • ‘;
    }
    else if( dataObj._source.type === ‘resources’ || dataObj._source.type === ‘Case Studies’ || dataObj._source.type === ‘White Papers’
    || dataObj._source.type === ‘User Guides’ || dataObj._source.type === ‘Articles’ || dataObj._source.type === ‘Tip Sheets’
    || dataObj._source.type === ‘Videos’ || dataObj._source.type === ‘Podcasts’ || dataObj._source.type === ‘Quizzes’
    || dataObj._source.type === ‘Research Reports’ || dataObj._source.type === ‘Videos & Webinars’)
    {
    resource_data += ‘

  • ‘+dataObj._source.title+’
  • ‘;
    }
    });

    if( resource_data != null && resource_data != ‘undefined’ && resource_data != ”)
    {
    ul.append(‘

  • Resources view all

  • ‘);
    ul.append(resource_data);
    ul.append(”);
    prodFlag = true;
    }
    if( prod_data != null && prod_data != ‘undefined’ && prod_data != ”)
    {
    ul.append(‘

  • Products view all

  • ‘);
    ul.append(prod_data);
    ul.append(”);
    prodFlag = true;
    }
    }

    if( msg.result.release.facets != null && msg.result.release.facets.source_company != null && msg.result.release.facets.source_company.buckets != null)
    {
    str = $(“#sitesearchbox”).val();
    vanityNewsPath = $(“#newsVanityPathURL”).val();
    var org_data = ”;

    $.each(msg.result.release.facets.source_company.buckets, function(idx, dataObj)
    {
    key = dataObj.key;
    modifiedKey = dataObj.modifiedKey;
    if((key.toLowerCase().includes(str.toLowerCase())) && idx

  • ‘+key+’
  • ‘;
    }

    });
    if( org_data != null && org_data != ‘undefined’ && org_data != ”)
    {
    ul.append(‘

  • Organisations view all

  • ‘);
    ul.append(org_data);
    ul.append(”);

    orgFlag = true;
    }
    }
    else if( msg.result.release.facets != null && msg.result.release.facets.company != null && msg.result.release.facets.company.buckets != null)
    {
    str = $(“#sitesearchbox”).val();
    vanityNewsPath = $(“#newsVanityPathURL”).val();
    var org_data = ”;

    $.each(msg.result.release.facets.company.buckets, function(idx, dataObj)
    {
    key = dataObj.key;
    modifiedKey=dataObj.modifiedKey;
    if((key.toLowerCase().includes(str.toLowerCase())) && idx

  • ‘+key+’
  • ‘;
    }
    });
    if( org_data != null && org_data != ‘undefined’ && org_data != ”)
    {
    ul.append(‘

  • Organisations view all

  • ‘);
    ul.append(org_data);
    ul.append(”);

    orgFlag = true;
    }
    }

    $(“#eraResponseJson”).empty();
    $(“#eraResponseJson”).append(ul);

    if( !orgFlag && !prodFlag && !newsFlag)
    {
    $(‘.qs-no-results’).show();
    }
    },

    error : function (XMLHttpRequest, textStatus, errorThrown) {
    $(‘.qs-no-results’).show();
    console.log(‘Error in LoadLayout’);

    }
    });
    }

    function splitNewReleaseUrl(releaseUrl)
    {
    var newsUrl = “”;
    var release = releaseUrl.toString();
    if(release != null )
    {
    var myarray = release.split(‘,’);

    for(var i = 0; i > “+newsUrl);
    }
    }
    }
    return newsUrl;
    }

    });