//
// demos.js
//
// Copyright 2006 Planetweb, Inc.  All Rights Reserved
//
bannerobject[5]= new bannerobjectdata(481,118,"images/DL_topbanner.gif","Downloads");
localize_banner(bannerobject[5]);
bannerobject[12]= new bannerobjectdata(481,118,"images/DL_static.gif","Downloads");
localize_banner(bannerobject[12]);

// Downloads rollovers
object['demoapps']= new objectdata(224,36,"images/demoapps-h.gif","images/demoapps.gif","demoapps");
object['docs']= new objectdata(224,36,"images/docs-h.gif","images/docs.gif","docs");
object['datasheets']= new objectdata(224,36,"images/dsheets-h.gif","images/dsheets.gif","datasheets");
object['demo_photo']= new objectdata(220,50,"images/btn_demo_photo_hi.gif","images/btn_demo_photo_up.gif","Demo_photo");
object['builder']= new objectdata(220,30,"images/s_builder.gif","images/builder.gif","Builder");
object['altera']= new objectdata(220,30,"images/s_altera.gif","images/altera.gif","Altera");

localize_image(object['demoapps']);
localize_image(object['docs']);
localize_image(object['datasheets']);

// HTML for the left navigation bar used in Downloads pages
function write_downloads_nav_bar(current)
{
	document.write("<table width=249 cellpadding=0 cellspacing=0 border=0>");
	document.write("<tr><td width=249 colspan=2><a href=demos.html onmouseover=\"hilite('builder');return true;\" onmouseout=\"original('builder');\">");
	document.write("<img src=" + object['builder'].rimg.src + " alt='SpectraBuilder' name='builder' width=224 height=36 border=0></a></td></tr>");
	document.write("<tr><td width=249 colspan=2><a href=demos2.html onmouseover=\"hilite('demoapps');return true;\" onmouseout=\"original('demoapps');\">");
	document.write("<img src=" + object['demoapps'].rimg.src + " alt='DemoApps' name='demoapps' width=224 height=36 border=0></a></td></tr>");
	document.write("<tr><td width=249 colspan=2><a href=demos3.html onmouseover=\"hilite('docs');return true;\" onmouseout=\"original('docs');\">");
	document.write("<img src=" + object['docs'].rimg.src + " alt='Documentation' name='docs' width=224 height=36 border=0></a></td></tr>");
	document.write("<tr><td width=249 colspan=2><a href=demos4.html onmouseover=\"hilite('datasheets');return true;\" onmouseout=\"original('datasheets');\">");
	document.write("<img src=" + object['datasheets'].rimg.src + " alt='DataSheets' name='datasheets' width=224 height=36 border=0></a></td></tr>");
	document.write("<tr><td width=249 colspan=2><a href=altera_downloads.html onmouseover=\"hilite('altera');return true;\" onmouseout=\"original('altera');\">");
	document.write("<img src=" + object['altera'].rimg.src + " alt='Altera' name='altera' width=224 height=36 border=0></a></td></tr>");
	document.write("<tr><td width=249 height=20></td></tr>");
	document.write("<table width=249 cellpadding=0 cellspacing=0><tr><td width=249 height=0 colspan=2></td></tr>");
	document.write("<tr><td width=49 height=50 bgcolor=#0081D6></td><td width=249 height=50 bgcolor=#0081D6 valign=center><a href='mailto:pwsales@planetweb.com'>");

	if (language == "jpn")
	{
		document.write("<h3>詳細についてはEメールにて<br>お問い合わせ下さい。</h3>");
	}
	else if (language == "kor")
	{
		document.write("<h3>더 자세한 정보를 원하시면 아래의 메일 주소로 연락주세요.</h3>");
	}
	else if (language == "chn")
	{
		document.write("<h3>More Info?...Email Us.</h3>");
	}
	else if (language == "de")
	{
		document.write("<h3>Wünschen Sie weitere Informationen? Senden Sie uns eine e-Mail.</h3>");
	}
	else
	{
		document.write("<h3>More Info?...Email Us.</h3>");
	}
	document.write("</a></font></td></tr>");

	document.write("<tr><td width=49 height=20 bgcolor=#0081D6></td><td width=249 height=20 bgcolor=#0081D6 valign=middle><a href='mailto:pwsales@planetweb.com'><font face=arial size=2 color=#ffffff><b>pwsales@planetweb.com</b></font></a></td></tr>");
	document.write("<tr><td width=49 height=20 bgcolor=#0081D6></td><td width=249 height=20 bgcolor=#0081D6 valign=middle></td></tr>");
	document.write("<tr><td width=249 height=4 colspan=2></td></tr></table>");	
}

function write_spectrabuilder_demos_1()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<strong>SpectraWorks&trade;のダウンロード</strong>");
	}
	else if (language == "kor")
	{
		document.write("<strong>SpectraWorks&trade; 다운로드</strong>");
	}
	else if (language == "chn")
	{
		document.write("<strong>SpectraWorks&trade;下载</strong>");
	}
	else
	{
		document.write("<strong>SpectraWorks&trade; Downloads</strong>");
	}
}

