var obj_HTML;
 
    // Load Free Listings
    function ajax_loadHTMLDocListing(url) {
        // branch for native XMLHttpRequest object
        if (window.XMLHttpRequest) {
            req = new XMLHttpRequest();
            req.onreadystatechange = ajax_processReqChangeListing;
            req.open("GET", url, true);
            req.send(null);
        // branch for IE/Windows ActiveX version
        } else if (window.ActiveXObject) {
            req = new ActiveXObject("Microsoft.XMLHTTP");
            if (req) {
                req.onreadystatechange = ajax_processReqChangeListing;
                req.open("GET", url, true);
                req.send();
            }
        }
    }
    
    function ajax_processReqChangeListing() {
        // only if req shows "complete"
        if (req.readyState == 4) {
            // only if "OK"
            if (req.status == 200) {
                // ...processing statements go here
                response  = req.responseText;
                if(response) {
				    document.getElementById(obj_HTML).innerHTML = response;
                }
            } else {
                alert("There was a problem retrieving the XML data:\n" + req.statusText);
            }
        }
    }
    
    function ajax_ChangeTitleListing(host,obj){
        this.obj_HTML = obj;
        var url=host+'/front_featured_free_listing.php';
		if(url != '') {
            return (ajax_loadHTMLDocListing(url));
        }
    }