function replaceArticleDisplayForJavascript()
{
    var theBody = document.getElementsByTagName('body')[0].innerHTML;
    if(theBody.indexOf('subscriber_article') != -1) {
        document.getElementsByTagName('body')[0].innerHTML = theBody.replace(/subscriber_article\?/ig, 'subscriber_article?script=yes&');
    }
}

function ajaxCallForDisplayALongArticle() 
{
    var oCtl = document.getElementById("TotalHits");
    if (oCtl != null)
    {
        InitHit();
        return;
    }
    
    if(window.location.href.toString().indexOf('subscriber_article') != -1) 
    {
        simplexhr.doxhr('theArticleDisplay', window.location.href.replace('subscriber_article', 'subscriber_article_display'))
    } 
   
    if(window.location.href.toString().indexOf('sample_article') != -1) 
    {
        simplexhr.doxhr('theArticleDisplay', window.location.href.replace('sample_article', 'subscriber_article_display'))
    } 
}