





// Create arrays of articles
syndicate.article_title = new Array;
syndicate.article_url = new Array;
syndicate.article_date = new Array;
syndicate.article_summary = new Array;
syndicate.article_content = new Array;

// This section of the script is published by the software
syndicate.index = 0;
  syndicate.article_title[ syndicate.index ] = 'Tax Tip: What if I can\'t file on time?';
  syndicate.article_url[ syndicate.index ] = 'http://www.expeditersonline.com/trucking/Dollars_amp_Sense_5/What_if_I_can_t_file_on_time.html';
  syndicate.article_date[ syndicate.index ] = 'Apr 14, 2009 - 12:30:33 PM';
  syndicate.article_summary[ syndicate.index ] = 'By filing the extension, you will eliminate a late filing penalty.  However, an extension is not an extension of time to pay taxes due.  So if you are going to owe taxes, you should send in the money along with your extension so you can avoid or reduce underpayment penalties.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Tax Time Tidbits for 2008';
  syndicate.article_url[ syndicate.index ] = 'http://www.expeditersonline.com/trucking/Dollars_amp_Sense_5/Tax_Time_Tidbits_for_2008.html';
  syndicate.article_date[ syndicate.index ] = 'Mar 30, 2009 - 9:55:05 AM';
  syndicate.article_summary[ syndicate.index ] = 'Many drivers forget the small stuff either because they are not aware of the deduction or because they don’t thing the deduction is big enough to matter. Generally speaking, all money spent to realize your income and to operate your truck is deductible.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'TAX TIP: retirement credit and mortgage help';
  syndicate.article_url[ syndicate.index ] = 'http://www.expeditersonline.com/trucking/Dollars_amp_Sense_5/TAX_TIP_retirement_credit_and_mortgage_help.html';
  syndicate.article_date[ syndicate.index ] = 'Mar 11, 2009 - 8:19:39 AM';
  syndicate.article_summary[ syndicate.index ] = 'A tax tip for tax season from PBS Tax & Bookkeeping Service, your trucking specialist.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'TAX TIP: Get a jump on your taxes';
  syndicate.article_url[ syndicate.index ] = 'http://www.expeditersonline.com/trucking/Dollars_amp_Sense_5/TAX_TIP_Get_a_jump_on_your_taxes.html';
  syndicate.article_date[ syndicate.index ] = 'Mar 4, 2009 - 7:26:36 AM';
  syndicate.article_summary[ syndicate.index ] = 'Here is a handy checklist you can use to help get a head start with your taxes this year.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'It\'s Tax Time Again!';
  syndicate.article_url[ syndicate.index ] = 'http://www.expeditersonline.com/trucking/Dollars_amp_Sense_5/It_s_Tax_Time_Again.html';
  syndicate.article_date[ syndicate.index ] = 'Feb 4, 2009 - 9:46:29 AM';
  syndicate.article_summary[ syndicate.index ] = 'The best way to get started is by getting together all your income and expense records for 2008 for your accountant. If you’re handling it yourself add up the totals for the year breaking down your expenses by category. When gathering expense information be sure to include all checks written, credit card charges, cash expenses and any expenses reflected on your settlement statements.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The Hidden Tax and Getting Your Own Authority';
  syndicate.article_url[ syndicate.index ] = 'http://www.expeditersonline.com/trucking/Dollars_amp_Sense_5/The_Hidden_Tax_and_Getting_Your_Own_Authority.html';
  syndicate.article_date[ syndicate.index ] = 'Oct 23, 2008 - 1:08:43 PM';
  syndicate.article_summary[ syndicate.index ] = 'You’ve obtained your own authority, now what? Here are a few things to consider. Make sure you’re operating legally. You are now responsible for all licensing, registration, permitting and insurance for your equipment and your business.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'An Industry Analysis';
  syndicate.article_url[ syndicate.index ] = 'http://www.expeditersonline.com/trucking/Dollars_amp_Sense_5/An_Industry_Analysis.html';
  syndicate.article_date[ syndicate.index ] = 'Oct 14, 2008 - 9:23:35 AM';
  syndicate.article_summary[ syndicate.index ] = '\"This economic situation is serious; companies (expedited carriers) have to take a look at their expenses and if they haven\'t already done it, pare back their fleet.  They have to look at their fleet and determine who are the best drivers and keep them moving.  Those drivers who haven\'t been taking the loads and pulling their weight have to go.\"  <br/>\n<br/>\n\"The smart companies also re-examine their customer base and they look for those accounts that are not paying on time or that have a low margin.  By the same token however, it\'s tough to pull back the discounted rates that the carriers have offered their customers because there are so many trucking companies looking for business.\" - Stu Sutton';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Fuel Savings';
  syndicate.article_url[ syndicate.index ] = 'http://www.expeditersonline.com/trucking/Dollars_amp_Sense_5/Fuel_Savings.html';
  syndicate.article_date[ syndicate.index ] = 'Oct 6, 2008 - 10:01:28 AM';
  syndicate.article_summary[ syndicate.index ] = 'It’s true you can get more mileage per gallon with a newer more fuel efficient aerodynamic truck. You would also be able to save on repairs and downtime. Therefore, I will ask you a question. Does the savings in fuel cost, repairs and downtime more than offset the increase payments of a new rig? In other words, are you in a better financial situation?';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Filling The Empty Miles';
  syndicate.article_url[ syndicate.index ] = 'http://www.expeditersonline.com/trucking/Dollars_amp_Sense_5/empty-miles-filled.html';
  syndicate.article_date[ syndicate.index ] = 'Oct 6, 2008 - 9:52:39 AM';
  syndicate.article_summary[ syndicate.index ] = 'Jim Van and Dee Coston are feeling the pinch. The couple, who team as independent owner operators with locations in Spring Hill, FL and Hubert, NC, has seen diesel fuel rise from 30% to just over 50% of their total operating expenses - and Jim and Dee are not alone. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Protecting Your Assets';
  syndicate.article_url[ syndicate.index ] = 'http://www.expeditersonline.com/trucking/Dollars_amp_Sense_5/Protecting_Your_Assets.html';
  syndicate.article_date[ syndicate.index ] = 'Aug 21, 2008 - 7:19:40 AM';
  syndicate.article_summary[ syndicate.index ] = 'When it comes to protecting your assets there is no single iron clad action you can do to protect yourself completely. It’s more about layers of protection and adequate planning.<br/>\n';
  syndicate.index++;




