/* jQuery Cookie Plugin v1.4.0 https://github.com/carhartl/jquery-cookie Copyright 2013 Klaus Hartl Released under the MIT license jQuery Form Plugin version: 3.14 (30-JUL-2012) @requires jQuery v1.3.2 or later Examples and documentation at: http://malsup.com/jquery/form/ Project repository: https://github.com/malsup/form Dual licensed under the MIT and GPL licenses: http://malsup.github.com/mit-license.txt http://malsup.github.com/gpl-license-v2.txt jQuery UI - v1.12.1 - 2016-09-14 http://jqueryui.com Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-1-7.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js Copyright jQuery Foundation and other contributors; Licensed MIT jQuery UI Widget 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Position 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license http://api.jqueryui.com/position/ jQuery UI :data 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Disable Selection 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery Color Animations v2.1.2 https://github.com/jquery/jquery-color Copyright 2014 jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license Date: Wed Jan 16 08:47:09 2013 -0600 jQuery UI Effects Blind 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Bounce 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Clip 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Drop 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Explode 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Fade 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Fold 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Highlight 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Size 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Scale 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Puff 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Pulsate 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Shake 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Slide 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Effects Transfer 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Focusable 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Form Reset Mixin 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Support for jQuery core 1.7.x 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Keycode 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Labels 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Scroll Parent 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Tabbable 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Unique ID 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Accordion 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Menu 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Autocomplete 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Controlgroup 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Checkboxradio 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Button 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Datepicker 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Mouse 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Draggable 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Resizable 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Dialog 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Droppable 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Progressbar 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Selectable 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Selectmenu 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Slider 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Sortable 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Spinner 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Tabs 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license jQuery UI Tooltip 1.12.1 http://jqueryui.com Copyright jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license */ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(b){return b.raw=b};$jscomp.createTemplateTagFirstArgWithRaw=function(b,h){b.raw=h;return b}; (function(b){"function"===typeof define&&define.amd?define(["jquery"],b):b(jQuery)})(function(b){function h(y,B){if(n.raw)var g=y;else a:{var p=y;0===p.indexOf('"')&&(p=p.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{p=decodeURIComponent(p.replace(D," "));g=n.json?JSON.parse(p):p;break a}catch(A){}g=void 0}return b.isFunction(B)?B(g):g}var D=/\+/g,n=b.cookie=function(y,B,g){if(void 0!==B&&!b.isFunction(B)){g=b.extend({},n.defaults,g);if("number"===typeof g.expires){var p=g.expires,A= g.expires=new Date;A.setDate(A.getDate()+p)}y=n.raw?y:encodeURIComponent(y);B=n.json?JSON.stringify(B):String(B);B=n.raw?B:encodeURIComponent(B);return document.cookie=[y,"=",B,g.expires?"; expires="+g.expires.toUTCString():"",g.path?"; path="+g.path:"",g.domain?"; domain="+g.domain:"",g.secure?"; secure":""].join("")}g=y?void 0:{};p=document.cookie?document.cookie.split("; "):[];A=0;for(var F=p.length;A=h)){y&&y.constructor!=Number&&(B=!!y,y=0);y=y||0;B=B||!1;b.$timers||(b.$timers= {});b.$timers[D]||(b.$timers[D]={});n.$timerID=n.$timerID||this.guid++;var p=function(){B&&this.inProgress||(this.inProgress=!0,(++g>y&&0!==y||!1===n.call(b,g))&&jQuery.timer.remove(b,D,n),this.inProgress=!1)};p.$timerID=n.$timerID;b.$timers[D][n.$timerID]||(b.$timers[D][n.$timerID]=window.setInterval(p,h));this.global[D]||(this.global[D]=[]);this.global[D].push(b)}},remove:function(b,h,D){var n=b.$timers;if(n){if(!h)for(h in n)this.remove(b,h,D);else if(n[h]){if(D)D.$timerID&&(window.clearInterval(n[h][D.$timerID]), delete n[h][D.$timerID]);else for(D in n[h])window.clearInterval(n[h][D]),delete n[h][D];for(y in n[h])break;if(!y){var y=null;delete n[h]}}for(y in n)break;y||(b.$timers=null)}}}});jQuery(window).bind("unload",function(){jQuery.each(jQuery.timer.global,function(b,h){jQuery.timer.remove(h)})}); (function(b){function h(){var n=location.href;return hashtag=-1!==n.indexOf("#prettyPhoto")?decodeURI(n.substring(n.indexOf("#prettyPhoto")+1,n.length)):!1}function D(n,y){n=n.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var B=(new RegExp("[\\?&]"+n+"=([^&#]*)")).exec(y);return null==B?"":B[1]}b.prettyPhoto={version:"3.1.5"};b.fn.prettyPhoto=function(n){function y(){b(".pp_loaderIcon").hide();projectedTop=scroll_pos.scrollTop+(u/2-d.containerHeight/2);0>projectedTop&&(projectedTop=0);$ppt.fadeTo(settings.animation_speed, 1);$pp_pic_holder.find(".pp_content").animate({height:d.contentHeight,width:d.contentWidth},settings.animation_speed);$pp_pic_holder.animate({top:projectedTop,left:0>C/2-d.containerWidth/2?0:C/2-d.containerWidth/2,width:d.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(d.height).width(d.width);$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed);isSet&&"image"==F(pp_images[set_position])?$pp_pic_holder.find(".pp_hoverContainer").show(): $pp_pic_holder.find(".pp_hoverContainer").hide();settings.allow_expand&&(d.resized?b("a.pp_expand,a.pp_contract").show():b("a.pp_expand").hide());!settings.autoplay_slideshow||H||e||b.prettyPhoto.startSlideshow();settings.changepicturecallback();e=!0});isSet&&settings.overlay_gallery&&"image"==F(pp_images[set_position])?(itemWidth=57,navWidth="facebook"==settings.theme||"pp_default"==settings.theme?50:30,itemsPerPage=Math.floor((d.containerWidth-100-navWidth)/itemWidth),itemsPerPage=itemsPerPage< pp_images.length?itemsPerPage:pp_images.length,totalPage=Math.ceil(pp_images.length/itemsPerPage)-1,0==totalPage?(navWidth=0,$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()):$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show(),galleryWidth=itemsPerPage*itemWidth,fullGalleryWidth=pp_images.length*itemWidth,$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected"), goToPage=Math.floor(set_position/itemsPerPage)C||l>u)&&doresize&&settings.allow_resize&&!c){resized=!0;for(fitting=!1;!fitting;)m>C?(imageWidth=C-200,imageHeight=x/t*imageWidth):l>u?(imageHeight=u-200,imageWidth=t/x*imageHeight):fitting=!0,l=imageHeight,m=imageWidth;(m>C||l>u)&&p(m,l);A(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(l),containerWidth:Math.floor(m)+ 2*settings.horizontal_padding,contentHeight:Math.floor(f),contentWidth:Math.floor(k),resized:resized}}function A(t,x){t=parseFloat(t);x=parseFloat(x);$pp_details=$pp_pic_holder.find(".pp_details");$pp_details.width(t);detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom"));$pp_details=$pp_details.clone().addClass(settings.theme).width(t).appendTo(b("body")).css({position:"absolute",top:-1E4});detailsHeight+=$pp_details.height();detailsHeight=34>=detailsHeight? 36:detailsHeight;$pp_details.remove();$pp_title=$pp_pic_holder.find(".ppt");$pp_title.width(t);titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom"));$pp_title=$pp_title.clone().appendTo(b("body")).css({position:"absolute",top:-1E4});titleHeight+=$pp_title.height();$pp_title.remove();f=x+detailsHeight;k=t;l=f+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height();m=t}function F(t){return t.match(/youtube\.com\/watch/i)|| t.match(/youtu\.be/i)?"youtube":t.match(/vimeo\.com/i)?"vimeo":t.match(/\b.mov\b/i)?"quicktime":t.match(/\b.swf\b/i)?"flash":t.match(/\biframe=true\b/i)?"iframe":t.match(/\bajax=true\b/i)?"ajax":t.match(/\bcustom=true\b/i)?"custom":"#"==t.substr(0,1)?"inline":"image"}function r(){doresize&&"undefined"!=typeof $pp_pic_holder&&(scroll_pos=v(),contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width(),projectedTop=u/2+scroll_pos.scrollTop-contentHeight/2,0>projectedTop&&(projectedTop= 0),contentHeight>u||$pp_pic_holder.css({top:projectedTop,left:C/2+scroll_pos.scrollLeft-contentwidth/2}))}function v(){if(self.pageYOffset)return{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset};if(document.documentElement&&document.documentElement.scrollTop)return{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft};if(document.body)return{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}}function E(t){settings.social_tools&&(facebook_like_link= settings.social_tools.replace("{location_href}",encodeURIComponent(location.href)));settings.markup=settings.markup.replace("{pp_social}","");b("body").append(settings.markup);$pp_pic_holder=b(".pp_pic_holder");$ppt=b(".ppt");$pp_overlay=b("div.pp_overlay");if(isSet&&settings.overlay_gallery){currentGalleryPage=0;toInject="";for(t=0;t";toInject=settings.gallery_markup.replace(/{gallery}/g,toInject);$pp_pic_holder.find("#pp_full_res").after(toInject);$pp_gallery=b(".pp_pic_holder .pp_gallery");$pp_gallery_li=$pp_gallery.find("li");$pp_gallery.find(".pp_arrow_next").click(function(){b.prettyPhoto.changeGalleryPage("next");b.prettyPhoto.stopSlideshow();return!1});$pp_gallery.find(".pp_arrow_previous").click(function(){b.prettyPhoto.changeGalleryPage("previous");b.prettyPhoto.stopSlideshow(); return!1});$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()});itemWidth=57;$pp_gallery_li.each(function(x){b(this).find("a").click(function(){b.prettyPhoto.changePage(x);b.prettyPhoto.stopSlideshow();return!1})})}settings.slideshow&&($pp_pic_holder.find(".pp_nav").prepend('Play'),$pp_pic_holder.find(".pp_nav .pp_play").click(function(){b.prettyPhoto.startSlideshow(); return!1}));$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme);$pp_overlay.css({opacity:0,height:b(document).height(),width:b(window).width()}).bind("click",function(){settings.modal||b.prettyPhoto.close()});b("a.pp_close").bind("click",function(){b.prettyPhoto.close();return!1});settings.allow_expand&&b("a.pp_expand").bind("click",function(x){b(this).hasClass("pp_expand")?(b(this).removeClass("pp_expand").addClass("pp_contract"),doresize=!1):(b(this).removeClass("pp_contract").addClass("pp_expand"), doresize=!0);B(function(){b.prettyPhoto.open()});return!1});$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){b.prettyPhoto.changePage("previous");b.prettyPhoto.stopSlideshow();return!1});$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){b.prettyPhoto.changePage("next");b.prettyPhoto.stopSlideshow();return!1});r()}n=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5E3,autoplay_slideshow:!1,opacity:.8, show_title:!0,allow_resize:!0,allow_expand:!0,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,deeplinking:!0,overlay_gallery:!0,overlay_gallery_max:30,keyboard_shortcuts:!0,changepicturecallback:function(){},callback:function(){},ie6_fallback:!0,markup:'
\t\t\t\t\t\t
\u00a0
\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\tExpand \t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\tnext \t\t\t\t\t\t\t\t\t\t\tprevious \t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\tPrevious \t\t\t\t\t\t\t\t\t\t\t\t

0/0

\t\t\t\t\t\t\t\t\t\t\t\tNext \t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t

\t\t\t\t\t\t\t\t\t\t\t
{pp_social}
\t\t\t\t\t\t\t\t\t\t\tClose \t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t\t
', gallery_markup:'',image_markup:'',flash_markup:'', quicktime_markup:'',iframe_markup:'', inline_markup:'
{content}
',custom_markup:"",social_tools:'