function MagazineInfo( sTitle, sFirstIssue, sLastIssue, sNoOfIssues, sPublisher, sSummary,  sImageFile, iImageWidth, iImageHeight, sLinkURL ) {
  this.Title = sTitle;
  this.FirstIssue = sFirstIssue;
  this.LastIssue = sLastIssue;
  this.NoOfIssues = sNoOfIssues;
  this.Publisher = sPublisher;
  this.SummaryInfo = sSummary;
  this.ImageFile = sImageFile;
  this.ImageWidth = iImageWidth;
  this.ImageHeight = iImageHeight;
  this.LinkURL = sLinkURL;
  
  this.Display = DisplayMagInfo;
}

function DisplayMagInfo() {
  var sHTML = '';
  
  sHTML += '<table border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">';
  sHTML += '  <tr>';
  sHTML += '    <td width="100%">&nbsp;</td>';
  sHTML += '  </tr>';
  sHTML += '  <tr>';
  sHTML += '    <td id="tdMagHeader" class="purpleheader">' + this.Title + '</td>';
  sHTML += '  </tr>';
  sHTML += '  <tr><td>&nbsp;</td></tr>';
  sHTML += '  <tr>';
  sHTML += '    <td valign="top">';
  sHTML += '      <table border="0" cellpadding="0" cellspacing="0" width="100%">';
  sHTML += '        <tr>';
  sHTML += '          <td valign="top">';
  sHTML += '            <b>First Issue</b>: ' + this.FirstIssue;
  sHTML += '            <p>';
  sHTML += '            <b>Final Issue</b>: ' + this.LastIssue;
  sHTML += '            <p>';
  sHTML += '            <b>Total No. Of Issues</b>: ' + this.NoOfIssues;
  sHTML += '            <p>';
  sHTML += '            <b>Publisher</b>: ' + this.Publisher;
  sHTML += '            <p>';
  sHTML += '            <b>Brief Info</b>: ' + this.SummaryInfo;
  sHTML += '          </td>';
  sHTML += '          <td align="right">';
  sHTML += '            <table border="1" cellpadding="2" cellspacing="0" bordercolor="#666666">';
  sHTML += '              <tr>';
  sHTML += '                <td>';
  sHTML += '                  <img id="imgFirstIssue" src="' + this.ImageFile + '" width="' + this.ImageWidth + '" height="' + this.ImageHeight + '" border="0" alt="First Issue">';
  sHTML += '                </td>';
  sHTML += '              </tr>';
  sHTML += '            </table>';
  sHTML += '          </td>';
  sHTML += '        </tr>';
  sHTML += '      </table>';
  sHTML += '    </td>';
  sHTML += '  </tr>';
  sHTML += '  <tr><td>&nbsp;</td></tr>';
  sHTML += '  <tr><td align="right"><a id="ancMag" href="' + this.LinkURL + '">More...</a></td></tr>';
  sHTML += '</table>';

  return sHTML;
  
}

var aMags = new Array( 7 );

aMags[ 0 ] = new MagazineInfo( "Personal Computer Games", "Summer 1983", "February 1985", "15", "VNU", "One of the forefathers of todays computer press and was one of the first to use screen shots to give readers an idea of what a game will look like <b>before</b> they buy it.", "multiformatmags/personalcomputergames/1983/summer83thmb.jpg", 100, 141, "multiformatmags/personalcomputergames/personalcomputergames.htm" );
aMags[ 1 ] = new MagazineInfo( "Big K", "April 1984", "March 1985", "12", "IPC Business Press", "", "multiformatmags/bigk/1984/001april84thmb.jpg", 100, 141, "multiformatmags/bigk/bigk.htm" );
aMags[ 2 ] = new MagazineInfo( "Computer & Video Games", "November 1981", "Still Being Published", "-", "EMAP", "The worlds first ever magazine dedicated to computer gaming (although in its infancy it also dealt with electronic game).", "multiformatmags/computerandvideogames/1981/001november81thmb.jpg", 100, 141, "multiformatmags/computerandvideogames/computerandvideogames.htm" );
aMags[ 3 ] = new MagazineInfo( "The Games Machine", "Oct/Nov 1987", "September 1990", "34", "Newsfield", "After success with Crash and Zzap! 64 Newsfield launched The Games Machine in a attempt to gain a share in the next generation machines (Amiga, Atari ST etc)", "multiformatmags/thegamesmachine/1987/001octnov87thmb.jpg", 100, 141, "multiformatmags/thegamesmachine/thegamesmachine.htm" );
aMags[ 4 ] = new MagazineInfo( "Your 64", "June/July 1984", "October 1985", "15", "Sportscene Specialist Press", "", "commodoremags/your64/1984/001junjul84thmb.jpg", 100, 141, "commodoremags/your64/your64.htm" );
aMags[ 5 ] = new MagazineInfo( "Your Spectrum", "March 1984", "December 1985", "21", "Sportscene Specialist Press", "", "spectrummags/yourspectrum/1984/001march84thmb.jpg", 100, 141, "spectrummags/yourspectrum/yourspectrum.htm" );
aMags[ 6 ] = new MagazineInfo( "Amtix", "November 1985", "April 1987", "18", "Newsfield", "", "amstradmags/amtix/1985/001november85thmb.jpg", 100, 141, "amstradmags/amtix/amtix.htm" );


