//■ウィンドウオープン（汎用）function w_open(url,width,height) {	w = window.open("","","width=" + width +",height=" + height +",scrollbars=1,resizable=1");	w.moveTo((screen.width - width)/2,(screen.height - height)/2);	w.location = url;}//■640×480 jpg画像オープンfunction jpg_open(imgs){	w=window.open("","","width=640,height=480,,scrollbars=0");	x = (screen.width - 640 ) / 2;	y = (screen.height -480 ) / 2;	w.moveTo(x,y);	w.document.write('<html><head><title>拡大画像</title></head><body bgcolor="FFFFFF" MARGINWIDTH="0" MARGINHEIGHT="0" TOPMARGIN="0" LEFTMARGIN="0"><center>');	w.document.write('<img src="'+imgs+'" width=640 height=480">');	w.document.write('</body></html>');}//■Mac用スタイルシート設定function css_set() {if (navigator.userAgent.indexOf('Mac') != -1) {var plat = "Mac";} 	if (plat == "Mac"){		document.write('<LINK HREF="../indexM.css" REL="styleSheet" TYPE="text/css">');	}}//■TOP画像入れ替えfunction changeimage() {	n = Math.floor(Math.random() * 10)+1; document.topfoto.src = "img/top_foto" + n + ".jpg";}