Reading/Writing/Updating multiple tables in MSSL 2003 server with ASP

Greetings experts. I have created a page the mimics somewhat a spreadsheet used in our company for implementation where we collect expense types.  I initially collected all the data in a single table but ran into the character limitation per row within MS SQL 2003. Until we get the newest version of MS SQL in place. I am attempting to break the data into 3 tables but am not having any success in reading and updating from/to all three tables. Any advice will be most welcomed.
DavidjevansAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hesCommented:
What does your table structure look like.  MSSQL 2003 ? I know of MSSQL2000 and MSSQL2005.
0
DavidjevansAuthor Commented:
My Bad, I get stuck on 2003 for some reason it is MsSql 2000.
0
hesCommented:
The only limitation I knwo of in 2000 is about 8k but that depends on what type data you are storing.
<<A row in a database table cannot span more than one page, so is limited to 8 KB in size. However, if the data exceeds 8 KB and the row contains Varchar or Varbinary data, the data in those columns are moved to a new page (or possibly a sequence of pages, called an Allocation unit) and replaced with a pointer to the data.>>

8 KB is a LOT of data for one row. It is always good to break up tables into their smallest "usable" size.
What does your table look like and we can go from ther on breaking it up and how to access it with queries
0
DavidjevansAuthor Commented:
3rd attempt at adding Code
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
response.write(Session("company"))
'response.write session("company_segment")
'response.write session("company_name")
'response.write(slast_submitted_field)
'response.write(col_no)

Dim MM_trainingdb_STRING
MM_trainingdb_STRING = "dsn=ExpenseTraining;uid=sqladmin;pwd=daniel;"

DIM sSql
DIM col_no
DIM last_submitted_field
DIM active_exp_type_1
DIM def_parent_exp_type_name_1
DIM pref_parent_exp_type_name_1
DIM default_exp_type_name_1
DIM preferred_exp_type_name_1
DIM account_code_1
DIM billable_account_code_1
DIM default_entry_form_name_1
DIM active_exp_type_2
DIM def_parent_exp_type_name_2
DIM pref_parent_exp_type_name_2
DIM default_exp_type_name_2
DIM preferred_exp_type_name_2
DIM account_code_2
DIM billable_account_code_2
DIM default_entry_form_name_2
DIM active_exp_type_3
DIM def_parent_exp_type_name_3
DIM pref_parent_exp_type_name_3
DIM default_exp_type_name_3
DIM preferred_exp_type_name_3
DIM account_code_3
DIM billable_account_code_3
DIM default_entry_form_name_3
DIM active_exp_type_4
DIM def_parent_exp_type_name_4
DIM pref_parent_exp_type_name_4
DIM default_exp_type_name_4
DIM preferred_exp_type_name_4
DIM account_code_4
DIM billable_account_code_4
DIM default_entry_form_name_4
DIM active_exp_type_5
DIM def_parent_exp_type_name_5
DIM pref_parent_exp_type_name_5
DIM default_exp_type_name_5
DIM preferred_exp_type_name_5
DIM account_code_5
DIM billable_account_code_5
DIM default_entry_form_name_5
DIM active_exp_type_6
DIM def_parent_exp_type_name_6
DIM pref_parent_exp_type_name_6
DIM default_exp_type_name_6
DIM preferred_exp_type_name_6
DIM account_code_6
DIM billable_account_code_6
DIM default_entry_form_name_6
DIM active_exp_type_7
DIM def_parent_exp_type_name_7
DIM pref_parent_exp_type_name_7
DIM default_exp_type_name_7
DIM preferred_exp_type_name_7
DIM account_code_7
DIM billable_account_code_7
DIM default_entry_form_name_7
DIM active_exp_type_8
DIM def_parent_exp_type_name_8
DIM pref_parent_exp_type_name_8
DIM default_exp_type_name_8
DIM preferred_exp_type_name_8
DIM account_code_8
DIM billable_account_code_8
DIM default_entry_form_name_8
DIM active_exp_type_9
DIM def_parent_exp_type_name_9
DIM pref_parent_exp_type_name_9
DIM default_exp_type_name_9
DIM preferred_exp_type_name_9
DIM account_code_9
DIM billable_account_code_9
DIM default_entry_form_name_9
DIM active_exp_type_10
DIM def_parent_exp_type_name_10
DIM pref_parent_exp_type_name_10
DIM default_exp_type_name_10
DIM preferred_exp_type_name_10
DIM account_code_10
DIM billable_account_code_10
DIM default_entry_form_name_10
DIM active_exp_type_11
DIM def_parent_exp_type_name_11
DIM pref_parent_exp_type_name_11
DIM default_exp_type_name_11
DIM preferred_exp_type_name_11
DIM account_code_11
DIM billable_account_code_11
DIM default_entry_form_name_11
DIM active_exp_type_12
DIM def_parent_exp_type_name_12
DIM pref_parent_exp_type_name_12
DIM default_exp_type_name_12
DIM preferred_exp_type_name_12
DIM account_code_12
DIM billable_account_code_12
DIM default_entry_form_name_12
DIM active_exp_type_13
DIM def_parent_exp_type_name_13
DIM pref_parent_exp_type_name_13
DIM default_exp_type_name_13
DIM preferred_exp_type_name_13
DIM account_code_13
DIM billable_account_code_13
DIM default_entry_form_name_13
DIM active_exp_type_14
DIM def_parent_exp_type_name_14
DIM pref_parent_exp_type_name_14
DIM default_exp_type_name_14
DIM preferred_exp_type_name_14
DIM account_code_14
DIM billable_account_code_14
DIM default_entry_form_name_14
DIM active_exp_type_15
DIM def_parent_exp_type_name_15
DIM pref_parent_exp_type_name_15
DIM default_exp_type_name_15
DIM preferred_exp_type_name_15
DIM account_code_15
DIM billable_account_code_15
DIM default_entry_form_name_15
DIM active_exp_type_16
DIM def_parent_exp_type_name_16
DIM pref_parent_exp_type_name_16
DIM default_exp_type_name_16
DIM preferred_exp_type_name_16
DIM account_code_16
DIM billable_account_code_16
DIM default_entry_form_name_16
DIM active_exp_type_17
DIM def_parent_exp_type_name_17
DIM pref_parent_exp_type_name_17
DIM default_exp_type_name_17
DIM preferred_exp_type_name_17
DIM account_code_17
DIM billable_account_code_17
DIM default_entry_form_name_17
DIM active_exp_type_18
DIM def_parent_exp_type_name_18
DIM pref_parent_exp_type_name_18
DIM default_exp_type_name_18
DIM preferred_exp_type_name_18
DIM account_code_18
DIM billable_account_code_18
DIM default_entry_form_name_18
DIM active_exp_type_19
DIM def_parent_exp_type_name_19
DIM pref_parent_exp_type_name_19
DIM default_exp_type_name_19
DIM preferred_exp_type_name_19
DIM account_code_19
DIM billable_account_code_19
DIM default_entry_form_name_19
DIM active_exp_type_20
DIM def_parent_exp_type_name_20
DIM pref_parent_exp_type_name_20
DIM default_exp_type_name_20
DIM preferred_exp_type_name_20
DIM account_code_20
DIM billable_account_code_20
DIM default_entry_form_name_20
DIM active_exp_type_21
DIM def_parent_exp_type_name_21
DIM pref_parent_exp_type_name_21
DIM default_exp_type_name_21
DIM preferred_exp_type_name_21
DIM account_code_21
DIM billable_account_code_21
DIM default_entry_form_name_21
DIM active_exp_type_22
DIM def_parent_exp_type_name_22
DIM pref_parent_exp_type_name_22
DIM default_exp_type_name_22
DIM preferred_exp_type_name_22
DIM account_code_22
DIM billable_account_code_22
DIM default_entry_form_name_22
DIM active_exp_type_23
DIM def_parent_exp_type_name_23
DIM pref_parent_exp_type_name_23
DIM default_exp_type_name_23
DIM preferred_exp_type_name_23
DIM account_code_23
DIM billable_account_code_23
DIM default_entry_form_name_23
DIM active_exp_type_24
DIM def_parent_exp_type_name_24
DIM pref_parent_exp_type_name_24
DIM default_exp_type_name_24
DIM preferred_exp_type_name_24
DIM account_code_24
DIM billable_account_code_24
DIM default_entry_form_name_24
DIM active_exp_type_25
DIM def_parent_exp_type_name_25
DIM pref_parent_exp_type_name_25
DIM default_exp_type_name_25
DIM preferred_exp_type_name_25
DIM account_code_25
DIM billable_account_code_25
DIM default_entry_form_name_25
DIM active_exp_type_26
DIM def_parent_exp_type_name_26
DIM pref_parent_exp_type_name_26
DIM default_exp_type_name_26
DIM preferred_exp_type_name_26
DIM account_code_26
DIM billable_account_code_26
DIM default_entry_form_name_26
DIM active_exp_type_27
DIM def_parent_exp_type_name_27
DIM pref_parent_exp_type_name_27
DIM default_exp_type_name_27
DIM preferred_exp_type_name_27
DIM account_code_27
DIM billable_account_code_27
DIM default_entry_form_name_27
DIM active_exp_type_28
DIM def_parent_exp_type_name_28
DIM pref_parent_exp_type_name_28
DIM default_exp_type_name_28
DIM preferred_exp_type_name_28
DIM account_code_28
DIM billable_account_code_28
DIM default_entry_form_name_28
DIM active_exp_type_29
DIM def_parent_exp_type_name_29
DIM pref_parent_exp_type_name_29
DIM default_exp_type_name_29
DIM preferred_exp_type_name_29
DIM account_code_29
DIM billable_account_code_29
DIM default_entry_form_name_29
DIM active_exp_type_30
DIM def_parent_exp_type_name_30
DIM pref_parent_exp_type_name_30
DIM default_exp_type_name_30
DIM preferred_exp_type_name_30
DIM account_code_30
DIM billable_account_code_30
DIM default_entry_form_name_30
DIM active_exp_type_31
DIM def_parent_exp_type_name_31
DIM pref_parent_exp_type_name_31
DIM default_exp_type_name_31
DIM preferred_exp_type_name_31
DIM account_code_31
DIM billable_account_code_31
DIM default_entry_form_name_31
DIM active_exp_type_32
DIM def_parent_exp_type_name_32
DIM pref_parent_exp_type_name_32
DIM default_exp_type_name_32
DIM preferred_exp_type_name_32
DIM account_code_32
DIM billable_account_code_32
DIM default_entry_form_name_32
DIM active_exp_type_33
DIM def_parent_exp_type_name_33
DIM pref_parent_exp_type_name_33
DIM default_exp_type_name_33
DIM preferred_exp_type_name_33
DIM account_code_33
DIM billable_account_code_33
DIM default_entry_form_name_33
DIM active_exp_type_34
DIM def_parent_exp_type_name_34
DIM pref_parent_exp_type_name_34
DIM default_exp_type_name_34
DIM preferred_exp_type_name_34
DIM account_code_34
DIM billable_account_code_34
DIM default_entry_form_name_34
DIM active_exp_type_35
DIM def_parent_exp_type_name_35
DIM pref_parent_exp_type_name_35
DIM default_exp_type_name_35
DIM preferred_exp_type_name_35
DIM account_code_35
DIM billable_account_code_35
DIM default_entry_form_name_35
DIM active_exp_type_36
DIM def_parent_exp_type_name_36
DIM pref_parent_exp_type_name_36
DIM default_exp_type_name_36
DIM preferred_exp_type_name_36
DIM account_code_36
DIM billable_account_code_36
DIM default_entry_form_name_36
DIM active_exp_type_37
DIM def_parent_exp_type_name_37
DIM pref_parent_exp_type_name_37
DIM default_exp_type_name_37
DIM preferred_exp_type_name_37
DIM account_code_37
DIM billable_account_code_37
DIM default_entry_form_name_37
DIM active_exp_type_38
DIM def_parent_exp_type_name_38
DIM pref_parent_exp_type_name_38
DIM default_exp_type_name_38
DIM preferred_exp_type_name_38
DIM account_code_38
DIM billable_account_code_38
DIM default_entry_form_name_38
DIM active_exp_type_39
DIM def_parent_exp_type_name_39
DIM pref_parent_exp_type_name_39
DIM default_exp_type_name_39
DIM preferred_exp_type_name_39
DIM account_code_39
DIM billable_account_code_39
DIM default_entry_form_name_39
DIM active_exp_type_40
DIM def_parent_exp_type_name_40
DIM pref_parent_exp_type_name_40
DIM default_exp_type_name_40
DIM preferred_exp_type_name_40
DIM account_code_40
DIM billable_account_code_40
DIM default_entry_form_name_40
DIM active_exp_type_41
DIM def_parent_exp_type_name_41
DIM pref_parent_exp_type_name_41
DIM default_exp_type_name_41
DIM preferred_exp_type_name_41
DIM account_code_41
DIM billable_account_code_41
DIM default_entry_form_name_41
DIM active_exp_type_42
DIM def_parent_exp_type_name_42
DIM pref_parent_exp_type_name_42
DIM default_exp_type_name_42
DIM preferred_exp_type_name_42
DIM account_code_42
DIM billable_account_code_42
DIM default_entry_form_name_42
DIM active_exp_type_43
DIM def_parent_exp_type_name_43
DIM pref_parent_exp_type_name_43
DIM default_exp_type_name_43
DIM preferred_exp_type_name_43
DIM account_code_43
DIM billable_account_code_43
DIM default_entry_form_name_43
DIM active_exp_type_44
DIM def_parent_exp_type_name_44
DIM pref_parent_exp_type_name_44
DIM default_exp_type_name_44
DIM preferred_exp_type_name_44
DIM account_code_44
DIM billable_account_code_44
DIM default_entry_form_name_44
DIM active_exp_type_45
DIM def_parent_exp_type_name_45
DIM pref_parent_exp_type_name_45
DIM default_exp_type_name_45
DIM preferred_exp_type_name_45
DIM account_code_45
DIM billable_account_code_45
DIM default_entry_form_name_45
DIM active_exp_type_46
DIM def_parent_exp_type_name_46
DIM pref_parent_exp_type_name_46
DIM default_exp_type_name_46
DIM preferred_exp_type_name_46
DIM account_code_46
DIM billable_account_code_46
DIM default_entry_form_name_46
DIM active_exp_type_47
DIM def_parent_exp_type_name_47
DIM pref_parent_exp_type_name_47
DIM default_exp_type_name_47
DIM preferred_exp_type_name_47
DIM account_code_47
DIM billable_account_code_47
DIM default_entry_form_name_47
DIM active_exp_type_48
DIM def_parent_exp_type_name_48
DIM pref_parent_exp_type_name_48
DIM default_exp_type_name_48
DIM preferred_exp_type_name_48
DIM account_code_48
DIM billable_account_code_48
DIM default_entry_form_name_48
DIM active_exp_type_49
DIM def_parent_exp_type_name_49
DIM pref_parent_exp_type_name_49
DIM default_exp_type_name_49
DIM preferred_exp_type_name_49
DIM account_code_49
DIM billable_account_code_49
DIM default_entry_form_name_49
DIM active_exp_type_50
DIM def_parent_exp_type_name_50
DIM pref_parent_exp_type_name_50
DIM default_exp_type_name_50
DIM preferred_exp_type_name_50
DIM account_code_50
DIM billable_account_code_50
DIM default_entry_form_name_50
DIM active_exp_type_51
DIM def_parent_exp_type_name_51
DIM pref_parent_exp_type_name_51
DIM default_exp_type_name_51
DIM preferred_exp_type_name_51
DIM account_code_51
DIM billable_account_code_51
DIM default_entry_form_name_51
DIM active_exp_type_52
DIM def_parent_exp_type_name_52
DIM pref_parent_exp_type_name_52
DIM default_exp_type_name_52
DIM preferred_exp_type_name_52
DIM account_code_52
DIM billable_account_code_52
DIM default_entry_form_name_52
DIM active_exp_type_53
DIM def_parent_exp_type_name_53
DIM pref_parent_exp_type_name_53
DIM default_exp_type_name_53
DIM preferred_exp_type_name_53
DIM account_code_53
DIM billable_account_code_53
DIM default_entry_form_name_53
DIM active_exp_type_54
DIM def_parent_exp_type_name_54
DIM pref_parent_exp_type_name_54
DIM default_exp_type_name_54
DIM preferred_exp_type_name_54
DIM account_code_54
DIM billable_account_code_54
DIM default_entry_form_name_54
DIM active_exp_type_55
DIM def_parent_exp_type_name_55
DIM pref_parent_exp_type_name_55
DIM default_exp_type_name_55
DIM preferred_exp_type_name_55
DIM account_code_55
DIM billable_account_code_55
DIM default_entry_form_name_55
DIM active_exp_type_56
DIM def_parent_exp_type_name_56
DIM pref_parent_exp_type_name_56
DIM default_exp_type_name_56
DIM preferred_exp_type_name_56
DIM account_code_56
DIM billable_account_code_56
DIM default_entry_form_name_56
DIM active_exp_type_57
DIM def_parent_exp_type_name_57
DIM pref_parent_exp_type_name_57
DIM default_exp_type_name_57
DIM preferred_exp_type_name_57
DIM account_code_57
DIM billable_account_code_57
DIM default_entry_form_name_57
DIM active_exp_type_58
DIM def_parent_exp_type_name_58
DIM pref_parent_exp_type_name_58
DIM default_exp_type_name_58
DIM preferred_exp_type_name_58
DIM account_code_58
DIM billable_account_code_58
DIM default_entry_form_name_58
DIM active_exp_type_59
DIM def_parent_exp_type_name_59
DIM pref_parent_exp_type_name_59
DIM default_exp_type_name_59
DIM preferred_exp_type_name_59
DIM account_code_59
DIM billable_account_code_59
DIM default_entry_form_name_59
DIM active_exp_type_60
DIM def_parent_exp_type_name_60
DIM pref_parent_exp_type_name_60
DIM default_exp_type_name_60
DIM preferred_exp_type_name_60
DIM account_code_60
DIM billable_account_code_60
DIM default_entry_form_name_60
DIM active_exp_type_61
DIM def_parent_exp_type_name_61
DIM pref_parent_exp_type_name_61
DIM default_exp_type_name_61
DIM preferred_exp_type_name_61
DIM account_code_61
DIM billable_account_code_61
DIM default_entry_form_name_61
DIM active_exp_type_62
DIM def_parent_exp_type_name_62
DIM pref_parent_exp_type_name_62
DIM default_exp_type_name_62
DIM preferred_exp_type_name_62
DIM account_code_62
DIM billable_account_code_62
DIM default_entry_form_name_62
DIM active_exp_type_63
DIM def_parent_exp_type_name_63
DIM pref_parent_exp_type_name_63
DIM default_exp_type_name_63
DIM preferred_exp_type_name_63
DIM account_code_63
DIM billable_account_code_63
DIM default_entry_form_name_63
DIM active_exp_type_64
DIM def_parent_exp_type_name_64
DIM pref_parent_exp_type_name_64
DIM default_exp_type_name_64
DIM preferred_exp_type_name_64
DIM account_code_64
DIM billable_account_code_64
DIM default_entry_form_name_64
DIM active_exp_type_65
DIM def_parent_exp_type_name_65
DIM pref_parent_exp_type_name_65
DIM default_exp_type_name_65
DIM preferred_exp_type_name_65
DIM account_code_65
DIM billable_account_code_65
DIM default_entry_form_name_65
DIM active_exp_type_66
DIM def_parent_exp_type_name_66
DIM pref_parent_exp_type_name_66
DIM default_exp_type_name_66
DIM preferred_exp_type_name_66
DIM account_code_66
DIM billable_account_code_66
DIM default_entry_form_name_66
DIM active_exp_type_67
DIM def_parent_exp_type_name_67
DIM pref_parent_exp_type_name_67
DIM default_exp_type_name_67
DIM preferred_exp_type_name_67
DIM account_code_67
DIM billable_account_code_67
DIM default_entry_form_name_67
DIM active_exp_type_68
DIM def_parent_exp_type_name_68
DIM pref_parent_exp_type_name_68
DIM default_exp_type_name_68
DIM preferred_exp_type_name_68
DIM account_code_68
DIM billable_account_code_68
DIM default_entry_form_name_68
DIM active_exp_type_69
DIM def_parent_exp_type_name_69
DIM pref_parent_exp_type_name_69
DIM default_exp_type_name_69
DIM preferred_exp_type_name_69
DIM account_code_69
DIM billable_account_code_69
DIM default_entry_form_name_69
DIM active_exp_type_70
DIM def_parent_exp_type_name_70
DIM pref_parent_exp_type_name_70
DIM default_exp_type_name_70
DIM preferred_exp_type_name_70
DIM account_code_70
DIM billable_account_code_70
DIM default_entry_form_name_70
DIM active_exp_type_71
DIM def_parent_exp_type_name_71
DIM pref_parent_exp_type_name_71
DIM default_exp_type_name_71
DIM preferred_exp_type_name_71
DIM account_code_71
DIM billable_account_code_71
DIM default_entry_form_name_71
DIM active_exp_type_72
DIM def_parent_exp_type_name_72
DIM pref_parent_exp_type_name_72
DIM default_exp_type_name_72
DIM preferred_exp_type_name_72
DIM account_code_72
DIM billable_account_code_72
DIM default_entry_form_name_72
DIM active_exp_type_73
DIM def_parent_exp_type_name_73
DIM pref_parent_exp_type_name_73
DIM default_exp_type_name_73
DIM preferred_exp_type_name_73
DIM account_code_73
DIM billable_account_code_73
DIM default_entry_form_name_73
DIM active_exp_type_74
DIM def_parent_exp_type_name_74
DIM pref_parent_exp_type_name_74
DIM default_exp_type_name_74
DIM preferred_exp_type_name_74
DIM account_code_74
DIM billable_account_code_74
DIM default_entry_form_name_74
DIM active_exp_type_75
DIM def_parent_exp_type_name_75
DIM pref_parent_exp_type_name_75
DIM default_exp_type_name_75
DIM preferred_exp_type_name_75
DIM account_code_75
DIM billable_account_code_75
DIM default_entry_form_name_75
DIM active_exp_type_76
DIM def_parent_exp_type_name_76
DIM pref_parent_exp_type_name_76
DIM default_exp_type_name_76
DIM preferred_exp_type_name_76
DIM account_code_76
DIM billable_account_code_76
DIM default_entry_form_name_76
DIM active_exp_type_77
DIM def_parent_exp_type_name_77
DIM pref_parent_exp_type_name_77
DIM default_exp_type_name_77
DIM preferred_exp_type_name_77
DIM account_code_77
DIM billable_account_code_77
DIM default_entry_form_name_77
DIM active_exp_type_78
DIM def_parent_exp_type_name_78
DIM pref_parent_exp_type_name_78
DIM default_exp_type_name_78
DIM preferred_exp_type_name_78
DIM account_code_78
DIM billable_account_code_78
DIM default_entry_form_name_78
DIM active_exp_type_79
DIM def_parent_exp_type_name_79
DIM pref_parent_exp_type_name_79
DIM default_exp_type_name_79
DIM preferred_exp_type_name_79
DIM account_code_79
DIM billable_account_code_79
DIM default_entry_form_name_79
DIM active_exp_type_80
DIM def_parent_exp_type_name_80
DIM pref_parent_exp_type_name_80
DIM default_exp_type_name_80
DIM preferred_exp_type_name_80
DIM account_code_80
DIM billable_account_code_80
DIM default_entry_form_name_80

