window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var b=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,b):console.log.apply(console,b))}};(function(e){function h(){}for(var g="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),f;f=g.pop();){e[f]=e[f]||h}})((function(){try{console.log();return window.console}catch(a){return window.console={}}})());jQuery(document).ready(function(){jQuery("a.project-list-thumb").fancybox();jQuery("a.image").fancybox();jQuery("a#inline").fancybox({hideOnContentClick:true});jQuery(".youtube_video").click(function(){jQuery.fancybox({padding:0,autoScale:false,transitionIn:"none",transitionOut:"none",title:this.title,width:680,height:495,href:this.href.replace(new RegExp("watch\\?v=","i"),"v/"),type:"swf",swf:{wmode:"transparent",allowfullscreen:"true"}});return false});jQuery(".vimeo_video").click(function(){jQuery.fancybox({padding:0,autoScale:false,transitionIn:"none",transitionOut:"none",title:this.title,width:600,height:398,href:this.href.replace(new RegExp("([0-9])","i"),"moogaloop.swf?clip_id=$1"),type:"swf"});return false});jQuery("#flickr_widget").jflickrfeed({limit:9,qstrings:{id:"73818667@N00"},itemTemplate:'<li><a class="flickr_images image" href="{{image_b}}"><img src="{{image_s}}" alt="{{title}}" /></a></li>'},function(a){jQuery("#flickr_widget a").fancybox();jQuery("#flickr_widget li img").css("opacity","1.0");jQuery("#flickr_widget li img").hover(function(){jQuery(this).stop().animate({opacity:0.5},"fast")},function(){jQuery(this).stop().animate({opacity:1},"slow")})})});
