// JavaScript Document

function showMsg(){
	alert("ただいまメンテナンス中です。しばらくお待ちください");
}

function news_win() {
	var news_win=window.open('http://www.mdfurniture.jp/cgi/news/topics.cgi', 'news_win', 'toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=680, height=600');
news_win.window.focus();
}

function OnShop() {
	var BtoB=window.open('https://vivid-site.jp/makuden/shop/shop_01.html', 'OnShop', 'toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=yes');
OnShop.window.focus();
}

function gabbeh_win() {
	var gabbeh_win=window.open('http://www.mdfurniture.jp/cgi/gabbeh/topics.cgi', 'gabbeh_win', 'toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=680, height=600');
gabbeh_win.window.focus();
}

function WoWin() {
	var WoWin=window.open('http://vivid-site.jp/makuden/catalog/', 'WoWin', 'toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=yes');
WoWin.window.focus();
}

// スライドショー

Event.observe(document, "dom:loaded", function(){
    var slideInfs = [
        {img:'././img/img01.jpg', scrool:'N', direction:1,
         sDuration:2, anchor:""},
        {img:'././img/img02.jpg', scrool:'N', direction:1,
         sDuration:2, anchor:""},
        {img:'././img/img03.jpg', scrool:'N', direction:1,
         sDuration:3, anchor:""},
        {img:'././img/img04.jpg', scrool:'N', direction:1,
         sDuration:3, anchor:""},
        {img:'././img/img05.jpg', scrool:'N', direction:1,
         sDuration:2, anchor:""},
        {img:'././img/img06.jpg', scrool:'N', direction:1,
         sDuration:3, anchor:""},
        {img:'././img/img07.jpg', scrool:'N', direction:1,
         sDuration:2, anchor:""}
               ];
    //個々のスライドイメージのプロパティーをオブジェクト配列で指定します。

    new cycSlidesShow('photos', slideInfs, {interval:5,
                                            duration:2.5,
                                            parallel:true
                                           });
    //スライドショーを生成します
})

