var current_real_tab = 1;
var current_tab = 1;

function GetRealTrades(d_html,d_id)
{
	document.getElementById('sub_pair'+current_real_tab).style.backgroundColor='#6A800F';
	document.getElementById('sub_pair'+d_id).style.backgroundColor='#B61F1F';
	current_real_tab = d_id;
	document.getElementById('real_moneyflow').src = './moneyflow/moneyflow/real/'+d_html+'.jpg';	
}

function GetTrades(d_html,d_id)
{
	document.getElementById('sec_pair'+current_tab).style.backgroundColor='#6A800F';
	document.getElementById('sec_pair'+d_id).style.backgroundColor='#B61F1F';
	current_tab = d_id;
	document.getElementById('sec_moneyflow').src = './moneyflow/moneyflow/'+d_html+'.jpg';	
}

function GetRealTradesEn(d_html,d_id)
{
	document.getElementById('sub_pair'+current_real_tab).style.backgroundColor='#6A800F';
	document.getElementById('sub_pair'+d_id).style.backgroundColor='#B61F1F';
	current_real_tab = d_id;
	document.getElementById('real_moneyflow').src = './moneyflow/moneyflow/real/img_en/'+d_html+'.jpg';	
}

function GetTradesEn(d_html,d_id)
{
	document.getElementById('sec_pair'+current_tab).style.backgroundColor='#6A800F';
	document.getElementById('sec_pair'+d_id).style.backgroundColor='#B61F1F';
	current_tab = d_id;
	document.getElementById('sec_moneyflow').src = './moneyflow/moneyflow/img_en/'+d_html+'.jpg';	
}