slast_submitted_field  = ""
sactive_exp_type_1  = ""
sdef_parent_exp_type_name_1  = ""
spref_parent_exp_type_name_1  = ""
sdefault_exp_type_name_1  = ""
spreferred_exp_type_name_1  = ""
saccount_code_1  = ""
sbillable_account_code_1  = ""
sdefault_entry_form_name_1  = ""
sactive_exp_type_2  = ""
sdef_parent_exp_type_name_2  = ""
spref_parent_exp_type_name_2  = ""
sdefault_exp_type_name_2  = ""
spreferred_exp_type_name_2  = ""
saccount_code_2  = ""
sbillable_account_code_2  = ""
sdefault_entry_form_name_2  = ""
sactive_exp_type_3  = ""
sdef_parent_exp_type_name_3  = ""
spref_parent_exp_type_name_3  = ""
sdefault_exp_type_name_3  = ""
spreferred_exp_type_name_3  = ""
saccount_code_3  = ""
sbillable_account_code_3  = ""
sdefault_entry_form_name_3  = ""
sactive_exp_type_4  = ""
sdef_parent_exp_type_name_4  = ""
spref_parent_exp_type_name_4  = ""
sdefault_exp_type_name_4  = ""
spreferred_exp_type_name_4  = ""
saccount_code_4  = ""
sbillable_account_code_4  = ""
sdefault_entry_form_name_4  = ""
sactive_exp_type_5  = ""
sdef_parent_exp_type_name_5  = ""
spref_parent_exp_type_name_5  = ""
sdefault_exp_type_name_5  = ""
spreferred_exp_type_name_5  = ""
saccount_code_5  = ""
sbillable_account_code_5  = ""
sdefault_entry_form_name_5  = ""
sactive_exp_type_6  = ""
sdef_parent_exp_type_name_6  = ""
spref_parent_exp_type_name_6  = ""
sdefault_exp_type_name_6  = ""
spreferred_exp_type_name_6  = ""
saccount_code_6  = ""
sbillable_account_code_6  = ""
sdefault_entry_form_name_6  = ""
sactive_exp_type_7  = ""
sdef_parent_exp_type_name_7  = ""
spref_parent_exp_type_name_7  = ""
sdefault_exp_type_name_7  = ""
spreferred_exp_type_name_7  = ""
saccount_code_7  = ""
sbillable_account_code_7  = ""
sdefault_entry_form_name_7  = ""
sactive_exp_type_8  = ""
sdef_parent_exp_type_name_8  = ""
spref_parent_exp_type_name_8  = ""
sdefault_exp_type_name_8  = ""
spreferred_exp_type_name_8  = ""
saccount_code_8  = ""
sbillable_account_code_8  = ""
sdefault_entry_form_name_8  = ""
sactive_exp_type_9  = ""
sdef_parent_exp_type_name_9  = ""
spref_parent_exp_type_name_9  = ""
sdefault_exp_type_name_9  = ""
spreferred_exp_type_name_9  = ""
saccount_code_9  = ""
sbillable_account_code_9  = ""
sdefault_entry_form_name_9  = ""
sactive_exp_type_10  = ""
sdef_parent_exp_type_name_10  = ""
spref_parent_exp_type_name_10  = ""
sdefault_exp_type_name_10  = ""
spreferred_exp_type_name_10  = ""
saccount_code_10  = ""
sbillable_account_code_10  = ""
sdefault_entry_form_name_10  = ""
sactive_exp_type_11  = ""
sdef_parent_exp_type_name_11  = ""
spref_parent_exp_type_name_11  = ""
sdefault_exp_type_name_11  = ""
spreferred_exp_type_name_11  = ""
saccount_code_11  = ""
sbillable_account_code_11  = ""
sdefault_entry_form_name_11  = ""
sactive_exp_type_12  = ""
sdef_parent_exp_type_name_12  = ""
spref_parent_exp_type_name_12  = ""
sdefault_exp_type_name_12  = ""
spreferred_exp_type_name_12  = ""
saccount_code_12  = ""
sbillable_account_code_12  = ""
sdefault_entry_form_name_12  = ""
sactive_exp_type_13  = ""
sdef_parent_exp_type_name_13  = ""
spref_parent_exp_type_name_13  = ""
sdefault_exp_type_name_13  = ""
spreferred_exp_type_name_13  = ""
saccount_code_13  = ""
sbillable_account_code_13  = ""
sdefault_entry_form_name_13  = ""
sactive_exp_type_14  = ""
sdef_parent_exp_type_name_14  = ""
spref_parent_exp_type_name_14  = ""
sdefault_exp_type_name_14  = ""
spreferred_exp_type_name_14  = ""
saccount_code_14  = ""
sbillable_account_code_14  = ""
sdefault_entry_form_name_14  = ""
sactive_exp_type_15  = ""
sdef_parent_exp_type_name_15  = ""
spref_parent_exp_type_name_15  = ""
sdefault_exp_type_name_15  = ""
spreferred_exp_type_name_15  = ""
saccount_code_15  = ""
sbillable_account_code_15  = ""
sdefault_entry_form_name_15  = ""
sactive_exp_type_16  = ""
sdef_parent_exp_type_name_16  = ""
spref_parent_exp_type_name_16  = ""
sdefault_exp_type_name_16  = ""
spreferred_exp_type_name_16  = ""
saccount_code_16  = ""
sbillable_account_code_16  = ""
sdefault_entry_form_name_16  = ""
sactive_exp_type_17  = ""
sdef_parent_exp_type_name_17  = ""
spref_parent_exp_type_name_17  = ""
sdefault_exp_type_name_17  = ""
spreferred_exp_type_name_17  = ""
saccount_code_17  = ""
sbillable_account_code_17  = ""
sdefault_entry_form_name_17  = ""
sactive_exp_type_18  = ""
sdef_parent_exp_type_name_18  = ""
spref_parent_exp_type_name_18  = ""
sdefault_exp_type_name_18  = ""
spreferred_exp_type_name_18  = ""
saccount_code_18  = ""
sbillable_account_code_18  = ""
sdefault_entry_form_name_18  = ""
sactive_exp_type_19  = ""
sdef_parent_exp_type_name_19  = ""
spref_parent_exp_type_name_19  = ""
sdefault_exp_type_name_19  = ""
spreferred_exp_type_name_19  = ""
saccount_code_19  = ""
sbillable_account_code_19  = ""
sdefault_entry_form_name_19  = ""
sactive_exp_type_20  = ""
sdef_parent_exp_type_name_20  = ""
spref_parent_exp_type_name_20  = ""
sdefault_exp_type_name_20  = ""
spreferred_exp_type_name_20  = ""
saccount_code_20  = ""
sbillable_account_code_20  = ""
sdefault_entry_form_name_20  = ""
sactive_exp_type_21  = ""
sdef_parent_exp_type_name_21  = ""
spref_parent_exp_type_name_21  = ""
sdefault_exp_type_name_21  = ""
spreferred_exp_type_name_21  = ""
saccount_code_21  = ""
sbillable_account_code_21  = ""
sdefault_entry_form_name_21  = ""
sactive_exp_type_22  = ""
sdef_parent_exp_type_name_22  = ""
spref_parent_exp_type_name_22  = ""
sdefault_exp_type_name_22  = ""
spreferred_exp_type_name_22  = ""
saccount_code_22  = ""
sbillable_account_code_22  = ""
sdefault_entry_form_name_22  = ""
sactive_exp_type_23  = ""
sdef_parent_exp_type_name_23  = ""
spref_parent_exp_type_name_23  = ""
sdefault_exp_type_name_23  = ""
spreferred_exp_type_name_23  = ""
saccount_code_23  = ""
sbillable_account_code_23  = ""
sdefault_entry_form_name_23  = ""
sactive_exp_type_24  = ""
sdef_parent_exp_type_name_24  = ""
spref_parent_exp_type_name_24  = ""
sdefault_exp_type_name_24  = ""
spreferred_exp_type_name_24  = ""
saccount_code_24  = ""
sbillable_account_code_24  = ""
sdefault_entry_form_name_24  = ""
sactive_exp_type_25  = ""
sdef_parent_exp_type_name_25  = ""
spref_parent_exp_type_name_25  = ""
sdefault_exp_type_name_25  = ""
spreferred_exp_type_name_25  = ""
saccount_code_25  = ""
sbillable_account_code_25  = ""
sdefault_entry_form_name_25  = ""
sactive_exp_type_26  = ""
sdef_parent_exp_type_name_26  = ""
spref_parent_exp_type_name_26  = ""
sdefault_exp_type_name_26  = ""
spreferred_exp_type_name_26  = ""
saccount_code_26  = ""
sbillable_account_code_26  = ""
sdefault_entry_form_name_26  = ""
sactive_exp_type_27  = ""
sdef_parent_exp_type_name_27  = ""
spref_parent_exp_type_name_27  = ""
sdefault_exp_type_name_27  = ""
spreferred_exp_type_name_27  = ""
saccount_code_27  = ""
sbillable_account_code_27  = ""
sdefault_entry_form_name_27  = ""
sactive_exp_type_28  = ""
sdef_parent_exp_type_name_28  = ""
spref_parent_exp_type_name_28  = ""
sdefault_exp_type_name_28  = ""
spreferred_exp_type_name_28  = ""
saccount_code_28  = ""
sbillable_account_code_28  = ""
sdefault_entry_form_name_28  = ""
sactive_exp_type_29  = ""
sdef_parent_exp_type_name_29  = ""
spref_parent_exp_type_name_29  = ""
sdefault_exp_type_name_29  = ""
spreferred_exp_type_name_29  = ""
saccount_code_29  = ""
sbillable_account_code_29  = ""
sdefault_entry_form_name_29  = ""
sactive_exp_type_30  = ""
sdef_parent_exp_type_name_30  = ""
spref_parent_exp_type_name_30  = ""
sdefault_exp_type_name_30  = ""
spreferred_exp_type_name_30  = ""
saccount_code_30  = ""
sbillable_account_code_30  = ""
sdefault_entry_form_name_30  = ""
sactive_exp_type_31  = ""
sdef_parent_exp_type_name_31  = ""
spref_parent_exp_type_name_31  = ""
sdefault_exp_type_name_31  = ""
spreferred_exp_type_name_31  = ""
saccount_code_31  = ""
sbillable_account_code_31  = ""
sdefault_entry_form_name_31  = ""
sactive_exp_type_32  = ""
sdef_parent_exp_type_name_32  = ""
spref_parent_exp_type_name_32  = ""
sdefault_exp_type_name_32  = ""
spreferred_exp_type_name_32  = ""
saccount_code_32  = ""
sbillable_account_code_32  = ""
sdefault_entry_form_name_32  = ""
sactive_exp_type_33  = ""
sdef_parent_exp_type_name_33  = ""
spref_parent_exp_type_name_33  = ""
sdefault_exp_type_name_33  = ""
spreferred_exp_type_name_33  = ""
saccount_code_33  = ""
sbillable_account_code_33  = ""
sdefault_entry_form_name_33  = ""
sactive_exp_type_34  = ""
sdef_parent_exp_type_name_34  = ""
spref_parent_exp_type_name_34  = ""
sdefault_exp_type_name_34  = ""
spreferred_exp_type_name_34  = ""
saccount_code_34  = ""
sbillable_account_code_34  = ""
sdefault_entry_form_name_34  = ""
sactive_exp_type_35  = ""
sdef_parent_exp_type_name_35  = ""
spref_parent_exp_type_name_35  = ""
sdefault_exp_type_name_35  = ""
spreferred_exp_type_name_35  = ""
saccount_code_35  = ""
sbillable_account_code_35  = ""
sdefault_entry_form_name_35  = ""
sactive_exp_type_36  = ""
sdef_parent_exp_type_name_36  = ""
spref_parent_exp_type_name_36  = ""
sdefault_exp_type_name_36  = ""
spreferred_exp_type_name_36  = ""
saccount_code_36  = ""
sbillable_account_code_36  = ""
sdefault_entry_form_name_36  = ""
sactive_exp_type_37  = ""
sdef_parent_exp_type_name_37  = ""
spref_parent_exp_type_name_37  = ""
sdefault_exp_type_name_37  = ""
spreferred_exp_type_name_37  = ""
saccount_code_37  = ""
sbillable_account_code_37  = ""
sdefault_entry_form_name_37  = ""
sactive_exp_type_38  = ""
sdef_parent_exp_type_name_38  = ""
spref_parent_exp_type_name_38  = ""
sdefault_exp_type_name_38  = ""
spreferred_exp_type_name_38  = ""
saccount_code_38  = ""
sbillable_account_code_38  = ""
sdefault_entry_form_name_38  = ""
sactive_exp_type_39  = ""
sdef_parent_exp_type_name_39  = ""
spref_parent_exp_type_name_39  = ""
sdefault_exp_type_name_39  = ""
spreferred_exp_type_name_39  = ""
saccount_code_39  = ""
sbillable_account_code_39  = ""
sdefault_entry_form_name_39  = ""
sactive_exp_type_40  = ""
sdef_parent_exp_type_name_40  = ""
spref_parent_exp_type_name_40  = ""
sdefault_exp_type_name_40  = ""
spreferred_exp_type_name_40  = ""
saccount_code_40  = ""
sbillable_account_code_40  = ""
sdefault_entry_form_name_40  = ""
sactive_exp_type_41  = ""
sdef_parent_exp_type_name_41  = ""
spref_parent_exp_type_name_41  = ""
sdefault_exp_type_name_41  = ""
spreferred_exp_type_name_41  = ""
saccount_code_41  = ""
sbillable_account_code_41  = ""
sdefault_entry_form_name_41  = ""
sactive_exp_type_42  = ""
sdef_parent_exp_type_name_42  = ""
spref_parent_exp_type_name_42  = ""
sdefault_exp_type_name_42  = ""
spreferred_exp_type_name_42  = ""
saccount_code_42  = ""
sbillable_account_code_42  = ""
sdefault_entry_form_name_42  = ""
sactive_exp_type_43  = ""
sdef_parent_exp_type_name_43  = ""
spref_parent_exp_type_name_43  = ""
sdefault_exp_type_name_43  = ""
spreferred_exp_type_name_43  = ""
saccount_code_43  = ""
sbillable_account_code_43  = ""
sdefault_entry_form_name_43  = ""
sactive_exp_type_44  = ""
sdef_parent_exp_type_name_44  = ""
spref_parent_exp_type_name_44  = ""
sdefault_exp_type_name_44  = ""
spreferred_exp_type_name_44  = ""
saccount_code_44  = ""
sbillable_account_code_44  = ""
sdefault_entry_form_name_44  = ""
sactive_exp_type_45  = ""
sdef_parent_exp_type_name_45  = ""
spref_parent_exp_type_name_45  = ""
sdefault_exp_type_name_45  = ""
spreferred_exp_type_name_45  = ""
saccount_code_45  = ""
sbillable_account_code_45  = ""
sdefault_entry_form_name_45  = ""
sactive_exp_type_46  = ""
sdef_parent_exp_type_name_46  = ""
spref_parent_exp_type_name_46  = ""
sdefault_exp_type_name_46  = ""
spreferred_exp_type_name_46  = ""
saccount_code_46  = ""
sbillable_account_code_46  = ""
sdefault_entry_form_name_46  = ""
sactive_exp_type_47  = ""
sdef_parent_exp_type_name_47  = ""
spref_parent_exp_type_name_47  = ""
sdefault_exp_type_name_47  = ""
spreferred_exp_type_name_47  = ""
saccount_code_47  = ""
sbillable_account_code_47  = ""
sdefault_entry_form_name_47  = ""
sactive_exp_type_48  = ""
sdef_parent_exp_type_name_48  = ""
spref_parent_exp_type_name_48  = ""
sdefault_exp_type_name_48  = ""
spreferred_exp_type_name_48  = ""
saccount_code_48  = ""
sbillable_account_code_48  = ""
sdefault_entry_form_name_48  = ""
sactive_exp_type_49  = ""
sdef_parent_exp_type_name_49  = ""
spref_parent_exp_type_name_49  = ""
sdefault_exp_type_name_49  = ""
spreferred_exp_type_name_49  = ""
saccount_code_49  = ""
sbillable_account_code_49  = ""
sdefault_entry_form_name_49  = ""
sactive_exp_type_50  = ""
sdef_parent_exp_type_name_50  = ""
spref_parent_exp_type_name_50  = ""
sdefault_exp_type_name_50  = ""
spreferred_exp_type_name_50  = ""
saccount_code_50  = ""
sbillable_account_code_50  = ""
sdefault_entry_form_name_50  = ""
sactive_exp_type_51  = ""
sdef_parent_exp_type_name_51  = ""
spref_parent_exp_type_name_51  = ""
sdefault_exp_type_name_51  = ""
spreferred_exp_type_name_51  = ""
saccount_code_51  = ""
sbillable_account_code_51  = ""
sdefault_entry_form_name_51  = ""
sactive_exp_type_52  = ""
sdef_parent_exp_type_name_52  = ""
spref_parent_exp_type_name_52  = ""
sdefault_exp_type_name_52  = ""
spreferred_exp_type_name_52  = ""
saccount_code_52  = ""
sbillable_account_code_52  = ""
sdefault_entry_form_name_52  = ""
sactive_exp_type_53  = ""
sdef_parent_exp_type_name_53  = ""
spref_parent_exp_type_name_53  = ""
sdefault_exp_type_name_53  = ""
spreferred_exp_type_name_53  = ""
saccount_code_53  = ""
sbillable_account_code_53  = ""
sdefault_entry_form_name_53  = ""
sactive_exp_type_54  = ""
sdef_parent_exp_type_name_54  = ""
spref_parent_exp_type_name_54  = ""
sdefault_exp_type_name_54  = ""
spreferred_exp_type_name_54  = ""
saccount_code_54  = ""
sbillable_account_code_54  = ""
sdefault_entry_form_name_54  = ""
sactive_exp_type_55  = ""
sdef_parent_exp_type_name_55  = ""
spref_parent_exp_type_name_55  = ""
sdefault_exp_type_name_55  = ""
spreferred_exp_type_name_55  = ""
saccount_code_55  = ""
sbillable_account_code_55  = ""
sdefault_entry_form_name_55  = ""
sactive_exp_type_56  = ""
sdef_parent_exp_type_name_56  = ""
spref_parent_exp_type_name_56  = ""
sdefault_exp_type_name_56  = ""
spreferred_exp_type_name_56  = ""
saccount_code_56  = ""
sbillable_account_code_56  = ""
sdefault_entry_form_name_56  = ""
sactive_exp_type_57  = ""
sdef_parent_exp_type_name_57  = ""
spref_parent_exp_type_name_57  = ""
sdefault_exp_type_name_57  = ""
spreferred_exp_type_name_57  = ""
saccount_code_57  = ""
sbillable_account_code_57  = ""
sdefault_entry_form_name_57  = ""
sactive_exp_type_58  = ""
sdef_parent_exp_type_name_58  = ""
spref_parent_exp_type_name_58  = ""
sdefault_exp_type_name_58  = ""
spreferred_exp_type_name_58  = ""
saccount_code_58  = ""
sbillable_account_code_58  = ""
sdefault_entry_form_name_58  = ""
sactive_exp_type_59  = ""
sdef_parent_exp_type_name_59  = ""
spref_parent_exp_type_name_59  = ""
sdefault_exp_type_name_59  = ""
spreferred_exp_type_name_59  = ""
saccount_code_59  = ""
sbillable_account_code_59  = ""
sdefault_entry_form_name_59  = ""
sactive_exp_type_60  = ""
sdef_parent_exp_type_name_60  = ""
spref_parent_exp_type_name_60  = ""
sdefault_exp_type_name_60  = ""
spreferred_exp_type_name_60  = ""
saccount_code_60  = ""
sbillable_account_code_60  = ""
sdefault_entry_form_name_60  = ""
sactive_exp_type_61  = ""
sdef_parent_exp_type_name_61  = ""
spref_parent_exp_type_name_61  = ""
sdefault_exp_type_name_61  = ""
spreferred_exp_type_name_61  = ""
saccount_code_61  = ""
sbillable_account_code_61  = ""
sdefault_entry_form_name_61  = ""
sactive_exp_type_62  = ""
sdef_parent_exp_type_name_62  = ""
spref_parent_exp_type_name_62  = ""
sdefault_exp_type_name_62  = ""
spreferred_exp_type_name_62  = ""
saccount_code_62  = ""
sbillable_account_code_62  = ""
sdefault_entry_form_name_62  = ""
sactive_exp_type_63  = ""
sdef_parent_exp_type_name_63  = ""
spref_parent_exp_type_name_63  = ""
sdefault_exp_type_name_63  = ""
spreferred_exp_type_name_63  = ""
saccount_code_63  = ""
sbillable_account_code_63  = ""
sdefault_entry_form_name_63  = ""
sactive_exp_type_64  = ""
sdef_parent_exp_type_name_64  = ""
spref_parent_exp_type_name_64  = ""
sdefault_exp_type_name_64  = ""
spreferred_exp_type_name_64  = ""
saccount_code_64  = ""
sbillable_account_code_64  = ""
sdefault_entry_form_name_64  = ""
sactive_exp_type_65  = ""
sdef_parent_exp_type_name_65  = ""
spref_parent_exp_type_name_65  = ""
sdefault_exp_type_name_65  = ""
spreferred_exp_type_name_65  = ""
saccount_code_65  = ""
sbillable_account_code_65  = ""
sdefault_entry_form_name_65  = ""
sactive_exp_type_66  = ""
sdef_parent_exp_type_name_66  = ""
spref_parent_exp_type_name_66  = ""
sdefault_exp_type_name_66  = ""
spreferred_exp_type_name_66  = ""
saccount_code_66  = ""
sbillable_account_code_66  = ""
sdefault_entry_form_name_66  = ""
sactive_exp_type_67  = ""
sdef_parent_exp_type_name_67  = ""
spref_parent_exp_type_name_67  = ""
sdefault_exp_type_name_67  = ""
spreferred_exp_type_name_67  = ""
saccount_code_67  = ""
sbillable_account_code_67  = ""
sdefault_entry_form_name_67  = ""
sactive_exp_type_68  = ""
sdef_parent_exp_type_name_68  = ""
spref_parent_exp_type_name_68  = ""
sdefault_exp_type_name_68  = ""
spreferred_exp_type_name_68  = ""
saccount_code_68  = ""
sbillable_account_code_68  = ""
sdefault_entry_form_name_68  = ""
sactive_exp_type_69  = ""
sdef_parent_exp_type_name_69  = ""
spref_parent_exp_type_name_69  = ""
sdefault_exp_type_name_69  = ""
spreferred_exp_type_name_69  = ""
saccount_code_69  = ""
sbillable_account_code_69  = ""
sdefault_entry_form_name_69  = ""
sactive_exp_type_70  = ""
sdef_parent_exp_type_name_70  = ""
spref_parent_exp_type_name_70  = ""
sdefault_exp_type_name_70  = ""
spreferred_exp_type_name_70  = ""
saccount_code_70  = ""
sbillable_account_code_70  = ""
sdefault_entry_form_name_70  = ""
sactive_exp_type_71  = ""
sdef_parent_exp_type_name_71  = ""
spref_parent_exp_type_name_71  = ""
sdefault_exp_type_name_71  = ""
spreferred_exp_type_name_71  = ""
saccount_code_71  = ""
sbillable_account_code_71  = ""
sdefault_entry_form_name_71  = ""
sactive_exp_type_72  = ""
sdef_parent_exp_type_name_72  = ""
spref_parent_exp_type_name_72  = ""
sdefault_exp_type_name_72  = ""
spreferred_exp_type_name_72  = ""
saccount_code_72  = ""
sbillable_account_code_72  = ""
sdefault_entry_form_name_72  = ""
sactive_exp_type_73  = ""
sdef_parent_exp_type_name_73  = ""
spref_parent_exp_type_name_73  = ""
sdefault_exp_type_name_73  = ""
spreferred_exp_type_name_73  = ""
saccount_code_73  = ""
sbillable_account_code_73  = ""
sdefault_entry_form_name_73  = ""
sactive_exp_type_74  = ""
sdef_parent_exp_type_name_74  = ""
spref_parent_exp_type_name_74  = ""
sdefault_exp_type_name_74  = ""
spreferred_exp_type_name_74  = ""
saccount_code_74  = ""
sbillable_account_code_74  = ""
sdefault_entry_form_name_74  = ""
sactive_exp_type_75  = ""
sdef_parent_exp_type_name_75  = ""
spref_parent_exp_type_name_75  = ""
sdefault_exp_type_name_75  = ""
spreferred_exp_type_name_75  = ""
saccount_code_75  = ""
sbillable_account_code_75  = ""
sdefault_entry_form_name_75  = ""
sactive_exp_type_76  = ""
sdef_parent_exp_type_name_76  = ""
spref_parent_exp_type_name_76  = ""
sdefault_exp_type_name_76  = ""
spreferred_exp_type_name_76  = ""
saccount_code_76  = ""
sbillable_account_code_76  = ""
sdefault_entry_form_name_76  = ""
sactive_exp_type_77  = ""
sdef_parent_exp_type_name_77  = ""
spref_parent_exp_type_name_77  = ""
sdefault_exp_type_name_77  = ""
spreferred_exp_type_name_77  = ""
saccount_code_77  = ""
sbillable_account_code_77  = ""
sdefault_entry_form_name_77  = ""
sactive_exp_type_78  = ""
sdef_parent_exp_type_name_78  = ""
spref_parent_exp_type_name_78  = ""
sdefault_exp_type_name_78  = ""
spreferred_exp_type_name_78  = ""
saccount_code_78  = ""
sbillable_account_code_78  = ""
sdefault_entry_form_name_78  = ""
sactive_exp_type_79  = ""
sdef_parent_exp_type_name_79  = ""
spref_parent_exp_type_name_79  = ""
sdefault_exp_type_name_79  = ""
spreferred_exp_type_name_79  = ""
saccount_code_79  = ""
sbillable_account_code_79  = ""
sdefault_entry_form_name_79  = ""
sactive_exp_type_80  = ""
sdef_parent_exp_type_name_80  = ""
spref_parent_exp_type_name_80  = ""
sdefault_exp_type_name_80  = ""
spreferred_exp_type_name_80  = ""
saccount_code_80  = ""
sbillable_account_code_80  = ""
sdefault_entry_form_name_80  = ""
page_name = "cte_expense_types_display_corp_ed_v3_pg1_ver_a.asp"

Set oConnection = CreateObject("ADODB.Connection")
	oConnection.Properties("Prompt") = 4 '(4)NeverPrompt
	oConnection.Open MM_trainingdb_STRING
	
	sSql = "select * from cia_cte_expense_types_p1_a where company_key = " & session("company")
	Set rsExpensetypes1 = CreateObject("ADODB.Recordset") 
	rsExpensetypes1.Open sSql, oConnection
	
 	If Not rsExpensetypes1.BOF And Not rsExpensetypes1.EOF Then 'checks if anything is returned
        'we had one - populate form fields
sactive_exp_type_1  = rsExpensetypes1 ("active_exp_type_1")
sdef_parent_exp_type_name_1  = rsExpensetypes1 ("def_parent_exp_type_name_1")
spref_parent_exp_type_name_1  = rsExpensetypes1 ("pref_parent_exp_type_name_1")
sdefault_exp_type_name_1  = rsExpensetypes1 ("default_exp_type_name_1")
spreferred_exp_type_name_1  = rsExpensetypes1 ("preferred_exp_type_name_1")
saccount_code_1  = rsExpensetypes1 ("account_code_1")
sbillable_account_code_1  = rsExpensetypes1 ("billable_account_code_1")
sdefault_entry_form_name_1  = rsExpensetypes1 ("default_entry_form_name_1")
sactive_exp_type_2  = rsExpensetypes1 ("active_exp_type_2")
sdef_parent_exp_type_name_2  = rsExpensetypes1 ("def_parent_exp_type_name_2")
spref_parent_exp_type_name_2  = rsExpensetypes1 ("pref_parent_exp_type_name_2")
sdefault_exp_type_name_2  = rsExpensetypes1 ("default_exp_type_name_2")
spreferred_exp_type_name_2  = rsExpensetypes1 ("preferred_exp_type_name_2")
saccount_code_2  = rsExpensetypes1 ("account_code_2")
sbillable_account_code_2  = rsExpensetypes1 ("billable_account_code_2")
sdefault_entry_form_name_2  = rsExpensetypes1 ("default_entry_form_name_2")
sactive_exp_type_3  = rsExpensetypes1 ("active_exp_type_3")
sdef_parent_exp_type_name_3  = rsExpensetypes1 ("def_parent_exp_type_name_3")
spref_parent_exp_type_name_3  = rsExpensetypes1 ("pref_parent_exp_type_name_3")
sdefault_exp_type_name_3  = rsExpensetypes1 ("default_exp_type_name_3")
spreferred_exp_type_name_3  = rsExpensetypes1 ("preferred_exp_type_name_3")
saccount_code_3  = rsExpensetypes1 ("account_code_3")
sbillable_account_code_3  = rsExpensetypes1 ("billable_account_code_3")
sdefault_entry_form_name_3  = rsExpensetypes1 ("default_entry_form_name_3")
sactive_exp_type_4  = rsExpensetypes1 ("active_exp_type_4")
sdef_parent_exp_type_name_4  = rsExpensetypes1 ("def_parent_exp_type_name_4")
spref_parent_exp_type_name_4  = rsExpensetypes1 ("pref_parent_exp_type_name_4")
sdefault_exp_type_name_4  = rsExpensetypes1 ("default_exp_type_name_4")
spreferred_exp_type_name_4  = rsExpensetypes1 ("preferred_exp_type_name_4")
saccount_code_4  = rsExpensetypes1 ("account_code_4")
sbillable_account_code_4  = rsExpensetypes1 ("billable_account_code_4")
sdefault_entry_form_name_4  = rsExpensetypes1 ("default_entry_form_name_4")
sactive_exp_type_5  = rsExpensetypes1 ("active_exp_type_5")
sdef_parent_exp_type_name_5  = rsExpensetypes1 ("def_parent_exp_type_name_5")
spref_parent_exp_type_name_5  = rsExpensetypes1 ("pref_parent_exp_type_name_5")
sdefault_exp_type_name_5  = rsExpensetypes1 ("default_exp_type_name_5")
spreferred_exp_type_name_5  = rsExpensetypes1 ("preferred_exp_type_name_5")
saccount_code_5  = rsExpensetypes1 ("account_code_5")
sbillable_account_code_5  = rsExpensetypes1 ("billable_account_code_5")
sdefault_entry_form_name_5  = rsExpensetypes1 ("default_entry_form_name_5")
sactive_exp_type_6  = rsExpensetypes1 ("active_exp_type_6")
sdef_parent_exp_type_name_6  = rsExpensetypes1 ("def_parent_exp_type_name_6")
spref_parent_exp_type_name_6  = rsExpensetypes1 ("pref_parent_exp_type_name_6")
sdefault_exp_type_name_6  = rsExpensetypes1 ("default_exp_type_name_6")
spreferred_exp_type_name_6  = rsExpensetypes1 ("preferred_exp_type_name_6")
saccount_code_6  = rsExpensetypes1 ("account_code_6")
sbillable_account_code_6  = rsExpensetypes1 ("billable_account_code_6")
sdefault_entry_form_name_6  = rsExpensetypes1 ("default_entry_form_name_6")
sactive_exp_type_7  = rsExpensetypes1 ("active_exp_type_7")
sdef_parent_exp_type_name_7  = rsExpensetypes1 ("def_parent_exp_type_name_7")
spref_parent_exp_type_name_7  = rsExpensetypes1 ("pref_parent_exp_type_name_7")
sdefault_exp_type_name_7  = rsExpensetypes1 ("default_exp_type_name_7")
spreferred_exp_type_name_7  = rsExpensetypes1 ("preferred_exp_type_name_7")
saccount_code_7  = rsExpensetypes1 ("account_code_7")
sbillable_account_code_7  = rsExpensetypes1 ("billable_account_code_7")
sdefault_entry_form_name_7  = rsExpensetypes1 ("default_entry_form_name_7")
sactive_exp_type_8  = rsExpensetypes1 ("active_exp_type_8")
sdef_parent_exp_type_name_8  = rsExpensetypes1 ("def_parent_exp_type_name_8")
spref_parent_exp_type_name_8  = rsExpensetypes1 ("pref_parent_exp_type_name_8")
sdefault_exp_type_name_8  = rsExpensetypes1 ("default_exp_type_name_8")
spreferred_exp_type_name_8  = rsExpensetypes1 ("preferred_exp_type_name_8")
saccount_code_8  = rsExpensetypes1 ("account_code_8")
sbillable_account_code_8  = rsExpensetypes1 ("billable_account_code_8")
sdefault_entry_form_name_8  = rsExpensetypes1 ("default_entry_form_name_8")
sactive_exp_type_9  = rsExpensetypes1 ("active_exp_type_9")
sdef_parent_exp_type_name_9  = rsExpensetypes1 ("def_parent_exp_type_name_9")
spref_parent_exp_type_name_9  = rsExpensetypes1 ("pref_parent_exp_type_name_9")
sdefault_exp_type_name_9  = rsExpensetypes1 ("default_exp_type_name_9")
spreferred_exp_type_name_9  = rsExpensetypes1 ("preferred_exp_type_name_9")
saccount_code_9  = rsExpensetypes1 ("account_code_9")
sbillable_account_code_9  = rsExpensetypes1 ("billable_account_code_9")
sdefault_entry_form_name_9  = rsExpensetypes1 ("default_entry_form_name_9")
sactive_exp_type_10  = rsExpensetypes1 ("active_exp_type_10")
sdef_parent_exp_type_name_10  = rsExpensetypes1 ("def_parent_exp_type_name_10")
spref_parent_exp_type_name_10  = rsExpensetypes1 ("pref_parent_exp_type_name_10")
sdefault_exp_type_name_10  = rsExpensetypes1 ("default_exp_type_name_10")
spreferred_exp_type_name_10  = rsExpensetypes1 ("preferred_exp_type_name_10")
saccount_code_10  = rsExpensetypes1 ("account_code_10")
sbillable_account_code_10  = rsExpensetypes1 ("billable_account_code_10")
sdefault_entry_form_name_10  = rsExpensetypes1 ("default_entry_form_name_10")
sactive_exp_type_11  = rsExpensetypes1 ("active_exp_type_11")
sdef_parent_exp_type_name_11  = rsExpensetypes1 ("def_parent_exp_type_name_11")
spref_parent_exp_type_name_11  = rsExpensetypes1 ("pref_parent_exp_type_name_11")
sdefault_exp_type_name_11  = rsExpensetypes1 ("default_exp_type_name_11")
spreferred_exp_type_name_11  = rsExpensetypes1 ("preferred_exp_type_name_11")
saccount_code_11  = rsExpensetypes1 ("account_code_11")
sbillable_account_code_11  = rsExpensetypes1 ("billable_account_code_11")
sdefault_entry_form_name_11  = rsExpensetypes1 ("default_entry_form_name_11")
sactive_exp_type_12  = rsExpensetypes1 ("active_exp_type_12")
sdef_parent_exp_type_name_12  = rsExpensetypes1 ("def_parent_exp_type_name_12")
spref_parent_exp_type_name_12  = rsExpensetypes1 ("pref_parent_exp_type_name_12")
sdefault_exp_type_name_12  = rsExpensetypes1 ("default_exp_type_name_12")
spreferred_exp_type_name_12  = rsExpensetypes1 ("preferred_exp_type_name_12")
saccount_code_12  = rsExpensetypes1 ("account_code_12")
sbillable_account_code_12  = rsExpensetypes1 ("billable_account_code_12")
sdefault_entry_form_name_12  = rsExpensetypes1 ("default_entry_form_name_12")
sactive_exp_type_13  = rsExpensetypes1 ("active_exp_type_13")
sdef_parent_exp_type_name_13  = rsExpensetypes1 ("def_parent_exp_type_name_13")
spref_parent_exp_type_name_13  = rsExpensetypes1 ("pref_parent_exp_type_name_13")
sdefault_exp_type_name_13  = rsExpensetypes1 ("default_exp_type_name_13")
spreferred_exp_type_name_13  = rsExpensetypes1 ("preferred_exp_type_name_13")
saccount_code_13  = rsExpensetypes1 ("account_code_13")
sbillable_account_code_13  = rsExpensetypes1 ("billable_account_code_13")
sdefault_entry_form_name_13  = rsExpensetypes1 ("default_entry_form_name_13")
sactive_exp_type_14  = rsExpensetypes1 ("active_exp_type_14")
sdef_parent_exp_type_name_14  = rsExpensetypes1 ("def_parent_exp_type_name_14")
spref_parent_exp_type_name_14  = rsExpensetypes1 ("pref_parent_exp_type_name_14")
sdefault_exp_type_name_14  = rsExpensetypes1 ("default_exp_type_name_14")
spreferred_exp_type_name_14  = rsExpensetypes1 ("preferred_exp_type_name_14")
saccount_code_14  = rsExpensetypes1 ("account_code_14")
sbillable_account_code_14  = rsExpensetypes1 ("billable_account_code_14")
sdefault_entry_form_name_14  = rsExpensetypes1 ("default_entry_form_name_14")
sactive_exp_type_15  = rsExpensetypes1 ("active_exp_type_15")
sdef_parent_exp_type_name_15  = rsExpensetypes1 ("def_parent_exp_type_name_15")
spref_parent_exp_type_name_15  = rsExpensetypes1 ("pref_parent_exp_type_name_15")
sdefault_exp_type_name_15  = rsExpensetypes1 ("default_exp_type_name_15")
spreferred_exp_type_name_15  = rsExpensetypes1 ("preferred_exp_type_name_15")
saccount_code_15  = rsExpensetypes1 ("account_code_15")
sbillable_account_code_15  = rsExpensetypes1 ("billable_account_code_15")
sdefault_entry_form_name_15  = rsExpensetypes1 ("default_entry_form_name_15")
sactive_exp_type_16  = rsExpensetypes1 ("active_exp_type_16")
sdef_parent_exp_type_name_16  = rsExpensetypes1 ("def_parent_exp_type_name_16")
spref_parent_exp_type_name_16  = rsExpensetypes1 ("pref_parent_exp_type_name_16")
sdefault_exp_type_name_16  = rsExpensetypes1 ("default_exp_type_name_16")
spreferred_exp_type_name_16  = rsExpensetypes1 ("preferred_exp_type_name_16")
saccount_code_16  = rsExpensetypes1 ("account_code_16")
sbillable_account_code_16  = rsExpensetypes1 ("billable_account_code_16")
sdefault_entry_form_name_16  = rsExpensetypes1 ("default_entry_form_name_16")
sactive_exp_type_17  = rsExpensetypes1 ("active_exp_type_17")
sdef_parent_exp_type_name_17  = rsExpensetypes1 ("def_parent_exp_type_name_17")
spref_parent_exp_type_name_17  = rsExpensetypes1 ("pref_parent_exp_type_name_17")
sdefault_exp_type_name_17  = rsExpensetypes1 ("default_exp_type_name_17")
spreferred_exp_type_name_17  = rsExpensetypes1 ("preferred_exp_type_name_17")
saccount_code_17  = rsExpensetypes1 ("account_code_17")
sbillable_account_code_17  = rsExpensetypes1 ("billable_account_code_17")
sdefault_entry_form_name_17  = rsExpensetypes1 ("default_entry_form_name_17")
sactive_exp_type_18  = rsExpensetypes1 ("active_exp_type_18")
sdef_parent_exp_type_name_18  = rsExpensetypes1 ("def_parent_exp_type_name_18")
spref_parent_exp_type_name_18  = rsExpensetypes1 ("pref_parent_exp_type_name_18")
sdefault_exp_type_name_18  = rsExpensetypes1 ("default_exp_type_name_18")
spreferred_exp_type_name_18  = rsExpensetypes1 ("preferred_exp_type_name_18")
saccount_code_18  = rsExpensetypes1 ("account_code_18")
sbillable_account_code_18  = rsExpensetypes1 ("billable_account_code_18")
sdefault_entry_form_name_18  = rsExpensetypes1 ("default_entry_form_name_18")
sactive_exp_type_19  = rsExpensetypes1 ("active_exp_type_19")
sdef_parent_exp_type_name_19  = rsExpensetypes1 ("def_parent_exp_type_name_19")
spref_parent_exp_type_name_19  = rsExpensetypes1 ("pref_parent_exp_type_name_19")
sdefault_exp_type_name_19  = rsExpensetypes1 ("default_exp_type_name_19")
spreferred_exp_type_name_19  = rsExpensetypes1 ("preferred_exp_type_name_19")
saccount_code_19  = rsExpensetypes1 ("account_code_19")
sbillable_account_code_19  = rsExpensetypes1 ("billable_account_code_19")
sdefault_entry_form_name_19  = rsExpensetypes1 ("default_entry_form_name_19")
sactive_exp_type_20  = rsExpensetypes1 ("active_exp_type_20")
sdef_parent_exp_type_name_20  = rsExpensetypes1 ("def_parent_exp_type_name_20")
spref_parent_exp_type_name_20  = rsExpensetypes1 ("pref_parent_exp_type_name_20")
sdefault_exp_type_name_20  = rsExpensetypes1 ("default_exp_type_name_20")
spreferred_exp_type_name_20  = rsExpensetypes1 ("preferred_exp_type_name_20")
saccount_code_20  = rsExpensetypes1 ("account_code_20")
sbillable_account_code_20  = rsExpensetypes1 ("billable_account_code_20")
sdefault_entry_form_name_20  = rsExpensetypes1 ("default_entry_form_name_20")
sactive_exp_type_21  = rsExpensetypes1 ("active_exp_type_21")
sdef_parent_exp_type_name_21  = rsExpensetypes1 ("def_parent_exp_type_name_21")
spref_parent_exp_type_name_21  = rsExpensetypes1 ("pref_parent_exp_type_name_21")
sdefault_exp_type_name_21  = rsExpensetypes1 ("default_exp_type_name_21")
spreferred_exp_type_name_21  = rsExpensetypes1 ("preferred_exp_type_name_21")
saccount_code_21  = rsExpensetypes1 ("account_code_21")
sbillable_account_code_21  = rsExpensetypes1 ("billable_account_code_21")
sdefault_entry_form_name_21  = rsExpensetypes1 ("default_entry_form_name_21")
sactive_exp_type_22  = rsExpensetypes1 ("active_exp_type_22")
sdef_parent_exp_type_name_22  = rsExpensetypes1 ("def_parent_exp_type_name_22")
spref_parent_exp_type_name_22  = rsExpensetypes1 ("pref_parent_exp_type_name_22")
sdefault_exp_type_name_22  = rsExpensetypes1 ("default_exp_type_name_22")
spreferred_exp_type_name_22  = rsExpensetypes1 ("preferred_exp_type_name_22")
saccount_code_22  = rsExpensetypes1 ("account_code_22")
sbillable_account_code_22  = rsExpensetypes1 ("billable_account_code_22")
sdefault_entry_form_name_22  = rsExpensetypes1 ("default_entry_form_name_22")
sactive_exp_type_23  = rsExpensetypes1 ("active_exp_type_23")
sdef_parent_exp_type_name_23  = rsExpensetypes1 ("def_parent_exp_type_name_23")
spref_parent_exp_type_name_23  = rsExpensetypes1 ("pref_parent_exp_type_name_23")
sdefault_exp_type_name_23  = rsExpensetypes1 ("default_exp_type_name_23")
spreferred_exp_type_name_23  = rsExpensetypes1 ("preferred_exp_type_name_23")
saccount_code_23  = rsExpensetypes1 ("account_code_23")
sbillable_account_code_23  = rsExpensetypes1 ("billable_account_code_23")
sdefault_entry_form_name_23  = rsExpensetypes1 ("default_entry_form_name_23")
sactive_exp_type_24  = rsExpensetypes1 ("active_exp_type_24")
sdef_parent_exp_type_name_24  = rsExpensetypes1 ("def_parent_exp_type_name_24")
spref_parent_exp_type_name_24  = rsExpensetypes1 ("pref_parent_exp_type_name_24")
sdefault_exp_type_name_24  = rsExpensetypes1 ("default_exp_type_name_24")
spreferred_exp_type_name_24  = rsExpensetypes1 ("preferred_exp_type_name_24")
saccount_code_24  = rsExpensetypes1 ("account_code_24")
sbillable_account_code_24  = rsExpensetypes1 ("billable_account_code_24")
sdefault_entry_form_name_24  = rsExpensetypes1 ("default_entry_form_name_24")
sactive_exp_type_25  = rsExpensetypes1 ("active_exp_type_25")
sdef_parent_exp_type_name_25  = rsExpensetypes1 ("def_parent_exp_type_name_25")
spref_parent_exp_type_name_25  = rsExpensetypes1 ("pref_parent_exp_type_name_25")
sdefault_exp_type_name_25  = rsExpensetypes1 ("default_exp_type_name_25")
spreferred_exp_type_name_25  = rsExpensetypes1 ("preferred_exp_type_name_25")
saccount_code_25  = rsExpensetypes1 ("account_code_25")
sbillable_account_code_25  = rsExpensetypes1 ("billable_account_code_25")
sdefault_entry_form_name_25  = rsExpensetypes1 ("default_entry_form_name_25")
sactive_exp_type_26  = rsExpensetypes1 ("active_exp_type_26")
sdef_parent_exp_type_name_26  = rsExpensetypes1 ("def_parent_exp_type_name_26")
spref_parent_exp_type_name_26  = rsExpensetypes1 ("pref_parent_exp_type_name_26")
sdefault_exp_type_name_26  = rsExpensetypes1 ("default_exp_type_name_26")
spreferred_exp_type_name_26  = rsExpensetypes1 ("preferred_exp_type_name_26")
saccount_code_26  = rsExpensetypes1 ("account_code_26")
sbillable_account_code_26  = rsExpensetypes1 ("billable_account_code_26")
sdefault_entry_form_name_26  = rsExpensetypes1 ("default_entry_form_name_26")
sactive_exp_type_27  = rsExpensetypes1 ("active_exp_type_27")
sdef_parent_exp_type_name_27  = rsExpensetypes1 ("def_parent_exp_type_name_27")
spref_parent_exp_type_name_27  = rsExpensetypes1 ("pref_parent_exp_type_name_27")
sdefault_exp_type_name_27  = rsExpensetypes1 ("default_exp_type_name_27")
spreferred_exp_type_name_27  = rsExpensetypes1 ("preferred_exp_type_name_27")
saccount_code_27  = rsExpensetypes1 ("account_code_27")
sbillable_account_code_27  = rsExpensetypes1 ("billable_account_code_27")
sdefault_entry_form_name_27  = rsExpensetypes1 ("default_entry_form_name_27")
sactive_exp_type_28  = rsExpensetypes1 ("active_exp_type_28")
sdef_parent_exp_type_name_28  = rsExpensetypes1 ("def_parent_exp_type_name_28")
spref_parent_exp_type_name_28  = rsExpensetypes1 ("pref_parent_exp_type_name_28")
sdefault_exp_type_name_28  = rsExpensetypes1 ("default_exp_type_name_28")
spreferred_exp_type_name_28  = rsExpensetypes1 ("preferred_exp_type_name_28")
saccount_code_28  = rsExpensetypes1 ("account_code_28")
sbillable_account_code_28  = rsExpensetypes1 ("billable_account_code_28")
sdefault_entry_form_name_28  = rsExpensetypes1 ("default_entry_form_name_28")
sactive_exp_type_29  = rsExpensetypes1 ("active_exp_type_29")
sdef_parent_exp_type_name_29  = rsExpensetypes1 ("def_parent_exp_type_name_29")
spref_parent_exp_type_name_29  = rsExpensetypes1 ("pref_parent_exp_type_name_29")
sdefault_exp_type_name_29  = rsExpensetypes1 ("default_exp_type_name_29")
spreferred_exp_type_name_29  = rsExpensetypes1 ("preferred_exp_type_name_29")
saccount_code_29  = rsExpensetypes1 ("account_code_29")
sbillable_account_code_29  = rsExpensetypes1 ("billable_account_code_29")
sdefault_entry_form_name_29  = rsExpensetypes1 ("default_entry_form_name_29")
sactive_exp_type_30  = rsExpensetypes1 ("active_exp_type_30")
sdef_parent_exp_type_name_30  = rsExpensetypes1 ("def_parent_exp_type_name_30")
spref_parent_exp_type_name_30  = rsExpensetypes1 ("pref_parent_exp_type_name_30")
sdefault_exp_type_name_30  = rsExpensetypes1 ("default_exp_type_name_30")
spreferred_exp_type_name_30  = rsExpensetypes1 ("preferred_exp_type_name_30")
saccount_code_30  = rsExpensetypes1 ("account_code_30")
sbillable_account_code_30  = rsExpensetypes1 ("billable_account_code_30")
sdefault_entry_form_name_30  = rsExpensetypes1 ("default_entry_form_name_30")

	
	
	sSql = "select * from cia_cte_expense_types_p2 where company_key = " & session("company")
	Set rsExpensetypes2 = CreateObject("ADODB.Recordset") 
	rsExpensetypes2.Open sSql, oConnection
	
 	If Not rsExpensetypes2.BOF And Not rsExpensetypes2.EOF Then 'checks if anything is returned
        'we had one - populate form fields
