/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	Help.js
	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	Copyright (c) 2003, Finsoft Ltd.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	setup for Help ToC layer (to follow the user while scrolling)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
var oHelpToC = null;
function HelpInit() {
    oHelpToC = document.getElementById("HelpToC");
	xStick(oHelpToC);
	xStickScroll(oHelpToC);
}
DomLoaded.load(HelpInit);

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	makes connection between currencies and account numbers on deposit and withdrawals page
	account => currency
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
function ChangeAcc(oSel) {
	if (oSel) {
		var oForm = oSel.form;
		var oSel2 = oForm.elements["helpCur"];
		if (oSel && oSel2) {
			oSel2.selectedIndex = oSel.selectedIndex;
		}
	}
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	makes connection between currencies and account numbers on deposit and withdrawals page
	account <= currency
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
function ChangeCur(oSel) {
	if (oSel) {
		var oForm = oSel.form;
		var oSel2 = oForm.elements["helpAcc"];
		if (oSel && oSel2) {
			oSel2.selectedIndex = oSel.selectedIndex;
		}
	}
}


