window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a)}};
(function(a){function c(){}for(var d="assert,clear,count,debug,dir,dirxml,error,exception,firebug,group,groupCollapsed,groupEnd,info,log,memoryProfile,memoryProfileEnd,profile,profileEnd,table,time,timeEnd,timeStamp,trace,warn".split(","),b;b=d.pop();)a[b]=a[b]||c})(function(){try{return console.log(),window.console}catch(a){return window.console={}}}());
(function(a){a(document).ready(function(){function b(b){var d=a(this).attr("href"),d=parseInt(a(d).position().left*-1);c.animate({left:d},{easing:"easeInOutQuart",speed:700});b.preventDefault()}var c=a(".panels"),e=c.find("> .panel");c.width(e.first().outerWidth()*e.length);a(".menu").on("click","a",b);a(".logo").on("click","a",b);window.location.hash?a.browser.webkit?c.css("left",a(window.location.hash).position().left*-1):a(".menu").find('a[href="'+window.location.hash+'"]').trigger("click"):a(".logo").find("a").trigger("click");
a(".classes a").fancybox({type:"inline"});a(".fancybox").fancybox({titlePosition:"inside"})})})(jQuery);