sactive_exp_type_31  = rsExpensetypes2 ("active_exp_type_31")
sdef_parent_exp_type_name_31  = rsExpensetypes2 ("def_parent_exp_type_name_31")
spref_parent_exp_type_name_31  = rsExpensetypes2 ("pref_parent_exp_type_name_31")
sdefault_exp_type_name_31  = rsExpensetypes2 ("default_exp_type_name_31")
spreferred_exp_type_name_31  = rsExpensetypes2 ("preferred_exp_type_name_31")
saccount_code_31  = rsExpensetypes2 ("account_code_31")
sbillable_account_code_31  = rsExpensetypes2 ("billable_account_code_31")
sdefault_entry_form_name_31  = rsExpensetypes2 ("default_entry_form_name_31")
sactive_exp_type_32  = rsExpensetypes2 ("active_exp_type_32")
sdef_parent_exp_type_name_32  = rsExpensetypes2 ("def_parent_exp_type_name_32")
spref_parent_exp_type_name_32  = rsExpensetypes2 ("pref_parent_exp_type_name_32")
sdefault_exp_type_name_32  = rsExpensetypes2 ("default_exp_type_name_32")
spreferred_exp_type_name_32  = rsExpensetypes2 ("preferred_exp_type_name_32")
saccount_code_32  = rsExpensetypes2 ("account_code_32")
sbillable_account_code_32  = rsExpensetypes2 ("billable_account_code_32")
sdefault_entry_form_name_32  = rsExpensetypes2 ("default_entry_form_name_32")
sactive_exp_type_33  = rsExpensetypes2 ("active_exp_type_33")
sdef_parent_exp_type_name_33  = rsExpensetypes2 ("def_parent_exp_type_name_33")
spref_parent_exp_type_name_33  = rsExpensetypes2 ("pref_parent_exp_type_name_33")
sdefault_exp_type_name_33  = rsExpensetypes2 ("default_exp_type_name_33")
spreferred_exp_type_name_33  = rsExpensetypes2 ("preferred_exp_type_name_33")
saccount_code_33  = rsExpensetypes2 ("account_code_33")
sbillable_account_code_33  = rsExpensetypes2 ("billable_account_code_33")
sdefault_entry_form_name_33  = rsExpensetypes2 ("default_entry_form_name_33")
sactive_exp_type_34  = rsExpensetypes2 ("active_exp_type_34")
sdef_parent_exp_type_name_34  = rsExpensetypes2 ("def_parent_exp_type_name_34")
spref_parent_exp_type_name_34  = rsExpensetypes2 ("pref_parent_exp_type_name_34")
sdefault_exp_type_name_34  = rsExpensetypes2 ("default_exp_type_name_34")
spreferred_exp_type_name_34  = rsExpensetypes2 ("preferred_exp_type_name_34")
saccount_code_34  = rsExpensetypes2 ("account_code_34")
sbillable_account_code_34  = rsExpensetypes2 ("billable_account_code_34")
sdefault_entry_form_name_34  = rsExpensetypes2 ("default_entry_form_name_34")
sactive_exp_type_35  = rsExpensetypes2 ("active_exp_type_35")
sdef_parent_exp_type_name_35  = rsExpensetypes2 ("def_parent_exp_type_name_35")
spref_parent_exp_type_name_35  = rsExpensetypes2 ("pref_parent_exp_type_name_35")
sdefault_exp_type_name_35  = rsExpensetypes2 ("default_exp_type_name_35")
spreferred_exp_type_name_35  = rsExpensetypes2 ("preferred_exp_type_name_35")
saccount_code_35  = rsExpensetypes2 ("account_code_35")
sbillable_account_code_35  = rsExpensetypes2 ("billable_account_code_35")
sdefault_entry_form_name_35  = rsExpensetypes2 ("default_entry_form_name_35")
sactive_exp_type_36  = rsExpensetypes2 ("active_exp_type_36")
sdef_parent_exp_type_name_36  = rsExpensetypes2 ("def_parent_exp_type_name_36")
spref_parent_exp_type_name_36  = rsExpensetypes2 ("pref_parent_exp_type_name_36")
sdefault_exp_type_name_36  = rsExpensetypes2 ("default_exp_type_name_36")
spreferred_exp_type_name_36  = rsExpensetypes2 ("preferred_exp_type_name_36")
saccount_code_36  = rsExpensetypes2 ("account_code_36")
sbillable_account_code_36  = rsExpensetypes2 ("billable_account_code_36")
sdefault_entry_form_name_36  = rsExpensetypes2 ("default_entry_form_name_36")
sactive_exp_type_37  = rsExpensetypes2 ("active_exp_type_37")
sdef_parent_exp_type_name_37  = rsExpensetypes2 ("def_parent_exp_type_name_37")
spref_parent_exp_type_name_37  = rsExpensetypes2 ("pref_parent_exp_type_name_37")
sdefault_exp_type_name_37  = rsExpensetypes2 ("default_exp_type_name_37")
spreferred_exp_type_name_37  = rsExpensetypes2 ("preferred_exp_type_name_37")
saccount_code_37  = rsExpensetypes2 ("account_code_37")
sbillable_account_code_37  = rsExpensetypes2 ("billable_account_code_37")
sdefault_entry_form_name_37  = rsExpensetypes2 ("default_entry_form_name_37")
sactive_exp_type_38  = rsExpensetypes2 ("active_exp_type_38")
sdef_parent_exp_type_name_38  = rsExpensetypes2 ("def_parent_exp_type_name_38")
spref_parent_exp_type_name_38  = rsExpensetypes2 ("pref_parent_exp_type_name_38")
sdefault_exp_type_name_38  = rsExpensetypes2 ("default_exp_type_name_38")
spreferred_exp_type_name_38  = rsExpensetypes2 ("preferred_exp_type_name_38")
saccount_code_38  = rsExpensetypes2 ("account_code_38")
sbillable_account_code_38  = rsExpensetypes2 ("billable_account_code_38")
sdefault_entry_form_name_38  = rsExpensetypes2 ("default_entry_form_name_38")
sactive_exp_type_39  = rsExpensetypes2 ("active_exp_type_39")
sdef_parent_exp_type_name_39  = rsExpensetypes2 ("def_parent_exp_type_name_39")
spref_parent_exp_type_name_39  = rsExpensetypes2 ("pref_parent_exp_type_name_39")
sdefault_exp_type_name_39  = rsExpensetypes2 ("default_exp_type_name_39")
spreferred_exp_type_name_39  = rsExpensetypes2 ("preferred_exp_type_name_39")
saccount_code_39  = rsExpensetypes2 ("account_code_39")
sbillable_account_code_39  = rsExpensetypes2 ("billable_account_code_39")
sdefault_entry_form_name_39  = rsExpensetypes2 ("default_entry_form_name_39")
sactive_exp_type_40  = rsExpensetypes2 ("active_exp_type_40")
sdef_parent_exp_type_name_40  = rsExpensetypes2 ("def_parent_exp_type_name_40")
spref_parent_exp_type_name_40  = rsExpensetypes2 ("pref_parent_exp_type_name_40")
sdefault_exp_type_name_40  = rsExpensetypes2 ("default_exp_type_name_40")
spreferred_exp_type_name_40  = rsExpensetypes2 ("preferred_exp_type_name_40")
saccount_code_40  = rsExpensetypes2 ("account_code_40")
sbillable_account_code_40  = rsExpensetypes2 ("billable_account_code_40")
sdefault_entry_form_name_40  = rsExpensetypes2 ("default_entry_form_name_40")
sactive_exp_type_41  = rsExpensetypes2 ("active_exp_type_41")
sdef_parent_exp_type_name_41  = rsExpensetypes2 ("def_parent_exp_type_name_41")
spref_parent_exp_type_name_41  = rsExpensetypes2 ("pref_parent_exp_type_name_41")
sdefault_exp_type_name_41  = rsExpensetypes2 ("default_exp_type_name_41")
spreferred_exp_type_name_41  = rsExpensetypes2 ("preferred_exp_type_name_41")
saccount_code_41  = rsExpensetypes2 ("account_code_41")
sbillable_account_code_41  = rsExpensetypes2 ("billable_account_code_41")
sdefault_entry_form_name_41  = rsExpensetypes2 ("default_entry_form_name_41")
sactive_exp_type_42  = rsExpensetypes2 ("active_exp_type_42")
sdef_parent_exp_type_name_42  = rsExpensetypes2 ("def_parent_exp_type_name_42")
spref_parent_exp_type_name_42  = rsExpensetypes2 ("pref_parent_exp_type_name_42")
sdefault_exp_type_name_42  = rsExpensetypes2 ("default_exp_type_name_42")
spreferred_exp_type_name_42  = rsExpensetypes2 ("preferred_exp_type_name_42")
saccount_code_42  = rsExpensetypes2 ("account_code_42")
sbillable_account_code_42  = rsExpensetypes2 ("billable_account_code_42")
sdefault_entry_form_name_42  = rsExpensetypes2 ("default_entry_form_name_42")
sactive_exp_type_43  = rsExpensetypes2 ("active_exp_type_43")
sdef_parent_exp_type_name_43  = rsExpensetypes2 ("def_parent_exp_type_name_43")
spref_parent_exp_type_name_43  = rsExpensetypes2 ("pref_parent_exp_type_name_43")
sdefault_exp_type_name_43  = rsExpensetypes2 ("default_exp_type_name_43")
spreferred_exp_type_name_43  = rsExpensetypes2 ("preferred_exp_type_name_43")
saccount_code_43  = rsExpensetypes2 ("account_code_43")
sbillable_account_code_43  = rsExpensetypes2 ("billable_account_code_43")
sdefault_entry_form_name_43  = rsExpensetypes2 ("default_entry_form_name_43")
sactive_exp_type_44  = rsExpensetypes2 ("active_exp_type_44")
sdef_parent_exp_type_name_44  = rsExpensetypes2 ("def_parent_exp_type_name_44")
spref_parent_exp_type_name_44  = rsExpensetypes2 ("pref_parent_exp_type_name_44")
sdefault_exp_type_name_44  = rsExpensetypes2 ("default_exp_type_name_44")
spreferred_exp_type_name_44  = rsExpensetypes2 ("preferred_exp_type_name_44")
saccount_code_44  = rsExpensetypes2 ("account_code_44")
sbillable_account_code_44  = rsExpensetypes2 ("billable_account_code_44")
sdefault_entry_form_name_44  = rsExpensetypes2 ("default_entry_form_name_44")
sactive_exp_type_45  = rsExpensetypes2 ("active_exp_type_45")
sdef_parent_exp_type_name_45  = rsExpensetypes2 ("def_parent_exp_type_name_45")
spref_parent_exp_type_name_45  = rsExpensetypes2 ("pref_parent_exp_type_name_45")
sdefault_exp_type_name_45  = rsExpensetypes2 ("default_exp_type_name_45")
spreferred_exp_type_name_45  = rsExpensetypes2 ("preferred_exp_type_name_45")
saccount_code_45  = rsExpensetypes2 ("account_code_45")
sbillable_account_code_45  = rsExpensetypes2 ("billable_account_code_45")
sdefault_entry_form_name_45  = rsExpensetypes2 ("default_entry_form_name_45")
sactive_exp_type_46  = rsExpensetypes2 ("active_exp_type_46")
sdef_parent_exp_type_name_46  = rsExpensetypes2 ("def_parent_exp_type_name_46")
spref_parent_exp_type_name_46  = rsExpensetypes2 ("pref_parent_exp_type_name_46")
sdefault_exp_type_name_46  = rsExpensetypes2 ("default_exp_type_name_46")
spreferred_exp_type_name_46  = rsExpensetypes2 ("preferred_exp_type_name_46")
saccount_code_46  = rsExpensetypes2 ("account_code_46")
sbillable_account_code_46  = rsExpensetypes2 ("billable_account_code_46")
sdefault_entry_form_name_46  = rsExpensetypes2 ("default_entry_form_name_46")
sactive_exp_type_47  = rsExpensetypes2 ("active_exp_type_47")
sdef_parent_exp_type_name_47  = rsExpensetypes2 ("def_parent_exp_type_name_47")
spref_parent_exp_type_name_47  = rsExpensetypes2 ("pref_parent_exp_type_name_47")
sdefault_exp_type_name_47  = rsExpensetypes2 ("default_exp_type_name_47")
spreferred_exp_type_name_47  = rsExpensetypes2 ("preferred_exp_type_name_47")
saccount_code_47  = rsExpensetypes2 ("account_code_47")
sbillable_account_code_47  = rsExpensetypes2 ("billable_account_code_47")
sdefault_entry_form_name_47  = rsExpensetypes2 ("default_entry_form_name_47")
sactive_exp_type_48  = rsExpensetypes2 ("active_exp_type_48")
sdef_parent_exp_type_name_48  = rsExpensetypes2 ("def_parent_exp_type_name_48")
spref_parent_exp_type_name_48  = rsExpensetypes2 ("pref_parent_exp_type_name_48")
sdefault_exp_type_name_48  = rsExpensetypes2 ("default_exp_type_name_48")
spreferred_exp_type_name_48  = rsExpensetypes2 ("preferred_exp_type_name_48")
saccount_code_48  = rsExpensetypes2 ("account_code_48")
sbillable_account_code_48  = rsExpensetypes2 ("billable_account_code_48")
sdefault_entry_form_name_48  = rsExpensetypes2 ("default_entry_form_name_48")
sactive_exp_type_49  = rsExpensetypes2 ("active_exp_type_49")
sdef_parent_exp_type_name_49  = rsExpensetypes2 ("def_parent_exp_type_name_49")
spref_parent_exp_type_name_49  = rsExpensetypes2 ("pref_parent_exp_type_name_49")
sdefault_exp_type_name_49  = rsExpensetypes2 ("default_exp_type_name_49")
spreferred_exp_type_name_49  = rsExpensetypes2 ("preferred_exp_type_name_49")
saccount_code_49  = rsExpensetypes2 ("account_code_49")
sbillable_account_code_49  = rsExpensetypes2 ("billable_account_code_49")
sdefault_entry_form_name_49  = rsExpensetypes2 ("default_entry_form_name_49")
sactive_exp_type_50  = rsExpensetypes2 ("active_exp_type_50")
sdef_parent_exp_type_name_50  = rsExpensetypes2 ("def_parent_exp_type_name_50")
spref_parent_exp_type_name_50  = rsExpensetypes2 ("pref_parent_exp_type_name_50")
sdefault_exp_type_name_50  = rsExpensetypes2 ("default_exp_type_name_50")
spreferred_exp_type_name_50  = rsExpensetypes2 ("preferred_exp_type_name_50")
saccount_code_50  = rsExpensetypes2 ("account_code_50")
sbillable_account_code_50  = rsExpensetypes2 ("billable_account_code_50")
sdefault_entry_form_name_50  = rsExpensetypes2 ("default_entry_form_name_50")
sactive_exp_type_51  = rsExpensetypes2 ("active_exp_type_51")
sdef_parent_exp_type_name_51  = rsExpensetypes2 ("def_parent_exp_type_name_51")
spref_parent_exp_type_name_51  = rsExpensetypes2 ("pref_parent_exp_type_name_51")
sdefault_exp_type_name_51  = rsExpensetypes2 ("default_exp_type_name_51")
spreferred_exp_type_name_51  = rsExpensetypes2 ("preferred_exp_type_name_51")
saccount_code_51  = rsExpensetypes2 ("account_code_51")
sbillable_account_code_51  = rsExpensetypes2 ("billable_account_code_51")
sdefault_entry_form_name_51  = rsExpensetypes2 ("default_entry_form_name_51")
sactive_exp_type_52  = rsExpensetypes2 ("active_exp_type_52")
sdef_parent_exp_type_name_52  = rsExpensetypes2 ("def_parent_exp_type_name_52")
spref_parent_exp_type_name_52  = rsExpensetypes2 ("pref_parent_exp_type_name_52")
sdefault_exp_type_name_52  = rsExpensetypes2 ("default_exp_type_name_52")
spreferred_exp_type_name_52  = rsExpensetypes2 ("preferred_exp_type_name_52")
saccount_code_52  = rsExpensetypes2 ("account_code_52")
sbillable_account_code_52  = rsExpensetypes2 ("billable_account_code_52")
sdefault_entry_form_name_52  = rsExpensetypes2 ("default_entry_form_name_52")
sactive_exp_type_53  = rsExpensetypes2 ("active_exp_type_53")
sdef_parent_exp_type_name_53  = rsExpensetypes2 ("def_parent_exp_type_name_53")
spref_parent_exp_type_name_53  = rsExpensetypes2 ("pref_parent_exp_type_name_53")
sdefault_exp_type_name_53  = rsExpensetypes2 ("default_exp_type_name_53")
spreferred_exp_type_name_53  = rsExpensetypes2 ("preferred_exp_type_name_53")
saccount_code_53  = rsExpensetypes2 ("account_code_53")
sbillable_account_code_53  = rsExpensetypes2 ("billable_account_code_53")
sdefault_entry_form_name_53  = rsExpensetypes2 ("default_entry_form_name_53")
sactive_exp_type_54  = rsExpensetypes2 ("active_exp_type_54")
sdef_parent_exp_type_name_54  = rsExpensetypes2 ("def_parent_exp_type_name_54")
spref_parent_exp_type_name_54  = rsExpensetypes2 ("pref_parent_exp_type_name_54")
sdefault_exp_type_name_54  = rsExpensetypes2 ("default_exp_type_name_54")
spreferred_exp_type_name_54  = rsExpensetypes2 ("preferred_exp_type_name_54")
saccount_code_54  = rsExpensetypes2 ("account_code_54")
sbillable_account_code_54  = rsExpensetypes2 ("billable_account_code_54")
sdefault_entry_form_name_54  = rsExpensetypes2 ("default_entry_form_name_54")
sactive_exp_type_55  = rsExpensetypes2 ("active_exp_type_55")
sdef_parent_exp_type_name_55  = rsExpensetypes2 ("def_parent_exp_type_name_55")
spref_parent_exp_type_name_55  = rsExpensetypes2 ("pref_parent_exp_type_name_55")
sdefault_exp_type_name_55  = rsExpensetypes2 ("default_exp_type_name_55")
spreferred_exp_type_name_55  = rsExpensetypes2 ("preferred_exp_type_name_55")
saccount_code_55  = rsExpensetypes2 ("account_code_55")
sbillable_account_code_55  = rsExpensetypes2 ("billable_account_code_55")
sdefault_entry_form_name_55  = rsExpensetypes2 ("default_entry_form_name_55")
sactive_exp_type_56  = rsExpensetypes2 ("active_exp_type_56")
sdef_parent_exp_type_name_56  = rsExpensetypes2 ("def_parent_exp_type_name_56")
spref_parent_exp_type_name_56  = rsExpensetypes2 ("pref_parent_exp_type_name_56")
sdefault_exp_type_name_56  = rsExpensetypes2 ("default_exp_type_name_56")
spreferred_exp_type_name_56  = rsExpensetypes2 ("preferred_exp_type_name_56")
saccount_code_56  = rsExpensetypes2 ("account_code_56")
sbillable_account_code_56  = rsExpensetypes2 ("billable_account_code_56")
sdefault_entry_form_name_56  = rsExpensetypes2 ("default_entry_form_name_56")
sactive_exp_type_57  = rsExpensetypes2 ("active_exp_type_57")
sdef_parent_exp_type_name_57  = rsExpensetypes2 ("def_parent_exp_type_name_57")
spref_parent_exp_type_name_57  = rsExpensetypes2 ("pref_parent_exp_type_name_57")
sdefault_exp_type_name_57  = rsExpensetypes2 ("default_exp_type_name_57")
spreferred_exp_type_name_57  = rsExpensetypes2 ("preferred_exp_type_name_57")
saccount_code_57  = rsExpensetypes2 ("account_code_57")
sbillable_account_code_57  = rsExpensetypes2 ("billable_account_code_57")
sdefault_entry_form_name_57  = rsExpensetypes2 ("default_entry_form_name_57")
sactive_exp_type_58  = rsExpensetypes2 ("active_exp_type_58")
sdef_parent_exp_type_name_58  = rsExpensetypes2 ("def_parent_exp_type_name_58")
spref_parent_exp_type_name_58  = rsExpensetypes2 ("pref_parent_exp_type_name_58")
sdefault_exp_type_name_58  = rsExpensetypes2 ("default_exp_type_name_58")
spreferred_exp_type_name_58  = rsExpensetypes2 ("preferred_exp_type_name_58")
saccount_code_58  = rsExpensetypes2 ("account_code_58")
sbillable_account_code_58  = rsExpensetypes2 ("billable_account_code_58")
sdefault_entry_form_name_58  = rsExpensetypes2 ("default_entry_form_name_58")
sactive_exp_type_59  = rsExpensetypes2 ("active_exp_type_59")
sdef_parent_exp_type_name_59  = rsExpensetypes2 ("def_parent_exp_type_name_59")
spref_parent_exp_type_name_59  = rsExpensetypes2 ("pref_parent_exp_type_name_59")
sdefault_exp_type_name_59  = rsExpensetypes2 ("default_exp_type_name_59")
spreferred_exp_type_name_59  = rsExpensetypes2 ("preferred_exp_type_name_59")
saccount_code_59  = rsExpensetypes2 ("account_code_59")
sbillable_account_code_59  = rsExpensetypes2 ("billable_account_code_59")
sdefault_entry_form_name_59  = rsExpensetypes2 ("default_entry_form_name_59")
sactive_exp_type_60  = rsExpensetypes2 ("active_exp_type_60")
sdef_parent_exp_type_name_60  = rsExpensetypes2 ("def_parent_exp_type_name_60")
spref_parent_exp_type_name_60  = rsExpensetypes2 ("pref_parent_exp_type_name_60")
sdefault_exp_type_name_60  = rsExpensetypes2 ("default_exp_type_name_60")
spreferred_exp_type_name_60  = rsExpensetypes2 ("preferred_exp_type_name_60")
saccount_code_60  = rsExpensetypes2 ("account_code_60")
sbillable_account_code_60  = rsExpensetypes2 ("billable_account_code_60")
sdefault_entry_form_name_60  = rsExpensetypes2 ("default_entry_form_name_60")
		
	
	sSql = "select * from cia_cte_expense_types_p3 where company_key = " & session("company")
	Set rsExpensetypes3 = CreateObject("ADODB.Recordset") 
	rsExpensetypes3.Open sSql, oConnection
	
 	If Not rsExpensetypes3.BOF And Not rsExpensetypes3.EOF Then 'checks if anything is returned
        'we had one - populate form fields
sactive_exp_type_61  = rsExpensetypes3 ("active_exp_type_61")
sdef_parent_exp_type_name_61  = rsExpensetypes3 ("def_parent_exp_type_name_61")
spref_parent_exp_type_name_61  = rsExpensetypes3 ("pref_parent_exp_type_name_61")
sdefault_exp_type_name_61  = rsExpensetypes3 ("default_exp_type_name_61")
spreferred_exp_type_name_61  = rsExpensetypes3 ("preferred_exp_type_name_61")
saccount_code_61  = rsExpensetypes3 ("account_code_61")
sbillable_account_code_61  = rsExpensetypes3 ("billable_account_code_61")
sdefault_entry_form_name_61  = rsExpensetypes3 ("default_entry_form_name_61")
sactive_exp_type_62  = rsExpensetypes3 ("active_exp_type_62")
sdef_parent_exp_type_name_62  = rsExpensetypes3 ("def_parent_exp_type_name_62")
spref_parent_exp_type_name_62  = rsExpensetypes3 ("pref_parent_exp_type_name_62")
sdefault_exp_type_name_62  = rsExpensetypes3 ("default_exp_type_name_62")
spreferred_exp_type_name_62  = rsExpensetypes3 ("preferred_exp_type_name_62")
saccount_code_62  = rsExpensetypes3 ("account_code_62")
sbillable_account_code_62  = rsExpensetypes3 ("billable_account_code_62")
sdefault_entry_form_name_62  = rsExpensetypes3 ("default_entry_form_name_62")
sactive_exp_type_63  = rsExpensetypes3 ("active_exp_type_63")
sdef_parent_exp_type_name_63  = rsExpensetypes3 ("def_parent_exp_type_name_63")
spref_parent_exp_type_name_63  = rsExpensetypes3 ("pref_parent_exp_type_name_63")
sdefault_exp_type_name_63  = rsExpensetypes3 ("default_exp_type_name_63")
spreferred_exp_type_name_63  = rsExpensetypes3 ("preferred_exp_type_name_63")
saccount_code_63  = rsExpensetypes3 ("account_code_63")
sbillable_account_code_63  = rsExpensetypes3 ("billable_account_code_63")
sdefault_entry_form_name_63  = rsExpensetypes3 ("default_entry_form_name_63")
sactive_exp_type_64  = rsExpensetypes3 ("active_exp_type_64")
sdef_parent_exp_type_name_64  = rsExpensetypes3 ("def_parent_exp_type_name_64")
spref_parent_exp_type_name_64  = rsExpensetypes3 ("pref_parent_exp_type_name_64")
sdefault_exp_type_name_64  = rsExpensetypes3 ("default_exp_type_name_64")
spreferred_exp_type_name_64  = rsExpensetypes3 ("preferred_exp_type_name_64")
saccount_code_64  = rsExpensetypes3 ("account_code_64")
sbillable_account_code_64  = rsExpensetypes3 ("billable_account_code_64")
sdefault_entry_form_name_64  = rsExpensetypes3 ("default_entry_form_name_64")
sactive_exp_type_65  = rsExpensetypes3 ("active_exp_type_65")
sdef_parent_exp_type_name_65  = rsExpensetypes3 ("def_parent_exp_type_name_65")
spref_parent_exp_type_name_65  = rsExpensetypes3 ("pref_parent_exp_type_name_65")
sdefault_exp_type_name_65  = rsExpensetypes3 ("default_exp_type_name_65")
spreferred_exp_type_name_65  = rsExpensetypes3 ("preferred_exp_type_name_65")
saccount_code_65  = rsExpensetypes3 ("account_code_65")
sbillable_account_code_65  = rsExpensetypes3 ("billable_account_code_65")
sdefault_entry_form_name_65  = rsExpensetypes3 ("default_entry_form_name_65")
sactive_exp_type_66  = rsExpensetypes3 ("active_exp_type_66")
sdef_parent_exp_type_name_66  = rsExpensetypes3 ("def_parent_exp_type_name_66")
spref_parent_exp_type_name_66  = rsExpensetypes3 ("pref_parent_exp_type_name_66")
sdefault_exp_type_name_66  = rsExpensetypes3 ("default_exp_type_name_66")
spreferred_exp_type_name_66  = rsExpensetypes3 ("preferred_exp_type_name_66")
saccount_code_66  = rsExpensetypes3 ("account_code_66")
sbillable_account_code_66  = rsExpensetypes3 ("billable_account_code_66")
sdefault_entry_form_name_66  = rsExpensetypes3 ("default_entry_form_name_66")
sactive_exp_type_67  = rsExpensetypes3 ("active_exp_type_67")
sdef_parent_exp_type_name_67  = rsExpensetypes3 ("def_parent_exp_type_name_67")
spref_parent_exp_type_name_67  = rsExpensetypes3 ("pref_parent_exp_type_name_67")
sdefault_exp_type_name_67  = rsExpensetypes3 ("default_exp_type_name_67")
spreferred_exp_type_name_67  = rsExpensetypes3 ("preferred_exp_type_name_67")
saccount_code_67  = rsExpensetypes3 ("account_code_67")
sbillable_account_code_67  = rsExpensetypes3 ("billable_account_code_67")
sdefault_entry_form_name_67  = rsExpensetypes3 ("default_entry_form_name_67")
sactive_exp_type_68  = rsExpensetypes3 ("active_exp_type_68")
sdef_parent_exp_type_name_68  = rsExpensetypes3 ("def_parent_exp_type_name_68")
spref_parent_exp_type_name_68  = rsExpensetypes3 ("pref_parent_exp_type_name_68")
sdefault_exp_type_name_68  = rsExpensetypes3 ("default_exp_type_name_68")
spreferred_exp_type_name_68  = rsExpensetypes3 ("preferred_exp_type_name_68")
saccount_code_68  = rsExpensetypes3 ("account_code_68")
sbillable_account_code_68  = rsExpensetypes3 ("billable_account_code_68")
sdefault_entry_form_name_68  = rsExpensetypes3 ("default_entry_form_name_68")
sactive_exp_type_69  = rsExpensetypes3 ("active_exp_type_69")
sdef_parent_exp_type_name_69  = rsExpensetypes3 ("def_parent_exp_type_name_69")
spref_parent_exp_type_name_69  = rsExpensetypes3 ("pref_parent_exp_type_name_69")
sdefault_exp_type_name_69  = rsExpensetypes3 ("default_exp_type_name_69")
spreferred_exp_type_name_69  = rsExpensetypes3 ("preferred_exp_type_name_69")
saccount_code_69  = rsExpensetypes3 ("account_code_69")
sbillable_account_code_69  = rsExpensetypes3 ("billable_account_code_69")
sdefault_entry_form_name_69  = rsExpensetypes3 ("default_entry_form_name_69")
sactive_exp_type_70  = rsExpensetypes3 ("active_exp_type_70")
sdef_parent_exp_type_name_70  = rsExpensetypes3 ("def_parent_exp_type_name_70")
spref_parent_exp_type_name_70  = rsExpensetypes3 ("pref_parent_exp_type_name_70")
sdefault_exp_type_name_70  = rsExpensetypes3 ("default_exp_type_name_70")
spreferred_exp_type_name_70  = rsExpensetypes3 ("preferred_exp_type_name_70")
saccount_code_70  = rsExpensetypes3 ("account_code_70")
sbillable_account_code_70  = rsExpensetypes3 ("billable_account_code_70")
sdefault_entry_form_name_70  = rsExpensetypes3 ("default_entry_form_name_70")
sactive_exp_type_71  = rsExpensetypes3 ("active_exp_type_71")
sdef_parent_exp_type_name_71  = rsExpensetypes3 ("def_parent_exp_type_name_71")
spref_parent_exp_type_name_71  = rsExpensetypes3 ("pref_parent_exp_type_name_71")
sdefault_exp_type_name_71  = rsExpensetypes3 ("default_exp_type_name_71")
spreferred_exp_type_name_71  = rsExpensetypes3 ("preferred_exp_type_name_71")
saccount_code_71  = rsExpensetypes3 ("account_code_71")
sbillable_account_code_71  = rsExpensetypes3 ("billable_account_code_71")
sdefault_entry_form_name_71  = rsExpensetypes3 ("default_entry_form_name_71")
sactive_exp_type_72  = rsExpensetypes3 ("active_exp_type_72")
sdef_parent_exp_type_name_72  = rsExpensetypes3 ("def_parent_exp_type_name_72")
spref_parent_exp_type_name_72  = rsExpensetypes3 ("pref_parent_exp_type_name_72")
sdefault_exp_type_name_72  = rsExpensetypes3 ("default_exp_type_name_72")
spreferred_exp_type_name_72  = rsExpensetypes3 ("preferred_exp_type_name_72")
saccount_code_72  = rsExpensetypes3 ("account_code_72")
sbillable_account_code_72  = rsExpensetypes3 ("billable_account_code_72")
sdefault_entry_form_name_72  = rsExpensetypes3 ("default_entry_form_name_72")
sactive_exp_type_73  = rsExpensetypes3 ("active_exp_type_73")
sdef_parent_exp_type_name_73  = rsExpensetypes3 ("def_parent_exp_type_name_73")
spref_parent_exp_type_name_73  = rsExpensetypes3 ("pref_parent_exp_type_name_73")
sdefault_exp_type_name_73  = rsExpensetypes3 ("default_exp_type_name_73")
spreferred_exp_type_name_73  = rsExpensetypes3 ("preferred_exp_type_name_73")
saccount_code_73  = rsExpensetypes3 ("account_code_73")
sbillable_account_code_73  = rsExpensetypes3 ("billable_account_code_73")
sdefault_entry_form_name_73  = rsExpensetypes3 ("default_entry_form_name_73")
sactive_exp_type_74  = rsExpensetypes3 ("active_exp_type_74")
sdef_parent_exp_type_name_74  = rsExpensetypes3 ("def_parent_exp_type_name_74")
spref_parent_exp_type_name_74  = rsExpensetypes3 ("pref_parent_exp_type_name_74")
sdefault_exp_type_name_74  = rsExpensetypes3 ("default_exp_type_name_74")
spreferred_exp_type_name_74  = rsExpensetypes3 ("preferred_exp_type_name_74")
saccount_code_74  = rsExpensetypes3 ("account_code_74")
sbillable_account_code_74  = rsExpensetypes3 ("billable_account_code_74")
sdefault_entry_form_name_74  = rsExpensetypes3 ("default_entry_form_name_74")
sactive_exp_type_75  = rsExpensetypes3 ("active_exp_type_75")
sdef_parent_exp_type_name_75  = rsExpensetypes3 ("def_parent_exp_type_name_75")
spref_parent_exp_type_name_75  = rsExpensetypes3 ("pref_parent_exp_type_name_75")
sdefault_exp_type_name_75  = rsExpensetypes3 ("default_exp_type_name_75")
spreferred_exp_type_name_75  = rsExpensetypes3 ("preferred_exp_type_name_75")
saccount_code_75  = rsExpensetypes3 ("account_code_75")
sbillable_account_code_75  = rsExpensetypes3 ("billable_account_code_75")
sdefault_entry_form_name_75  = rsExpensetypes3 ("default_entry_form_name_75")
sactive_exp_type_76  = rsExpensetypes3 ("active_exp_type_76")
sdef_parent_exp_type_name_76  = rsExpensetypes3 ("def_parent_exp_type_name_76")
spref_parent_exp_type_name_76  = rsExpensetypes3 ("pref_parent_exp_type_name_76")
sdefault_exp_type_name_76  = rsExpensetypes3 ("default_exp_type_name_76")
spreferred_exp_type_name_76  = rsExpensetypes3 ("preferred_exp_type_name_76")
saccount_code_76  = rsExpensetypes3 ("account_code_76")
sbillable_account_code_76  = rsExpensetypes3 ("billable_account_code_76")
sdefault_entry_form_name_76  = rsExpensetypes3 ("default_entry_form_name_76")
sactive_exp_type_77  = rsExpensetypes3 ("active_exp_type_77")
sdef_parent_exp_type_name_77  = rsExpensetypes3 ("def_parent_exp_type_name_77")
spref_parent_exp_type_name_77  = rsExpensetypes3 ("pref_parent_exp_type_name_77")
sdefault_exp_type_name_77  = rsExpensetypes3 ("default_exp_type_name_77")
spreferred_exp_type_name_77  = rsExpensetypes3 ("preferred_exp_type_name_77")
saccount_code_77  = rsExpensetypes3 ("account_code_77")
sbillable_account_code_77  = rsExpensetypes3 ("billable_account_code_77")
sdefault_entry_form_name_77  = rsExpensetypes3 ("default_entry_form_name_77")
sactive_exp_type_78  = rsExpensetypes3 ("active_exp_type_78")
sdef_parent_exp_type_name_78  = rsExpensetypes3 ("def_parent_exp_type_name_78")
spref_parent_exp_type_name_78  = rsExpensetypes3 ("pref_parent_exp_type_name_78")
sdefault_exp_type_name_78  = rsExpensetypes3 ("default_exp_type_name_78")
spreferred_exp_type_name_78  = rsExpensetypes3 ("preferred_exp_type_name_78")
saccount_code_78  = rsExpensetypes3 ("account_code_78")
sbillable_account_code_78  = rsExpensetypes3 ("billable_account_code_78")
sdefault_entry_form_name_78  = rsExpensetypes3 ("default_entry_form_name_78")
sactive_exp_type_79  = rsExpensetypes3 ("active_exp_type_79")
sdef_parent_exp_type_name_79  = rsExpensetypes3 ("def_parent_exp_type_name_79")
spref_parent_exp_type_name_79  = rsExpensetypes3 ("pref_parent_exp_type_name_79")
sdefault_exp_type_name_79  = rsExpensetypes3 ("default_exp_type_name_79")
spreferred_exp_type_name_79  = rsExpensetypes3 ("preferred_exp_type_name_79")
saccount_code_79  = rsExpensetypes3 ("account_code_79")
sbillable_account_code_79  = rsExpensetypes3 ("billable_account_code_79")
sdefault_entry_form_name_79  = rsExpensetypes3 ("default_entry_form_name_79")
sactive_exp_type_80  = rsExpensetypes3 ("active_exp_type_80")
sdef_parent_exp_type_name_80  = rsExpensetypes3 ("def_parent_exp_type_name_80")
spref_parent_exp_type_name_80  = rsExpensetypes3 ("pref_parent_exp_type_name_80")
sdefault_exp_type_name_80  = rsExpensetypes3 ("default_exp_type_name_80")
spreferred_exp_type_name_80  = rsExpensetypes3 ("preferred_exp_type_name_80")
saccount_code_80  = rsExpensetypes3 ("account_code_80")
sbillable_account_code_80  = rsExpensetypes3 ("billable_account_code_80")
sdefault_entry_form_name_80  = rsExpensetypes3 ("default_entry_form_name_80")

		
	
			
	End If
	rsExpensetypes1.close 
	set rsExpensetypes1 = Nothing
	
			
	End If
	rsExpensetypes2.close 
	set rsExpensetypes2 = Nothing
	
	
	
	End If
	rsExpensetypes3.close 
	set rsExpensetypes3 = Nothing				
