window.log=function(){log.history=log.history||[];log.history.push(arguments);arguments.callee=arguments.callee.caller;if(this.console){console.log(Array.prototype.slice.call(arguments))}};(function(e){function h(){}for(var g="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn".split(","),f;f=g.pop();){e[f]=e[f]||h}})(window.console=window.console||{});$(function(){if(navigator.userAgent.indexOf("iPhone")!=-1){setTimeout(function(){if(!pageYOffset){window.scrollTo(0,1)}},1000)}});$(function(){$("#slides").slides({preload:true,preloadImage:"img/loading.gif",play:6000,pause:2500,randomize:true,hoverPause:true,animationStart:function(a){$(".caption").animate({bottom:-35},100);if(window.console&&console.log){console.log("animationStart on slide: ",a)}},animationComplete:function(a){$(".caption").animate({bottom:0},200);if(window.console&&console.log){console.log("animationComplete on slide: ",a)}},slidesLoaded:function(){$(".caption").animate({bottom:0},200)}})});$("#items .item").hover(function(){$(this).siblings().fadeTo("fast","0.3");$(this).fadeTo("fast","1")},function(){});$("#items").mouseleave(function(){$(this).children().fadeTo("100","1.0")});$("audio,video").mediaelementplayer();