function write_spectrabuilder_demos_2()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<i>左側のダウンロード・ナビゲーション・バーから30日間無料の<br>");
		document.write("評価版SpectraBuilder&trade;、サンプル・アプリケーションおよび<br>");
		document.write("Planetweb&reg;製品のドキュメントをダウンロードしていただけます。</i>");
	}
	else if (language == "kor")
	{
		document.write("<i>SpectraBuilder 30일 평가판과 응용견본이나 Planetweb 제품에 관한 문서등을 다운로드하고 싶을때는 왼쪽에 위치한 네비게이션바를 사용하여 주십시요.</i>");
	}
	else if (language == "chn")
	{
		document.write("<i>在这儿可以从左边的下载栏里下载Planetweb&reg; 产品SpectraBuilder&trade;的30天评估版及其应用实例和资料。</i>");
	}
	else if (language == "de")
	{
		document.write("<i>Bitte klicken Sie auf den Link unten, um eine 30-tägige Evaluierungs-Version von SpectraBuilder&trade;, Beispielanwendungen und Dokumentation über Planetweb&reg;-Produkte herunterzuladen.</i>");
	}
	else
	{
		document.write("<i>Use the download navigation bar to the left to download a 30 day evaluation version of SpectraBuilder&trade;, sample applications and documentation on Planetweb&reg; products here.</i>");
	}
}

function write_spectrabuilder_demos_3()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<h1>30日間無料の評価版SpectraBuilder&trade;</h1>");
	}
	else if (language == "kor")
	{
		document.write("<h1>SpectraBuilder&trade; 30일간 무료 평가판</h1>");
	}
	else if (language == "chn")
	{
		document.write("<h1>SpectraBuilder&trade;30天免费评估版</h1>");
	}
	else if (language == "de")
	{
		document.write("<h1>30-tägige Test-Version für SpectraBuilder&trade;</h1>");
	}
	else
	{
		document.write("<h1>SpectraBuilder&trade; 30 Day Trial Version</h1>");
	}
}

function write_spectrabuilder_demos_4()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<h2>プラットフォームに依存しない組み込みGUIを容易に構築できるSpectraBuilder&trade;を実際に体験していただけます。</h2>");
	}
	else if (language == "kor")
	{
		document.write("<h2>SpectraBuilder&trade; 을 사용함으로써, 얼마나 쉽게 플랫폼과<br>완전히 독립적인 임베드된 GUI을 만들수 있는지<br>체험하십시요.</h2>");
	}
	else if (language == "chn")
	{
		document.write("<h2>试用SpectraBuilder&trade;并亲自体验如何容易地设计一个独立于平台的嵌入式用户界面</h2>");
	}
	else if (language == "de")
	{
		document.write("<h2>Testen Sie selbst SpectraBuilder&trade; und erfahren Sie, wie einfach es ist, eine platform-unabhängige, eingebettete graphische Benutzeroberfläche zu bilden.</h2>");
	}
	else
	{
		document.write("<h2>Try SpectraBuilder&trade; for yourself to experience how easy it is to build a platform-independent embedded GUI.</h2>");
	}
}

function write_spectraworks_demos_1()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("SpectraWorks&trade;のダウンロード");
	}
	else if (language == "kor")
	{
		document.write("SpectraWorks&trade; 다운로드");
	}
	else if (language == "chn")
	{
		document.write("SpectraWorks&trade;下载");
	}
	else
	{
		document.write("SpectraWorks&trade; Downloads");
	}
}

function write_spectraworks_demos_2()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<i>左側のダウンロード・ナビゲーション・バーから30日間無料の<br>");
		document.write("評価版SpectraBuilder&trade;、サンプル・アプリケーションおよび<br>");
		document.write("Planetweb&reg;製品のドキュメントをダウンロードしていただけます。</i>");
	}
	else if (language == "kor")
	{
		document.write("SpectraBuilder&trade; 30일 평가판과 응용견본이나 Planetweb&reg; 제품에 관한 문서등을 다운로드하고 싶을때는 왼쪽에 위치한 네비게이션바를 사용하여 주십시요.");
	}
	else if (language == "chn")
	{
		document.write("在这儿可以从左边的下载栏里下载Planetweb&reg; 产品SpectraBuilder&trade;的30天评估版及其应用实例和资料。");
	}
	else if (language == "de")
	{
		document.write("Bitte klicken Sie auf den Link unten, um eine 30-tägige Evaluierungs-Version von SpectraBuilder&trade;, Beispielanwendungen und Dokumentation über Planetweb&reg;-Produkte herunterzuladen.");
	}
	else
	{
		document.write("Use the download navigation bar to the left to download a 30 day evaluation version ");
		document.write("of SpectraBuilder&trade;, sample applications and documentation on Planetweb&reg; products here.");
	}
}

