var Mac = navigator.appVersion.indexOf('Mac',0) != -1; var Win = navigator.appVersion.indexOf('Win',0) != -1; var IE = navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1; var NN = navigator.appName.indexOf("Netscape",0) != -1; var Moz = navigator.userAgent.indexOf("Gecko") != -1; var Opera = window.opera; var Opera6 = navigator.userAgent.indexOf("Opera 6") != -1; var Opera7 = navigator.userAgent.indexOf("Opera 7") != -1; var Vmajor = parseInt(navigator.appVersion); // ex. 3 var Vminor = parseFloat(navigator.appVersion); // ex. 3.01 var WinIE55 = ((Win && navigator.appVersion.indexOf('MSIE 5.5',0) != -1)); var MacIE5 = ((Mac && navigator.appVersion.indexOf('MSIE 5.',0) != -1)); var MacIE4 = ((Mac && navigator.appVersion.indexOf('MSIE 4.',0) != -1)); var MacIE3 = ((Mac && navigator.appVersion.indexOf('MSIE 3.',0) != -1)); var iCab = (navigator.userAgent.indexOf("iCab",0) != -1); function openNW(theURL,winName,features) { window.open(theURL,winName,features); } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&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 cuY && toY > (getAnchorPosObj('end').y) - getInnerSize().height) toY = (getAnchorPosObj('end').y - getInnerSize().height) + 1; cuX += (toX - getScrollLeft()) / frms; if (cuX < 0) cuX = 0; cuY += (toY - getScrollTop()) / frms; if (cuY < 0) cuY = 0; var posX = Math.floor(cuX); var posY = Math.floor(cuY); window.scrollTo(posX, posY); if (posX != toX || posY != toY) { pageScrollTimer = setTimeout("pageScroll("+toX+","+toY+","+frms+","+cuX+","+cuY+")",16); } } function jumpToPageTop() { if (!Opera && !iCab) { pageScroll(0,0,5); } else { if (Opera) { location.href = "#top"; } else { location.hash = "top"; } } } function setObj(id) { if (document.all) { return document.all(id); } else if (document.getElementById) { return document.getElementById(id); } else if (document.layers) { return document.layers[id]; } return false; } function getAnchorPosObj(elementname) { var obj = setObj(elementname); var objnew = new Object(); var objtmp; if (document.getElementById) { objtmp = obj; objnew.x = objtmp.offsetLeft; objnew.y = objtmp.offsetTop; while ((objtmp = objtmp.offsetParent) != null) { objnew.x += objtmp.offsetLeft; objnew.y += objtmp.offsetTop; } } else if (document.all) { objtmp = obj; objnew.x = objtmp.offsetLeft; objnew.y = objtmp.offsetTop; while ((objtmp = objtmp.offsetParent) != null) { objnew.x += objtmp.offsetLeft; objnew.y += objtmp.offsetTop; } } else if (document.layers) { objnew.x = document.anchors[elementname].x; objnew.y = document.anchors[elementname].y; } else { objnew.x = 0; objnew.y = 0; } return objnew; } function getHash(strPath) { return strPath.substring(strPath.lastIndexOf("#") + 1); } function getContFontSize() { var intSize = 0; if (Moz || Opera) { intSize = 16; } return intSize; } function jumpToAnchor(elementname) { if ((!getAnchorPosObj(getHash(elementname)).x - getContFontSize() <= 0 || getAnchorPosObj(getHash(elementname)).y - getContFontSize() <= 0) && !Opera && !iCab){ pageScroll(0, getAnchorPosObj(getHash(elementname)).y - getContFontSize(), 5); } else { if (Opera) { location.href = "#" + elementname; } else { location.hash = elementname; } } } var srchlist = new Array('キーワードを入力'); function srchhint(srchkind,paramstr){ if(paramstr == srchlist[srchkind]){ if(srchkind == 0){document.F0.PARAM.value = '';} if(srchkind == 1){document.F1.PARAM.value = '';} if(srchkind == 2){document.F2.PARAM.value = '';} if(srchkind == 3){document.F3.PARAM.value = '';} } } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function __ws__(id){ document.write(id.text);id.id=''; } Flash = function(swf, width, height, version) { this.swf = swf || ""; this.width = width || "100%"; this.height = height || "100%"; this.requiredVersion = version || 6; this.id = ""; this.params = new Object(); this.variables = new Object(); }; Flash.resizeTo = function(id, w, h) { var movie = document.getElementById(id); movie.width = w; movie.height = h; }; Flash.prototype.getSWF = function() { return this.swf; }; Flash.prototype.setSWF = function(swf) { this.swf = swf; }; Flash.prototype.getWidth = function() { return this.width; }; Flash.prototype.setWidth = function(w) { this.width = w; }; Flash.prototype.getHeight = function() { return this.height; }; Flash.prototype.setHeight = function(h) { this.height = h; }; Flash.prototype.getRequiredVersion = function() { return this.requiredVersion; }; Flash.prototype.setRequiredVersion = function(v) { this.requiredVersion = v; }; Flash.prototype.getId = function() { return this.id; }; Flash.prototype.setId = function(id) { this.id = id; }; Flash.prototype.getParam = function(name) { return this.params[name]; }; Flash.prototype.getParams = function() { return this.params; }; Flash.prototype.setParam = function(name, value) { this.params[name] = value; }; Flash.prototype.getVariable = function(name) { return this.variables[name]; }; Flash.prototype.getVariables = function() { return this.variables; }; Flash.prototype.setVariable = function(name, value) { this.variables[name] = value; }; Flash.prototype.getVariableSets = function() { var variableSets = new Array(); for (var name in this.getVariables()) { variableSets.push(name + "=" + escape(this.getVariable(name))); } if (variableSets.length > 0) { return variableSets.join("&"); } else { return null; } }; Flash.prototype.getParamTags = function() { var paramTags = ""; for (var param in this.getParams()) { paramTags += ''; } if (paramTags == "") { paramTags = null; } return paramTags; }; Flash.prototype.getHTML = function() { var flashHTML = ""; if (window.ActiveXObject && navigator.userAgent.indexOf('Mac') == -1) { // PC IE flashHTML += ''; flashHTML += ''; if (this.getParamTags() != null) { flashHTML += this.getParamTags(); } if (this.getVariableSets() != null) { flashHTML += ''; } flashHTML += ''; } else { // Everyone else flashHTML += '