



// 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 ] = 'Video : ABC TV Interview with Lisa Marie Presley';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/video_lisa_marie_presley_interview_abc.shtml';
  syndicate.article_date[ syndicate.index ] = 'February 1, 2012 - 11:33:24 PM';
  syndicate.article_summary[ syndicate.index ] = 'Lisa Marie Presley is celebrating her birthday today in Memphis where she also opened the new expo \'Elvis : Through His Daugthers Eyes\' that will be on display for the next two years. Because of this event, ABC News interviewed Lisa and she talks about her dad, her upcoming album and takes the reporter behind the scenes in the Graceland archives. Lisa Marie Presley opened the new exhibit yesterday at Elvis Presley\'s Graceland in Memphis as part of a yearlong commemoration the 35th anniversary year.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Photos : Elvis Presley : January 18-22, 1971 : Trousdale Estates';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/elvis_presley_january_18-22_1971_trousdale_estates.shtml';
  syndicate.article_date[ syndicate.index ] = 'February 1, 2012 - 8:29:19 AM';
  syndicate.article_summary[ syndicate.index ] = '<a href=\"http://photos.elvispresley.com.au/\">\n	<img border=\"0\" alt=\"Elvis Presley Photos\" align=\"absMiddle\" src=\"http://design.elvispresleymusic.com.au/images/camera.gif\" width=\"16\" height=\"16\" /></a> <strong><a href=\"http://www.elvispresleymusic.com.au/pictures/1971_january_18_22_trousdale_estates.html\">Elvis Presley : January 18-22, 1971 : Trousdale Estates</a></strong>.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'FTD Book Announcement';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/ftd_book_announcement.shtml';
  syndicate.article_date[ syndicate.index ] = 'January 31, 2012 - 5:35:20 PM';
  syndicate.article_summary[ syndicate.index ] = '<span class=\"style1\"><span class=\"style1\"><a class=\"style9\" href=\"http://shop.elvis.com.au/category137_1.htm\">FTD Books</a> and Flaming Star have joined forces again in order to streamline the production, sales and distribution of the <strong>Elvis Presley In Hollywood</strong> book series, the first of which is <a href=\"http://shop.elvis.com.au/category12_1.htm\"><strong>King Creole : Frame By Frame</strong></a> with a release date of <strong>February 7</strong> and followed by <strong><a href=\"http://shop.elvis.com.au/category12_1.htm\">Jailhouse Rock : Frame By Frame</a></strong> on <strong>March 6</strong> along with the very exciting release of <a class=\"style9\" href=\"http://shop.elvis.com.au/category1_1.htm\">On Stage</a> 2-Disc in the <a href=\"http://shop.elvis.com.au/category136_1.htm\">FTD 7\" Classic Album Series</a> [This will arguably be FTDs best release to-date in terms of unreleased high quality recordings] and <a class=\"style9\" href=\"http://shop.elvis.com.au/category1_1.htm\">Our Memories Od Elvis</a> a 2-Disc 5\" version of the original albums with a full CD of unreleased material and a 12\" double vinyl release.</span></span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Such a Night in Pearl Harbor Audio Samples';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/cd_such_a_night_in_pearl_harbor_audio_samples.shtml';
  syndicate.article_date[ syndicate.index ] = 'January 30, 2012 - 3:11:31 PM';
  syndicate.article_summary[ syndicate.index ] = 'Here we have some amazing \n<img border=\"0\" alt=\"Elvis MP3 Audio\" align=\"absMiddle\" src=\"http://design.elvispresleymusic.com.au/images/audio_mp3.gif\" width=\"16\" height=\"16\" />&nbsp;<strong><a href=\"http://shop.elvis.com.au/prod144.htm\">audio samples</a></strong> from the <strong>Such a Night in Pearl Harbor&nbsp;CD</strong>, 13 minutes in total&nbsp;and as promised the quality is of this concert is far superior than anything of this ever released before ...';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'On Stage : February, 1970 FTD Classic Album 2 CD';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/cd/cd_on_stage_february_1970_ftd_classic_album.shtml';
  syndicate.article_date[ syndicate.index ] = 'January 29, 2012 - 9:00:44 AM';
  syndicate.article_summary[ syndicate.index ] = '<span class=\"style1\">On <strong>March 6</strong> <a class=\"style9\" href=\"http://shop.elvis.com.au/category1_1.htm\">FTD</a> will release a comprehensive <strong><a class=\"style9\" href=\"http://shop.elvis.com.au/category1_1.htm\">On Stage : February, 1970</a></strong> in the 7\" <a href=\"http://shop.elvis.com.au/category136_1.htm\">Classic Album series</a> including a CDs worth of unreleased material from the FTD vaults. </span>The <strong><a href=\"http://shop.elvis.com.au/category1_1.htm\">On Stage : February, 1970</a></strong> album will be a 2-Disc 7\" digipack as usual with a 12-page booklet. In addition to the Original Album the set will include <strong>all RCA\'s recordings from three of the shows recorded</strong>. <a href=\"http://www.elvis.com.au/presley/cd/cd_on_stage_february_1970_ftd_classic_album.shtml\">View full tracklisting and additional release details</a>.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Our Memories Of Elvis is a 2-Disc 5\" version of the original albums from FTD';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/cd/cd_our_memories_of_elvis_ftd.shtml';
  syndicate.article_date[ syndicate.index ] = 'January 29, 2012 - 8:58:23 AM';
  syndicate.article_summary[ syndicate.index ] = '<span class=\"style1\">On <strong>March 6</strong> <a class=\"style9\" href=\"http://shop.elvis.com.au/category1_1.htm\">FTD</a> will release a <strong><a class=\"style9\" href=\"http://shop.elvis.com.au/category1_1.htm\">Our Memories Of Elvis</a></strong>, a double CD [5\"] with the second CD containing <strong>all</strong> unreleased material. </span>In addition ... \n<img border=\"0\" alt=\"Note!\" align=\"absMiddle\" src=\"http://design.elvispresleymusic.com.au/images/note_tr.gif\" width=\"16\" height=\"16\" /> an added bonus of the previously unreleased Volume 3 LP master tape, as well as \n<img border=\"0\" alt=\"Note!\" align=\"absMiddle\" src=\"http://design.elvispresleymusic.com.au/images/note_tr.gif\" width=\"16\" height=\"16\" /> six more cuts that series producer Joan Deary had prepared at the time. This will come with \n<img border=\"0\" alt=\"Note!\" align=\"absMiddle\" src=\"http://design.elvispresleymusic.com.au/images/note_tr.gif\" width=\"16\" height=\"16\" /> a 12-page booklet of memorabilia and photos. The \'undubbed\' Elvis has always been a favourite with many fans, and listening to these again, is an experience full of pleasant surprises.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'His Hand In Mine FTD 12\" Vinyl Double LP';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/his_hand_in_mine_ftd_12_vinyl_double_lp.shtml';
  syndicate.article_date[ syndicate.index ] = 'January 29, 2012 - 7:58:25 AM';
  syndicate.article_summary[ syndicate.index ] = '<span class=\"style1\">On <strong>March 6</strong> <a class=\"style9\" href=\"http://shop.elvis.com.au/category1_1.htm\">FTD</a> will release <strong class=\"style9\"><a href=\"http://shop.elvis.com.au/category111_1.htm\">His Hand In Mine FTD 12\" Vinyl Double LP</a></strong></span><span class=\"style1\"> along with a comprehensive <strong><a class=\"style9\" href=\"http://shop.elvis.com.au/category1_1.htm\">On Stage : February, 1970</a></strong> in the 7\" Classic Album series including a CDs worth of unreleased material from the FTD vaults, <strong><a class=\"style9\" href=\"http://shop.elvis.com.au/category1_1.htm\">Our Memories Of Elvis</a></strong> double CD [5\"] with the second CD containing <strong>all</strong> unreleased material.</span>';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Such A Night in Pearl Harbor MRS CD / Deluxe Book';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/cd/cd_such_a_night_in_pearl_harbor.shtml';
  syndicate.article_date[ syndicate.index ] = 'January 24, 2012 - 2:06:47 PM';
  syndicate.article_summary[ syndicate.index ] = '<span class=\"style1\"><a class=\"style9\" href=\"http://shop.elvis.com.au/category52_1.htm\">Memphis Recording Service</a> in association with <a class=\"style9\" href=\"http://shop.elvis.com.au/category63_1.htm\">JAT Productions</a> will release the next Elvis Presley titled \'<strong><a href=\"http://shop.elvis.com.au/category2_1.htm\">Such A Night in Pearl Harbor</a></strong>\' in March 2012. It will contain a completely new re-mastered CD of Elvis\' performance of the benefit concert recorded at Pearl Harbor, Hawaii on March 25th 1961 to aid of the USS Arizona Memorial Fund.<strong> The quality is of this concert is far superior than anything of this ever released before </strong>and will now be considered, one of the best Elvis concert recordings up until that time.</span> This CD is presented exactly the same as the MRS releases : <strong><a href=\"http://shop.elvis.com.au/prod190.htm\">The Complete Louisiana Hayride Archives 1954-1956</a></strong>, <strong><a href=\"http://shop.elvis.com.au/prod7.htm\">Off Duty With Private Presley Book Deluxe CD set</a>&nbsp;</strong>&amp; <strong><a href=\"http://shop.elvis.com.au/prod504.htm\">Tupelo Welcomes Home Elvis Presley Deluxe CD set</a></strong>.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Elvis Presley \'Re:Loaded\' CD by DJ Spankox';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/cd/cd_elvis_presley_re_loaded_by_dj_spankox.shtml';
  syndicate.article_date[ syndicate.index ] = 'January 23, 2012 - 2:48:26 PM';
  syndicate.article_summary[ syndicate.index ] = '<span class=\"style1\">A new Elvis Presley CD album by Italian <strong>DJ Spankox</strong> will be released at the end of this month. It is titled <strong><a href=\"http://shop.elvis.com.au/category2_1.htm\">Elvis Presley \'Re:Loaded\'</a></strong> and includes ten never released before remixed Elvis tracks. The first CD print of the album will be a special limited deluxe edition. </span>The tracklist consists of new remixed versions of ten Elvis Presley\'s songs featuring the King\'s original vocals, carefully restored and enhanced using the latest technologies for the best possible listening experience on modern stereo systems.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Didn\'t Have To Die';
  syndicate.article_url[ syndicate.index ] = 'http://www.elvis.com.au/presley/didnt_have_to_die.shtml';
  syndicate.article_date[ syndicate.index ] = 'January 21, 2012 - 5:05:57 PM';
  syndicate.article_summary[ syndicate.index ] = 'In this work of speculative fiction, Shawn Poole ponders the possibilities of what could have been if Bruce Springsteen had gotten to meet Elvis Presley before August 16, 1977. Might things have turned out any differently for either or both of them? Poignantly reminding us of the promise and potential that tragically disappeared in that long ago summer. Memphis, Tennessee was sweltering in the mid-July heat.';
  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');

