var	sitePointsDialog				= null;
var emptyArea					= 0;

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function doSitePointsDialog() {
	if (sitePointsDialog != null) {
	return;
	}
var url								= "/clientServer/?section=SitePoints";
sitePointsDialog					= document.createElement('DIV');
handleGetComplete					= 'handleStandardGetComplete';
handleDialogClose					= 'closeSitePointsDialog';
emptyArea							= 0;
doAjaxPopup('commonDialogLong',sitePointsDialog,url,500,500);
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function closeSitePointsDialog() {
closeAjaxPopup(sitePointsDialog);
sitePointsDialog					= null;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function showSitePointTransaction(){
var F1								= document.getElementById('transactionDiv');
var F2								= document.getElementById('transactionButton');
var F3								= document.getElementById('rulesDiv');
var F4								= document.getElementById('rulesButton');

	if(F1.style.display=="block"){
	F1.style.display				= "none";
	F2.disabled						= false;
	F3.style.display				= "block";
	F4.disabled						= true;
	}else{
	F1.style.display				= "block";
	F2.disabled						= true;
	F3.style.display				= "none";
	F4.disabled						= false;
	}

}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function showTransaction(TID){
var F1								= document.getElementById('transaction'+TID+'_Short');
var F2								= document.getElementById('transaction'+TID+'_Long');
	F1.style.display				= 'none';
	F2.style.display				= 'block';
	
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function hideTransaction(TID){
var F1								= document.getElementById('transaction'+TID+'_Short');
var F2								= document.getElementById('transaction'+TID+'_Long');
	F1.style.display				= 'block';
	F2.style.display				= 'none';
}


