// JavaScript Document

//////////////////////////////////////////////////////////////
//まとめて詳細表示
function funcA(){
				//alert(document.list.matome.length);
				//return false;

			//複数
			if(document.list.matome.length){
							var str="";

							for(var n=0; n<document.list.matome.length; n++){
										if(document.list.matome[n].checked){
												str += document.list.matome[n].checked;
										}
							}

							if(str){	document.list.submit();}

			//単数
			}else{
						if(document.list.matome.checked){
								document.list.submit();
						}
			}

			return false;

}

//////////////////////////////////////////////////////////////
//拡大図
function CUwindow(f,x,y){

	var win;
	var styleStr = "";

	if(x == undefined){ x = 400;}
	if(y == undefined){ y = 300;}

	x = 12 +x;
	y = 74 +y;

	styleStr = 'width=' +x+ ',height=' +y;
	styleStr += ',menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes';

	win = window.open("","SubWindow",styleStr);
	win.window.resizeTo(x,y);
	win.document.clear();

	with (win.document) {
		write('<html lang="ja"><head><title>拡大表示</title></head>');
		write('<body style="margin:0;">');
		write('<img src="'+f+'" alt="">');
		//write(x);
		//write(',');
		//write(y);
		write('</body></html>');
	}

	win.document.close();
	win.focus();


}
