﻿// JScript File

//Get the untranslated version of the reply
function getCommunityQuote(replyId)
{   
    dataService.getCommunityQuote(replyId, callBack_getQuote, callBack_timeout);
}
function getBlogQuote(replyId)
{   
    dataService.getBlogQuote(replyId, callBack_getQuote);
}
function getScehduleReply(scheduleReplyId)
{   
    dataService.getScehduleReplyQuote(scheduleReplyId, callBack_getQuote);
}
function callBack_getQuote(result)
{
    var replyTextBox = getObj("txtMainTextBox");
    addTextToTextBox(replyTextBox,result);
}
function callBack_timeout(result)
{
    alert("kunde inte kontakta servern");
}
