
/* jquery.nav.js */

/* 1  */ /**
/* 2  *|  * @author Alexander Farkas
/* 3  *|  * v. 1.02
/* 4  *|  */
/* 5  */ (function($) {
/* 6  */ 	$.extend($.fx.step,{
/* 7  */ 	    backgroundPosition: function(fx) {
/* 8  */             if (fx.state === 0 && typeof fx.end == 'string') {
/* 9  */                 var start = $.curCSS(fx.elem,'backgroundPosition');
/* 10 */                 start = toArray(start);
/* 11 */                 fx.start = [start[0],start[2]];
/* 12 */                 var end = toArray(fx.end);
/* 13 */                 fx.end = [end[0],end[2]];
/* 14 */                 fx.unit = [end[1],end[3]];
/* 15 */ 			}
/* 16 */             var nowPosX = [];
/* 17 */             nowPosX[0] = ((fx.end[0] - fx.start[0]) * fx.pos) + fx.start[0] + fx.unit[0];
/* 18 */             nowPosX[1] = ((fx.end[1] - fx.start[1]) * fx.pos) + fx.start[1] + fx.unit[1];
/* 19 */             fx.elem.style.backgroundPosition = nowPosX[0]+' '+nowPosX[1];
/* 20 */ 
/* 21 */            function toArray(strg){
/* 22 */                strg = strg.replace(/left|top/g,'0px');
/* 23 */                strg = strg.replace(/right|bottom/g,'100%');
/* 24 */                strg = strg.replace(/([0-9\.]+)(\s|\)|$)/g,"$1px$2");
/* 25 */                var res = strg.match(/(-?[0-9\.]+)(px|\%|em|pt)\s(-?[0-9\.]+)(px|\%|em|pt)/);
/* 26 */                return [parseFloat(res[1],10),res[2],parseFloat(res[3],10),res[4]];
/* 27 */            }
/* 28 */         }
/* 29 */ 	});
/* 30 */ })(jQuery);
/* 31 */ 
/* 32 */ /**
/* 33 *| * hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+
/* 34 *| * <http://cherne.net/brian/resources/jquery.hoverIntent.html>
/* 35 *| * 
/* 36 *| * @param  f  onMouseOver function || An object with configuration options
/* 37 *| * @param  g  onMouseOut function  || Nothing (use configuration options object)
/* 38 *| * @author    Brian Cherne <brian@cherne.net>
/* 39 *| */
/* 40 */ (function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev]);}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev]);};var handleHover=function(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this){try{p=p.parentNode;}catch(e){p=this;}}if(p==this){return false;}var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);}if(e.type=="mouseover"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob);},cfg.timeout);}}};return this.mouseover(handleHover).mouseout(handleHover);};})(jQuery);
/* 41 */ 
/* 42 */ $(function(){
/* 43 */ 	$('#nav .fade a')
/* 44 */ 		.css( {backgroundPosition: "0 0"} )
/* 45 */ 		.mouseover(function(){
/* 46 */ 			$(this).stop().animate({backgroundPosition:"(0 -180px)"}, {duration:300})
/* 47 */ 		})
/* 48 */ 		.mouseout(function(){
/* 49 */ 			$(this).stop().animate({backgroundPosition:"(0 0)"}, {duration:300})
/* 50 */ 		})

/* jquery.nav.js */

/* 51 */ });
/* 52 */ 
/* 53 */ $(function(){
/* 54 */ 	$('.title h2 span a')
/* 55 */ 		.css( {backgroundPosition: "0 0"} )
/* 56 */ 		.mouseover(function(){
/* 57 */ 			$(this).stop().animate({backgroundPosition:"(0 -180px)"}, {duration:300})
/* 58 */ 		})
/* 59 */ 		.mouseout(function(){
/* 60 */ 			$(this).stop().animate({backgroundPosition:"(0 0)"}, {duration:300})
/* 61 */ 		})
/* 62 */ });
/* 63 */ 
/* 64 */ $(function () {
/* 65 */     $('#nav ul li.work').click(function () {
/* 66 */ 	$('li.work ul').slideToggle('fast');
/* 67 */ 	$('li.about ul').slideUp('fast');
/* 68 */     });
/* 69 */ 	
/* 70 */ 	$('#nav ul li.about').click(function () {
/* 71 */ 	$('li.about ul').slideToggle('fast');
/* 72 */ 	$('li.work ul').slideUp('fast');
/* 73 */     });
/* 74 */ 		
/* 75 */ });

;
/* portfolio.js */

/* 1  */ 
/* 2  */ $(document).ready(function(){
/* 3  */ 	
/* 4  */ 	// Set up the Slider
/* 5  */ 	var slideID = 1; // The initial slide (First one)
/* 6  */ 	var animation_active = false;
/* 7  */ 	
/* 8  */ 	var totalSlides = 1;		// IMPORTANT: There are 3 portfolio entries PER SLIDE,
/* 9  */ 								// so this number should be the total number of SLIDES.
/* 10 */ 								// Example: 2 slides would equal 6 portfolio entries (3 per slide)
/* 11 */ 							
/* 12 */ 	totalPortfolioEntries = totalSlides * 4;
/* 13 */ 	
/* 14 */ 	// This sets up the slider panels when you hover over the portfolio thumbs
/* 15 */ 	for (tempPortfolioNum=1;tempPortfolioNum<=totalPortfolioEntries;tempPortfolioNum=tempPortfolioNum+1) 
/* 16 */ 	{
/* 17 */ 		if (animation_active == false) {
/* 18 */ 			
/* 19 */ 			$("div.hoverBlock #portfolioEntry_"+tempPortfolioNum).hover(function(){
/* 20 */ 				$(this).find("img").animate({top:"20px"},{queue:false,duration:300});
/* 21 */ 			}, function(){
/* 22 */ 				$(this).find("img").animate({top:"0px"},{queue:false,duration:300});
/* 23 */ 			});
/* 24 */ 			
/* 25 */ 			
/* 26 */ 			
/* 27 */ 			$("div.hoverBlock #portfolioEntry_"+tempPortfolioNum).hover(function(){
/* 28 */ 				$(this).find("img.recent_work_img").animate("fast");
/* 29 */ 			}, function(){
/* 30 */ 				$(this).find("img.recent_work_img").animate("slow");
/* 31 */ 			});
/* 32 */ 			
/* 33 */ 		}
/* 34 */ 	}
/* 35 */ 
/* 36 */  });
/* 37 */ 
/* 38 */ 

