var url='http://www.creditorweb.com/context/ad.aspx?site=forum.creditorweb.com&size=550&url=' + escape(location.href);
//getUrl(url);

document.getElementById('cwAd').src=url;
/*


function getUrl(url) {
	if (window.XMLHttpRequest) {
        frmReq = new XMLHttpRequest();
        frmReq.onreadystatechange = processUrl;
        frmReq.open("GET", url, true);
        frmReq.send(null);
    // branch for IE/Windows ActiveX version
    } else if (window.ActiveXObject) {
        frmReq = new ActiveXObject("Microsoft.XMLHTTP");
        if (frmReq) {
            frmReq.onreadystatechange = processUrl;
            frmReq.open("GET", url, true);
			frmReq.send();
        }
	}
}


function processUrl(){
	if (frmReq.readyState == 4) {
		if (frmReq.status == 200) {
		    document.getElementById('cwAd').innerHTML=frmReq.responseText;
        } else {
            //alert("There was a problem retrieving the data:\n" + frmReq.statusText);
        }
	}
}

*/