tabContent = new Array();
playerContent = new Array();
tabContent[0] = "<p>If you are a <b>retailer</b> and you want to get a license to embed a video that does not have a public embed code, or customize the HandBookLive player you need to create a retailer account.</p><p>If you are a <b>vendor</b> sending us video, text, or image files for posting, review or editing  you can use <b>Upload</b>  link. You do not need to create an account to send us these files. However, if you want to be able to login any time and change product name, description, company information, update product image file, PDF links or video chapter titles and descriptions you will need to register for a <b>vendor account</b>.If you want to have a premium account that allows you to add multiple links and images of your choice to your videos, such as company logo, links to promotions, warranty registration, company announcements, as well as ability to embed HandBookLive player on other sites, you need to first register for a standard free vendor account and later upgrade to a premium account.</p>";
playerContent[0] = "<p>If you are a <b>retailer</b> you need to create an account to request licenses to embed product videos if specific vendor does not provide the retailers with free embedding option for its HandBookLive product videos.</p><p>There is no charge for standard HandBookLive company vendor accounts. Standard accounts allow free video posts, downloadable PDF files, customer support information and links to your company website to drive traffic back to you.</p><p>Beyond the standard accounts, HandBookLive also offers premium accounts that give members the flexibility to upload additional images and links of their choice such as company logo, links to coupons, promotions, product registration, or company announcements.</p><p>Premium accounts give you an option to allow free syndication of your videos by your retailers, so they can add the HandBookLive player with your videos to their websites. You will also get important statistics such as how many times the video was played and what chapters were most popular.</p><p>You can upgrade to a Premium Account once you create your Standard HandBookLive account</p>";
tabContent[1] = '<p>You can use Upload link to submit video, text and image files</p><p>Video files can be submitted in any format for a review or posting. If you are not sure how to encode your files, simply send us original files in any video format (mov, avi, mpeg, wmv, etc.)</p><p>The final output will be 480x320 files, encoded as Flash (.flv).</p><p>High resolution files are encoded at 400kpbs to 500 kpbs (for medium to high connection speed)</p><p>Low resolutyion files are encoded at 150kpbs to 250 kpbs (for low connection speed)</p><p>The HandBookLive player will play Low resolution files for the users who do not have a fast enough connection to view files encoded at a higher resolution.</p><p>If you have your video already split up into appropriate chapters you can encode them in the above specified format (Flash files, 480x320, 400-500 kpbs, low resolution files are optional) and they will be posted as soon as they are reviewed.</p><p>If you do not have your video split into chapters, or they require additional editing, please, do not encode them in Flash format. Send us the original files (mov, avi, mpeg, wmv, etc) so we can perform all necessary edits without loosing the video quality. There will be a delay in posting, and it will depend on how fast we can perform the edits and encode your files.</p>';
playerContent[1] = "<p>You can use the Upload link to send us any video, text or image files in any format for posting, editing or for a review.</p>";
tabContent[2] = "<p>The HandBookLive format includes:</p><ul><li><b>Introduction:</b> Approximately 10 sec-2 minutes in length. Introduces the product and the manufacturer. Identifies the target audience for the product. Explains the product's main function.</li><li><b>Basic Features:</b> 1-5 minutes or less in length. Provides a quick overview of the product and/or parts. Explains its features, benefits or essential functions. Provides main specs or interesting features, and highlights differentiating features.</li><li><b>Quick Start:</b> 5 minutes or less in length. Shows how to get started. It can provide an overview of product assembly, show set up procedures, or demonstrate the steps required when using the product.</li><li>Optional Advanced Chapters: Provide additional guidance. Cover advanced features and how to use them.</li></ul>";
playerContent[2] = "<p>If you choose to produce your own video instead of having HandBookLive do it for you, remember:</p><p> Keep your videos simple and to the point.</p><p>Make sure you show your product clearly.</p><p>And make sure the viewers can follow your steps and will get the same results.</p>";

function switchPanelContent (tabKey) {
	document.getElementById('the-rest').innerHTML = tabContent[tabKey];
	document.getElementById('some-info').innerHTML = playerContent[tabKey];
	
	for (var i = 2; i >= 0; i--){
		if (i == tabKey) {
			document.getElementById('button' + i).className = 'button highlighted';
		} else {
			document.getElementById('button' + i).className = 'button';
		}
	};
	
}