$(".emptyClick").click(function(a){a.preventDefault()});function iconHov(a,c){a="#"+a;if(c==1){width=$(".zitem").width()*1.2;height=$(".zitem").height()*1.2;$(a).find("img").stop(false,true).animate({width:width,height:height,top:-15,left:-15},{duration:200});$(a).find("div.caption").stop(false,true).fadeIn(200)}else{$(a).find("img").stop(false,true).animate({width:$(a).width(),height:$(a).height(),top:"0",left:"0"},{duration:100});$(a).find("div.caption").stop(false,true).fadeOut(200)}} $(document).ready(function(){guideSlider={g:["fletching","strength","cooking","mining","hunting","fishing","woodcutting","firemaking","thieving","smithing","range","runecrafting"],h:["Step by step 1 to 99. Cheap & fast.","Maps and images to help you get 99 strength.","Details including: what to burn & how much it will cost","Locations, images and maps, to help you mine.","Maps + numbers tell you where and how much to hunt.","Step-by-step 1 to 99 fishing guide.","Get woodcutting from 1 all the way to 99.", "Tells you how much and what you need to burn.","Step by step thieving guide. With images and maps.","For noobs & higher levels.","Tells you where and what to kill to level up","Get your RuneCrafting to 99 and make a profit"],img:[],ru:false,lu:false,rand:function(){var a=this.g.length-1;return Math.floor(Math.random()*(a-0+1))+0},create:function(){var a=this.rand(),c=0,b="",d="";for(b=0;c<3;){b=a+c;this.img[c]=b;b='<div onmouseover="iconHov(this.id, 1)" onmouseout="iconHov(this.id, 2)" class="zitem" id="'+ b+'gs"><a target="_blank" href="/guides/skill/'+this.g[b]+'/"><img src="/guides/skill/guideslider/img/'+this.g[b]+'.jpg" /></a><div class="caption"><a target="_blank" href="/guides/skill/'+this.g[b]+'">'+this.h[b]+"</a></div></div>";d+=b;c++;if(a+c>this.g.length-1)a=0}$("#slideShow").html(d)},leftSlide:function(){if(this.lu==false){this.lu=true;var a=0;do a=this.rand();while(a==this.img[0]||a==this.img[1]||a==this.img[2]);var c=this.img[0];this.img[0]=this.img[1];this.img[1]=this.img[2];this.img[2]=a;var b='<div onmouseover="iconHov(this.id, 1)" onmouseout="iconHov(this.id, 2)" class="zitem" id="'+ a+'gs" style="display:none;opacity:0;"><a target="_blank" href="/guides/skill/'+this.g[a]+'/"><img src="/guides/skill/guideslider/img/'+this.g[a]+'.jpg" /></a><div class="caption"><a href="/guides/skill/'+this.g[a]+'">'+this.h[a]+"</a></div></div>";$("#slideShow").html($("#slideShow").html()+b);$("#"+c+"gs").animate({opacity:0,width:"toggle"},600,function(){$("#"+c+"gs").remove()});$("#"+a+"gs").animate({opacity:1,width:"toggle"},600,function(){guideSlider.lu=false})}},rightSlide:function(){if(this.ru== false){this.ru=true;var a=0;do a=this.rand();while(a==this.img[0]||a==this.img[1]||a==this.img[2]);var c='<div onmouseover="iconHov(this.id, 1)" onmouseout="iconHov(this.id, 2)" class="zitem" id="'+a+'gs" style="display:none;opacity:0;"><a target="_blank" href="/guides/skill/'+this.g[a]+'/"><img src="/guides/skill/guideslider/img/'+this.g[a]+'.jpg" /></a><div class="caption"><a href="/guides/skill/'+this.g[a]+'">'+this.h[a]+"</a></div></div>";$("#slideShow").html(c+$("#slideShow").html());var b=this.img[2]; $("#"+b+"gs").animate({opacity:0,width:0},600,function(){$("#"+b+"gs").remove()});$("#"+a+"gs").animate({opacity:1,width:"toggle"},600,function(){guideSlider.ru=false});this.img[2]=this.img[1];this.img[1]=this.img[0];this.img[0]=a}}};guideSlider.create()});