// JavaScript Document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_displayStatusMsg(msgStr) { //v1.0  status=msgStr;  document.MM_returnValue = true;}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 WinOpenENGN(){window.open('engine.html','window2','resizable=1,scrollbars=1,menubar=0,directories=0,status=0,location=0,width=620,height=550');}function WinOpenCOPY(){window.open('http://world.casio.com/copyright/index.html','window2','resizable=1,scrollbars=1,menubar=0,directories=0,status=0,location=0,width=550,height=550');}function WinOpenUP(){window.open('closeup1.html','window2','resizable=1,scrollbars=0,menubar=0,directories=0,status=1,location=0,width=540,height=500');}function WinOpen3D(){window.open('3d/index.html','window2','resizable=1,scrollbars=0,menubar=0,directories=0,status=1,location=0,width=640,height=600');}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;function getScrollL() { if ((navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1)) {  return document.body.scrollLeft; } else if (window.pageXOffset) {  return window.pageXOffset; } else {  return 0; }}function getScrollT() { if ((navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1)) {  return document.body.scrollTop; } else if (window.pageYOffset) {  return window.pageYOffset; } else {  return 0; }}function getScrollW() { if ((navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1)) {  return document.body.scrollWidth; } else if (window.innerWidth) {  return window.innerWidth; } return 0;}function getScrollH() { if ((navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1)) {  return document.body.scrollHeight; } else if (window.innerHeight) {  return window.innerHeight; } return 0;}var pScrollTime;function pScroll(nextX,nextY,frms,curX,curY) { if (pScrollTime) clearTimeout(pScrollTime); if (!nextX || nextX < 0) nextX = 0; if (!nextY || nextY < 0) nextY = 0; if (!curX) curX = 0 + getScrollL(); if (!curY) curY = 0 + getScrollT(); if (!frms) frms = 6; if (nextY > curY && nextY > (getAnchorPosObj('end','enddiv').y) - getInnerSize().height) nextY = (getAnchorPosObj('end','enddiv').y - getInnerSize().height) + 1; curX += (nextX - getScrollL()) / frms; if (curX < 0) curX = 0; curY += (nextY - getScrollT()) / frms;  if (curY < 0) curY = 0; var posX = Math.floor(curX); var posY = Math.floor(curY); window.scrollTo(posX, posY); if (posX != nextX || posY != nextY) {  pScrollTime = setTimeout("pScroll("+nextX+","+nextY+","+frms+","+curX+","+curY+")",16); }}function jumpToPageTop() {  pScroll(0,0,5);}