/* This function chooses the appropriate body text and links for the various Rotel update programs 
available and returns variable txt with the HTML required. */ 
function outputMethod(method) {

// MTTY - RSP-1066, RSP-1068, RSP-1098, RSX-1055, RSX-1056, RSX-1065, RSX-1067, RX-1052 V01
if( method == "MTTY" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>This update uses the program MTTY for the software installation. MTTY is a standalone program and does not require installation prior to updating the unit.</p>"; 
		txt = txt + "<a href=\"downloads/software/rotel/install/MTTY.exe\">Download MTTY</a>\n";
		txt = txt + "</div>\n";		
		return txt;
} 

// EPROM Updater - RSP-1068, RSP-1098, RSX-1056, RSX-1067 
if( method == "FlashUp" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>This update uses the Rotel DSP Flash Writer program (referred to as FlashUp) for the EPROM installation. " 
		txt = txt + "FlashUp requires installation in Windows prior to updating the unit. To install this program, download and run the file linked below.";  
		txt = txt + "The program will then be available from the Windows Start Menu.</p>\n"; 
		txt = txt + "<a href=\"downloads/software/rotel/install/Rotel%20FlashUp%20Updater.exe\">Download Rotel FlashUp Updater V1.2</a>\n";
		txt = txt + "</div>\n";		
		return txt;
}

// NEC Updater - RSP-1069 Main & Scaler, RSX-1058 Scaler, RSP-1570, RSX-1550, RSX-1560 Main & Scaler
if( method == "NEC" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>This update uses the program NEC Update 2.7 for the software installation. " 
		txt = txt + "NEC Update 2.7 requires installation in Windows prior to updating the unit. To install this program, download and run the file linked below.";  
		txt = txt + "The program will then be available from the Windows Start Menu.</p>\n"; 
		txt = txt + "<a href=\"downloads/software/rotel/install/NEC%20Update%202.7%20Setup.exe\">Download NEC Update V2.7</a>\n";
		txt = txt + "</div>\n";		
		return txt;
}

// Rotel DSP Updater - RSP-1069, RSX-1058, RSP-1570, RSX-1550, RSX-1560 Audio 
if( method == "DSP" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>This update uses the Rotel DSP Updater program for the software installation. " 
		txt = txt + "Rotel DSP Updater requires installation in Windows prior to updating the unit. To install this program, download and run the file below.";  
		txt = txt + "The program will then be available from the Windows Start Menu.</p>\n"; 
		txt = txt + "<a href=\"downloads/software/rotel/install/Rotel%20DSP%20Updater.exe\">Download Rotel DSP Updater V1.0.1</a>\n";
		txt = txt + "</div>\n";		
		return txt;
}

// Rotel Upgrade Manager - RSX-1057, RSX-1058 Main, RX-1052 V03 
if( method == "Upgrade Manager" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>This update uses the Rotel Upgrade Manager program for the software installation. " 
		txt = txt + "Rotel Upgrade Manager requires installation in Windows prior to updating the unit. To install this program, download and run the file below.";  
		txt = txt + "The program will then be available from the Windows Start Menu.</p>\n"; 
		txt = txt + "<a href=\"downloads/software/rotel/install/Rotel%20Upgrade%20Manager.exe\">Download Rotel Upgrade Manager V1.0.2</a>\n";
		txt = txt + "</div>\n";		
		return txt;
}

// RT-1084 Updater
if( method == "RT1084 Updater" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>This update uses the program RT-1084 Updater for the software installation. The RT-1084 Updater is a standalone program and does not require installation prior to updating the unit.</p>"; 
		txt = txt + "<a href=\"downloads/software/rotel/install/RT1084Updater.exe\">Download RT-1084 Updater</a>\n";
		txt = txt + "</div>\n";		
		return txt;
}

// CD Update - RCD1520
if( method == "CD" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Method</h3>\n";
		txt = txt + "<p>This update requires creating an upgrade CD for the software installation. The software installation instructions will provide details on this process.</p>";
		txt = txt + "</div>\n";		
		return txt;
}

// Classe Downloader 1.2 Utility
if( method == "Downloader 1.2" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>This update uses the program Downloader 1.2 for the software installation. The Downloader application is a standalone program and does not require installation prior to updating the unit.</p>"; 
		txt = txt + "<a href=\"downloads/software/classe/install/Downloader_1.2.exe\">Download Downloader 1.2</a>\n";
		txt = txt + "</div>\n";		
		return txt;
}

// Classe Amplifier Downloader Utility
if( method == "Amplifier Downloader" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>This update uses the program Amplifier Downloader for the software installation. The Amplifier Downloader application is a standalone program and does not require installation prior to updating the unit.</p>"; 
		txt = txt + "<a href=\"downloads/software/classe/install/Amplifier_Downloader.exe\">Download Amplifier Downloader</a>\n";
		txt = txt + "</div>\n";		
		return txt;
}

// Classe Amplifier Loader 3.4 USB Utility
if( method == "Amp Loader 3.4" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>This update uses the program Amplifier USB Update Utility for the software installation. The Amplifier USB Update application is a standalone program and does not require installation prior to updating the unit.</p>"; 
		txt = txt + "<a href=\"downloads/software/classe/install/AmpLoader3.4.exe\">Download Amplifier USB Update Utility</a>\n";
		txt = txt + "</div>\n";		
		return txt;
}

// Classe CDROM MPEG Update
if( method == "CDROM" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>This update requires creating a recordable data CD-R to update the unit. Download the software data file (the file name should be FLSH98K.UPD) from the Software Data File link.\n";
		txt = txt + "This file and only this one file should be written to a blank CD-R disc to create the update disc. Once the disc has been created follow the update instructions to complete the update.</p>\n";  
		txt = txt + "</div>\n";		
		return txt;
}

// B&W CASA WinCASA Load
if( method == "WinCasaLoad" ) {			
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>This update uses the CASA Programming Utility for the software installation. The CASA Programming Utility is a standalone program and does not require installation prior to updating the unit.</p>\n"; 
		txt = txt + "<a href=\"downloads/software/bw/install/WinCasaLoad.exe\">Download CASA Programming Utility</a>\n";
		txt = txt + "</div>\n";		
		return txt;
}

// B&W Zeppelin Programmer
if( method == "Zeppelin Programmer" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>The Windows version of the Zeppelin Programmer requires installation prior to updating the unit. To install this program, download and run the Software Data File link to the right.";  
		txt = txt + "The program will then be available from the Windows Start Menu.\n";
		txt = txt + "The Mac version of the Zeppelin Programmer is a stand alone application and does not require installation before updating the unit.</p>\n" 
		txt = txt + "</div>\n";		
		return txt;
}

// B&W DB1 Programmer
if( method == "DB1 Programmer" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>Installation Program</h3>\n";
		txt = txt + "<p>The DB1 Programmer requires installation prior to updating the unit. To install this program, download and run the Software Data File link to the right.";  
		txt = txt + "The program will then be available from the Windows Start Menu.\n";
		txt = txt + "This program will run on Windows XP / Vista / 7 (32 bit only).</p>\n" 
		txt = txt + "</div>\n";		
		return txt;
}

// B&W DB1 SubApp Utility
if( method == "SubApp" ) {
		txt = "<div class=\"install\">\n";
		txt = txt + "<h3>SubApp Setup Utility</h3>\n";
		txt = txt + "<p>The SubApp Utility is a Windows program used to setup and configure the DB1 subwoofer. To install this program, download and run the Software Data File link to the right.";  
		txt = txt + "The program will then be available from the Windows Start Menu.\n";
		txt = txt + "This program will run on Windows XP / Vista / 7 (32 bit only).</p>\n" 
		txt = txt + "</div>\n";		
		return txt;
}
}