function write_spectraapps_demos_1()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("SpectraApps&trade;デモンストレーション・アプリケーション");
	}
	else if (language == "kor")
	{
		document.write("SpectraApps&trade; 각 Application의 실물 설명");
	}
	else if (language == "chn")
	{
		document.write("SpectraApps&trade;应用示范实例");
	}
	else if (language == "de")
	{
		document.write("SpectraApps&trade; Demo-Anwendungen");
	}
	else
	{
		document.write("SpectraApps&trade; Demonstration Applications");
	}
}

function write_spectraapps_demos_2()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("デジタルテレビ</h1><h2>組み込みデジタル・フォト・マネージャーを含むフル装備のデジタルテレビ・リファレンス・アプリケーション。あらゆるATSCデジタルテレビ・プラットフォームにポート可能です。このアプリケーションのGUIは、ほぼすべてのブランディング要件に対応するようにカスタマイズすることができます。</h2>");
	}
	else if (language == "kor")
	{
		document.write("Digital Television</h1><h2>내장되어 있는 Digital Photo Manager (DPM)을 포함한, Digital Television (DTV)에 응용되는 모든 기능을 가지고 있으므로,  어떠한 ATSC용 DTV 플랫폼에도 아주 쉽게 이동이 가능하다. 이 제품의 GUI는 어떠한 회사의 실제적인 요구사항을 맞출수 있게 특별주문이 가능하다.</h2>");
	}
	else if (language == "chn")
	{
		document.write("数字电视</h1><h2>一个具有全部数字电视功能的参考应用包括一个内嵌的数字照片管理器可以被容易地移植到任何ATSC数字电视平台。该应用的用户界面事实上可以被定制成符合任何品牌要求。</h2>");
	}
	else if (language == "de")
	{
		document.write("Digitales Fernsehen (Digital TV)</h1><h2>Eine Referenz-Anwendung für Digitales Fernsehen mit allen Funktionalitäten, inklusive eingebettetem Photo Mananger, kann sehr einfach für jegliche ATSC digitaler Fernseh-Plattform portiert werden. Die graphische Benutzeroberfläche für diese Anwendung kann individuell angepaßt werden, um praktisch alle Anforderungen des Brandings zu erfüllen.");
	}
	else
	{
		document.write("Digital Television</h1><h2>A full featured Digital Television reference application including embedded Digital Photo Manager easilly ports to any ATSC digital television platform. The GUI for this application can be customized to meet virtually any branding requirements</h2>");
	}
}

function write_spectraapps_demos_3()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("アニメーションおよびその他機能のデモンストレーション</h1><h2>このアプリケーションは、スライド・メニュー、アニメーション、ゲージ、フォント効果などSpectraCore&trade;エンジンの一部機能のデモンストレーションを行います。</h2>");
	}
	else if (language == "kor")
	{
		document.write("애니메이션과 다른 능력의 실물 설명</h1><h2>이 응용의 설명은 SpectarCore 엔진의 다른 능력, 즉 Slide menu, 애니메이션, 표준치수, 그리고 글짜효과 등을 실연한다.</h2>");
	}
	else if (language == "chn")
	{
		document.write("动画和其它功能示范</h1><h2>这个应用演示了SpectraCore&trade;引擎的一些功能包括滑行菜单，动画，量规以及字体效果。</h2>");
	}
	else if (language == "de")
	{
		document.write("Demonstration der Animation und Leistungsfähigkeit</h1>");
		document.write("<h2>Diese Anwendung demonstriert einige der Leistungsmerkmale der SpectraCore&trade; Engine, inklusive Gleit-Menüs, Animation, Pegel und Schriftarten-Effekte.</h2>");
	}
	else
	{
		document.write("Animation &amp; Capabilities Demonstration</h1><h2>This application	demonstrates some of the capabilities of the Spectracore&trade; engine including sliding menus, annimation, gauges and font effects.</h2>");
	}
}

function write_spectraapps_demos_4()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("メディア・アダプター</h1><h2>デジタル・メディア・アダプター（DMA）セットトップ・ボックスの動画GUIのデモンストレーションです。</h2>");
	}
	else if (language == "kor")
	{
		document.write("Media Adapter</h1><h2>Digital Media Adapter (DMA) 셋탑박스를 위해 애니메이션으로 만들어진 GUI을 실연한다.</h2>");
	}
	else if (language == "chn")
	{
		document.write("媒体适配器</h1><h2>一个针对数字媒体适配器既机顶盒的动画般的用户界面演示</h2>");
	}
	else if (language == "de")
	{
		document.write("Medien Adapter</h1><h2>Eine Demo einer animierten graphischen Benutzeroberfäche für eine Set-Top Box mit digitalem Medien Adapter (DMA).</h2>");
	}
	else
	{
		document.write("Media Adapter</h1><h2>A demonstration of an animated GUI for a Digital Media Adapter(DMA) set-top box</h2>");
	}
}

