function RequestData(strURL,callbackfunctioname)
{
	var xmlHttpReq = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq.open('GET', strURL, true);
    self.xmlHttpReq.onreadystatechange = function() {
        if (self.xmlHttpReq.readyState == 4) {
            eval(callbackfunctioname + "('" + escape(self.xmlHttpReq.responseText) + "');");
        }
    }
    self.xmlHttpReq.send(null);
}

function RequestDetailNewsData(strURL,callbackfunctioname,newsID)
{
	var xmlHttpReq = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq.open('GET', strURL, true);
    self.xmlHttpReq.onreadystatechange = function() {
        if (self.xmlHttpReq.readyState == 4) {            
            eval(callbackfunctioname + "('" + escape(self.xmlHttpReq.responseText) +  "'," + newsID + ");");
        }
    }
    self.xmlHttpReq.send(null);
}