");
$('#' + faqId).append("
" + msg.d + "
");
},
error: function(xml, textStatus, errorThrown) {
//alert(xml.status + "||" + xml.responseText);
}
});
return false;
}
function ViewFAQsInWindow(faqId){
$.ajax({
type: "POST",
url: 'http://pdt-medvnu.info/DesktopModules/SimpleNews/View/WebService.aspx' + '/GetFAQContent',
data: "{faqId:'" + parseInt(faqId) + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(msg) {
try
{
OpenWindow=window.open("url", "newwin", "height=500, width=500,toolbar=no,scrollbars=yes,menubar=no");
OpenWindow.document.write(msg.d);
}catch(err)
{
}
},
error: function(xml, textStatus, errorThrown) {
//alert(xml.status + "||" + xml.responseText);
}
});
return false;
}
function CloseFAQContent(){
try
{
$('#faqcontent').remove();
$('#closefaqcontent').remove();
}catch(err)
{
}
return false;
}