function this_year(){var c=new Date();var b=c.getYear();if(b<1000){b+=1900}var d=c.getMonth();var a=c.getDate();if(a<10){a="0"+a}d=d+1;if(d<10){d="0"+d}document.write(b)}function pageBack(){history.back()}function addFigure(b){var a=new String(b).replace(/,/g,"");while(a!=(a=a.replace(/^(-?\d+)(\d{3})/,"$1,$2"))){}return a}price=new Array(56700,189000,189000,252000,599000,189000,388500,4200,47250,189000,5250);chn=new Array("ad","inst","therag","theraj","pro","honkong","honkonj","roll","stone","face","nyugaku");function keisan(){goukei=0;for(i=0;i<chn.length;i++){if(document.myform.elements[chn[i]].checked==true){goukei=goukei+price[i]}}document.myform.total.value=addFigure(goukei)}bytefx=new function(){this.alpha=function(l,d){var m=h(l).style;m.opacity=m.MozOpacity=m.KhtmlOpacity=d/100;m.filter="alpha(opacity="+d+")"};this.clear=function(m){var d=["size","scroll","move","fade","color"],l=d.length;while(l--){clearInterval(h(m).bytefx[d[l]])}};this.color=function(l,m,p,d,n,o){d=bytefx.color$(d);clearInterval(h(l).bytefx.color);l.bytefx.color=setInterval(function(){var q=bytefx.color$(p),r=3;while(r--){q[r]=k(q[r],d[r],n)}l.style[m]=p=bytefx.$color(q);if(""+q==""+d){c(l,"color",o)}},1)};this.drag=function(n,q,l,p,d){function o(r,s){if(s){s.call(n,r)}return false}var m=h(n).bytefx.drag;bytefx.$event(n,"onmousedown",function(r){m.start=true;m.onmousedown=e.onmousedown;m.onmouseup=e.onmouseup;e.onmouseup=n.onmouseup;e.onmousedown=o;return o(r,q)});bytefx.$event(n,"onmouseup",function(r){m.start=false;e.onmousedown=m.onmousedown;e.onmouseup=m.onmouseup;return o(r,l)});bytefx.$event(e,"onmousemove",function(s){var r=s.clientX,u=s.clientY,t={x:r-m.x,y:u-m.y};if(m.start){if(d){t.x=f(t.x,d.$x);t.y=f(t.y,d.$y);t.x=b(t.x,d.x$);t.y=b(t.y,d.y$)}bytefx.position(n,t);o(s,p)}else{m.x=r-n.offsetLeft;m.y=u-n.offsetTop}return false})};this.fade=function(l,o,d,m,n){clearInterval(h(l).bytefx.fade);l.bytefx.fade=setInterval(function(){o=k(o,d,m);bytefx.alpha(l,o);if(o==d){c(l,"fade",n)}},1)};this.move=function(l,d,m,o){var n=bytefx.$position(h(l));a(l,"move",m/100,n,d,["x","y"],"position",o)};this.position=function(l,d){var m=h(l).style;m.position="absolute";m.left=d.x+"px";m.top=d.y+"px"};this.scroll=function(m,n,p){function d(q){return e.documentElement?e.documentElement[q]:e.body[q]}var o=bytefx.$scroll(),l={x:o.x,y:b(bytefx.$position(m).y,f(d("offsetHeight"),e.body.offsetHeight)-b(d("clientHeight"),e.body.clientHeight))};a(h(bytefx),"scroll",n/100,o,l,["x","y"],"scroll$",p?function(){p.call(m)}:null)};this.size=function(m,l,n,p){var o=bytefx.$size(h(m)),d=g.opera;if(!/msie/i.test(navigator.userAgent)||(d&&parseInt(d.version())>=9)){if(l.$width){o.width-=l.$width}if(l.$height){o.height-=l.$height}if(l.width$){l.width-=l.width$}if(l.height$){l.height-=l.height$}}m.style.overflow="hidden";a(m,"size",n/100,o,l,["width","height"],"size$",p)};this.$color=function(d){function l(m){var n=d[m].toString(16);return n.length==1?"0"+n:n}return"#"+l(0)+l(1)+l(2)};this.color$=function(d){function l(m){return d.charAt(m)}d=d.substring(1);if(d.length==3){d=l(0)+l(0)+l(1)+l(1)+l(2)+l(2)}return[parseInt(l(0)+l(1),16),parseInt(l(2)+l(3),16),parseInt(l(4)+l(5),16)]};this.$event=function(l,d,n){var m=l[d];l[d]=function(o){if(!o){o=g.event}if(m){m.call(this,o)}return n.call(this,o)}};this.$position=function(l){var d={x:l.offsetLeft,y:l.offsetTop};while(l=l.offsetParent){d.x+=l.offsetLeft;d.y+=l.offsetTop}return d};this.$scroll=function(){function d(m,l){return(e.documentElement?e.documentElement[m]:g[l]||e.body[m])||0}return{x:d("scrollLeft","pageXOffset"),y:d("scrollTop","pageYOffset")}};this.scroll$=function(l,d){g.scrollTo(d.x,d.y)};this.$size=function(d){return{width:d.offsetWidth,height:d.offsetHeight}};this.size$=function(l,d){var m=l.style;m.width=d.width+"px";m.height=d.height+"px"};function c(l,d,m){clearInterval(l.bytefx[d]);if(m){m.call(l)}}function h(d){if(!d.bytefx){d.bytefx={color:0,drag:{},fade:0,move:0,scroll:0,size:0}}return d}function k(d,m,l){return d<m?b(d+l,m):f(d-l,m)}function a(n,l,p,r,d,o,m,q){clearInterval(n.bytefx[l]);n.bytefx[l]=setInterval(function(){r[o[0]]+=(d[o[0]]-r[o[0]])*p;r[o[1]]+=(d[o[1]]-r[o[1]])*p;bytefx[m](n,r);if(j(r[o[0]])==d[o[0]]&&j(r[o[1]])==d[o[1]]){bytefx[m](n,d);c(n,l,q)}},1)}var g=window,e=document,f=Math.max,b=Math.min,j=Math.round};