function write_spectraworks_docs_1()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("SpectraBuilder&trade;ユーザー・マニュアル</h1></a><h2>SpectraBuilder&trade;のユーザー・マニュアル完全版です</h2>");
	}
	else if (language == "kor")
	{
		document.write("SpectraBuilder&trade; 사용자 안내서</h1></a><h2>SpectraBuilder&trade;을 위한 완전한 사용자 안내서</h2>");
	}
	else if (language == "de")
	{
		document.write("SpectraBuilder&trade; Gebrauchsanleitung</h1></a><h2>Die komplette Gebrauchsanleitung fuer SpectraBuilder&trade;</h2>");
	}
	else
	{
		document.write("SpectraBuilder&trade; User Manual</h1></a><h2>The complete User Manual for SpectraBuilder&trade;.</h2>");
	}
}

function write_spectraworks_docs_2()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("SpectraWorks&trade;チュートリアル</h1></a><h2>SpectraBuilder&trade;の基本的な活用法を学ぶためのチュートリアル集です</h2>");
	}
	else if (language == "kor")
	{
		document.write("SpectraWorks&trade; 지도서</h1></a><h2>이 지도서는 SpectraBuilder&trade;의 기본적인 사용법을 설명하고 알게 하여준다.</h2>");
	}
	else if (language == "de")
	{
		document.write("SpectraWorks&trade; Übungen und Anleitungen</h1></a><h2>Eine Sammlung von Anleitungen, um die Basis des Arbeitens mit SpectraBuilder&trade; zu lernen.</h2>");
	}
	else
	{
		document.write("SpectraWorks&trade; Tutorials</h1></a><h2>A collection of tutorials to help learn the basics of working with SpectraBuilder&trade;.</h2>");
	}
}

function write_spectraworks_white_paper_link()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<a href='downloads/SpectraWorks_Branded_GUIs_at_a_Lower_Cost-v3(J_rev_0606).pdf' target=new>");
	}
	else if (language == "kor")
	{
		document.write("<a href='downloads/spectraworks-whitepaper-v5-kr.pdf' target=new>");
	}
	else if (language == "chn")
	{
		document.write("<a href='downloads/SpectraWorks_Branded_GUIs_at_a_Lower_Cost-v3_Chinese2.pdf' target=new>");
	}
	else if (language == "de")
	{
		document.write("<a href='downloads/SpectraWorks-Branded GUIs at a Lower Cost.pdf' target=new>");
	}
	else
	{
		document.write("<a href='downloads/SpectraWorks-Branded GUIs at a Lower Cost.pdf' target=new>");
	}
}

function write_spectraworks_docs_3()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("SpectraWorks&trade;ホワイトペーパー</h1></a><h2>今日の組み込みデバイス向けブランドGUIの開発における課題を詳しく紹介しています</h2>");
	}
	else if (language == "kor")
	{
		document.write("SpectraWorks&trade; 백서</h1></a><h2>오늘날 여러 기계에 들어가는 즉, 상표화 되어지는 GUI의 개발방식과 문제점에 대하여 자세히 언급한 통찰력있는 보고서이다.</h2>");
	}
	else if (language == "de")
	{
		document.write("SpectraWorks&trade; White Paper (detaillierte Produktinformationen)</h1></a><h2>Ein intuitiver Bericht über die einzelnen Herausforderungen der Entwicklung von gebrandeten graphischen Benutzeroberflächen für aktuelle eingebettete Geräte.</h2>");
	}
	else
	{
		document.write("SpectraWorks&trade; White Paper</h1></a><h2>An insightfull report detailing the challenges in developing branded GUIs for today's embedded devices.</h2>");
	}
}

function write_spectraworks_datasheets_1()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("SpectraWorksデータシート");
	}
	else if (language == "kor")
	{
		document.write("SpectraWorks&trade; 자료 문서");
	}
	else if (language == "chn")
	{
		document.write("SpectraWorks&trade;资料清单");
	}
	else if (language == "de")
	{
		document.write("SpectraWorks&trade; Datenblätter");
	}
	else
	{
		document.write("SpectraWorks Data Sheets");
	}
}

function write_altera_demos_1()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<img src=images/s_altera.gif width=220 height=30><br><strong>のダウンロード</strong>");
	}
	else if (language == "kor")
	{
		document.write("<img src=images/s_altera.gif width=220 height=30><br><strong>다운로드</strong>");
	}
	else if (language == "chn")
	{
		document.write("<img src=images/s_altera.gif width=220 height=30><br><strong>下载</strong>");
	}
	else
	{
		document.write("<img src=images/s_altera.gif width=220 height=30><br><strong> Downloads</strong>");
	}
}

