var skroll=new Fx.Scroll(window,{duration:1500,wait:false,transition:Fx.Transitions.quadInOut});var allLoad=0;$('gotohome').addEvent('click',function(){skroll.toElement('start')});$('gotoabout').addEvent('click',function(){skroll.toElement('about')});$('gotopresent').addEvent('click',function(){skroll.toElement('present')});$('gotocontact').addEvent('click',function(){if(allLoad==1)
{$j("div#myskill9").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill8").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill7").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill6").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill5").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill4").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill3").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill2").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill").each(function(){$j(this).animate({width:'hide'},100,'linear')})})})})})})})})})})})})})})})})});$j("div#myskill9t").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill8t").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill7t").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill6t").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill5t").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill4t").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill3t").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskill2t").each(function(){$j(this).animate({width:'hide'},100,'linear',function(){$j("div#myskillt").each(function(){$j(this).animate({width:'hide'},100,'linear')})})})})})})})})})})})})})})})})});setTimeout(function(){skroll.toElement('contact')},1000)
allLoad=0;}});$('gotodesign').addEvent('click',function(){skroll.toElement('design')});$('gotoskills').addEvent('click',function(){skroll.toElement('skills');setTimeout(function(){$j("div#myskill").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill2").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill3").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill4").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill5").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill6").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill7").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill8").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill9").each(function(){$j(this).animate({width:'show'},400,'linear');})})})})})})})})})})})})})})})})})},2000);setTimeout(function(){$j("div#myskillt").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill2t").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill3t").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill4t").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill5t").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill6t").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill7t").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill8t").each(function(){$j(this).animate({width:'show'},400,'linear',function(){$j("div#myskill9t").each(function(){$j(this).animate({width:'show'},400,'linear');allLoad=1;})})})})})})})})})})})})})})})})})},2000)});