// Set defaults for arguments if user hasn't set them
if (syndicate.title_fontface == null)    { syndicate.title_fontface = 'Geneva, Arial, sans-serif'; }
if (syndicate.title_fontsize == null)    { syndicate.title_fontsize = '2'; }
if (syndicate.title_fontcolor == null)   { syndicate.title_fontcolor = '#003399'; }
if (syndicate.title_fontbold == null)    { syndicate.title_fontbold = true; }
if (syndicate.title_fontital == null)    { syndicate.title_fontital = false; }
if (syndicate.date_fontface == null)     { syndicate.date_fontface = 'Geneva, Arial, sans-serif'; }
if (syndicate.date_fontsize == null)     { syndicate.date_fontsize = '1'; }
if (syndicate.date_fontcolor == null)    { syndicate.date_fontcolor = '#6699cc'; }
if (syndicate.date_fontbold == null)     { syndicate.date_fontbold = false; }
if (syndicate.date_fontital == null)     { syndicate.date_fontital = false; }
if (syndicate.date_fontunder == null)    { syndicate.date_fontunder = false; }
if (syndicate.summary_fontface == null)  { syndicate.summary_fontface = 'Geneva, Arial, sans-serif'; }
if (syndicate.summary_fontsize == null)  { syndicate.summary_fontsize = '2'; }
if (syndicate.summary_fontcolor == null) { syndicate.summary_fontcolor = '#6699cc'; }
if (syndicate.summary_fontbold == null)  { syndicate.summary_fontbold = false; }
if (syndicate.summary_fontital == null)  { syndicate.summary_fontital = false; }
if (syndicate.summary_fontunder == null) { syndicate.summary_fontunder = false; }

if (syndicate.title_maxlength == null)   { syndicate.title_maxlength = 0; }
if (syndicate.summary_maxlength == null) { syndicate.summary_maxlength = 0; }

if (syndicate.bgcolor == null)           { syndicate.bgcolor = '#ffffff'; }
if (!syndicate.max_articles)             { syndicate.max_articles = syndicate.article_title.length; }  // !syndicate.max_articles catches null and zero
if (syndicate.display_date == null)      { syndicate.display_date = true; }
if (syndicate.display_summaries == null) { syndicate.display_summaries = true; }