function write_altera_demos_2()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("The demos on this page are created specifically for the Altera Cyclone/NIOS<br>development community.<br><br>");
		document.write("Use the navigation options to the left to download additional Planetweb&reg; applications, demos, or documentation.");
	}
	else if (language == "kor")
	{
		document.write("The demos on this page are created specifically for the Altera Cyclone/NIOS<br>development community.<br><br>");
		document.write("Use the navigation options to the left to download additional Planetweb&reg; applications, demos, or documentation.");
	}
	else if (language == "chn")
	{
		document.write("The demos on this page are created specifically for the Altera Cyclone/NIOS<br>development community.<br><br>");
		document.write("Use the navigation options to the left to download additional Planetweb&reg; applications, demos, or documentation.");
	}
	else if (language == "de")
	{
		document.write("The demos on this page are created specifically for the Altera Cyclone/NIOS<br>development community.<br><br>");
		document.write("Use the navigation options to the left to download additional Planetweb&reg; applications, demos, or documentation.");
	}
	else
	{
		document.write("The demos on this page are created specifically for the Altera Cyclone/NIOS<br>development community.<br><br>");
		document.write("Use the navigation options to the left to download additional Planetweb&reg; applications, demos, or documentation.");
	}
}


function write_altera_demos_plugin_1()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<h1>SpectraBuilder&trade; Altera Cyclone/NIOS Plugin</h1>");
	}
	else if (language == "kor")
	{
		document.write("<h1>SpectraBuilder&trade; Altera Cyclone/NIOS Plugin</h1>");
	}
	else if (language == "chn")
	{
		document.write("<h1>SpectraBuilder&trade; Altera Cyclone/NIOS Plugin</h1>");
	}
	else if (language == "de")
	{
		document.write("<h1>SpectraBuilder&trade; Altera Cyclone/NIOS Plugin</h1>");
	}
	else
	{
		document.write("<h1>SpectraBuilder&trade; Altera Cyclone/NIOS Plugin</h1>");
	}
}

function write_altera_demos_plugin_2()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<h2>Copy this DLL into the SpectraBuilder&trade; Plugins folder to automatically configure SpectraBuilder&trade; for the Altera Cyclone/NIOS environment.</h2>");
	}
	else if (language == "kor")
	{
		document.write("<h2>Copy this DLL into the SpectraBuilder&trade; Plugins folder to automatically configure SpectraBuilder&trade; for the Altera Cyclone/NIOS environment.</h2>");
	}
	else if (language == "chn")
	{
		document.write("<h2>Copy this DLL into the SpectraBuilder&trade; Plugins folder to automatically configure SpectraBuilder&trade; for the Altera Cyclone/NIOS environment.</h2>");
	}
	else if (language == "de")
	{
		document.write("<h2>Copy this DLL into the SpectraBuilder&trade; Plugins folder to automatically configure SpectraBuilder&trade; for the Altera Cyclone/NIOS environment.</h2>");
	}
	else
	{
		document.write("<h2>Copy this DLL into the SpectraBuilder&trade; Plugins folder to automatically configure SpectraBuilder&trade; for the Altera Cyclone/NIOS environment.</h2>");
	}
}

function write_altera_demos_features_1()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<h1>SpectraWorks&trade; Capabilities Demonstration (win32)</h1>");
	}
	else if (language == "kor")
	{
		document.write("<h1>SpectraWorks&trade; Capabilities Demonstration (win32)</h1>");
	}
	else if (language == "chn")
	{
		document.write("<h1>SpectraWorks&trade; Capabilities Demonstration (win32)</h1>");
	}
	else if (language == "de")
	{
		document.write("<h1>SpectraWorks&trade; Capabilities Demonstration (win32)</h1>");
	}
	else
	{
		document.write("<h1>SpectraWorks&trade; Capabilities Demonstration (win32)</h1>");
	}
}

function write_altera_demos_features_2()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<h2>Demonstrates the advanced GUI features of SpectraWorks, this applications runs on any Windows PC</h2>");
	}
	else if (language == "kor")
	{
		document.write("<h2>Demonstrates the advanced GUI features of SpectraWorks, this applications runs on any Windows PC</h2>");
	}
	else if (language == "chn")
	{
		document.write("<h2>Demonstrates the advanced GUI features of SpectraWorks, this applications runs on any Windows PC</h2>");
	}
	else if (language == "de")
	{
		document.write("<h2>Demonstrates the advanced GUI features of SpectraWorks, this applications runs on any Windows PC</h2>");
	}
	else
	{
		document.write("<h2>Demonstrates the advanced GUI features of SpectraWorks, this applications runs on any Windows PC</h2>");
	}
}

function write_altera_demos_features_nios_1()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<h1>SpectraWorks&trade; Capabilities Demonstration (NIOS)</h1>");
	}
	else if (language == "kor")
	{
		document.write("<h1>SpectraWorks&trade; Capabilities Demonstration (NIOS)</h1>");
	}
	else if (language == "chn")
	{
		document.write("<h1>SpectraWorks&trade; Capabilities Demonstration (NIOS)</h1>");
	}
	else if (language == "de")
	{
		document.write("<h1>SpectraWorks&trade; Capabilities Demonstration (NIOS)</h1>");
	}
	else
	{
		document.write("<h1>SpectraWorks&trade; Capabilities Demonstration (NIOS)</h1>");
	}
}

