﻿/* function getRelatedArticles 
  Gets related articles based on three parameters:
  displayId = The ID of the element to display the results in
  relatedArticlesPage = Full or Absolute path to the 
                         related articles page (to be called by AJAX script)
  storyId = The Ektron ID of the story we want to find the related articles for
*/

function getRelatedArticles(displayId, relatedArticlesPage, storyId)
{
    new Ajax.Updater(displayId, relatedArticlesPage, {
        method: 'get',
        parameters: { id: storyId },
        insertion: Insertion.None
    });
}
