// JavaScript Document
var saving_image = '../images/business_savings.jpg';
var checking_image = '../images/checking_account.jpg';
var online_banking_image = '../images/online_business_banking.jpg';
var e_statements_image = '../images/estatements2.jpg';
var loan_image = '../images/handshake.jpg';
var rdc_image = '../images/rdc_slim.jpg';
var cdars_image = '../images/cdars_rotated.jpg';
var tax_payment = '../images/tax_payment.jpg';
var cash_management_image = '../images/safe.jpg';

function de_underline()
{
  //	$('compare').innerHTML = 'Compare All';
  $('sb').innerHTML = 'Small Business';
  $('sbi1').innerHTML = 'Small Business';
  $('sbi2').innerHTML = 'Interest Checking';
  $('nonprofit').innerHTML = 'NonProfit Checking';
  $('commercial').innerHTML = 'Commercial Checking';
  

  $('ach').innerHTML = 'ACH Origination';
  $('wire').innerHTML = 'Wire Transfers';
  $('tax').innerHTML = 'Tax Payments';
	
  $('cmoney1').innerHTML = 'Commercial Money';
  $('cmoney2').innerHTML = 'Market Account';
  $('iolta').innerHTML = 'IOLTA';
  $('bcds').innerHTML = 'Certificates of Deposit';
  $('bsavings').innerHTML = 'Business Savings';
  $('cdars').innerHTML = 'CDARS';
  
  $('online_app').innerHTML = 'Online Banking';
  $('bill_pay').innerHTML = 'Business Bill Pay';
  
  $('estatement').innerHTML = 'E-Delivery';
  $('rdc').innerHTML = 'Remote Deposit';
	$('merchant').innerHTML = 'Merchant Services';
  $('lockbox').innerHTML = 'Lockbox Accounts';
  $('sweep').innerHTML = 'Sweep Accounts';
  $('telephone').innerHTML = 'Telephone Banking';
}


