
function map(){

	var css = "";
	css += "<style type='text/css'>\n";
	css += "a{\n";
	css += "	text-decoration:none; \n";
	css += "	color:#3366CC; \n";
	css += "	font-weight:bold; \n";
	css += "}\n";
	css += "a:hover{\n";
	css += "	color:#FF8247; \n";
	css += "	text-decoration:underline; \n";
	css += "}\n";
	css += "</style>\n";

	var pop_win = window.open(
					"Map",
					"_blank",
					"width="+"750"+",height="+"650"+",scrollbars=yes,resizable=yes,location=yes,toolbar=yes"
				);

	pop_win.window.document.open();
	pop_win.window.document.write(
			'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n'
			,'<head>\n'
			,'<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=EUC-JP">'
			,'<title>'+'Map'+'</title>'
			,css
			,'</head>\n'
			,'<body style="margin:5px 0px 5px 10px;padding:0;border:0;font-size:10pt;">\n'
			,'<div>\n'
			,'<iframe width="700" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.jp/maps?f=q&amp;source=s_q&amp;hl=ja&amp;geocode=&amp;q=%E6%9D%B1%E4%BA%AC%E9%83%BD%E4%B8%AD%E5%A4%AE%E5%8C%BA%E9%8A%80%E5%BA%A78-11-13&amp;sll=35.667809,139.76279&amp;sspn=0.016125,0.014184&amp;ie=UTF8&amp;ll=35.668977,139.763421&amp;spn=0.00523,0.00751&amp;z=17&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.co.jp/maps?f=q&amp;source=embed&amp;hl=ja&amp;geocode=&amp;q=%E6%9D%B1%E4%BA%AC%E9%83%BD%E4%B8%AD%E5%A4%AE%E5%8C%BA%E9%8A%80%E5%BA%A78-11-13&amp;sll=35.667809,139.76279&amp;sspn=0.016125,0.014184&amp;ie=UTF8&amp;ll=35.668977,139.763421&amp;spn=0.00523,0.00751&amp;z=17&amp;iwloc=A" style="color:#0000FF;text-align:left">大きな地図で見る</a></small>\n'
			/*+'<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.jp/maps/ms?source=s_q&amp;hl=ja&amp;geocode=&amp;ie=UTF8&amp;view=map&amp;num=10&amp;ei=stKfSonRHJz4vAOch7nWCw&amp;sig2=OtrFTqu51q7Dc5in2U1nRg&amp;msa=0&amp;msid=100133370661337565470.000472a6aae0f8b3ada88&amp;ll=35.667809,139.76279&amp;spn=0,0&amp;output=embed"></iframe><br /><small>より大きな地図で <a href="http://maps.google.co.jp/maps/ms?source=embed&amp;hl=ja&amp;geocode=&amp;ie=UTF8&amp;view=map&amp;num=10&amp;ei=stKfSonRHJz4vAOch7nWCw&amp;sig2=OtrFTqu51q7Dc5in2U1nRg&amp;msa=0&amp;msid=100133370661337565470.000472a6aae0f8b3ada88&amp;ll=35.667809,139.76279&amp;spn=0,0" style="color:#0000FF;text-align:left">モトーリモーダ銀座店</a> を表示</small>'*/
			/*+'<iframe width="700" height="394" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.jp/maps/sv?cbp=12,121.79,,0,6.08&amp;cbll=35.667879,139.762695&amp;v=1&amp;panoid=FqmoQ_y0blUY8AdjCBuW9g&amp;gl=&amp;hl=ja"></iframe><br /><small><a id="cbembedlink" href="http://maps.google.co.jp/maps?cbp=12,121.79,,0,6.08&cbll=35.667879,139.762695&ll=35.667879,139.762695&layer=c" style="color:#0000FF;text-align:left">大きな地図で見る</a></small>'*/
			,'</div>\n'
			,'</body>\n'
			,'</html>'
		);
	pop_win.window.document.close();

}

function movie( no ){

	var css = "";
	css += "<style type='text/css'>\n";
	css += "a{\n";
	css += "	text-decoration:none; \n";
	css += "	color:#3366CC; \n";
	css += "	font-weight:bold; \n";
	css += "}\n";
	css += "a:hover{\n";
	css += "	color:#FF8247; \n";
	css += "	text-decoration:underline; \n";
	css += "}\n";
	css += "</style>\n";

	var mov1 = "";
	mov1 += '';
	mov1 += '<object width="560" height="340">\n';
	mov1 += '<param name="movie" value="http://www.youtube.com/v/yUOWUkSofHs&#038;hl=ja_JP&#038;fs=1&#038;"></param>\n';
	mov1 += '<param name="allowFullScreen" value="true"></param>\n';
	mov1 += '<param name="allowscriptaccess" value="always"></param>\n';
	mov1 += '<embed src="http://www.youtube.com/v/yUOWUkSofHs&#038;hl=ja_JP&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>\n';
	mov1 += '</object>\n';

	var mov2 = "";
	mov2 += '';
	mov2 += '<object width="560" height="340">\n';
	mov2 += '<param name="movie" value="http://www.youtube.com/v/MTEmQBuj6mE&#038;hl=ja_JP&#038;fs=1&#038;"></param>\n';
	mov2 += '<param name="allowFullScreen" value="true"></param>\n';
	mov2 += '<param name="allowscriptaccess" value="always"></param>\n';
	mov2 += '<embed src="http://www.youtube.com/v/MTEmQBuj6mE&#038;hl=ja_JP&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>\n';
	mov2 += '</object>\n';

	var mov3 = "";
	mov3 += '';
	mov3 += '<object width="560" height="340">\n';
	mov3 += '<param name="movie" value="http://www.youtube.com/v/aFZ4FvkG11U&#038;hl=ja_JP&#038;fs=1&#038;"></param>\n';
	mov3 += '<param name="allowFullScreen" value="true"></param>\n';
	mov3 += '<param name="allowscriptaccess" value="always"></param>\n';
	mov3 += '<embed src="http://www.youtube.com/v/aFZ4FvkG11U&#038;hl=ja_JP&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>\n';
	mov3 += '</object>\n';

	var mov;

	if( no == 1 ){
		mov = mov1;
	}
	if( no == 2 ){
		mov = mov2;
	}
	if( no == 3 ){
		mov = mov3;
	}

	var pop_win = window.open(
					"Movie",
					"_blank",
					"width="+"590"+",height="+"380"+",scrollbars=yes,resizable=yes,location=yes,toolbar=yes"
				);

	pop_win.window.document.open();
	pop_win.window.document.write(
			'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n'
			,'<head>\n'
			,'<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=EUC-JP">'
			,'<title>'+'Movie'+'</title>'
			,css
			,'</head>\n'
			,'<body>\n'
			,'<div align="center">\n'
			,mov
			,'</div>\n'
			,'</body>\n'
			,'</html>'
		);
	pop_win.window.document.close();

}