%>
<%
DIM form_action
DIM redirect_1

'We set the current URL to the variable form_action. 
'The effect is that this page is reloaded when the form on this page submits. 

form_action = CStr(Request.ServerVariables("URL"))

'Now we need to set the redirect. A form submission reloads this page, then redirects to the next page.
'IF we just submitted the form on this page, then run this code. If we arrived at this page from the previous page, 
'then this code will not run. 
'**This is what runs when we hit submit:
If request.form("form_submit") = "cte_expense_types_display_corp_ed_v3_pg1_ver_a.asp" Then

	sSql = "select * from cia_cte_expense_types_p1_a where company_key = " & session("company")
	Set rsCompanyKey = CreateObject("ADODB.Recordset") 
	rsCompanyKey.Open sSql, oConnection

    If Not rsCompanyKey.BOF And Not rsCompanyKey.EOF Then 'checks if anything is returned
        'we had one - update it
	
 		sSql = "update cia_cte_expense_types_p1_a set active_exp_type_1 = '" + request.form("active_exp_type_1") + "',"	
		sSql = sSql + "last_submitted_field = '" + request.form("last_submitted_field") + "',"
		sSql = sSql + "def_parent_exp_type_name_1 = '" + request.form("def_parent_exp_type_name_1") + "',"
		sSql = sSql + "pref_parent_exp_type_name_1 = '" + request.form("pref_parent_exp_type_name_1") + "',"
		sSql = sSql + "default_exp_type_name_1 = '" + request.form("default_exp_type_name_1") + "',"
		sSql = sSql + "preferred_exp_type_name_1 = '" + request.form("preferred_exp_type_name_1") + "',"
		sSql = sSql + "account_code_1 = '" + request.form("account_code_1") + "',"
		sSql = sSql + "billable_account_code_1 = '" + request.form("billable_account_code_1") + "',"
		sSql = sSql + "default_entry_form_name_1 = '" + request.form("default_entry_form_name_1") + "',"
		sSql = sSql + "active_exp_type_2 = '" + request.form("active_exp_type_2") + "',"
		sSql = sSql + "def_parent_exp_type_name_2 = '" + request.form("def_parent_exp_type_name_2") + "',"
		sSql = sSql + "pref_parent_exp_type_name_2 = '" + request.form("pref_parent_exp_type_name_2") + "',"
		sSql = sSql + "default_exp_type_name_2 = '" + request.form("default_exp_type_name_2") + "',"
		sSql = sSql + "preferred_exp_type_name_2 = '" + request.form("preferred_exp_type_name_2") + "',"
		sSql = sSql + "account_code_2 = '" + request.form("account_code_2") + "',"
		sSql = sSql + "billable_account_code_2 = '" + request.form("billable_account_code_2") + "',"
		sSql = sSql + "default_entry_form_name_2 = '" + request.form("default_entry_form_name_2") + "',"
		sSql = sSql + "active_exp_type_3 = '" + request.form("active_exp_type_3") + "',"
		sSql = sSql + "def_parent_exp_type_name_3 = '" + request.form("def_parent_exp_type_name_3") + "',"
		sSql = sSql + "pref_parent_exp_type_name_3 = '" + request.form("pref_parent_exp_type_name_3") + "',"
		sSql = sSql + "default_exp_type_name_3 = '" + request.form("default_exp_type_name_3") + "',"
		sSql = sSql + "preferred_exp_type_name_3 = '" + request.form("preferred_exp_type_name_3") + "',"
		sSql = sSql + "account_code_3 = '" + request.form("account_code_3") + "',"
		sSql = sSql + "billable_account_code_3 = '" + request.form("billable_account_code_3") + "',"
		sSql = sSql + "default_entry_form_name_3 = '" + request.form("default_entry_form_name_3") + "',"
		sSql = sSql + "active_exp_type_4 = '" + request.form("active_exp_type_4") + "',"
		sSql = sSql + "def_parent_exp_type_name_4 = '" + request.form("def_parent_exp_type_name_4") + "',"
		sSql = sSql + "pref_parent_exp_type_name_4 = '" + request.form("pref_parent_exp_type_name_4") + "',"
		sSql = sSql + "default_exp_type_name_4 = '" + request.form("default_exp_type_name_4") + "',"
		sSql = sSql + "preferred_exp_type_name_4 = '" + request.form("preferred_exp_type_name_4") + "',"
		sSql = sSql + "account_code_4 = '" + request.form("account_code_4") + "',"
		sSql = sSql + "billable_account_code_4 = '" + request.form("billable_account_code_4") + "',"
		sSql = sSql + "default_entry_form_name_4 = '" + request.form("default_entry_form_name_4") + "',"
		sSql = sSql + "active_exp_type_5 = '" + request.form("active_exp_type_5") + "',"
		sSql = sSql + "def_parent_exp_type_name_5 = '" + request.form("def_parent_exp_type_name_5") + "',"
		sSql = sSql + "pref_parent_exp_type_name_5 = '" + request.form("pref_parent_exp_type_name_5") + "',"
		sSql = sSql + "default_exp_type_name_5 = '" + request.form("default_exp_type_name_5") + "',"
		sSql = sSql + "preferred_exp_type_name_5 = '" + request.form("preferred_exp_type_name_5") + "',"
		sSql = sSql + "account_code_5 = '" + request.form("account_code_5") + "',"
		sSql = sSql + "billable_account_code_5 = '" + request.form("billable_account_code_5") + "',"
		sSql = sSql + "default_entry_form_name_5 = '" + request.form("default_entry_form_name_5") + "',"
		sSql = sSql + "active_exp_type_6 = '" + request.form("active_exp_type_6") + "',"
		sSql = sSql + "def_parent_exp_type_name_6 = '" + request.form("def_parent_exp_type_name_6") + "',"
		sSql = sSql + "pref_parent_exp_type_name_6 = '" + request.form("pref_parent_exp_type_name_6") + "',"
		sSql = sSql + "default_exp_type_name_6 = '" + request.form("default_exp_type_name_6") + "',"
		sSql = sSql + "preferred_exp_type_name_6 = '" + request.form("preferred_exp_type_name_6") + "',"
		sSql = sSql + "account_code_6 = '" + request.form("account_code_6") + "',"
		sSql = sSql + "billable_account_code_6 = '" + request.form("billable_account_code_6") + "',"
		sSql = sSql + "default_entry_form_name_6 = '" + request.form("default_entry_form_name_6") + "',"
		sSql = sSql + "active_exp_type_7 = '" + request.form("active_exp_type_7") + "',"
		sSql = sSql + "def_parent_exp_type_name_7 = '" + request.form("def_parent_exp_type_name_7") + "',"
		sSql = sSql + "pref_parent_exp_type_name_7 = '" + request.form("pref_parent_exp_type_name_7") + "',"
		sSql = sSql + "default_exp_type_name_7 = '" + request.form("default_exp_type_name_7") + "',"
		sSql = sSql + "preferred_exp_type_name_7 = '" + request.form("preferred_exp_type_name_7") + "',"
		sSql = sSql + "account_code_7 = '" + request.form("account_code_7") + "',"
		sSql = sSql + "billable_account_code_7 = '" + request.form("billable_account_code_7") + "',"
		sSql = sSql + "default_entry_form_name_7 = '" + request.form("default_entry_form_name_7") + "',"
		sSql = sSql + "active_exp_type_8 = '" + request.form("active_exp_type_8") + "',"
		sSql = sSql + "def_parent_exp_type_name_8 = '" + request.form("def_parent_exp_type_name_8") + "',"
		sSql = sSql + "pref_parent_exp_type_name_8 = '" + request.form("pref_parent_exp_type_name_8") + "',"
		sSql = sSql + "default_exp_type_name_8 = '" + request.form("default_exp_type_name_8") + "',"
		sSql = sSql + "preferred_exp_type_name_8 = '" + request.form("preferred_exp_type_name_8") + "',"
		sSql = sSql + "account_code_8 = '" + request.form("account_code_8") + "',"
		sSql = sSql + "billable_account_code_8 = '" + request.form("billable_account_code_8") + "',"
		sSql = sSql + "default_entry_form_name_8 = '" + request.form("default_entry_form_name_8") + "',"
		sSql = sSql + "active_exp_type_9 = '" + request.form("active_exp_type_9") + "',"
		sSql = sSql + "def_parent_exp_type_name_9 = '" + request.form("def_parent_exp_type_name_9") + "',"
		sSql = sSql + "pref_parent_exp_type_name_9 = '" + request.form("pref_parent_exp_type_name_9") + "',"
		sSql = sSql + "default_exp_type_name_9 = '" + request.form("default_exp_type_name_9") + "',"
		sSql = sSql + "preferred_exp_type_name_9 = '" + request.form("preferred_exp_type_name_9") + "',"
		sSql = sSql + "account_code_9 = '" + request.form("account_code_9") + "',"
		sSql = sSql + "billable_account_code_9 = '" + request.form("billable_account_code_9") + "',"
		sSql = sSql + "default_entry_form_name_9 = '" + request.form("default_entry_form_name_9") + "',"
		sSql = sSql + "active_exp_type_10 = '" + request.form("active_exp_type_10") + "',"
		sSql = sSql + "def_parent_exp_type_name_10 = '" + request.form("def_parent_exp_type_name_10") + "',"
		sSql = sSql + "pref_parent_exp_type_name_10 = '" + request.form("pref_parent_exp_type_name_10") + "',"
		sSql = sSql + "default_exp_type_name_10 = '" + request.form("default_exp_type_name_10") + "',"
		sSql = sSql + "preferred_exp_type_name_10 = '" + request.form("preferred_exp_type_name_10") + "',"
		sSql = sSql + "account_code_10 = '" + request.form("account_code_10") + "',"
		sSql = sSql + "billable_account_code_10 = '" + request.form("billable_account_code_10") + "',"
		sSql = sSql + "default_entry_form_name_10 = '" + request.form("default_entry_form_name_10") + "',"
		sSql = sSql + "active_exp_type_11 = '" + request.form("active_exp_type_11") + "',"
		sSql = sSql + "def_parent_exp_type_name_11 = '" + request.form("def_parent_exp_type_name_11") + "',"
		sSql = sSql + "pref_parent_exp_type_name_11 = '" + request.form("pref_parent_exp_type_name_11") + "',"
		sSql = sSql + "default_exp_type_name_11 = '" + request.form("default_exp_type_name_11") + "',"
		sSql = sSql + "preferred_exp_type_name_11 = '" + request.form("preferred_exp_type_name_11") + "',"
		sSql = sSql + "account_code_11 = '" + request.form("account_code_11") + "',"
		sSql = sSql + "billable_account_code_11 = '" + request.form("billable_account_code_11") + "',"
		sSql = sSql + "default_entry_form_name_11 = '" + request.form("default_entry_form_name_11") + "',"
		sSql = sSql + "active_exp_type_12 = '" + request.form("active_exp_type_12") + "',"
		sSql = sSql + "def_parent_exp_type_name_12 = '" + request.form("def_parent_exp_type_name_12") + "',"
		sSql = sSql + "pref_parent_exp_type_name_12 = '" + request.form("pref_parent_exp_type_name_12") + "',"
		sSql = sSql + "default_exp_type_name_12 = '" + request.form("default_exp_type_name_12") + "',"
		sSql = sSql + "preferred_exp_type_name_12 = '" + request.form("preferred_exp_type_name_12") + "',"
		sSql = sSql + "account_code_12 = '" + request.form("account_code_12") + "',"
		sSql = sSql + "billable_account_code_12 = '" + request.form("billable_account_code_12") + "',"
		sSql = sSql + "default_entry_form_name_12 = '" + request.form("default_entry_form_name_12") + "',"
		sSql = sSql + "active_exp_type_13 = '" + request.form("active_exp_type_13") + "',"
		sSql = sSql + "def_parent_exp_type_name_13 = '" + request.form("def_parent_exp_type_name_13") + "',"
		sSql = sSql + "pref_parent_exp_type_name_13 = '" + request.form("pref_parent_exp_type_name_13") + "',"
		sSql = sSql + "default_exp_type_name_13 = '" + request.form("default_exp_type_name_13") + "',"
		sSql = sSql + "preferred_exp_type_name_13 = '" + request.form("preferred_exp_type_name_13") + "',"
		sSql = sSql + "account_code_13 = '" + request.form("account_code_13") + "',"
		sSql = sSql + "billable_account_code_13 = '" + request.form("billable_account_code_13") + "',"
		sSql = sSql + "default_entry_form_name_13 = '" + request.form("default_entry_form_name_13") + "',"
		sSql = sSql + "active_exp_type_14 = '" + request.form("active_exp_type_14") + "',"
		sSql = sSql + "def_parent_exp_type_name_14 = '" + request.form("def_parent_exp_type_name_14") + "',"
		sSql = sSql + "pref_parent_exp_type_name_14 = '" + request.form("pref_parent_exp_type_name_14") + "',"
		sSql = sSql + "default_exp_type_name_14 = '" + request.form("default_exp_type_name_14") + "',"
		sSql = sSql + "preferred_exp_type_name_14 = '" + request.form("preferred_exp_type_name_14") + "',"
		sSql = sSql + "account_code_14 = '" + request.form("account_code_14") + "',"
		sSql = sSql + "billable_account_code_14 = '" + request.form("billable_account_code_14") + "',"
		sSql = sSql + "default_entry_form_name_14 = '" + request.form("default_entry_form_name_14") + "',"
		sSql = sSql + "active_exp_type_15 = '" + request.form("active_exp_type_15") + "',"
		sSql = sSql + "def_parent_exp_type_name_15 = '" + request.form("def_parent_exp_type_name_15") + "',"
		sSql = sSql + "pref_parent_exp_type_name_15 = '" + request.form("pref_parent_exp_type_name_15") + "',"
		sSql = sSql + "default_exp_type_name_15 = '" + request.form("default_exp_type_name_15") + "',"
		sSql = sSql + "preferred_exp_type_name_15 = '" + request.form("preferred_exp_type_name_15") + "',"
		sSql = sSql + "account_code_15 = '" + request.form("account_code_15") + "',"
		sSql = sSql + "billable_account_code_15 = '" + request.form("billable_account_code_15") + "',"
		sSql = sSql + "default_entry_form_name_15 = '" + request.form("default_entry_form_name_15") + "',"
		sSql = sSql + "active_exp_type_16 = '" + request.form("active_exp_type_16") + "',"
		sSql = sSql + "def_parent_exp_type_name_16 = '" + request.form("def_parent_exp_type_name_16") + "',"
		sSql = sSql + "pref_parent_exp_type_name_16 = '" + request.form("pref_parent_exp_type_name_16") + "',"
		sSql = sSql + "default_exp_type_name_16 = '" + request.form("default_exp_type_name_16") + "',"
		sSql = sSql + "preferred_exp_type_name_16 = '" + request.form("preferred_exp_type_name_16") + "',"
		sSql = sSql + "account_code_16 = '" + request.form("account_code_16") + "',"
		sSql = sSql + "billable_account_code_16 = '" + request.form("billable_account_code_16") + "',"
		sSql = sSql + "default_entry_form_name_16 = '" + request.form("default_entry_form_name_16") + "',"
		sSql = sSql + "active_exp_type_17 = '" + request.form("active_exp_type_17") + "',"
		sSql = sSql + "def_parent_exp_type_name_17 = '" + request.form("def_parent_exp_type_name_17") + "',"
		sSql = sSql + "pref_parent_exp_type_name_17 = '" + request.form("pref_parent_exp_type_name_17") + "',"
		sSql = sSql + "default_exp_type_name_17 = '" + request.form("default_exp_type_name_17") + "',"
		sSql = sSql + "preferred_exp_type_name_17 = '" + request.form("preferred_exp_type_name_17") + "',"
		sSql = sSql + "account_code_17 = '" + request.form("account_code_17") + "',"
		sSql = sSql + "billable_account_code_17 = '" + request.form("billable_account_code_17") + "',"
		sSql = sSql + "default_entry_form_name_17 = '" + request.form("default_entry_form_name_17") + "',"
		sSql = sSql + "active_exp_type_18 = '" + request.form("active_exp_type_18") + "',"
		sSql = sSql + "def_parent_exp_type_name_18 = '" + request.form("def_parent_exp_type_name_18") + "',"
		sSql = sSql + "pref_parent_exp_type_name_18 = '" + request.form("pref_parent_exp_type_name_18") + "',"
		sSql = sSql + "default_exp_type_name_18 = '" + request.form("default_exp_type_name_18") + "',"
		sSql = sSql + "preferred_exp_type_name_18 = '" + request.form("preferred_exp_type_name_18") + "',"
		sSql = sSql + "account_code_18 = '" + request.form("account_code_18") + "',"
		sSql = sSql + "billable_account_code_18 = '" + request.form("billable_account_code_18") + "',"
		sSql = sSql + "default_entry_form_name_18 = '" + request.form("default_entry_form_name_18") + "',"
		sSql = sSql + "active_exp_type_19 = '" + request.form("active_exp_type_19") + "',"
		sSql = sSql + "def_parent_exp_type_name_19 = '" + request.form("def_parent_exp_type_name_19") + "',"
		sSql = sSql + "pref_parent_exp_type_name_19 = '" + request.form("pref_parent_exp_type_name_19") + "',"
		sSql = sSql + "default_exp_type_name_19 = '" + request.form("default_exp_type_name_19") + "',"
		sSql = sSql + "preferred_exp_type_name_19 = '" + request.form("preferred_exp_type_name_19") + "',"
		sSql = sSql + "account_code_19 = '" + request.form("account_code_19") + "',"
		sSql = sSql + "billable_account_code_19 = '" + request.form("billable_account_code_19") + "',"
		sSql = sSql + "default_entry_form_name_19 = '" + request.form("default_entry_form_name_19") + "',"
		sSql = sSql + "active_exp_type_20 = '" + request.form("active_exp_type_20") + "',"
		sSql = sSql + "def_parent_exp_type_name_20 = '" + request.form("def_parent_exp_type_name_20") + "',"
		sSql = sSql + "pref_parent_exp_type_name_20 = '" + request.form("pref_parent_exp_type_name_20") + "',"
		sSql = sSql + "default_exp_type_name_20 = '" + request.form("default_exp_type_name_20") + "',"
		sSql = sSql + "preferred_exp_type_name_20 = '" + request.form("preferred_exp_type_name_20") + "',"
		sSql = sSql + "account_code_20 = '" + request.form("account_code_20") + "',"
		sSql = sSql + "billable_account_code_20 = '" + request.form("billable_account_code_20") + "',"
		sSql = sSql + "default_entry_form_name_20 = '" + request.form("default_entry_form_name_20") + "',"
		sSql = sSql + "active_exp_type_21 = '" + request.form("active_exp_type_21") + "',"
		sSql = sSql + "def_parent_exp_type_name_21 = '" + request.form("def_parent_exp_type_name_21") + "',"
		sSql = sSql + "pref_parent_exp_type_name_21 = '" + request.form("pref_parent_exp_type_name_21") + "',"
		sSql = sSql + "default_exp_type_name_21 = '" + request.form("default_exp_type_name_21") + "',"
		sSql = sSql + "preferred_exp_type_name_21 = '" + request.form("preferred_exp_type_name_21") + "',"
		sSql = sSql + "account_code_21 = '" + request.form("account_code_21") + "',"
		sSql = sSql + "billable_account_code_21 = '" + request.form("billable_account_code_21") + "',"
		sSql = sSql + "default_entry_form_name_21 = '" + request.form("default_entry_form_name_21") + "',"
		sSql = sSql + "active_exp_type_22 = '" + request.form("active_exp_type_22") + "',"
		sSql = sSql + "def_parent_exp_type_name_22 = '" + request.form("def_parent_exp_type_name_22") + "',"
		sSql = sSql + "pref_parent_exp_type_name_22 = '" + request.form("pref_parent_exp_type_name_22") + "',"
		sSql = sSql + "default_exp_type_name_22 = '" + request.form("default_exp_type_name_22") + "',"
		sSql = sSql + "preferred_exp_type_name_22 = '" + request.form("preferred_exp_type_name_22") + "',"
		sSql = sSql + "account_code_22 = '" + request.form("account_code_22") + "',"
		sSql = sSql + "billable_account_code_22 = '" + request.form("billable_account_code_22") + "',"
		sSql = sSql + "default_entry_form_name_22 = '" + request.form("default_entry_form_name_22") + "',"
		sSql = sSql + "active_exp_type_23 = '" + request.form("active_exp_type_23") + "',"
		sSql = sSql + "def_parent_exp_type_name_23 = '" + request.form("def_parent_exp_type_name_23") + "',"
		sSql = sSql + "pref_parent_exp_type_name_23 = '" + request.form("pref_parent_exp_type_name_23") + "',"
		sSql = sSql + "default_exp_type_name_23 = '" + request.form("default_exp_type_name_23") + "',"
		sSql = sSql + "preferred_exp_type_name_23 = '" + request.form("preferred_exp_type_name_23") + "',"
		sSql = sSql + "account_code_23 = '" + request.form("account_code_23") + "',"
		sSql = sSql + "billable_account_code_23 = '" + request.form("billable_account_code_23") + "',"
		sSql = sSql + "default_entry_form_name_23 = '" + request.form("default_entry_form_name_23") + "',"
		sSql = sSql + "active_exp_type_24 = '" + request.form("active_exp_type_24") + "',"
		sSql = sSql + "def_parent_exp_type_name_24 = '" + request.form("def_parent_exp_type_name_24") + "',"
		sSql = sSql + "pref_parent_exp_type_name_24 = '" + request.form("pref_parent_exp_type_name_24") + "',"
		sSql = sSql + "default_exp_type_name_24 = '" + request.form("default_exp_type_name_24") + "',"
		sSql = sSql + "preferred_exp_type_name_24 = '" + request.form("preferred_exp_type_name_24") + "',"
		sSql = sSql + "account_code_24 = '" + request.form("account_code_24") + "',"
		sSql = sSql + "billable_account_code_24 = '" + request.form("billable_account_code_24") + "',"
		sSql = sSql + "default_entry_form_name_24 = '" + request.form("default_entry_form_name_24") + "',"
		sSql = sSql + "active_exp_type_25 = '" + request.form("active_exp_type_25") + "',"
		sSql = sSql + "def_parent_exp_type_name_25 = '" + request.form("def_parent_exp_type_name_25") + "',"
		sSql = sSql + "pref_parent_exp_type_name_25 = '" + request.form("pref_parent_exp_type_name_25") + "',"
		sSql = sSql + "default_exp_type_name_25 = '" + request.form("default_exp_type_name_25") + "',"
		sSql = sSql + "preferred_exp_type_name_25 = '" + request.form("preferred_exp_type_name_25") + "',"
		sSql = sSql + "account_code_25 = '" + request.form("account_code_25") + "',"
		sSql = sSql + "billable_account_code_25 = '" + request.form("billable_account_code_25") + "',"
		sSql = sSql + "default_entry_form_name_25 = '" + request.form("default_entry_form_name_25") + "',"
		sSql = sSql + "active_exp_type_26 = '" + request.form("active_exp_type_26") + "',"
		sSql = sSql + "def_parent_exp_type_name_26 = '" + request.form("def_parent_exp_type_name_26") + "',"
		sSql = sSql + "pref_parent_exp_type_name_26 = '" + request.form("pref_parent_exp_type_name_26") + "',"
		sSql = sSql + "default_exp_type_name_26 = '" + request.form("default_exp_type_name_26") + "',"
		sSql = sSql + "preferred_exp_type_name_26 = '" + request.form("preferred_exp_type_name_26") + "',"
		sSql = sSql + "account_code_26 = '" + request.form("account_code_26") + "',"
		sSql = sSql + "billable_account_code_26 = '" + request.form("billable_account_code_26") + "',"
		sSql = sSql + "default_entry_form_name_26 = '" + request.form("default_entry_form_name_26") + "',"
		sSql = sSql + "active_exp_type_27 = '" + request.form("active_exp_type_27") + "',"
		sSql = sSql + "def_parent_exp_type_name_27 = '" + request.form("def_parent_exp_type_name_27") + "',"
		sSql = sSql + "pref_parent_exp_type_name_27 = '" + request.form("pref_parent_exp_type_name_27") + "',"
		sSql = sSql + "default_exp_type_name_27 = '" + request.form("default_exp_type_name_27") + "',"
		sSql = sSql + "preferred_exp_type_name_27 = '" + request.form("preferred_exp_type_name_27") + "',"
		sSql = sSql + "account_code_27 = '" + request.form("account_code_27") + "',"
		sSql = sSql + "billable_account_code_27 = '" + request.form("billable_account_code_27") + "',"
		sSql = sSql + "default_entry_form_name_27 = '" + request.form("default_entry_form_name_27") + "',"
		sSql = sSql + "active_exp_type_28 = '" + request.form("active_exp_type_28") + "',"
		sSql = sSql + "def_parent_exp_type_name_28 = '" + request.form("def_parent_exp_type_name_28") + "',"
		sSql = sSql + "pref_parent_exp_type_name_28 = '" + request.form("pref_parent_exp_type_name_28") + "',"
		sSql = sSql + "default_exp_type_name_28 = '" + request.form("default_exp_type_name_28") + "',"
		sSql = sSql + "preferred_exp_type_name_28 = '" + request.form("preferred_exp_type_name_28") + "',"
		sSql = sSql + "account_code_28 = '" + request.form("account_code_28") + "',"
		sSql = sSql + "billable_account_code_28 = '" + request.form("billable_account_code_28") + "',"
		sSql = sSql + "default_entry_form_name_28 = '" + request.form("default_entry_form_name_28") + "',"
		sSql = sSql + "active_exp_type_29 = '" + request.form("active_exp_type_29") + "',"
		sSql = sSql + "def_parent_exp_type_name_29 = '" + request.form("def_parent_exp_type_name_29") + "',"
		sSql = sSql + "pref_parent_exp_type_name_29 = '" + request.form("pref_parent_exp_type_name_29") + "',"
		sSql = sSql + "default_exp_type_name_29 = '" + request.form("default_exp_type_name_29") + "',"
		sSql = sSql + "preferred_exp_type_name_29 = '" + request.form("preferred_exp_type_name_29") + "',"
		sSql = sSql + "account_code_29 = '" + request.form("account_code_29") + "',"
		sSql = sSql + "billable_account_code_29 = '" + request.form("billable_account_code_29") + "',"
		sSql = sSql + "default_entry_form_name_29 = '" + request.form("default_entry_form_name_29") + "',"
		sSql = sSql + "active_exp_type_30 = '" + request.form("active_exp_type_30") + "',"
		sSql = sSql + "def_parent_exp_type_name_30 = '" + request.form("def_parent_exp_type_name_30") + "',"
		sSql = sSql + "pref_parent_exp_type_name_30 = '" + request.form("pref_parent_exp_type_name_30") + "',"
		sSql = sSql + "default_exp_type_name_30 = '" + request.form("default_exp_type_name_30") + "',"
		sSql = sSql + "preferred_exp_type_name_30 = '" + request.form("preferred_exp_type_name_30") + "',"
		sSql = sSql + "account_code_30 = '" + request.form("account_code_30") + "',"
		sSql = sSql + "billable_account_code_30 = '" + request.form("billable_account_code_30") + "',"
		sSql = sSql + "default_entry_form_name_30 = '" + request.form("default_entry_form_name_30") + "'"
		sSql = sSql + " where company_key = " & session("company")


    
    sSql = "select * from cia_cte_expense_types_p2 where company_key = " & session("company")
	Set rsCompanyKey2 = CreateObject("ADODB.Recordset") 
	rsCompanyKey2.Open sSql, oConnection

    If Not rsCompanyKey2.BOF And Not rsCompanyKey2.EOF Then 'checks if anything is returned
        'we had one - update it
	
 		sSql = "update cia_cte_expense_types_p2 set active_exp_type_31 = '" + request.form("active_exp_type_13") + "',"	
		sSql = sSql + "def_parent_exp_type_name_31 = '" + request.form("def_parent_exp_type_name_31") + "',"
		sSql = sSql + "pref_parent_exp_type_name_31 = '" + request.form("pref_parent_exp_type_name_31") + "',"
		sSql = sSql + "default_exp_type_name_31 = '" + request.form("default_exp_type_name_31") + "',"
		sSql = sSql + "preferred_exp_type_name_31 = '" + request.form("preferred_exp_type_name_31") + "',"
		sSql = sSql + "account_code_31 = '" + request.form("account_code_31") + "',"
		sSql = sSql + "billable_account_code_31 = '" + request.form("billable_account_code_31") + "',"
		sSql = sSql + "default_entry_form_name_31 = '" + request.form("default_entry_form_name_31") + "',"
		sSql = sSql + "active_exp_type_32 = '" + request.form("active_exp_type_32") + "',"
		sSql = sSql + "def_parent_exp_type_name_32 = '" + request.form("def_parent_exp_type_name_32") + "',"
		sSql = sSql + "pref_parent_exp_type_name_32 = '" + request.form("pref_parent_exp_type_name_32") + "',"
		sSql = sSql + "default_exp_type_name_32 = '" + request.form("default_exp_type_name_32") + "',"
		sSql = sSql + "preferred_exp_type_name_32 = '" + request.form("preferred_exp_type_name_32") + "',"
		sSql = sSql + "account_code_32 = '" + request.form("account_code_32") + "',"
		sSql = sSql + "billable_account_code_32 = '" + request.form("billable_account_code_32") + "',"
		sSql = sSql + "default_entry_form_name_32 = '" + request.form("default_entry_form_name_32") + "',"
		sSql = sSql + "active_exp_type_33 = '" + request.form("active_exp_type_33") + "',"
		sSql = sSql + "def_parent_exp_type_name_33 = '" + request.form("def_parent_exp_type_name_33") + "',"
		sSql = sSql + "pref_parent_exp_type_name_33 = '" + request.form("pref_parent_exp_type_name_33") + "',"
		sSql = sSql + "default_exp_type_name_33 = '" + request.form("default_exp_type_name_33") + "',"
		sSql = sSql + "preferred_exp_type_name_33 = '" + request.form("preferred_exp_type_name_33") + "',"
		sSql = sSql + "account_code_33 = '" + request.form("account_code_33") + "',"
		sSql = sSql + "billable_account_code_33 = '" + request.form("billable_account_code_33") + "',"
		sSql = sSql + "default_entry_form_name_33 = '" + request.form("default_entry_form_name_33") + "',"
		sSql = sSql + "active_exp_type_34 = '" + request.form("active_exp_type_34") + "',"
		sSql = sSql + "def_parent_exp_type_name_34 = '" + request.form("def_parent_exp_type_name_34") + "',"
		sSql = sSql + "pref_parent_exp_type_name_34 = '" + request.form("pref_parent_exp_type_name_34") + "',"
		sSql = sSql + "default_exp_type_name_34 = '" + request.form("default_exp_type_name_34") + "',"
		sSql = sSql + "preferred_exp_type_name_34 = '" + request.form("preferred_exp_type_name_34") + "',"
		sSql = sSql + "account_code_34 = '" + request.form("account_code_34") + "',"
		sSql = sSql + "billable_account_code_34 = '" + request.form("billable_account_code_34") + "',"
		sSql = sSql + "default_entry_form_name_34 = '" + request.form("default_entry_form_name_34") + "',"
		sSql = sSql + "active_exp_type_35 = '" + request.form("active_exp_type_35") + "',"
		sSql = sSql + "def_parent_exp_type_name_35 = '" + request.form("def_parent_exp_type_name_35") + "',"
		sSql = sSql + "pref_parent_exp_type_name_35 = '" + request.form("pref_parent_exp_type_name_35") + "',"
		sSql = sSql + "default_exp_type_name_35 = '" + request.form("default_exp_type_name_35") + "',"
		sSql = sSql + "preferred_exp_type_name_35 = '" + request.form("preferred_exp_type_name_35") + "',"
		sSql = sSql + "account_code_35 = '" + request.form("account_code_35") + "',"
		sSql = sSql + "billable_account_code_35 = '" + request.form("billable_account_code_35") + "',"
		sSql = sSql + "default_entry_form_name_35 = '" + request.form("default_entry_form_name_35") + "',"
		sSql = sSql + "active_exp_type_36 = '" + request.form("active_exp_type_36") + "',"
		sSql = sSql + "def_parent_exp_type_name_36 = '" + request.form("def_parent_exp_type_name_36") + "',"
		sSql = sSql + "pref_parent_exp_type_name_36 = '" + request.form("pref_parent_exp_type_name_36") + "',"
		sSql = sSql + "default_exp_type_name_36 = '" + request.form("default_exp_type_name_36") + "',"
		sSql = sSql + "preferred_exp_type_name_36 = '" + request.form("preferred_exp_type_name_36") + "',"
		sSql = sSql + "account_code_36 = '" + request.form("account_code_36") + "',"
		sSql = sSql + "billable_account_code_36 = '" + request.form("billable_account_code_36") + "',"
		sSql = sSql + "default_entry_form_name_36 = '" + request.form("default_entry_form_name_36") + "',"
		sSql = sSql + "active_exp_type_37 = '" + request.form("active_exp_type_37") + "',"
		sSql = sSql + "def_parent_exp_type_name_37 = '" + request.form("def_parent_exp_type_name_37") + "',"
		sSql = sSql + "pref_parent_exp_type_name_37 = '" + request.form("pref_parent_exp_type_name_37") + "',"
		sSql = sSql + "default_exp_type_name_37 = '" + request.form("default_exp_type_name_37") + "',"
		sSql = sSql + "preferred_exp_type_name_37 = '" + request.form("preferred_exp_type_name_37") + "',"
		sSql = sSql + "account_code_37 = '" + request.form("account_code_37") + "',"
		sSql = sSql + "billable_account_code_37 = '" + request.form("billable_account_code_37") + "',"
		sSql = sSql + "default_entry_form_name_37 = '" + request.form("default_entry_form_name_37") + "',"
		sSql = sSql + "active_exp_type_38 = '" + request.form("active_exp_type_38") + "',"
		sSql = sSql + "def_parent_exp_type_name_38 = '" + request.form("def_parent_exp_type_name_38") + "',"
		sSql = sSql + "pref_parent_exp_type_name_38 = '" + request.form("pref_parent_exp_type_name_38") + "',"
		sSql = sSql + "default_exp_type_name_38 = '" + request.form("default_exp_type_name_38") + "',"
		sSql = sSql + "preferred_exp_type_name_38 = '" + request.form("preferred_exp_type_name_38") + "',"
		sSql = sSql + "account_code_38 = '" + request.form("account_code_38") + "',"
		sSql = sSql + "billable_account_code_38 = '" + request.form("billable_account_code_38") + "',"
		sSql = sSql + "default_entry_form_name_38 = '" + request.form("default_entry_form_name_38") + "',"
		sSql = sSql + "active_exp_type_39 = '" + request.form("active_exp_type_39") + "',"
		sSql = sSql + "def_parent_exp_type_name_39 = '" + request.form("def_parent_exp_type_name_39") + "',"
		sSql = sSql + "pref_parent_exp_type_name_39 = '" + request.form("pref_parent_exp_type_name_39") + "',"
		sSql = sSql + "default_exp_type_name_39 = '" + request.form("default_exp_type_name_39") + "',"
		sSql = sSql + "preferred_exp_type_name_39 = '" + request.form("preferred_exp_type_name_39") + "',"
		sSql = sSql + "account_code_39 = '" + request.form("account_code_39") + "',"
		sSql = sSql + "billable_account_code_39 = '" + request.form("billable_account_code_39") + "',"
		sSql = sSql + "default_entry_form_name_39 = '" + request.form("default_entry_form_name_39") + "',"
		sSql = sSql + "active_exp_type_40 = '" + request.form("active_exp_type_40") + "',"
		sSql = sSql + "def_parent_exp_type_name_40 = '" + request.form("def_parent_exp_type_name_40") + "',"
		sSql = sSql + "pref_parent_exp_type_name_40 = '" + request.form("pref_parent_exp_type_name_40") + "',"
		sSql = sSql + "default_exp_type_name_40 = '" + request.form("default_exp_type_name_40") + "',"
		sSql = sSql + "preferred_exp_type_name_40 = '" + request.form("preferred_exp_type_name_40") + "',"
		sSql = sSql + "account_code_40 = '" + request.form("account_code_40") + "',"
		sSql = sSql + "billable_account_code_40 = '" + request.form("billable_account_code_40") + "',"
		sSql = sSql + "default_entry_form_name_40 = '" + request.form("default_entry_form_name_40") + "',"
		sSql = sSql + "active_exp_type_41 = '" + request.form("active_exp_type_41") + "',"
		sSql = sSql + "def_parent_exp_type_name_41 = '" + request.form("def_parent_exp_type_name_41") + "',"
		sSql = sSql + "pref_parent_exp_type_name_41 = '" + request.form("pref_parent_exp_type_name_41") + "',"
		sSql = sSql + "default_exp_type_name_41 = '" + request.form("default_exp_type_name_41") + "',"
		sSql = sSql + "preferred_exp_type_name_41 = '" + request.form("preferred_exp_type_name_41") + "',"
		sSql = sSql + "account_code_41 = '" + request.form("account_code_41") + "',"
		sSql = sSql + "billable_account_code_41 = '" + request.form("billable_account_code_41") + "',"
		sSql = sSql + "default_entry_form_name_41 = '" + request.form("default_entry_form_name_41") + "',"
		sSql = sSql + "active_exp_type_42 = '" + request.form("active_exp_type_42") + "',"
		sSql = sSql + "def_parent_exp_type_name_42 = '" + request.form("def_parent_exp_type_name_42") + "',"
		sSql = sSql + "pref_parent_exp_type_name_42 = '" + request.form("pref_parent_exp_type_name_42") + "',"
		sSql = sSql + "default_exp_type_name_42 = '" + request.form("default_exp_type_name_42") + "',"
		sSql = sSql + "preferred_exp_type_name_42 = '" + request.form("preferred_exp_type_name_42") + "',"
		sSql = sSql + "account_code_42 = '" + request.form("account_code_42") + "',"
		sSql = sSql + "billable_account_code_42 = '" + request.form("billable_account_code_42") + "',"
		sSql = sSql + "default_entry_form_name_42 = '" + request.form("default_entry_form_name_42") + "',"
		sSql = sSql + "active_exp_type_43 = '" + request.form("active_exp_type_43") + "',"
		sSql = sSql + "def_parent_exp_type_name_43 = '" + request.form("def_parent_exp_type_name_43") + "',"
		sSql = sSql + "pref_parent_exp_type_name_43 = '" + request.form("pref_parent_exp_type_name_43") + "',"
		sSql = sSql + "default_exp_type_name_43 = '" + request.form("default_exp_type_name_43") + "',"
		sSql = sSql + "preferred_exp_type_name_43 = '" + request.form("preferred_exp_type_name_43") + "',"
		sSql = sSql + "account_code_43 = '" + request.form("account_code_43") + "',"
		sSql = sSql + "billable_account_code_43 = '" + request.form("billable_account_code_43") + "',"
		sSql = sSql + "default_entry_form_name_43 = '" + request.form("default_entry_form_name_43") + "',"
		sSql = sSql + "active_exp_type_44 = '" + request.form("active_exp_type_44") + "',"
		sSql = sSql + "def_parent_exp_type_name_44 = '" + request.form("def_parent_exp_type_name_44") + "',"
		sSql = sSql + "pref_parent_exp_type_name_44 = '" + request.form("pref_parent_exp_type_name_44") + "',"
		sSql = sSql + "default_exp_type_name_44 = '" + request.form("default_exp_type_name_44") + "',"
		sSql = sSql + "preferred_exp_type_name_44 = '" + request.form("preferred_exp_type_name_44") + "',"
		sSql = sSql + "account_code_44 = '" + request.form("account_code_44") + "',"
		sSql = sSql + "billable_account_code_44 = '" + request.form("billable_account_code_44") + "',"
		sSql = sSql + "default_entry_form_name_44 = '" + request.form("default_entry_form_name_44") + "',"
		sSql = sSql + "active_exp_type_45 = '" + request.form("active_exp_type_45") + "',"
		sSql = sSql + "def_parent_exp_type_name_45 = '" + request.form("def_parent_exp_type_name_45") + "',"
		sSql = sSql + "pref_parent_exp_type_name_45 = '" + request.form("pref_parent_exp_type_name_45") + "',"
		sSql = sSql + "default_exp_type_name_45 = '" + request.form("default_exp_type_name_45") + "',"
		sSql = sSql + "preferred_exp_type_name_45 = '" + request.form("preferred_exp_type_name_45") + "',"
		sSql = sSql + "account_code_45 = '" + request.form("account_code_45") + "',"
		sSql = sSql + "billable_account_code_45 = '" + request.form("billable_account_code_45") + "',"
		sSql = sSql + "default_entry_form_name_45 = '" + request.form("default_entry_form_name_45") + "',"
		sSql = sSql + "active_exp_type_46 = '" + request.form("active_exp_type_46") + "',"
		sSql = sSql + "def_parent_exp_type_name_46 = '" + request.form("def_parent_exp_type_name_46") + "',"
		sSql = sSql + "pref_parent_exp_type_name_46 = '" + request.form("pref_parent_exp_type_name_46") + "',"
		sSql = sSql + "default_exp_type_name_46 = '" + request.form("default_exp_type_name_46") + "',"
		sSql = sSql + "preferred_exp_type_name_46 = '" + request.form("preferred_exp_type_name_46") + "',"
		sSql = sSql + "account_code_46 = '" + request.form("account_code_46") + "',"
		sSql = sSql + "billable_account_code_46 = '" + request.form("billable_account_code_46") + "',"
		sSql = sSql + "default_entry_form_name_46 = '" + request.form("default_entry_form_name_46") + "',"
		sSql = sSql + "active_exp_type_47 = '" + request.form("active_exp_type_47") + "',"
		sSql = sSql + "def_parent_exp_type_name_47 = '" + request.form("def_parent_exp_type_name_47") + "',"
		sSql = sSql + "pref_parent_exp_type_name_47 = '" + request.form("pref_parent_exp_type_name_47") + "',"
		sSql = sSql + "default_exp_type_name_47 = '" + request.form("default_exp_type_name_47") + "',"
		sSql = sSql + "preferred_exp_type_name_47 = '" + request.form("preferred_exp_type_name_47") + "',"
		sSql = sSql + "account_code_47 = '" + request.form("account_code_47") + "',"
		sSql = sSql + "billable_account_code_47 = '" + request.form("billable_account_code_47") + "',"
		sSql = sSql + "default_entry_form_name_47 = '" + request.form("default_entry_form_name_47") + "',"
		sSql = sSql + "active_exp_type_48 = '" + request.form("active_exp_type_48") + "',"
		sSql = sSql + "def_parent_exp_type_name_48 = '" + request.form("def_parent_exp_type_name_48") + "',"
		sSql = sSql + "pref_parent_exp_type_name_48 = '" + request.form("pref_parent_exp_type_name_48") + "',"
		sSql = sSql + "default_exp_type_name_48 = '" + request.form("default_exp_type_name_48") + "',"
		sSql = sSql + "preferred_exp_type_name_48 = '" + request.form("preferred_exp_type_name_48") + "',"
		sSql = sSql + "account_code_48 = '" + request.form("account_code_48") + "',"
		sSql = sSql + "billable_account_code_48 = '" + request.form("billable_account_code_48") + "',"
		sSql = sSql + "default_entry_form_name_48 = '" + request.form("default_entry_form_name_48") + "',"
		sSql = sSql + "active_exp_type_49 = '" + request.form("active_exp_type_49") + "',"
		sSql = sSql + "def_parent_exp_type_name_49 = '" + request.form("def_parent_exp_type_name_49") + "',"
		sSql = sSql + "pref_parent_exp_type_name_49 = '" + request.form("pref_parent_exp_type_name_49") + "',"
		sSql = sSql + "default_exp_type_name_49 = '" + request.form("default_exp_type_name_49") + "',"
		sSql = sSql + "preferred_exp_type_name_49 = '" + request.form("preferred_exp_type_name_49") + "',"
		sSql = sSql + "account_code_49 = '" + request.form("account_code_49") + "',"
		sSql = sSql + "billable_account_code_49 = '" + request.form("billable_account_code_49") + "',"
		sSql = sSql + "default_entry_form_name_49 = '" + request.form("default_entry_form_name_49") + "',"
		sSql = sSql + "active_exp_type_50 = '" + request.form("active_exp_type_50") + "',"
		sSql = sSql + "def_parent_exp_type_name_50 = '" + request.form("def_parent_exp_type_name_50") + "',"
		sSql = sSql + "pref_parent_exp_type_name_50 = '" + request.form("pref_parent_exp_type_name_50") + "',"
		sSql = sSql + "default_exp_type_name_50 = '" + request.form("default_exp_type_name_50") + "',"
		sSql = sSql + "preferred_exp_type_name_50 = '" + request.form("preferred_exp_type_name_50") + "',"
		sSql = sSql + "account_code_50 = '" + request.form("account_code_50") + "',"
		sSql = sSql + "billable_account_code_50 = '" + request.form("billable_account_code_50") + "',"
		sSql = sSql + "default_entry_form_name_50 = '" + request.form("default_entry_form_name_50") + "',"
		sSql = sSql + "active_exp_type_51 = '" + request.form("active_exp_type_51") + "',"
		sSql = sSql + "def_parent_exp_type_name_51 = '" + request.form("def_parent_exp_type_name_51") + "',"
		sSql = sSql + "pref_parent_exp_type_name_51 = '" + request.form("pref_parent_exp_type_name_51") + "',"
		sSql = sSql + "default_exp_type_name_51 = '" + request.form("default_exp_type_name_51") + "',"
		sSql = sSql + "preferred_exp_type_name_51 = '" + request.form("preferred_exp_type_name_51") + "',"
		sSql = sSql + "account_code_51 = '" + request.form("account_code_51") + "',"
		sSql = sSql + "billable_account_code_51 = '" + request.form("billable_account_code_51") + "',"
		sSql = sSql + "default_entry_form_name_51 = '" + request.form("default_entry_form_name_51") + "',"
		sSql = sSql + "active_exp_type_52 = '" + request.form("active_exp_type_52") + "',"
		sSql = sSql + "def_parent_exp_type_name_52 = '" + request.form("def_parent_exp_type_name_52") + "',"
		sSql = sSql + "pref_parent_exp_type_name_52 = '" + request.form("pref_parent_exp_type_name_52") + "',"
		sSql = sSql + "default_exp_type_name_52 = '" + request.form("default_exp_type_name_52") + "',"
		sSql = sSql + "preferred_exp_type_name_52 = '" + request.form("preferred_exp_type_name_52") + "',"
		sSql = sSql + "account_code_52 = '" + request.form("account_code_52") + "',"
		sSql = sSql + "billable_account_code_52 = '" + request.form("billable_account_code_52") + "',"
		sSql = sSql + "default_entry_form_name_52 = '" + request.form("default_entry_form_name_52") + "',"
		sSql = sSql + "active_exp_type_53 = '" + request.form("active_exp_type_53") + "',"
		sSql = sSql + "def_parent_exp_type_name_53 = '" + request.form("def_parent_exp_type_name_53") + "',"
		sSql = sSql + "pref_parent_exp_type_name_53 = '" + request.form("pref_parent_exp_type_name_53") + "',"
		sSql = sSql + "default_exp_type_name_53 = '" + request.form("default_exp_type_name_53") + "',"
		sSql = sSql + "preferred_exp_type_name_53 = '" + request.form("preferred_exp_type_name_53") + "',"
		sSql = sSql + "account_code_53 = '" + request.form("account_code_53") + "',"
		sSql = sSql + "billable_account_code_53 = '" + request.form("billable_account_code_53") + "',"
		sSql = sSql + "default_entry_form_name_53 = '" + request.form("default_entry_form_name_53") + "',"
		sSql = sSql + "active_exp_type_54 = '" + request.form("active_exp_type_54") + "',"
		sSql = sSql + "def_parent_exp_type_name_54 = '" + request.form("def_parent_exp_type_name_54") + "',"
		sSql = sSql + "pref_parent_exp_type_name_54 = '" + request.form("pref_parent_exp_type_name_54") + "',"
		sSql = sSql + "default_exp_type_name_54 = '" + request.form("default_exp_type_name_54") + "',"
		sSql = sSql + "preferred_exp_type_name_54 = '" + request.form("preferred_exp_type_name_54") + "',"
		sSql = sSql + "account_code_54 = '" + request.form("account_code_54") + "',"
		sSql = sSql + "billable_account_code_54 = '" + request.form("billable_account_code_54") + "',"
		sSql = sSql + "default_entry_form_name_54 = '" + request.form("default_entry_form_name_54") + "',"
		sSql = sSql + "active_exp_type_55 = '" + request.form("active_exp_type_55") + "',"
		sSql = sSql + "def_parent_exp_type_name_55 = '" + request.form("def_parent_exp_type_name_55") + "',"
		sSql = sSql + "pref_parent_exp_type_name_55 = '" + request.form("pref_parent_exp_type_name_55") + "',"
		sSql = sSql + "default_exp_type_name_55 = '" + request.form("default_exp_type_name_55") + "',"
		sSql = sSql + "preferred_exp_type_name_55 = '" + request.form("preferred_exp_type_name_55") + "',"
		sSql = sSql + "account_code_55 = '" + request.form("account_code_55") + "',"
		sSql = sSql + "billable_account_code_55 = '" + request.form("billable_account_code_55") + "',"
		sSql = sSql + "default_entry_form_name_55 = '" + request.form("default_entry_form_name_55") + "',"
		sSql = sSql + "active_exp_type_56 = '" + request.form("active_exp_type_56") + "',"
		sSql = sSql + "def_parent_exp_type_name_56 = '" + request.form("def_parent_exp_type_name_56") + "',"
		sSql = sSql + "pref_parent_exp_type_name_56 = '" + request.form("pref_parent_exp_type_name_56") + "',"
		sSql = sSql + "default_exp_type_name_56 = '" + request.form("default_exp_type_name_56") + "',"
		sSql = sSql + "preferred_exp_type_name_56 = '" + request.form("preferred_exp_type_name_56") + "',"
		sSql = sSql + "account_code_56 = '" + request.form("account_code_56") + "',"
		sSql = sSql + "billable_account_code_56 = '" + request.form("billable_account_code_56") + "',"
		sSql = sSql + "default_entry_form_name_56 = '" + request.form("default_entry_form_name_56") + "',"
		sSql = sSql + "active_exp_type_57 = '" + request.form("active_exp_type_57") + "',"
		sSql = sSql + "def_parent_exp_type_name_57 = '" + request.form("def_parent_exp_type_name_57") + "',"
		sSql = sSql + "pref_parent_exp_type_name_57 = '" + request.form("pref_parent_exp_type_name_57") + "',"
		sSql = sSql + "default_exp_type_name_57 = '" + request.form("default_exp_type_name_57") + "',"
		sSql = sSql + "preferred_exp_type_name_57 = '" + request.form("preferred_exp_type_name_57") + "',"
		sSql = sSql + "account_code_57 = '" + request.form("account_code_57") + "',"
		sSql = sSql + "billable_account_code_57 = '" + request.form("billable_account_code_57") + "',"
		sSql = sSql + "default_entry_form_name_57 = '" + request.form("default_entry_form_name_57") + "',"
		sSql = sSql + "active_exp_type_58 = '" + request.form("active_exp_type_58") + "',"
		sSql = sSql + "def_parent_exp_type_name_58 = '" + request.form("def_parent_exp_type_name_58") + "',"
		sSql = sSql + "pref_parent_exp_type_name_58 = '" + request.form("pref_parent_exp_type_name_58") + "',"
		sSql = sSql + "default_exp_type_name_58 = '" + request.form("default_exp_type_name_58") + "',"
		sSql = sSql + "preferred_exp_type_name_58 = '" + request.form("preferred_exp_type_name_58") + "',"
		sSql = sSql + "account_code_58 = '" + request.form("account_code_58") + "',"
		sSql = sSql + "billable_account_code_58 = '" + request.form("billable_account_code_58") + "',"
		sSql = sSql + "default_entry_form_name_58 = '" + request.form("default_entry_form_name_58") + "',"
		sSql = sSql + "active_exp_type_59 = '" + request.form("active_exp_type_59") + "',"
		sSql = sSql + "def_parent_exp_type_name_59 = '" + request.form("def_parent_exp_type_name_59") + "',"
		sSql = sSql + "pref_parent_exp_type_name_59 = '" + request.form("pref_parent_exp_type_name_59") + "',"
		sSql = sSql + "default_exp_type_name_59 = '" + request.form("default_exp_type_name_59") + "',"
		sSql = sSql + "preferred_exp_type_name_59 = '" + request.form("preferred_exp_type_name_59") + "',"
		sSql = sSql + "account_code_59 = '" + request.form("account_code_59") + "',"
		sSql = sSql + "billable_account_code_59 = '" + request.form("billable_account_code_59") + "',"
		sSql = sSql + "default_entry_form_name_59 = '" + request.form("default_entry_form_name_59") + "',"
		sSql = sSql + "active_exp_type_60 = '" + request.form("active_exp_type_60") + "',"
		sSql = sSql + "def_parent_exp_type_name_60 = '" + request.form("def_parent_exp_type_name_60") + "',"
		sSql = sSql + "pref_parent_exp_type_name_60 = '" + request.form("pref_parent_exp_type_name_60") + "',"
		sSql = sSql + "default_exp_type_name_60 = '" + request.form("default_exp_type_name_60") + "',"
		sSql = sSql + "preferred_exp_type_name_60 = '" + request.form("preferred_exp_type_name_60") + "',"
		sSql = sSql + "account_code_60 = '" + request.form("account_code_60") + "',"
		sSql = sSql + "billable_account_code_60 = '" + request.form("billable_account_code_60") + "',"
		sSql = sSql + "default_entry_form_name_60 = '" + request.form("default_entry_form_name_60") + "'"
		sSql = sSql + " where company_key = " & session("company")

    
    sSql = "select * from cia_cte_expense_types_p3 where company_key = " & session("company")
	Set rsCompanyKey3 = CreateObject("ADODB.Recordset") 
	rsCompanyKey3.Open sSql, oConnection

    If Not rsCompanyKey3.BOF And Not rsCompanyKey3.EOF Then 'checks if anything is returned
        'we had one - update it
	
 		sSql = "update cia_cte_expense_types_p3 set active_exp_type_61 = '" + request.form("active_exp_type_61") + "',"	
		sSql = sSql + "def_parent_exp_type_name_61 = '" + request.form("def_parent_exp_type_name_61") + "',"
		sSql = sSql + "pref_parent_exp_type_name_61 = '" + request.form("pref_parent_exp_type_name_61") + "',"
		sSql = sSql + "default_exp_type_name_61 = '" + request.form("default_exp_type_name_61") + "',"
		sSql = sSql + "preferred_exp_type_name_61 = '" + request.form("preferred_exp_type_name_61") + "',"
		sSql = sSql + "account_code_61 = '" + request.form("account_code_61") + "',"
		sSql = sSql + "billable_account_code_61 = '" + request.form("billable_account_code_61") + "',"
		sSql = sSql + "default_entry_form_name_61 = '" + request.form("default_entry_form_name_61") + "',"
		sSql = sSql + "active_exp_type_62 = '" + request.form("active_exp_type_62") + "',"
		sSql = sSql + "def_parent_exp_type_name_62 = '" + request.form("def_parent_exp_type_name_62") + "',"
		sSql = sSql + "pref_parent_exp_type_name_62 = '" + request.form("pref_parent_exp_type_name_62") + "',"
		sSql = sSql + "default_exp_type_name_62 = '" + request.form("default_exp_type_name_62") + "',"
		sSql = sSql + "preferred_exp_type_name_62 = '" + request.form("preferred_exp_type_name_62") + "',"
		sSql = sSql + "account_code_62 = '" + request.form("account_code_62") + "',"
		sSql = sSql + "billable_account_code_62 = '" + request.form("billable_account_code_62") + "',"
		sSql = sSql + "default_entry_form_name_62 = '" + request.form("default_entry_form_name_62") + "',"
		sSql = sSql + "active_exp_type_63 = '" + request.form("active_exp_type_63") + "',"
		sSql = sSql + "def_parent_exp_type_name_63 = '" + request.form("def_parent_exp_type_name_63") + "',"
		sSql = sSql + "pref_parent_exp_type_name_63 = '" + request.form("pref_parent_exp_type_name_63") + "',"
		sSql = sSql + "default_exp_type_name_63 = '" + request.form("default_exp_type_name_63") + "',"
		sSql = sSql + "preferred_exp_type_name_63 = '" + request.form("preferred_exp_type_name_63") + "',"
		sSql = sSql + "account_code_63 = '" + request.form("account_code_63") + "',"
		sSql = sSql + "billable_account_code_63 = '" + request.form("billable_account_code_63") + "',"
		sSql = sSql + "default_entry_form_name_63 = '" + request.form("default_entry_form_name_63") + "',"
		sSql = sSql + "active_exp_type_64 = '" + request.form("active_exp_type_64") + "',"
		sSql = sSql + "def_parent_exp_type_name_64 = '" + request.form("def_parent_exp_type_name_64") + "',"
		sSql = sSql + "pref_parent_exp_type_name_64 = '" + request.form("pref_parent_exp_type_name_64") + "',"
		sSql = sSql + "default_exp_type_name_64 = '" + request.form("default_exp_type_name_64") + "',"
		sSql = sSql + "preferred_exp_type_name_64 = '" + request.form("preferred_exp_type_name_64") + "',"
		sSql = sSql + "account_code_64 = '" + request.form("account_code_64") + "',"
		sSql = sSql + "billable_account_code_64 = '" + request.form("billable_account_code_64") + "',"
		sSql = sSql + "default_entry_form_name_64 = '" + request.form("default_entry_form_name_64") + "',"
		sSql = sSql + "active_exp_type_65 = '" + request.form("active_exp_type_65") + "',"
		sSql = sSql + "def_parent_exp_type_name_65 = '" + request.form("def_parent_exp_type_name_65") + "',"
		sSql = sSql + "pref_parent_exp_type_name_65 = '" + request.form("pref_parent_exp_type_name_65") + "',"
		sSql = sSql + "default_exp_type_name_65 = '" + request.form("default_exp_type_name_65") + "',"
		sSql = sSql + "preferred_exp_type_name_65 = '" + request.form("preferred_exp_type_name_65") + "',"
		sSql = sSql + "account_code_65 = '" + request.form("account_code_65") + "',"
		sSql = sSql + "billable_account_code_65 = '" + request.form("billable_account_code_65") + "',"
		sSql = sSql + "default_entry_form_name_65 = '" + request.form("default_entry_form_name_65") + "',"
		sSql = sSql + "active_exp_type_66 = '" + request.form("active_exp_type_66") + "',"
		sSql = sSql + "def_parent_exp_type_name_66 = '" + request.form("def_parent_exp_type_name_66") + "',"
		sSql = sSql + "pref_parent_exp_type_name_66 = '" + request.form("pref_parent_exp_type_name_66") + "',"
		sSql = sSql + "default_exp_type_name_66 = '" + request.form("default_exp_type_name_66") + "',"
		sSql = sSql + "preferred_exp_type_name_66 = '" + request.form("preferred_exp_type_name_66") + "',"
		sSql = sSql + "account_code_66 = '" + request.form("account_code_66") + "',"
		sSql = sSql + "billable_account_code_66 = '" + request.form("billable_account_code_66") + "',"
		sSql = sSql + "default_entry_form_name_66 = '" + request.form("default_entry_form_name_66") + "',"
		sSql = sSql + "active_exp_type_67 = '" + request.form("active_exp_type_67") + "',"
		sSql = sSql + "def_parent_exp_type_name_67 = '" + request.form("def_parent_exp_type_name_67") + "',"
		sSql = sSql + "pref_parent_exp_type_name_67 = '" + request.form("pref_parent_exp_type_name_67") + "',"
		sSql = sSql + "default_exp_type_name_67 = '" + request.form("default_exp_type_name_67") + "',"
		sSql = sSql + "preferred_exp_type_name_67 = '" + request.form("preferred_exp_type_name_67") + "',"
		sSql = sSql + "account_code_67 = '" + request.form("account_code_67") + "',"
		sSql = sSql + "billable_account_code_67 = '" + request.form("billable_account_code_67") + "',"
		sSql = sSql + "default_entry_form_name_67 = '" + request.form("default_entry_form_name_67") + "',"
		sSql = sSql + "active_exp_type_68 = '" + request.form("active_exp_type_68") + "',"
		sSql = sSql + "def_parent_exp_type_name_68 = '" + request.form("def_parent_exp_type_name_68") + "',"
		sSql = sSql + "pref_parent_exp_type_name_68 = '" + request.form("pref_parent_exp_type_name_68") + "',"
		sSql = sSql + "default_exp_type_name_68 = '" + request.form("default_exp_type_name_68") + "',"
		sSql = sSql + "preferred_exp_type_name_68 = '" + request.form("preferred_exp_type_name_68") + "',"
		sSql = sSql + "account_code_68 = '" + request.form("account_code_68") + "',"
		sSql = sSql + "billable_account_code_68 = '" + request.form("billable_account_code_68") + "',"
		sSql = sSql + "default_entry_form_name_68 = '" + request.form("default_entry_form_name_68") + "',"
		sSql = sSql + "active_exp_type_69 = '" + request.form("active_exp_type_69") + "',"
		sSql = sSql + "def_parent_exp_type_name_69 = '" + request.form("def_parent_exp_type_name_69") + "',"
		sSql = sSql + "pref_parent_exp_type_name_69 = '" + request.form("pref_parent_exp_type_name_69") + "',"
		sSql = sSql + "default_exp_type_name_69 = '" + request.form("default_exp_type_name_69") + "',"
		sSql = sSql + "preferred_exp_type_name_69 = '" + request.form("preferred_exp_type_name_69") + "',"
		sSql = sSql + "account_code_69 = '" + request.form("account_code_69") + "',"
		sSql = sSql + "billable_account_code_69 = '" + request.form("billable_account_code_69") + "',"
		sSql = sSql + "default_entry_form_name_69 = '" + request.form("default_entry_form_name_69") + "',"
		sSql = sSql + "active_exp_type_70 = '" + request.form("active_exp_type_70") + "',"
		sSql = sSql + "def_parent_exp_type_name_70 = '" + request.form("def_parent_exp_type_name_70") + "',"
		sSql = sSql + "pref_parent_exp_type_name_70 = '" + request.form("pref_parent_exp_type_name_70") + "',"
		sSql = sSql + "default_exp_type_name_70 = '" + request.form("default_exp_type_name_70") + "',"
		sSql = sSql + "preferred_exp_type_name_70 = '" + request.form("preferred_exp_type_name_70") + "',"
		sSql = sSql + "account_code_70 = '" + request.form("account_code_70") + "',"
		sSql = sSql + "billable_account_code_70 = '" + request.form("billable_account_code_70") + "',"
		sSql = sSql + "default_entry_form_name_70 = '" + request.form("default_entry_form_name_70") + "',"
		sSql = sSql + "active_exp_type_71 = '" + request.form("active_exp_type_71") + "',"
		sSql = sSql + "def_parent_exp_type_name_71 = '" + request.form("def_parent_exp_type_name_71") + "',"
		sSql = sSql + "pref_parent_exp_type_name_71 = '" + request.form("pref_parent_exp_type_name_71") + "',"
		sSql = sSql + "default_exp_type_name_71 = '" + request.form("default_exp_type_name_71") + "',"
		sSql = sSql + "preferred_exp_type_name_71 = '" + request.form("preferred_exp_type_name_71") + "',"
		sSql = sSql + "account_code_71 = '" + request.form("account_code_71") + "',"
		sSql = sSql + "billable_account_code_71 = '" + request.form("billable_account_code_71") + "',"
		sSql = sSql + "default_entry_form_name_71 = '" + request.form("default_entry_form_name_71") + "',"
		sSql = sSql + "active_exp_type_72 = '" + request.form("active_exp_type_72") + "',"
		sSql = sSql + "def_parent_exp_type_name_72 = '" + request.form("def_parent_exp_type_name_72") + "',"
		sSql = sSql + "pref_parent_exp_type_name_72 = '" + request.form("pref_parent_exp_type_name_72") + "',"
		sSql = sSql + "default_exp_type_name_72 = '" + request.form("default_exp_type_name_72") + "',"
		sSql = sSql + "preferred_exp_type_name_72 = '" + request.form("preferred_exp_type_name_72") + "',"
		sSql = sSql + "account_code_72 = '" + request.form("account_code_72") + "',"
		sSql = sSql + "billable_account_code_72 = '" + request.form("billable_account_code_72") + "',"
		sSql = sSql + "default_entry_form_name_72 = '" + request.form("default_entry_form_name_72") + "',"
		sSql = sSql + "active_exp_type_73 = '" + request.form("active_exp_type_73") + "',"
		sSql = sSql + "def_parent_exp_type_name_73 = '" + request.form("def_parent_exp_type_name_73") + "',"
		sSql = sSql + "pref_parent_exp_type_name_73 = '" + request.form("pref_parent_exp_type_name_73") + "',"
		sSql = sSql + "default_exp_type_name_73 = '" + request.form("default_exp_type_name_73") + "',"
		sSql = sSql + "preferred_exp_type_name_73 = '" + request.form("preferred_exp_type_name_73") + "',"
		sSql = sSql + "account_code_73 = '" + request.form("account_code_73") + "',"
		sSql = sSql + "billable_account_code_73 = '" + request.form("billable_account_code_73") + "',"
		sSql = sSql + "default_entry_form_name_73 = '" + request.form("default_entry_form_name_73") + "',"
		sSql = sSql + "active_exp_type_74 = '" + request.form("active_exp_type_74") + "',"
		sSql = sSql + "def_parent_exp_type_name_74 = '" + request.form("def_parent_exp_type_name_74") + "',"
		sSql = sSql + "pref_parent_exp_type_name_74 = '" + request.form("pref_parent_exp_type_name_74") + "',"
		sSql = sSql + "default_exp_type_name_74 = '" + request.form("default_exp_type_name_74") + "',"
		sSql = sSql + "preferred_exp_type_name_74 = '" + request.form("preferred_exp_type_name_74") + "',"
		sSql = sSql + "account_code_74 = '" + request.form("account_code_74") + "',"
		sSql = sSql + "billable_account_code_74 = '" + request.form("billable_account_code_74") + "',"
		sSql = sSql + "default_entry_form_name_74 = '" + request.form("default_entry_form_name_74") + "',"
		sSql = sSql + "active_exp_type_75 = '" + request.form("active_exp_type_75") + "',"
		sSql = sSql + "def_parent_exp_type_name_75 = '" + request.form("def_parent_exp_type_name_75") + "',"
		sSql = sSql + "pref_parent_exp_type_name_75 = '" + request.form("pref_parent_exp_type_name_75") + "',"
		sSql = sSql + "default_exp_type_name_75 = '" + request.form("default_exp_type_name_75") + "',"
		sSql = sSql + "preferred_exp_type_name_75 = '" + request.form("preferred_exp_type_name_75") + "',"
		sSql = sSql + "account_code_75 = '" + request.form("account_code_75") + "',"
		sSql = sSql + "billable_account_code_75 = '" + request.form("billable_account_code_75") + "',"
		sSql = sSql + "default_entry_form_name_75 = '" + request.form("default_entry_form_name_75") + "',"
		sSql = sSql + "active_exp_type_76 = '" + request.form("active_exp_type_76") + "',"
		sSql = sSql + "def_parent_exp_type_name_76 = '" + request.form("def_parent_exp_type_name_76") + "',"
		sSql = sSql + "pref_parent_exp_type_name_76 = '" + request.form("pref_parent_exp_type_name_76") + "',"
		sSql = sSql + "default_exp_type_name_76 = '" + request.form("default_exp_type_name_76") + "',"
		sSql = sSql + "preferred_exp_type_name_76 = '" + request.form("preferred_exp_type_name_76") + "',"
		sSql = sSql + "account_code_76 = '" + request.form("account_code_76") + "',"
		sSql = sSql + "billable_account_code_76 = '" + request.form("billable_account_code_76") + "',"
		sSql = sSql + "default_entry_form_name_76 = '" + request.form("default_entry_form_name_76") + "',"
		sSql = sSql + "active_exp_type_77 = '" + request.form("active_exp_type_77") + "',"
		sSql = sSql + "def_parent_exp_type_name_77 = '" + request.form("def_parent_exp_type_name_77") + "',"
		sSql = sSql + "pref_parent_exp_type_name_77 = '" + request.form("pref_parent_exp_type_name_77") + "',"
		sSql = sSql + "default_exp_type_name_77 = '" + request.form("default_exp_type_name_77") + "',"
		sSql = sSql + "preferred_exp_type_name_77 = '" + request.form("preferred_exp_type_name_77") + "',"
		sSql = sSql + "account_code_77 = '" + request.form("account_code_77") + "',"
		sSql = sSql + "billable_account_code_77 = '" + request.form("billable_account_code_77") + "',"
		sSql = sSql + "default_entry_form_name_77 = '" + request.form("default_entry_form_name_77") + "',"
		sSql = sSql + "active_exp_type_78 = '" + request.form("active_exp_type_78") + "',"
		sSql = sSql + "def_parent_exp_type_name_78 = '" + request.form("def_parent_exp_type_name_78") + "',"
		sSql = sSql + "pref_parent_exp_type_name_78 = '" + request.form("pref_parent_exp_type_name_78") + "',"
		sSql = sSql + "default_exp_type_name_78 = '" + request.form("default_exp_type_name_78") + "',"
		sSql = sSql + "preferred_exp_type_name_78 = '" + request.form("preferred_exp_type_name_78") + "',"
		sSql = sSql + "account_code_78 = '" + request.form("account_code_78") + "',"
		sSql = sSql + "billable_account_code_78 = '" + request.form("billable_account_code_78") + "',"
		sSql = sSql + "default_entry_form_name_78 = '" + request.form("default_entry_form_name_78") + "',"
		sSql = sSql + "active_exp_type_79 = '" + request.form("active_exp_type_79") + "',"
		sSql = sSql + "def_parent_exp_type_name_79 = '" + request.form("def_parent_exp_type_name_79") + "',"
		sSql = sSql + "pref_parent_exp_type_name_79 = '" + request.form("pref_parent_exp_type_name_79") + "',"
		sSql = sSql + "default_exp_type_name_79 = '" + request.form("default_exp_type_name_79") + "',"
		sSql = sSql + "preferred_exp_type_name_79 = '" + request.form("preferred_exp_type_name_79") + "',"
		sSql = sSql + "account_code_79 = '" + request.form("account_code_79") + "',"
		sSql = sSql + "billable_account_code_79 = '" + request.form("billable_account_code_79") + "',"
		sSql = sSql + "default_entry_form_name_79 = '" + request.form("default_entry_form_name_79") + "',"
		sSql = sSql + "active_exp_type_80 = '" + request.form("active_exp_type_80") + "',"
		sSql = sSql + "def_parent_exp_type_name_80 = '" + request.form("def_parent_exp_type_name_80") + "',"
		sSql = sSql + "pref_parent_exp_type_name_80 = '" + request.form("pref_parent_exp_type_name_80") + "',"
		sSql = sSql + "default_exp_type_name_80 = '" + request.form("default_exp_type_name_80") + "',"
		sSql = sSql + "preferred_exp_type_name_80 = '" + request.form("preferred_exp_type_name_80") + "',"
		sSql = sSql + "account_code_80 = '" + request.form("account_code_80") + "',"
		sSql = sSql + "billable_account_code_80 = '" + request.form("billable_account_code_80") + "',"
		sSql = sSql + "default_entry_form_name_80 = '" + request.form("default_entry_form_name_80") + "'"
		sSql = sSql + " where company_key = " & session("company")

    End If
 
    rsCompanyKey.Close  'Close the recordset
    Set rsCompanyKey = Nothing  'Remove object from memory
    
        End If
 
    rsCompanyKey2.Close  'Close the recordset
    Set rsCompanyKey2 = Nothing  'Remove object from memory



    End If
 
    rsCompanyKey3.Close  'Close the recordset
    Set rsCompanyKey3 = Nothing  'Remove object from memory
   
