//イメージの先読込if(document.images){Img = new Array();Img[0] = new Image; Img[0].src = "../images/common/menu01.gif";Img[1] = new Image; Img[1].src = "../images/common/menu01on.gif";Img[2] = new Image; Img[2].src = "../images/common/menu02.gif";Img[3] = new Image; Img[3].src = "../images/common/menu02on.gif";Img[4] = new Image; Img[4].src = "../images/common/menu03.gif";Img[5] = new Image; Img[5].src = "../images/common/menu03on.gif";Img[6] = new Image; Img[6].src = "../images/common/menu04.gif";Img[7] = new Image; Img[7].src = "../images/common/menu04on.gif";Img[8] = new Image; Img[8].src = "../images/common/menu05.gif";Img[9] = new Image; Img[9].src = "../images/common/menu05on.gif";Img[10] = new Image; Img[10].src = "../images/common/menu06.gif";Img[11] = new Image; Img[11].src = "../images/common/menu06on.gif";Img[12] = new Image; Img[12].src = "../images/common/footmenu01.gif";Img[13] = new Image; Img[13].src = "../images/common/footmenu01on.gif";Img[14] = new Image; Img[14].src = "../images/common/footmenu02.gif";Img[15] = new Image; Img[15].src = "../images/common/footmenu02on.gif";Img[16] = new Image; Img[16].src = "../images/common/footmenu03.gif";Img[17] = new Image; Img[17].src = "../images/common/footmenu03on.gif";Img[18] = new Image; Img[18].src = "../images/common/footmenu04.gif";Img[19] = new Image; Img[19].src = "../images/common/footmenu04on.gif";Img[20] = new Image; Img[20].src = "../images/common/footmenu05.gif";Img[21] = new Image; Img[21].src = "../images/common/footmenu05on.gif";Img[22] = new Image; Img[22].src = "../images/common/footmenu06.gif";Img[23] = new Image; Img[23].src = "../images/common/footmenu06on.gif";}<!--Roll Over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_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_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];}}// LastUpdate : 2003/9/22/5:38:02 PM// このスクリプトは変数設定に合わせた同じ表示領域のサブウィンドウを開くものです。// 対応ブラウザはバージョン4以上です。function winOpen(wurl,wname,wwidth,wheight,wtop,wleft,wtb,wlb,wdir,wstb,wmb,wscb,wres){		// 初期設定		pref= "no";		if(wurl == "url" || wurl == null){		wurl = "http://www.google.com/";	}	if(wwidth == "width" || wwidth == null){		wwidth = 500;	}	else{		wwidth = parseInt(wwidth)	}	if(wheight == "height" || wheight == null){		wheight = 500;	}	else{		wheight = parseInt(wheight)	}	if(wtb == "toolbar" || wtb == null){		wtb = pref;	}	if(wlb == "location" || wlb == null){		wlb = pref;	}	if(wdir == "directories" || wdir == null){		wdir = pref;	}	if(wstb == "status" || wstb == null){		wstb = pref;	}	if(wmb == "menubar" || wmb == null){		wmb = pref;	}	if(wscb == "scrollbars" || wscb == null){		wscb = pref;	}	if(wres == "resizable" || wres == null){		wres = pref;	}		// 表示領域オフセット		var pf = navigator.platform.charAt(0);	var an = navigator.appName.charAt(0);	var ua = navigator.userAgent;		if(pf == "M"){				if(an == "N"){						if(wtb =="yes" || wlb == "yes"){								if(ua.indexOf("Gecko",0) > -1 && ua.indexOf("Safari",0) <= -1){					wheight += 79;				}				if(wlb == "yes" && ua.indexOf("Safari",0) > -1){					wheight += 72;				}				if(wscb != "no" && ua.indexOf("Safari",0) > -1){					wwidth += 15;					wheight += 15;				}							}						if(wstb == "yes"){								if(ua.indexOf("Safari",0) > -1){					wheight += 15;				}				if(ua.indexOf("Gecko",0) > -1 && ua.indexOf("Safari",0) <= -1){					wheight += 18;				}							}						if(wscb == "yes"){								if(ua.indexOf("Gecko",0) > -1 && ua.indexOf("Safari",0) <= -1){					wwidth += 18;					wheight += 18;				}				else{										if(wstb != "yes" && ua.indexOf("[",0) <= -1){						wwidth += 15;						wheight += 15;					}									}							}					}			}	else{				if(wmb == "yes"){						if(ua.indexOf("MSIE",0) > -1){								if(wtb == "yes" && wlb == "yes" && wdir == "yes" && wstb == "yes"){					wheight += 123;				}				else{					wheight -= 20;				}							}					}		if(wscb == "yes"){			wwidth += 15;			wheight += 15;		}			}		// 表示位置（デフォルトは中央）		var sw = screen.availWidth / 2;	var sh = screen.availHeight / 2;	var ww = wwidth / 2;	var wh = wheight / 2;		if(wtop == "top" || wtop == null){		wtop = parseInt(sh - wh);	}		if(wleft == "left" || wleft == null){		wleft = parseInt(sw - ww);	}		var wopt = "width=" + wwidth;	wopt += ",height=" + wheight;	wopt += ",top=" + wtop;	wopt += ",left=" + wleft;	wopt += ",toolbar=" +  wtb;	wopt += ",location=" + wlb;	wopt += ",directories=" + wdir;	wopt += ",status=" + wstb;	wopt += ",menubar=" + wmb;	wopt += ",scrollbars=" + wscb;	wopt += ",resizable=" + wres;		ow = window.open(wurl,wname,wopt);	ow.focus();	return;	}// Author : Kenta Nakae// minmax.js: make IE5+/Win support CSS min/max-width/height// version 1.0, 08-Aug-2003// written by Andrew Clover <and@doxdesk.com>, use freely/*@cc_on@if (@_win32 && @_jscript_version>4)var minmax_elements;minmax_props= new Array(  new Array('min-width', 'minWidth'),  new Array('max-width', 'maxWidth'),  new Array('min-height','minHeight'),  new Array('max-height','maxHeight'));// Binding. Called on all new elements. If <body>, initialise; check all// elements for minmax propertiesfunction minmax_bind(el) {  var i, em, ms;  var st= el.style, cs= el.currentStyle;  if (minmax_elements==window.undefined) {    // initialise when body element has turned up, but only on IE    if (!document.body || !document.body.currentStyle) return;    minmax_elements= new Array();    window.attachEvent('onresize', minmax_delayout);    // make font size listener    em= document.createElement('div');    em.setAttribute('id', 'minmax_em');    em.style.position= 'absolute'; em.style.visibility= 'hidden';    em.style.fontSize= 'xx-large'; em.style.height= '5em';    em.style.top='-5em'; em.style.left= '0';    if (em.style.setExpression) {      em.style.setExpression('width', 'minmax_checkFont()');      document.body.insertBefore(em, document.body.firstChild);    }  }  // transform hyphenated properties the browser has not caught to camelCase  for (i= minmax_props.length; i-->0;)    if (cs[minmax_props[i][0]])      st[minmax_props[i][1]]= cs[minmax_props[i][0]];  // add element with properties to list, store optimal size values  for (i= minmax_props.length; i-->0;) {    ms= cs[minmax_props[i][1]];    if (ms && ms!='auto' && ms!='none' && ms!='0' && ms!='') {      st.minmaxWidth= cs.width; st.minmaxHeight= cs.height;      minmax_elements[minmax_elements.length]= el;      // will need a layout later      minmax_delayout();      break;  } }}// check for font size changesvar minmax_fontsize= 0;function minmax_checkFont() {  var fs= document.getElementById('minmax_em').offsetHeight;  if (minmax_fontsize!=fs && minmax_fontsize!=0)    minmax_delayout();  minmax_fontsize= fs;  return '5em';}// Layout. Called after window and font size-change. Go through elements we// picked out earlier and set their size to the minimum, maximum and optimum,// choosing whichever is appropriate// Request re-layout at next available momentvar minmax_delaying= false;function minmax_delayout() {  if (minmax_delaying) return;  minmax_delaying= true;  window.setTimeout(minmax_layout, 0);}function minmax_stopdelaying() {  minmax_delaying= false;}function minmax_layout() {  window.setTimeout(minmax_stopdelaying, 100);  var i, el, st, cs, optimal, inrange;  for (i= minmax_elements.length; i-->0;) {    el= minmax_elements[i]; st= el.style; cs= el.currentStyle;    // horizontal size bounding    st.width= st.minmaxWidth; optimal= el.offsetWidth;    inrange= true;    if (inrange && cs.minWidth && cs.minWidth!='0' && cs.minWidth!='auto' && cs.minWidth!='') {      st.width= cs.minWidth;      inrange= (el.offsetWidth<optimal);    }    if (inrange && cs.maxWidth && cs.maxWidth!='none' && cs.maxWidth!='auto' && cs.maxWidth!='') {      st.width= cs.maxWidth;      inrange= (el.offsetWidth>optimal);    }    if (inrange) st.width= st.minmaxWidth;    // vertical size bounding    st.height= st.minmaxHeight; optimal= el.offsetHeight;    inrange= true;    if (inrange && cs.minHeight && cs.minHeight!='0' && cs.minHeight!='auto' && cs.minHeight!='') {      st.height= cs.minHeight;      inrange= (el.offsetHeight<optimal);    }    if (inrange && cs.maxHeight && cs.maxHeight!='none' && cs.maxHeight!='auto' && cs.maxHeight!='') {      st.height= cs.maxHeight;      inrange= (el.offsetHeight>optimal);    }    if (inrange) st.height= st.minmaxHeight;  }}// Scanning. Check document every so often until it has finished loading. Do// nothing until <body> arrives, then call main init. Pass any new elements// found on each scan to be bound   var minmax_SCANDELAY= 500;function minmax_scan() {  var el;  for (var i= 0; i<document.all.length; i++) {    el= document.all[i];    if (!el.minmax_bound) {      el.minmax_bound= true;      minmax_bind(el);  } }}var minmax_scanner;function minmax_stop() {  window.clearInterval(minmax_scanner);  minmax_scan();}minmax_scan();minmax_scanner= window.setInterval(minmax_scan, minmax_SCANDELAY);window.attachEvent('onload', minmax_stop);@end @*/
