﻿/*  ================================================================================
 *
 *  JavaScript -Default version 3.0.1
 *  (c) 2004-2007 coliss.com
 *
 *  この作品は、クリエイティブ・コモンズの表示 2.1 日本ライセンスの下で
 *  ライセンスされています。
 *  この使用許諾条件を見るには、http://creativecommons.org/licenses/by/2.1/jp/を
 *  チェックするか、クリエイティブ･コモンズに郵便にてお問い合わせください。
 *  住所は：559 Nathan Abbott Way, Stanford, California 94305, USA です。
 *
================================================================================  */


/*  ================================================================================
TOC
============================================================
Set Adjustment
Page Scroller
============================================================
this script requires jQuery 1.2.1.(http://jquery.com/)
use $j not $
================================================================================  */


/*  ================================================================================
Set Adjustment
================================================================================  */
var virtualTopId = "top",
    virtualTop,
    adjTraverser,
    adjPosition;

/* example
======================================================================  */
//    virtualTop = 0;    // virtual top's left position = 0
//    virtualTop = 1;    // virtual top's left position = vertical movement
//    adjTraverser = 0;  // left position = 0
//    adjTraverser = 1;  // horizontal movement.
//    adjPosition = -26;

/*  ================================================================================
Page Scroller
================================================================================  */
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('9 $j=1d.1y();(c($j){9 u=$j.E.u,z=$j.E.z,F=$j.E.F,A=$j.E.A;$j.E.1B({z:c(){4(!8[0])N();4(8[0]==i)b 1l.1z||$j.1t&&3.B.1r||3.d.1r;4(8[0]==3)b((3.B&&3.12=="1e")?3.B.1p:3.d.1p);b z.1a(8,1b)},u:c(){4(!8[0])N();4(8[0]==i)b 1l.1G||$j.1t&&3.B.1v||3.d.1v;4(8[0]==3)b((3.B&&3.12=="1e")?3.B.19:3.d.19);b u.1a(8,1b)},F:c(){4(!8[0])N();9 h=3.O?3.O(8[0].v):3.17(8[0].v);9 g=18 1f();g.x=h.15;1g((h=h.1h)!=Z){g.x+=h.15}4((g.x*0)==0)b(g.x);m b(8[0].v)},A:c(){4(!8[0])N();9 h=3.O?3.O(8[0].v):3.17(8[0].v);9 g=18 1f();g.y=h.1c;1g((h=h.1h)!=Z){g.y+=h.1c}4((g.y*0)==0)b(g.y);m b(8[0].v)}})})(1d);$j(c(){$j(\'a[@J*="#"]\').13(c(){9 14=T.1L+T.1Q;9 11=((8.J).1P(0,(((8.J).10)-((8.V).10)))).1O((8.J).1K("//")+2);4(11==14){f.1m((8.V).1E(1));b 1J}});$j("d").13(c(){f.P()})});8.o=Z;9 f={R:c(w){4(w=="x")b(($j(3).z())-($j(i).z()));m 4(w=="y")b(($j(3).u())-($j(i).u()))},X:c(w){4(w=="x")b(i.Y||3.d.D||3.d.L.D);m 4(w=="y")b(i.1H||3.d.1u||3.d.L.1u)},G:c(k,n,t,q,p){9 o;4(o)K(o);9 1o=16;9 I=f.X(\'x\');9 H=f.X(\'y\');4(!k||k<0)k=0;4(!n||n<0)n=0;4(!t)t=$j.1w.1I?7:$j.1w.1F?5:6;4(!q)q=0+I;4(!p)p=0+H;q+=(k-I)/t;4(q<0)q=0;p+=(n-H)/t;4(p<0)p=0;9 S=C.1j(q);9 W=C.1j(p);i.1M(S,W);4((C.1q(C.1n(I-k))<1)&&(C.1q(C.1n(H-n))<1)){K(8.o);i.1N(k,n)}m 4((S!=k)||(W!=n))8.o=1D("f.G("+k+","+n+","+t+","+q+","+p+")",1o);m K(8.o)},P:c(){K(8.o)},1C:c(e){f.P()},1m:c(l){f.P();9 r,s;4(!!l){4(l==1A){r=(M==0)?0:(M==1)?i.Y||3.d.D||3.d.L.D:$j(\'#\'+l).F();s=((M==0)||(M==1))?0:$j(\'#\'+l).A()}m{r=(1i==0)?0:(1i==1)?($j(\'#\'+l).F()):i.Y||3.d.D||3.d.L.D;s=1k?($j(\'#\'+l).A())+1k:($j(\'#\'+l).A())}9 Q=f.R(\'x\');9 U=f.R(\'y\');4(((r*0)==0)||((s*0)==0)){9 1x=(r<1)?0:(r>Q)?Q:r;9 1s=(s<1)?0:(s>U)?U:s;f.G(1x,1s)}m T.V=l}m f.G(0,0)}};',62,115,'|||document|if||||this|var||return|function|body||coliss|tagCoords|obj|window||toX|idName|else|toY|pageScrollTimer|frY|frX|anchorX|anchorY|frms|height|id|type|||width|top|documentElement|Math|scrollLeft|fn|left|pageScroll|actY|actX|href|clearTimeout|parentNode|virtualTop|error|getElementById|stopScroll|dMaxX|getScrollRange|posX|location|dMaxY|hash|posY|getWindowOffset|pageXOffset|null|length|anchorPath|compatMode|click|usrUrl|offsetLeft||all|new|scrollHeight|apply|arguments|offsetTop|jQuery|CSS1Compat|Object|while|offsetParent|adjTraverser|ceil|adjPosition|self|toAnchor|abs|spd|scrollWidth|floor|clientWidth|setY|boxModel|scrollTop|clientHeight|browser|setX|noConflict|innerWidth|virtualTopId|extend|cancelScroll|setTimeout|substr|opera|innerHeight|pageYOffset|mozilla|false|indexOf|hostname|scrollTo|scroll|slice|substring|pathname'.split('|'),0,{}))
