
					//obsolete browser variable
					var sb=((navigator.appVersion.charAt(0)<4)||((navigator.appName.indexOf('Netscape')<0)&&(navigator.appName.indexOf('Microsoft Internet Explorer')<0)));

					/* determines which stylesheet to write based on 
					browser/platform combination.  Also sets global
					variable bp for browser/platform testing elsewhere. */
					function BP() {
							if (sb) {
									this.brow = null;
									this.plat = null;
									return this;
									}
							this.plat = (navigator.platform.indexOf('Mac') > -1) ? 'mac' : 'win';
							if (navigator.appName.indexOf('Microsoft') > -1) {
									this.brow = 'ie'
									if (navigator.platform.indexOf('Mac') > -1 && navigator.appVersion.indexOf('MSIE 5') > -1) {
											this.brow = 'ie5'
											}
									}
							else this.brow = 'ns';
							return this;
							}
					bp = new BP();

					document.write('<LINK HREF="./css/' + bp.plat + '_' +
					bp.brow + '.css" REL="styleSheet" TYPE="text/css">');
					if (bp.brow == 'ie5') bp.brow ='ie';

					//defunct, previously ubiquitous function; dummy version retained to prevent errors.
					function startup() {}

					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','feedback','width=520,height=530,status=yes,resizable,scrollbars=auto');
							}

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


