

/*	document.write("<LINK href=\"common/stlye.css\" rel=\"stylesheet\" type=\"text/css\">"); 
*/

/***** オープンウィンドウ*****/
/* function openWindow(theURL,winName,features) { 
	window.open(theURL,winName,'toolbar=no,location=no,status=no,menubar=no,scrollbars=auto,resizable=yes,width=350,height=550');
} */

function openWindow() { 
var window_location;
window_location=window.open("","window1","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=350,height=550");
window_location.focus();
}


/* function openWindow2(theURL,winName,features) { 
 window.open(theURL,winName,'toolbar=no,location=no,status=no,menubar=no,scrollbars=auto,resizable=yes,width=350,height=600');
} */

function openWindow2() { 
var window_location;
window_location=window.open("","window2","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=350,height=600");
window_location.focus();
}




/***** ズームタイトルキーホルダー*****/
function write_titlekeyholder(){
	document.write("<img src=\"../../img/zoom_key.gif\" height=\"23\" width=\"170\" ><br>");
}




/*****サブメニューキーホルダー*****/
function write_submenukeyholder(){
	document.write("<DIV class=\"submenu\">");
	document.write("<img src=\"../img/sub_key.gif\" height=\"22\" width=\"127\" ><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"index.html\"> <img src=\"../img/arrow.gif\" border=\"0\">乗り物</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"goods.html\"> <img src=\"../img/arrow.gif\" border=\"0\">グッズ</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"art.html\"> <img src=\"../img/arrow.gif\" border=\"0\">アート</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"building.html\"> <img src=\"../img/arrow.gif\" border=\"0\">建　物</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"sports.html\"> <img src=\"../img/arrow.gif\" border=\"0\">スポーツ</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"wintersports.html\"> <img src=\"../img/arrow.gif\" border=\"0\">ウィンタースポーツ</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"hourse.html\"> <img src=\"../img/arrow.gif\" border=\"0\">馬</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"western.html\"> <img src=\"../img/arrow.gif\" border=\"0\">ウエスタン物語</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"vegitable.html\"> <img src=\"../img/arrow.gif\" border=\"0\">野　菜</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"music.html\"> <img src=\"../img/arrow.gif\" border=\"0\">楽　器</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"adventure.html\"> <img src=\"../img/arrow.gif\" border=\"0\">冒険物</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"japanese.html\"> <img src=\"../img/arrow.gif\" border=\"0\">和　物</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"eto.html\"> <img src=\"../img/arrow.gif\" border=\"0\">干　支</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"animal.html\"> <img src=\"../img/arrow.gif\" border=\"0\">動　物</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"water.html\"> <img src=\"../img/arrow.gif\" border=\"0\">水の仲間</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"tshirts.html\"> <img src=\"../img/arrow.gif\" border=\"0\">Tシャツシリーズ</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"gift.html\"> <img src=\"../img/arrow.gif\" border=\"0\">キーホルダーギフト用</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("</DIV>");
}


/*****サブメニューデスクアクセサリー*****/
function write_submenudesk(){
	document.write("<DIV class=\"submenu\">");
	document.write("<img src=\"../img/sub_desk.gif\" height=\"22\" width=\"127\" ><br><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"index.html\"> <img src=\"../img/arrow.gif\" border=\"0\">卓上ライター</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"tableclock.html\"> <img src=\"../img/arrow.gif\" border=\"0\">テーブルクロック</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"animalflame.html\"> <img src=\"../img/arrow.gif\" border=\"0\">動物フレーム</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"miniflame.html\"> <img src=\"../img/arrow.gif\" border=\"0\">ミニデコフレーム</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"stamp.html\"> <img src=\"../img/arrow.gif\" border=\"0\">印鑑スタンド</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"glass.html\"> <img src=\"../img/arrow.gif\" border=\"0\">メガネ小物スタンド</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"ornament.html\"> <img src=\"../img/arrow.gif\" border=\"0\">オーナメント</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"wallclock.html\"> <img src=\"../img/arrow.gif\" border=\"0\">壁掛け時計</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"magazine.html\"> <img src=\"../img/arrow.gif\" border=\"0\">マガジンラック</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("</DIV>");
}


/*****サブメニューファッション雑貨*****/
function write_submenufashion(){
	document.write("<DIV class=\"submenu\">");
	document.write("<img src=\"../img/sub_fashion.gif\" height=\"22\" width=\"127\" ><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"index.html\"> <img src=\"../img/arrow.gif\" border=\"0\">コインケース</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"bag.html\"> <img src=\"../img/arrow.gif\" border=\"0\">バッグチャーム</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"ticket.html\"> <img src=\"../img/arrow.gif\" border=\"0\">チケット・ネームホルダー</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"book.html\"> <img src=\"../img/arrow.gif\" border=\"0\">ブックマーカー</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("</DIV>");
}


/*****サブメニュー携帯アクセサリー*****/
function write_submenukeitai(){
	document.write("<DIV class=\"submenu\">");
	document.write("<img src=\"../img/sub_keitai.gif\" height=\"22\" width=\"127\" ><br><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"index.html\"> <img src=\"../img/arrow.gif\" border=\"0\">プチワンちゃん</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"petitneko.html\"> <img src=\"../img/arrow.gif\" border=\"0\">プチネコちゃん</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"petitgoods.html\"> <img src=\"../img/arrow.gif\" border=\"0\">プチグッズ</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"petitani.html\"> <img src=\"../img/arrow.gif\" border=\"0\">プチ動物</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"petiteto.html\"> <img src=\"../img/arrow.gif\" border=\"0\">プチ干支・他</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"petitfish.html\"> <img src=\"../img/arrow.gif\" border=\"0\">プチ魚・他</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"kawagoods.html\"> <img src=\"../img/arrow.gif\" border=\"0\">本革ストラップグッズ</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("</DIV>");
}


/*****サブメニュードコデモキーホルダー*****/
function write_submenudokodemo(){
	document.write("<DIV class=\"submenu\">");
	document.write("<img src=\"../img/sub_doko.gif\" height=\"22\" width=\"127\" ><br><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"index.html\"> <img src=\"../img/arrow.gif\" border=\"0\">ドコデモワンちゃん</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"dokoneko.html\"> <img src=\"../img/arrow.gif\" border=\"0\">ドコデモネコちゃん</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"dokogoods.html\"> <img src=\"../img/arrow.gif\" border=\"0\">ドコデモグッズ</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"dokoani.html\"> <img src=\"../img/arrow.gif\" border=\"0\">ドコデモ動物</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"dokoeto.html\"> <img src=\"../img/arrow.gif\" border=\"0\">ドコデモ干支・他</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"dokofish.html\"> <img src=\"../img/arrow.gif\" border=\"0\">ドコデモ魚・他</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("</DIV>");
}


/*****サブメニューパーツ組み合わせ*****/
function write_submenuparts(){
	document.write("<DIV class=\"submenu\">");
	document.write("<img src=\"../img/sub_parts.gif\" height=\"22\" width=\"127\" ><br><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"index.html\"> <img src=\"../img/arrow.gif\" border=\"0\">金具パーツ</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"initial.html\"> <img src=\"../img/arrow.gif\" border=\"0\">イニシャル</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"month.html\"> <img src=\"../img/arrow.gif\" border=\"0\">お誕生月</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"days.html\"> <img src=\"../img/arrow.gif\" border=\"0\">お誕生日</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("<A href=\"eto.html\"> <img src=\"../img/arrow.gif\" border=\"0\">干支・マスコット</A><img src=\"../img/line_submenu.gif\"><br>");
	document.write("</DIV>");
}





/*****画像きりかえ*****/

//各htmlで設定する項目（例）
/*
imgPath="../img";			//画像の保存先パス
imgName="style_";			//可変するimgの名前
imgFormat=".jpg";			//画像フォーマット
comment=new Array();		//コメント用配列
comment[0]="";
comment[1]="コメント1";
*/

function showImg(imgNum) {//イメージチェンジ
var pics=imgPath+imgName+imgNum+imgFormat;
document.images["photo"].src=pics;		//imageのソース
}








//-------------------------------------------------------------------------------------------------
// 概要 : 日付オブジェクト定義(年)
//
// 対象 : すべて
//
// @param [g_strDate] : [オブジェクト型] . 日付オブジェクト格納用グローバル変数
//-------------------------------------------------------------------------------------------------
// 日付オブジェクト定義
objDate = new Date();
var yy = objDate.getYear();

// 2000年問題対応
if ( yy < 2000 ) { yy += 1900; }

// 年の取得
var g_strDate = yy;


//-------------------------------------------------------------------------------------------------
// 概要 : コピーライト書き出し関数
//
// 解説 : ページフッターにコピーライトを書き出す。
//
// 対象 : すべて
//
// @param [g_strDate]   : [オブジェクト型] . 定義済日付オブジェクト格納用グローバル変数
// @param [g_srtCopy]   : [文字列型]       . コピーライト文字列形成用グローバル変数
// @param [objId]       : [オブジェクト型] . 書き出し対象オブジェクト
//
// @event [onload] : body
//-------------------------------------------------------------------------------------------------
var g_srtCopy = 'COPYRIGHT&nbsp;&copy;' + g_strDate + '&nbsp;VANCA&nbsp;CRAFT&nbsp;INC.&nbsp;ALL&nbsp;RIGHTS&nbsp;RESERVED.&nbsp;&nbsp;&nbsp;';

function fncCopyRights( objId )
{
	// IE の場合
	if( navigator.appName.indexOf( 'Microsoft' ) > -1 )
	{
		// コピーライト書き出し
		document.all( objId ).innerHTML = g_srtCopy;
	}

	// Netscape の場合
	else if( navigator.appName.indexOf( 'Netscape' ) > -1 )
	{
		// コピーライト書き出し
		document.getElementById( objId ).innerHTML = g_srtCopy;
	}

	return false;
}

