
document.art_onimg01 = new Image();
document.art_onimg01.src="../../../images/new_images/th_tohome_on.gif";
document.art_onimg02 = new Image();
document.art_onimg02.src="../../../images/new_images/th_toret_on.gif";
document.art_onimg03 = new Image();
document.art_onimg03.src="../../../images/n_kabe/artist/toh_com.gif";
document.art_onimg04 = new Image();
document.art_onimg04.src="../../../images/n_kabe/artist/toret_com.gif";
document.art_onimg05 = new Image();
document.art_onimg05.src="../../../images/new_images/up_on.gif";
document.art_onimg06 = new Image();
document.art_onimg06.src="../../../images/new_images/up_com.gif";
document.kab_endimg03 = new Image();
document.kab_endimg03.src="../../../images/n_kabe/kako/goog/goog2-234on.gif";
document.kab_endimg04 = new Image();
document.kab_endimg04.src="../../../images/n_kabe/kako/goog/goog3-2on.gif";

// メイン画像の動き

function art_on(i) {
	if(i == 1){document.art_toh.src="../../../images/new_images/th_tohome_on.gif";
		document.art_com.src="../../../images/n_kabe/artist/toh_com.gif"}
	if(i == 2){document.art_tor.src="../../../images/new_images/th_toret_on.gif";
		document.art_com.src="../../../images/n_kabe/artist/toret_com.gif"}
	if(i == 3){document.end_02.src="../../../images/new_images/up_on.gif";
		document.end_01.src="../../../images/new_images/up_com.gif"}
}

function art_off(i) {
	if(i == 1){document.art_toh.src="../../../images/new_images/th_tohome_off.gif";
		document.art_com.src="../../../images/new_images/pix.gif"}
	if(i == 2){document.art_tor.src="../../../images/new_images/th_toret_off.gif";
		document.art_com.src="../../../images/new_images/pix.gif"}
	if(i == 3){document.end_02.src="../../../images/new_images/up_off.gif";
		document.end_01.src="../../../images/new_images/pix.gif"}
}

function end0_on(){
	document.end_003.src="../../../images/new_images/up_on.gif";
	document.end_002.src="../../../images/n_kabe/kako/goog/goog3-2on.gif";
	document.end_001.src="../../../images/n_kabe/kako/goog/goog2-234on.gif"}

function end0_out(){
	document.end_003.src="../../../images/new_images/up_off.gif";
	document.end_002.src="../../../images/n_kabe/kako/goog/goog3-2off.gif";
	document.end_001.src="../../../images/n_kabe/kako/goog/goog2-234off.gif"}

// 表示位置
	mouse_x = -50;
	mouse_y = 20;
// テーブル
mes_head = '<table cellpadding=3 cellspacing=1 border=0 bgcolor=#9999ff><tr><td bgcolor=white class=line><DIV id="comment" style="font-size:9pt; color:#ff5177">';
mes_foot = '</DIV></td></tr></table>';

// メッセージ・表示
function on(events,mes) {
	text = mes_head + mes + mes_foot;
		if ( navigator.appName.charAt(0) == "N" ) {
			xpos = events.pageX;
			ypos = events.pageY;
			iv = document.layers["coment"];
			iv.left	= xpos + mouse_x;
			iv.top	= ypos + mouse_y;
			iv.document.open();
			iv.document.write(text);
			iv.document.close();
			iv.visibility="show";
		} else if ( navigator.appName.charAt(0) == "M" ) {
			xpos = document.body.scrollLeft+event.clientX;
			ypos = document.body.scrollTop+event.clientY;
			iv = document.all("coment");
			iv.style.posLeft	= xpos + mouse_x;
			iv.style.posTop	= ypos + mouse_y;
			iv.innerHTML = text;
			iv.style.visibility="visible";
		}
}

// メッセージ・非表示
function off() {
	if ( navigator.appName.charAt(0) == "N" ) document.layers["coment"].visibility="hide";
	else if ( navigator.appName.charAt(0) == "M" ) document.all("coment").style.visibility="hidden";
}


// サブウィンドウを開く
function pop_p(name,w,h,url){
	var_w = w;
	var_sw = "width=" + var_w;
	var_h = h;
	var_sh = ",height=" + var_h;
	var_url = url;
	var_name = name;
	varOpenopt = "toolbar=0,menuvar=0,status=0,scrollbars=0,resizable=0," + var_sw + var_sh;
	sho_nw=window.open("",var_name,varOpenopt);
	sho_nw.location.href=var_url;
	sho_nw.focus();}
