var MAC = ( navigator.userAgent.indexOf("Mac") >= 0 ); var winSize = new Array(); // Windowサイズを取得 function getWinsize(){ winSize[0] = ((!document.all && document.getElementById)||(document.layers)) ? window.innerWidth : document.body.clientWidth; winSize[1] = ((!document.all && document.getElementById)||(document.layers)) ? window.innerHeight : document.body.clientHeight; } function NN_reload(){ if (document.layers){location.reload();}else{getWinsize();} } if (MAC){ window.onresize = NN_reload; getWinsize(); } 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