//画像書き換え
function changImg1(imgNoA,imgNoB) {
	if(navigator.appVersion.charAt(0)>=3) {
		document.images[imgNoA].src=movimg[imgNoB].src;
	}
}

//写真ポップアップ
function popuphoto(image,wid,hit){
	photowin=window.open("","Photo","toolbar=no,width="+wid+",height="+hit+",directories=no,status=no,scrollbars=no,resizable=yes,menubar=no");
	photowin.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n');
	photowin.document.write('<HTML lang="ja">\n');
	photowin.document.write('<HEAD>\n');
	photowin.document.write('<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">\n');
	photowin.document.write('<TITLE>Photo</TITLE>\n');
	photowin.document.write('<LINK rel="stylesheet" href="./common.css" type="text/css">');
	photowin.document.write('<STYLE type="text/css">');
	photowin.document.write('<!--');
	photowin.document.write('BODY { margin: 0px; }');
	photowin.document.write('//-->');
	photowin.document.write('</STYLE>');
	photowin.document.write('</HEAD>\n');
	photowin.document.write('<BODY topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">');
	photowin.document.write('<IMG SRC="'+image+'" WIDTH='+wid+' HEIGHT='+hit+' ALT="Photo">\n');
	photowin.document.write('</BODY>\n');
	photowin.document.write('</HTML>\n');
	photowin.document.close();
	if ( navigator.appName == 'Netscape' && eval(navigator.appVersion.substring(0,3)) >= 3) {
		photowin.focus();
	}
	if ( navigator.appName == 'Microsoft Internet Explorer' && eval(navigator.appVersion.substring(0,3)) >= 4) {
		photowin.focus();
	}
}

