/********************************************************************************

	共通スクリプト

********************************************************************************/



//_______________________________________________________________________________
//	動画ポップアップ
function	PopupMovie( vTgt )
{
	var	hWnd	=	window.open( '', 'Movie', 'resizable=1,status=1,width=740,height=480' );

	hWnd.document.open();
	hWnd.document.write('<?xml version="1.0" encoding="utf-8"?>\n');
	hWnd.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n');
	hWnd.document.write('<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n');
	hWnd.document.write('  <head>\n');
	hWnd.document.write('    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n');
	hWnd.document.write('    <meta http-equiv="Content-Style-Type" content="text/css" />\n');
	hWnd.document.write('    <meta http-equiv="Content-Script-Type" content="text/javascript" />\n');
	hWnd.document.write('  </head>\n');
	hWnd.document.write('  <body style="margin:10px;text-align:center;">\n');
	hWnd.document.write('    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="720" height="449">\n');
	hWnd.document.write('      <param name="flashvars" value="flv_src=' + vTgt + '" />\n');
	hWnd.document.write('      <param name="movie" value="movie.swf" />\n');
	hWnd.document.write('      <param name="quality" value="high" />\n');
	hWnd.document.write('      <embed src="movie.swf" flashvars="flv_src=' + vTgt + '" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="720" height="449"></embed>\n');
	hWnd.document.write('    </object></noscript>\n');
	hWnd.document.write('  </body>\n');
	hWnd.document.write('</html>\n');
	hWnd.document.close();

	hWnd.focus();
}


//_______________________________________________________________________________
//	地図ポップアップ
function	PopupMap( vTgt )
{
	var	hWnd	=	window.open( '', 'Map', 'resizable=1,status=1,width=850,height=630' );

	hWnd.document.open();
	hWnd.document.write('<?xml version="1.0" encoding="utf-8"?>\n');
	hWnd.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n');
	hWnd.document.write('<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n');
	hWnd.document.write('  <head>\n');
	hWnd.document.write('    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n');
	hWnd.document.write('    <meta http-equiv="Content-Style-Type" content="text/css" />\n');
	hWnd.document.write('    <meta http-equiv="Content-Script-Type" content="text/javascript" />\n');
	hWnd.document.write('  </head>\n');
	hWnd.document.write('  <body style="margin:10px;text-align:center;">\n');
	hWnd.document.write('    <p style="margin:0;"><img src="' + vTgt + '" width="800" height="600" alt="" /></p>\n');
	hWnd.document.write('  </body>\n');
	hWnd.document.write('</html>\n');
	hWnd.document.close();

	hWnd.focus();
}
//_______________________________________________________________________________
//	地図ポップアップ（観光名所一覧用）
function	PopupSpotListMap( vTgt )
{
	var	hWnd	=	window.open( '', 'Map', 'resizable=1,status=1,width=910,height=430' );

	hWnd.document.open();
	hWnd.document.write('<?xml version="1.0" encoding="utf-8"?>\n');
	hWnd.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n');
	hWnd.document.write('<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n');
	hWnd.document.write('  <head>\n');
	hWnd.document.write('    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n');
	hWnd.document.write('    <meta http-equiv="Content-Style-Type" content="text/css" />\n');
	hWnd.document.write('    <meta http-equiv="Content-Script-Type" content="text/javascript" />\n');
	hWnd.document.write('  </head>\n');
	hWnd.document.write('  <body style="margin:10px;text-align:center;">\n');
	hWnd.document.write('    <p style="margin:0;"><img src="' + vTgt + '" width="860" height="400" alt="" /></p>\n');
	hWnd.document.write('  </body>\n');
	hWnd.document.write('</html>\n');
	hWnd.document.close();

	hWnd.focus();
}