'You can use this response.write for troubleshooting. Remember to take it out when the page is set!
'response.write("sSql = " + sSql)

 'now we can run our sql statement
    oConnection.execute sSql

%>


<%
'You can use this response.write for troubleshooting. Remember to take it out when the page is set!
'response.write("test")

	'SETTING VARIABLES BASED ON DATA SUBMITTED FROM THIS PAGE:
	'Set a conditional statement looking at form submissions.
	'Note that this statement is inside the statement that verified the form just submitted. 
	'You can set variables used for text, or for redirects, within these conditions. 

	'You wouldn't normally use values from free text fields in a conditional statement, but you certainly 
	'can use values from pick lists or radio buttons. 

	'IF this is a simple path - there is only one page you need to get to, THEN
	'define Redirect_1 here, (we used "NEXT PAGE 1.asp" in this example.
	'Redirect_1 = "cte_yourinfo.asp"

	'ONLY USE THIS INNER CONDITIONAL STATEMENT IF you have more than one possible path.
	'IF request.form("field1") = "11111" THEN
	'Redirect_1 = "NEXT PAGE 1.asp"
	'
	'ELSEIF request.form("field1") = "22222" THEN
	'Redirect_1 = "NEXT PAGE 2.asp"
	'
	'ELSEIF request.form("field1") = "Acme" THEN
	'Redirect_1 = "NEXT PAGE 3.asp"
