public BigDecimal[] getTaxTable(int bracket){ 
		BigDecimal table[] = new BigDecimal[8];
		try{
			String sql = "Select tax, taxpercentover, z, sme, s1me1, s2me2, s3me3," + 
					"s4me4 from taxtable where bracket = " + bracket + ";";
			Statement st = con.createStatement();
			ResultSet rs = st.executeQuery(sql);
			if(rs.next()){
				for(int i = 1;i < 9; i++){
					table[i-1] = new BigDecimal(rs.getString(i));
				}
			}
		} catch (Exception ex) {
			System.out.println(ex);
		}
		return table;
	}