// JavaScript Document

var max_num = 6;
var num = 0;

//	News & Topics

function topics()
{
var num = Math.floor(Math.random() * max_num)+1;

//	num = 6;

if (num == 1) {
	tp_model = "UA-101";
	tp_source = "images/ProdBanners/top_UA-101.png";
	tp_name = "Hi-Speed USB Audio Capture";
	tp_text = "UA-101は、豊富な入出力端子をコンパクトなハーフ・ラック・サイズに凝縮したHi-Speed USB（USB 2.0）オーディオ・インターフェースです。最高24ビット／192kHz入出力、10イン／10アウトに対応し、業界最高峰のオーディオ・クオリティと多彩な入出力をサポートしています。";
	tp_link = "/Products/UA-101/";
}
if (num == 2) {
	tp_model = "UA-25EX";
	tp_source = "images/ProdBanners/top_UA-25EX.png";
	tp_name = "24-bit USB Audio Capture";
	tp_text = "UA-25EXは、USBバス電源駆動でありながら低ノイズ化に徹底的にこだわった高音質設計。新開発のマイク・プリアンプ＆ファンタム電源をはじめ、アナログ・コンプレッサー回路、ダイレクト・ボックス機能など、サイズからは想像できない充実の機能を搭載しています。";
	tp_link = "/Products/UA-25EX/";
}
if (num == 3) {
	tp_model = "UA-4FX";
	tp_source = "images/ProdBanners/top_UA-4FX.png";
	tp_name = "24-bit/96kHz USB Audio Capture";
	tp_text = "UA-4FXは、24ビット／96kHzの高音質録音／再生に加え、音質補正機能や真空管アンプ・モデリングで多彩な音づくりにも対応。ファンタム電源供給可能なマイク入力も備え、さまざまなシーンで活躍するオーディオ・インターフェースです。";
	tp_link = "/Products/UA-4FX/";
}
if (num == 4) {
	tp_model = "A-PROシリーズ";
	tp_source = "images/ProdBanners/top_A-PRO.png";
	tp_name = "MIDI Keyboard Controller";
	tp_text = "キーボードとしての演奏感、コントローラーとしての操作感をさらに追求した高性能MIDIキーボード・コントローラー。";
	tp_link = "/Products/keyboard.shtml";
}
if (num == 5) {
	tp_model = "Mobile Studio Canvas";
	tp_source = "images/ProdBanners/top_SD-50.png";
	tp_name = "";
	tp_text = "最新のスタジオ・キャンバスとMUSIC CREATOR 5で構築するモバイル・スタジオ・システム。";
	tp_link = "/Products/package.shtml";
}
if (num == 6) {
	tp_model = "Music Creator 5";
	tp_source = "images/ProdBanners/top_MC5.png";
	tp_name = "";
	tp_text = "MUSIC CREATOR 5は、パソコンを使った音楽制作をこれから始めてみたい方に最適なパッケージ。音源やエフェクター、ミキサー、マルチトラック・レコーダー、MIDIシーケンサーなど、音楽制作に必要な機材や機能をソフトウェア上に凝縮し、ボーカルや楽器演奏を組み合わせた本格的な楽曲をつくり出すことが可能です。";
	tp_link = "/Products/home.shtml";
}

document.write('<div class="box_img_topics">');
document.write('<div align="center"><img src="' + tp_source + '" width="110" height="140" /></div></div>');
document.write('<div class="box_text_topics">');
document.write('<div class="topics_model">' + tp_model + '</div>');
document.write('<div class="topics_name">' + tp_name + '</div>');
document.write(tp_text + '</div>');
document.write('<div class="box_link">');
document.write('<p><a href="' + tp_link + '">詳細はこちら</a></p>');
document.write('</div>');
}