max=10;
transact= new Array();
debit= new Array();
credit= new Array();
explaindebit= new Array();
explaincredit= new Array();

transact[0]="ABC mows a client's  yard and receives a check from the customer for $50 for the service provided."  
debit[0]='Assets'
credit[0]='Revenue'
explaindebit[0]='An Asset account which normally has a debit balance increases. Since a debit is used to increase an account that normally has a debit balance, an asset account is debited.' 
explaincredit[0]='A Revenue account which normally has a credit balance increases. Since a credit is used to increase an account that normally has a credit balance, a revenue account is credited.'



transact[1]='ABC purchases $100 worth of office supplies for inventory and stores them in their storage room. The office supply store gives them an invoice that allows them to pay for them in 15 days (on account).' 
debit[1]='Assets'
credit[1]='Liabilities'
explaindebit[1]='An Asset account which normally has a debit balance increases. Since a debit is used to increase an account that normally has a debit balance, an asset account is debited.' 
explaincredit[1]='A Liability account which normally has a credit balance increases. Since a credit is used to increase an account that normally has a credit balance, a liability account is credited.'





transact[2]='ABC places an ad in the local newspaper receives the invoice from the supplier and writes a check for $25 to the newspaper.'
debit[2]='Expense'
credit[2]='Assets'
explaindebit[2]='An Expense account which normally has a debit balance increases. Since a debit is used to increase an account that normally has a debit balance, an expense account is debited.' 
explaincredit[2]='An Asset account which normally has a debit balance decreases. Since a debit is used to increase an account that normally has a debit balance, a credit (the opposite of a debit) is used to decrease the asset account.' 



transact[3]='ABC purchases five mowers for $10,000 and finances them with a note from the local bank.'
debit[3]='Assets'
credit[3]='Liabilities'
explaindebit[3]='An Asset account which normally has a debit balance increases. Since a debit is used to increase an account that normally has a debit balance, an asset account is debited.' 
explaincredit[3]='A Liability account which normally has a credit balance increases. Since a credit is used to increase an account that normally has a credit balance, a liability account is credited.'


transact[4]="ABC mows another customer's yard and sends the customer a bill (invoice) for the service they performed. They allow their customer 10 days  to pay them for this service (on account)."
debit[4]='Assets'
credit[4]='Revenue'
explaindebit[4]='An Asset account which normally has a debit balance increases. Since a debit is used to increase an account that normally has a debit balance, an asset account is debited.' 
explaincredit[4]='A Revenue account which normally has a credit balance increases. Since a credit is used to increase an account that normally has a credit balance, a revenue account is credited.'



transact[5]='The owner of ABC needs a little money to pay some personal bills and writes himself a check for $500.'
debit[5]='Draws'
credit[5]='Assets'
explaindebit[5]="An owner's draw account which normally has a debit balance increases. Since a debit is used to increase an account that normally has a debit balance, a drawing account is debited." 
explaincredit[5]='An Asset account which normally has a debit balance decreases. Since a debit is used to increase an account that normally has a debit balance, a credit (the opposite of a debit) is used to decrease the asset account.' 




transact[6]='ABC pays the office supply company $100 with a check for the office supplies that they charged (promised to pay).'
debit[6]='Liabilities'
credit[6]='Assets'
explaindebit[6]='A Liability account which normally has a debit balance decreases. Since a credit is used to increase an account that normally has a credit balance, a debit (the opposite of a credit) is used to decrease the liability account.' 
explaincredit[6]='An Asset account which normally has a debit balance decreases. Since a debit is used to increase an account that normally has a debit balance, a credit (the opposite of a debit) is used to decrease the asset account.' 


transact[7]='ABC receives a check from the customer who they billed (invoiced) $75 for services and allowed 10 days to pay.'
debit[7]='Assets'
credit[7]='Assets'
explaindebit[7]='An Asset account which normally has a debit balance increases. Since a debit is used to increase an account that normally has a debit balance, an asset account is debited.' 
explaincredit[7]='An Asset account which normally has a debit balance decreases. Since a debit is used to increase an account that normally has a debit balance, a credit (the opposite of a debit) is used to decrease the asset account.' 


transact[8]="ABC purchased some mulch for $60 and received an invoice from their supplier who allows them 15 days to pay. The mulch was used on a customer's yard."
debit[8]='Expense'
credit[8]='Liabilities'
explaindebit[8]='An Expense account which normally has a debit balance increases. Since a debit is used to increase an account that normally has a debit balance, an expense account is debited.' 
explaincredit[8]='A Liability account which normally has a credit balance increases. Since a credit is used to increase an account that normally has a credit balance, a liability account is credited.'


transact[9]='ABC bills (prepares an invoice) the customer $80 for the mulch and mowing his yard and receives a check for $80 from the customer.'
debit[9]='Assets'
credit[9]='Revenue'
explaindebit[9]='An Asset account which normally has a debit balance increases. Since a debit is used to increase an account that normally has a debit balance, an asset account is debited.' 
explaincredit[9]='A Revenue account which normally has a credit balance increases. Since a credit is used to increase an account that normally has a credit balance, a revenue account is credited.'