function write_altera_demos_features_nios_2()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<h2>Demonstrates the advanced GUI features of SpectraWorks, this application runs on the Altera Cyclone III / NIOS 2 development Kit (NEEP)</h2>");
	}
	else if (language == "kor")
	{
		document.write("<h2>Demonstrates the advanced GUI features of SpectraWorks, this application runs on the Altera Cyclone III / NIOS 2 development Kit (NEEP)</h2>");
	}
	else if (language == "chn")
	{
		document.write("<h2>Demonstrates the advanced GUI features of SpectraWorks, this application runs on the Altera Cyclone III / NIOS 2 development Kit (NEEP)</h2>");
	}
	else if (language == "de")
	{
		document.write("<h2>Demonstrates the advanced GUI features of SpectraWorks, this application runs on the Altera Cyclone III / NIOS 2 development Kit (NEEP)</h2>");
	}
	else
	{
		document.write("<h2>Demonstrates the advanced GUI features of SpectraWorks, this application runs on the Altera Cyclone III / NIOS 2 development Kit (NEEP)</h2>");
	}
}


function write_altera_demos_features_builder_project_1()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<h1>SpectraWorks&trade; Capabilities demo GUI and Assets</h1>");
	}
	else if (language == "kor")
	{
		document.write("<h1>SpectraWorks&trade; Capabilities demo GUI and Assets</h1>");
	}
	else if (language == "chn")
	{
		document.write("<h1>SpectraWorks&trade; Capabilities demo GUI and Assets</h1>");
	}
	else if (language == "de")
	{
		document.write("<h1>SpectraWorks&trade; Capabilities demo GUI and Assets</h1>");
	}
	else
	{
		document.write("<h1>SpectraWorks&trade; Capabilities demo GUI and Assets</h1>");
	}
}

function write_altera_demos_features_builder_project_2()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<h2>Complete SpectraBuilder GUI project for the SpectraWorks Capabilities demonstration application</h2>");
	}
	else if (language == "kor")
	{
		document.write("<h2>Complete SpectraBuilder GUI project for the SpectraWorks Capabilities demonstration application</h2>");
	}
	else if (language == "chn")
	{
		document.write("<h2>Complete SpectraBuilder GUI project for the SpectraWorks Capabilities demonstration application</h2>");
	}
	else if (language == "de")
	{
		document.write("<h2>Complete SpectraBuilder GUI project for the SpectraWorks Capabilities demonstration application</h2>");
	}
	else
	{
		document.write("<h2>Complete SpectraBuilder GUI project for the SpectraWorks Capabilities demonstration application</h2>");
	}
}

function write_altera_demos_photo_1()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<h1>SpectraWorks&trade; Digital Photo Demonstration (win32)</h1>");
	}
	else if (language == "kor")
	{
		document.write("<h1>SpectraWorks&trade; Digital Photo Demonstration (win32)</h1>");
	}
	else if (language == "chn")
	{
		document.write("<h1>SpectraWorks&trade; Digital Photo Demonstration (win32)</h1>");
	}
	else if (language == "de")
	{
		document.write("<h1>SpectraWorks&trade; Digital Photo Demonstration (win32)</h1>");
	}
	else
	{
		document.write("<h1>SpectraWorks&trade; Digital Photo Demonstration (win32)</h1>");
	}
}

function write_altera_demos_photo_nios_1()
{
    language = get_language();
    if (language == "jpn")
    {
	document.write("<h1>SpectraWorks&trade; Digital Photo Demonstration (NIOS)</h1>");
    }
    else if (language == "kor")
    {
	document.write("<h1>SpectraWorks&trade; Digital Photo Demonstration (NIOS)</h1>");
    }
    else if (language == "chn")
    {
	document.write("<h1>SpectraWorks&trade; Digital Photo Demonstration (NIOS)</h1>");
    }
    else if (language == "de")
    {
	document.write("<h1>SpectraWorks&trade; Digital Photo Demonstration (NIOS)</h1>");
    }
    else
    {
	document.write("<h1>SpectraWorks&trade; Digital Photo Demonstration (NIOS)</h1>");
    }
}

function write_altera_demos_photo_2()
{
	language = get_language();
	if (language == "jpn")
	{
		document.write("<h2>Demonstrates or Planetweb's Digital Photo Frame reference application, this applications runs on any Windows PC</h2>");
	}
	else if (language == "kor")
	{
		document.write("<h2>Demonstrates or Planetweb's Digital Photo Frame reference application, this applications runs on any Windows PC</h2>");
	}
	else if (language == "chn")
	{
		document.write("<h2>Demonstrates or Planetweb's Digital Photo Frame reference application, this applications runs on any Windows PC</h2>");
	}
	else if (language == "de")
	{
		document.write("<h2>Demonstrates or Planetweb's Digital Photo Frame reference application, this applications runs on any Windows PC</h2>");
	}
	else
	{
		document.write("<h2>Demonstrates or Planetweb's Digital Photo Frame reference application, this applications runs on any Windows PC</h2>");
	}
}



