//the text for the javascript help popups 

var helpPhoneTitle = 'Phone Number Format'
var helpPhone = 'Phone number format is like this: ###-###-####<br />Example: 800-555-1212'
var helpCompanyNameTitle = 'Company Name Format'
var helpCompanyName = 'If you would like a company name to show on your invoice, enter here.  Maximum 50 characters.'
var helpFirstNameTitle = 'First Name Format'
var helpFirstName = 'Letters, dash, space and apostrophe only. Maximum number of characters is 30.'
var helpLastNameTitle = 'Last Name Format'
var helpLastName = 'Letters, dash, space and apostrophe only. Maximum number of characters is 40.'
var helpAddressTitle = 'Address Format'
var helpAddress = 'Enter your address number and street only, example: 2324 Main Street'
var helpCityTitle = 'City Format'
var helpCity = 'Letters, comma, dash and space only. Maximum number of characters is 20.'
var helpStateTitle = 'State Format'
var helpState = 'Use the 2 digit state format, for example ID for Idaho.'
var helpZipTitle = 'Zip Code Format'
var helpZip = 'Use just the 5 digit ZIP Code.'
var helpEmailTitle = 'Email Address Format'
var helpEmail = 'Email address must be formatted with an at sign, @ and have a dot extension.  Example: myemail@somedomain.com'
var helpFirstNameOnCardTitle = 'Billing First Name'
var helpFirstNameOnCard = 'If the name on your account is different than above, enter first first name here. Letters, dash, space and apostrophe only. Maximum number of characters is 30.'
var helpLastNameOnCardTitle = 'Billing Last Name'
var helpLastNameOnCard = 'If the name on your account is different than above, enter the last name here. Letters, dash, space and apostrophe only. Maximum number of characters is 40.'
var helpBillingAddressTitle = 'Billing Address Format'
var helpBillingAddress = 'To process your payment, the system only need the street number and name, do not include any Suite or Apartment numbers.  Example: 3443 Main Street'
var helpBillingCityTitle = 'Billing City Format'
var helpBillingCity = 'Letters, comma, dash and space only. Maximum number of characters is 20.'
var helpBillingStateTitle = 'Billing State Format'
var helpBillingState = 'Select your billing state from the drop down.'
var helpBillingZipTitle = 'Billing Zip Format'
var helpBillingZip = 'Use the 5 digit ZIP Code only, not the additional -4 digits.'
var helpCardNumberTitle = 'Card Number Format'
var helpCardNumber = 'Enter 15 or 16 digits only with no spaces.'
var helpExpirationDateTitle = 'Expiration Date'
var helpExpirationDate = 'Enter your card expiration month and year using the drop downs.'
var helpPaymentAmountTitle = 'Payment Amount'
var helpPaymentAmount = 'Enter the payment amount in whole number with a decimal and cents. Example, to make a $125.00 payment, enter 125.00 only.'
var helpInvoiceNumberTitle = 'Invoice Number'
var helpInvoiceNumber = 'If you are paying a particular invoice, enter it here so it will be printed on your payment receipt.'



function ShowHelp(id, title, desc){
div = document.getElementById(id);
div.style.display = 'inline';
div.style.position = 'absolute';
div.style.width = '200';
div.style.float = 'left';
div.style.backgroundColor = '#561313';
div.style.border = 'solid 1px #000000';
div.style.padding = '5px';
div.style.color = '#ffffff';
div.style.fontFamily = 'Verdana, Arial';
div.style.fontSize = '11px';
div.style.textAlign = 'left';
div.innerHTML = '<span style="font-weight:bold;text-decoration:underline">' + title + '</span><br />' + desc;
}

function HideHelp(id)
{
div = document.getElementById(id);
div.style.display = 'none';
}