'
'	END IF

	Redirect_1 = "cte_expense_types_display_corp_ed_v3_pg1_ver_a.asp"
'	Redirect_1 = Redirect_1 & "?" & Request.QueryString
'	Redirect_1 = Redirect_1 & "&" & request.Form
	Response.Redirect(Redirect_1)

END IF
'gen_overview_viewed
'SETTING TEXT VARIABLES BASED ON PREVIOUS ANSWERS:
'All previous answers are available in the query string. 
'In this example, "change_type" was the "name" value of the imput from a previous form. "Delete", "change", and "add" were the 
'values of that input. These variables can be used in dynamic text on this page.

'IF request.QueryString("change_type") = "delete" THEN
'	change_type = "delete"
'	var_newdelete = "Deleted"
'	var_title = "Delete"
'ELSEIF request.QueryString("change_type") = "change" THEN
'	change_type = "change"
'	var_newdelete = "New - and as much text as we want"
'	var_title = "Replace"
'ELSEIF request.QueryString("change_type") = "add" THEN
'	change_type = "add"
'	var_newdelete = "New"
'	var_title = "Add or Update"
'END IF


'sdate_time_your_info = FormatDatetime(date,VBShortDate) & " " & FormatDatetime(time,vbShorttime)
sdate_time_your_info = Now()
scompany_name = session("company_name")

%>
<html>
<head>
<title>Concur Implementation Architect</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="styles/expenselink.css" rel="stylesheet" type="text/css">

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_popupMsg(msg) { //v1.0 alert(msg);
}
//-->
</script>
<style type="text/css">
a:link {
	color: #000000;
	text-decoration: none;
}
a:visited {
	text-decoration: underline;
	color: #0033CC;
}
a:hover {
	text-decoration: underline;
	color: #0033CC;
}
a:active {
	text-decoration: underline;
	color: #0033CC;
}
a:link {
	color: #0033CC;
	text-decoration: underline;
        text-align: center;
    }
.style15 {font-size: 12px;
        background-color: #CEFFFF;
    }
</style>
<style>

.hide { position:absolute; visibility:hidden; }
.show { position:absolute; visibility:visible; }

</style>

<style type="text/css">

.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 60px; /*position where enlarged image should offset horizontally */

}

