//Auto auto

var calcAutoConfig=new Array();
calcAutoConfig['div_auto_id_toc']='calc_toc';
calcAutoConfig['div_auto_id_content']='calc_content';

//Form Titles
calcAutoConfig['definitions_auto_payment_title']='How much will my car payments be?';
calcAutoConfig['definitions_auto_amount_title']='How much car can I afford?';
calcAutoConfig['definitions_auto_term_title']='What car loan term should I pick?';

//Table of Contents Definitions
calcAutoConfig['definitions_headline_toc']='Auto Loans';
calcAutoConfig['definitions_auto_payment_toc']='<a href="javascript: auto_payment(\''+calcAutoConfig['definitions_auto_payment_title']+'\',true);"><span>'+calcAutoConfig['definitions_auto_payment_title']+'</span></a>';
calcAutoConfig['definitions_auto_amount_toc']='<a href="javascript: auto_amount(\''+calcAutoConfig['definitions_auto_amount_title']+'\',true);"><span>'+calcAutoConfig['definitions_auto_amount_title']+'</span></a>';
calcAutoConfig['definitions_auto_term_toc']='<a href="javascript: auto_term(\''+calcAutoConfig['definitions_auto_term_title']+'\',true)"><span>'+calcAutoConfig['definitions_auto_term_title']+'</span></a>';

//Errors
calcAutoConfig['definitions_auto_generic_error']='<strong>Invalid Entry - Try a Different Rate.</strong>';
calcAutoConfig['definitions_auto_payment_error']='<span>Payment: </span><strong>Invalid Entry</strong>';
calcAutoConfig['definitions_auto_amount_error']='<span>Purchase Price: </span><strong>Invalid Entry</strong>';
calcAutoConfig['definitions_auto_term_error']='<span>Term: </span><strong>Too Many Months - Try Increasing Payment.</strong>';

//Form Fields
calcAutoConfig['definitions_auto_payment_formfield']='<label><span>Payment: </span> <em>$</em><input type="text" id="auto_payment" name="auto_payment" value="" /><em>per month</em></label>';
calcAutoConfig['definitions_auto_down_formfield']='<label><span>Total Amount of Down Payment and Trade In: </span><em>$</em><input type="text" id="auto_down" name="auto_down" value="" /></label>';
calcAutoConfig['definitions_auto_amount_formfield']='<label><span>Purchase Price: </span> <em>$</em><input type="text" id="auto_amount" name="auto_amount" value="" /></label>';
calcAutoConfig['definitions_auto_term_formfield']='<label><span>Loan Term in Months: </span><input type="text" id="auto_term" name="auto_term" value="" /></label>';
calcAutoConfig['definitions_auto_rate_formfield']='<label><span>Loan Rate: </span><input type="text" id="auto_rate" name="auto_rate" value="" /><em>%</em></label>';

//Calculate Buttons
calcAutoConfig['definitions_auto_payment_calculate']='<label><span></span><input type="button" name="" value="Calculate" onclick="auto_payment_calculate();" /></label>';
calcAutoConfig['definitions_auto_amount_calculate']='<label><span></span><input type="button" name="" value="Calculate" onclick="auto_amount_calculate();" /></label>';
calcAutoConfig['definitions_auto_term_calculate']='<label><span></span><input type="button" name="" value="Calculate" onclick="auto_term_calculate();" /></label>';

var toc_auto_object=document.getElementById(calcAutoConfig['div_auto_id_toc']);
toc_auto_object.innerHTML=toc_auto_object.innerHTML+output_auto_toc();

