var scriptObj = null;
var gatewayRet = null;
var gatewayURL = "http://www.ixyst.com/ajaxGateway.cfm?remoteURL=";
function gatewayGetURL(url, targetID)
{
	gatewayRet = null;
	if (scriptObj) scriptObj.parentNode.removeChild(scriptObj);
	scriptObj = document.createElement('script');
	scriptObj.type = 'text/javascript';
	scriptObj.src = gatewayURL + escape(url);
	document.getElementsByTagName("head")[0].appendChild(scriptObj);
	gatewayPut(targetID);
}

function gatewayPut(objID)
{
	if (gatewayRet)
		{document.getElementById(objID).innerHTML=gatewayRet;}
	else
		{setTimeout("gatewayPut('"+objID+"')",2000);}
}