/*******************************************************************************	関数名	ZoomImage	機能		画像をクリックすると、別ウィンドウに画像を表示する。		入力		sImg		画像ファイル名			sDataName 	画像コメントが格納されているデータ名	制作　　　programing	c61.org (http://www.c61.org/)	　　　　　design	katati.com (http://www.katati.com/)*******************************************************************************/function ZoomImage(sImg){	aHtmlLines = new Array();	var iCnt=0;aHtmlLines[0] = "<html><head><title>Zoom Image</title>";aHtmlLines[1] = "</head>";aHtmlLines[2] ="<body style='background-color:#fff;margin:0px;'>";aHtmlLines[3] = "<table border=0 cellspacing=0 cellpadding=0 width=100% height=100%><tr><td align=center valign=middle>";aHtmlLines[4] = "<a href='javascript:window.close()'><img src='" + sImg + "' border='0' name='IMG'></a>";aHtmlLines[5] = "</td></tr></table></body></html>";	// Windowの位置を算出する。	var iWindowLeft=0;	var iWindowTop=0;	var iWindowWidth =560;	var iWindowHeight=560;	var iScreenWidth = screen.width;	var iScreenHeight = screen.height;		iWindowLeft = (iScreenWidth - iWindowWidth) / 2;	iWindowTop = (iScreenHeight - iWindowHeight) / 2;		wImg = window.open('', '_blank','width=' + iWindowWidth + ',' + 'height=' + iWindowHeight + ',top=' + iWindowTop + ',left=' + iWindowLeft + ',status=no,scrollbars=yes,directories=no,menubar=no,resizable=yes');	for(iCnt=0; iCnt < aHtmlLines.length; iCnt++){		wImg.document.write(aHtmlLines[iCnt]);	}}function Sound(url){	// Windowの位置を算出する。	var iWindowLeft=0;	var iWindowTop=0;	var iWindowWidth =340;	var iWindowHeight=260;	var iScreenWidth = screen.width;	var iScreenHeight = screen.height;		iWindowLeft = (iScreenWidth - iWindowWidth) / 2;	iWindowTop = (iScreenHeight - iWindowHeight) / 2;		wImg = window.open(url, '_blank','width=' + iWindowWidth + ',' + 'height=' + iWindowHeight + ',top=' + iWindowTop + ',left=' + iWindowLeft + ',status=no,scrollbars=yes,directories=no,menubar=no,resizable=yes');}function SubWin(url,ws,hh){	swin = window.open(url, 'swin','width=400'+',' + 'height=' + hh  + ',status=no,scrollbars=yes,directories=no,menubar=no,resizable=yes');}
