// Developed by Kevin Mitchell	> Internet Strategies > Copyright 2010 - 2011
// Nothing to see here. Move along, move along...

$(document).ready(function(){function b(){$runSlider=setInterval("mySlider("+$arl+","+$fadeSpeed+")",$slideDelay)}$type=1;$slideDelay=1E4;$fadeSpeed=2E3;$mySel="img";$arl=$("#slider > "+$mySel).length;for(var a=1,c="";$arl>a-1;)c+='<div class="sliderIdent" id="sliderIdent'+a+'">'+a+"</div>",a++;$currentSlide=1;$("#slider").children($mySel).hide();$("#slider_txt").children("div").hide();$("#slider").children($mySel).eq(0).fadeIn($fadeSpeed);$("#slider_txt").children("div").eq(0).fadeIn($fadeSpeed);
b();$(".sliderIdent").mouseenter(function(){clearInterval($runSlider);$("#sliderIdents").children("div").removeClass("idOn");$(this).addClass("idOn");var a=$(this).attr("id"),a=a.split("Ident",2),a=a[1];$("#slider").children("div").hide();$("#slider_txt").children("div").hide();$("#slider div:nth-child("+a+")").show();$("#slider_txt div:nth-child("+a+")").show();$(this).addClass("idOn")});$(".sliderIdent").mouseleave(function(){b()});$("#pj-logo-plus").css("bottom","-150px");$("#pj-logo-plus").animate({bottom:30},
600,function(){$("#pj-logo-plus").animate({bottom:20},300)})});function mySlider(b,a){$("#slider").children($mySel).fadeOut(a);$("#slider_txt").children("div").fadeOut(parseInt(a/4));$("#slider").children($mySel).eq($currentSlide).fadeIn(a);$("#slider_txt").children("div").eq($currentSlide).fadeIn(parseInt(a*1.5));$currentSlide++;$currentSlide==b&&($currentSlide=0)};