function business_checking(type)
{
  var type = type;
  de_underline();
  //alert(type);
  var underline;
  if (type == 'return_home') 
    window.location.href = '../index.php';
  if (type == 'sbi') 
  {
    var underline1 = $('sbi1');
    var underline2 = $('sbi2');
  }
  if (type == 'cmoney_market') 
  {
    var underline1 = $('cmoney1');
    var underline2 = $('cmoney2');
    
  }
  if (type != 'sbi' || type != 'cmoney_market') 
  {
    var underline = $(type);
  }
  var desc = $('description');
  var desc2 = $('description2');
	var product_title = $('product_title');
  var product;
	var message = '';
	desc.innerHTML = '';
	desc2.innerHTML = '';
	product_title.innerHTML = '';
  
  //Start of Checking
  if (type == 'sb') 
  {
    var product = 'Small Business';
    underline.innerHTML = '<u>' + product + '</u>';
    product_title.innerHTML = '<h2 class="headings">' + product + ' Checking</h2>';
    message = '<p>This account is designed for businesses that have limited transactions - 100 items per month or less. Small Business Checking\'s low opening deposit and low minimum balance requirement make it easy to keep your expenses low.<ul><li>$100 minimum to open account</li><li>$10 monthly balance requirement fee</li><li>100 items per statement cycle at no charge; each additional item is $.40</li><li>To avoid monthly balance requirement fee:</li><li style="padding-left:15px;list-style:none">$2,000 minimum daily account balance,</li><li style="padding-left:15px;list-style:none">$10,000 average daily balance in total deposits,</li><li style="padding-left:15px;list-style:none">$25,000 in outstanding loan balances, or</li><li style="padding-left:15px;list-style:none">$10,000 average account balance to also avoid $5.95 Internet Bill Pay fee</li></ul></p>';
    $('product_image').src = checking_image;
  }
  if (type == 'sbi') 
  {
    var product1 = 'Small Business';
    var product2 = 'Interest Checking';
    underline1.innerHTML = '<u>' + product1 + '</u>';
    underline2.innerHTML = '<u>' + product2 + '</u>';
    product_title.innerHTML = '<h2 class="headings">' + product1 + ' ' + product2 + '</h2>';
    message = '<p>If you have a sole proprietorship or eligible non-profit organization, you may benefit from the Small Business Interest Checking account (Federal regulations prohibit banks from offering interest checking for profit partnerships, corporations and professional associations.) If you keep the required minimum balance and have 100 items or less per statement cycle, there is no monthly balance requirement fee on this account.<ul><li>$100 minimum to open account</li><li>$10 monthly balance requirement fee</li><li>To avoid monthly balance requirement fee:</li><li style="padding-left:15px;list-style:none">$4,000 minimum daily account balance,</li><li style="padding-left:15px;list-style:none">$15,000 average daily balance in total deposits,</li><li style="padding-left:15px;list-style:none">$50,000 in outstanding loan balances, or</li><li style="padding-left:15px;list-style:none">$10,000 average account balance to also avoid $5.95 Internet Bill Pay fee</li></ul></p>';
    $('product_image').src = checking_image;
  }
  if (type == 'nonprofit') 
  {
    var product = 'NonProfit Checking';
    underline.innerHTML = '<u>' + product + '</u>';
    product_title.innerHTML = '<h2 class="headings">' + product + '</h2>';
    message = '<p>Providence Bank supports our local non-profits by offering a convenient checking account.  For accounts with 25 or less transactions per month, there is no minimum balance requirement and no monthly service fee.  Ask our account representatives how we can get you enrolled.<ul><li>$100 minimum to open account</li><li>25 debit items per statement cycle at no charge; each additional item is $.30</li><li>To avoid the $5.95 Bill Pay fee:</li><li style="padding-left:15px;list-style:none">$10,000 average daily account balance</li></ul></p>';
    $('product_image').src = checking_image;
  }
  if (type == 'commercial') 
  {
    var product = 'Commercial Checking';
    underline.innerHTML = '<u>' + product + '</u>';
    product_title.innerHTML = '<h2 class="headings">' + product + '</h2>';
    message = '<p>Larger businesses that maintain larger account balances can have an earnings credit applied to their balance each month that, if large enough, can be used to offset charges that may occur on the account. As an added benefit, a sweep feature allows you to earn interest on excess cash balances. You receive the advantage of unlimited checking while reducing your account costs!<ul><li>$100 minimum to open account</li><li>$14 regular monthly maintenance fee (no minimum balances apply)</li><li>$75 Sweep account option</li><li>See analysis fee disclosure for commercial analysis charges</li><ul></p>';
    $('product_image').src = checking_image;
  }
  //END OF CHECKING
  
  if (type == 'cmoney_market') 
  {
    var product1 = 'Commercial Money';
    var product2 = 'Market Account';
    underline1.innerHTML = '<u>' + product1 + '</u>';
    underline2.innerHTML = '<u>' + product2 + '</u>';
    product_title.innerHTML = '<h2 class="headings">' + product1 + ' ' + product2 + '</h2>';
    message = '<p>Keep your funds easily accessible and earn interest at the same time.  With our tiered rates, you can earn a higher interest rate as your balance grows.  By maintaining the required minimum daily balance, you can avoid any monthly service fees.</p><p>With any money market account, by law, you are not permitted to exceed more than six preauthorized transfers to third parties or another account of yours, or a combination of the above, per statement cycle.  These six transactions include checks, drafts, debit cards, or similar order.  You may make unlimited withdrawals or transfers in person, by mail, or through an ATM.</p>';
    $('product_image').src = saving_image;
  }
  if (type == 'iolta') 
  {
    var product = 'IOLTA';
    underline.innerHTML = '<u>' + product + '</u>';
    product_title.innerHTML = '<h2 class="headings">' + product + '</h2>';
    message = '<p>Providence Bank participates in the IOLTA program set up by the North Carolina State Bar for lawyers and law firms. Small or short-term funds are invested in an interest-bearing checking account. Interest earned, less a low monthly balance requirement fee, is sent to the North Carolina State Bar for use in public projects. No minimum balance is required.</p>';
    $('product_image').src = saving_image;
  }
  if (type == 'bsavings') 
  {
    var product = 'Business Savings';
    underline.innerHTML = '<u>' + product + '</u>';
    product_title.innerHTML = '<h2 class="headings">' + product + '</h2>';
    message = '<p>Put your money to work for you with a Business Savings Account from Providence Bank. Your savings and the interest add up! Business Savings allows three withdrawals per statement cycle. There is no monthly balance requirement fee if your account maintains the low, required minimum daily balance.<ul><li>$500 minimum to open account</li><li>$10 monthly balance requirement fee</li><li>Three withdrawals per statement cycle at no charge; each additional withdrawal is $5</li><li>To avoid monthly balance requirement fee,</li><li style="padding-left:15px;list-style:none">$500 minimum daily account balance, or</li><li style="padding-left:15px;list-style:none">$2,500 average daily balance in total deposits (to also avoid per item fee)</li></ul></p>';
    $('product_image').src = saving_image;
  }
  if (type == 'bcds') 
  {
    var product = 'Certificates of Deposits';
    underline.innerHTML = '<u>' + product + '</u>';
    product_title.innerHTML = '<h2 class="headings">' + product + '</h2>';
    message = '<p>Our Certificates of Deposit (CD\'s) offer competitive interest rates and short-or longer-terms that give you the flexibility you need to run your business. Receive a guaranteed interest rate for the term you select. Interest rates are tiered with higher balances receiving a higher rate of interest.</p>';
    $('product_image').src = saving_image;
  }
  if(type == 'cdars'){
		underline.innerHTML = '<u>CDARS</u>';
		product_title.innerHTML = '<h2 class="headings">CDARS </h2>';
		message = '<p>Providence Bank is a member of a special network of banks that can provide you full FDIC coverage on large investments.  When you place money with us, we place your funds into CDs issued by other banks in the same network – in increments of less than the standard FDIC insurance maximum – so that both principal and interest are eligible for complete FDIC protection.  As a result, you receive coverage from many banks while working with just one….Providence Bank!</p><p>An added bonus is that our bank receives funds from other CDARS participants on a dollar-for-dollar exchange which allows Providence to make the full amount of your deposit available for community lending purposes. These loans strengthen our communities by helping the business and customer to grow and expand.</p><p>Simplify your life and reduce the administrative burden of tracking various statements, chasing different bank CD rates, monitoring changing collateral values, and gathering all those tax documents. Deal with one bank, one rate, and one statement.</p> <p><a href="../leaving_site.php?go_to_url=cdars" style="text-decoration:underline;font-size:14px;">Click here</a> for a short video presentation of the CDARS program.</p>'; 
    $('product_image').src = cdars_image;
   }
  if (type == 'commercial_loans') 
  {
    var product = 'Commercial Loans';
    underline.innerHTML = '<u>' + product + '</u>';
    product_title.innerHTML = '<h2 class="headings">' + product + '</h2>';
    message = '<p>A loan from Providence Bank may provide the funds you need to take advantage of your next business opportunity. With Providence Bank\'s flexible terms, competitive interest rates, quick turnaround, and the ability to customize your loan to meet your needs, why look anywhere else?</p><p>Whatever your business credit need is - from working capital or new equipment to commercial real estate, Providence Bank has the expertise to assist you in making the best choice for your business.</p>';
    desc2.innerHTML = 'Below are some of the loans our customers have used before, or let us know what your specific need is and we will tailor a loan for you.<br /><ul>Lines of credit are typically used for:<li>Short-term financing</li><li> Working capital</li><li> Seasonal needs</li></ul><ul>Commercial real estate loans provide financing for:<li>Purchasing or remodeling a building</li><li> New construction</li><li> Expansion</li></ul><ul>A commercial loan can be used to finance:<li>Expansion of your business</li><li>Machinery, equipment, and vehicles</li><li>Leasehold improvements</li></ul><ul>For customers whose business is agriculture, we have loans for:<li>Purchasing farmland and equipment</li><li>Operating lines of credit</li></ul>';
		$('product_image').src = loan_image;
  }
  if (type == 'sba') 
  {
    var product = 'SBA Loans';
    underline.innerHTML = '<u>' + product + '</u>';
    product_title.innerHTML = '<h2 class="headings">' + product + '</h2>';
    message = '<p>Loans for small businesses can be made in association with the Small Business Administration.</p><p>Business Credit Cards - A Business Credit Card from Providence Bank offers many conveniences to small businesses and their owners. This card features a low annual fee, multiple cards on the same account, and a competitive variable interest rate.</p>';
    $('product_image').src = loan_image;
  }
  if(type == 'online_app'){
    product = 'Online Banking';
    underline.innerHTML = '<u>'+product+'</u>';
    product_title.innerHTML = '<h2 class="headings">'+product+'</h2>';
    message = '<p>Need access to your business accounts 24/7?  With our online banking service, you have total access to your financial information wherever you are whenever you need it.  You can pay loans, transfer funds, schedule transactions, download data to your accounting system, reorder checks, send e-mails to your bank….whatever you need.  Because this product offers both transaction capability and information access, you can focus on your business without making planned trips to our locations.</p><p>To see a demo of online banking, <a href="https://server14.cey-ebanking.com/CLKCCM/053112657/login.asp?ID=817687234" target="_blank">click here</a> then click on the Demo button</p><p>Interested? <a href="business_application.php" target="_self">Click here to enroll:</a>'; 
    $('product_image').src= online_banking_image;
   }
   if(type == 'bill_pay'){
    message = '';
		product = 'Business Bill Pay';
    underline.innerHTML = '<u>'+product+'</u>';
    product_title.innerHTML = '<h2 class="headings">'+product+'</h2>';
    message = '<p>We know your time, and the time of your employees, is valuable.  Our Bill Pay option is just the time management tool you need.  With this service, you can receive and pay your bills online either instantly or at the time of your choosing, even up to one year in advance or on a recurring basis.  Business bill pay allows you to enter invoice and/or credit information, review payment activity, and send messages.  Share the responsibilities by delegating employees to perform these functions for you.  You decide who, what, and how much these employees can transact on behalf of the business.</p><p>If you are already enrolled on online banking, click on the Bill Pay tab.  At the login screen, click on <b>Enroll Me</b> to complete the application.  As always, call a local branch and our staff will be happy to assist you.</p>'; 
    $('product_image').src= online_banking_image;
   }
   if(type == 'estatement'){
    product = 'E-Delivery';
    underline.innerHTML = '<u>'+product+'</u>';
    product_title.innerHTML = '<h2 class="headings">'+product+'</h2>';
    message = '<p>Here at Providence Bank, we deliver.  That\'s right!  Within 24 hours after your loan or deposit statement is prepared, we deliver it right to your e-mail address in an encrypted, password-protected file….and we can even send it to eight different e-mail addresses if you\'d like.  No more waiting days for your postal service delivery….AND you can retrieve your statements from wherever you are.  On vacation?  No problem.  On a business trip?  No problem.  Your financial information is wherever you need it to be.  PLUS...each e-statement allows you to access prior statements and check copies back to April 2008.</p><p>Why not have your statements delivered faster, greener, and more secure than ever before!  To activate this free service, have your last paper statement handy and <a href="../leaving_site.php?go_to_url=estatement">click here</a>.</p>'; 
    $('product_image').src = e_statements_image;
   }
   if (type == 'rdc') {
    underline.innerHTML = '<u>Remote Deposit</u>';
    product_title.innerHTML = '<h2 class="headings">Remote Deposit Capture </h2>';
    message = '<p>With a computer, Internet connection, and check scanner, you bring the bank right to your office. Enjoy same day banking till 7:00 pm and never leave your desk.  This technology suits both large and small businesses by saving time and reducing expenses associated with traditional bank deposits. Contact your account representative today and start reaping some of the following benefits:<ul><li>Faster deposit availability</li><li>Reduced return item risk</li><li>Reduced transportation costs and associated risks</li><li>Increased cash management efficiency</li><li>Streamlined banking relationships</li><li>Erasure of geographic boundaries – location doesn\'t matter!</li><li>Extended banking hours</li></ul></p>';
    $('product_image').src = rdc_image;
  }
  if (type == 'telephone') 
  {
    underline.innerHTML = '<u>Telephone Banking</u>';
    product_title.innerHTML = '<h2 class="headings">Telephone Banking</h2>';
    message = '<p>By calling 1-800-379-9840, you will have 24-hour access to your automated account information.  At no charge, you can review account balances, verify checks or deposits, and transfer funds between your Providence Bank accounts.</p>';
    $('product_image').src = saving_image;
  }
	if (type == 'merchant') 
  {
    underline.innerHTML = '<u>Merchant Services</u>';
    product_title.innerHTML = '<h2 class="headings">Merchant Services</h2>';
    message = '<p>Through a business partner, Providence Bank offers you a full range of merchant services including credit cards, debit cards, and commercial cards.   What better way to grow your business than offer your customers a variety of payment choices.</p>';
    $('product_image').src = saving_image;
  }
  if (type == 'sweep') 
  {
    underline.innerHTML = '<u>Sweep Accounts</u>';
    product_title.innerHTML = '<h2 class="headings">Sweep Accounts</h2>';
    message = '<p>Making sure your money is where it can do you the most good is fast and easy with a Providence  Bank Sweep Account.   Talk with your account representative to see how excess funds can be swept out of your account each night to earn interest.</p>';
    $('product_image').src = saving_image;
  }
	if (type == 'lockbox') 
  {
    underline.innerHTML = '<u>Lockbox Accounts</u>';
    product_title.innerHTML = '<h2 class="headings">Lockbox Accounts</h2>';
    message = '<p>With lockbox services, we can help you expedite the clearing of funds so your company can use these funds faster.  Why not reduce the clerical expense of collecting, processing, and depositing these funds by letting us automate this for you.  We\'ll set you up a central post office box and our staff will collect and process all incoming payments for you on a daily basis.  We\'ll do the banking for you and let you focus on your business.</p>';
    $('product_image').src = saving_image;
  }
  if (type == 'ach') 
  {
    underline.innerHTML = '<u>ACH Origination</u>';
    product_title.innerHTML = '<h2 class="headings">ACH Origination</h2>';
    message = '<p>Our online cash management service lets you initiate ACH transactions online in a secure environment.  Here you can schedule payroll deposits for your employees, allowing everyone to receive their funds at the same time.  It doesn\'t matter if they are in the office, on vacation, or at another work site- -- their deposit is in their account when they need it.  You can also initiate single or batch ACH transactions with this feature and even automate the process with user-created templates.   No more checks getting lost in the mail or lost in the shuffle.   This feature can simplify your life!</p>';
    $('product_image').src = cash_management_image;
  }
  if (type == 'wire') 
  {
    underline.innerHTML = '<u>Wire Transfers</u>';
    product_title.innerHTML = '<h2 class="headings">Wire Transfers</h2>';
    message = '<p>Initiate wire transfers quickly and securely right from your computer.  With wire transfer, you can transfer funds from your Providence Bank account to an account at another financial institution.  For recurring transactions, just set up a template. Save time and money with this cash management tool.</p>';
    $('product_image').src = cash_management_image;
  }
  if (type == 'tax') 
  {
    underline.innerHTML = '<u>Tax Payments</u>';
    product_title.innerHTML = '<h2 class="headings">Tax Payments</h2>';
    message = '<p>Use the Tax Payment tool to schedule your regular tax payments.  Click on the drop down list of common tax payments, and you\'re on your way to making those payments.</p>';
    $('product_image').src = tax_payment;
  }

	desc.innerHTML = message;
}
