



// 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 ] = '\'Elvis Presley And Nancy Sinatra On The Speedway\' Book from JAT Productions';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/books/speedway_book_from_jat_productions.shtml';
  syndicate.article_date[ syndicate.index ] = 'August 1, 2010 - 8:59:47 PM';
  syndicate.article_summary[ syndicate.index ] = 'As a follow up to the hugely popular&nbsp;<a href=\"http://shop.elvis.com.au/category12_1.htm\"><strong>Viva Las Vegas</strong></a><strong>&nbsp;</strong>book, JAT Productions&nbsp;will release&nbsp;\'Elvis Presley And Nancy Sinatra On The Speedway\'. The&nbsp;<strong><a class=\"style9\" href=\"http://shop.elvis.com.au/category12_1.htm\">Viva Las Vegas!</a></strong> hardcover book features unreleased world premiere photographs of Elvis and Ann-Margret on the set and on the town. <strong><a href=\"http://www.elvis.com.au/presley/books/speedway_book_from_jat_productions.shtml\">View the cover art</a></strong>.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Boxcar, Elvis \'77 : The Final Curtain : Teaser Trailer';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/bootlegs/boxcar_teaser_trailer.shtml';
  syndicate.article_date[ syndicate.index ] = 'August 1, 2010 - 7:36:37 PM';
  syndicate.article_summary[ syndicate.index ] = '<strong>Boxcar</strong> (\'<strong><a href=\"http://www.elvis.com.au/presley/bootlegs/dvd_elvis_thats_the_way_it_is_the_complete_shows.shtml\">Elvis&nbsp;: That\'s the Way It Is : The Complete Shows</a></strong>\', \'<strong><a href=\"http://www.elvis.com.au/presley/bootlegs/review_showroom_internationale_2_cd_book_set.shtml\">Showroom Internationale</a></strong>\', \'<strong><a href=\"http://www.elvis.com.au/presley/bootlegs/dayton_reloaded_deluxe_2_cd_box_set.shtml\">Dayton Reloaded</a></strong>\') have released a <a href=\"http://video.elvispresley.com.au/\">\n	<img border=\"0\" alt=\"Elvis Presley Video\" align=\"absMiddle\" src=\"http://photos.elvispresley.com.au/images/video.gif\" width=\"16\" height=\"16\" /></a> <a class=\"style9\" href=\"javascript:PL_Layer(\'\',\'http://www.elvispresleymusic.com.au/video/popup/boxcar_1977_the_final_curtain.html\',540,390,0,150,100,\'solid\',1,\'#555556\',\'#000000\',\'#000000\',100,0,0,0,0,1,0,2,660,15,\'#68838b\',\'#68838b\',0,\'#000000\',\'#000000\',\'\',0,\'http://www.elvis.com.au/presley/style/images/layer_close.gif\',\'http://www.elvis.com.au/presley/style/images/layer_close_over.gif\',\'\',\'\',\'\',\'\',1,2,\'\',0,0,10,4,0,1,10,100,\'video\')\"><strong>Preview: Teaser Trailer</strong></a> \n<img border=\"0\" alt=\"Pop Up Window\" src=\"http://photos.elvispresleymusic.com.au/images/pop_up.gif\" width=\"12\" height=\"9\" />&nbsp;(00:46) for an upcoming release, <strong>what is it?</strong>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Elvis Fool FTD Special Edition 2 CD Set + Boston Garden Soundboard CD';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/cd/ftd_elvis_fool_boston_garden.shtml';
  syndicate.article_date[ syndicate.index ] = 'August 1, 2010 - 12:27:07 PM';
  syndicate.article_summary[ syndicate.index ] = '<strong><a href=\"http://shop.elvis.com.au/category1_1.htm\">FTD</a></strong> will release the soundboard of the November 10, 1971 <strong><a href=\"http://shop.elvis.com.au/category1_1.htm\">Boston Garden</a></strong> Show (no official title, 5\" CD, Sep 14 2010) as this is the only available show from the early tours of the seventies. We believe that this is of such historical importance, that it should be available to everyone. This will be a 5\" digipack with a photo booklet. On the same date, FTD will also release a 2-CD set of <a href=\"http://shop.elvis.com.au/category1_1.htm\"><strong>Elvis: Fool</strong></a><strong> </strong>(2CD 7\" CD, Sep 14 2010) in the <strong><a href=\"http://shop.elvis.com.au/category136_1.htm\">Classic Album</a></strong> series. This will feature a 7\" digi-pack with an 8-page booklet. Both are due out September 14.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The Complete Elvis Presley Masters: 30 CD Limited Edition Box Set';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/cd/the_complete_elvis_presley_masters_30_cd_box_set.shtml';
  syndicate.article_date[ syndicate.index ] = 'July 28, 2010 - 1:23:41 PM';
  syndicate.article_summary[ syndicate.index ] = '<strong>The Complete Elvis Presley Masters</strong>, a 30 CD limited edition box set (1000 sets) is now officially announced. As we first told you in September 2008, the set will include every Elvis Presley master recording released during his lifetime, presented in chronological order for the first time (711 original masters)&nbsp;plus an extra&nbsp;103 rarities. The set will include a 240-page hardcover book with complete discography produced exclusively for this collection. Ernst &nbsp;Jorgensen will reveal the full details of this project in Memphis on August 14.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Elvis On Screen: A Dozen Favorites';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/elvis_on_screen_a_dozen_favorites.shtml';
  syndicate.article_date[ syndicate.index ] = 'July 28, 2010 - 10:06:02 AM';
  syndicate.article_summary[ syndicate.index ] = 'Roger Ebert wrote in 1968 that \'Speedway is the late show of 20 years from now\'. While Ebert meant it in a derogatory way, he did at least hit on one key thing about the films of Elvis Presley, and that is that <strong>they have indeed survived</strong>. More than survived, they have <strong>prospered</strong> and despite the suspect quality of some of them, for millions of people all over the world they continue to resonate far more than most \'great\' movies you care to name. I would argue though that there are some really good movies ...';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Review: Elvis Presley Special Edition FTD 2 CD Set';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/reviews/cd_review_elvis_presley_special_edition_cd.shtml';
  syndicate.article_date[ syndicate.index ] = 'July 26, 2010 - 10:44:14 PM';
  syndicate.article_summary[ syndicate.index ] = 'Elvis Presley\'s self-titled first LP is unarguably one of the most important albums in rock history. Not only is it the first album by the genre\'s most successful and influential figure, but it is also the first genuine smash LP of the rock era. Its success in the spring and summer of 1956 would signal that it would be the long player and not the single that would come to dominate the sixties and onwards.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Review : Return of the King: Elvis Presley\'s Great Comeback Book';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/reviews/review_return_of_the_king.shtml';
  syndicate.article_date[ syndicate.index ] = 'July 25, 2010 - 5:45:55 PM';
  syndicate.article_summary[ syndicate.index ] = '<strong><a href=\"http://shop.elvis.com.au/category102_1.htm\">Return Of The King</a></strong>&nbsp;is a well written and researched effort by Gaar, that also contains just enough new information to qualify as a welcome addition to any Elvis fan\'s library. It is also one of the more engrossing reads about Elvis\' \'comeback years\' to come down the pike in awhile.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'You Don\'t Have To Say You Love Me CD : Two-Mike Ambience Live Recording';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/bootlegs/cd_you_don_t_have_to_say_you_love_me.shtml';
  syndicate.article_date[ syndicate.index ] = 'July 25, 2010 - 4:37:06 PM';
  syndicate.article_summary[ syndicate.index ] = 'The follow up to Straight Arrow\'s <strong><a href=\"http://www.elvis.com.au/presley/bootlegs/cd_faded_love.shtml\">Faded Love</a></strong>&nbsp;CD is \'You Don\'t Have To Say You Love Me\' due for release in early August.&nbsp;The showdate is February 21, 1973 D.S. Like \'Faded Love\' it is a two mike ambience recording.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'FTD Releases for 2010';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/ftd_releaases_for_2010.shtml';
  syndicate.article_date[ syndicate.index ] = 'July 25, 2010 - 1:25:51 PM';
  syndicate.article_summary[ syndicate.index ] = 'FTD have announced the upcoming releases for 2010. Last week, some of the new releases were already announced, prior to the official message from FTD. The releases that are planned at this stage are ...';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'The Priceless Gift : To Lisa Marie from Daddy';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/the_priceless_gift.shtml';
  syndicate.article_date[ syndicate.index ] = 'July 24, 2010 - 1:03:00 AM';
  syndicate.article_summary[ syndicate.index ] = 'Janelle McComb of Tupelo, Mississippi was a good friend to Elvis and his family for many years. On several occasions Elvis asked her to lend her unique talents to record his feelings in verse. <em>The Priceless Gift</em>, a birthday poem for his daughter Lisa, was one of those occasions. Lisa\'s copy is displayed at Graceland.';
  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('<br></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="http://www.elvis.com.au" target="_blank">');
document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
document.write('<p><b>Powered by Elvis Australia</b></font></a>');
document.write('<br><br></b></font></td></tr>\n');
