function loadCurrencySuccessorList(){
	writeLoadingInfo("tdCurrencySuccessorList");
   	sendHttpRequest("./currencySuccessorList.do?type=OriginCurrency&predecessorId=" + getElementById("elementId").value, showCurrencySuccessorList,false);
}

function showCurrencySuccessorList(httpRequest){
  		if(isHttpRequestReady(httpRequest)){
		setControlContent("tdCurrencySuccessorList", httpRequest.responseText);
	}
}

function loadCurrencyPredecessorList(){
	writeLoadingInfo("tdCurrencyPredecessorList");
   	sendHttpRequest("./currencyPredecessorList.do?type=OriginCurrency&successorId=" + getElementById("elementId").value, showCurrencyPredecessorList,false);
}

function showCurrencyPredecessorList(httpRequest){
  		if(isHttpRequestReady(httpRequest)){
		setControlContent("tdCurrencyPredecessorList", httpRequest.responseText);
	}
}

function clientOnLoad(){
	loadCurrencyPredecessorList();
	loadCurrencySuccessorList();
	loadCompAuctionList();
}

function ShowOriginCurrencyDef(elementField){
	OpenInsetPage(400,200,"./originCurrencyDef.do?changeAction=Modify&elementId=" + document.all("elementId").value+"&elementField="+elementField);
}

function originCurrencyDel_onClick(){
	OpenInsetPage(500,200,"./originCurrencyDel.do?elementId=" + document.all("elementId").value);
}