var downloads_files = new Array;

downloads_files[0] = "downloads/SpectraWorks.pdf";
downloads_files[1] = "downloads/SpectraBuilder.pdf";
downloads_files[2] = "downloads/SpectraCore.pdf";
downloads_files[3] = "downloads/DTV.pdf";
downloads_files[4] = "downloads/DPM.pdf";
downloads_files[5] = "downloads/DAM.pdf";
downloads_files[6] = "downloads/DVDP.pdf";

var downloads_icons = new Array;

downloads_icons[0] = "images/pdf_icon.gif";
downloads_icons[1] = "images/pdf_icon.gif";
downloads_icons[2] = "images/pdf_icon.gif";
downloads_icons[3] = "images/pdf_icon.gif";
downloads_icons[4] = "images/pdf_icon.gif";
downloads_icons[5] = "images/pdf_icon.gif";
downloads_icons[6] = "images/pdf_icon.gif";

var downloads_titles_eng = new Array;

downloads_titles_eng[0] = "SpectraWorks&trade;";
downloads_titles_eng[1] = "SpectraBuilder&trade;";
downloads_titles_eng[2] = "SpectraCore&trade;";
downloads_titles_eng[3] = "SpectraApps&trade; Digital Television (DTV)";
downloads_titles_eng[4] = "SpectraApps&trade; Digital Photo Manager (DPM)";
downloads_titles_eng[5] = "SpectraApps&trade; Digital Audio Manager (DAM)";
downloads_titles_eng[6] = "SpectraApps&trade; DVD ";

var downloads_titles_jpn = new Array;

downloads_titles_jpn[0] = "SpectraWorks&trade;";
downloads_titles_jpn[1] = "SpectraBuilder&trade;";
downloads_titles_jpn[2] = "SpectraCore&trade;";
downloads_titles_jpn[3] = "SpectraApps&trade; デジタルテレビ（DTV）";
downloads_titles_jpn[4] = "SpectraApps&trade; デジタル・フォト・マネージャー（DPM）";
downloads_titles_jpn[5] = "SpectraApps&trade; デジタル・オーディオ・マネージャー（DAM）";
downloads_titles_jpn[6] = "SpectraApps&trade; DVD";

var downloads_titles_kor = new Array;

downloads_titles_kor[0] = "SpectraWorks&trade;";
downloads_titles_kor[1] = "SpectraBuilder&trade;";
downloads_titles_kor[2] = "SpectraCore&trade;";
downloads_titles_kor[3] = "SpectraApps&trade; Digital Television （DTV）";
downloads_titles_kor[4] = "SpectraApps&trade; Digital Photo Manager (DPM)";
downloads_titles_kor[5] = "SpectraApps&trade; Digital Audio Manager (DAM)";
downloads_titles_kor[6] = "SpectraApps&trade; DVD";

var downloads_titles_chn = new Array;

downloads_titles_chn[0] = "SpectraWorks&trade;";
downloads_titles_chn[1] = "SpectraBuilder&trade;";
downloads_titles_chn[2] = "SpectraCore&trade;";
downloads_titles_chn[3] = "SpectraApps&trade; 数字电视 (DTV)";
downloads_titles_chn[4] = "SpectraApps&trade; 数码相片管理器 (DPM)";
downloads_titles_chn[5] = "SpectraApps&trade; 数码音乐管理器 (DAM)";
downloads_titles_chn[6] = "SpectraApps&trade; DVD";

var downloads_titles_de = new Array;

downloads_titles_de[0] = "SpectraWorks&trade;";
downloads_titles_de[1] = "SpectraBuilder&trade;";
downloads_titles_de[2] = "SpectraCore&trade;";
downloads_titles_de[3] = "SpectraApps&trade; Digitaler Television (DTV) - Digitales Fernsehen";
downloads_titles_de[4] = "SpectraApps&trade; Digitaler Photo Manager (DPM)";
downloads_titles_de[5] = "SpectraApps&trade; Digitaler Audio Manager (DAM)";
downloads_titles_de[6] = "SpectraApps&trade; DVD ";

var downloads_desc_eng = new Array;

downloads_desc_eng[0] = "Overview of the complete SpectraWorks&trade; GUI platform.";
downloads_desc_eng[1] = "Overview of the SpectraBuilder&trade; GUI building PC tool.";
downloads_desc_eng[2] = "Overview of the SpectraCore&trade; embedded GUI engine.";
downloads_desc_eng[3] = "Overview of the SpectraApps&trade; Digital Television reference application.";
downloads_desc_eng[4] = "Overview of the SpectraApps&trade; Digital Photo reference application.";
downloads_desc_eng[5] = "Overview of the SpectraApps&trade; Digital Audio reference application.";
downloads_desc_eng[6] = "Overview of the SpectraApps&trade; DVD reference application.";

