function set() {
CloseMW();
CloseIC();
CloseOT();
CloseNC();
CloseSM();
ClosePR();
}
function setMW() {
ExpandMW();
}

function setMWMS() {
ExpandMW();
ExpandMWMS();
}

function setMWHT() {
ExpandMW();
ExpandMWHT();
}

function setMWHTCT() {
ExpandMW();
ExpandMWHT();
ExpandMWHTCT()
}

function setMWHTBT() {
ExpandMW();
ExpandMWHT();
ExpandMWHTBT()
}

function setOT() {
ExpandOT();
}

function setIC() {
ExpandIC();
}

function setOT() {
ExpandOT();
}

function setNC() {
ExpandNC();
}

function setPR() {
ExpandPR();
}

function setSM() {
ExpandSM();
}

function setSMMM() {
ExpandSM();
ExpandSMMM();
}

function setSMDW() {
ExpandSM();
ExpandSMDW();
}
/////////////////////////////////////////////////////////////////////////
function ExpandMW() {
MarketWatch.style.display = 'none';
MarketWatchEX.style.display = '';
CloseMWMS();
CloseMWHT();

CloseIC();
CloseOT();
CloseNC();
CloseSM();
ClosePR();
}
function CloseMW() {
MarketWatch.style.display = '';
MarketWatchEX.style.display = 'none';
}

function ExpandMWMS() {
MW_MarketSummary.style.display = 'none';
MW_MarketSummaryEX.style.display = '';
CloseMWHT();
}
function CloseMWMS() {
MW_MarketSummary.style.display = '';
MW_MarketSummaryEX.style.display = 'none';
}

function ExpandMWHT() {
MW_HistoricalTrading.style.display = 'none';
MW_HistoricalTradingEX.style.display = '';
CloseMWMS();
CloseMWHTCT();
CloseMWHTBT();
}
function CloseMWHT() {
MW_HistoricalTrading.style.display = '';
MW_HistoricalTradingEX.style.display = 'none';
}

function ExpandMWHTCT() {
MW_HT_CustomerType.style.display = 'none';
MW_HT_CustomerTypeEX.style.display = '';
CloseMWHTBT();
}
function CloseMWHTCT() {
MW_HT_CustomerType.style.display = '';
MW_HT_CustomerTypeEX.style.display = 'none';
}

function ExpandMWHTBT() {
MW_HT_BrokerTrading.style.display = 'none';
MW_HT_BrokerTradingEX.style.display = '';
CloseMWHTCT();
}
function CloseMWHTBT() {
MW_HT_BrokerTrading.style.display = '';
MW_HT_BrokerTradingEX.style.display = 'none';
}

/////////////////////////////////////////////////////////////////////////

function ExpandIC() {
InterChart.style.display = 'none';
InterChartEX.style.display = '';
CloseMW();
CloseOT();
CloseNC();
CloseSM();
ClosePR();
}
function CloseIC() {
InterChart.style.display = '';
InterChartEX.style.display = 'none';
}

/////////////////////////////////////////////////////////////////////////

function ExpandOT() {
OnlineTrading.style.display = 'none';
OnlineTradingEX.style.display = '';
CloseMW();
CloseIC();
CloseNC();
CloseSM();
ClosePR();
}
function CloseOT() {
OnlineTrading.style.display = '';
OnlineTradingEX.style.display = 'none';
}

/////////////////////////////////////////////////////////////////////////

function ExpandNC() {
NewsCenter.style.display = 'none';
NewsCenterEX.style.display = '';
CloseMW();
CloseIC();
CloseOT();
CloseSM();
ClosePR();
}
function CloseNC() {
NewsCenter.style.display = '';
NewsCenterEX.style.display = 'none';
}

/////////////////////////////////////////////////////////////////////////

function ExpandSM() {
Settlement.style.display = 'none';
SettlementEX.style.display = '';
CloseSMMM();
CloseSMDW();

CloseMW();
CloseIC();
CloseOT();
CloseNC();
ClosePR();
}
function CloseSM() {
Settlement.style.display = '';
SettlementEX.style.display = 'none';
}


function ExpandSMMM() {
SM_Monthly.style.display = 'none';
SM_MonthlyEX.style.display = '';
CloseSMDW();
}
function CloseSMMM() {
SM_Monthly.style.display = '';
SM_MonthlyEX.style.display = 'none';
}

function ExpandSMDW() {
SM_Deposit.style.display = 'none';
SM_DepositEX.style.display = '';
CloseSMMM();
}
function CloseSMDW() {
SM_Deposit.style.display = '';
SM_DepositEX.style.display = 'none';
}
/////////////////////////////////////////////////////////////////////////

function ExpandPR() {
Preference.style.display = 'none';
PreferenceEX.style.display = '';
CloseMW();
CloseIC();
CloseOT();
CloseNC();
CloseSM();
}
function ClosePR() {
Preference.style.display = '';
PreferenceEX.style.display = 'none';
}

/////////////////////////////////////////////////////////////////////////

function showSet() {
	setLayer.style.display = '';
	maiLayer.style.display = 'none';
	investLayer.style.display = 'none';
}
function showMai() {
	setLayer.style.display = 'none';
	maiLayer.style.display = '';
	investLayer.style.display = 'none';
}
function showInvest() {
	setLayer.style.display = 'none';
	maiLayer.style.display = 'none';
	investLayer.style.display = '';
}

/////////////////////////////////////////////////////////////////////////

function showValue() {
	ValueLayer.style.display = '';
	VolumeLayer.style.display = 'none';
	GainLayer.style.display = 'none';
	LoseLayer.style.display = 'none';
}
function showVolume() {
	ValueLayer.style.display = 'none';
	VolumeLayer.style.display = '';
	GainLayer.style.display = 'none';
	LoseLayer.style.display = 'none';
}
function showGain() {
	ValueLayer.style.display = 'none';
	VolumeLayer.style.display = 'none';
	GainLayer.style.display = '';
	LoseLayer.style.display = 'none';
}
function showLose() {
	ValueLayer.style.display = 'none';
	VolumeLayer.style.display = 'none';
	GainLayer.style.display = 'none';
	LoseLayer.style.display = '';
}
/////////////////////////////////////////////////////////////////////////

function showInv() {
	InvLayer.style.display = '';
	Inv2Layer.style.display = 'none';
}
function showInv2() {
	InvLayer.style.display = 'none';
	Inv2Layer.style.display = '';
}

/////////////////////////////////////////////////////////////////////////