.style17 {
	color: #003399;
	font-weight: bold;
}
    .style24
    {
        background-color: beige;
        width: 15px;
    }
    .style25
    {
        width: 15px;
    }
    .style29 {color: #FF0000; font-weight: bold; }
    .style31
    {
        width: 37px;
    }
    .style32
    {
        width: 337px;
    }
    .style34
    {
        width: 154px;
    }
    .style35
    {
        width: 217px;
    }
    .style37
    {
        font-size: 12px;
        height: 53px;
    }
    .style38
    {
        height: 53px;
    }
    .style39
    {
        background-color: beige;
        width: 15px;
        height: 13px;
    }
    .style40
    {
        width: 37px;
        height: 13px;
    }
    .style41
    {
        height: 13px;
    }
    .style42
    {
        width: 337px;
        height: 13px;
    }
    .style43
    {
        font-size: 12px;
        width: 337px;
        background-color: #CEFFFF;
    }
    .style44
    {
        height: 53px;
        width: 337px;
    }
    .style45
    {
        font-size: 12px;
        width: 166px;
        background-color: #CEFFFF;
    }
    .style46
    {
        height: 53px;
        width: 166px;
    }
    .style47
    {
        width: 166px;
    }
    .style48
    {
        height: 13px;
        width: 166px;
    }
    #id_of_table2
    {
        width: 950px;
    }
    .style49
    {
        font-size: 12px;
        width: 164px;
        background-color: #CEFFFF;
    }
    .style50
    {
        height: 53px;
        width: 164px;
    }
    .style51
    {
        width: 164px;
    }
    .style52
    {
        height: 13px;
        width: 164px;
    }
    .style53
    {
        font-size: 12px;
        width: 37px;
        background-color: #CEFFFF;
    }
    .style54
    {
        height: 53px;
        width: 37px;
    }
    .style55
    {
        font-size: 12px;
        width: 15px;
    }
    .style56
    {
        height: 53px;
        width: 15px;
    }
    .style57
    {
        width: 419px;
    }
    .style10 {color: #00654A}
    .style58
    {
        font-weight: bold;
    }
</style>




<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_popupMsg(msg) { //v1.0
  alert(msg);
}
//-->
</script> 

<script type='text/javascript'>
 
  function focus( obj ) {
    obj.focus();
  }
 
  function focusBeforeSubmit( obj ) {
    setTimeout( function() { focus( obj ); }, 2500 );
    obj.form.submit();
  };
</script>

<script language="javascript" type="text/javascript">
    needToConfirm = false;
    window.onbeforeunload = askConfirm;

    function askConfirm() {
        if (needToConfirm) {
            return "You have unsaved changes.";
        }
    }
</script>


</head>
 <!-- #include file="include/cte_expense_types_p1_act_inact.asp" -->
 <!-- #include file="include/cte_timeout.asp" -->

<body>

 <table border="0" width="950"> 
   <tr> 
    <td colspan="2"><hr class="style10"></td> 
    <tr> 
    <td>&nbsp;</td> 
    <td class="pageheader1 style10 style14 style36">Concur Implementation Architect 
        Expense Types Worksheet for  <%=scompany_name%> </td> 
  <tr>
    <td>&nbsp;</td>
    <td>The Expense types are the backbone of the service. The link below will open a 
        separate window with the instructions to walk you through completing this form 
        successfully. Please keep in mind, your list of expense types can be modified 
        any time during the implementation process. So in order to get you setup 
        quickly, it is unnecessary to provide us a &quot;final&quot; draft or wait for approvals 
        before submitting this form.</td>
         <tr>
    <td colspan="2"><hr class="style10"></td>
        </p>
        </tr>
        </table>
<table border="0" width="950" cellpadding="1" id='Table1' >
 <form onsubmit="needToConfirm=false;" action="cte_expense_types_display_corp_ed_v3_pg1_ver_a.asp" method="post" name="cte_expense_types_display_corp_ed_v3_pg1_ver_a.asp">
 <input onchange="needToConfirm=true"type="hidden" name="form_submit" value="cte_expense_types_display_corp_ed_v3_pg1_ver_a.asp"> 
    <tr>
      <td width="16">&nbsp;
      </td>
      <td colspan="3"> 
                    <a href="#" 
            
              onClick='window.open("content/expense_types_instructions_corp_ed.asp","blank","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=900,height=650,right=0,bottom=0");' 
              class="style58">
                    Instructions for Completing the Expense Types</a> </td>
      <td align="right" class="style57"><span class="style17">Save your work periodically!&nbsp;&nbsp;&nbsp; (*Next does not save)</span></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td width="1">&nbsp;</td>
      <td align="center" class="style34">&nbsp;</td>
      <td class="style35"></td>
      <td align="right" class="style57"><input onchange="needToConfirm=true"type="submit" 
                    name="Submit0" value="Save Current Page"><input type="button" value="*Next" onClick="self.location.href='cte_expense_types_display_corp_ed_v3_pg2.asp';"></td>
    </tr>
  </table>
        <table border="0" cellpadding="1" id='id_of_table2' " >

			  <tr bgcolor="#CEFFFF">
            <td  bgcolor="#FFFFFF" class="style55">&nbsp;</td>
            <td align="center" class="style53">1</td>
            <td  align="center" class="style49">2</td>
         <td  align="center" class="style43">3</td>
            <td width="150"  align="center" class="style15">4</td>
            <td width="60"  align="center" class="style15">5</td>
            <td width="60"  align="center" class="style15">6</td>
            <td  align="center" class="style45">7</td>
          </tr>

          <tr bgcolor="#CEFFFF">
            <td  bgcolor="#FFFFFF" class="style56">&nbsp;</td>
            <td class="style54"><div align="center" class="style15">Active </div></td>
            <td class="style50" ><div align="center" class="style15">Default Parent Expense Type 
                Name</div></td>
         <td class="style44"><div align="center" class="style15">Default Expense Type Name 
             (add new expense types at the bottom of this list)</div></td>
            <td class="style38" ><div align="center" class="style15">Preferred Expense Type Name 
                (rename with similar label only)</div></td>
            <td class="style37" ><div align="center">Account Code</div></td>
            <td class="style38"><div align="center" class="style15">Alternate Account Number (if 
                applicable)</div></td><td class="style46"><div align="center" class="style15">
                  Entry Forms <br>
              <a href="#" class="style15" onClick='window.open("images/exp_form_opt_all.jpg","blank","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=900,height=650,right=0,bottom=0");'><u>
                  (Examples)</u></a>
            </div></td>
          </tr>
         
                  
            <tr style="display:none" class="altrow">
              <td class="style24">1</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_1"  name="active_exp_type_1" onclick="return active_exp_type_1_onclick()">
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_1").length; i++) {
                          if (document.getElementById("active_exp_type_1").options[i].value == "<%=sactive_exp_type_1%>") {
                              document.getElementById("active_exp_type_1").options[i].selected = true
                              i = document.getElementById("active_exp_type_1").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><span class="elinterface"> </span> </td>
              <td class="style32">Business Promotions </td>
              <td class="style27">&nbsp;              </td>
              <td colspan="2" align="center">Parent Category </td>
              <td class="style47">&nbsp;</td>
            </tr>
            <tr style="display:none" class="altrow">
              <td class="style24">2</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_2"  
                      name="active_exp_type_2" onclick="return active_exp_type_2_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_2").length; i++) {
                          if (document.getElementById("active_exp_type_2").options[i].value == "<%=sactive_exp_type_2%>") {
                              document.getElementById("active_exp_type_2").options[i].selected = true
                              i = document.getElementById("active_exp_type_2").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><span class="elinterface"> </span> </td>
              <td class="style32">Cash Advance </td>
              <td class="style27">&nbsp;              </td>
              <td colspan="2" align="center">Parent Category </td>
              <td class="style47"></td>
            </tr>
            <tr style="display:none">
              <td class="style24">3</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_3"  
                      name="active_exp_type_3" onclick="return active_exp_type_3_onclick()">
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_3").length; i++) {
                          if (document.getElementById("active_exp_type_3").options[i].value == "<%=sactive_exp_type_3%>") {
                              document.getElementById("active_exp_type_3").options[i].selected = true
                              i = document.getElementById("active_exp_type_3").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">&nbsp;</td>
              <td class="style32">Communications</td>
              <td class="style27"><span class="elinterface">              </span></td>
              <td colspan="2" align="center">Parent Category </td>
              <td class="style47">&nbsp;</td>
            </tr>
            <tr style="display:none" class="altrow">
              <td class="style24">4</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_4"  
                      name="active_exp_type_4" onclick="return active_exp_type_4_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_4").length; i++) {
                          if (document.getElementById("active_exp_type_4").options[i].value == "<%=sactive_exp_type_4%>") {
                              document.getElementById("active_exp_type_4").options[i].selected = true
                              i = document.getElementById("active_exp_type_4").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">&nbsp;</td>
              <td class="style32">Company Car Expense</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_4" type="text" id="preferred_exp_type_name_4" size="25" value="<%=spreferred_exp_type_name_4%>">
              </span></td>
              <td colspan="2" align="center">Parent Category </td>
              <td class="style47">&nbsp;</td>
            </tr>
            <tr style="display:none" class="altrow">
              <td class="style24">5</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_5"  
                      name="active_exp_type_5" onclick="return active_exp_type_5_onclick()">
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_5").length; i++) {
                          if (document.getElementById("active_exp_type_5").options[i].value == "<%=sactive_exp_type_5%>") {
                              document.getElementById("active_exp_type_5").options[i].selected = true
                              i = document.getElementById("active_exp_type_5").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">&nbsp;</td>
              <td class="style32">Entertainment</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_5" type="text" id="preferred_exp_type_name_5" size="25" value="<%=spreferred_exp_type_name_5%>">
              </span></td>
              <td colspan="2" align="center">Parent Category </td>
              <td class="style47">&nbsp;</td>
            </tr>
            <tr style="display:none">
              <td class="style24">6</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_6"  
                      name="active_exp_type_6" onclick="return active_exp_type_6_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_6").length; i++) {
                          if (document.getElementById("active_exp_type_6").options[i].value == "<%=sactive_exp_type_6%>") {
                              document.getElementById("active_exp_type_6").options[i].selected = true
                              i = document.getElementById("active_exp_type_6").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51" >&nbsp;</td>
              <td class="style32">Individual Meals</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_6" type="text" id="preferred_exp_type_name_6" size="25" value="<%=spreferred_exp_type_name_6%>">
              </span></td>
              <td colspan="2" align="center">Parent Category </td>
              <td class="style47">&nbsp;</td>
            </tr>
            <tr style="display:none" class="altrow">
              <td class="style24">7</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_7"  
                      name="active_exp_type_7" onclick="return active_exp_type_7_onclick()">
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_7").length; i++) {
                          if (document.getElementById("active_exp_type_7").options[i].value == "<%=sactive_exp_type_7%>") {
                              document.getElementById("active_exp_type_7").options[i].selected = true
                              i = document.getElementById("active_exp_type_7").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">&nbsp;</td>
              <td class="style32">Lodging</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_7" type="text" id="preferred_exp_type_name_7" size="25" value="<%=spreferred_exp_type_name_7%>">
              </span></td>
              <td colspan="2" align="center">Parent Category </td>
              <td class="style47">&nbsp;</td>
            </tr>
            <tr  style="display:none" class="altrow">
              <td class="style24">8</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_8"  
                      name="active_exp_type_8" onclick="return active_exp_type_8_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_8").length; i++) {
                          if (document.getElementById("active_exp_type_8").options[i].value == "<%=sactive_exp_type_8%>") {
                              document.getElementById("active_exp_type_8").options[i].selected = true
                              i = document.getElementById("active_exp_type_8").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"></td>
              <td class="style32">Other</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_8" type="text" id="preferred_exp_type_name_8" size="25" value="<%=spreferred_exp_type_name_8%>">
              </span></td>
              <td colspan="2" align="center">Parent Category </td>
              <td class="style47"></td>
            </tr>
            <tr style="display:none">
              <td class="style39">9</td>
              <td class="style40"><select onchange="needToConfirm=true" id="active_exp_type_9"  
                      name="active_exp_type_9" onclick="return active_exp_type_9_onclick()">
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_9").length; i++) {
                          if (document.getElementById("active_exp_type_9").options[i].value == "<%=sactive_exp_type_9%>") {
                              document.getElementById("active_exp_type_9").options[i].selected = true
                              i = document.getElementById("active_exp_type_9").length
                          }
                      }
				</script>
                </select></td>
              <td class="style52"></td>
              <td class="style42">Transportation</td>
              <td class="style41"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_9" type="text" id="preferred_exp_type_name_9" size="25" value="<%=spreferred_exp_type_name_9%>">
              </span></td>
              <td colspan="2" align="center" class="style41">Parent Category </td>
              <td align="center" class="style48"><span class="elinterface">&nbsp;Recommended Defaults 
                  Shown</span></td>
            </tr>
            <tr style="display:none"  class="altrow">
              <td class="style24">10</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_10"  
                      name="active_exp_type_10" onclick="return active_exp_type_10_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_10").length; i++) {
                          if (document.getElementById("active_exp_type_10").options[i].value == "<%=sactive_exp_type_10%>") {
                              document.getElementById("active_exp_type_10").options[i].selected = true
                              i = document.getElementById("active_exp_type_10").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Cash Advance</td>
              <td class="style32">Cash Advance Return</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_10" type="text" id="preferred_exp_type_name_10" size="25" value="<%=spreferred_exp_type_name_10%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_10" type="text" size="10" value="<%=saccount_code_10%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_10" type="text" size="10"value="<%=sbillable_account_code_10%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_10"  name="default_entry_form_name_10" onclick="return default_entry_form_name_10_onclick()">
                   <option value = ""></option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_10").length; i++)
					{
					if (document.getElementById("default_entry_form_name_10").options[i].value == "<%=sdefault_entry_form_name_10%>")
				    {
			        document.getElementById("default_entry_form_name_10").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_10").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr style="display:none"  >
              <td class="style24">11</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_11"  
                      name="active_exp_type_11" onclick="return active_exp_type_11_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_11").length; i++) {
                          if (document.getElementById("active_exp_type_11").options[i].value == "<%=sactive_exp_type_11%>") {
                              document.getElementById("active_exp_type_11").options[i].selected = true
                              i = document.getElementById("active_exp_type_11").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Cash Advance</td>
              <td class="style32">Currency Gain/Loss</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_11" type="text" id="preferred_exp_type_name_11" size="25" value="<%=spreferred_exp_type_name_11%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_11" type="text" size="10" value="<%=saccount_code_11%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_11" type="text" size="10"value="<%=sbillable_account_code_11%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select id="default_entry_form_name_11"  name="default_entry_form_name_11">
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_11").length; i++)
					{
					if (document.getElementById("default_entry_form_name_11").options[i].value == "<%=sdefault_entry_form_name_11%>")
				    {
			        document.getElementById("default_entry_form_name_11").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_11").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr  style="display:none" class="altrow">
              <td class="style24">12</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_12"  
                      name="active_exp_type_12" onclick="return active_exp_type_12_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_12").length; i++) {
                          if (document.getElementById("active_exp_type_12").options[i].value == "<%=sactive_exp_type_12%>") {
                              document.getElementById("active_exp_type_12").options[i].selected = true
                              i = document.getElementById("active_exp_type_12").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Individual Meals</td>
              <td class="style32">Fixed Meals</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_12" type="text" id="preferred_exp_type_name_12" size="25" value="<%=spreferred_exp_type_name_12%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_12" type="text" size="10" value="<%=saccount_code_12%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_12" type="text" size="10"value="<%=sbillable_account_code_12%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_12"  name="default_entry_form_name_12">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_12").length; i++)
					{
					if (document.getElementById("default_entry_form_name_12").options[i].value == "<%=sdefault_entry_form_name_12%>")
				    {
			        document.getElementById("default_entry_form_name_12").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_12").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr style="display:none"  >
              <td class="style24">13</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_13"  
                      name="active_exp_type_13" onclick="return active_exp_type_13_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_13").length; i++) {
                          if (document.getElementById("active_exp_type_13").options[i].value == "<%=sactive_exp_type_13%>") {
                              document.getElementById("active_exp_type_13").options[i].selected = true
                              i = document.getElementById("active_exp_type_13").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Lodging</td>
              <td class="style32">Fixed Lodging</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_13" type="text" id="preferred_exp_type_name_13" size="25" value="<%=spreferred_exp_type_name_13%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_13" type="text" size="10" value="<%=saccount_code_13%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_13" type="text" size="10"value="<%=sbillable_account_code_13%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_13"  name="default_entry_form_name_13">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_13").length; i++)
					{
					if (document.getElementById("default_entry_form_name_13").options[i].value == "<%=sdefault_entry_form_name_13%>")
				    {
			        document.getElementById("default_entry_form_name_13").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_13").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">1</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_14"  
                      name="active_exp_type_14" onclick="return active_exp_type_14_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_14").length; i++) {
                          if (document.getElementById("active_exp_type_14").options[i].value == "<%=sactive_exp_type_14%>") {
                              document.getElementById("active_exp_type_14").options[i].selected = true
                              i = document.getElementById("active_exp_type_14").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Business Promotions</td>
              <td class="style32">Misc. Promotional Expense</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_14" type="text" id="preferred_exp_type_name_14" size="25" value="<%=spreferred_exp_type_name_14%>">
              </span></td>
              <td><span class="elinterface">
                <input onchange="needToConfirm=true"name="account_code_14" type="text" size="10" value="<%=saccount_code_14%>">
              </span></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_14" type="text" size="10"value="<%=sbillable_account_code_14%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_14"  name="default_entry_form_name_14">
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_14").length; i++)
					{
					if (document.getElementById("default_entry_form_name_14").options[i].value == "<%=sdefault_entry_form_name_14%>")
				    {
			        document.getElementById("default_entry_form_name_14").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_14").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">2</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_15"  
                      name="active_exp_type_15" onclick="return active_exp_type_15_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_15").length; i++) {
                          if (document.getElementById("active_exp_type_15").options[i].value == "<%=sactive_exp_type_15%>") {
                              document.getElementById("active_exp_type_15").options[i].selected = true
                              i = document.getElementById("active_exp_type_15").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Business Promotions</td>
              <td class="style32">Trade Shows</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_15" type="text" id="preferred_exp_type_name_15" size="25" value="<%=spreferred_exp_type_name_15%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_15" type="text" size="10" value="<%=saccount_code_15%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_15" type="text" size="10"value="<%=sbillable_account_code_15%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_15"  name="default_entry_form_name_15">
<option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_15").length; i++)
					{
					if (document.getElementById("default_entry_form_name_15").options[i].value == "<%=sdefault_entry_form_name_15%>")
				    {
			        document.getElementById("default_entry_form_name_15").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_15").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">3</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_16"  
                      name="active_exp_type_16" onclick="return active_exp_type_16_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_16").length; i++) {
                          if (document.getElementById("active_exp_type_16").options[i].value == "<%=sactive_exp_type_16%>") {
                              document.getElementById("active_exp_type_16").options[i].selected = true
                              i = document.getElementById("active_exp_type_16").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Communications</td>
              <td class="style32">Cellular Phone</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_16" type="text" id="preferred_exp_type_name_16" size="25" value="<%=spreferred_exp_type_name_16%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_16" type="text" size="10" value="<%=saccount_code_16%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_16" type="text" size="10"value="<%=sbillable_account_code_16%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_16"  name="default_entry_form_name_16">
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_16").length; i++)
					{
					if (document.getElementById("default_entry_form_name_16").options[i].value == "<%=sdefault_entry_form_name_16%>")
				    {
			        document.getElementById("default_entry_form_name_16").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_16").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">4</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_17"  
                      name="active_exp_type_17" onclick="return active_exp_type_17_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_17").length; i++) {
                          if (document.getElementById("active_exp_type_17").options[i].value == "<%=sactive_exp_type_17%>") {
                              document.getElementById("active_exp_type_17").options[i].selected = true
                              i = document.getElementById("active_exp_type_17").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Communications</td>
              <td class="style32">Local Phone</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_17" type="text" id="preferred_exp_type_name_17" size="25" value="<%=spreferred_exp_type_name_17%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_17" type="text" size="10" value="<%=saccount_code_17%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_17" type="text" size="10"value="<%=sbillable_account_code_17%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_17"  name="default_entry_form_name_17">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_17").length; i++)
					{
					if (document.getElementById("default_entry_form_name_17").options[i].value == "<%=sdefault_entry_form_name_17%>")
				    {
			        document.getElementById("default_entry_form_name_17").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_17").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">5</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_18"  
                      name="active_exp_type_18" onclick="return active_exp_type_18_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_18").length; i++) {
                          if (document.getElementById("active_exp_type_18").options[i].value == "<%=sactive_exp_type_18%>") {
                              document.getElementById("active_exp_type_18").options[i].selected = true
                              i = document.getElementById("active_exp_type_18").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Communications</td>
              <td class="style32">Long Distance</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_18" type="text" id="preferred_exp_type_name_18" size="25" value="<%=spreferred_exp_type_name_18%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_18" type="text" size="10" value="<%=saccount_code_18%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_18" type="text" size="10"value="<%=sbillable_account_code_18%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_18"  name="default_entry_form_name_18">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_18").length; i++)
					{
					if (document.getElementById("default_entry_form_name_18").options[i].value == "<%=sdefault_entry_form_name_18%>")
				    {
			        document.getElementById("default_entry_form_name_18").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_18").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr >
              <td class="style24">6</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_19"  
                      name="active_exp_type_19" onclick="return active_exp_type_19_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_19").length; i++) {
                          if (document.getElementById("active_exp_type_19").options[i].value == "<%=sactive_exp_type_19%>") {
                              document.getElementById("active_exp_type_19").options[i].selected = true
                              i = document.getElementById("active_exp_type_19").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Communications</td>
              <td class="style32">Online Fees</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_19" type="text" id="preferred_exp_type_name_19" size="25" value="<%=spreferred_exp_type_name_19%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_19" type="text" size="10" value="<%=saccount_code_19%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_19" type="text" size="10"value="<%=sbillable_account_code_19%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_19"  name="default_entry_form_name_19">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_19").length; i++)
					{
					if (document.getElementById("default_entry_form_name_19").options[i].value == "<%=sdefault_entry_form_name_19%>")
				    {
			        document.getElementById("default_entry_form_name_19").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_19").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">7</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_20"  
                      name="active_exp_type_20" onclick="return active_exp_type_20_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_20").length; i++) {
                          if (document.getElementById("active_exp_type_20").options[i].value == "<%=sactive_exp_type_20%>") {
                              document.getElementById("active_exp_type_20").options[i].selected = true
                              i = document.getElementById("active_exp_type_20").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Communications</td>
              <td class="style32">Pager</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_20" type="text" id="preferred_exp_type_name_20" size="25" value="<%=spreferred_exp_type_name_20%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_20" type="text" size="10" value="<%=saccount_code_20%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_20" type="text" size="10"value="<%=sbillable_account_code_20%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_20"  name="default_entry_form_name_20">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_20").length; i++)
					{
					if (document.getElementById("default_entry_form_name_20").options[i].value == "<%=sdefault_entry_form_name_20%>")
				    {
			        document.getElementById("default_entry_form_name_20").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_20").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">8</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_21"  
                      name="active_exp_type_21" onclick="return active_exp_type_21_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_21").length; i++) {
                          if (document.getElementById("active_exp_type_21").options[i].value == "<%=sactive_exp_type_21%>") {
                              document.getElementById("active_exp_type_21").options[i].selected = true
                              i = document.getElementById("active_exp_type_21").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Company Car Expense</td>
              <td class="style32">Company Car Maintenance</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_21" type="text" id="preferred_exp_type_name_21" size="25" value="<%=spreferred_exp_type_name_21%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_21" type="text" size="10" value="<%=saccount_code_21%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_21" type="text" size="10"value="<%=sbillable_account_code_21%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_21"  name="default_entry_form_name_21">
<option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_21").length; i++)
					{
					if (document.getElementById("default_entry_form_name_21").options[i].value == "<%=sdefault_entry_form_name_21%>")
				    {
			        document.getElementById("default_entry_form_name_21").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_21").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">9</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_22"  
                      name="active_exp_type_22" onclick="return active_exp_type_22_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_22").length; i++) {
                          if (document.getElementById("active_exp_type_22").options[i].value == "<%=sactive_exp_type_22%>") {
                              document.getElementById("active_exp_type_22").options[i].selected = true
                              i = document.getElementById("active_exp_type_22").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Company Car Expense</td>
              <td class="style32">Company Car Mileage</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_22" type="text" id="preferred_exp_type_name_22" size="25" value="<%=spreferred_exp_type_name_22%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_22" type="text" size="10" value="<%=saccount_code_22%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_22" type="text" size="10"value="<%=sbillable_account_code_23%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_22"  name="default_entry_form_name_22">
<option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_22").length; i++)
					{
					if (document.getElementById("default_entry_form_name_22").options[i].value == "<%=sdefault_entry_form_name_22%>")
				    {
			        document.getElementById("default_entry_form_name_22").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_22").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">10</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_23"  
                      name="active_exp_type_23" onclick="return active_exp_type_23_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_23").length; i++) {
                          if (document.getElementById("active_exp_type_23").options[i].value == "<%=sactive_exp_type_23%>") {
                              document.getElementById("active_exp_type_23").options[i].selected = true
                              i = document.getElementById("active_exp_type_23").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Company Car Expense</td>
              <td class="style32">Company Car Oil</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_23" type="text" id="preferred_exp_type_name_23" size="25" value="<%=spreferred_exp_type_name_23%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_23" type="text" size="10" value="<%=saccount_code_23%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_23" type="text" size="10"value="<%=sbillable_account_code_23%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_23"  name="default_entry_form_name_23">
		        <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_23").length; i++)
					{
					if (document.getElementById("default_entry_form_name_23").options[i].value == "<%=sdefault_entry_form_name_23%>")
				    {
			        document.getElementById("default_entry_form_name_23").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_23").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">11</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_24"  
                      name="active_exp_type_24" onclick="return active_exp_type_24_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_24").length; i++) {
                          if (document.getElementById("active_exp_type_24").options[i].value == "<%=sactive_exp_type_24%>") {
                              document.getElementById("active_exp_type_24").options[i].selected = true
                              i = document.getElementById("active_exp_type_24").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Company Car Expense</td>
              <td class="style32">Company Car Wash</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_24" type="text" id="preferred_exp_type_name_24" size="25" value="<%=spreferred_exp_type_name_24%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_24" type="text" size="10" value="<%=saccount_code_24%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_24" type="text" size="10"value="<%=sbillable_account_code_24%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_24"  name="default_entry_form_name_24">
<option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_24").length; i++)
					{
					if (document.getElementById("default_entry_form_name_24").options[i].value == "<%=sdefault_entry_form_name_24%>")
				    {
			        document.getElementById("default_entry_form_name_24").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_24").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">12</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_25"  
                      name="active_exp_type_25" onclick="return active_exp_type_25_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_25").length; i++) {
                          if (document.getElementById("active_exp_type_25").options[i].value == "<%=sactive_exp_type_25%>") {
                              document.getElementById("active_exp_type_25").options[i].selected = true
                              i = document.getElementById("active_exp_type_25").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Entertainment</td>
              <td class="style32">Business Meal (attendees)</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_25" type="text" id="preferred_exp_type_name_25" size="25" value="<%=spreferred_exp_type_name_25%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_25" type="text" size="10" value="<%=saccount_code_25%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_25" type="text" size="10"value="<%=sbillable_account_code_25%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_25"  name="default_entry_form_name_25">
		  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_25").length; i++)
					{
					if (document.getElementById("default_entry_form_name_25").options[i].value == "<%=sdefault_entry_form_name_25%>")
				    {
			        document.getElementById("default_entry_form_name_25").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_25").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">13</td>
              <td height="26" class="style31">
                  <select onchange="needToConfirm=true" id="active_exp_type_26"  
                      name="active_exp_type_26" onclick="return active_exp_type_26_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_26").length; i++) {
                          if (document.getElementById("active_exp_type_26").options[i].value == "<%=sactive_exp_type_26%>") {
                              document.getElementById("active_exp_type_26").options[i].selected = true
                              i = document.getElementById("active_exp_type_26").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Entertainment</td>
              <td class="style32">Entertainment-Other</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_26" type="text" id="preferred_exp_type_name_26" size="25" value="<%=spreferred_exp_type_name_26%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_26" type="text" size="10" value="<%=saccount_code_26%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_26" type="text" size="10"value="<%=sbillable_account_code_26%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_26"  name="default_entry_form_name_26">
<option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_26").length; i++)
					{
					if (document.getElementById("default_entry_form_name_26").options[i].value == "<%=sdefault_entry_form_name_26%>")
				    {
			        document.getElementById("default_entry_form_name_26").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_26").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">14</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_27"  
                      name="active_exp_type_27" onclick="return active_exp_type_27_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_27").length; i++) {
                          if (document.getElementById("active_exp_type_27").options[i].value == "<%=sactive_exp_type_27%>") {
                              document.getElementById("active_exp_type_27").options[i].selected = true
                              i = document.getElementById("active_exp_type_27").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Individual Meals</td>
              <td class="style32">Breakfast</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_27" type="text" id="preferred_exp_type_name_27" size="25" value="<%=spreferred_exp_type_name_27%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_27" type="text" size="10" value="<%=saccount_code_27%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_27" type="text" size="10"value="<%=sbillable_account_code_27%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_27"  name="default_entry_form_name_27">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_27").length; i++)
					{
					if (document.getElementById("default_entry_form_name_27").options[i].value == "<%=sdefault_entry_form_name_27%>")
				    {
			        document.getElementById("default_entry_form_name_27").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_27").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">15</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_28"  
                      name="active_exp_type_28" onclick="return active_exp_type_28_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_28").length; i++) {
                          if (document.getElementById("active_exp_type_28").options[i].value == "<%=sactive_exp_type_28%>") {
                              document.getElementById("active_exp_type_28").options[i].selected = true
                              i = document.getElementById("active_exp_type_28").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Individual Meals</td>
              <td class="style32">Dinner</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_28" type="text" id="preferred_exp_type_name_28" size="25" value="<%=spreferred_exp_type_name_28%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_28" type="text" size="10" value="<%=saccount_code_28%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_28" type="text" size="10"value="<%=sbillable_account_code_28%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_28"  name="default_entry_form_name_28">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_28").length; i++)
					{
					if (document.getElementById("default_entry_form_name_28").options[i].value == "<%=sdefault_entry_form_name_28%>")
				    {
			        document.getElementById("default_entry_form_name_28").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_28").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">16</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_29"  
                      name="active_exp_type_29" onclick="return active_exp_type_29_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_29").length; i++) {
                          if (document.getElementById("active_exp_type_29").options[i].value == "<%=sactive_exp_type_29%>") {
                              document.getElementById("active_exp_type_29").options[i].selected = true
                              i = document.getElementById("active_exp_type_29").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Individual Meals</td>
              <td class="style32">Lunch</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_29" type="text" id="preferred_exp_type_name_29" size="25" value="<%=spreferred_exp_type_name_29%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_29" type="text" size="10" value="<%=saccount_code_29%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_29" type="text" size="10"value="<%=sbillable_account_code_29%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_29"  name="default_entry_form_name_29">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_29").length; i++)
					{
					if (document.getElementById("default_entry_form_name_29").options[i].value == "<%=sdefault_entry_form_name_29%>")
				    {
			        document.getElementById("default_entry_form_name_29").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_29").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">17</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_30"  
                      name="active_exp_type_30" onclick="return active_exp_type_30_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_30").length; i++) {
                          if (document.getElementById("active_exp_type_30").options[i].value == "<%=sactive_exp_type_30%>") {
                              document.getElementById("active_exp_type_30").options[i].selected = true
                              i = document.getElementById("active_exp_type_30").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Individual Meals</td>
              <td class="style32">Meals (Breakfast/Lunch/Dinner)</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_30" type="text" id="preferred_exp_type_name_30" size="25" value="<%=spreferred_exp_type_name_30%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_30" type="text" size="10" value="<%=saccount_code_30%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_30" type="text" size="10"value="<%=sbillable_account_code_30%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_30"  name="default_entry_form_name_30">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_30").length; i++)
					{
					if (document.getElementById("default_entry_form_name_30").options[i].value == "<%=sdefault_entry_form_name_30%>")
				    {
			        document.getElementById("default_entry_form_name_30").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_30").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">18</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_31"  
                      name="active_exp_type_31" onclick="return active_exp_type_31_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_31").length; i++) {
                          if (document.getElementById("active_exp_type_31").options[i].value == "<%=sactive_exp_type_31%>") {
                              document.getElementById("active_exp_type_31").options[i].selected = true
                              i = document.getElementById("active_exp_type_31").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Lodging</td>
              <td class="style32">Hotel</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_31" type="text" id="preferred_exp_type_name_31" size="25" value="<%=spreferred_exp_type_name_31%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_31" type="text" size="10" value="<%=saccount_code_31%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_31" type="text" size="10"value="<%=sbillable_account_code_31%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_31"  name="default_entry_form_name_31">
<option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_31").length; i++)
					{
					if (document.getElementById("default_entry_form_name_31").options[i].value == "<%=sdefault_entry_form_name_31%>")
				    {
			        document.getElementById("default_entry_form_name_31").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_31").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">19</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_32"  
                      name="active_exp_type_32" onclick="return active_exp_type_32_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_32").length; i++) {
                          if (document.getElementById("active_exp_type_32").options[i].value == "<%=sactive_exp_type_32%>") {
                              document.getElementById("active_exp_type_32").options[i].selected = true
                              i = document.getElementById("active_exp_type_32").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Lodging</td>
              <td class="style32">Hotel Tax</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_32" type="text" id="preferred_exp_type_name_32" size="25" value="<%=spreferred_exp_type_name_32%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_32" type="text" size="10" value="<%=saccount_code_32%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_32" type="text" size="10"value="<%=sbillable_account_code_32%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_32"  name="default_entry_form_name_32">
<option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_32").length; i++)
					{
					if (document.getElementById("default_entry_form_name_32").options[i].value == "<%=sdefault_entry_form_name_32%>")
				    {
			        document.getElementById("default_entry_form_name_32").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_32").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">20</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_33"  
                      name="active_exp_type_33" onclick="return active_exp_type_33_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_33").length; i++) {
                          if (document.getElementById("active_exp_type_33").options[i].value == "<%=sactive_exp_type_33%>") {
                              document.getElementById("active_exp_type_33").options[i].selected = true
                              i = document.getElementById("active_exp_type_33").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Awards</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_33" type="text" id="preferred_exp_type_name_33" size="25" value="<%=spreferred_exp_type_name_33%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_33" type="text" size="10" value="<%=saccount_code_33%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_33" type="text" size="10"value="<%=sbillable_account_code_33%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_33"  name="default_entry_form_name_33">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_33").length; i++)
					{
					if (document.getElementById("default_entry_form_name_33").options[i].value == "<%=sdefault_entry_form_name_33%>")
				    {
			        document.getElementById("default_entry_form_name_33").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_33").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">21</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_34"  
                      name="active_exp_type_34" onclick="return active_exp_type_34_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_34").length; i++) {
                          if (document.getElementById("active_exp_type_34").options[i].value == "<%=sactive_exp_type_34%>") {
                              document.getElementById("active_exp_type_34").options[i].selected = true
                              i = document.getElementById("active_exp_type_34").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Bank Fees</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_34" type="text" id="preferred_exp_type_name_34" size="25" value="<%=spreferred_exp_type_name_34%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_34" type="text" size="10" value="<%=saccount_code_34%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_34" type="text" size="10"value="<%=sbillable_account_code_34%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_34"  name="default_entry_form_name_34">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_34").length; i++)
					{
					if (document.getElementById("default_entry_form_name_34").options[i].value == "<%=sdefault_entry_form_name_34%>")
				    {
			        document.getElementById("default_entry_form_name_34").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_34").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">22</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_35"  
                      name="active_exp_type_35" onclick="return active_exp_type_35_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_35").length; i++) {
                          if (document.getElementById("active_exp_type_35").options[i].value == "<%=sactive_exp_type_35%>") {
                              document.getElementById("active_exp_type_35").options[i].selected = true
                              i = document.getElementById("active_exp_type_35").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Booking Fees</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_35" type="text" id="preferred_exp_type_name_35" size="25" value="<%=spreferred_exp_type_name_35%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_35" type="text" size="10" value="<%=saccount_code_35%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_35" type="text" size="10"value="<%=sbillable_account_code_35%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_35"  name="default_entry_form_name_35">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_35").length; i++)
					{
					if (document.getElementById("default_entry_form_name_35").options[i].value == "<%=sdefault_entry_form_name_35%>")
				    {
			        document.getElementById("default_entry_form_name_35").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_35").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">23</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_36"  
                      name="active_exp_type_36" onclick="return active_exp_type_36_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_36").length; i++) {
                          if (document.getElementById("active_exp_type_36").options[i].value == "<%=sactive_exp_type_36%>") {
                              document.getElementById("active_exp_type_36").options[i].selected = true
                              i = document.getElementById("active_exp_type_36").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Dues</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_36" type="text" id="preferred_exp_type_name_36" size="25" value="<%=spreferred_exp_type_name_36%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_36" type="text" size="10" value="<%=saccount_code_36%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_36" type="text" size="10"value="<%=sbillable_account_code_36%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_36"  name="default_entry_form_name_36">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_36").length; i++)
					{
					if (document.getElementById("default_entry_form_name_36").options[i].value == "<%=sdefault_entry_form_name_36%>")
				    {
			        document.getElementById("default_entry_form_name_36").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_36").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">24</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_37"  
                      name="active_exp_type_37" onclick="return active_exp_type_37_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_37").length; i++) {
                          if (document.getElementById("active_exp_type_37").options[i].value == "<%=sactive_exp_type_37%>") {
                              document.getElementById("active_exp_type_37").options[i].selected = true
                              i = document.getElementById("active_exp_type_37").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Duplicating</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_37" type="text" id="preferred_exp_type_name_37" size="25" value="<%=spreferred_exp_type_name_37%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_37" type="text" size="10" value="<%=saccount_code_37%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_37" type="text" size="10"value="<%=sbillable_account_code_37%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_37"  name="default_entry_form_name_37">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_37").length; i++)
					{
					if (document.getElementById("default_entry_form_name_37").options[i].value == "<%=sdefault_entry_form_name_37%>")
				    {
			        document.getElementById("default_entry_form_name_37").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_37").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">25</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_38"  
                      name="active_exp_type_38" onclick="return active_exp_type_38_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_38").length; i++) {
                          if (document.getElementById("active_exp_type_38").options[i].value == "<%=sactive_exp_type_38%>") {
                              document.getElementById("active_exp_type_38").options[i].selected = true
                              i = document.getElementById("active_exp_type_38").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Gifts</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_38" type="text" id="preferred_exp_type_name_38" size="25" value="<%=spreferred_exp_type_name_38%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_38" type="text" size="10" value="<%=saccount_code_38%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_38" type="text" size="10"value="<%=sbillable_account_code_38%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_38"  name="default_entry_form_name_38">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_38").length; i++)
					{
					if (document.getElementById("default_entry_form_name_38").options[i].value == "<%=sdefault_entry_form_name_38%>")
				    {
			        document.getElementById("default_entry_form_name_38").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_38").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">26</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_39"  
                      name="active_exp_type_39" onclick="return active_exp_type_39_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_39").length; i++) {
                          if (document.getElementById("active_exp_type_39").options[i].value == "<%=sactive_exp_type_39%>") {
                              document.getElementById("active_exp_type_39").options[i].selected = true
                              i = document.getElementById("active_exp_type_39").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Incidentals</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_39" type="text" id="preferred_exp_type_name_39" size="25" value="<%=spreferred_exp_type_name_39%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_39" type="text" size="10" value="<%=saccount_code_39%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_39" type="text" size="10"value="<%=sbillable_account_code_39%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_39"  name="default_entry_form_name_39">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_39").length; i++)
					{
					if (document.getElementById("default_entry_form_name_39").options[i].value == "<%=sdefault_entry_form_name_39%>")
				    {
			        document.getElementById("default_entry_form_name_39").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_39").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">27</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_40"  
                      name="active_exp_type_40" onclick="return active_exp_type_40_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_40").length; i++) {
                          if (document.getElementById("active_exp_type_40").options[i].value == "<%=sactive_exp_type_40%>") {
                              document.getElementById("active_exp_type_40").options[i].selected = true
                              i = document.getElementById("active_exp_type_40").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Laundry</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_40" type="text" id="preferred_exp_type_name_40" size="25" value="<%=spreferred_exp_type_name_40%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_40" type="text" size="10" value="<%=saccount_code_40%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_40" type="text" size="10"value="<%=sbillable_account_code_40%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_40"  name="default_entry_form_name_40">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_40").length; i++)
					{
					if (document.getElementById("default_entry_form_name_40").options[i].value == "<%=sdefault_entry_form_name_40%>")
				    {
			        document.getElementById("default_entry_form_name_40").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_40").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style25">28</td>
              <td class="style31">
                  <select onchange="needToConfirm=true" id="active_exp_type_41"  
                      name="active_exp_type_41" onclick="return active_exp_type_41_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_41").length; i++) {
                          if (document.getElementById("active_exp_type_41").options[i].value == "<%=sactive_exp_type_41%>") {
                              document.getElementById("active_exp_type_41").options[i].selected = true
                              i = document.getElementById("active_exp_type_41").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Materials</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_41" type="text" id="preferred_exp_type_name_41" size="25" value="<%=spreferred_exp_type_name_41%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_41" type="text" size="10" value="<%=saccount_code_41%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_41" type="text" size="10"value="<%=sbillable_account_code_41%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_41"  name="default_entry_form_name_41">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_41").length; i++)
					{
					if (document.getElementById("default_entry_form_name_41").options[i].value == "<%=sdefault_entry_form_name_41%>")
				    {
			        document.getElementById("default_entry_form_name_41").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_41").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">29</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_42"  
                      name="active_exp_type_42" onclick="return active_exp_type_42_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_42").length; i++) {
                          if (document.getElementById("active_exp_type_42").options[i].value == "<%=sactive_exp_type_42%>") {
                              document.getElementById("active_exp_type_42").options[i].selected = true
                              i = document.getElementById("active_exp_type_42").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Meetings</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_42" type="text" id="preferred_exp_type_name_42" size="25" value="<%=spreferred_exp_type_name_42%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_42" type="text" size="10" value="<%=saccount_code_42%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_42" type="text" size="10"value="<%=sbillable_account_code_42%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_42"  name="default_entry_form_name_42">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_42").length; i++)
					{
					if (document.getElementById("default_entry_form_name_42").options[i].value == "<%=sdefault_entry_form_name_42%>")
				    {
			        document.getElementById("default_entry_form_name_42").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_42").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">30</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_43"  
                      name="active_exp_type_43" onclick="return active_exp_type_43_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_43").length; i++) {
                          if (document.getElementById("active_exp_type_43").options[i].value == "<%=sactive_exp_type_43%>") {
                              document.getElementById("active_exp_type_43").options[i].selected = true
                              i = document.getElementById("active_exp_type_43").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Miscellaneous</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_43" type="text" id="preferred_exp_type_name_43" size="25" value="<%=spreferred_exp_type_name_43%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_43" type="text" size="10" value="<%=saccount_code_43%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_43" type="text" size="10"value="<%=sbillable_account_code_43%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_43"  name="default_entry_form_name_43">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_43").length; i++)
					{
					if (document.getElementById("default_entry_form_name_43").options[i].value == "<%=sdefault_entry_form_name_43%>")
				    {
			        document.getElementById("default_entry_form_name_43").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_43").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">31</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_44"  
                      name="active_exp_type_44" onclick="return active_exp_type_44_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_44").length; i++) {
                          if (document.getElementById("active_exp_type_44").options[i].value == "<%=sactive_exp_type_44%>") {
                              document.getElementById("active_exp_type_44").options[i].selected = true
                              i = document.getElementById("active_exp_type_44").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Office Supplies</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_44" type="text" id="preferred_exp_type_name_44" size="25" value="<%=spreferred_exp_type_name_44%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_44" type="text" size="10" value="<%=saccount_code_44%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_44" type="text" size="10"value="<%=sbillable_account_code_44%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_44"  name="default_entry_form_name_44">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_44").length; i++)
					{
					if (document.getElementById("default_entry_form_name_44").options[i].value == "<%=sdefault_entry_form_name_44%>")
				    {
			        document.getElementById("default_entry_form_name_44").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_44").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">32</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_45"  
                      name="active_exp_type_45" onclick="return active_exp_type_45_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_45").length; i++) {
                          if (document.getElementById("active_exp_type_45").options[i].value == "<%=sactive_exp_type_45%>") {
                              document.getElementById("active_exp_type_45").options[i].selected = true
                              i = document.getElementById("active_exp_type_45").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Postage</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_45" type="text" id="preferred_exp_type_name_45" size="25" value="<%=spreferred_exp_type_name_45%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_45" type="text" size="10" value="<%=saccount_code_45%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_45" type="text" size="10"value="<%=sbillable_account_code_45%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_45"  name="default_entry_form_name_45">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_45").length; i++)
					{
					if (document.getElementById("default_entry_form_name_45").options[i].value == "<%=sdefault_entry_form_name_45%>")
				    {
			        document.getElementById("default_entry_form_name_45").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_45").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">33</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_46"  
                      name="active_exp_type_46" onclick="return active_exp_type_46_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_46").length; i++) {
                          if (document.getElementById("active_exp_type_46").options[i].value == "<%=sactive_exp_type_46%>") {
                              document.getElementById("active_exp_type_46").options[i].selected = true
                              i = document.getElementById("active_exp_type_46").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Seminar Fees</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_46" type="text" id="preferred_exp_type_name_46" size="25" value="<%=spreferred_exp_type_name_46%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_46" type="text" size="10" value="<%=saccount_code_46%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_46" type="text" size="10"value="<%=sbillable_account_code_46%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_46"  name="default_entry_form_name_46">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_46").length; i++)
					{
					if (document.getElementById("default_entry_form_name_46").options[i].value == "<%=sdefault_entry_form_name_46%>")
				    {
			        document.getElementById("default_entry_form_name_46").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_46").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">34</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_47"  
                      name="active_exp_type_47" onclick="return active_exp_type_47_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_47").length; i++) {
                          if (document.getElementById("active_exp_type_47").options[i].value == "<%=sactive_exp_type_47%>") {
                              document.getElementById("active_exp_type_47").options[i].selected = true
                              i = document.getElementById("active_exp_type_47").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Other</td>
              <td class="style32">Subscriptions</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_47" type="text" id="preferred_exp_type_name_47" size="25" value="<%=spreferred_exp_type_name_47%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_47" type="text" size="10" value="<%=saccount_code_47%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_47" type="text" size="10"value="<%=sbillable_account_code_47%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_47"  name="default_entry_form_name_47">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_47").length; i++)
					{
					if (document.getElementById("default_entry_form_name_47").options[i].value == "<%=sdefault_entry_form_name_47%>")
				    {
			        document.getElementById("default_entry_form_name_47").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_47").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">35</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_48"  
                      name="active_exp_type_48" onclick="return active_exp_type_48_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_48").length; i++) {
                          if (document.getElementById("active_exp_type_48").options[i].value == "<%=sactive_exp_type_48%>") {
                              document.getElementById("active_exp_type_48").options[i].selected = true
                              i = document.getElementById("active_exp_type_48").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Airfare</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_48" type="text" id="preferred_exp_type_name_48" size="25" value="<%=spreferred_exp_type_name_48%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_48" type="text" size="10" value="<%=saccount_code_48%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_48" type="text" size="10"value="<%=sbillable_account_code_48%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_48"  name="default_entry_form_name_48">
 <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_48").length; i++)
					{
					if (document.getElementById("default_entry_form_name_48").options[i].value == "<%=sdefault_entry_form_name_48%>")
				    {
			        document.getElementById("default_entry_form_name_48").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_48").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">36</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_49"  
                      name="active_exp_type_49" onclick="return active_exp_type_49_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_49").length; i++) {
                          if (document.getElementById("active_exp_type_49").options[i].value == "<%=sactive_exp_type_49%>") {
                              document.getElementById("active_exp_type_49").options[i].selected = true
                              i = document.getElementById("active_exp_type_49").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Airfare Ticket Tax</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_49" type="text" id="preferred_exp_type_name_49" size="25" value="<%=spreferred_exp_type_name_49%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_49" type="text" size="10" value="<%=saccount_code_49%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_49" type="text" size="10"value="<%=sbillable_account_code_49%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_49"  name="default_entry_form_name_49">
 <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_49").length; i++)
					{
					if (document.getElementById("default_entry_form_name_49").options[i].value == "<%=sdefault_entry_form_name_49%>")
				    {
			        document.getElementById("default_entry_form_name_49").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_49").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">37</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_50"  
                      name="active_exp_type_50" onclick="return active_exp_type_50_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_50").length; i++) {
                          if (document.getElementById("active_exp_type_50").options[i].value == "<%=sactive_exp_type_50%>") {
                              document.getElementById("active_exp_type_50").options[i].selected = true
                              i = document.getElementById("active_exp_type_50").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Bus</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_50" type="text" id="preferred_exp_type_name_50" size="25" value="<%=spreferred_exp_type_name_50%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_50" type="text" size="10" value="<%=saccount_code_50%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_50" type="text" size="10"value="<%=sbillable_account_code_50%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_50"  name="default_entry_form_name_50">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_50").length; i++)
					{
					if (document.getElementById("default_entry_form_name_50").options[i].value == "<%=sdefault_entry_form_name_50%>")
				    {
			        document.getElementById("default_entry_form_name_50").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_50").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">38</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_51"  
                      name="active_exp_type_51" onclick="return active_exp_type_51_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_51").length; i++) {
                          if (document.getElementById("active_exp_type_51").options[i].value == "<%=sactive_exp_type_51%>") {
                              document.getElementById("active_exp_type_51").options[i].selected = true
                              i = document.getElementById("active_exp_type_51").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Car Rental</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_51" type="text" id="preferred_exp_type_name_51" size="25" value="<%=spreferred_exp_type_name_51%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_51" type="text" size="10" value="<%=saccount_code_51%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_51" type="text" size="10"value="<%=sbillable_account_code_51%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_51"  name="default_entry_form_name_51">
<option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_51").length; i++)
					{
					if (document.getElementById("default_entry_form_name_51").options[i].value == "<%=sdefault_entry_form_name_51%>")
				    {
			        document.getElementById("default_entry_form_name_51").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_51").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">39</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_52"  
                      name="active_exp_type_52" onclick="return active_exp_type_52_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_52").length; i++) {
                          if (document.getElementById("active_exp_type_52").options[i].value == "<%=sactive_exp_type_52%>") {
                              document.getElementById("active_exp_type_52").options[i].selected = true
                              i = document.getElementById("active_exp_type_52").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Gasoline</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_52" type="text" id="preferred_exp_type_name_52" size="25" value="<%=spreferred_exp_type_name_52%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_52" type="text" size="10" value="<%=saccount_code_52%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_52" type="text" size="10"value="<%=sbillable_account_code_52%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_52"  name="default_entry_form_name_52">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_52").length; i++)
					{
					if (document.getElementById("default_entry_form_name_52").options[i].value == "<%=sdefault_entry_form_name_52%>")
				    {
			        document.getElementById("default_entry_form_name_52").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_52").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">40</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_53"  
                      name="active_exp_type_53" onclick="return active_exp_type_53_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_53").length; i++) {
                          if (document.getElementById("active_exp_type_53").options[i].value == "<%=sactive_exp_type_53%>") {
                              document.getElementById("active_exp_type_53").options[i].selected = true
                              i = document.getElementById("active_exp_type_53").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Limousine</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_53" type="text" id="preferred_exp_type_name_53" size="25" value="<%=spreferred_exp_type_name_53%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_53" type="text" size="10" value="<%=saccount_code_53%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_53" type="text" size="10"value="<%=sbillable_account_code_53%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_53"  name="default_entry_form_name_53">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_53").length; i++)
					{
					if (document.getElementById("default_entry_form_name_53").options[i].value == "<%=sdefault_entry_form_name_53%>")
				    {
			        document.getElementById("default_entry_form_name_53").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_53").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">41</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_54"  
                      name="active_exp_type_54" onclick="return active_exp_type_54_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_54").length; i++) {
                          if (document.getElementById("active_exp_type_54").options[i].value == "<%=sactive_exp_type_54%>") {
                              document.getElementById("active_exp_type_54").options[i].selected = true
                              i = document.getElementById("active_exp_type_54").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Parking</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_54" type="text" id="preferred_exp_type_name_54" size="25" value="<%=spreferred_exp_type_name_54%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_54" type="text" size="10" value="<%=saccount_code_54%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_54" type="text" size="10"value="<%=sbillable_account_code_54%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_54"  name="default_entry_form_name_54">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_54").length; i++)
					{
					if (document.getElementById("default_entry_form_name_54").options[i].value == "<%=sdefault_entry_form_name_54%>")
				    {
			        document.getElementById("default_entry_form_name_54").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_54").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">42</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_55"  
                      name="active_exp_type_55" onclick="return active_exp_type_55_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_55").length; i++) {
                          if (document.getElementById("active_exp_type_55").options[i].value == "<%=sactive_exp_type_55%>") {
                              document.getElementById("active_exp_type_55").options[i].selected = true
                              i = document.getElementById("active_exp_type_55").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Personal Car Expense</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_55" type="text" id="preferred_exp_type_name_55" size="25" value="<%=spreferred_exp_type_name_55%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_55" type="text" size="10" value="<%=saccount_code_55%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_55" type="text" size="10"value="<%=sbillable_account_code_55%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_55"  name="default_entry_form_name_55">
<option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_55").length; i++)
					{
					if (document.getElementById("default_entry_form_name_55").options[i].value == "<%=sdefault_entry_form_name_55%>")
				    {
			        document.getElementById("default_entry_form_name_55").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_55").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">43</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_56"  
                      name="active_exp_type_56" onclick="return active_exp_type_56_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_56").length; i++) {
                          if (document.getElementById("active_exp_type_56").options[i].value == "<%=sactive_exp_type_56%>") {
                              document.getElementById("active_exp_type_56").options[i].selected = true
                              i = document.getElementById("active_exp_type_56").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Personal Car Mileage</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_56" type="text" id="preferred_exp_type_name_56" size="25" value="<%=spreferred_exp_type_name_56%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_56" type="text" size="10" value="<%=saccount_code_56%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_56" type="text" size="10"value="<%=sbillable_account_code_56%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_56"  name="default_entry_form_name_56">
<option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_56").length; i++)
					{
					if (document.getElementById("default_entry_form_name_56").options[i].value == "<%=sdefault_entry_form_name_56%>")
				    {
			        document.getElementById("default_entry_form_name_56").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_56").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">44</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_57"  
                      name="active_exp_type_57" onclick="return active_exp_type_57_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_57").length; i++) {
                          if (document.getElementById("active_exp_type_57").options[i].value == "<%=sactive_exp_type_57%>") {
                              document.getElementById("active_exp_type_57").options[i].selected = true
                              i = document.getElementById("active_exp_type_57").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Subway</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_57" type="text" id="preferred_exp_type_name_57" size="25" value="<%=spreferred_exp_type_name_57%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_57" type="text" size="10" value="<%=saccount_code_57%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_57" type="text" size="10"value="<%=sbillable_account_code_57%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_57"  name="default_entry_form_name_57">
<option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_57").length; i++)
					{
					if (document.getElementById("default_entry_form_name_57").options[i].value == "<%=sdefault_entry_form_name_57%>")
				    {
			        document.getElementById("default_entry_form_name_57").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_57").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">45</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_58"  
                      name="active_exp_type_58" onclick="return active_exp_type_58_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_58").length; i++) {
                          if (document.getElementById("active_exp_type_58").options[i].value == "<%=sactive_exp_type_58%>") {
                              document.getElementById("active_exp_type_58").options[i].selected = true
                              i = document.getElementById("active_exp_type_58").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Taxi</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_58" type="text" id="preferred_exp_type_name_58" size="25" value="<%=spreferred_exp_type_name_58%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_58" type="text" size="10" value="<%=saccount_code_58%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_58" type="text" size="10"value="<%=sbillable_account_code_58%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_58"  name="default_entry_form_name_58">
<option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_58").length; i++)
					{
					if (document.getElementById("default_entry_form_name_58").options[i].value == "<%=sdefault_entry_form_name_58%>")
				    {
			        document.getElementById("default_entry_form_name_58").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_58").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">46</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_59"  
                      name="active_exp_type_59" onclick="active_exp_type_59_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_59").length; i++) {
                          if (document.getElementById("active_exp_type_59").options[i].value == "<%=sactive_exp_type_59%>") {
                              document.getElementById("active_exp_type_59").options[i].selected = true
                              i = document.getElementById("active_exp_type_59").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Tolls</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_59" type="text" id="preferred_exp_type_name_59" size="25" value="<%=spreferred_exp_type_name_59%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_59" type="text" size="10" value="<%=saccount_code_59%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_59" type="text" size="10"value="<%=sbillable_account_code_59%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_59"  name="default_entry_form_name_59">
<option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_59").length; i++)
					{
					if (document.getElementById("default_entry_form_name_59").options[i].value == "<%=sdefault_entry_form_name_59%>")
				    {
			        document.getElementById("default_entry_form_name_59").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_59").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">47</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_60"  
                      name="active_exp_type_60" onclick="return active_exp_type_60_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_60").length; i++) {
                          if (document.getElementById("active_exp_type_60").options[i].value == "<%=sactive_exp_type_60%>") {
                              document.getElementById("active_exp_type_60").options[i].selected = true
                              i = document.getElementById("active_exp_type_60").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">Transportation</td>
              <td class="style32">Train</td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_60" type="text" id="preferred_exp_type_name_60" size="25" value="<%=spreferred_exp_type_name_60%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_60" type="text" size="10" value="<%=saccount_code_60%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_60" type="text" size="10"value="<%=sbillable_account_code_60%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_60"  name="default_entry_form_name_60">
<option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Airfare - BP R/VenDD R/City R/Ticket NR/Travel Svc Code NR">Airfare</option>
                  <option value = "Car Rental - BP NR/VenDD R/City R">Car Rental</option>
                  <option value = "Personal Car Mileage">Personal Car Mileage</option>
                  <option value = "Option #01 - BP NR/VenFT NR/City NR">Option 1</option>
                  <option value = "Option #02 - BP R/VenFT R/City R">Option 2</option>
                  <option value = "Option #03 - BP NR/VenFT NR/City NR/Att NR">Option 3</option>
                  <option value = "Option #04 - BP R/VenFT R/City R/Att R">Option 4</option>
                  <option value = "Option #05 - BP/Ven/City/Att - All Hidden">Option 5</option>
                  <option value = "Option #06 - BP R/VenFT NR/City NR">Option 6</option>
                  <option value = "Option #07 - BP NR/VenFT R/City NR">Option 7</option>
                  <option value = "Option #08 - BP NR/VenFT NR/City R">Option 8</option>
                  <option value = "Option #09 - BP NR/VenDD NR/City R">Option 9</option>
                  <option value = "Option #10 - BP NR/VenDD R/City R">Option 10</option>
                  <option value = "Option #11 - BP R/VenFT NR/City R">Option 11</option>
                  <option value = "Option #12 - BP NR/VenFT R/City R">Option 12</option>
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_60").length; i++)
					{
					if (document.getElementById("default_entry_form_name_60").options[i].value == "<%=sdefault_entry_form_name_60%>")
				    {
			        document.getElementById("default_entry_form_name_60").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_60").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr >
              <td class="style24">48</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_61"  
                      name="active_exp_type_61" onclick="return active_exp_type_61_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_61").length; i++) {
                          if (document.getElementById("active_exp_type_61").options[i].value == "<%=sactive_exp_type_61%>") {
                              document.getElementById("active_exp_type_61").options[i].selected = true
                              i = document.getElementById("active_exp_type_61").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51">
              <input onchange="needToConfirm=true"name="def_parent_exp_type_name_61" id="def_parent_exp_type_name_61" type="text" size="25" value="<%=sdef_parent_exp_type_name_61%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_61"  type="text"  value="<%=sdefault_exp_type_name_61%>" size="25" ></td>
              <td class="style27"><span class="elinterface">
      <input onchange="needToConfirm=true"name="preferred_exp_type_name_61" type="text" id="preferred_exp_type_name_61" size="25" value="<%=spreferred_exp_type_name_61%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_61" type="text"  size="10" value="<%=saccount_code_61%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_61" type="text" size="10"value="<%=sbillable_account_code_61%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_61"  name="default_entry_form_name_61" >
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_61").length; i++)
					{
					if (document.getElementById("default_entry_form_name_61").options[i].value == "<%=sdefault_entry_form_name_61%>")
				    {
			        document.getElementById("default_entry_form_name_61").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_61").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">49</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_62"  
                      name="active_exp_type_62" onclick="return active_exp_type_62_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_62").length; i++) {
                          if (document.getElementById("active_exp_type_62").options[i].value == "<%=sactive_exp_type_62%>") {
                              document.getElementById("active_exp_type_62").options[i].selected = true
                              i = document.getElementById("active_exp_type_62").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><span class="elinterface">
                <input onchange="needToConfirm=true"name="def_parent_exp_type_name_62" type="text" size="25" value="<%=sdef_parent_exp_type_name_62%>">
              </span></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_62" type="text" size="25" value="<%=sdefault_exp_type_name_62%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_62" type="text" id="preferred_exp_type_name_62" size="25" value="<%=spreferred_exp_type_name_62%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_62" type="text" size="10" value="<%=saccount_code_62%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_62" type="text" size="10"value="<%=sbillable_account_code_62%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_62"  name="default_entry_form_name_62">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_62").length; i++)
					{
					if (document.getElementById("default_entry_form_name_62").options[i].value == "<%=sdefault_entry_form_name_62%>")
				    {
			        document.getElementById("default_entry_form_name_62").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_62").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">50</td>
              <td class="style31"><select onchange="needToConfirm=true" id="Select9"  
                      name="active_exp_type_63" onclick="return active_exp_type_63_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_63").length; i++) {
                          if (document.getElementById("active_exp_type_63").options[i].value == "<%=sactive_exp_type_63%>") {
                              document.getElementById("active_exp_type_63").options[i].selected = true
                              i = document.getElementById("active_exp_type_63").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><span class="elinterface">
                <input onchange="needToConfirm=true"name="def_parent_exp_type_name_63" type="text" size="25" value="<%=sdef_parent_exp_type_name_63%>">
              </span></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_63" type="text" size="25" value="<%=sdefault_exp_type_name_63%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_63" type="text" id="preferred_exp_type_name_63" size="25" value="<%=spreferred_exp_type_name_63%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_63" type="text" size="10" value="<%=saccount_code_63%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_63" type="text" size="10"value="<%=sbillable_account_code_63%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_63"  name="default_entry_form_name_63">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_63").length; i++)
					{
					if (document.getElementById("default_entry_form_name_63").options[i].value == "<%=sdefault_entry_form_name_63%>")
				    {
			        document.getElementById("default_entry_form_name_63").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_63").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">51</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_64"  
                      name="active_exp_type_64" onclick="active_exp_type_64_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_64").length; i++) {
                          if (document.getElementById("active_exp_type_64").options[i].value == "<%=sactive_exp_type_64%>") {
                              document.getElementById("active_exp_type_64").options[i].selected = true
                              i = document.getElementById("active_exp_type_64").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_64" type="text" size="25" value="<%=sdef_parent_exp_type_name_64%>">
              </td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_64" type="text" size="25" value="<%=sdefault_exp_type_name_64%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_64" type="text" id="preferred_exp_type_name_64" size="25" value="<%=spreferred_exp_type_name_64%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_64" type="text" size="10" value="<%=saccount_code_64%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_64" type="text" size="10"value="<%=sbillable_account_code_64%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_64"  name="default_entry_form_name_64">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_64").length; i++)
					{
					if (document.getElementById("default_entry_form_name_64").options[i].value == "<%=sdefault_entry_form_name_64%>")
				    {
			        document.getElementById("default_entry_form_name_64").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_64").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">52</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_65"  
                      name="active_exp_type_65" onclick="active_exp_type_65_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_65").length; i++) {
                          if (document.getElementById("active_exp_type_65").options[i].value == "<%=sactive_exp_type_65%>") {
                              document.getElementById("active_exp_type_65").options[i].selected = true
                              i = document.getElementById("active_exp_type_65").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_65" type="text" size="25" value="<%=sdef_parent_exp_type_name_65%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_65" type="text" size="25" value="<%=sdefault_exp_type_name_65%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_65" type="text" id="preferred_exp_type_name_65" size="25" value="<%=spreferred_exp_type_name_65%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_65" type="text" size="10" value="<%=saccount_code_65%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_65" type="text" size="10"value="<%=sbillable_account_code_65%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_65"  name="default_entry_form_name_65">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_65").length; i++)
					{
					if (document.getElementById("default_entry_form_name_65").options[i].value == "<%=sdefault_entry_form_name_65%>")
				    {
			        document.getElementById("default_entry_form_name_65").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_65").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">53</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_66"  
                      name="active_exp_type_66" onclick="active_exp_type_66_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_66").length; i++) {
                          if (document.getElementById("active_exp_type_66").options[i].value == "<%=sactive_exp_type_66%>") {
                              document.getElementById("active_exp_type_66").options[i].selected = true
                              i = document.getElementById("active_exp_type_66").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_66" type="text" size="25" value="<%=sdef_parent_exp_type_name_66%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_66" type="text" size="25" value="<%=sdefault_exp_type_name_66%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_66" type="text" id="preferred_exp_type_name_66" size="25" value="<%=spreferred_exp_type_name_66%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_66" type="text" size="10" value="<%=saccount_code_66%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_66" type="text" size="10"value="<%=sbillable_account_code_66%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_66"  name="default_entry_form_name_66">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_66").length; i++)
					{
					if (document.getElementById("default_entry_form_name_66").options[i].value == "<%=sdefault_entry_form_name_66%>")
				    {
			        document.getElementById("default_entry_form_name_66").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_66").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">54</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_67"  
                      name="active_exp_type_67" onclick="active_exp_type_67_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_67").length; i++) {
                          if (document.getElementById("active_exp_type_67").options[i].value == "<%=sactive_exp_type_67%>") {
                              document.getElementById("active_exp_type_67").options[i].selected = true
                              i = document.getElementById("active_exp_type_67").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_67" type="text" size="25" value="<%=sdef_parent_exp_type_name_67%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_67" type="text" size="25" value="<%=sdefault_exp_type_name_67%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_67" type="text" id="preferred_exp_type_name_67" size="25" value="<%=spreferred_exp_type_name_67%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_67" type="text" size="10" value="<%=saccount_code_67%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_67" type="text" size="10"value="<%=sbillable_account_code_67%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_67"  name="default_entry_form_name_67">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_67").length; i++)
					{
					if (document.getElementById("default_entry_form_name_67").options[i].value == "<%=sdefault_entry_form_name_67%>")
				    {
			        document.getElementById("default_entry_form_name_67").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_67").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">55</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_68"  
                      name="active_exp_type_68" onclick="return active_exp_type_68_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_68").length; i++) {
                          if (document.getElementById("active_exp_type_68").options[i].value == "<%=sactive_exp_type_68%>") {
                              document.getElementById("active_exp_type_68").options[i].selected = true
                              i = document.getElementById("active_exp_type_68").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_68" type="text" size="25" value="<%=sdef_parent_exp_type_name_68%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_68" type="text" size="25" value="<%=sdefault_exp_type_name_68%>" ></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_68" type="text" id="preferred_exp_type_name_68" size="25" value="<%=spreferred_exp_type_name_68%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_68" type="text" size="10" value="<%=saccount_code_68%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_68" type="text" size="10"value="<%=sbillable_account_code_68%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_68"  name="default_entry_form_name_68">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_68").length; i++)
					{
					if (document.getElementById("default_entry_form_name_68").options[i].value == "<%=sdefault_entry_form_name_68%>")
				    {
			        document.getElementById("default_entry_form_name_68").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_68").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">56</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_69"  
                      name="active_exp_type_69" onclick="return active_exp_type_69_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_69").length; i++) {
                          if (document.getElementById("active_exp_type_69").options[i].value == "<%=sactive_exp_type_69%>") {
                              document.getElementById("active_exp_type_69").options[i].selected = true
                              i = document.getElementById("active_exp_type_69").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_69" type="text" size="25" value="<%=sdef_parent_exp_type_name_69%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_69" type="text" size="25" value="<%=sdefault_exp_type_name_69%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_69" type="text" id="preferred_exp_type_name_69" size="25" value="<%=spreferred_exp_type_name_69%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_69" type="text" size="10" value="<%=saccount_code_69%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_69" type="text" size="10"value="<%=sbillable_account_code_69%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_69"  name="default_entry_form_name_69">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_69").length; i++)
					{
					if (document.getElementById("default_entry_form_name_69").options[i].value == "<%=sdefault_entry_form_name_69%>")
				    {
			        document.getElementById("default_entry_form_name_69").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_69").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">57</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_70"  
                      name="active_exp_type_70" onclick="return active_exp_type_70_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_70").length; i++) {
                          if (document.getElementById("active_exp_type_70").options[i].value == "<%=sactive_exp_type_70%>") {
                              document.getElementById("active_exp_type_70").options[i].selected = true
                              i = document.getElementById("active_exp_type_70").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_70" type="text" size="25" value="<%=sdef_parent_exp_type_name_70%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_70" type="text" size="25" value="<%=sdefault_exp_type_name_70%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_70" type="text" id="preferred_exp_type_name_70" size="25" value="<%=spreferred_exp_type_name_70%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_70" type="text" size="10" value="<%=saccount_code_70%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_70" type="text" size="10"value="<%=sbillable_account_code_70%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_70"  name="default_entry_form_name_70">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_70").length; i++)
					{
					if (document.getElementById("default_entry_form_name_70").options[i].value == "<%=sdefault_entry_form_name_70%>")
				    {
			        document.getElementById("default_entry_form_name_70").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_70").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">58</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_71"  
                      name="active_exp_type_71" onclick="return active_exp_type_71_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_71").length; i++) {
                          if (document.getElementById("active_exp_type_71").options[i].value == "<%=sactive_exp_type_71%>") {
                              document.getElementById("active_exp_type_71").options[i].selected = true
                              i = document.getElementById("active_exp_type_71").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_71" type="text" size="25" value="<%=sdef_parent_exp_type_name_71%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_71" type="text" size="25" value="<%=sdefault_exp_type_name_71%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_71" type="text" id="preferred_exp_type_name_71" size="25" value="<%=spreferred_exp_type_name_71%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_71" type="text" size="10" value="<%=saccount_code_71%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_71" type="text" size="10"value="<%=sbillable_account_code_71%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_71"  name="default_entry_form_name_71">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_71").length; i++)
					{
					if (document.getElementById("default_entry_form_name_71").options[i].value == "<%=sdefault_entry_form_name_71%>")
				    {
			        document.getElementById("default_entry_form_name_71").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_71").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">59</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_72"  
                      name="active_exp_type_72" onclick="return active_exp_type_72_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_72").length; i++) {
                          if (document.getElementById("active_exp_type_72").options[i].value == "<%=sactive_exp_type_72%>") {
                              document.getElementById("active_exp_type_72").options[i].selected = true
                              i = document.getElementById("active_exp_type_72").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_72" type="text" size="25" value="<%=sdef_parent_exp_type_name_72%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_72" type="text" size="25" value="<%=sdefault_exp_type_name_72%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_72" type="text" id="preferred_exp_type_name_72" size="25" value="<%=spreferred_exp_type_name_72%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_72" type="text" size="10" value="<%=saccount_code_72%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_72" type="text" size="10"value="<%=sbillable_account_code_72%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_72"  name="default_entry_form_name_72">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_72").length; i++)
					{
					if (document.getElementById("default_entry_form_name_72").options[i].value == "<%=sdefault_entry_form_name_72%>")
				    {
			        document.getElementById("default_entry_form_name_72").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_72").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">60</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_73"  
                      name="active_exp_type_73" onclick="return active_exp_type_73_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_73").length; i++) {
                          if (document.getElementById("active_exp_type_73").options[i].value == "<%=sactive_exp_type_73%>") {
                              document.getElementById("active_exp_type_73").options[i].selected = true
                              i = document.getElementById("active_exp_type_73").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_73" type="text" size="25" value="<%=sdef_parent_exp_type_name_73%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_73" type="text" size="25" value="<%=sdefault_exp_type_name_73%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_73" type="text" id="preferred_exp_type_name_73" size="25" value="<%=spreferred_exp_type_name_73%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_73" type="text" size="10" value="<%=saccount_code_73%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_73" type="text" size="10"value="<%=sbillable_account_code_73%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_73"  name="default_entry_form_name_73">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_73").length; i++)
					{
					if (document.getElementById("default_entry_form_name_73").options[i].value == "<%=sdefault_entry_form_name_73%>")
				    {
			        document.getElementById("default_entry_form_name_73").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_73").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">61</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_74"  
                      name="active_exp_type_74" onclick="return active_exp_type_74_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_74").length; i++) {
                          if (document.getElementById("active_exp_type_74").options[i].value == "<%=sactive_exp_type_74%>") {
                              document.getElementById("active_exp_type_74").options[i].selected = true
                              i = document.getElementById("active_exp_type_74").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_74" type="text" size="25" value="<%=sdef_parent_exp_type_name_74%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_74" type="text" size="25" value="<%=sdefault_exp_type_name_74%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_74" type="text" id="preferred_exp_type_name_74" size="25" value="<%=spreferred_exp_type_name_74%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_74" type="text" size="10" value="<%=saccount_code_74%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_74" type="text" size="10"value="<%=sbillable_account_code_74%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_74"  name="default_entry_form_name_74">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_74").length; i++)
					{
					if (document.getElementById("default_entry_form_name_74").options[i].value == "<%=sdefault_entry_form_name_74%>")
				    {
			        document.getElementById("default_entry_form_name_74").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_74").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr>
              <td class="style24">62</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_75"  
                      name="active_exp_type_75" onclick="active_exp_type_75_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_75").length; i++) {
                          if (document.getElementById("active_exp_type_75").options[i].value == "<%=sactive_exp_type_75%>") {
                              document.getElementById("active_exp_type_75").options[i].selected = true
                              i = document.getElementById("active_exp_type_75").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_75" type="text" size="25" value="<%=sdef_parent_exp_type_name_75%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_75" type="text" size="25" value="<%=sdefault_exp_type_name_75%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_75" type="text" id="preferred_exp_type_name_75" size="25" value="<%=spreferred_exp_type_name_75%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_75" type="text" size="10" value="<%=saccount_code_75%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_75" type="text" size="10"value="<%=sbillable_account_code_75%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_75"  name="default_entry_form_name_75">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_75").length; i++)
					{
					if (document.getElementById("default_entry_form_name_75").options[i].value == "<%=sdefault_entry_form_name_75%>")
				    {
			        document.getElementById("default_entry_form_name_75").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_75").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">63</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_76"  
                      name="active_exp_type_76" onclick="return active_exp_type_75_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_76").length; i++) {
                          if (document.getElementById("active_exp_type_76").options[i].value == "<%=sactive_exp_type_76%>") {
                              document.getElementById("active_exp_type_76").options[i].selected = true
                              i = document.getElementById("active_exp_type_76").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_76" type="text" size="25" value="<%=sdef_parent_exp_type_name_76%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_76" type="text" size="25" value="<%=sdefault_exp_type_name_76%>" ></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_76" type="text" id="preferred_exp_type_name_76" size="25" value="<%=spreferred_exp_type_name_76%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_76" type="text" size="10" value="<%=saccount_code_76%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_76" type="text" size="10"value="<%=sbillable_account_code_76%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_76"  name="default_entry_form_name_76">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_76").length; i++)
					{
					if (document.getElementById("default_entry_form_name_76").options[i].value == "<%=sdefault_entry_form_name_76%>")
				    {
			        document.getElementById("default_entry_form_name_76").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_76").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr >
              <td class="style24">64</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_77"  
                      name="active_exp_type_77" onclick="return active_exp_type_77_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_77").length; i++) {
                          if (document.getElementById("active_exp_type_77").options[i].value == "<%=sactive_exp_type_77%>") {
                              document.getElementById("active_exp_type_77").options[i].selected = true
                              i = document.getElementById("active_exp_type_77").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_77" type="text" size="25" value="<%=sdef_parent_exp_type_name_77%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_77" type="text" size="25" value="<%=sdefault_exp_type_name_77%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_77" type="text" id="preferred_exp_type_name_77" size="25" value="<%=spreferred_exp_type_name_77%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_77" type="text" size="10" value="<%=saccount_code_77%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_77" type="text" size="10"value="<%=sbillable_account_code_77%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_77"  name="default_entry_form_name_77">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_77").length; i++)
					{
					if (document.getElementById("default_entry_form_name_77").options[i].value == "<%=sdefault_entry_form_name_77%>")
				    {
			        document.getElementById("default_entry_form_name_77").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_77").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">65</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_78"  
                      name="active_exp_type_78" onclick="return active_exp_type_1_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_78").length; i++) {
                          if (document.getElementById("active_exp_type_78").options[i].value == "<%=sactive_exp_type_78%>") {
                              document.getElementById("active_exp_type_78").options[i].selected = true
                              i = document.getElementById("active_exp_type_78").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_78" type="text" size="25" value="<%=sdef_parent_exp_type_name_78%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_78" type="text" size="25" value="<%=sdefault_exp_type_name_78%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_78" type="text" id="preferred_exp_type_name_78" size="25" value="<%=spreferred_exp_type_name_78%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_78" type="text" size="10" value="<%=saccount_code_78%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_78" type="text" size="10"value="<%=sbillable_account_code_78%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_78"  name="default_entry_form_name_78">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_78").length; i++)
					{
					if (document.getElementById("default_entry_form_name_78").options[i].value == "<%=sdefault_entry_form_name_78%>")
				    {
			        document.getElementById("default_entry_form_name_78").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_78").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr >
              <td class="style24">66</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_79"  
                      name="active_exp_type_79" onclick="return active_exp_type_79_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_79").length; i++) {
                          if (document.getElementById("active_exp_type_79").options[i].value == "<%=sactive_exp_type_79%>") {
                              document.getElementById("active_exp_type_79").options[i].selected = true
                              i = document.getElementById("active_exp_type_79").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_79" type="text" size="25" value="<%=sdef_parent_exp_type_name_79%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_79" type="text" size="25" value="<%=sdefault_exp_type_name_79%>" ></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_79" type="text" id="preferred_exp_type_name_79" size="25" value="<%=spreferred_exp_type_name_79%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_79" type="text" size="10" value="<%=saccount_code_79%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_79" type="text" size="10"value="<%=sbillable_account_code_79%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_79"  name="default_entry_form_name_79">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_79").length; i++)
					{
					if (document.getElementById("default_entry_form_name_79").options[i].value == "<%=sdefault_entry_form_name_79%>")
				    {
			        document.getElementById("default_entry_form_name_79").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_79").length
				    }
					}
				</script>
                </select>
              </span></td>
            </tr>
            <tr class="altrow">
              <td class="style24">67</td>
              <td class="style31"><select onchange="needToConfirm=true" id="active_exp_type_80"  
                      name="active_exp_type_80" onclick="return active_exp_type_1_onclick()">
                  <option value = "N">No</option>
                  <option value = "Y">Yes</option>
                  <script type="text/javascript">
                      for (i = 0; i < document.getElementById("active_exp_type_80").length; i++) {
                          if (document.getElementById("active_exp_type_80").options[i].value == "<%=sactive_exp_type_80%>") {
                              document.getElementById("active_exp_type_80").options[i].selected = true
                              i = document.getElementById("active_exp_type_80").length
                          }
                      }
				</script>
                </select></td>
              <td class="style51"><input onchange="needToConfirm=true"name="def_parent_exp_type_name_80" type="text" size="25" value="<%=sdef_parent_exp_type_name_80%>"></td>
              <td class="style32"><input onchange="needToConfirm=true"name="default_exp_type_name_80" type="text" size="25" value="<%=sdefault_exp_type_name_80%>"></td>
              <td class="style27"><span class="elinterface">
                <input onchange="needToConfirm=true"name="preferred_exp_type_name_80" type="text" id="preferred_exp_type_name_80" size="25" value="<%=spreferred_exp_type_name_80%>">
              </span></td>
              <td><input onchange="needToConfirm=true"name="account_code_80" type="text" size="10" value="<%=saccount_code_80%>"></td>
              <td class="style29"><span class="elinterface">
                <input onchange="needToConfirm=true"name="billable_account_code_80" type="text" size="10"value="<%=sbillable_account_code_80%>">
              </span></td>
              <td class="style47"><span class="elinterface">
                <select onchange="needToConfirm=true" id="default_entry_form_name_80"  name="default_entry_form_name_80">
 <!-- #include file="include/corp_ed_entry_form_options.asp" -->
                  <script type="text/javascript">
					for (i=0; i < document.getElementById("default_entry_form_name_80").length; i++)
					{
					if (document.getElementById("default_entry_form_name_80").options[i].value == "<%=sdefault_entry_form_name_80%>")
				    {
			        document.getElementById("default_entry_form_name_80").options[i].selected = true
			        i = document.getElementById("default_entry_form_name_80").length
				    }
					}
					function default_entry_form_name_10_onclick() {

					}

                  </script>
                </select>
              </span></td>
            </tr>
   </table>
 

  


<table border="0" cellpadding="1" width="950" id='Table2' >
    <tr>
      <td width="16">&nbsp;
      </td>
      <td colspan="3">&nbsp;</td>
      <td align="right" class="style57">
          <input onchange="needToConfirm=true"type="submit" 
                    name="Submit1" value="Save Current Page"><input type="button" value="*Next" onClick="self.location.href='cte_expense_types_display_corp_ed_v3_pg2.asp';"></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td width="1">&nbsp;</td>
      <td align="center" class="style34">&nbsp;</td>
      <td class="style35"></td>
      <td align="right" class="style57"><span class="style17">Save your work periodically! 
          (*Next does not save)</span></td>
    </tr>
  </table>
        
</form>
</body>
</html>

Open in new window

0
DavidjevansAuthor Commented:
define sql udate seperatly the execute each. Abbreviated code listed
If request.form("form_submit") = "cte_expense_types_display_corp_ed_v3_pg1_ver_a.asp" Then

	sSql = "select * from cia_cte_expense_types_p1_a where company_key = " & session("company")
	Set rsCompanyKey1 = CreateObject("ADODB.Recordset") 
	rsCompanyKey1.Open sSql, oConnection

    If Not rsCompanyKey1.BOF And Not rsCompanyKey1.EOF Then 'checks if anything is returned
        'we had one - update it
	
 		sSql1 = "update cia_cte_expense_types_p1_a set active_exp_type_1 = '" + request.form("active_exp_type_1") + "',"	
		sSql11 = sSql1 + "last_submitted_field = '" + request.form("last_submitted_field") + "',"
		sSql1 = sSql1 + "def_parent_exp_type_name_1 = '" + request.form("def_parent_exp_type_name_1") + "',"
		sSql1 = sSql1 + "pref_parent_exp_type_name_1 = '" + request.form("pref_parent_exp_type_name_1") + "',"
		sSql1 = sSql1 + "default_exp_type_name_1 = '" + request.form("default_exp_type_name_1") + "',"
		sSql1 = sSql1 + "preferred_exp_type_name_1 = '" + request.form("preferred_exp_type_name_1") + "',"
		sSql1 = sSql1 + "account_code_1 = '" + request.form("account_code_1") + "',"
		sSql1 = sSql1 + "billable_account_code_1 = '" + request.form("billable_account_code_1") + "',"
		sSql1 = sSql1 + "default_entry_form_name_1 = '" + request.form("default_entry_form_name_1") + "',"
		sSql1 = sSql1 + "active_exp_type_2 = '" + request.form("active_exp_type_2") + "',"
		sSql1 = sSql1 + "def_parent_exp_type_name_2 = '" + request.form("def_parent_exp_type_name_2") + "',"
		sSql1 = sSql1 + "pref_parent_exp_type_name_2 = '" + request.form("pref_parent_exp_type_name_2") + "',"
		sSql1 = sSql1 + "default_exp_type_name_2 = '" + request.form("default_exp_type_name_2") + "',"
		sSql1 = sSql1 + "preferred_exp_type_name_2 = '" + request.form("preferred_exp_type_name_2") + "',"
		sSql1 = sSql1 + "account_code_2 = '" + request.form("account_code_2") + "',"
		sSql1 = sSql1 + "billable_account_code_2 = '" + request.form("billable_account_code_2") + "',"
		sSql1 = sSql1 + "default_entry_form_name_2 = '" + request.form("default_entry_form_name_2") + "',"
		etc.....
		sSql1 = sSql1 + "def_parent_exp_type_name_29 = '" + request.form("def_parent_exp_type_name_29") + "',"
		sSql1 = sSql1 + "pref_parent_exp_type_name_29 = '" + request.form("pref_parent_exp_type_name_29") + "',"
		sSql1 = sSql1 + "default_exp_type_name_29 = '" + request.form("default_exp_type_name_29") + "',"
		sSql1 = sSql1 + "preferred_exp_type_name_29 = '" + request.form("preferred_exp_type_name_29") + "',"
		sSql1 = sSql1 + "account_code_29 = '" + request.form("account_code_29") + "',"
		sSql1 = sSql1 + "billable_account_code_29 = '" + request.form("billable_account_code_29") + "',"
		sSql1 = sSql1 + "default_entry_form_name_29 = '" + request.form("default_entry_form_name_29") + "',"
		sSql1 = sSql1 + "active_exp_type_30 = '" + request.form("active_exp_type_30") + "',"
		sSql1 = sSql1 + "def_parent_exp_type_name_30 = '" + request.form("def_parent_exp_type_name_30") + "',"
		sSql1 = sSql1 + "pref_parent_exp_type_name_30 = '" + request.form("pref_parent_exp_type_name_30") + "',"
		sSql1 = sSql1 + "default_exp_type_name_30 = '" + request.form("default_exp_type_name_30") + "',"
		sSql1 = sSql1 + "preferred_exp_type_name_30 = '" + request.form("preferred_exp_type_name_30") + "',"
		sSql1 = sSql1 + "account_code_30 = '" + request.form("account_code_30") + "',"
		sSql1 = sSql1 + "billable_account_code_30 = '" + request.form("billable_account_code_30") + "',"
		sSql1 = sSql1 + "default_entry_form_name_30 = '" + request.form("default_entry_form_name_30") + "'"
		sSql1 = sSql1 + " where company_key = " & session("company")
		
		
	sSql = "select * from cia_cte_expense_types_p2 where company_key = " & session("company")
	Set rsCompanyKey2 = CreateObject("ADODB.Recordset") 
	rsCompanyKey2.Open sSql, oConnection

    If Not rsCompanyKey2.BOF And Not rsCompanyKey2.EOF Then 'checks if anything is returned
        'we had one - update it
	
 		sSql2 = "update cia_cte_expense_types_p2 set active_exp_type_31 = '" + request.form("active_exp_type_13") + "',"	
		sSql2 = sSql2 + "def_parent_exp_type_name_31 = '" + request.form("def_parent_exp_type_name_31") + "',"
		sSql2 = sSql2 + "pref_parent_exp_type_name_31 = '" + request.form("pref_parent_exp_type_name_31") + "',"
		sSql2 = sSql2 + "default_exp_type_name_31 = '" + request.form("default_exp_type_name_31") + "',"
		sSql2 = sSql2 + "preferred_exp_type_name_31 = '" + request.form("preferred_exp_type_name_31") + "',"
		sSql2 = sSql2 + "account_code_31 = '" + request.form("account_code_31") + "',"
		sSql2 = sSql2 + "billable_account_code_31 = '" + request.form("billable_account_code_31") + "',"
		sSql2 = sSql2 + "default_entry_form_name_31 = '" + request.form("default_entry_form_name_31") + "',"
		sSql2 = sSql2 + "active_exp_type_32 = '" + request.form("active_exp_type_32") + "',"
		sSql2 = sSql2 + "def_parent_exp_type_name_32 = '" + request.form("def_parent_exp_type_name_32") + "',"
		sSql2 = sSql2 + "pref_parent_exp_type_name_32 = '" + request.form("pref_parent_exp_type_name_32") + "',"
		sSql2 = sSql2 + "default_exp_type_name_32 = '" + request.form("default_exp_type_name_32") + "',"
		sSql2 = sSql2 + "preferred_exp_type_name_32 = '" + request.form("preferred_exp_type_name_32") + "',"
		sSql2 = sSql2 + "account_code_32 = '" + request.form("account_code_32") + "',"
		sSql2 = sSql2 + "billable_account_code_32 = '" + request.form("billable_account_code_32") + "',"
		sSql2 = sSql2 + "default_entry_form_name_32 = '" + request.form("default_entry_form_name_32") + "',"
		etc....
		sSql2 = sSql2 + "active_exp_type_59 = '" + request.form("active_exp_type_59") + "',"
		sSql2 = sSql2 + "def_parent_exp_type_name_59 = '" + request.form("def_parent_exp_type_name_59") + "',"
		sSql2 = sSql2 + "pref_parent_exp_type_name_59 = '" + request.form("pref_parent_exp_type_name_59") + "',"
		sSql2 = sSql2 + "default_exp_type_name_59 = '" + request.form("default_exp_type_name_59") + "',"
		sSql2 = sSql2 + "preferred_exp_type_name_59 = '" + request.form("preferred_exp_type_name_59") + "',"
		sSql2 = sSql2 + "account_code_59 = '" + request.form("account_code_59") + "',"
		sSql2 = sSql2 + "billable_account_code_59 = '" + request.form("billable_account_code_59") + "',"
		sSql2 = sSql2 + "default_entry_form_name_59 = '" + request.form("default_entry_form_name_59") + "',"
		sSql2 = sSql2 + "active_exp_type_60 = '" + request.form("active_exp_type_60") + "',"
		sSql2 = sSql2 + "def_parent_exp_type_name_60 = '" + request.form("def_parent_exp_type_name_60") + "',"
		sSql2 = sSql2 + "pref_parent_exp_type_name_60 = '" + request.form("pref_parent_exp_type_name_60") + "',"
		sSql2 = sSql2 + "default_exp_type_name_60 = '" + request.form("default_exp_type_name_60") + "',"
		sSql2 = sSql2 + "preferred_exp_type_name_60 = '" + request.form("preferred_exp_type_name_60") + "',"
		sSql2 = sSql2 + "account_code_60 = '" + request.form("account_code_60") + "',"
		sSql2 = sSql2 + "billable_account_code_60 = '" + request.form("billable_account_code_60") + "',"
		sSql2 = sSql2 + "default_entry_form_name_60 = '" + request.form("default_entry_form_name_60") + "'"
		sSql2 = sSql2 + " where company_key = " & session("company")
		
		
	sSql = "select * from cia_cte_expense_types_p3 where company_key = " & session("company")
	Set rsCompanyKey3 = CreateObject("ADODB.Recordset") 
	rsCompanyKey3.Open sSql, oConnection

    If Not rsCompanyKey3.BOF And Not rsCompanyKey3.EOF Then 'checks if anything is returned
        'we had one - update it
	
 		sSql3 = "update cia_cte_expense_types_p3 set active_exp_type_61 = '" + request.form("active_exp_type_61") + "',"	
		sSql3 = sSql3 + "def_parent_exp_type_name_61 = '" + request.form("def_parent_exp_type_name_61") + "',"
		sSql3 = sSql3 + "pref_parent_exp_type_name_61 = '" + request.form("pref_parent_exp_type_name_61") + "',"
		sSql3 = sSql3 + "default_exp_type_name_61 = '" + request.form("default_exp_type_name_61") + "',"
		sSql3 = sSql3 + "preferred_exp_type_name_61 = '" + request.form("preferred_exp_type_name_61") + "',"
		sSql3 = sSql3 + "account_code_61 = '" + request.form("account_code_61") + "',"
		sSql3 = sSql3 + "billable_account_code_61 = '" + request.form("billable_account_code_61") + "',"
		sSql3 = sSql3 + "default_entry_form_name_61 = '" + request.form("default_entry_form_name_61") + "',"
		sSql3 = sSql3 + "active_exp_type_62 = '" + request.form("active_exp_type_62") + "',"
		sSql3 = sSql3 + "def_parent_exp_type_name_62 = '" + request.form("def_parent_exp_type_name_62") + "',"
		sSql3 = sSql3 + "pref_parent_exp_type_name_62 = '" + request.form("pref_parent_exp_type_name_62") + "',"
		sSql3 = sSql3 + "default_exp_type_name_62 = '" + request.form("default_exp_type_name_62") + "',"
		sSql3 = sSql3 + "preferred_exp_type_name_62 = '" + request.form("preferred_exp_type_name_62") + "',"
		sSql3 = sSql3 + "account_code_62 = '" + request.form("account_code_62") + "',"
		sSql3 = sSql3 + "billable_account_code_62 = '" + request.form("billable_account_code_62") + "',"
		sSql3 = sSql3 + "default_entry_form_name_62 = '" + request.form("default_entry_form_name_62") + "',"
		etc....
		sSql3 = sSql3 + "active_exp_type_79 = '" + request.form("active_exp_type_79") + "',"
		sSql3 = sSql3 + "def_parent_exp_type_name_79 = '" + request.form("def_parent_exp_type_name_79") + "',"
		sSql3 = sSql3 + "pref_parent_exp_type_name_79 = '" + request.form("pref_parent_exp_type_name_79") + "',"
		sSql3 = sSql3 + "default_exp_type_name_79 = '" + request.form("default_exp_type_name_79") + "',"
		sSql3 = sSql3 + "preferred_exp_type_name_79 = '" + request.form("preferred_exp_type_name_79") + "',"
		sSql3 = sSql3 + "account_code_79 = '" + request.form("account_code_79") + "',"
		sSql3 = sSql3 + "billable_account_code_79 = '" + request.form("billable_account_code_79") + "',"
		sSql3 = sSql3 + "default_entry_form_name_79 = '" + request.form("default_entry_form_name_79") + "',"
		sSql3 = sSql3 + "active_exp_type_80 = '" + request.form("active_exp_type_80") + "',"
		sSql3 = sSql3 + "def_parent_exp_type_name_80 = '" + request.form("def_parent_exp_type_name_80") + "',"
		sSql3 = sSql3 + "pref_parent_exp_type_name_80 = '" + request.form("pref_parent_exp_type_name_80") + "',"
		sSql3 = sSql3 + "default_exp_type_name_80 = '" + request.form("default_exp_type_name_80") + "',"
		sSql3 = sSql3 + "preferred_exp_type_name_80 = '" + request.form("preferred_exp_type_name_80") + "',"
		sSql3 = sSql3 + "account_code_80 = '" + request.form("account_code_80") + "',"
		sSql3 = sSql3 + "billable_account_code_80 = '" + request.form("billable_account_code_80") + "',"
		sSql3 = sSql3 + "default_entry_form_name_80 = '" + request.form("default_entry_form_name_80") + "'"
		sSql3 = sSql3 + " where company_key = " & session("company")

End If
End If
End If
    
    
    rsCompanyKey1.Close  'Close the recordset
    Set rsCompanyKey1 = Nothing  'Remove object from memory
    
    rsCompanyKey2.Close  'Close the recordset
    Set rsCompanyKey2 = Nothing  'Remove object from memory
 
    rsCompanyKey3.Close  'Close the recordset
    Set rsCompanyKey3 = Nothing  'Remove object from memory
    
    
   
'You can use this response.write for troubleshooting. Remember to take it out when the page is set!
'response.write("sSql = " + sSql)

 'now we can run our sql statement
        oConnection.execute sSql1
    	oConnection.execute sSql2
    	oConnection.execute sSql3

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.