var downloads_desc_jpn = new Array;

downloads_desc_jpn[0] = "完全版SpectraWorks&trade; GUIプラットフォームの概要";
downloads_desc_jpn[1] = "SpectraBuilder&trade; GUI構築PCツールの概要";
downloads_desc_jpn[2] = "SpectraCore&trade; 組み込みGUIエンジンの概要";
downloads_desc_jpn[3] = "SpectraApps&trade; デジタルテレビ・リファレンスの概要";
downloads_desc_jpn[4] = "SpectraApps&trade; デジタル・フォト・リファレンス・アプリケーションの概要";
downloads_desc_jpn[5] = "SpectraApps&trade; デジタル・オーディオ・リファレンス・アプリケーションの概要";
downloads_desc_jpn[6] = "SpectraApps&trade; DVDリファレンス・アプリケーションの概要";

var downloads_desc_kor = new Array;

downloads_desc_kor[0] = "완전한 GUI 플랫폼인 SpectraWorks&trade; 개요";
downloads_desc_kor[1] = "GUI PC용 개발도구인 SpectraBuilder&trade; 개요";
downloads_desc_kor[2] = "임베드되는 GUI 엔진인 SpectraCore&trade; 개요";
downloads_desc_kor[3] = "SpectraApps&trade;의 DTV제품의 개요";
downloads_desc_kor[4] = "SpectraApps&trade;의 Digital Photo제품의 개요";
downloads_desc_kor[5] = "SpectraApps&trade;의 Digital Audio 제품의 개요";
downloads_desc_kor[6] = "SpectraApps&trade;의 DVD관련 제품의 개요";

var downloads_desc_chn = new Array;

downloads_desc_chn[0] = "完全版SpectraWorks&trade; GUI平台完整版概要";
downloads_desc_chn[1] = "SpectraBuilder&trade; GUI构造PC工具概要";
downloads_desc_chn[2] = "SpectraCore&trade; 嵌入式GUI引擎概要";
downloads_desc_chn[3] = "SpectraApps&trade; 数字电视参考概要";
downloads_desc_chn[4] = "SpectraApps&trade; 数码相片参考应用概要";
downloads_desc_chn[5] = "SpectraApps&trade; 数码音乐参考应用概要";
downloads_desc_chn[6] = "SpectraApps&trade; DVD参考应用概要";

var downloads_desc_de = new Array;

downloads_desc_de[0] = "Übersicht der kompletten SpectraWorks&trade; GUI Plattform.";
downloads_desc_de[1] = "Überblick der SpectraBuilder&trade; GUI PC-Konstruktionstools.";
downloads_desc_de[2] = "Überblick der SpectraCore&trade; eingebetteten GUI Engine.";
downloads_desc_de[3] = "Überblick der SpectraApps&trade; Digital Television Referenz-Anwendung";
downloads_desc_de[4] = "Überblick der SpectraApps&trade; Digitaler Photo Manager Referenz-Anwendung";
downloads_desc_de[5] = "Überblick der SpectraApps&trade; Digitaler Audio Manager Referenz-Anwendung";
downloads_desc_de[6] = "Überblick der SpectraApps&trade; DVD Referenz-Anwendung";

function write_spectraworks_datasheets()
{
	var i;

	language = get_language();
	
	for (i = 0; i < 7; ++i)
	{
		document.write("<table><tr><td width=50><a href=");
		document.write("'" + downloads_files[i] + "' target=new>");
		document.write("<img src='" + downloads_icons[i] + "' border=0></a></td><td valign=top><h1>");
		document.write("<a href='" + downloads_files[i] + "' target=new>");
		if (language == "jpn")
		{
			document.write(downloads_titles_jpn[i]);
		}
		else if (language == "kor")
		{
			document.write(downloads_titles_kor[i]);
		}
		else if (language == "chn")
		{
			document.write(downloads_titles_chn[i]);
		}
		else if (language == "de")
		{
			document.write(downloads_titles_de[i]);
		}
		else
		{
			document.write(downloads_titles_eng[i]);
		}
		document.write("</h1><h2>");
		if (language == "jpn")
		{
			document.write(downloads_desc_jpn[i]);
		}
		else if (language == "kor")
		{
			document.write(downloads_desc_kor[i]);
		}
		else if (language == "chn")
		{
			document.write(downloads_desc_chn[i]);
		}
		else if (language == "de")
		{
			document.write(downloads_desc_de[i]);
		}
		else
		{
			document.write(downloads_desc_eng[i]);
		}
		document.writeln("</h2></td></tr></table>");
	}
}
