def transferBank(self, owner, target):
		sui = self.getKernel().serviceManager().suiService()
		
		#Enforce uniqueness
		if sui.getSUIWindowByScriptName(owner, 'Script.transfer') != None:
			return

		window = sui.createSUIWindow('Script.transfer', owner, target, 10)
		window.setProperty('transaction.txtInputFrom:Text', 'From')
		window.setProperty('transaction.txtInputTo:Text', 'To')	
		window.setProperty('bg.caption.lblTitle:Text', '@base_player:bank_title')
		window.setProperty('Prompt.lblPrompt:Text', '@base_player:bank_prompt')
		window.setProperty('transaction.lblFrom:Text', '@ui:inv_money_cash')
		window.setProperty('transaction.lblTo:Text', '@ui:inv_money_bank')	
		window.setProperty('transaction.lblStartingFrom:Text', str(owner.cash_credits))
		window.setProperty('transaction.lblStartingTo:Text', str(owner.bank_credits))
		window.setProperty('transaction.txtInputFrom:Text', str(owner.cash_credits))
		window.setProperty('transaction.txtInputTo:Text', str(owner.bank_credits))
		window.setProperty('transaction:ConversionRatioFrom', '1')
		window.setProperty('transaction:ConversionRatioTo', '1')
		results = ResultList()
		results.extend(
			['transaction.txtInputFrom:Text','transaction.txtInputTo:Text']
		)
		transferCallback = PythonCallback(self, 'transferCallback')
		window.subscribeToEventCallback(0, '', InputTrigger.OK, results, transferCallback)
		window.subscribeToEventCallback(1, '', InputTrigger.CANCEL, results, transferCallback)
		sui.openSUIWindow(window)
dataset/ETHPy150Open anhstudios/swganh/data/scripts/radials/bank.py/PyRadialMenu.transferBank/original