
				if (navigator.appVersion.indexOf("Mac") != -1) {
					document.write('<link rel="stylesheet" type="text/css" href="css/mac.css">');

				} else {
					document.write('<link rel="stylesheet" type="text/css" href="css/win.css">');
					}

				function MM_findObj(n, d) { //v4.01
					var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
					d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
					if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
					for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
					if(!x && d.getElementById) x=d.getElementById(n); return x;
					}

				function MM_reloadPage(init) {  //reloads the window if Nav4 resized
						if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
						document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
						else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
							}
						MM_reloadPage(true);

				function openForm(){
						window.open('https://www.nhk.or.jp/drama/form.html','contact','width=520,height=520,resizable,status=yes,scrollbars=no');
							}

				shuffle = new Array(8);
				shuffle[0]="<a href='cast.html#goinkyo' target='main_'><img src='images/cast_t/goinkyo1.jpg' width='220' height='280' border='0' alt='隅のご隠居1'></a>";
				shuffle[1]="<a href='cast.html#onui' target='main_'><img src='images/cast_t/onui.jpg' width='220' height='280' border='0' alt='ご隠居の孫娘・お縫'></a>";
				shuffle[2]="<a href='cast.html#keishi' target='main_'><img src='images/cast_t/keishi.jpg' width='220' height='280' border='0' alt='警視庁・川路大警視'></a>";
				shuffle[3]="<a href='cast.html#kichigoro' target='main_'><img src='images/cast_t/kichigoro.jpg' width='220' height='280' border='0' alt='むささびの吉五郎'></a>";
				shuffle[4]="<a href='cast.html#kocyou' target='main_'><img src='images/cast_t/kocyou.jpg' width='220' height='280' border='0' alt='柳橋の芸者・小蝶'></a>";
				shuffle[5]="<a href='cast.html#kanpachi' target='main_'><img src='images/cast_t/kanpachi.jpg' width='220' height='280' border='0' alt='髪結い床・かん八'></a>";
				shuffle[6]="<a href='cast.html#heishiro' target='main_'><img src='images/cast_t/heishiro.jpg' width='220' height='280' border='0' alt='元同心・千羽兵四郎'></a>";
				shuffle[7]="<a href='cast.html#goinkyo2' target='main_'><img src='images/cast_t/goinkyo2.jpg' width='220' height='280' border='0' alt='隅のご隠居2'></a>";
				maxImages = 8;

				imagesNo = Math.floor(Math.random() * maxImages);

					function navi(obj){
						jump =obj.options[obj.selectedIndex].value;
						if (jump != "pass") {
							parent.location. href = jump;
							//parent.[0].location. href = jump;
									 }
								}

