	ranimg = new Array(); 
	ranimg[0]="http://sumai.31sumai.com/tohoku/image/ext0002_main_001.jpg"; 
	ranimg[1]="http://sumai.31sumai.com/tohoku/image/ext0002_main_002.jpg";
	ranimg[2]="http://sumai.31sumai.com/tohoku/image/ext0002_main_003.jpg"; 
	ranimg[3]="http://sumai.31sumai.com/tohoku/image/ext0002_main_004.jpg";
	ranimg[4]="http://sumai.31sumai.com/tohoku/image/ext0002_main_005.jpg";
	ranimg[5]="http://sumai.31sumai.com/tohoku/image/ext0002_main_006.jpg";
	xx = Math.floor(ranimg.length*Math.random()); 
	ranimg = ranimg[Math.floor(xx)]; 
	document.write ('<style type="text/css"><!-- #ext0002 div.mainImg {background: url('+ ranimg +') no-repeat;}--></style>'); 
	
	<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

	
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function winopen(url,title,w,h,l,t){
	var url=url;
	var title=title;
	var option='"toolbar=no,location=no,status=no, menubar=no,scrollbars=no,resizable=yes,width='+w+',height='+h+',left='+l+',top='+t+'"';
	var win=window.open(url,title,option);
	win.window.focus();
}
function openWin(url,title,w,h,l,t){
	var url=url;
	var title=title;
	var option='"toolbar=no,location=no,status=no, menubar=no,scrollbars=yes,resizable=yes,width='+w+',height='+h+',left='+l+',top='+t+'"';
	var win=window.open(url,title,option);
	win.window.focus();
}
function Fullscreen(URL){
	var ms = navigator.appVersion.indexOf("MSIE");
	var ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
	var nesc = navigator.appName.lastIndexOf("Netscape");
	var nesc4 = (nesc >= 0) && (parseInt(navigator.appVersion.substring(0,2)) >= 4);
	var height = screen.availHeight;
	var width = screen.availWidth;
	if(width>=1280){
		width=1277;
		height=910;
		URL += "webook_1280.html";
	}else if(width>800){
		width=1015;
		height=740;
		URL += "webook.html";
	}else if(width<=800){
		width=752;
		height=560;
		URL += "webook_800.html";
	}
	var str = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=" + width + ",height=" + height + ",left=0,top=0";
	if (nesc4){
		var pageHeight = window.screen.height;
		pageHeight = pageHeight-40;
    		pagewin = window.open(URL,"pagewin","scrollbars,width=" + window.screen.width + ",height=" + pageHeight);
		pagewin.moveTo(0,0);
		pagewin.focus();
	}else if (ie4){
		win=window.open(URL, "fullscreen", str);
		win.window.resizeTo(width,height);
	}else{
		location.href=URL;
	}
}
function fullscreen(URL){
	var ms = navigator.appVersion.indexOf("MSIE");
	var ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
	var nesc = navigator.appName.lastIndexOf("Netscape");
	var nesc4 = (nesc >= 0) && (parseInt(navigator.appVersion.substring(0,2)) >= 4);
	var height = screen.availHeight;
	var width = screen.availWidth;
	var str = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=" + width + ",height=" + height + ",left=0,top=0";

	if (nesc4){
		var pageHeight = window.screen.height;
		pageHeight = pageHeight-40;
    		pagewin = window.open(URL,"pagewin","scrollbars,width=" + window.screen.width + ",height=" + pageHeight);
		pagewin.moveTo(0,0);
		pagewin.focus();
	}else if (ie4){
		win=window.open(URL, "fullscreen", str);
	}else{
		location.href=URL;
	}
}

<!--function full_screenoss(){ 	window.open("http://sumai.31sumai.com/nagoya/weboss/top.html","MOVIE","scrollbars=no,width=1008,height=669,left=0,top=0");}-->

