[execute _onLoad$+="_SkipTabsOn('fm_browse');"] [ttl]Company Site Maintenance[/ttl]

[form program=*fm_webmaint onload=Init]

[hide %fm_usefile$ value="Sites" secure]

[section half] [row "\[show usefile field=SiteId$\]:"][input SiteId$ usefile event=Change_Key focus] [include *fm_browse.html] [show  browse_error_msg$][/row]
[row "\[show usefile field=Description$\]:"][input Description$ usefile][/row]
[/section]

[section half] [/section]

[section whole]


[/section]

[section half]

Address
[row "\[show usefile field=Address1$\]:"][input Address1$ usefile][/row]
[row "\[show usefile field=Address2$\]:"][input Address2$ usefile][/row]
[row "\[show usefile field=City$\]:"][input City$ usefile][/row]
[row "\[show usefile field=Region$\]:"][input Region$ usefile][/row]
[row "\[show usefile field=Country$\]:"][input Country$ usefile][/row]
[row "\[show usefile field=ZipCode$\]:"][input ZipCode$ usefile][/row]
[/section]

[section half]

Contact
[row "\[show usefile field=ContactName$\]:"][input ContactName$ usefile][/row]
[row "\[show usefile field=ContactTitle$\]:"][input ContactTitle$ usefile][/row]
[row "\[show usefile field=Email$\]:"][input Email$ usefile][/row]
[row "\[show usefile field=PhoneNumber$\]:"][input PhoneNumber$ usefile][/row]
[row "\[show usefile field=PhoneExtension$\]:"][input PhoneExtension$ usefile][/row]
[row "\[show usefile field=FaxNumber$\]:"][input FaxNumber$ usefile][/row]
[/section]

[section whole]


[/section]

[section half] [row "\[show usefile field=MainOffice\]:"][checkbox MainOffice usefile][/checkbox][/row]
[/section]

[section half] [row "\[show usefile field=hasInventory\]:"][checkbox hasInventory usefile][/checkbox][/row]
[row "\[show usefile field=InvGlAcct$\]:"][input InvGlAcct$ usefile][/row]
[/section]

[section whole][/section]

[section half][include *fm_action.html][/section]

[section whole]

[show  error_msg$]

[/section]

[hide _fm_file$ value="sites" secure]
[hide _fm_key$ value=SiteId$]
[hide _fm_inquiry$ value="0"]
[hide _fm_new_prop$ value="0"]
[hide _fm_clear_prop$ value="0"]
[hide _fm_confirm_new_prop$ value="0"]
[hide _fm_ack_write_prop$ value="0"]
[hide _fm_confirm_del_prop$ value="1"]
[hide _fm_ack_delete_prop$ value="1"]
[hide _fm_defaults$ value="Region$=Ontario|"]
[hide _fm_orig$ value$="" secure]
[hide _fm_current$ value$="" secure]
[hide _fm_chg_var$ value$=""]
[hide _fm_var_list$ value=SiteId$,Description$,Address1$,Address2$,City$,Region$,Country$,ZipCode$,ContactName$,ContactTitle$,PhoneNumber$,PhoneExtension$,FaxNumber$,Email$,MainOffice,hasInventory,InvGlAcct$, secure]
[hide _fm_desc_list$ value="Office Location|Description|Address line 1|Address line 2|City|State/Province|Country Name|Zip/Postal Code|Primary Contact|Contact title|Phone Number|Phone Extension|Fax Number|Email Address|Main Office|Inventory location|Inventory Account|"]
[/form]