;
/* scroll.js */

/* 1   */ /*
/* 2   *|     anythingSlider v1.1
/* 3   *|     
/* 4   *|     By Chris Coyier: http://css-tricks.com
/* 5   *|     with major improvements by Doug Neiner: http://pixelgraphics.us/
/* 6   *|     based on work by Remy Sharp: http://jqueryfordesigners.com/
/* 7   *| 
/* 8   *| 
/* 9   *| 	To use the navigationFormatter function, you must have a function that
/* 10  *| 	accepts two paramaters, and returns a string of HTML text.
/* 11  *| 	
/* 12  *| 	index = integer index (1 based);
/* 13  *| 	panel = jQuery wrapped LI item this tab references
/* 14  *| 	@return = Must return a string of HTML/Text
/* 15  *| 	
/* 16  *| 	navigationFormatter: function(index, panel){
/* 17  *| 		return index + " Panel"; // This would have each tab with the text 'X Panel' where X = index
/* 18  *| 	}
/* 19  *| */
/* 20  */ 
/* 21  */ (function($){
/* 22  */ 	
/* 23  */     $.anythingSlider = function(el, options){
/* 24  */         // To avoid scope issues, use 'base' instead of 'this'
/* 25  */         // to reference this class from internal events and functions.
/* 26  */         var base = this;
/* 27  */         
/* 28  */         // Access to jQuery and DOM versions of element
/* 29  */         base.$el = $(el);
/* 30  */         base.el = el; 
/* 31  */ 
/* 32  */ 		// Set up a few defaults
/* 33  */         base.currentPage = 1;
/* 34  */ 		base.timer = null;
/* 35  */ 		base.playing = false;
/* 36  */ 
/* 37  */         // Add a reverse reference to the DOM object
/* 38  */         base.$el.data("AnythingSlider", base);
/* 39  */         
/* 40  */         base.init = function(){
/* 41  */             base.options = $.extend({},$.anythingSlider.defaults, options);
/* 42  */ 			
/* 43  */ 			// Cache existing DOM elements for later 
/* 44  */ 			base.$wrapper = base.$el.find('> div').css('overflow', 'hidden');
/* 45  */             base.$slider  = base.$wrapper.find('> ul');
/* 46  */             base.$items   = base.$slider.find('> li');
/* 47  */             base.$single  = base.$items.filter(':first');
/* 48  */ 
/* 49  */ 			// Build the navigation if needed
/* 50  */ 			if(base.options.buildNavigation) base.buildNavigation();

/* scroll.js */

/* 51  */         
/* 52  */         	// Get the details
/* 53  */             base.singleWidth = base.$single.outerWidth();
/* 54  */             base.pages = base.$items.length;
/* 55  */ 
/* 56  */             // Top and tail the list with 'visible' number of items, top has the last section, and tail has the first
/* 57  */ 			// This supports the "infinite" scrolling
/* 58  */ 			base.$items.filter(':first').before(base.$items.filter(':last').clone().addClass('cloned'));
/* 59  */             base.$items.filter(':last' ).after(base.$items.filter(':first').clone().addClass('cloned'));
/* 60  */ 
/* 61  */ 			// We just added two items, time to re-cache the list
/* 62  */             base.$items = base.$slider.find('> li'); // reselect
/* 63  */             
/* 64  */ 			// Setup our forward/backward navigation
/* 65  */ 			base.buildNextBackButtons();
/* 66  */ 		
/* 67  */ 			// If autoPlay functionality is included, then initialize the settings
/* 68  */ 			if(base.options.autoPlay) {
/* 69  */ 				base.playing = !base.options.startStopped; // Sets the playing variable to false if startStopped is true
/* 70  */ 				base.buildAutoPlay();
/* 71  */ 			};
/* 72  */ 			
/* 73  */ 			// If pauseOnHover then add hover effects
/* 74  */ 			if(base.options.pauseOnHover) {
/* 75  */ 				base.$el.hover(function(){
/* 76  */ 					base.clearTimer();
/* 77  */ 				}, function(){
/* 78  */ 					base.startStop(base.playing);
/* 79  */ 				});
/* 80  */ 			}
/* 81  */ 			
/* 82  */ 			// If a hash can not be used to trigger the plugin, then go to page 1
/* 83  */ 			if((base.options.hashTags == true && !base.gotoHash()) || base.options.hashTags == false){
/* 84  */ 				base.setCurrentPage(1);
/* 85  */ 			};
/* 86  */         };
/* 87  */ 
/* 88  */ 		base.gotoPage = function(page, autoplay){
/* 89  */ 			// When autoplay isn't passed, we stop the timer
/* 90  */ 			if(autoplay !== true) autoplay = false;
/* 91  */ 			if(!autoplay) base.startStop(false);
/* 92  */ 			
/* 93  */ 			if(typeof(page) == "undefined" || page == null) {
/* 94  */ 				page = 1;
/* 95  */ 				base.setCurrentPage(1);
/* 96  */ 			};
/* 97  */ 			
/* 98  */ 			// Just check for bounds
/* 99  */ 			if(page > base.pages + 1) page = base.pages;
/* 100 */ 			if(page < 0 ) page = 1;

/* scroll.js */

/* 101 */ 
/* 102 */ 			var dir = page < base.currentPage ? -1 : 1,
/* 103 */                 n = Math.abs(base.currentPage - page),
/* 104 */                 left = base.singleWidth * dir * n;
/* 105 */ 			
/* 106 */ 			base.$wrapper.filter(':not(:animated)').animate({
/* 107 */                 scrollLeft : '+=' + left
/* 108 */             }, base.options.animationTime, base.options.easing, function () {
/* 109 */                 if (page == 0) {
/* 110 */                     base.$wrapper.scrollLeft(base.singleWidth * base.pages);
/* 111 */ 					page = base.pages;
/* 112 */                 } else if (page > base.pages) {
/* 113 */                     base.$wrapper.scrollLeft(base.singleWidth);
/* 114 */                     // reset back to start position
/* 115 */                     page = 1;
/* 116 */                 };
/* 117 */ 				base.setCurrentPage(page);
/* 118 */ 				
/* 119 */             });
/* 120 */ 		};
/* 121 */ 		
/* 122 */ 		base.setCurrentPage = function(page, move){
/* 123 */ 			// Set visual
/* 124 */ 			if(base.options.buildNavigation){
/* 125 */ 				base.$nav.find('.cur').removeClass('cur');
/* 126 */ 				$(base.$navLinks[page - 1]).addClass('cur');
/* 127 */ 			};
/* 128 */ 			
/* 129 */ 			// Nathan added to make navigation work on the right side instead of underneith it
/* 130 */ 			cnt = 0;
/* 131 */ 			base.$items.each(function(i,el){
/* 132 */ 					pageVar = "tn" + (cnt - 1);
/* 133 */ 					$('#'+pageVar).removeClass('cur');
/* 134 */ 					cnt++;
/* 135 */ 			});
/* 136 */ 			pageVar = "tn" + (page - 1);
/* 137 */ 			$('#'+pageVar).addClass('cur');
/* 138 */ 			// END HACK
/* 139 */ 			
/* 140 */ 			// Only change left if move does not equal false
/* 141 */ 			if(move !== false) base.$wrapper.scrollLeft(base.singleWidth * page);
/* 142 */ 
/* 143 */ 			// Update local variable
/* 144 */ 			base.currentPage = page;
/* 145 */ 		};
/* 146 */ 		
/* 147 */ 		base.goForward = function(autoplay){
/* 148 */ 			if(autoplay !== true) autoplay = false;
/* 149 */ 			base.gotoPage(base.currentPage + 1, autoplay);
/* 150 */ 		};

/* scroll.js */

/* 151 */ 		
/* 152 */ 		base.goBack = function(){
/* 153 */ 			base.gotoPage(base.currentPage - 1);
/* 154 */ 		};
/* 155 */ 		
/* 156 */ 		// This method tries to find a hash that matches panel-X
/* 157 */ 		// If found, it tries to find a matching item
/* 158 */ 		// If that is found as well, then that item starts visible
/* 159 */ 		base.gotoHash = function(){
/* 160 */ 			if(/^#?panel-\d+$/.test(window.location.hash)){
/* 161 */ 				var index = parseInt(window.location.hash.substr(7));
/* 162 */ 				var $item = base.$items.filter(':eq(' + index + ')');
/* 163 */ 				if($item.length != 0){
/* 164 */ 					base.setCurrentPage(index);
/* 165 */ 					return true;
/* 166 */ 				};
/* 167 */ 			};
/* 168 */ 			return false; // A item wasn't found;
/* 169 */ 		};
/* 170 */         
/* 171 */ 		// Creates the numbered navigation links
/* 172 */ 		/* base.buildNavigation = function(){
/* 173 *| 			base.$nav = $("<div id='thumbNav'></div>").appendTo(base.$el);
/* 174 *| 			base.$items.each(function(i,el){
/* 175 *| 				var index = i + 1;
/* 176 *| 				var $a = $("<a style='cursor: default;'></a>");
/* 177 *| 				
/* 178 *| 				// If a formatter function is present, use it
/* 179 *| 				//if( typeof(base.options.navigationFormatter) == "function"){
/* 180 *| 					//$a.html(base.options.navigationFormatter(index, $(this)));
/* 181 *| 				//} else {
/* 182 *| 					//$a.text(index);
/* 183 *| 				//}
/* 184 *| 				//$a.click(function(e){
/* 185 *|                 //    base.gotoPage(index);
/* 186 *|                 //   
/* 187 *|                 //    if (base.options.hashTags)
/* 188 *| 				//		base.setHash('panel-' + index);
/* 189 *| 				//		
/* 190 *|                 //    e.preventDefault();
/* 191 *| 				//});
/* 192 *| 				base.$nav.append($a);
/* 193 *| 			});
/* 194 *| 			
/* 195 *| 			base.$navLinks = base.$nav.find('> a');
/* 196 *| 		};
/* 197 *| 		*/
/* 198 */ 		base.buildNavigation = function(){
/* 199 */ 			base.$nav = $("<div id='thumbNav'></div>").appendTo(base.$el);
/* 200 */ 			base.$items.each(function(i,el){

/* scroll.js */

/* 201 */ 				var index = i + 1;
/* 202 */ 				var $a = $("<a href='#'></a>");
/* 203 */ 				
/* 204 */ 				// If a formatter function is present, use it
/* 205 */ 				if( typeof(base.options.navigationFormatter) == "function"){
/* 206 */ 					$a.html(base.options.navigationFormatter(index, $(this)));
/* 207 */ 				} else {
/* 208 */ 					$a.text(index);
/* 209 */ 				}
/* 210 */ 				$a.click(function(e){
/* 211 */                     base.gotoPage(index);
/* 212 */                     
/* 213 */                     if (base.options.hashTags)
/* 214 */ 						base.setHash('panel-' + index);
/* 215 */ 						
/* 216 */                     e.preventDefault();
/* 217 */ 				});
/* 218 */ 				base.$nav.append($a);
/* 219 */ 			});
/* 220 */ 			base.$navLinks = base.$nav.find('> a');
/* 221 */ 		};
/* 222 */ 
/* 223 */ 		
/* 224 */ 		// Creates the Forward/Backward buttons
/* 225 */ 		base.buildNextBackButtons = function(){
/* 226 */ 			var $forward = $('<a class="arrow forward">&gt;</a>'),
/* 227 */ 				$back    = $('<a class="arrow back">&lt;</a>');
/* 228 */ 				
/* 229 */             // Bind to the forward and back buttons
/* 230 */             $back.click(function(e){
/* 231 */                 base.goBack();
/* 232 */ 				e.preventDefault();
/* 233 */             });
/* 234 */ 
/* 235 */             $forward.click(function(e){
/* 236 */                 base.goForward();
/* 237 */ 				e.preventDefault();
/* 238 */             });
/* 239 */ 
/* 240 */ 			// Append elements to page
/* 241 */ 			base.$wrapper.after($back).after($forward);
/* 242 */ 		};
/* 243 */ 		
/* 244 */ 		// Creates the Start/Stop button
/* 245 */ 		base.buildAutoPlay = function(){
/* 246 */ 
/* 247 */ 			base.$startStop = $("<a href='#' id='start-stop'></a>").html(base.playing ? base.options.stopText :  base.options.startText);
/* 248 */ 			base.$el.append(base.$startStop);            
/* 249 */             base.$startStop.click(function(e){
/* 250 */ 				base.startStop(!base.playing);

/* scroll.js */

/* 251 */ 				e.preventDefault();
/* 252 */             });
/* 253 */ 
/* 254 */ 			// Use the same setting, but trigger the start;
/* 255 */ 			base.startStop(base.playing);
/* 256 */ 		};
/* 257 */ 		
/* 258 */ 		// Handles stopping and playing the slideshow
/* 259 */ 		// Pass startStop(false) to stop and startStop(true) to play
/* 260 */ 		base.startStop = function(playing){
/* 261 */ 			if(playing !== true) playing = false; // Default if not supplied is false
/* 262 */ 			
/* 263 */ 			// Update variable
/* 264 */ 			base.playing = playing;
/* 265 */ 			
/* 266 */ 			// Toggle playing and text
/* 267 */ 			base.$startStop.toggleClass("playing", playing).html( playing ? base.options.stopText : base.options.startText );
/* 268 */ 			
/* 269 */ 			if(playing){
/* 270 */ 				base.clearTimer(); // Just in case this was triggered twice in a row
/* 271 */ 				base.timer = window.setInterval(function(){
/* 272 */ 					base.goForward(true);
/* 273 */ 				}, base.options.delay);
/* 274 */ 			} else {
/* 275 */ 				base.clearTimer();
/* 276 */ 			};
/* 277 */ 		};
/* 278 */ 		
/* 279 */ 		base.clearTimer = function(){
/* 280 */ 			// Clear the timer only if it is set
/* 281 */ 			if(base.timer) window.clearInterval(base.timer);
/* 282 */ 		};
/* 283 */ 		
/* 284 */ 		// Taken from AJAXY jquery.history Plugin
/* 285 */ 		base.setHash = function ( hash ) {
/* 286 */ 			// Write hash
/* 287 */ 			if ( typeof window.location.hash !== 'undefined' ) {
/* 288 */ 				if ( window.location.hash !== hash ) {
/* 289 */ 					window.location.hash = hash;
/* 290 */ 				};
/* 291 */ 			} else if ( location.hash !== hash ) {
/* 292 */ 				location.hash = hash;
/* 293 */ 			};
/* 294 */ 			
/* 295 */ 			// Done
/* 296 */ 			return hash;
/* 297 */ 		};
/* 298 */ 		// <-- End AJAXY code
/* 299 */ 
/* 300 */ 

/* scroll.js */

/* 301 */ 		// Trigger the initialization
/* 302 */         base.init();
/* 303 */     };
/* 304 */ 
/* 305 */ 	
/* 306 */     $.anythingSlider.defaults = {
/* 307 */         easing: "swing",                // Anything other than "linear" or "swing" requires the easing plugin
/* 308 */         autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not
/* 309 */         startStopped: false,            // If autoPlay is on, this can force it to start stopped
/* 310 */         delay: 3000,                    // How long between slide transitions in AutoPlay mode
/* 311 */         animationTime: 600,             // How long the slide transition takes
/* 312 */         hashTags: true,                 // Should links change the hashtag in the URL?
/* 313 */         buildNavigation: true,          // If true, builds and list of anchor links to link to each slide
/* 314 */         pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
/* 315 */ 		startText: "Start",             // Start text
/* 316 */ 		stopText: "Stop",               // Stop text
/* 317 */ 		navigationFormatter: null       // Details at the top of the file on this use (advanced use)
/* 318 */     };
/* 319 */ 	
/* 320 */ 
/* 321 */     $.fn.anythingSlider = function(options){
/* 322 */ 		if(typeof(options) == "object"){
/* 323 */ 	
/* 324 */ 		    return this.each(function(i){			
/* 325 */ 				(new $.anythingSlider(this, options));
/* 326 */ 
/* 327 */ 	            // This plugin supports multiple instances, but only one can support hash-tag support
/* 328 */ 				// This disables hash-tags on all items but the first one
/* 329 */ 				options.hashTags = false;
/* 330 */ 	        });	
/* 331 */ 		} else if (typeof(options) == "number") {
/* 332 */ 
/* 333 */ 			return this.each(function(i){
/* 334 */ 				var anySlide = $(this).data('AnythingSlider');
/* 335 */ 				if(anySlide){
/* 336 */ 					anySlide.gotoPage(options);
/* 337 */ 				}
/* 338 */ 			});
/* 339 */ 		} else if (options == "forward") {
/* 340 */ 
/* 341 */ 			return this.each(function(i){
/* 342 */ 				var anySlide = $(this).data('AnythingSlider');
/* 343 */ 				if(anySlide){
/* 344 */ 					anySlide.goForward();
/* 345 */ 				}
/* 346 */ 			});
/* 347 */ 		} else if (options == "back") {
/* 348 */ 
/* 349 */ 			return this.each(function(i){
/* 350 */ 				var anySlide = $(this).data('AnythingSlider');

/* scroll.js */

/* 351 */ 				if(anySlide){
/* 352 */ 					anySlide.goBack();
/* 353 */ 				}
/* 354 */ 			});
/* 355 */ 		}
/* 356 */     };
/* 357 */ 
/* 358 */ 	
/* 359 */ })(jQuery);
/* 360 */ 	
/* 361 */ $(window).keydown(function(event){
/* 362 */ 	  switch (event.keyCode) {
/* 363 */ 	    case 37: //left arrow
/* 364 */ 			$(".back").click();
/* 365 */ 			break;
/* 366 */ 		case 38: //left arrow
/* 367 */ 			$(".back").click();
/* 368 */ 			break;
/* 369 */ 		case 39: //right arrow
/* 370 */ 			$(".forward").click();
/* 371 */ 			break;
/* 372 */ 		case 40: //right arrow
/* 373 */ 			$(".forward").click();
/* 374 */ 			break;
/* 375 */ 	  }
/* 376 */ 	});
/* 377 */ 
/* 378 */ $(document).ready(function(){
/* 379 */ 	$(".news_content").fadeTo("fast", 0.7); // This sets the opacity of the thumbs to fade down to 60% when the page loads
/* 380 */ 	$(".hentry .news_content").fadeTo("fast", 1.0);
/* 381 */ 
/* 382 */ 	$(".news_item").hover(function(){
/* 383 */ 
/* 384 */ 
/* 385 */ 		//alert( $(this).children("div:last").html() );
/* 386 */ 		
/* 387 */ 		
/* 388 */ 		($(this).children("div:last")).fadeTo("fast", 1.0);
/* 389 */ 
/* 390 */ 		
/* 391 */ 
/* 392 */ 		//$(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
/* 393 */ 
/* 394 */ 
/* 395 */ 	},function(){
/* 396 */ 		($(this).children("div:last")).fadeTo("fast", 0.7);
/* 397 */ 		
/* 398 */ 		//$(this).fadeTo("fast", 0.7); // This should set the opacity back to 60% on mouseout
/* 399 */ 		
/* 400 */ 		

/* scroll.js */

/* 401 */ 		
/* 402 */ 	});
/* 403 */ });
/* 404 */ 
/* 405 */ 
/* 406 */ 
/* 407 */ $(document).ready(function(){
/* 408 */ $(".anythingSlider .arrow .back").fadeTo("fast", 0.6); // This sets the opacity of the thumbs to fade down to 60% when the page loads
/* 409 */ 
/* 410 */ $(".anythingSlider .arrow .back").hover(function(){
/* 411 */ $(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
/* 412 */ },function(){
/* 413 */ $(this).fadeTo("fast", 0.6); // This should set the opacity back to 60% on mouseout
/* 414 */ });
/* 415 */ });

;
/* jquery.tweet.js */

/* 1   */ (function($) {
/* 2   */  
/* 3   */   $.fn.tweet = function(o){
/* 4   */     var s = {
/* 5   */       username: ["chadAgermann","redcircleagency"],              // [string]   required, unless you want to display our tweets. :) it can be an array, just do ["username1","username2","etc"]
/* 6   */       avatar_size: 24,                      // [integer]  height and width of avatar if displayed (48px max)
/* 7   */       count: 4,                               // [integer]  how many tweets to display?
/* 8   */       intro_text: null,                       // [string]   do you want text BEFORE your your tweets?
/* 9   */       outro_text: null,                       // [string]   do you want text AFTER your tweets?
/* 10  */       join_text:  null,                       // [string]   optional text in between date and tweet, try setting to "auto"
/* 11  */       loading_text: null,                     // [string]   optional loading text, displayed while tweets load
/* 12  */       query: null                             // [string]   optional search query
/* 13  */     };
/* 14  */ 
/* 15  */     $.fn.extend({
/* 16  */       linkUrl: function() {
/* 17  */         var returning = [];
/* 18  */         var regexp = /((ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?)/gi;
/* 19  */         this.each(function() {
/* 20  */           returning.push(this.replace(regexp,"<a href=\"$1\">$1</a>"))
/* 21  */         });
/* 22  */         return $(returning);
/* 23  */       },
/* 24  */       linkUser: function() {
/* 25  */         var returning = [];
/* 26  */         var regexp = /[\@]+([A-Za-z0-9-_]+)/gi;
/* 27  */         this.each(function() {
/* 28  */           returning.push(this.replace(regexp,"<a href=\"http://twitter.com/$1\">@$1</a>"))
/* 29  */         });
/* 30  */         return $(returning);
/* 31  */       },
/* 32  */       linkHash: function() {
/* 33  */         var returning = [];
/* 34  */         var regexp = / [\#]+([A-Za-z0-9-_]+)/gi;
/* 35  */         this.each(function() {
/* 36  */           returning.push(this.replace(regexp, ' <a href="http://search.twitter.com/search?q=&tag=$1&lang=all&from='+s.username.join("%2BOR%2B")+'">#$1</a>'))
/* 37  */         });
/* 38  */         return $(returning);
/* 39  */       },
/* 40  */       capAwesome: function() {
/* 41  */         var returning = [];
/* 42  */         this.each(function() {
/* 43  */           returning.push(this.replace(/(a|A)wesome/gi, 'AWESOME'))
/* 44  */         });
/* 45  */         return $(returning);
/* 46  */       },
/* 47  */       capEpic: function() {
/* 48  */         var returning = [];
/* 49  */         this.each(function() {
/* 50  */           returning.push(this.replace(/(e|E)pic/gi, 'EPIC'))

/* jquery.tweet.js */

/* 51  */         });
/* 52  */         return $(returning);
/* 53  */       },
/* 54  */       makeHeart: function() {
/* 55  */         var returning = [];
/* 56  */         this.each(function() {
/* 57  */           returning.push(this.replace(/[&lt;]+[3]/gi, "<tt class='heart'>&#x2665;</tt>"))
/* 58  */         });
/* 59  */         return $(returning);
/* 60  */       }
/* 61  */     });
/* 62  */ 
/* 63  */     function relative_time(time_value) {
/* 64  */       var parsed_date = Date.parse(time_value);
/* 65  */       var relative_to = (arguments.length > 1) ? arguments[1] : new Date();
/* 66  */       var delta = parseInt((relative_to.getTime() - parsed_date) / 1000);
/* 67  */       if(delta < 60) {
/* 68  */       return 'less than a minute ago';
/* 69  */       } else if(delta < 120) {
/* 70  */       return 'about a minute ago';
/* 71  */       } else if(delta < (45*60)) {
/* 72  */       return (parseInt(delta / 60)).toString() + ' minutes ago';
/* 73  */       } else if(delta < (90*60)) {
/* 74  */       return 'about an hour ago';
/* 75  */       } else if(delta < (24*60*60)) {
/* 76  */       return 'about ' + (parseInt(delta / 3600)).toString() + ' hours ago';
/* 77  */       } else if(delta < (48*60*60)) {
/* 78  */       return '1 day ago';
/* 79  */       } else {
/* 80  */       return (parseInt(delta / 86400)).toString() + ' days ago';
/* 81  */       }
/* 82  */     }
/* 83  */ 
/* 84  */     if(o) $.extend(s, o);
/* 85  */     return this.each(function(){
/* 86  */       var list = $('<ul class="tweet_list">').appendTo(this);
/* 87  */       var intro = '<p class="tweet_intro">'+s.intro_text+'</p>'
/* 88  */       var outro = '<p class="tweet_outro">'+s.outro_text+'</p>'
/* 89  */       var loading = $('<p class="loading">'+s.loading_text+'</p>');
/* 90  */       if(typeof(s.username) == "string"){
/* 91  */         s.username = [s.username];
/* 92  */       }
/* 93  */       var query = '';
/* 94  */       if(s.query) {
/* 95  */         query += 'q='+s.query;
/* 96  */       }
/* 97  */       query += '&q=from:'+s.username.join('%20OR%20from:');
/* 98  */       var url = 'http://search.twitter.com/search.json?&'+query+'&rpp='+s.count+'&callback=?';
/* 99  */ 	  
/* 100 */       if (s.loading_text) $(this).append(loading);

/* jquery.tweet.js */

/* 101 */       $.getJSON(url, function(data){
/* 102 */         if (s.loading_text) loading.remove();
/* 103 */         if (s.intro_text) list.before(intro);
/* 104 */         $.each(data.results, function(i,item){
/* 105 */           // auto join text based on verb tense and content
/* 106 */           if (s.join_text == "auto") {
/* 107 */             if (item.text.match(/^(@([A-Za-z0-9-_]+)) .*/i)) {
/* 108 */               var join_text = s.auto_join_text_reply;
/* 109 */             } else if (item.text.match(/(^\w+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+) .*/i)) {
/* 110 */               var join_text = s.auto_join_text_url;
/* 111 */             } else if (item.text.match(/^((\w+ed)|just) .*/im)) {
/* 112 */               var join_text = s.auto_join_text_ed;
/* 113 */             } else if (item.text.match(/^(\w*ing) .*/i)) {
/* 114 */               var join_text = s.auto_join_text_ing;
/* 115 */             } else {
/* 116 */               var join_text = s.auto_join_text_default;
/* 117 */             }
/* 118 */           } else {
/* 119 */             var join_text = s.join_text;
/* 120 */           };
/* 121 */ 
/* 122 */           var join_template = '<span class="tweet_join"> '+join_text+' </span>';
/* 123 */           var join = ((s.join_text) ? join_template : ' ')
/* 124 */           var avatar_template = '<a class="tweet_avatar" href="http://twitter.com/'+ item.from_user+'"><img src="'+item.profile_image_url+'" height="'+s.avatar_size+'" width="'+s.avatar_size+'" alt="'+item.from_user+'\'s avatar" border="0"/></a>';
/* 125 */           var avatar = (s.avatar_size ? avatar_template : '')
/* 126 */           var date = '<a href="http://twitter.com/'+item.from_user+'/statuses/'+item.id+'" title="view tweet on twitter">'+relative_time(item.created_at)+'</a>';
/* 127 */           var text = '<span class="tweet_text">' +$([item.text]).linkUrl().linkUser().linkHash().makeHeart().capAwesome().capEpic()[0]+ '</span>';
/* 128 */           
/* 129 */           // until we create a template option, arrange the items below to alter a tweet's display.
/* 130 */           list.append('<li>' + avatar + text + join + date + '</li>');
/* 131 */ 
/* 132 */           list.children('li:first').addClass('tweet_first');
/* 133 */           list.children('li:odd').addClass('tweet_even');
/* 134 */           list.children('li:even').addClass('tweet_odd');
/* 135 */         });
/* 136 */         if (s.outro_text) list.after(outro);
/* 137 */       });
/* 138 */ 
/* 139 */     });
/* 140 */   };
/* 141 */ })(jQuery);

;
/* jquery.prettyPhoto.js */

/* 1 */ /* ------------------------------------------------------------------------
/* 2 *| 	Class: prettyPhoto
/* 3 *| 	Use: Lightbox clone for jQuery
/* 4 *| 	Author: Stephane Caron (http://www.no-margin-for-errors.com)
/* 5 *| 	Version: 2.5.3
/* 6 *| ------------------------------------------------------------------------- */
/* 7 */ 
/* 8 */ (function(a){a.prettyPhoto={version:"2.5.3"};a.fn.prettyPhoto=function(t){t=jQuery.extend({animationSpeed:"normal",padding:40,opacity:1,showTitle:true,allowresize:true,counter_separator_label:"/",theme:"light_rounded",hideflash:false,modal:false,changepicturecallback:function(){},callback:function(){}},t);if(a.browser.msie&&a.browser.version==6){t.theme="light_square"}if(a(".pp_overlay").size()==0){u()}else{o=a(".pp_pic_holder");x=a(".ppt")}var d=true,h=false,s,o,x,t,m,n,r,v,e="image",c=0,j=f();a(window).scroll(function(){j=f();i();q()});a(window).resize(function(){i();q()});a(document).keydown(function(y){if(o.is(":visible")){switch(y.keyCode){case 37:a.prettyPhoto.changePage("previous");break;case 39:a.prettyPhoto.changePage("next");break;case 27:if(!t.modal){a.prettyPhoto.close()}break}}});a(this).each(function(){a(this).bind("click",function(){link=this;theRel=a(this).attr("rel");galleryRegExp=/\[(?:.*)\]/;theGallery=galleryRegExp.exec(theRel);var y=new Array(),A=new Array(),z=new Array();if(theGallery){a("a[rel*="+theGallery+"]").each(function(B){if(a(this)[0]===a(link)[0]){c=B}y.push(a(this).attr("href"));A.push(a(this).find("img").attr("alt"));z.push(a(this).attr("title"))})}else{y=a(this).attr("href");A=(a(this).find("img").attr("alt"))?a(this).find("img").attr("alt"):"";z=(a(this).attr("title"))?a(this).attr("title"):""}a.prettyPhoto.open(y,A,z);return false})});a.prettyPhoto.open=function(A,z,y){if(a.browser.msie&&a.browser.version==6){a("select").css("visibility","hidden")}if(t.hideflash){a("object,embed").css("visibility","hidden")}images=a.makeArray(A);titles=a.makeArray(z);descriptions=a.makeArray(y);if(a(".pp_overlay").size()==0){u()}else{o=a(".pp_pic_holder");x=a(".ppt")}o.attr("class","pp_pic_holder "+t.theme);isSet=(a(images).size()>0)?true:false;w(images[c]);i();g(a(images).size());a(".pp_loaderIcon").show();a("div.pp_overlay").show().fadeTo(t.animationSpeed,t.opacity,function(){o.fadeIn(t.animationSpeed,function(){o.find("p.currentTextHolder").text((c+1)+t.counter_separator_label+a(images).size());if(descriptions[c]){o.find(".pp_description").show().html(unescape(descriptions[c]))}else{o.find(".pp_description").hide().text("")}if(titles[c]&&t.showTitle){hasTitle=true;x.html(unescape(titles[c]))}else{hasTitle=false}if(e=="image"){imgPreloader=new Image();nextImage=new Image();if(isSet&&c>a(images).size()){nextImage.src=images[c+1]}prevImage=new Image();if(isSet&&images[c-1]){prevImage.src=images[c-1]}pp_typeMarkup='<img id="fullResImage" src="" />';o.find("#pp_full_res")[0].innerHTML=pp_typeMarkup;o.find(".pp_content").css("overflow","hidden");o.find("#fullResImage").attr("src",images[c]);imgPreloader.onload=function(){s=l(imgPreloader.width,imgPreloader.height);_showContent()};imgPreloader.src=images[c]}else{movie_width=(parseFloat(b("width",images[c])))?b("width",images[c]):"425";movie_height=(parseFloat(b("height",images[c])))?b("height",images[c]):"344";if(movie_width.indexOf("%")!=-1||movie_height.indexOf("%")!=-1){movie_height=(a(window).height()*parseFloat(movie_height)/100)-100;movie_width=(a(window).width()*parseFloat(movie_width)/100)-100;h=true}movie_height=parseFloat(movie_height);movie_width=parseFloat(movie_width);if(e=="quicktime"){movie_height+=15}s=l(movie_width,movie_height);if(e=="youtube"){pp_typeMarkup='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+s.width+'" height="'+s.height+'"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.youtube.com/v/'+b("v",images[c])+'" /><embed src="http://www.youtube.com/v/'+b("v",images[c])+'" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="'+s.width+'" height="'+s.height+'"></embed></object>'}else{if(e=="quicktime"){pp_typeMarkup='<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="'+s.height+'" width="'+s.width+'"><param name="src" value="'+images[c]+'"><param name="autoplay" value="true"><param name="type" value="video/quicktime"><embed src="'+images[c]+'" height="'+s.height+'" width="'+s.width+'" autoplay="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>'}else{if(e=="flash"){flash_vars=images[c];flash_vars=flash_vars.substring(images[c].indexOf("flashvars")+10,images[c].length);filename=images[c];filename=filename.substring(0,filename.indexOf("?"));pp_typeMarkup='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+s.width+'" height="'+s.height+'"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="'+filename+"?"+flash_vars+'" /><embed src="'+filename+"?"+flash_vars+'" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="'+s.width+'" height="'+s.height+'"></embed></object>'}else{if(e=="iframe"){movie_url=images[c];movie_url=movie_url.substr(0,movie_url.indexOf("iframe")-1);pp_typeMarkup='<iframe src ="'+movie_url+'" width="'+(s.width-10)+'" height="'+(s.height-10)+'" frameborder="no"></iframe>'}}}}_showContent()}})})};a.prettyPhoto.changePage=function(y){if(y=="previous"){c--;if(c<0){c=0;return}}else{if(a(".pp_arrow_next").is(".disabled")){return}c++}if(!d){d=true}k();a("a.pp_expand,a.pp_contract").fadeOut(t.animationSpeed,function(){a(this).removeClass("pp_contract").addClass("pp_expand");a.prettyPhoto.open(images,titles,descriptions)})};a.prettyPhoto.close=function(){o.find("object,embed").css("visibility","hidden");a("div.pp_pic_holder,div.ppt").fadeOut(t.animationSpeed);a("div.pp_overlay").fadeOut(t.animationSpeed,function(){a("div.pp_overlay,div.pp_pic_holder,div.ppt").remove();if(a.browser.msie&&a.browser.version==6){a("select").css("visibility","visible")}if(t.hideflash){a("object,embed").css("visibility","visible")}c=0;t.callback()});d=true};_showContent=function(){a(".pp_loaderIcon").hide();if(a.browser.opera){windowHeight=window.innerHeight;windowWidth=window.innerWidth}else{windowHeight=a(window).height();windowWidth=a(window).width()}projectedTop=j.scrollTop+((windowHeight/2)-(s.containerHeight/2));if(projectedTop<0){projectedTop=0+o.find(".ppt").height()}o.find(".pp_content").animate({height:s.contentHeight},t.animationSpeed);o.animate({top:projectedTop,left:((windowWidth/2)-(s.containerWidth/2)),width:s.containerWidth},t.animationSpeed,function(){o.width(s.containerWidth);o.find(".pp_hoverContainer,#fullResImage").height(s.height).width(s.width);o.find("#pp_full_res").fadeIn(t.animationSpeed);if(isSet&&e=="image"){o.find(".pp_hoverContainer").fadeIn(t.animationSpeed)}else{o.find(".pp_hoverContainer").hide()}o.find(".pp_details").fadeIn(t.animationSpeed);if(t.showTitle&&hasTitle){x.css({top:o.offset().top-20,left:o.offset().left+(t.padding/2),display:"none"});x.fadeIn(t.animationSpeed)}if(s.resized){a("a.pp_expand,a.pp_contract").fadeIn(t.animationSpeed)}if(e!="image"){o.find("#pp_full_res")[0].innerHTML=pp_typeMarkup}t.changepicturecallback()})};function k(){o.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden");o.find(".pp_hoverContainer,.pp_details").fadeOut(t.animationSpeed);o.find("#pp_full_res").fadeOut(t.animationSpeed,function(){a(".pp_loaderIcon").show()});x.fadeOut(t.animationSpeed)}function g(y){if(c==y-1){o.find("a.pp_next").css("visibility","hidden");o.find("a.pp_arrow_next").addClass("disabled").unbind("click")}else{o.find("a.pp_next").css("visibility","visible");o.find("a.pp_arrow_next.disabled").removeClass("disabled").bind("click",function(){a.prettyPhoto.changePage("next");return false})}if(c==0){o.find("a.pp_previous").css("visibility","hidden");o.find("a.pp_arrow_previous").addClass("disabled").unbind("click")}else{o.find("a.pp_previous").css("visibility","visible");o.find("a.pp_arrow_previous.disabled").removeClass("disabled").bind("click",function(){a.prettyPhoto.changePage("previous");return false})}if(y>1){a(".pp_nav").show()}else{a(".pp_nav").hide()}}function l(z,y){hasBeenResized=false;p(z,y);imageWidth=z;imageHeight=y;windowHeight=a(window).height();windowWidth=a(window).width();if(((v>windowWidth)||(r>windowHeight))&&d&&t.allowresize&&!h){hasBeenResized=true;notFitting=true;while(notFitting){if((v>windowWidth)){imageWidth=(windowWidth-200);imageHeight=(y/z)*imageWidth}else{if((r>windowHeight)){imageHeight=(windowHeight-200);imageWidth=(z/y)*imageHeight}else{notFitting=false}}r=imageHeight;v=imageWidth}p(imageWidth,imageHeight)}return{width:imageWidth,height:imageHeight,containerHeight:r,containerWidth:v,contentHeight:m,contentWidth:n,resized:hasBeenResized}}function p(z,y){o.find(".pp_details").width(z).find(".pp_description").width(z-parseFloat(o.find("a.pp_close").css("width")));m=y+o.find(".pp_details").height()+parseFloat(o.find(".pp_details").css("marginTop"))+parseFloat(o.find(".pp_details").css("marginBottom"));n=z;r=m+o.find(".ppt").height()+o.find(".pp_top").height()+o.find(".pp_bottom").height();v=z+t.padding}function w(y){if(y.match(/youtube\.com\/watch/i)){e="youtube"}else{if(y.indexOf(".mov")!=-1){e="quicktime"}else{if(y.indexOf(".swf")!=-1){e="flash"}else{if(y.indexOf("iframe")!=-1){e="iframe"}else{e="image"}}}}}function i(){if(a.browser.opera){windowHeight=window.innerHeight;windowWidth=window.innerWidth}else{windowHeight=a(window).height();windowWidth=a(window).width()}if(d){$pHeight=o.height();$pWidth=o.width();$tHeight=x.height();projectedTop=(windowHeight/2)+j.scrollTop-($pHeight/2);if(projectedTop<0){projectedTop=0+$tHeight}o.css({top:projectedTop,left:(windowWidth/2)+j.scrollLeft-($pWidth/2)});x.css({top:projectedTop-$tHeight,left:(windowWidth/2)+j.scrollLeft-($pWidth/2)+(t.padding/2)})}}function f(){if(self.pageYOffset){scrollTop=self.pageYOffset;scrollLeft=self.pageXOffset}else{if(document.documentElement&&document.documentElement.scrollTop){scrollTop=document.documentElement.scrollTop;scrollLeft=document.documentElement.scrollLeft}else{if(document.body){scrollTop=document.body.scrollTop;scrollLeft=document.body.scrollLeft}}}return{scrollTop:scrollTop,scrollLeft:scrollLeft}}function q(){a("div.pp_overlay").css({height:a(document).height(),width:a(window).width()})}function u(){toInject="";toInject+="<div class='pp_overlay'></div>";toInject+='<div class="pp_pic_holder"><div class="pp_top"><div class="pp_left"></div><div class="pp_middle"></div><div class="pp_right"></div></div><div class="pp_content"><a href="#" class="pp_expand" title="Expand the image">Expand</a><div class="pp_loaderIcon"></div><div class="pp_hoverContainer"><a class="pp_next" href="#">next</a><a class="pp_previous" href="#">previous</a></div><div id="pp_full_res"></div><div class="pp_details clearfix"><a class="pp_close" href="#">Close</a><p class="pp_description"></p><div class="pp_nav"><a href="#" class="pp_arrow_previous">Previous</a><p class="currentTextHolder">0'+t.counter_separator_label+'0</p><a href="#" class="pp_arrow_next">Next</a></div></div></div><div class="pp_bottom"><div class="pp_left"></div><div class="pp_middle"></div><div class="pp_right"></div></div></div>';toInject+='<div class="ppt"></div>';a("body").append(toInject);a("div.pp_overlay").css("opacity",0);o=a(".pp_pic_holder");x=a(".ppt");a("div.pp_overlay").css("height",a(document).height()).hide().bind("click",function(){if(!t.modal){a.prettyPhoto.close()}});a("a.pp_close").bind("click",function(){a.prettyPhoto.close();return false});a("a.pp_expand").bind("click",function(){$this=a(this);if($this.hasClass("pp_expand")){$this.removeClass("pp_expand").addClass("pp_contract");d=false}else{$this.removeClass("pp_contract").addClass("pp_expand");d=true}k();o.find(".pp_hoverContainer, .pp_details").fadeOut(t.animationSpeed);o.find("#pp_full_res").fadeOut(t.animationSpeed,function(){a.prettyPhoto.open(images,titles,descriptions)});return false});o.find(".pp_previous, .pp_arrow_previous").bind("click",function(){a.prettyPhoto.changePage("previous");return false});o.find(".pp_next, .pp_arrow_next").bind("click",function(){a.prettyPhoto.changePage("next");return false});o.find(".pp_hoverContainer").css({"margin-left":t.padding/2})}};function b(e,d){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var c="[\\?&]"+e+"=([^&#]*)";var g=new RegExp(c);var f=g.exec(d);if(f==null){return""}else{return f[1]}}})(jQuery);
/* 9 */ 
