// JavaScript Document

function room_pic_change(src) {
	document.room_image.src=src
}

function room_pic_popup(img,width,height){
	var opt = "";
	opt+=',width='+width+',height='+height+',';
	opt+='directories=no,toolbar=no,menubar=no,scrollbars=0,location=no,status=no,resizable=0';
	jsw=window.open('','jsw',opt);
	jsw.focus();
	jsw.document.open();
	htm='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
	htm+='<html xmlns="http://www.w3.org/1999/xhtml">'
	htm+='<head>';
	htm+='<meta http-equiv="Content-Type" content="text/html; charset=utf-8" \/>';
	htm+='<link href="../css/main.css" rel="stylesheet" type="text/css" \/>';
	htm+='<title>平面図<\/title>';
	htm+='<\/head>';
	htm+='<body>';
	htm+='<a href="javascript:window.close();">';
	htm+='<img src="../room/'+img+'" width="'+width+'" height="'+height+'" alt="画像をクリックするとウィンドウを閉じます" \/>';
	htm+='<\/a>';
	htm+='<\/body><\/html>';
	jsw.document.write(htm);
	jsw.document.close();
}


function garden_map_popup(img,width,height){
	var opt = "";
	opt+=',width='+width+',height='+height+',';
	opt+='directories=no,toolbar=no,menubar=no,scrollbars=0,location=no,status=no,resizable=0';
	jsw=window.open('','jsw',opt);
	jsw.focus();
	jsw.document.open();
	htm='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
	htm+='<html xmlns="http://www.w3.org/1999/xhtml">'
	htm+='<head>';
	htm+='<meta http-equiv="Content-Type" content="text/html; charset=utf-8" \/>';
	htm+='<link href="../css/main.css" rel="stylesheet" type="text/css" \/>';
	htm+='<title>庭全体図</title>';
	htm+='<\/head>';
	htm+='<body>';
	htm+='<a href="javascript:window.close();">';
	htm+='<img src="../room/'+img+'" width="'+width+'" height="'+height+'" alt="画像をクリックするとウィンドウを閉じます" \/>';
	htm+='<\/a>';
	htm+='<\/body><\/html>';
	jsw.document.write(htm);
	jsw.document.close();
}


function garden_intro_fade() {
	 new Effect.Appear("garden_intro_yuki", {duration: 5});
			 Effect.Appear("garden_intro_momiji", {duration: 5, delay:2});
			 Effect.Appear("garden_intro_ike", {duration: 5, delay:4});
			 Effect.Appear("garden_intro_michi", {duration: 5, delay:6});
}


