// JScript File
function ShowNews(nr_news, toObject, bolShowDate, bolShowAuthor, bolShowDelimiter)
{
    var xmlHttp;
        try
        {
            xmlHttp=new XMLHttpRequest();
        }
    catch (e)
    {
        try
        {
            xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
        }
    catch (e)
    {
        try
        {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
    catch (e)
    {
    alert("Your browser does not support AJAX!");
    return false;
    }
    }
    }
    xmlHttp.onreadystatechange=function()
    {
    if(xmlHttp.readyState==4){
    document.getElementById(toObject).innerHTML=xmlHttp.responseText;
    }
    }
    var query = "?nr_news=" + nr_news;
    query = query + "&bolShowDate=" + bolShowDate;
    query = query + "&bolShowAuthor=" + bolShowAuthor;
    query = query + "&bolShowDelimiter=" + bolShowDelimiter;
    xmlHttp.open("GET","inc/ajax_show_news.asp"+query,true);
    xmlHttp.send(null);
}