// Don't allow user to display too many articles
if (syndicate.max_articles > syndicate.article_title.length) {
  syndicate.max_articles = syndicate.article_title.length;
}

/*
//Function to crop text on word boundaries
function crop_text(text, max_length) {

  // If the string is already small enough, return it unscathed
  if (text.length <= max_length) { return( text ); }

  // If the user has specified a length of 0, it means he wants the whole thing
  if (max_length == 0) { return( text ); }

  // Start looking for a space, leaving space for an elipsis on the end
  var test_length = (max_length - 3);
  if (test_length < 1) { return( '...' ); }   // max_length too small
  while (text.charAt(test_length) != ' ') {
    test_length--;

    // If we didn't find any spaces to break on, return the string broken at max_length
    if (test_length == 0) { return( text.substring(0, max_length - 3) + '...' ); }
  }

  return text.substring(0, test_length) + '...';
}
*/

// List our articles, stopping if the user doesn't want any more
for ( syndicate.index = 0; syndicate.index < syndicate.max_articles ; syndicate.index++ ) {

  /*syndicate.article_title[syndicate.index] = crop_text(syndicate.article_title[syndicate.index], syndicate.title_maxlength);
  syndicate.article_summary[syndicate.index] = crop_text(syndicate.article_summary[syndicate.index], syndicate.summary_maxlength);*/

  document.write('<tr><td bgcolor="' + syndicate.bgcolor + '">');
  document.write('<a href="' + syndicate.article_url[syndicate.index] + '" target="_blank">');
  if (syndicate.title_fontbold)  { document.write('<b>'); }
  if (syndicate.title_fontital)  { document.write('<i>'); }
  document.write('<font color="' + syndicate.title_fontcolor + '" face="' + syndicate.title_fontface + '" size="' + syndicate.title_fontsize + '"');
  if (syndicate.title_style)     { document.write(' style="' + syndicate.title_style + '"'); }
  document.write('>');
  document.write(syndicate.article_title[syndicate.index]);
  document.write('<br></font>');
  if (syndicate.title_fontital)  { document.write('</i>'); }
  if (syndicate.title_fontbold)  { document.write('</b>'); }
  document.write('</a>');

  if (syndicate.display_date) {
    if (syndicate.date_fontbold)  { document.write('<b>'); }
    if (syndicate.date_fontital)  { document.write('<i>'); }
    if (syndicate.date_fontunder) { document.write('<u>'); }
    document.write('<font color="' + syndicate.date_fontcolor + '" face="' + syndicate.date_fontface + '" size="' + syndicate.date_fontsize + '"');
    if (syndicate.date_style)     { document.write(' style="' + syndicate.date_style + '"'); }
    document.write('>');
    document.write(syndicate.article_date[syndicate.index]);
    document.write('<br></font>');
    if (syndicate.date_fontunder) { document.write('</u>'); }
    if (syndicate.date_fontital)  { document.write('</i>'); }
    if (syndicate.date_fontbold)  { document.write('</b>'); }
  }

  if (syndicate.display_summaries) {
    if (syndicate.summary_fontbold)  { document.write('<b>'); }
    if (syndicate.summary_fontital)  { document.write('<i>'); }
    if (syndicate.summary_fontunder) { document.write('<u>'); }
    document.write('<font color="' + syndicate.summary_fontcolor + '" face="' + syndicate.summary_fontface + '" size="' + syndicate.summary_fontsize + '"');
    if (syndicate.summary_style)     { document.write(' style="' + syndicate.summary_style + '"'); }
    document.write('>');
    document.write(syndicate.article_summary[syndicate.index]);
    document.write('<br></font>');
    if (syndicate.summary_fontunder) { document.write('</u>'); }
    if (syndicate.summary_fontital)  { document.write('</i>'); }
    if (syndicate.summary_fontbold)  { document.write('</b>'); }
  }

  document.write('</td></tr>\n');
}

// If you want your Webfeeds to be branded, uncomment the following lines.
// To do this, remove the // at the beginning of the next five lines:

document.write('<tr><td bgcolor="' + syndicate.bgcolor + '">');
document.write('<a href="#" target="_blank">');
document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
document.write('<p><b>Powered by ExpeditersOnline.com</b></font></a>');
document.write('<br><br></b></font></td></tr>\n');
