// 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 = "V-STUDIO 20";
	tp_source = "images_new/products/top_VS-20.png";
	tp_name = "";
	tp_text = "V-STUDIO 20は、ギタリストやバンドマンにフォーカスしたオール・イン・ワンのパッケージ。ハードウェアとソフトウェアの親和性を高めることで、コンピューターに不慣れな方でも直感的に操作でき、ギタリストが慣れ親しんだ単体MTR感覚のレコーディングが行えます。";
	tp_link = "http://www.roland.co.jp/products/jp/VS-20/index.html";
}
if (num == 2) {
	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 == 3) {
	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 == 4) {
	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 == 5) {
	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 == 6) {
	tp_model = "ローランド・オンラインセミナー";
	tp_source = "images/ProdBanners/top_online.png";
	tp_name = "e-learning";
	tp_text = "インターネットにつながったパソコンがあれば、いつでもSONARのレッスンができるローランド・オンラインセミナー「SONAR 入門コース」を開講中。SONAR 8.5/ 8.0/ LEに対応した初心者向けカリキュラムをそれぞれご用意。全6回コースのうち、第1回目は無料！どなたでも受講できます。";
	tp_link = "http://online-seminar.roland.co.jp/index.html";
}

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>');
}