// JavaScript Document

function setLogin(s) {
	for (var i = 0; i < document.login_form.selectlogin.length; i++) {
	   
		if (document.login_form.selectlogin.options[document.login_form.selectlogin.selectedIndex]) {
			var str = document.login_form.selectlogin.options[document.login_form.selectlogin.selectedIndex].value;
			break;
		}
	}
	var arrayOfURL = str.split(",");
	var URL1 = arrayOfURL[0];
	var URL2 = arrayOfURL[1];
	if (s == 1)
	{
		if (URL1 != "") window.location.href = URL1;
	}
	else
	{
		if (URL2 != "") window.location.href = URL2;
	}
}



function IBLogin() {
	
	
		
		var win_height=screen.height-100;
	var win_width=screen.width-30;
	var newin = window.open("https://secure.a1cu.com.au/iblaunch.asp","IBANK3_1","status=yes,scrollbars=yes,resizable=yes,width=" + win_width + ",height=" + win_height + ",top=0,left=0");
	
	
 }

function MobileLogin() {
	
	
		
		var win_height=screen.height-100;
	var win_width=screen.width-30;
	var newin = window.open("https://www.dataaction.com.au/mobi/a1cu","MobileBanking","status=yes,scrollbars=yes,resizable=yes,width=" + win_width + ",height=" + win_height + ",top=0,left=0");
	
	
 }


