/**
 * @author Antonello Masini 
 * copyright ©Antonello Masini 2010
 */
var vsez=new Array();vsez[0]="-300,-300,20,20,1,0,20";vsez[1]="1000,20,500,200,0,20,-50";vsez[2]="730,-540,30,240,-1,270,-25";vsez[3]="-595,300,255,20,0,300,50";vsez[4]="-295,-295,555,240,1,-330,50";var f=null;var opc=0;var btnl=18;var idtimer=null;var m=0;x=0;y=0;m=0;c=0;s=0;var trgt=null;var id=0;document.getElementById("boxdesc").style.display="none";var f5=document.getElementById("f5");if(document.all){f5.style.filter='alpha(opacity=0)';}else{f5.style.opacity=0;}
function MoveImg(){y=m*x+c;trgt.style.left=x+"px";trgt.style.top=y+"px";if(x==f[2]||y==f[3]){id++;if(id<vsez.length){GetParam();}else{clearInterval(idtimer);id=0;idtimer=setInterval("DissolviLastImg()",50);return;}}
x+=s;}
function DissolviLastImg(){if(opc>=10){clearInterval(idtimer);return;}
if(f5.style.display!="block")f5.style.display="block";if(document.all){f5.style.filter='alpha(opacity='+(opc*10)+')';}else{f5.style.opacity=opc*0.1;}
opc++;}
function GetParam(){f=vsez[id].split(",");x=parseInt(f[0]);y=parseInt(f[1]),m=parseInt(f[4]),c=parseInt(f[5]),s=parseInt(f[6]);trgt=document.getElementById("f"+id);trgt.style.left=x+"px";trgt.style.top=y+"px";trgt.style.display="block";if(id==0){idtimer=setInterval("MoveImg()",10);}}
