<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" lang="en-GB">
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" lang="en-GB">
<![endif]-->
<!--[if !(IE 7) & !(IE 8)]><!-->
<html lang="en-GB">
<!--<![endif]-->
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width">
	<title>Hurricane Harvey and How it has Badly Affected St Thomas&#8217; Episcopal School Pipe Band | piping press</title>
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<link rel="pingback" href="https://pipingpress.com/xmlrpc.php">
	<!--[if lt IE 9]>
	<script src="https://pipingpress.com/wp-content/themes/twentyfourteen/js/html5.js"></script>
	<![endif]-->
	<link rel='dns-prefetch' href='//s0.wp.com' />
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
<link rel='dns-prefetch' href='//s.w.org' />
<link href='https://fonts.gstatic.com' crossorigin rel='preconnect' />
<link rel="alternate" type="application/rss+xml" title="piping press &raquo; Feed" href="https://pipingpress.com/feed/" />
<link rel="alternate" type="application/rss+xml" title="piping press &raquo; Comments Feed" href="https://pipingpress.com/comments/feed/" />
<link rel="alternate" type="application/rss+xml" title="piping press &raquo; Hurricane Harvey and How it has Badly Affected St Thomas&#8217; Episcopal School Pipe Band Comments Feed" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/feed/" />
		<script type="text/javascript">
			window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.4\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.4\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/pipingpress.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.9.4"}};
			!function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55357,56692,8205,9792,65039],[55357,56692,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<style type="text/css">
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
</style>
<link rel='stylesheet' id='twentyfourteen-jetpack-css'  href='https://pipingpress.com/wp-content/plugins/jetpack/modules/theme-tools/compat/twentyfourteen.css?ver=5.8' type='text/css' media='all' />
<link rel='stylesheet' id='jqueri_ui-css'  href='https://pipingpress.com/wp-content/plugins/player/js/jquery-ui.css?ver=4.9.4' type='text/css' media='all' />
<link rel='stylesheet' id='wds_frontend-css'  href='https://pipingpress.com/wp-content/plugins/slider-wd/css/wds_frontend.css?ver=1.0.5' type='text/css' media='all' />
<link rel='stylesheet' id='wds_effects-css'  href='https://pipingpress.com/wp-content/plugins/slider-wd/css/wds_effects.css?ver=1.0.5' type='text/css' media='all' />
<link rel='stylesheet' id='wds_font-awesome-css'  href='https://pipingpress.com/wp-content/plugins/slider-wd/css/font-awesome-4.0.1/font-awesome.css?ver=4.0.1' type='text/css' media='all' />
<link rel='stylesheet' id='parent-style-css'  href='https://pipingpress.com/wp-content/themes/twentyfourteen/style.css?ver=4.9.4' type='text/css' media='all' />
<link rel='stylesheet' id='twentyfourteen-lato-css'  href='https://fonts.googleapis.com/css?family=Lato%3A300%2C400%2C700%2C900%2C300italic%2C400italic%2C700italic&#038;subset=latin%2Clatin-ext' type='text/css' media='all' />
<link rel='stylesheet' id='genericons-css'  href='https://pipingpress.com/wp-content/plugins/jetpack/_inc/genericons/genericons/genericons.css?ver=3.1' type='text/css' media='all' />
<link rel='stylesheet' id='twentyfourteen-style-css'  href='https://pipingpress.com/wp-content/themes/pipingpress/style.css?ver=4.9.4' type='text/css' media='all' />
<!--[if lt IE 9]>
<link rel='stylesheet' id='twentyfourteen-ie-css'  href='https://pipingpress.com/wp-content/themes/twentyfourteen/css/ie.css?ver=20131205' type='text/css' media='all' />
<![endif]-->
<link rel='stylesheet' id='social-logos-css'  href='https://pipingpress.com/wp-content/plugins/jetpack/_inc/social-logos/social-logos.min.css?ver=1' type='text/css' media='all' />
<link rel='stylesheet' id='jetpack_css-css'  href='https://pipingpress.com/wp-content/plugins/jetpack/css/jetpack.css?ver=5.8' type='text/css' media='all' />
<script type='text/javascript' src='https://pipingpress.com/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script>
<script type='text/javascript' src='https://pipingpress.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
<script type='text/javascript' src='https://pipingpress.com/wp-content/plugins/player/js/jquery-ui.min.js?ver=4.9.4'></script>
<script type='text/javascript' src='https://pipingpress.com/wp-content/plugins/player/js/jquery.transit.js?ver=4.9.4'></script>
<script type='text/javascript' src='https://pipingpress.com/wp-content/plugins/player/js/flash_detect.js?ver=4.9.4'></script>
<script type='text/javascript' src='https://pipingpress.com/wp-content/plugins/slider-wd/js/jquery.mobile.js?ver=1.0.5'></script>
<link rel='https://api.w.org/' href='https://pipingpress.com/wp-json/' />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://pipingpress.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://pipingpress.com/wp-includes/wlwmanifest.xml" /> 
<link rel='prev' title='Some Personal Reflections on the 2017 Ceol Mor Competitions at Oban and Inverness' href='https://pipingpress.com/2017/09/07/some-personal-reflections-on-the-2017-ceol-mor-competitions-at-oban-and-inverness/' />
<link rel='next' title='Pitlochry Games Results' href='https://pipingpress.com/2017/09/09/pitlochry-games-results/' />
<meta name="generator" content="WordPress 4.9.4" />
<link rel="canonical" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/" />
<link rel='shortlink' href='https://wp.me/p5aVJ9-4y0' />
<link rel="alternate" type="application/json+oembed" href="https://pipingpress.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fpipingpress.com%2F2017%2F09%2F08%2Fhurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band%2F" />
<link rel="alternate" type="text/xml+oembed" href="https://pipingpress.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fpipingpress.com%2F2017%2F09%2F08%2Fhurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band%2F&#038;format=xml" />

<link rel='dns-prefetch' href='//i0.wp.com'/>
<link rel='dns-prefetch' href='//i1.wp.com'/>
<link rel='dns-prefetch' href='//i2.wp.com'/>
<style type='text/css'>img#wpstats{display:none}</style>	<style type="text/css" id="twentyfourteen-header-css">
			.site-title a {
			color: #ff0202;
		}
		</style>
	
<!-- Jetpack Open Graph Tags -->
<meta property="og:type" content="article" />
<meta property="og:title" content="Hurricane Harvey and How it has Badly Affected St Thomas&#8217; Episcopal School Pipe Band" />
<meta property="og:url" content="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/" />
<meta property="og:description" content="Hurricane Harvey has wreaked devastation across much of Texas, not least in Houston, home of the well-known St Thomas&#8217; Episcopal School Pipe Band. Piping Press Editor Robert Wallace contacted…" />
<meta property="article:published_time" content="2017-09-08T06:45:16+00:00" />
<meta property="article:modified_time" content="2017-09-08T06:45:16+00:00" />
<meta property="og:site_name" content="piping press" />
<meta property="og:image" content="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/feat-im-5.jpg?fit=1116%2C614&amp;ssl=1" />
<meta property="og:image:width" content="1116" />
<meta property="og:image:height" content="614" />
<meta property="og:locale" content="en_GB" />
<meta name="twitter:site" content="@RawmacRobert" />
<meta name="twitter:text:title" content="Hurricane Harvey and How it has Badly Affected St Thomas&#8217; Episcopal School Pipe Band" />
<meta name="twitter:image" content="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/feat-im-5.jpg?fit=1116%2C614&#038;ssl=1&#038;w=640" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@RawmacRobert" />
			<style type="text/css" id="wp-custom-css">
				

/*
	CSS Migrated from Jetpack:
*/

			</style>
		</head>

<body class="post-template-default single single-post postid-17484 single-format-standard group-blog masthead-fixed footer-widgets singular">
<div id="page" class="hfeed site">
	
	<header id="masthead" class="site-header" role="banner">
		<div class="header-main">
						<div id="header-sidebar" class="header-sidebar widget-area" role="complementary">
				<div id="wdslider-5" class="headwidget wdslider">    <style>
      #wds_container1_0 #wds_container2_0 {
        text-align: center;
        margin: 0px ;
        visibility: hidden;
              }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_image_wrap_0 * {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_image_wrap_0 {
        background-color: rgba(0, 0, 0, 0.00);
        border-width: 0px;
        border-style: none;
        border-color: #000000;
        border-radius: ;
        border-collapse: collapse;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100%;
        max-width: 800px;
        box-shadow: ;
        overflow: hidden;
        z-index: 0;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_image_0 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        vertical-align: middle;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
        width: 100%;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_image_container_0 {
        display: table;
        position: absolute;
        text-align: center;
        none: 0px;
        vertical-align: middle;
        width: 100%;
        height: inherit;
      }

            @media only screen and (min-width: 0px) and (max-width: 320px) {
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_thumbnails_0 {
          height: 16px;
          width: 224px;
        }
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_0 {
          font-size: 12px;
          width: 12px;
          margin: 2px;
          height: 12px;
        }
        #wds_container1_0 #wds_container2_0 .wds_pp_btn_cont {  
          font-size: 20px;
          height: 20px;
          width: 20px;
        }
        #wds_container1_0 #wds_container2_0 .wds_left_btn_cont,
        #wds_container1_0 #wds_container2_0 .wds_right_btn_cont {
          height: 20px;
          font-size: 20px;
          width: 20px;
        }
      }
              @media only screen and (min-width: 321px) and (max-width: 480px) {
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_thumbnails_0 {
          height: 22px;
          width: 308px;
        }
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_0 {
          font-size: 18px;
          width: 18px;
          margin: 2px;
          height: 18px;
        }
        #wds_container1_0 #wds_container2_0 .wds_pp_btn_cont {  
          font-size: 30px;
          height: 30px;
          width: 30px;
        }
        #wds_container1_0 #wds_container2_0 .wds_left_btn_cont,
        #wds_container1_0 #wds_container2_0 .wds_right_btn_cont {
          height: 30px;
          font-size: 30px;
          width: 30px;
        }
      }
              @media only screen and (min-width: 481px) and (max-width: 640px) {
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_thumbnails_0 {
          height: 26px;
          width: 364px;
        }
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_0 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_0 #wds_container2_0 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_0 #wds_container2_0 .wds_left_btn_cont,
        #wds_container1_0 #wds_container2_0 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 641px) and (max-width: 768px) {
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_thumbnails_0 {
          height: 26px;
          width: 364px;
        }
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_0 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_0 #wds_container2_0 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_0 #wds_container2_0 .wds_left_btn_cont,
        #wds_container1_0 #wds_container2_0 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 769px) and (max-width: 800px) {
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_thumbnails_0 {
          height: 26px;
          width: 364px;
        }
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_0 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_0 #wds_container2_0 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_0 #wds_container2_0 .wds_left_btn_cont,
        #wds_container1_0 #wds_container2_0 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 801px) and (max-width: 1024px) {
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_thumbnails_0 {
          height: 26px;
          width: 364px;
        }
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_0 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_0 #wds_container2_0 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_0 #wds_container2_0 .wds_left_btn_cont,
        #wds_container1_0 #wds_container2_0 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1025px) and (max-width: 1366px) {
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_thumbnails_0 {
          height: 26px;
          width: 364px;
        }
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_0 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_0 #wds_container2_0 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_0 #wds_container2_0 .wds_left_btn_cont,
        #wds_container1_0 #wds_container2_0 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1367px) and (max-width: 1824px) {
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_thumbnails_0 {
          height: 26px;
          width: 364px;
        }
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_0 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_0 #wds_container2_0 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_0 #wds_container2_0 .wds_left_btn_cont,
        #wds_container1_0 #wds_container2_0 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1825px) and (max-width: 3000px) {
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_thumbnails_0 {
          height: 26px;
          width: 364px;
        }
        #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_0 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_0 #wds_container2_0 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_0 #wds_container2_0 .wds_left_btn_cont,
        #wds_container1_0 #wds_container2_0 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
        
      #wds_container1_0 #wds_container2_0 .wds_slideshow_video_0 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        width: 100%;
        vertical-align: middle;
        display: inline-block;
      }
      #wds_container1_0 #wds_container2_0 #wds_slideshow_play_pause_0 {  
        color: #000000;
        cursor: pointer;
        position: relative;
        z-index: 13;
        width: inherit;
        height: inherit;
        font-size: inherit;
      }
      #wds_container1_0 #wds_container2_0 #wds_slideshow_play_pause_0:hover {  
        color: #000000;
        cursor: pointer;
      }
      #wds_container1_0 #wds_container2_0 .wds_left-ico_0,
      #wds_container1_0 #wds_container2_0 .wds_right-ico_0 {
        background-color: rgba(255, 255, 255, 0.00);
        border-radius: 20px;
        border: 0px none #FFFFFF;
        border-collapse: separate;
        color: #000000;
        left: 0;
        top: 0;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        cursor: pointer;
        line-height: 0;
        width: inherit;
        height: inherit;
        font-size: inherit;
        position: absolute;
      }
      #wds_container1_0 #wds_container2_0 .wds_left-ico_0 {
        left: -4000px;
      }
      #wds_container1_0 #wds_container2_0 .wds_right-ico_0 {
        left: 4000px;
      }
            #wds_container1_0 #wds_container2_0 #wds_slideshow_play_pause_0 {
        opacity: 0;
        filter: "Alpha(opacity=0)";
      }
      #wds_container1_0 #wds_container2_0 .wds_left-ico_0:hover,
      #wds_container1_0 #wds_container2_0 .wds_right-ico_0:hover {
        color: #000000;
        cursor: pointer;
      }

      /* Filmstrip*/
      #wds_container1_0 #wds_container2_0 .wds_slideshow_filmstrip_container_0 {
        background-color: #000000 !important;
        display: /*table*/block;
        height: 0px;
        position: absolute;
        width: 100%;
        z-index: 10105;
        none: 0;
        overflow: hidden;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_filmstrip_0 {
        overflow: hidden;
        position: absolute;
        width: 100%;
        width: 100%;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_filmstrip_thumbnails_0 {
        height: inherit;
        left: 0px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        width: 0px;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_filmstrip_thumbnail_0 {
        position: relative;
        background: none;
        cursor: pointer;
        float: left;
        height: inherit;
        margin: 0 0px;
        width: 0px;
        overflow: hidden;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_thumb_active_0 div {
        opacity: 1;
        filter: Alpha(opacity=100);
        border: 0px none #FFFFFF;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_thumb_deactive_0 {
        opacity: 0.50;
        filter: Alpha(opacity=50);
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_filmstrip_thumbnail_img_0 {
        display: block;
        opacity: 1;
        filter: Alpha(opacity=100);
        padding: 0 !important;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 0px;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_filmstrip_left_0,
      #wds_container1_0 #wds_container2_0 .wds_slideshow_filmstrip_right_0 {
        background-color: rgba(0, 0, 0, 0.5);
        cursor: pointer;
        display: table;
        vertical-align: middle;
        width: 20px;
        z-index: 10000;
        position: absolute;
        height: inherit; 
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_filmstrip_left_0 {
        left: 0;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_filmstrip_right_0 {
        right: 0;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_filmstrip_left_0 i,
      #wds_container1_0 #wds_container2_0 .wds_slideshow_filmstrip_right_0 i {
        color: #FFFFFF;
        display: table-cell;
        font-size: 20px;
        vertical-align: middle;
      }

      #wds_container1_0 #wds_container2_0 .wds_none_selectable_0 {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }
      #wds_container1_0 #wds_container2_0 .wds_slide_container_0 {
        display: table-cell;
        margin: 0 auto;
        position: absolute;
        vertical-align: middle;
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
      #wds_container1_0 #wds_container2_0 .wds_slide_bg_0 {
        margin: 0 auto;
        width: inherit;
        height: inherit;
      }
      #wds_container1_0 #wds_container2_0 .wds_slider_0 {
        height: inherit;
        width: inherit;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_image_spun_0 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=100);
        opacity: 1;
        position: absolute;
        vertical-align: middle;
        z-index: 2;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_image_second_spun_0 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=0);
        opacity: 0;
        position: absolute;
        vertical-align: middle;
        z-index: 1;
      }
      #wds_container1_0 #wds_container2_0 .wds_grid_0 {
        display: none;
        height: 100%;
        overflow: hidden;
        position: absolute;
        width: 100%;
      }
      #wds_container1_0 #wds_container2_0 .wds_gridlet_0 {
        opacity: 1;
        filter: Alpha(opacity=100);
        position: absolute;
      }

      /* Dots.*/
      #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_container_0 {
        display: block;
        overflow: hidden;
        position: absolute;
        width: 100%;
        none: 0px;
        /*z-index: 17;*/
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_thumbnails_0 {
        left: 0px;
        font-size: 0;
        margin: 0 auto;
        position: relative;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_0 {
        display: inline-block;
        position: relative;
        color: #FFFFFF;
        cursor: pointer;
        z-index: 17;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_active_0 {
        color: #FFFFFF;
        opacity: 1;
        filter: Alpha(opacity=100);
              }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_dots_deactive_0 {
              }

      /* Timer.*/
      #wds_container1_0 #wds_container2_0 .wds_line_timer_container_0 {
        display: block;
        position: absolute;
        overflow: hidden;
        none: 0;
        z-index: 16;
        width: 100%;
        height: 5px;
      }
      #wds_container1_0 #wds_container2_0 .wds_line_timer_0 {
        z-index: 17;
        width: 0;
        height: 5px;
        background: #FFFFFF;
        opacity: 0.50;
        filter: alpha(opacity=50);
      }

      #wds_container1_0 #wds_container2_0 .wds_slideshow_image_spun1_0 {
        display: table; 
        width: inherit; 
        height: inherit;
      }
      #wds_container1_0 #wds_container2_0 .wds_slideshow_image_spun2_0 {
        display: table-cell; 
        vertical-align: middle; 
        text-align: center;
        overflow: hidden;
      }
          </style>
    <script>
      var wds_data_0 = [];
      var wds_event_stack_0 = [];
      var wds_clear_layers_effects_in_0 = [];
      var wds_clear_layers_effects_out_0 = [];
      var wds_clear_layers_effects_out_before_change_0 = [];
      if (1) {
        var wds_duration_for_change_0 = 500;
        var wds_duration_for_clear_effects_0 = 530;
      }
      else {
        var wds_duration_for_change_0 = 0;
        var wds_duration_for_clear_effects_0 = 0;
      }
              wds_clear_layers_effects_in_0["0"] = [];
        wds_clear_layers_effects_out_0["0"] = [];
        wds_clear_layers_effects_out_before_change_0["0"] = [];
        wds_data_0["0"] = [];
        wds_data_0["0"]["id"] = "341";
        wds_data_0["0"]["image_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/donald macleod mem.jpg";
        wds_data_0["0"]["thumb_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/thumb/donald macleod mem.jpg";
        wds_data_0["0"]["is_video"] = "";
        wds_data_0["0"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["1"] = [];
        wds_clear_layers_effects_out_0["1"] = [];
        wds_clear_layers_effects_out_before_change_0["1"] = [];
        wds_data_0["1"] = [];
        wds_data_0["1"]["id"] = "343";
        wds_data_0["1"]["image_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/PS Conference banner \'18.jpg";
        wds_data_0["1"]["thumb_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/thumb/PS Conference banner \'18.jpg";
        wds_data_0["1"]["is_video"] = "";
        wds_data_0["1"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["2"] = [];
        wds_clear_layers_effects_out_0["2"] = [];
        wds_clear_layers_effects_out_before_change_0["2"] = [];
        wds_data_0["2"] = [];
        wds_data_0["2"]["id"] = "216";
        wds_data_0["2"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/ron mackenna banner.jpg";
        wds_data_0["2"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/ron mackenna banner.jpg";
        wds_data_0["2"]["is_video"] = "";
        wds_data_0["2"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["3"] = [];
        wds_clear_layers_effects_out_0["3"] = [];
        wds_clear_layers_effects_out_before_change_0["3"] = [];
        wds_data_0["3"] = [];
        wds_data_0["3"]["id"] = "297";
        wds_data_0["3"]["image_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/shasta comp. banner 2017 (1).jpg";
        wds_data_0["3"]["thumb_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/thumb/shasta comp. banner 2017 (1).jpg";
        wds_data_0["3"]["is_video"] = "";
        wds_data_0["3"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["4"] = [];
        wds_clear_layers_effects_out_0["4"] = [];
        wds_clear_layers_effects_out_before_change_0["4"] = [];
        wds_data_0["4"] = [];
        wds_data_0["4"]["id"] = "296";
        wds_data_0["4"]["image_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/burley bagpipes.jpg";
        wds_data_0["4"]["thumb_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/thumb/burley bagpipes.jpg";
        wds_data_0["4"]["is_video"] = "";
        wds_data_0["4"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["5"] = [];
        wds_clear_layers_effects_out_0["5"] = [];
        wds_clear_layers_effects_out_before_change_0["5"] = [];
        wds_data_0["5"] = [];
        wds_data_0["5"]["id"] = "62";
        wds_data_0["5"]["image_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/d naill - ian k (2).jpg";
        wds_data_0["5"]["thumb_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/thumb/d naill - ian k (2).jpg";
        wds_data_0["5"]["is_video"] = "";
        wds_data_0["5"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["6"] = [];
        wds_clear_layers_effects_out_0["6"] = [];
        wds_clear_layers_effects_out_before_change_0["6"] = [];
        wds_data_0["6"] = [];
        wds_data_0["6"]["id"] = "54";
        wds_data_0["6"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/MacRaeBannerPipingPress - Aug \'16.jpg";
        wds_data_0["6"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/MacRaeBannerPipingPress - Aug \'16.jpg";
        wds_data_0["6"]["is_video"] = "";
        wds_data_0["6"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["7"] = [];
        wds_clear_layers_effects_out_0["7"] = [];
        wds_clear_layers_effects_out_before_change_0["7"] = [];
        wds_data_0["7"] = [];
        wds_data_0["7"]["id"] = "50";
        wds_data_0["7"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/RGH_DeluxeCase_800x300_pipingpress.jpg";
        wds_data_0["7"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/RGH_DeluxeCase_800x300_pipingpress.jpg";
        wds_data_0["7"]["is_video"] = "";
        wds_data_0["7"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["8"] = [];
        wds_clear_layers_effects_out_0["8"] = [];
        wds_clear_layers_effects_out_before_change_0["8"] = [];
        wds_data_0["8"] = [];
        wds_data_0["8"]["id"] = "51";
        wds_data_0["8"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/shepherd banner \'16.jpg";
        wds_data_0["8"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/shepherd banner \'16.jpg";
        wds_data_0["8"]["is_video"] = "";
        wds_data_0["8"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["9"] = [];
        wds_clear_layers_effects_out_0["9"] = [];
        wds_clear_layers_effects_out_before_change_0["9"] = [];
        wds_data_0["9"] = [];
        wds_data_0["9"]["id"] = "52";
        wds_data_0["9"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/Wallace-ad-for-banner-(new).gif";
        wds_data_0["9"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/Wallace-ad-for-banner-(new).gif";
        wds_data_0["9"]["is_video"] = "";
        wds_data_0["9"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["10"] = [];
        wds_clear_layers_effects_out_0["10"] = [];
        wds_clear_layers_effects_out_before_change_0["10"] = [];
        wds_data_0["10"] = [];
        wds_data_0["10"]["id"] = "134";
        wds_data_0["10"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/bannatyne.png";
        wds_data_0["10"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/bannatyne.png";
        wds_data_0["10"]["is_video"] = "";
        wds_data_0["10"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["11"] = [];
        wds_clear_layers_effects_out_0["11"] = [];
        wds_clear_layers_effects_out_before_change_0["11"] = [];
        wds_data_0["11"] = [];
        wds_data_0["11"]["id"] = "128";
        wds_data_0["11"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/ayrshire_pipingpress \'17.png";
        wds_data_0["11"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/ayrshire_pipingpress \'17.png";
        wds_data_0["11"]["is_video"] = "";
        wds_data_0["11"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["12"] = [];
        wds_clear_layers_effects_out_0["12"] = [];
        wds_clear_layers_effects_out_before_change_0["12"] = [];
        wds_data_0["12"] = [];
        wds_data_0["12"]["id"] = "143";
        wds_data_0["12"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//kilberry ad.jpg";
        wds_data_0["12"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/kilberry ad.jpg";
        wds_data_0["12"]["is_video"] = "";
        wds_data_0["12"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_0["13"] = [];
        wds_clear_layers_effects_out_0["13"] = [];
        wds_clear_layers_effects_out_before_change_0["13"] = [];
        wds_data_0["13"] = [];
        wds_data_0["13"]["id"] = "185";
        wds_data_0["13"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/G1 new banner copy.png";
        wds_data_0["13"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/G1 new banner copy.png";
        wds_data_0["13"]["is_video"] = "";
        wds_data_0["13"]["slide_layers_count"] = 0;
            
    </script>
    <div id="wds_container1_0">
      <div class="wds_loading">
        <img src="https://pipingpress.com/wp-content/plugins/slider-wd/images/ajax_loader.png" class="wds_loading_img" style="float: none; width:50px;" />
      </div>
      <div id="wds_container2_0">
        <div class="wds_slideshow_image_wrap_0">
                    <div id="wds_slideshow_image_container_0" class="wds_slideshow_image_container_0">
                        <div class="wds_slide_container_0">
              <div class="wds_slide_bg_0">
                <div class="wds_slider_0">
                                  <span class="wds_slideshow_image_spun_0" id="image_id_0_341">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('mailto:pipeymorrison@hotmail.com', '_blank')"
                             style="cursor: pointer;background-image: url('https://pipingpress.com/wp-content/uploads/slider-wd/donald macleod mem.jpg');">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_343">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('http://www.piobaireachd.co.uk', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_216">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('http://www.ronmackenna.co.uk', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_297">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('https://sites.google.com/site/shastapipingsociety/', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_296">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('https://www.burleybagpipes.com/great-highland-bagpipes', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_62">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('http://www.naill-bagpipes.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_54">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('http://www.macraebagpipes.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_50">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('http://rghardie.com/products/view/cases', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_51">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('http://www.shepherd-bagpipes.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_52">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('http://www.wallacebagpipes.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_134">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('http://bannatyne.ltd.uk', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_128">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('http://ayrshirebagpipes.co.uk/index.php?route=product/category&amp;path=57', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_143">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('https://www.kilberrybagpipes.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_0" id="image_id_0_185">
                    <span class="wds_slideshow_image_spun1_0">
                      <span class="wds_slideshow_image_spun2_0">
                                                <div img_id="wds_slideshow_image_second_0"
                             class="wds_slideshow_image_0"
                             onclick="window.open('http://www.g1reeds.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                  <input type="hidden" id="wds_current_image_key_0" value="0" />
                </div>
              </div>
            </div>
                      </div>
                  </div>
      </div>
    </div>

    <script>
      var wds_trans_in_progress_0 = false;
      var wds_transition_duration_0 = 800;
      var wds_playInterval_0;
      var progress = 0;
      /* Stop autoplay.*/
      window.clearInterval(wds_playInterval_0);
      var wds_current_key_0 = '0';
      var wds_current_filmstrip_pos_0 = 0;
      /* Set filmstrip initial position.*/
      function wds_set_filmstrip_pos_0(filmStripWidth) {
        var selectedImagePos = -wds_current_filmstrip_pos_0 - (jQuery(".wds_slideshow_filmstrip_thumbnail_0").width() + 0) / 2;
        var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".wds_slideshow_filmstrip_thumbnails_0").width(), selectedImagePos + filmStripWidth / 2));
        jQuery(".wds_slideshow_filmstrip_thumbnails_0").animate({
            left: imagesContainerLeft
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_0(); }
          });
      }
      function wds_move_filmstrip_0() {
        var image_left = jQuery(".wds_slideshow_thumb_active_0").position().left;
        var image_right = jQuery(".wds_slideshow_thumb_active_0").position().left + jQuery(".wds_slideshow_thumb_active_0").outerWidth(true);
        var wds_filmstrip_width = jQuery(".wds_slideshow_filmstrip_0").outerWidth(true);
        var wds_filmstrip_thumbnails_width = jQuery(".wds_slideshow_filmstrip_thumbnails_0").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_filmstrip_thumbnails_0").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_filmstrip_thumbnails_0").position().left) + wds_filmstrip_width;
        if (wds_filmstrip_width > wds_filmstrip_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_0").animate({
            left: -image_left
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_0(); }
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_0").animate({
            left: -(image_right - wds_filmstrip_width)
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_0(); }
          });
        }
      }
      function wds_move_dots_0() {
        var image_left = jQuery(".wds_slideshow_dots_active_0").position().left;
        var image_right = jQuery(".wds_slideshow_dots_active_0").position().left + jQuery(".wds_slideshow_dots_active_0").outerWidth(true);
        var wds_dots_width = jQuery(".wds_slideshow_dots_container_0").outerWidth(true);
        var wds_dots_thumbnails_width = jQuery(".wds_slideshow_dots_thumbnails_0").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_dots_thumbnails_0").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_dots_thumbnails_0").position().left) + wds_dots_width;
        if (wds_dots_width > wds_dots_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_dots_thumbnails_0").animate({
            left: -image_left
          }, {
            duration: 500
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_dots_thumbnails_0").animate({
            left: -(image_right - wds_dots_width)
          }, {
            duration: 500
          });
        }
      }
      /* Show/hide filmstrip arrows.*/
      function wds_filmstrip_arrows_0() {
        if (jQuery(".wds_slideshow_filmstrip_thumbnails_0").width() < jQuery(".wds_slideshow_filmstrip_0").width()) {
          jQuery(".wds_slideshow_filmstrip_left_0").hide();
          jQuery(".wds_slideshow_filmstrip_right_0").hide();
        }
        else {
          jQuery(".wds_slideshow_filmstrip_left_0").show();
          jQuery(".wds_slideshow_filmstrip_right_0").show();
        }
      }
      function wds_testBrowser_cssTransitions_0() {
        return wds_testDom_0('Transition');
      }
      function wds_testBrowser_cssTransforms3d_0() {
        return wds_testDom_0('Perspective');
      }
      function wds_testDom_0(prop) {
        /* Browser vendor CSS prefixes.*/
        var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-'];
        /* Browser vendor DOM prefixes.*/
        var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml'];
        var i = domPrefixes.length;
        while (i--) {
          if (typeof document.body.style[domPrefixes[i] + prop] !== 'undefined') {
            return true;
          }
        }
        return false;
      }
      function wds_set_dots_class_0() {
        jQuery(".wds_slideshow_dots_0").removeClass("wds_slideshow_dots_active_0").addClass("wds_slideshow_dots_deactive_0");
        jQuery("#wds_dots_" + wds_current_key_0 + "_0").removeClass("wds_slideshow_dots_deactive_0").addClass("wds_slideshow_dots_active_0");
                jQuery(".wds_slideshow_dots_0").removeClass("fa-square").addClass("fa-square-o");
        jQuery("#wds_dots_" + wds_current_key_0 + "_0").removeClass("fa-square-o").addClass("fa-square");
              }
      function wds_grid3d_0(cols, rows, tz, wrx, wry, nty, ntx, nry, nrx, current_image_class, next_image_class, direction, random, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_0()) {
          return wds_fallback_0(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_0 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_0").removeClass("wds_slideshow_thumb_active_0").addClass("wds_slideshow_thumb_deactive_0");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_0 + "_0").removeClass("wds_slideshow_thumb_deactive_0").addClass("wds_slideshow_thumb_active_0");
        wds_set_dots_class_0();

        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_0) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, src2, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;

          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_0" />').css({
            width : "100%",
            height : "100%",
            transform : 'translateZ(' + tz + 'px)',
            backfaceVisibility : 'hidden',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_0" />').css({
            width : jQuery(".wds_slideshow_image_spun_0").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_0").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_0").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_0").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_0").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          var grid_div2 = jQuery('<div class="wds_gridlet_0" />').css({
            width : "100%",
            height : "100%",
            backfaceVisibility : 'hidden',
            transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_0" />').css({
            width : jQuery(".wds_slideshow_image_spun_0").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_0").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src2,
            backgroundSize: jQuery(".wds_slideshow_image_0").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_0").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_0").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          return jQuery('<div class="wds_gridlet_0" />').css({
            width : width,
            height : height,
            top : top,
            left : left,
            transition : 'all ' + wds_transition_duration_0 + 'ms ' + easing + ' ' + delay + 'ms',
            transform: 'translateZ(-' + tz + 'px)',
            transformStyle: 'preserve-3d',
          }).append(grid_div).append(grid_div2);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        var next_img = jQuery(next_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_0').css('perspective', 1000);
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_0");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),
            imgSrcNext = next_img.css('background-image'),
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_0").width() - cur_img.width()) / 2;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_0").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgSrcNext, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);        
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 1);
        /* After transition.*/
         var cccount = 0;
         var obshicccount = cols * rows;
         grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
         function wds_after_trans_each() {
           if (++cccount == obshicccount) {
             wds_after_trans();
           }
         }
         function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_0 = false;
          if (typeof wds_event_stack_0 !== 'undefined') {
            if (wds_event_stack_0.length > 0) {
              key = wds_event_stack_0[0].split("-");
              wds_event_stack_0.shift();
              wds_change_image_0(key[0], key[1], wds_data_0, true);
            }
          }
        }
      }
      function wds_slic3DH_0(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_0(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_0(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_slic3DV_0(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_0(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_0(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      
      function wds_slicR3DH_0(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_0(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_0(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_slicR3DV_0(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_0(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_0(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_parallelSlide_0(ni_left, ni_top, tx, ty, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_0()) {
          return wds_fallback_0(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_0()) {
          return wds_fallback3d_0(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_0 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_0").removeClass("wds_slideshow_thumb_active_0").addClass("wds_slideshow_thumb_deactive_0");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_0 + "_0").removeClass("wds_slideshow_thumb_deactive_0").addClass("wds_slideshow_thumb_active_0");
        wds_set_dots_class_0();
        jQuery(current_image_class).css({
          position : 'absolute',
          top : '0px',
          left : '0px',
          position : 'absolute',
        });
        jQuery(next_image_class).css({
          position : 'absolute',
          top : ni_top + 'px',
          left : ni_left + 'px',
          'opacity' : 1, 
          filter : 'Alpha(opacity=100)',
          position : 'absolute',
        });
        jQuery(".wds_slider_0").css({
          position : 'relative',
          'backface-visibility': 'hidden'
        });
        jQuery(".wds_slide_bg_0").css({
          overflow : 'hidden',
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery('.wds_slider_0').css({
            transition : 'all ' + wds_transition_duration_0 + 'ms ' + easing,
            transform : 'translateX(' + tx + 'px) translateY(' + ty + 'px)',
          });
        }, 1);
        /* After transition.*/
        jQuery('.wds_slider_0').one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_0").removeAttr('style');
          jQuery(".wds_slide_bg_0").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_0 = false;
          if (typeof wds_event_stack_0 !== 'undefined') {
            if (wds_event_stack_0.length > 0) {
              key = wds_event_stack_0[0].split("-");
              wds_event_stack_0.shift();
              wds_change_image_0(key[0], key[1], wds_data_0, true);
            }
          }
        }
      }
      function wds_parallelSlideH_0(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_0(width, 0, -width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_0(-width, 0, width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_parallelSlideV_0(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_0(0, height, 0, -height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_0(0, -height, 0, height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_cube_0(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_0()) {
          return wds_fallback_0(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_0()) {
          return wds_fallback3d_0(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_0 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_0").removeClass("wds_slideshow_thumb_active_0").addClass("wds_slideshow_thumb_deactive_0");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_0 + "_0").removeClass("wds_slideshow_thumb_deactive_0").addClass("wds_slideshow_thumb_active_0");
        wds_set_dots_class_0();

        jQuery(".wds_slide_container_0").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_spun2_0").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_wrap_0").css('overflow', 'visible');
        var filmstrip_position = 'none';
        if (filmstrip_position == 'none') {
          jQuery(".wds_slideshow_image_0").css('border-radius', jQuery(".wds_slideshow_image_wrap_0").css('border-radius'));
        }
        else {
          jQuery(".wds_slideshow_image_0").css('border-radius', '');
          jQuery(".wds_slideshow_filmstrip_container_0").css('border-radius', '');
          if (filmstrip_position == 'top') {
            jQuery(".wds_slideshow_image_0").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_image_0").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_0").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_0").css('border-bottom-right-radius', 0);
          }
          else if (filmstrip_position == 'bottom') {
            jQuery(".wds_slideshow_image_0").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_0").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_0").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_0").css('border-top-right-radius', 0);
          }
          else if (filmstrip_position == 'right') {
            jQuery(".wds_slideshow_image_0").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_image_0").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_0").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_0").css('border-top-left-radius', 0);
          }
          else if (filmstrip_position == 'left') {
            jQuery(".wds_slideshow_image_0").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_0").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_0").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_0").css('border-top-right-radius', 0);
          }
        }

        jQuery(".wds_slide_bg_0").css('perspective', 1000);
        jQuery(current_image_class).css({
          transform : 'translateZ(' + tz + 'px)',
          backfaceVisibility : 'hidden'
        });
        jQuery(next_image_class).css({
          opacity : 1,
          filter: 'Alpha(opacity=100)',
          zIndex: 2,
          backfaceVisibility : 'hidden',
          transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)'
        });
        jQuery(".wds_slider_0").css({
          transform: 'translateZ(-' + tz + 'px)',
          transformStyle: 'preserve-3d',
          position: 'absolute'
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery(".wds_slider_0").css({
            transition: 'all ' + wds_transition_duration_0 + 'ms ' + easing,
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 20);
        /* After transition.*/
        jQuery(".wds_slider_0").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_0").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_0 = false;
          if (typeof wds_event_stack_0 !== 'undefined') {
            if (wds_event_stack_0.length > 0) {
              key = wds_event_stack_0[0].split("-");
              wds_event_stack_0.shift();
              wds_change_image_0(key[0], key[1], wds_data_0, true);
            }
          }
          jQuery(".wds_slide_container_0").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_spun2_0").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_wrap_0").css('overflow', 'hidden');
        }
      }
      function wds_cubeR_0(current_image_class, next_image_class, direction) {
        var random_direction = Math.floor(Math.random() * 2);
        var dimension = random_direction ? jQuery(current_image_class).height() / 2 : jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
         if (random_direction) {
           wds_cube_0(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_0(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
        else if (direction == 'left') {
         if (random_direction) {
           wds_cube_0(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_0(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
      }
      function wds_cubeH_0(current_image_class, next_image_class, direction) {
        /* Set to half of image width.*/
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_cube_0(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_0(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_cubeV_0(current_image_class, next_image_class, direction) {
        /* Set to half of image height.*/
        var dimension = jQuery(current_image_class).height() / 2;
        /* If next slide.*/
        if (direction == 'right') {
          wds_cube_0(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_0(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      /* For browsers that does not support transitions.*/
      function wds_fallback_0(current_image_class, next_image_class, direction) {
        wds_fade_0(current_image_class, next_image_class, direction);
      }
      /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
      function wds_fallback3d_0(current_image_class, next_image_class, direction) {
        wds_sliceV_0(current_image_class, next_image_class, direction);
      }
      function wds_none_0(current_image_class, next_image_class, direction) {
        jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
        jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_0").removeClass("wds_slideshow_thumb_active_0").addClass("wds_slideshow_thumb_deactive_0");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_0 + "_0").removeClass("wds_slideshow_thumb_deactive_0").addClass("wds_slideshow_thumb_active_0");
        wds_set_dots_class_0();
      }
      function wds_fade_0(current_image_class, next_image_class, direction) {
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_0").removeClass("wds_slideshow_thumb_active_0").addClass("wds_slideshow_thumb_deactive_0");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_0 + "_0").removeClass("wds_slideshow_thumb_deactive_0").addClass("wds_slideshow_thumb_active_0");
        wds_set_dots_class_0();
        if (wds_testBrowser_cssTransitions_0()) {
          jQuery(next_image_class).css('transition', 'opacity ' + wds_transition_duration_0 + 'ms linear');
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        }
        else {
          jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, wds_transition_duration_0);
          jQuery(next_image_class).animate({
              'opacity' : 1,
              'z-index': 2
            }, {
              duration: wds_transition_duration_0,
              complete: function () {  }
            });
          /* For IE.*/
          jQuery(current_image_class).fadeTo(wds_transition_duration_0, 0);
          jQuery(next_image_class).fadeTo(wds_transition_duration_0, 1);
        }
      }
      function wds_grid_0(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction, random, roy, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_0()) {
          return wds_fallback_0(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_0 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_0").removeClass("wds_slideshow_thumb_active_0").addClass("wds_slideshow_thumb_deactive_0");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_0 + "_0").removeClass("wds_slideshow_thumb_deactive_0").addClass("wds_slideshow_thumb_active_0");
        wds_set_dots_class_0();
        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_0) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;
          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_0" />').css({
            width : imgWidth,/*"100%"*/
            height : jQuery(".wds_slideshow_image_spun_0").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_0").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_0").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_0").css("background-color"),*/
            backgroundRepeat: 'no-repeat'
          });
          return jQuery('<div class="wds_gridlet_0" />').css({
            width : width,/*"100%"*/
            height : height,
            top : top,
            left : left,
            backgroundSize : imgWidth + 'px ' + imgHeight + 'px',
            backgroundPosition : img_left + 'px ' + img_top + 'px',
            backgroundRepeat: 'no-repeat',
            overflow: "hidden",
            transition : 'all ' + wds_transition_duration_0 + 'ms ' + easing + ' ' + delay + 'ms',
            transform : 'none'
          }).append(grid_div);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_0');
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_0");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),/*.replace('/thumb', ''),*/
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_0").width() - cur_img.width()) / 2;
        /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/
        tx = tx === 'auto' ? contWidth : tx;
        tx = tx === 'min-auto' ? - contWidth : tx;
        ty = ty === 'auto' ? contHeight : ty;
        ty = ty === 'min-auto' ? - contHeight : ty;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_0").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);
        /* Add identifying classes to corner gridlets (useful if applying border radius).*/
        grid.children().first().addClass('rs-top-left');
        grid.children().last().addClass('rs-bottom-right');
        grid.children().eq(rows - 1).addClass('rs-bottom-left');
        grid.children().eq(- rows).addClass('rs-top-right');
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            opacity: op,
            transform: 'rotate('+ ro +'deg) rotateY('+ roy +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')'
          });
        }, 1);
        jQuery(next_image_class).css('opacity', 1);
        /* After transition.*/
        var cccount = 0;
        var obshicccount = cols * rows;
        grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
        function wds_after_trans_each() {
         if (++cccount == obshicccount) {
           wds_after_trans();
         }
        }
        function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_0 = false;
          if (typeof wds_event_stack_0 !== 'undefined') {
            if (wds_event_stack_0.length > 0) {
              key = wds_event_stack_0[0].split("-");
              wds_event_stack_0.shift();
              wds_change_image_0(key[0], key[1], wds_data_0, true);
            }
          }
        }
      }
      function wds_sliceH_0(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_0(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_sliceV_0(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'min-auto';
        }
        else if (direction == 'left') {
          var translateY = 'auto';
        }
        wds_grid_0(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_slideV_0(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'auto';
        }
        else if (direction == 'left') {
          var translateY = 'min-auto';
        }
        wds_grid_0(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_slideH_0(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_0(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_scaleOut_0(current_image_class, next_image_class, direction) {
        wds_grid_0(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_scaleIn_0(current_image_class, next_image_class, direction) {
        wds_grid_0(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScale_0(current_image_class, next_image_class, direction) {
        wds_grid_0(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScaleR_0(current_image_class, next_image_class, direction) {
        wds_grid_0(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 1, 0, 'ease-in-out');
      }
      function wds_blindR_0(current_image_class, next_image_class, direction) {
        wds_grid_0(8, 1, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_tilesR_0(current_image_class, next_image_class, direction) {
        wds_grid_0(8, 8, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_kaleidoscope_0(current_image_class, next_image_class, direction) {
        wds_grid_0(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_fan_0(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var rotate = 45;
          var translateX = 100;
        }
        else if (direction == 'left') {
          var rotate = -45;
          var translateX = -100;
        }
        wds_grid_0(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindV_0(current_image_class, next_image_class, direction) {
        wds_grid_0(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindH_0(current_image_class, next_image_class, direction) {
        wds_grid_0(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_random_0(current_image_class, next_image_class, direction) {
        var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV', 'parallelSlideH', 'parallelSlideV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_0"](current_image_class, next_image_class, direction);
      }
      function wds_3Drandom_0(current_image_class, next_image_class, direction) {
        var anims = ['cubeH', 'cubeV', 'cubeR', 'slic3DH', 'slic3DV', 'slicR3DH', 'slicR3DV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_0"](current_image_class, next_image_class, direction);
      }
      function iterator_0() {
        var iterator = 1;
        if (1) {
          iterator = Math.floor((wds_data_0.length - 1) * Math.random() + 1);
        }
        return iterator;
      }
      function wds_change_image_0(current_key, key, wds_data_0, from_effect) {
                /* Pause videos.*/
        jQuery("#wds_slideshow_image_container_0").find("iframe").each(function () {
          jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
          jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*");
        });
        if (wds_data_0[key]) {
          if (jQuery('.wds_ctrl_btn_0').hasClass('fa-pause') || ('1')) {
            play_0();
          }
          if (!from_effect) {
            /* Change image key.*/
            jQuery("#wds_current_image_key_0").val(key);
            if (current_key == '-1') { /* Filmstrip.*/
              current_key = jQuery(".wds_slideshow_thumb_active_0").children("img").attr("image_key");
            }
            else if (current_key == '-2') { /* Dots.*/
              current_key = jQuery(".wds_slideshow_dots_active_0").attr("image_key");
            }
          }
          if (wds_trans_in_progress_0) {
            wds_event_stack_0.push(current_key + '-' + key);
            return;
          }
          var direction = 'right';
          if (wds_current_key_0 > key) {
            var direction = 'left';
          }
          else if (wds_current_key_0 == key) {
            return;
          }
          /* Set active thumbnail position.*/
          wds_current_filmstrip_pos_0 = key * (jQuery(".wds_slideshow_filmstrip_thumbnail_0").width() + 2 + 2 * 0);
          wds_current_key_0 = key;
          /* Change image id.*/
          jQuery("div[img_id=wds_slideshow_image_0]").attr('image_id', wds_data_0[key]["id"]);
          var current_image_class = "#image_id_0_" + wds_data_0[current_key]["id"];
          var next_image_class = "#image_id_0_" + wds_data_0[key]["id"];
                    if (!wds_data_0[key]["is_video"]) {
            jQuery(next_image_class).find("div").css("background-image", 'url("' + wds_data_0[key]["image_url"] + '")');
          }
                    var current_slide_layers_count = wds_data_0[current_key]["slide_layers_count"];
          var next_slide_layers_count = wds_data_0[key]["slide_layers_count"];

          /* Clear layers before image change.*/
          function set_layer_effect_out_before_change(m) {
            wds_clear_layers_effects_out_before_change_0[current_key][m] = setTimeout(function() {
              if (wds_data_0[current_key]["layer_" + m + "_type"] != 'social') {
                jQuery('#wds_0_slide' + wds_data_0[current_key]["id"] + '_layer' + wds_data_0[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_0_slide' + wds_data_0[current_key]["id"] + '_layer' + wds_data_0[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_0[current_key]["layer_" + m + "_layer_effect_out"] + ' animated');
              }
              else {
                jQuery('#wds_0_slide' + wds_data_0[current_key]["id"] + '_layer' + wds_data_0[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_0_slide' + wds_data_0[current_key]["id"] + '_layer' + wds_data_0[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_0[current_key]["layer_" + m + "_layer_effect_out"] + ' fa fa-' + wds_data_0[current_key]["layer_" + m + "_social_button"] + ' animated');
              }
            }, 10);
          }
          if (1) {
            for (var m = 0; m < current_slide_layers_count; m++) {
              if (jQuery('#wds_0_slide' + wds_data_0[current_key]["id"] + '_layer' + wds_data_0[current_key]["layer_" + m + "_id"]).css('opacity') != 0) {
                set_layer_effect_out_before_change(m);
              }
            }
          }
          /* Loop through current slide layers for clear effects.*/
          setTimeout(function() {
            for (var k = 0; k < current_slide_layers_count; k++) {
              clearTimeout(wds_clear_layers_effects_in_0[current_key][k]);
              clearTimeout(wds_clear_layers_effects_out_0[current_key][k]);
              if (wds_data_0[current_key]["layer_" + k + "_type"] != 'social') {
                jQuery('#wds_0_slide' + wds_data_0[current_key]["id"] + '_layer' + wds_data_0[current_key]["layer_" + k + "_id"]).removeClass().addClass('wds_layer_'+ wds_data_0[current_key]["layer_" + k + "_id"]);
              }
              else {
                jQuery('#wds_0_slide' + wds_data_0[current_key]["id"] + '_layer' + wds_data_0[current_key]["layer_" + k + "_id"]).removeClass().addClass('fa fa-' + wds_data_0[current_key]["layer_" + k + "_social_button"] + ' wds_layer_' + wds_data_0[current_key]["layer_" + k + "_id"]);
              }
            }
          }, wds_duration_for_clear_effects_0);
          /* Effects out part.*/
          function set_layer_effect_out(i) {
            wds_clear_layers_effects_out_0[key][i] = setTimeout(function() {
              if (wds_data_0[key]["layer_" + i + "_layer_effect_out"] != 'none') {
                if (wds_data_0[key]["layer_" + i + "_type"] != 'social') {	
                  jQuery('#wds_0_slide' + wds_data_0[key]["id"] + '_layer' + wds_data_0[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_0[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_0[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
                  jQuery('#wds_0_slide' + wds_data_0[key]["id"] + '_layer' + wds_data_0[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_0[key]["layer_" + i + "_layer_effect_out"] + ' animated');
                }
                else {
                  jQuery('#wds_0_slide' + wds_data_0[key]["id"] + '_layer' + wds_data_0[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_0[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_0[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
                  jQuery('#wds_0_slide' + wds_data_0[key]["id"] + '_layer' + wds_data_0[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_0[key]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_0[key]["layer_" + i + "_social_button"] + ' animated');
                }
              }
            }, wds_data_0[key]["layer_" + i + "_end"]);
          }
          /* Effects in part.*/
          function set_layer_effect_in(j) {
            wds_clear_layers_effects_in_0[key][j] = setTimeout(function() {
              if (wds_data_0[key]["layer_" + j + "_type"] != 'social') {
                jQuery('#wds_0_slide' + wds_data_0[key]["id"] + '_layer' + wds_data_0[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_0[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_0[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
                jQuery('#wds_0_slide' + wds_data_0[key]["id"] + '_layer' + wds_data_0[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_0[key]["layer_" + j + "_layer_effect_in"] + ' animated');
              }
              else {
                jQuery('#wds_0_slide' + wds_data_0[key]["id"] + '_layer' + wds_data_0[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_0[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_0[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');
                jQuery('#wds_0_slide' + wds_data_0[key]["id"] + '_layer' + wds_data_0[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_0[key]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_0[key]["layer_" + j + "_social_button"] + ' animated');
              }
            }, wds_data_0[key]["layer_" + j + "_start"]);
          }
          /* Loop through layers in.*/
          for (var j = 0; j < next_slide_layers_count; j++) {
            set_layer_effect_in(j);
          }
          /* Loop through layers out if pause button not pressed.*/
          if (jQuery(".wds_ctrl_btn_0").hasClass("fa-pause")) {
            for (var i = 0; i < next_slide_layers_count; i++) {
              set_layer_effect_out(i);
            }
          }
          setTimeout(function() {
            if (typeof jQuery().finish !== 'undefined') {
              if (jQuery.isFunction(jQuery().finish)) {
                jQuery(".wds_line_timer_0").finish();
              }
            }
            jQuery(".wds_line_timer_0").css({width: 0});
            wds_random_0(current_image_class, next_image_class, direction);
            if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_0').hasClass('fa-pause'))) {
              if (!jQuery(".wds_ctrl_btn_0").hasClass("fa-play")) {
                jQuery(".wds_line_timer_0").animate({
                  width: "100%"
                }, {
                  duration: 4000,
                  specialEasing: {width: "linear"}
                });
              }
              
            }
                        if (wds_data_0[key]["is_video"]) {
              jQuery("#wds_slideshow_play_pause_0").css({display: 'none'});
            }
            else {
              jQuery("#wds_slideshow_play_pause_0").css({display: ''});
            }
          }, wds_duration_for_change_0);
        }
      }
      function wds_resize_slider_0() {
        var slide_orig_width = 800;
        var slide_orig_height = 300;
        var slide_width = jQuery("#wds_container1_0").parent().width();
        if (slide_orig_width <= slide_width) {
          slide_width = slide_orig_width;
        }
        var ratio = slide_width / slide_orig_width;

                var slide_height = slide_orig_height;
        if (slide_orig_width > slide_width) {
          slide_height = Math.floor(slide_width * slide_orig_height / slide_orig_width);
        }

        jQuery(".wds_slideshow_image_wrap_0, #wds_container2_0").height(slide_height + 0);
        jQuery(".wds_slideshow_image_container_0").height(slide_height);
        jQuery(".wds_slideshow_image_0").height(slide_height);
        jQuery(".wds_slideshow_video_0").height(slide_height);
        jQuery(".wds_slideshow_image_0 img").each(function () {
          var wds_theImage = new Image();
          wds_theImage.src = jQuery(this).attr("src");
          var wds_origWidth = wds_theImage.width;
          var wds_origHeight = wds_theImage.height;
          var wds_imageWidth = jQuery(this).attr("wds_image_width");
          var wds_imageHeight = jQuery(this).attr("wds_image_height");
          var wds_width = wds_imageWidth;
          if (wds_origWidth <= wds_imageWidth) {
            wds_width = wds_origWidth;
          }
          var wds_height = wds_imageHeight;
          if (wds_origHeight <= wds_imageHeight) {
            wds_height = wds_origHeight;
          }
          jQuery(this).css({
            maxWidth: (parseFloat(wds_imageWidth) * ratio) + "px",
            maxHeight: (parseFloat(wds_imageHeight) * ratio) + "px",
          });
          if (jQuery(this).attr("wds_scale") != "on") {
            jQuery(this).css({
              width: (parseFloat(wds_imageWidth) * ratio) + "px",
              height: (parseFloat(wds_imageHeight) * ratio) + "px"
            });
          }
          else if (wds_origWidth <= wds_imageWidth || wds_origHeight <= wds_imageHeight) {
            if (wds_origWidth / wds_imageWidth > wds_origHeight / wds_imageHeight) {
              jQuery(this).css({
                width: (parseFloat(wds_imageWidth) * ratio) + "px"
              });
            }
            else {
              jQuery(this).css({
                height: (parseFloat(wds_imageHeight) * ratio) + "px"
              });
            }
          }

        });
        jQuery(".wds_slideshow_image_0 span, .wds_slideshow_image_0 i").each(function () {
          jQuery(this).css({
            fontSize: (parseFloat(jQuery(this).attr("wds_fsize")) * ratio) + "px",
            lineHeight: "1.25em",
            paddingLeft: (parseFloat(jQuery(this).attr("wds_fpaddingl")) * ratio) + "px",
            paddingRight: (parseFloat(jQuery(this).attr("wds_fpaddingr")) * ratio) + "px",
            paddingTop: (parseFloat(jQuery(this).attr("wds_fpaddingt")) * ratio) + "px",
            paddingBottom: (parseFloat(jQuery(this).attr("wds_fpaddingb")) * ratio) + "px",
          })
        });
      }
      function wds_genBgPos_0() {
        var bgSizeArray = [0, 70];
        var bgSize = bgSizeArray[Math.floor(Math.random() * bgSizeArray.length)];
        
        var bgPosXArray = ['left', 'right'];
        var bgPosYArray = ['top', 'bottom'];
        var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];
        var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];
        jQuery(".wds_slideshow_image_0").css({
          backgroundPosition: bgPosX + " " + bgPosY,
          backgroundSize : (100 + bgSize) + "%",
          webkitAnimation: '4s linear 0s alternate infinite wdszoom' + bgSize,
          mozAnimation: '4s linear 0s alternate infinite wdszoom' + bgSize,
          animation: '4s linear 0s alternate infinite wdszoom' + bgSize
        });
      }
      jQuery(window).resize(function () {
        wds_resize_slider_0();
      });
      function wds_full_width_0() {
        var left = jQuery("#wds_container1_0").offset().left;
        jQuery(".wds_slideshow_image_wrap_0").css({
          left: (-left + 0) + "px",
          width: (jQuery(window).width() - 0) + "px",
          maxWidth: "none"
        });
      }
      jQuery(window).load(function () {
                jQuery(".wds_slideshow_image_0 span, .wds_slideshow_image_0 i").each(function () {
          jQuery(this).attr("wds_fpaddingl", jQuery(this).css("paddingLeft"));
          jQuery(this).attr("wds_fpaddingr", jQuery(this).css("paddingRight"));
          jQuery(this).attr("wds_fpaddingt", jQuery(this).css("paddingTop"));
          jQuery(this).attr("wds_fpaddingb", jQuery(this).css("paddingBottom"));
        });
        if (4000) {
          jQuery("#wds_container2_0").hover(function () {
            jQuery(".wds_right-ico_0").animate({left: 0}, 700, "swing");
            jQuery(".wds_left-ico_0").animate({left: 0}, 700, "swing");
            jQuery("#wds_slideshow_play_pause_0").animate({opacity: 1, filter: "Alpha(opacity=100)"}, 700, "swing");
          }, function () {
            jQuery(".wds_right-ico_0").css({left: 4000});
            jQuery(".wds_left-ico_0").css({left: -4000});
            jQuery("#wds_slideshow_play_pause_0").css({opacity: 0, filter: "Alpha(opacity=0)"});
          });
        }

        wds_resize_slider_0();
        jQuery("#wds_container2_0").css({visibility: 'visible'});
        jQuery(".wds_loading").hide();

      	          /* Disable right click.*/
          jQuery('div[id^="wds_container"]').bind("contextmenu", function () {
            return false;
          });
                  if (typeof jQuery().swiperight !== 'undefined') {
          if (jQuery.isFunction(jQuery().swiperight)) {
            jQuery('#wds_container1_0').swiperight(function () {
              wds_change_image_0(parseInt(jQuery('#wds_current_image_key_0').val()), (parseInt(jQuery('#wds_current_image_key_0').val()) - iterator_0()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_0').val()) - iterator_0()) % wds_data_0.length : wds_data_0.length - 1, wds_data_0);
              return false;
            });
          }
        }
        if (typeof jQuery().swipeleft !== 'undefined') {
          if (jQuery.isFunction(jQuery().swipeleft)) {
            jQuery('#wds_container1_0').swipeleft(function () {
              wds_change_image_0(parseInt(jQuery('#wds_current_image_key_0').val()), (parseInt(jQuery('#wds_current_image_key_0').val()) + iterator_0()) % wds_data_0.length, wds_data_0);
              return false;
            });
          }
        }

        var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
        var wds_click = isMobile ? 'touchend' : 'click';

        var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */
        jQuery('.wds_slideshow_filmstrip_0').bind(mousewheelevt, function(e) {
          var evt = window.event || e; /* Equalize event object.*/
          evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/
          var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/
          if (delta > 0) {
            /* Scroll up.*/
            jQuery(".wds_slideshow_filmstrip_left_0").trigger("click");
          }
          else {
            /* Scroll down.*/
            jQuery(".wds_slideshow_filmstrip_right_0").trigger("click");
          }
          return false;
        });
        jQuery(".wds_slideshow_filmstrip_right_0").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_0" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_0").position().left >= -(jQuery(".wds_slideshow_filmstrip_thumbnails_0").width() - jQuery(".wds_slideshow_filmstrip_0").width())) {
            jQuery(".wds_slideshow_filmstrip_left_0").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_0").position().left < -(jQuery(".wds_slideshow_filmstrip_thumbnails_0").width() - jQuery(".wds_slideshow_filmstrip_0").width() - 0)) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_0").animate({left: -(jQuery(".wds_slideshow_filmstrip_thumbnails_0").width() - jQuery(".wds_slideshow_filmstrip_0").width())}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_0").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_0").position().left - 0)}, 500, 'linear');
            }
          }
          /* Disable right arrow.*/
          window.setTimeout(function() {
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_0").position().left == -(jQuery(".wds_slideshow_filmstrip_thumbnails_0").width() - jQuery(".wds_slideshow_filmstrip_0").width())) {
              jQuery(".wds_slideshow_filmstrip_right_0").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        jQuery(".wds_slideshow_filmstrip_left_0").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_0" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_0").position().left < 0) {
            jQuery(".wds_slideshow_filmstrip_right_0").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_0").position().left > - 0) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_0").animate({left: 0}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_0").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_0").position().left + 0)}, 500, 'linear');
            }
          }
          /* Disable left arrow.*/
          window.setTimeout(function(){
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_0").position().left == 0) {
              jQuery(".wds_slideshow_filmstrip_left_0").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        /* Set filmstrip initial position.*/
        wds_set_filmstrip_pos_0(jQuery(".wds_slideshow_filmstrip_0").width());
        /* Play/pause.*/
        jQuery("#wds_slideshow_play_pause_0").on(wds_click, function () {
          if (jQuery(".wds_ctrl_btn_0").hasClass("fa-play")) {
            /* Play.*/
            jQuery(".wds_slideshow_play_pause_0").attr("title", "Pause");
            jQuery(".wds_slideshow_play_pause_0").attr("class", "wds_ctrl_btn_0 wds_slideshow_play_pause_0 fa fa-pause");
            play_0();
            if (0) {
              document.getElementById("wds_audio_0").play();
            }
          }
          else {
            /* Pause.*/
            /* Pause layers out effect.*/
            var current_key = jQuery('#wds_current_image_key_0').val();
            var current_slide_layers_count = wds_data_0[current_key]["slide_layers_count"];
            setTimeout(function() {
              for (var k = 0; k < current_slide_layers_count; k++) {
                clearTimeout(wds_clear_layers_effects_out_0[current_key][k]);
              }
            }, wds_duration_for_clear_effects_0);

            window.clearInterval(wds_playInterval_0);
            jQuery(".wds_slideshow_play_pause_0").attr("title", "Play");
            jQuery(".wds_slideshow_play_pause_0").attr("class", "wds_ctrl_btn_0 wds_slideshow_play_pause_0 fa fa-play");
            if (0) {
              document.getElementById("wds_audio_0").pause();
            }
            if (typeof jQuery().stop !== 'undefined') {
              if (jQuery.isFunction(jQuery().stop)) {
                jQuery(".wds_line_timer_0").stop();
              }
            }
          }
        });
        if (1) {
          play_0();
          jQuery(".wds_slideshow_play_pause_0").attr("title", "Pause");
          jQuery(".wds_slideshow_play_pause_0").attr("class", "wds_ctrl_btn_0 wds_slideshow_play_pause_0 fa fa-pause");
          if (0) {
            document.getElementById("wds_audio_0").play();
          }
        }
                function wds_preload_0(preload_key) {
          jQuery("<img/>")
            .load(function() { if (preload_key < wds_data_0.length - 1) wds_preload_0(preload_key + 1); })
            .error(function() { if (preload_key < wds_data_0.length - 1) wds_preload_0(preload_key + 1); })
            .attr("src", (!wds_data_0[preload_key]["is_video"] ? wds_data_0[preload_key]["image_url"] : ""));
        }
        wds_preload_0(0);
                var first_slide_layers_count_0 = wds_data_0[0]["slide_layers_count"];
        if (first_slide_layers_count_0) {
          /* Loop through layers in.*/
          for (var j = 0; j < first_slide_layers_count_0; j++) {
            set_layer_effect_in_onload_0(j);
          }
          /* Loop through layers out.*/
          for (var i = 0; i < first_slide_layers_count_0; i++) {
            set_layer_effect_out_onload_0(i);
          }
        }
      });
	    function wds_stop_animation_0() {
        window.clearInterval(wds_playInterval_0);
        /* Pause layers out effect.*/
        var current_key = jQuery('#wds_current_image_key_0').val();
        var current_slide_layers_count = wds_data_0[current_key]["slide_layers_count"];			
        setTimeout(function() {
          for (var k = 0; k < current_slide_layers_count; k++) {
            clearTimeout(wds_clear_layers_effects_out_0[current_key][k]);
          }
        }, wds_duration_for_clear_effects_0);
        if (0) {
          document.getElementById("wds_audio_0").pause();
        }
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_0").stop();
          }
        }
			}
      function wds_play_animation_0() {
        if (jQuery(".wds_ctrl_btn_0").hasClass("fa-play")) {
          return;
        }
		    play_0();
        if (0) {
          document.getElementById("wds_audio_0").play();
        }	 
      }
      /* Effects in part.*/		
		  function set_layer_effect_in_onload_0(j) {
		    wds_clear_layers_effects_in_0[0][j] = setTimeout(function(){
          if (wds_data_0[0]["layer_" + j + "_type"] != 'social') {
            jQuery('#wds_0_slide' + wds_data_0[0]["id"] + '_layer' + wds_data_0[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_0[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_0[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
		        jQuery('#wds_0_slide' + wds_data_0[0]["id"] + '_layer' + wds_data_0[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_0[0]["layer_" + j + "_layer_effect_in"] + ' animated');
		      }
          else {
            jQuery('#wds_0_slide' + wds_data_0[0]["id"] + '_layer' + wds_data_0[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_0[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_0[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');	
            jQuery('#wds_0_slide' + wds_data_0[0]["id"] + '_layer' + wds_data_0[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_0[0]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_0[0]["layer_" + j + "_social_button"] + ' animated');
          }
		    }, wds_data_0[0]["layer_" + j + "_start"]);
		  }
      /* Effects out part.*/
		  function set_layer_effect_out_onload_0(i) {
			  wds_clear_layers_effects_out_0[0][i] = setTimeout(function() {
          if (wds_data_0[0]["layer_" + i + "_layer_effect_out"] != 'none') {
            if (wds_data_0[0]["layer_" + i + "_type"] != 'social') {
              jQuery('#wds_0_slide' + wds_data_0[0]["id"] + '_layer' + wds_data_0[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_0[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_0[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
              jQuery('#wds_0_slide' + wds_data_0[0]["id"] + '_layer' + wds_data_0[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_0[0]["layer_" + i + "_layer_effect_out"] + ' animated');
            }
            else {
              jQuery('#wds_0_slide' + wds_data_0[0]["id"] + '_layer' + wds_data_0[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_0[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_0[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
              jQuery('#wds_0_slide' + wds_data_0[0]["id"] + '_layer' + wds_data_0[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_0[0]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_0[0]["layer_" + i + "_social_button"] + ' animated');
            }
          }
		    }, wds_data_0[0]["layer_" + i + "_end"]);
		  }
      function play_0() {
        if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_0').hasClass('fa-pause'))) {
          jQuery(".wds_line_timer_0").animate({
            width: "100%"
          }, {
            duration: 4000,
            specialEasing: {width: "linear"}
          });
        }
        window.clearInterval(wds_playInterval_0);
        /* Play.*/
        wds_playInterval_0 = setInterval(function () {
          var iterator = 1;
          if (1) {
            iterator = Math.floor((wds_data_0.length - 1) * Math.random() + 1);
          }
          wds_change_image_0(parseInt(jQuery('#wds_current_image_key_0').val()), (parseInt(jQuery('#wds_current_image_key_0').val()) + iterator) % wds_data_0.length, wds_data_0)
        }, '4000');
      }
      jQuery(window).focus(function() {
        if (!jQuery(".wds_ctrl_btn_0").hasClass("fa-play")) {
          if (1) {
            play_0();
          }
        }
        var i_0 = 0;
        jQuery(".wds_slider_0").children("span").each(function () {
          if (jQuery(this).css('opacity') == 1) {
            jQuery("#wds_current_image_key_0").val(i_0);
          }
          i_0++;
        });
      });
      jQuery(window).blur(function() {
        wds_event_stack_0 = [];
        window.clearInterval(wds_playInterval_0);
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_0").stop();
          }
        }
      });
    </script>
    </div>			</div><!-- #header-sidebar -->
			
        	<h1 class="site-title"><a href="https://pipingpress.com/" rel="home">piping press</a></h1>

			<div class="search-toggle">
				<a href="#search-container" class="screen-reader-text">Search</a>
			</div>

			<nav id="primary-navigation" class="site-navigation primary-navigation" role="navigation">
				<button class="menu-toggle">Primary Menu</button>
				<a class="screen-reader-text skip-link" href="#content">Skip to content</a>
				<div class="menu-main-menu-container"><ul id="menu-main-menu" class="nav-menu"><li id="menu-item-523" class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-523"><a href="https://pipingpress.com/category/news/">News</a></li>
<li id="menu-item-500" class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-500"><a href="https://pipingpress.com/category/blog/">Blog</a></li>
<li id="menu-item-502" class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-has-children menu-item-502"><a href="https://pipingpress.com/category/pipe-bands/">Pipe Bands</a>
<ul class="sub-menu">
	<li id="menu-item-15159" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15159"><a href="https://pipingpress.com/pipe-band-magazine/">Pipe Band Magazine</a></li>
	<li id="menu-item-15857" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15857"><a href="https://pipingpress.com/reviews-british-pipe-band-championships-2017/">Reviews: British Pipe Band Championships 2017</a></li>
	<li id="menu-item-14321" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14321"><a href="https://pipingpress.com/history-origins-of-the-modern-day-pipe-band/">History: Origins of the Modern Day Pipe Band</a></li>
	<li id="menu-item-13423" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-13423"><a href="https://pipingpress.com/history-of-the-pipe-band-from-1880-to-1939/">History of the Pipe Band from 1880 to 1939</a>
	<ul class="sub-menu">
		<li id="menu-item-13411" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13411"><a href="https://pipingpress.com/modern-history-of-the-pipe-band-movement-from-ww2/">Modern History of the Pipe Band Movement from WW2</a></li>
	</ul>
</li>
	<li id="menu-item-10984" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-10984"><a href="https://pipingpress.com/pp-academy-bands-your-dress-deportment-is-important/">PP Academy: Bands – Your Dress &#038; Deportment is Important</a></li>
	<li id="menu-item-10416" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-10416"><a href="https://pipingpress.com/how-we-won-the-worlds-by-pm-robert-mathieson/">How We Won the Worlds by P/M Robert Mathieson</a>
	<ul class="sub-menu">
		<li id="menu-item-10419" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-10419"><a href="https://pipingpress.com/how-we-won-the-worlds-part-2-by-pm-robert-mathieson/">How We Won the Worlds Part 2 by P/M Robert Mathieson</a>
		<ul class="sub-menu">
			<li id="menu-item-10422" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-10422"><a href="https://pipingpress.com/how-we-won-the-worlds-part-3-by-pm-robert-mathieson/">How We Won the Worlds Part 3 by P/M Robert Mathieson</a></li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-8788" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-8788"><a href="https://pipingpress.com/the-origin-of-the-78th-highlanders-live-in-ireland-concert-1987/">The Origin of the 78th Highlanders &#8216;Live in Ireland&#8217; Concert 1987</a></li>
	<li id="menu-item-8535" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-8535"><a href="https://pipingpress.com/pm-terry-lee-and-ld-reid-maxwell-on-how-to-build-your-bands-ensemble/">P/M Terry Lee and L/d Reid Maxwell on How to Build Your Band&#8217;s Ensemble</a></li>
	<li id="menu-item-7538" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-7538"><a href="https://pipingpress.com/what-do-we-mean-by-pipe-band-ensemble/">What Do We Mean By Pipe Band Ensemble?</a></li>
	<li id="menu-item-512" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-512"><a href="https://pipingpress.com/pipe-band-judging-tips/">Pipe Band Judging Tips</a></li>
	<li id="menu-item-1054" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1054"><a href="https://pipingpress.com/world-championship-winning-pipe-bands/">World Championship Winning Pipe Bands</a></li>
	<li id="menu-item-4161" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4161"><a href="https://pipingpress.com/world-championship-winning-pipe-bands/history-of-the-pipe-band-and-the-worlds/">History of the Pipe Band and the Worlds</a></li>
	<li id="menu-item-1053" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1053"><a href="https://pipingpress.com/the-day-we-won-the-worlds-214bb-ayr-1964/">The Day We Won the Worlds: 214 BB, Ayr, 1964</a></li>
	<li id="menu-item-1559" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1559"><a href="https://pipingpress.com/boghall-bathgates-remarkable-ross-walker/">Boghall &#038; Bathgate&#8217;s Remarkable Ross Walker</a>
	<ul class="sub-menu">
		<li id="menu-item-1671" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1671"><a href="https://pipingpress.com/boghall-bathgates-remarkable-ross-walker/the-remarkable-pm-ross-walker-part-2/">The Remarkable P/M Ross Walker – Part 2</a></li>
	</ul>
</li>
	<li id="menu-item-3519" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3519"><a href="https://pipingpress.com/the-role-of-pipe-band-management/">The Role of Pipe Band Management</a></li>
	<li id="menu-item-3788" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3788"><a href="https://pipingpress.com/the-scottish-pipe-band-association-in-1935/">The Scottish Pipe Band Association in 1935</a></li>
</ul>
</li>
<li id="menu-item-501" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-501"><a href="https://pipingpress.com/category/history/">History</a>
<ul class="sub-menu">
	<li id="menu-item-18440" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-18440"><a href="https://pipingpress.com/history-pipers-piping-and-pipe-music-in-the-seaforth-highlanders-1778-1924-2/">HISTORY: PIPERS, PIPING AND PIPE MUSIC IN THE SEAFORTH HIGHLANDERS 1778 -1924</a></li>
	<li id="menu-item-14546" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14546"><a href="https://pipingpress.com/14538-2/">History: The Scottish Pipers’ Association Junior Competition of 45 Years Ago</a></li>
	<li id="menu-item-14271" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14271"><a href="https://pipingpress.com/lt-col-djs-murray-a-major-figure-in-solo-piping/">Famous Pipers: Lt Col DJS Murray, A Major Figure in Solo Piping</a></li>
	<li id="menu-item-14002" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14002"><a href="https://pipingpress.com/history-thow-bagpipers-of-dundee/">History: Thow Bagpipers of Dundee</a></li>
	<li id="menu-item-13743" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13743"><a href="https://pipingpress.com/history-revisiting-the-northern-meeting-1972/">History: Revisiting the Northern Meeting 1972</a></li>
	<li id="menu-item-13746" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13746"><a href="https://pipingpress.com/famous-pipers-pm-willie-lawrie-ballachulish/">Famous Pipers – P/M Willie Lawrie, Ballachulish</a></li>
	<li id="menu-item-13565" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13565"><a href="https://pipingpress.com/famous-pipers-master-composer-john-mclellan-dunoon/">Famous Pipers: Master Composer John McLellan, Dunoon</a></li>
	<li id="menu-item-13122" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13122"><a href="https://pipingpress.com/the-scottish-piping-society-of-london-a-history-of-the-pre-war-years/">The Scottish Piping Society of London – A History </a></li>
	<li id="menu-item-11455" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-11455"><a href="https://pipingpress.com/history-the-pipe-band-of-the-london-scottish-regiment-part-1/">History: The Pipe Band of the London Scottish Regiment Part 1</a>
	<ul class="sub-menu">
		<li id="menu-item-11530" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-11530"><a href="https://pipingpress.com/history-pipes-drums-of-the-london-scottish-regiment-part-2/">History: Pipes &#038; Drums of the London Scottish Regiment Part 2</a></li>
	</ul>
</li>
	<li id="menu-item-9298" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-9298"><a href="https://pipingpress.com/history-walter-drysdale-lord-alexander-kennedy-and-james-honeyman/">History: Walter Drysdale, Lord Alexander Kennedy and James Honeyman</a></li>
	<li id="menu-item-8577" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-8577"><a href="https://pipingpress.com/famous-pipers-pm-alasdair-gillies-part-1/">Famous Pipers: P/M Alasdair Gillies, Part 1</a>
	<ul class="sub-menu">
		<li id="menu-item-8684" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-8684"><a href="https://pipingpress.com/famous-pipers-pipe-major-alasdair-gillies-part-2/">Famous Pipers: Pipe Major Alasdair Gillies Part 2</a>
		<ul class="sub-menu">
			<li id="menu-item-8836" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-8836"><a href="https://pipingpress.com/famous-pipers-pm-alasdair-gillies-in-his-own-words-part-3/">Famous Pipers: P/M Alasdair Gillies In His Own Words – Part 3</a>
			<ul class="sub-menu">
				<li id="menu-item-8922" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-8922"><a href="https://pipingpress.com/famous-pipers-pm-alasdair-gillies-the-day-i-was-ordered-from-the-northern-meeting-stage/">Famous Pipers: P/M Alasdair Gillies &#8211; &#8216;The Day I Was Ordered from the Northern Meeting Stage&#8217;</a>
				<ul class="sub-menu">
					<li id="menu-item-8981" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-8981"><a href="https://pipingpress.com/famous-pipers-pm-alasdair-gillies-part-5/">Famous Pipers: P/M Alasdair Gillies Part 5</a>
					<ul class="sub-menu">
						<li id="menu-item-9030" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-9030"><a href="https://pipingpress.com/famous-pipers-pipe-major-alasdair-gillies-part-6/">Famous Pipers: Pipe Major Alasdair Gillies Part 6</a></li>
					</ul>
</li>
				</ul>
</li>
			</ul>
</li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-8089" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-8089"><a href="https://pipingpress.com/famous-pipers-john-d-burgess-1934-2005/">Famous Pipers: John D. Burgess 1934 – 2005</a></li>
	<li id="menu-item-7791" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-7791"><a href="https://pipingpress.com/famous-pipers-archibald-campbell-kilberry-1877-1963/">Famous Pipers: Archibald Campbell, Kilberry, 1877-1963</a>
	<ul class="sub-menu">
		<li id="menu-item-7883" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-7883"><a href="https://pipingpress.com/famous-pipers-archibald-campbell-kilberry-part-2/">Famous Pipers: Archibald Campbell, Kilberry, Part 2</a>
		<ul class="sub-menu">
			<li id="menu-item-8046" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-8046"><a href="https://pipingpress.com/famous-pipers-campbell-of-kilberry-another-letter/">Famous Pipers: Archibald Campbell of Kilberry, Another Letter</a></li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-1836" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1836"><a href="https://pipingpress.com/breadalbanes-pipers/">Breadalbane&#8217;s Pipers</a></li>
	<li id="menu-item-696" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-696"><a href="https://pipingpress.com/piobaireachd/double-gold-medallists/">Oban Gold Medallists</a></li>
	<li id="menu-item-782" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-782"><a href="https://pipingpress.com/inverness-gold-medallists/">Inverness Gold Medallists</a></li>
	<li id="menu-item-1311" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1311"><a href="https://pipingpress.com/history-2/">Queen&#8217;s Own History</a></li>
	<li id="menu-item-1691" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1691"><a href="https://pipingpress.com/the-last-happy-day-the-great-highland-bagpipe-in-jfks-camelot/">The Last Happy Day – the Great Highland Bagpipe in JFK’s Camelot</a>
	<ul class="sub-menu">
		<li id="menu-item-1774" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1774"><a href="https://pipingpress.com/the-last-happy-day-the-great-highland-bagpipe-in-jfks-camelot/piping-at-the-funeral-of-president-john-f-kennedy/">Piping at the Funeral of President John F Kennedy</a>
		<ul class="sub-menu">
			<li id="menu-item-1797" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1797"><a href="https://pipingpress.com/the-last-happy-day-the-great-highland-bagpipe-in-jfks-camelot/jfks-funeral-and-the-usaf-pipe-band/">JFK&#8217;s Funeral and the USAF Pipe Band</a></li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-1939" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1939"><a href="https://pipingpress.com/famous-pipers-pm-donald-maclean-of-lewis/">Famous Pipers – P/M Donald Maclean of Lewis</a>
	<ul class="sub-menu">
		<li id="menu-item-3680" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3680"><a href="https://pipingpress.com/famous-pipers-pm-donald-maclean-of-lewis/famous-pipers-pm-donald-maclean-and-family/">Famous Pipers: P/M Donald Maclean and family</a></li>
	</ul>
</li>
	<li id="menu-item-2015" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2015"><a href="https://pipingpress.com/pm-alex-m-maciver-1918-1989-teacher-composer-drama-producer/">P/M Alex M. MacIver 1918 – 1989: Teacher, Composer, Drama Producer</a></li>
	<li id="menu-item-3187" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3187"><a href="https://pipingpress.com/famous-pipers-pm-donald-maclean-of-lewis/famous-pipers-pm-peter-bain/">Famous Pipers – P/M Peter Bain</a></li>
	<li id="menu-item-2856" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2856"><a href="https://pipingpress.com/pm-meldrum-looks-back/">P/M Meldrum Looks Back</a></li>
	<li id="menu-item-3180" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-3180"><a href="https://pipingpress.com/famous-pipers-pm-ian-mclellan-bem-strathclyde-police/">Famous Pipers – P/M Ian McLellan BEM, Strathclyde Police</a>
	<ul class="sub-menu">
		<li id="menu-item-3228" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-3228"><a href="https://pipingpress.com/famous-pipers-pm-ian-mclellan-bem-strathclyde-police/famous-pipers-pm-ian-mclellan-part-2/">Famous Pipers – P/M Ian McLellan Part 2</a>
		<ul class="sub-menu">
			<li id="menu-item-3596" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3596"><a href="https://pipingpress.com/famous-pipers-pm-ian-mclellan-bem-strathclyde-police/famous-pipers-pm-ian-mclellan-early-years/">Famous Pipers: P/M Ian McLellan Early Years</a></li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-3537" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-3537"><a href="https://pipingpress.com/piping-in-the-1930s-part-1/">Piping in the 1930s – Part 1</a>
	<ul class="sub-menu">
		<li id="menu-item-3570" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-3570"><a href="https://pipingpress.com/piping-in-the-1930s-part-1/piping-in-the-1930s-part-2/">Piping in the 1930s – Part 2</a>
		<ul class="sub-menu">
			<li id="menu-item-4596" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4596"><a href="https://pipingpress.com/piping-in-the-1930s-part-4/">Piping in the 1930s – Part 3</a></li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-3708" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3708"><a href="https://pipingpress.com/piping-competition-and-other-events-from-late-18th-century-edinburgh/">Piping Competition and Other Events from late 18th Century Edinburgh</a></li>
	<li id="menu-item-3934" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3934"><a href="https://pipingpress.com/famous-pipers-john-macdonald-inverness-1865-1953/">Famous Pipers: John MacDonald, Inverness, 1865-1953</a></li>
	<li id="menu-item-4273" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-4273"><a href="https://pipingpress.com/the-highland-society-of-london-history-and-its-significant-contribution-to-piping/">The Highland Society of London: Its History and Significant Contribution to Piping</a>
	<ul class="sub-menu">
		<li id="menu-item-4343" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4343"><a href="https://pipingpress.com/the-highland-society-of-london-history-and-its-significant-contribution-to-piping/the-highland-society-of-londons-macgregor-memorial-piobaireachd-competition/">The Highland Society of London&#8217;s MacGregor Memorial Piobaireachd Competition</a></li>
	</ul>
</li>
	<li id="menu-item-4445" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-4445"><a href="https://pipingpress.com/history-social-attitudes-to-piping-in-1891/">History: Social Attitudes to Piping in 1891</a>
	<ul class="sub-menu">
		<li id="menu-item-4476" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4476"><a href="https://pipingpress.com/1891-and-why-the-bagpipe-grew-in-popularity/">1891 and Why the Bagpipe Grew in Popularity in the Victorian Era</a></li>
	</ul>
</li>
	<li id="menu-item-4700" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4700"><a href="https://pipingpress.com/argyllshire-gathering-how-it-all-began/">Argyllshire Gathering – How it All Began</a></li>
	<li id="menu-item-4729" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-4729"><a href="https://pipingpress.com/the-history-of-army-piping-and-regimental-pipe-bands-part-1/">The History of Army Piping and Regimental Pipe Bands – Part 1</a>
	<ul class="sub-menu">
		<li id="menu-item-4743" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-4743"><a href="https://pipingpress.com/the-history-of-army-piping-and-regimental-pipe-bands-part-1/history-of-army-piping-pipe-bands-part-2/">History of Army Piping &#038; Pipe Bands – Part 2</a>
		<ul class="sub-menu">
			<li id="menu-item-4811" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-4811"><a href="https://pipingpress.com/history-of-army-pipe-bands-part-3-the-gordons-and-the-camerons/">History of Army Pipe Bands Part 3 – The Gordons and the Camerons</a>
			<ul class="sub-menu">
				<li id="menu-item-4860" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-4860"><a href="https://pipingpress.com/the-history-of-army-piping-and-regimental-pipe-bands-part-4/">The History of Army Piping and Regimental Pipe Bands – Part 4</a>
				<ul class="sub-menu">
					<li id="menu-item-4918" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-4918"><a href="https://pipingpress.com/history-of-army-regiments-and-their-pipers-part-5/">History of Army Regiments and their Pipers – Part 5</a>
					<ul class="sub-menu">
						<li id="menu-item-4961" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4961"><a href="https://pipingpress.com/history-army-regiments-and-their-pipers-part-6/">History: Army Regiments and their Pipers – Part 6</a></li>
					</ul>
</li>
				</ul>
</li>
			</ul>
</li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-4997" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-4997"><a href="https://pipingpress.com/famous-pipers-donald-macpherson-bem-part-1/">Famous Pipers: Donald MacPherson BEM – Part 1</a>
	<ul class="sub-menu">
		<li id="menu-item-5029" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5029"><a href="https://pipingpress.com/famous-pipers-donald-macpherson-bem-part-1/famous-pipers-donald-macpherson-part-2/">Famous Pipers – Donald MacPherson Part 2</a>
		<ul class="sub-menu">
			<li id="menu-item-5088" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5088"><a href="https://pipingpress.com/famous-pipers-donald-macpherson-part-3/">Famous Pipers – Donald MacPherson Part 3</a>
			<ul class="sub-menu">
				<li id="menu-item-5144" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5144"><a href="https://pipingpress.com/famous-pipers-donald-macpherson-part-4/">Famous Pipers – Donald MacPherson Part 4</a>
				<ul class="sub-menu">
					<li id="menu-item-5187" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5187"><a href="https://pipingpress.com/famous-pipers-donald-macpherson-part-5/">Famous Pipers: Donald MacPherson – Part 5</a></li>
				</ul>
</li>
			</ul>
</li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-5490" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5490"><a href="https://pipingpress.com/logans-a-history-of-one-of-pipings-foremost-music-publishers/">Logan&#8217;s &#8211; A History of One of Piping&#8217;s Foremost Music Publishers</a>
	<ul class="sub-menu">
		<li id="menu-item-9012" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-9012"><a href="https://pipingpress.com/patersons-publications-a-history-of-the-company/">Paterson&#8217;s Publications &#8211; A History of the Company</a></li>
	</ul>
</li>
	<li id="menu-item-5800" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5800"><a href="https://pipingpress.com/famous-pipers-angus-mackay-life-and-times-of-a-true-piping-genius/">Famous Pipers: Angus MacKay, Life and Times of a True Piping Genius</a>
	<ul class="sub-menu">
		<li id="menu-item-5893" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5893"><a href="https://pipingpress.com/famous-pipers-angus-mackay-life-and-times-of-a-true-piping-genius/famous-pipers-angus-mackay-part-2-balmoral-and-the-book/">Famous Pipers: Angus MacKay Part 2 – Balmoral and the Book</a>
		<ul class="sub-menu">
			<li id="menu-item-5990" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5990"><a href="https://pipingpress.com/famous-pipers-angus-mackay-life-and-times-of-a-true-piping-genius/famous-pipers-the-sad-end-of-the-great-genius-angus-mackay/">Famous Pipers: The Sad End of the Great Genius, Angus MacKay</a></li>
		</ul>
</li>
	</ul>
</li>
</ul>
</li>
<li id="menu-item-505" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-505"><a href="https://pipingpress.com/category/results/">Results</a>
<ul class="sub-menu">
	<li id="menu-item-18954" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-18954"><a href="https://pipingpress.com/2018-results/">Results 2018</a></li>
	<li id="menu-item-14190" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14190"><a href="https://pipingpress.com/results-2017/">Results 2017</a></li>
	<li id="menu-item-9061" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-9061"><a href="https://pipingpress.com/results-2016/">Results 2016</a></li>
	<li id="menu-item-3684" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3684"><a href="https://pipingpress.com/results-2015/">Results 2015</a></li>
</ul>
</li>
<li id="menu-item-506" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-506"><a href="https://pipingpress.com/category/piobaireachd/">Piobaireachd</a>
<ul class="sub-menu">
	<li id="menu-item-15211" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15211"><a href="https://pipingpress.com/piobaireachd-society-set-tunes-for-2018/">Piobaireachd Society Set Tunes for 2018</a></li>
	<li id="menu-item-9987" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-9987"><a href="https://pipingpress.com/piobaireachd-society-set-tunes-2017/">Piobaireachd Society Set Tunes 2017</a></li>
	<li id="menu-item-12517" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-12517"><a href="https://pipingpress.com/review-combined-edition-of-side-lights-on-the-kilberry-book/">Review: Combined Edition of Side Lights on the Kilberry Book</a></li>
	<li id="menu-item-11396" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-11396"><a href="https://pipingpress.com/analytical-theorising-should-be-kept-in-its-place/">Analytical Theorising Should Be Kept in Its Place</a></li>
	<li id="menu-item-7479" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-7479"><a href="https://pipingpress.com/some-thoughts-on-ceol-mor-and-its-study/">Some Thoughts on Ceol Mor and Its Study</a></li>
	<li id="menu-item-1067" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1067"><a href="https://pipingpress.com/what-pipers-played-in-1785/">What Pipers Played in 1785</a>
	<ul class="sub-menu">
		<li id="menu-item-1083" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1083"><a href="https://pipingpress.com/what-pipers-played-in-1785/reflections-on-the-prize-pipe-competition-1785/">Reflections on the Prize Pipe Competition 1785</a></li>
	</ul>
</li>
	<li id="menu-item-3203" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-3203"><a href="https://pipingpress.com/what-pipers-played-in-1823/">What Pipers Played in 1823</a>
	<ul class="sub-menu">
		<li id="menu-item-3318" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3318"><a href="https://pipingpress.com/what-pipers-played-in-1823/more-on-the-1823-competition/">More on the 1823 Competition</a></li>
	</ul>
</li>
	<li id="menu-item-3972" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-3972"><a href="https://pipingpress.com/the-1844-prize-pipe-competition/">The 1844 Prize Pipe Competition</a>
	<ul class="sub-menu">
		<li id="menu-item-4028" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4028"><a href="https://pipingpress.com/the-1844-prize-pipe-competition/1844-prize-pipe-competition-the-winners/">1844 Prize Pipe Competition – The Winners</a></li>
	</ul>
</li>
	<li id="menu-item-1056" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1056"><a href="https://pipingpress.com/piobaireachd/double-gold-medallists/">Oban Gold Medallists</a></li>
	<li id="menu-item-1055" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1055"><a href="https://pipingpress.com/inverness-gold-medallists/">Inverness Gold Medallists</a></li>
	<li id="menu-item-514" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-514"><a href="https://pipingpress.com/pm-john-mackenzie-and-an-unpublished-piobaireachd/">P/M John MacKenzie and an Unpublished Piobaireachd</a>
	<ul class="sub-menu">
		<li id="menu-item-621" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-621"><a href="https://pipingpress.com/pm-john-mackenzie-and-an-unpublished-piobaireachd/pm-john-mackenzie-as-i-knew-him/">P/M John MacKenzie As I Knew Him</a></li>
	</ul>
</li>
	<li id="menu-item-551" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-551"><a href="https://pipingpress.com/the-redundant-low-a-a-redundant-argument/">The Redundant Low A:  A Redundant Argument?</a>
	<ul class="sub-menu">
		<li id="menu-item-576" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-576"><a href="https://pipingpress.com/the-redundant-low-a-a-redundant-argument/redundant-low-a-a-response/">Redundant Low A: A Response</a></li>
	</ul>
</li>
	<li id="menu-item-1440" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1440"><a href="https://pipingpress.com/the-search-for-everymans-piobaireachd/">The Search for Everyman&#8217;s Piobaireachd</a>
	<ul class="sub-menu">
		<li id="menu-item-1439" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1439"><a href="https://pipingpress.com/a-response-to-mr-ross/">A Response to Mr Ross</a></li>
	</ul>
</li>
	<li id="menu-item-2141" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-2141"><a href="https://pipingpress.com/james-campbell-as-i-knew-him-conclusion/my-letters-from-james-campbell-part-1/">My Letters From James Campbell – Part 1</a>
	<ul class="sub-menu">
		<li id="menu-item-2433" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-2433"><a href="https://pipingpress.com/james-campbell-as-i-knew-him-conclusion/my-letters-from-james-campbell-part-1/my-letters-from-james-campbell-part-2/">My Letters from James Campbell – Part 2</a>
		<ul class="sub-menu">
			<li id="menu-item-11591" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-11591"><a href="https://pipingpress.com/james-campbell-as-i-knew-him-conclusion/my-letters-from-james-campbell-part-1/james-campbell-letters-part-3/">My Letters from James Campbell – Part 3</a>
			<ul class="sub-menu">
				<li id="menu-item-11598" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-11598"><a href="https://pipingpress.com/thoughts-on-james-campbells-letters-regarding-masters-of-piobaireachd/">Thoughts on James Campbell’s Letters regarding ‘Masters of Piobaireachd’</a>
				<ul class="sub-menu">
					<li id="menu-item-12548" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-12548"><a href="https://pipingpress.com/thoughts-on-norman-mathesons-letters-from-james-campbell-part-2/">Thoughts on Norman Matheson’s Letters from James Campbell Part 2</a>
					<ul class="sub-menu">
						<li id="menu-item-12760" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-12760"><a href="https://pipingpress.com/james-campbells-letters-and-the-masters-of-piobaireachd-series-part-3/">James Campbell’s Letters and the Masters of Piobaireachd Series Part 3</a></li>
					</ul>
</li>
				</ul>
</li>
			</ul>
</li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-1522" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1522"><a href="https://pipingpress.com/piobaireachd/james-campbell-as-i-knew-him-part-1/">James Campbell As I Knew Him – Part 1</a>
	<ul class="sub-menu">
		<li id="menu-item-1604" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1604"><a href="https://pipingpress.com/piobaireachd/james-campbell-as-i-knew-him-part-1/james-campbell-as-i-knew-him-part-2/">James Campbell As I Knew Him – Part 2</a>
		<ul class="sub-menu">
			<li id="menu-item-1814" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1814"><a href="https://pipingpress.com/james-campbell-as-i-knew-him-conclusion/">James Campbell As I Knew Him – Conclusion</a></li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-3034" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3034"><a href="https://pipingpress.com/piobaireachd/william-maclean-and-the-gesto-canntaireachd/">P/M William MacLean and the Gesto Canntaireachd</a></li>
	<li id="menu-item-3507" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3507"><a href="https://pipingpress.com/piobaireachd/a-letter-from-john-macdonald-inverness/">A Letter from John Macdonald, Inverness</a></li>
	<li id="menu-item-5609" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5609"><a href="https://pipingpress.com/the-manuscript-of-john-macdougall-gillies-and-a-letter-to-archibald-campbell-kilberry/">The Manuscript of John MacDougall Gillies and a Letter to Archibald Campbell, Kilberry</a>
	<ul class="sub-menu">
		<li id="menu-item-5758" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5758"><a href="https://pipingpress.com/the-manuscript-of-john-macdougall-gillies-and-a-letter-to-archibald-campbell-kilberry/the-manuscript-of-john-macdougall-gillies-part-2/">The Manuscript of John MacDougall Gillies: Part 2</a></li>
	</ul>
</li>
</ul>
</li>
<li id="menu-item-507" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-507"><a href="https://pipingpress.com/category/features/">Features</a>
<ul class="sub-menu">
	<li id="menu-item-513" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-513"><a href="https://pipingpress.com/pipe-tunes-of-ww1/">Pipe Tunes of WW1</a>
	<ul class="sub-menu">
		<li id="menu-item-1538" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1538"><a href="https://pipingpress.com/pipe-tunes-of-ww1/pipe-tunes-of-ww1-part-2/">Pipe Tunes of WW1 – Part 2</a></li>
		<li id="menu-item-2338" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2338"><a href="https://pipingpress.com/spa-ww1-black-watch-tunes/">Pipe Tunes of WW1 Part 3: The Black Watch</a></li>
		<li id="menu-item-2370" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2370"><a href="https://pipingpress.com/pipe-tunes-of-ww1-gordon-highlanders/">Pipe Tunes of WW1 Part 3: The Gordon Highlanders</a></li>
		<li id="menu-item-4538" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4538"><a href="https://pipingpress.com/pipe-tunes-of-ww1-part-4-the-cameron-highlanders/">Pipe Tunes of WW1 – Part 4: The Cameron Highlanders</a></li>
		<li id="menu-item-4576" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4576"><a href="https://pipingpress.com/pipe-tunes-of-ww1-part-4-the-seaforth-highlanders/">Pipe Tunes of WW1 – Part 4: The Seaforth Highlanders</a></li>
	</ul>
</li>
	<li id="menu-item-511" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-511"><a href="https://pipingpress.com/highland-dress-and-the-day-i-disqualified-gordon-walker/">Highland Dress and Judging the Northern Meeting</a>
	<ul class="sub-menu">
		<li id="menu-item-1052" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1052"><a href="https://pipingpress.com/highland-dress-adjudicator-responds-to-comments/">Highland Dress Adjudicator Responds to Comments</a>
		<ul class="sub-menu">
			<li id="menu-item-813" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-813"><a href="https://pipingpress.com/highland-dress-and-the-day-i-disqualified-gordon-walker/how-to-wear-highland-dress/">How to Wear Highland Dress: Part One</a>
			<ul class="sub-menu">
				<li id="menu-item-929" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-929"><a href="https://pipingpress.com/highland-dress-and-the-day-i-disqualified-gordon-walker/how-to-wear-highland-dress/how-to-wear-highland-dress-part-two/">How to Wear Highland Dress: Part Two</a></li>
			</ul>
</li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-1560" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1560"><a href="https://pipingpress.com/be-a-healthier-piper/">PP Academy: Be a Healthier Piper</a></li>
	<li id="menu-item-3066" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3066"><a href="https://pipingpress.com/national-library-of-scotland-treasure-trove-for-pipers/">National Library of Scotland – Treasure Trove for Pipers</a></li>
	<li id="menu-item-4234" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4234"><a href="https://pipingpress.com/choice-tune-gss-24-masterpiece-inveran/">Choice Tune &#8211; GS&#8217;s 2/4 Masterpiece &#8216;Inveran&#8217;</a></li>
	<li id="menu-item-8365" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-8365"><a href="https://pipingpress.com/south-hall-by-john-mclellan-dcm-dunoon/">Choice Tune: South Hall by John McLellan DCM, Dunoon</a></li>
</ul>
</li>
<li id="menu-item-508" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-508"><a href="https://pipingpress.com/category/reviews/">Reviews</a>
<ul class="sub-menu">
	<li id="menu-item-15599" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15599"><a href="https://pipingpress.com/review-the-pipers-meeting-by-dr-jack-taylor-and-patrick-molard/">Review – The Pipers Meeting by Dr Jack Taylor and Patrick Molard</a></li>
	<li id="menu-item-14805" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14805"><a href="https://pipingpress.com/review-the-2017-uist-barra-ceol-mor/">Review: The 2017 Uist &#038; Barra Ceol Mor</a></li>
	<li id="menu-item-12692" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-12692"><a href="https://pipingpress.com/northeern-meeting-2016-review-of-the-highland-society-of-londons-gold-medal/">Northeern Meeting 2016 – Review of the Highland Society of London’s Gold Medal</a></li>
	<li id="menu-item-12488" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-12488"><a href="https://pipingpress.com/review-2016-oban-silver-and-gold-medals/">Review: 2016 Oban Silver and Gold Medals</a>
	<ul class="sub-menu">
		<li id="menu-item-6990" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-6990"><a href="https://pipingpress.com/argyllshire-gathering-review-of-the-2015-gold-medal/">Argyllshire Gathering – Review of the 2015 Gold Medal</a>
		<ul class="sub-menu">
			<li id="menu-item-1237" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1237"><a href="https://pipingpress.com/reviews/argyllshire-gathering-the-oban-gold-medal/">Argyllshire Gathering – The 2014 Gold Medal</a></li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-12485" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-12485"><a href="https://pipingpress.com/review-northern-meeting-former-winners-msr-2016/">Review: Northern Meeting Former Winners’ MSR 2016</a>
	<ul class="sub-menu">
		<li id="menu-item-7177" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-7177"><a href="https://pipingpress.com/northern-meeting-2015-a-look-back-at-a-wonderful-two-days-of-piping-and-a-review-of-the-clasp/">Northern Meeting 2015: A Look Back at a Wonderful Two Days of Piping and a Review of the Clasp</a>
		<ul class="sub-menu">
			<li id="menu-item-1236" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1236"><a href="https://pipingpress.com/reviews/northern-meeting-gold-medal/">Northern Meeting Gold Medal 2014</a></li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-12491" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-12491"><a href="https://pipingpress.com/review-world-pipe-band-championships-2016/">Review: World Pipe Band Championships 2016</a>
	<ul class="sub-menu">
		<li id="menu-item-10878" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-10878"><a href="https://pipingpress.com/a-review-of-the-british-pipe-band-championships-2016/">A Review of the British Pipe Band Championships 2016</a>
		<ul class="sub-menu">
			<li id="menu-item-10881" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-10881"><a href="https://pipingpress.com/pipe-major-responds-to-comments-about-his-bands-medley-at-the-british-championships/">Pipe Major Responds to Comments About His Band’s Medley at the British Championships</a>
			<ul class="sub-menu">
				<li id="menu-item-6702" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-6702"><a href="https://pipingpress.com/world-championships-2015-review-part-1/">World Championships 2015: Review Part 1</a>
				<ul class="sub-menu">
					<li id="menu-item-6728" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6728"><a href="https://pipingpress.com/world-pipe-band-championship-2015-observations-on-the-grade-1-final/">World Pipe Band Championship 2015 – Observations on the Grade 1 Final</a></li>
				</ul>
</li>
				<li id="menu-item-5290" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5290"><a href="https://pipingpress.com/the-british-pipe-band-championships-2015-grade-1-review/">The British Pipe Band Championships 2015:  Grade 1 Review</a>
				<ul class="sub-menu">
					<li id="menu-item-5544" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5544"><a href="https://pipingpress.com/uk-pipe-band-championships-2015-a-review/">UK Pipe Band Championships 2015 – A Review</a>
					<ul class="sub-menu">
						<li id="menu-item-6317" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-6317"><a href="https://pipingpress.com/scottish-pipe-band-championships-2015-grade-1-review/">Scottish Pipe Band Championships 2015 – Grade 1 Review</a>
						<ul class="sub-menu">
							<li id="menu-item-4831" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4831"><a href="https://pipingpress.com/reviews/review-a-look-back-at-the-scottish-championships-2014/">Review: A Look Back at the Scottish Championships 2014</a></li>
						</ul>
</li>
					</ul>
</li>
				</ul>
</li>
			</ul>
</li>
		</ul>
</li>
	</ul>
</li>
	<li id="menu-item-10441" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-10441"><a href="https://pipingpress.com/review-ceol-mor-light-shade-beauty-and-drama-in-this-new-cd-from-patrick-molard/">Review: ‘Ceol Mor: Light &#038; Shade’ – Beauty and Drama in This New CD from Patrick Molard</a></li>
	<li id="menu-item-9717" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-9717"><a href="https://pipingpress.com/uist-barra-professional/">Uist &#038; Barra Professional 2016</a></li>
	<li id="menu-item-8212" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-8212"><a href="https://pipingpress.com/review-african-blackwood-drone-reeds-by-the-ayrshire-bagpipe-company/">Review:  African Blackwood Drone Reeds by the Ayrshire Bagpipe Company</a></li>
	<li id="menu-item-3841" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3841"><a href="https://pipingpress.com/reviews/preserving-a-legacy-of-ceol-mor-a-review/">Preserving A Legacy of Ceol Mor – A Review</a></li>
	<li id="menu-item-1234" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1234"><a href="https://pipingpress.com/glenfiddich-critique/">Glenfiddich Critique 2014</a></li>
	<li id="menu-item-6641" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-6641"><a href="https://pipingpress.com/review-sfu-in-glasgow-2015/">Review: SFU in Glasgow 2015</a>
	<ul class="sub-menu">
		<li id="menu-item-2617" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2617"><a href="https://pipingpress.com/reviews/worlds-week-special-concert-from-greater-glasgow-police/">Worlds Week: Special Concert from Greater Glasgow Police</a></li>
	</ul>
</li>
	<li id="menu-item-4786" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4786"><a href="https://pipingpress.com/reviews/highlands-islands-festival-2015/">Highlands &#038; Islands Festival 2015</a></li>
	<li id="menu-item-4883" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4883"><a href="https://pipingpress.com/reviews/review-the-royal-scottish-pipers-society-recital-edinburgh-may-2015/">Review: The Royal Scottish Pipers&#8217; Society Recital, Edinburgh, May 2015</a></li>
	<li id="menu-item-5731" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5731"><a href="https://pipingpress.com/reviews/review-uspf-amateur-professional-solo-piping-competition-2015/">Review: USPF Amateur &#038; Professional Solo Piping Competition 2015</a></li>
	<li id="menu-item-6089" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6089"><a href="https://pipingpress.com/review-a-close-look-at-the-piobaireachd-societys-new-book-16/">Review: A Close Look at the Piobaireachd Society&#8217;s New Book 16</a></li>
</ul>
</li>
<li id="menu-item-510" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-510"><a href="https://pipingpress.com/category/tuition/">Tuition</a>
<ul class="sub-menu">
	<li id="menu-item-6978" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6978"><a href="https://pipingpress.com/tuition/bagpipe-tutor-book-videos-and-audio/">Bagpipe Tutor Book 1 Videos and Audio</a></li>
	<li id="menu-item-8774" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-8774"><a href="https://pipingpress.com/bagpipe-tutor-book-2-audio/">Bagpipe Tutor Book 2 Audio Lessons</a></li>
	<li id="menu-item-10926" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-10926"><a href="https://pipingpress.com/bagpipe-tutor-book-3-videos-and-audio/">BAGPIPE TUTOR BOOK 3 VIDEOS AND AUDIO</a></li>
	<li id="menu-item-19061" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-19061"><a href="https://pipingpress.com/pp-academy-be-a-better-piper/">PP Academy – Be A Better Piper</a></li>
	<li id="menu-item-18890" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-18890"><a href="https://pipingpress.com/pp-academy-how-to-play-reels/">PP Academy: How to Play Reels</a></li>
	<li id="menu-item-10640" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-10640"><a href="https://pipingpress.com/pp-academy-how-to-play-jigs/">PP Academy: How to Play Jigs</a></li>
	<li id="menu-item-9915" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-9915"><a href="https://pipingpress.com/pp-academy-how-to-improve-your-68-playing/">PP Academy: How to Improve Your 6/8 Playing</a></li>
	<li id="menu-item-10602" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-10602"><a href="https://pipingpress.com/be-a-better-piper-some-tips-for-the-games/">PP Academy: Be a Better Piper – Some Tips for the Games</a></li>
	<li id="menu-item-9376" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-9376"><a href="https://pipingpress.com/be-a-better-piper-selecting-a-bagpipe-a-very-important-decision/">PP Academy: Selecting a Bagpipe – a Very Important Decision</a>
	<ul class="sub-menu">
		<li id="menu-item-9575" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-9575"><a href="https://pipingpress.com/be-a-better-piper-what-to-look-for-when-buying-a-bagpipe/">PP Academy: What to Look for When Buying a Bagpipe Part 2</a></li>
	</ul>
</li>
	<li id="menu-item-5061" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5061"><a href="https://pipingpress.com/tuition/pp-academy-learn-the-bagpipe/">&#8216;Structured Learning&#8217; Videos</a></li>
	<li id="menu-item-9078" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-9078"><a href="https://pipingpress.com/pp-academy-dealing-with-cane-drone-reeds/">PP Academy: Dealing With Cane Drone Reeds</a>
	<ul class="sub-menu">
		<li id="menu-item-9105" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-9105"><a href="https://pipingpress.com/pp-academy-dealing-with-cane-drone-reeds-part-2/">PP Academy: Dealing With Cane Drone Reeds Part 2</a></li>
	</ul>
</li>
	<li id="menu-item-2318" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2318"><a href="https://pipingpress.com/tuition/pp-academy-pipe-bags/">PP Academy: Pipe Bags – Handy Tips and Advice</a></li>
	<li id="menu-item-2916" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-2916"><a href="https://pipingpress.com/tuition/playing-24-marches/">PP Academy: Playing 2/4 Marches</a>
	<ul class="sub-menu">
		<li id="menu-item-5356" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5356"><a href="https://pipingpress.com/tuition/pp-academy-meddling-with-competition-24-marches/">PP Academy: Meddling With Competition 2/4 Marches</a></li>
	</ul>
</li>
	<li id="menu-item-3336" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3336"><a href="https://pipingpress.com/tuition/pp-academy-handy-tips/">PP Academy: Handy Tips</a></li>
	<li id="menu-item-4112" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4112"><a href="https://pipingpress.com/tuition/how-the-amateur-can-sound-like-a-pro/">PP Academy: How the Amateur Can Sound Like a Pro</a></li>
	<li id="menu-item-4295" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4295"><a href="https://pipingpress.com/tuition/pp-academy-sound-advice-from-a-pipe-band-expert/">PP Academy: Sound Advice from a Pipe Band Expert</a></li>
	<li id="menu-item-4621" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4621"><a href="https://pipingpress.com/tuition/pp-academy-how-to-get-the-best-out-of-your-strathspeys/">PP Academy: How to Get the Best Out of Your Strathspeys</a></li>
	<li id="menu-item-5112" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5112"><a href="https://pipingpress.com/pp-academy-how-to-sort-that-troublesome-double-e-from-f/">PP Academy: How to Sort that Troublesome Double E from F</a></li>
	<li id="menu-item-13540" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13540"><a href="https://pipingpress.com/some-gaelic-piobaireachd-names-and-how-to-pronounce-them/">Some Gaelic Piobaireachd Names and How to Pronounce them</a></li>
</ul>
</li>
<li id="menu-item-488" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-488"><a href="https://pipingpress.com/diary/">Band Diary</a>
<ul class="sub-menu">
	<li id="menu-item-9048" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-9048"><a href="https://pipingpress.com/2016-guide-to-the-games/">Piping Press Guide to the Games</a></li>
</ul>
</li>
<li id="menu-item-628" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-628"><a href="http://ppresshop.myshopify.com">Piping Press Shop</a>
<ul class="sub-menu">
	<li id="menu-item-13395" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13395"><a href="https://pipingpress.com/learn-the-bagpipe-books-lessons-from-beginner-to-advanced/">Learn the Bagpipe – Books, Lessons from Beginner to Advanced</a></li>
	<li id="menu-item-13392" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13392"><a href="https://pipingpress.com/ceol-mor-tuition/">Ceol Mor Tuition</a></li>
	<li id="menu-item-13368" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13368"><a href="https://pipingpress.com/tutor-books-and-music-books-and-general-interest/">Tutor Books, Music Books and General Interest</a></li>
	<li id="menu-item-13375" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13375"><a href="https://pipingpress.com/chanter-drone-and-practice-reeds/">Chanter, Drone and Practice Reeds</a></li>
	<li id="menu-item-13379" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13379"><a href="https://pipingpress.com/bagpipe-accessories-hemp-etc/">Bagpipe Accessories – Hemp etc</a></li>
	<li id="menu-item-13382" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13382"><a href="https://pipingpress.com/chanters-and-practice-chanters/">Chanters and Practice Chanters</a></li>
	<li id="menu-item-13384" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13384"><a href="https://pipingpress.com/bagpipes-full-range/">Bagpipes – Starter and Intermediate Sets</a></li>
	<li id="menu-item-13390" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13390"><a href="https://pipingpress.com/canmore-pipe-bags/">Canmore Pipe Bags</a></li>
	<li id="menu-item-13399" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13399"><a href="https://pipingpress.com/all-products-from-the-piping-press-shop/">All Products from the Piping Press Shop</a></li>
</ul>
</li>
<li id="menu-item-749" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-749"><a href="https://pipingpress.com/letters/">Letters</a></li>
<li id="menu-item-2081" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home menu-item-2081"><a href="https://pipingpress.com/">Home</a></li>
<li id="menu-item-2260" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2260"><a href="https://pipingpress.com/classified-ads/">Piping Press Online Advertising Service</a></li>
<li id="menu-item-2528" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2528"><a href="https://pipingpress.com/contact/">Contact</a></li>
<li id="menu-item-2886" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2886"><a href="https://pipingpress.com/entry-forms/">Competition Entry Forms/ Details</a></li>
<li id="menu-item-5316" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5316"><a href="https://pipingpress.com/pp-audio-archive/">PP Audio Archive – Solo Piping</a>
<ul class="sub-menu">
	<li id="menu-item-5377" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5377"><a href="https://pipingpress.com/pp-audio-archive/pp-audio-archive-pipe-band-recordings/">PP Audio Archive: Pipe Band Recordings</a></li>
</ul>
</li>
<li id="menu-item-5387" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5387"><a href="https://pipingpress.com/advertise-with-us/">Advertise With Us</a></li>
<li id="menu-item-5445" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5445"><a href="https://pipingpress.com/drummers-call/">Drummer&#8217;s Call</a>
<ul class="sub-menu">
	<li id="menu-item-7772" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-7772"><a href="https://pipingpress.com/drummers-call/drummers-call-john-moneagle-percussion-free-scores-for-pp-readers/">Drummer&#8217;s Call &#8211; John Moneagle Percussion Free Scores for PP Readers</a></li>
	<li id="menu-item-5961" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5961"><a href="https://pipingpress.com/drummers-call/american-university-looking-for-top-drum-instructor/">Drummer&#8217;s Call: American University Looking for Top Instructor</a></li>
	<li id="menu-item-5441" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5441"><a href="https://pipingpress.com/drummers-call-a-review-of-steven-creightons-new-signature-sticks/">Drummer&#8217;s Call &#8211; A Review of Steven Creighton&#8217;s New Signature Sticks</a></li>
	<li id="menu-item-6493" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-6493"><a href="https://pipingpress.com/a-young-drummers-diary-of-piping-hot-summer-drummer-silver-star-canada-2015/">A Young Drummer&#8217;s Diary of &#8216;Piping Hot Summer  Drummer&#8217;, Silver Star, Canada 2015</a>
	<ul class="sub-menu">
		<li id="menu-item-3101" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3101"><a href="https://pipingpress.com/a-young-drummers-great-weekend-at-winterstorm/">A Young Drummer&#8217;s Great Weekend at &#8216;Winterstorm&#8217;</a></li>
	</ul>
</li>
</ul>
</li>
<li id="menu-item-5937" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5937"><a href="https://pipingpress.com/pp-video-archive/">PP Video Archive</a></li>
<li id="menu-item-13064" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13064"><a href="https://indd.adobe.com/view/0d2cfa9c-2d13-431c-8841-0d6ffba5aaf2">New England Pipe &#038; Drum Academy</a></li>
<li id="menu-item-13065" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13065"><a href="http://www.pipeanddrumacademy.com">South Florida Pipe &#038; Drum Academy</a></li>
</ul></div>			</nav>
		</div>

		<div id="search-container" class="search-box-wrapper hide">
			<div class="search-box">
				<form role="search" method="get" class="search-form" action="https://pipingpress.com/">
				<label>
					<span class="screen-reader-text">Search for:</span>
					<input type="search" class="search-field" placeholder="Search &hellip;" value="" name="s" />
				</label>
				<input type="submit" class="search-submit" value="Search" />
			</form>			</div>
		</div>
	</header><!-- #masthead -->

	<div id="main" class="site-main">

	<div id="primary" class="content-area">
		<div id="content" class="site-content" role="main">
			
<article id="post-17484" class="post-17484 post type-post status-publish format-standard has-post-thumbnail hentry category-bagpipes category-blog category-comment category-news category-pipe-bands category-pipe-music tag-bagpipes tag-ceol-beag tag-ceol-mor tag-great-highland-bagpipe tag-hurricane-harvey tag-light-music tag-piobaireachd tag-pipe-band-drumming tag-pipe-bands-2 tag-piping-press tag-pp-editors-blog tag-robert-wallace tag-robert-wallace-blog tag-scottish-music tag-solo-piping">
	
	<div class="post-thumbnail">
	<img width="672" height="372" src="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/feat-im-5.jpg?resize=672%2C372&amp;ssl=1" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" srcset="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/feat-im-5.jpg?resize=300%2C165&amp;ssl=1 300w, https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/feat-im-5.jpg?resize=672%2C372&amp;ssl=1 672w, https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/feat-im-5.jpg?resize=1038%2C576&amp;ssl=1 1038w" sizes="(max-width: 672px) 100vw, 672px" data-attachment-id="17491" data-permalink="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/feat-im-281/" data-orig-file="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/feat-im-5.jpg?fit=1116%2C614&amp;ssl=1" data-orig-size="1116,614" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="feat-im" data-image-description="" data-medium-file="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/feat-im-5.jpg?fit=300%2C165&amp;ssl=1" data-large-file="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/feat-im-5.jpg?fit=474%2C261&amp;ssl=1" />	</div>

	
	<header class="entry-header">
				<div class="entry-meta">
			<span class="cat-links"><a href="https://pipingpress.com/category/bagpipes/" rel="category tag">Bagpipes</a>, <a href="https://pipingpress.com/category/blog/" rel="category tag">Blog</a>, <a href="https://pipingpress.com/category/comment/" rel="category tag">Comment</a>, <a href="https://pipingpress.com/category/news/" rel="category tag">News</a>, <a href="https://pipingpress.com/category/pipe-bands/" rel="category tag">Pipe Bands</a>, <a href="https://pipingpress.com/category/pipe-music/" rel="category tag">Pipe Music</a></span>
		</div>
		<h1 class="entry-title">Hurricane Harvey and How it has Badly Affected St Thomas&#8217; Episcopal School Pipe Band</h1>
		<div class="entry-meta">
			<span class="entry-date"><a href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/" rel="bookmark"><time class="entry-date" datetime="2017-09-08T07:45:16+00:00">September 8, 2017</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="" rel="author"></a></span></span>			<span class="comments-link"><a href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/#comments">1 Comment</a></span>
					</div><!-- .entry-meta -->
	</header><!-- .entry-header -->

		<div class="entry-content">
		<p><em><a href="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/saint-thomas-logo.jpg?ssl=1"><img data-attachment-id="17486" data-permalink="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/saint-thomas-logo/" data-orig-file="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/saint-thomas-logo.jpg?fit=360%2C251&amp;ssl=1" data-orig-size="360,251" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="saint-thomas&#8217;-logo" data-image-description="" data-medium-file="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/saint-thomas-logo.jpg?fit=300%2C209&amp;ssl=1" data-large-file="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/saint-thomas-logo.jpg?fit=360%2C251&amp;ssl=1" class=" wp-image-17486 alignleft" src="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/saint-thomas-logo.jpg?resize=173%2C121&#038;ssl=1" alt="" width="173" height="121" srcset="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/saint-thomas-logo.jpg?w=360&amp;ssl=1 360w, https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/saint-thomas-logo.jpg?resize=300%2C209&amp;ssl=1 300w" sizes="(max-width: 173px) 100vw, 173px" data-recalc-dims="1" /></a>Hurricane Harvey has wreaked devastation across much of Texas, not least in Houston, home of the well-known St Thomas&#8217; Episcopal School Pipe Band. Piping Press Editor Robert Wallace contacted his friend, the school&#8217;s headmaster Mike Cusack, to see if we could do anything to help. Mike and Band Director Lyric Todkill have given us some harrowing details. The band has lost pipes, smallpipes, drums, music and recording equipment. If any reader or business can help this band, known to many in Scotland through their regular appearances at the Worlds, then please do so. The contact details are at the end of Lyric&#8217;s letter. </em></p>
<p><strong>Firstly Mike: &#8216;Thanks Rob. It&#8217;s been devastating here In Houston. So many people lost their homes and belongings. I don&#8217;t even know the number. People are still flooded because the US Army Corps of Engineers had to release water from two basins that hold overflow leading to one of our main bayous (small natural rivers that run through the city) and by doing that they are keeping hundreds of homes underwater until at least the 15th of September, otherwise it would be tens of thousands of destroyed homes. </strong></p>
<p>&#8216;One one of the homes underwater is the house I grew up in. Many memories of great times when Jimmy McIntosh and others stayed there relaxing into the wee hours of the morning. The school took a major hit. Seventy per cent of the campus buildings were completely destroyed. We&#8217;re having to house over three-quarters of our students in temporary buildings in the parking lot. It will be about a month before they are ready.</p>
<figure id="attachment_17487" style="max-width: 419px" class="wp-caption aligncenter"><a href="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-1.jpg?ssl=1"><img data-attachment-id="17487" data-permalink="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/school-1/" data-orig-file="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-1.jpg?fit=750%2C460&amp;ssl=1" data-orig-size="750,460" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="school-1" data-image-description="" data-medium-file="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-1.jpg?fit=300%2C184&amp;ssl=1" data-large-file="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-1.jpg?fit=474%2C291&amp;ssl=1" class=" wp-image-17487" src="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-1.jpg?resize=419%2C257&#038;ssl=1" alt="" width="419" height="257" srcset="https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-1.jpg?w=750&amp;ssl=1 750w, https://i0.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-1.jpg?resize=300%2C184&amp;ssl=1 300w" sizes="(max-width: 419px) 100vw, 419px" data-recalc-dims="1" /></a><figcaption class="wp-caption-text">St Thomas&#8217; Episcopal School semi-submerged in flood water</figcaption></figure>
<p>&#8216;The band room was destroyed. I don&#8217;t know the final count but we lost drums and pipes, not to mention our teaching and practice facilities. You can get a better idea of it all by going to <a href="http://www.stesflood.org/">www.stesflood.org</a>.&#8217;</p>
<p>Lyric: &#8216;Thank you for agreeing to share this story with the Piping Press community. It has been an unprecedented week: something none of us ever expected. My guess is that you’ve got some info on the storm and hopefully the images I have sent you will fill in the gaps a bit as to the extent of the catastrophe from the perspective of the Saint Thomas’ Episcopal [STE] Church and School, and in particular, the pipe band programme here.</p>
<p>&#8216;Our hearts and prayers go out to all affected Houstonians, as well as the thousands of others in Texas and Louisiana, whose homes and lives have been decimated by the disaster. Many of our STE families who were untouched, and even some who lost everything, have been donating items and volunteering time to the clean-up efforts.</p>
<hr />
    <style>      #wds_container1_1 #wds_container2_1 {        text-align: center;        margin: 0px ;        visibility: hidden;              }      #wds_container1_1 #wds_container2_1 .wds_slideshow_image_wrap_1 * {        box-sizing: border-box;        -moz-box-sizing: border-box;        -webkit-box-sizing: border-box;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_image_wrap_1 {        background-color: rgba(0, 0, 0, 0.00);        border-width: 0px;        border-style: none;        border-color: #000000;        border-radius: ;        border-collapse: collapse;        display: inline-block;        position: relative;        text-align: center;        width: 100%;        max-width: 800px;        box-shadow: ;        overflow: hidden;        z-index: 0;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_image_1 {        padding: 0 !important;        margin: 0 !important;        float: none !important;        vertical-align: middle;        background-position: center center;        background-repeat: no-repeat;        background-size: contain;        width: 100%;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_image_container_1 {        display: table;        position: absolute;        text-align: center;        none: 0px;        vertical-align: middle;        width: 100%;        height: inherit;      }            @media only screen and (min-width: 0px) and (max-width: 320px) {        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_thumbnails_1 {          height: 16px;          width: 208px;        }        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_1 {          font-size: 12px;          width: 12px;          margin: 2px;          height: 12px;        }        #wds_container1_1 #wds_container2_1 .wds_pp_btn_cont {            font-size: 20px;          height: 20px;          width: 20px;        }        #wds_container1_1 #wds_container2_1 .wds_left_btn_cont,        #wds_container1_1 #wds_container2_1 .wds_right_btn_cont {          height: 20px;          font-size: 20px;          width: 20px;        }      }              @media only screen and (min-width: 321px) and (max-width: 480px) {        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_thumbnails_1 {          height: 22px;          width: 286px;        }        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_1 {          font-size: 18px;          width: 18px;          margin: 2px;          height: 18px;        }        #wds_container1_1 #wds_container2_1 .wds_pp_btn_cont {            font-size: 30px;          height: 30px;          width: 30px;        }        #wds_container1_1 #wds_container2_1 .wds_left_btn_cont,        #wds_container1_1 #wds_container2_1 .wds_right_btn_cont {          height: 30px;          font-size: 30px;          width: 30px;        }      }              @media only screen and (min-width: 481px) and (max-width: 640px) {        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_thumbnails_1 {          height: 26px;          width: 338px;        }        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_1 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_1 #wds_container2_1 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_1 #wds_container2_1 .wds_left_btn_cont,        #wds_container1_1 #wds_container2_1 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              @media only screen and (min-width: 641px) and (max-width: 768px) {        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_thumbnails_1 {          height: 26px;          width: 338px;        }        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_1 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_1 #wds_container2_1 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_1 #wds_container2_1 .wds_left_btn_cont,        #wds_container1_1 #wds_container2_1 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              @media only screen and (min-width: 769px) and (max-width: 800px) {        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_thumbnails_1 {          height: 26px;          width: 338px;        }        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_1 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_1 #wds_container2_1 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_1 #wds_container2_1 .wds_left_btn_cont,        #wds_container1_1 #wds_container2_1 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              @media only screen and (min-width: 801px) and (max-width: 1024px) {        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_thumbnails_1 {          height: 26px;          width: 338px;        }        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_1 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_1 #wds_container2_1 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_1 #wds_container2_1 .wds_left_btn_cont,        #wds_container1_1 #wds_container2_1 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              @media only screen and (min-width: 1025px) and (max-width: 1366px) {        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_thumbnails_1 {          height: 26px;          width: 338px;        }        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_1 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_1 #wds_container2_1 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_1 #wds_container2_1 .wds_left_btn_cont,        #wds_container1_1 #wds_container2_1 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              @media only screen and (min-width: 1367px) and (max-width: 1824px) {        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_thumbnails_1 {          height: 26px;          width: 338px;        }        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_1 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_1 #wds_container2_1 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_1 #wds_container2_1 .wds_left_btn_cont,        #wds_container1_1 #wds_container2_1 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              @media only screen and (min-width: 1825px) and (max-width: 3000px) {        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_thumbnails_1 {          height: 26px;          width: 338px;        }        #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_1 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_1 #wds_container2_1 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_1 #wds_container2_1 .wds_left_btn_cont,        #wds_container1_1 #wds_container2_1 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              #wds_container1_1 #wds_container2_1 .wds_slideshow_video_1 {        padding: 0 !important;        margin: 0 !important;        float: none !important;        width: 100%;        vertical-align: middle;        display: inline-block;      }      #wds_container1_1 #wds_container2_1 #wds_slideshow_play_pause_1 {          color: #000000;        cursor: pointer;        position: relative;        z-index: 13;        width: inherit;        height: inherit;        font-size: inherit;      }      #wds_container1_1 #wds_container2_1 #wds_slideshow_play_pause_1:hover {          color: #000000;        cursor: pointer;      }      #wds_container1_1 #wds_container2_1 .wds_left-ico_1,      #wds_container1_1 #wds_container2_1 .wds_right-ico_1 {        background-color: rgba(255, 255, 255, 0.00);        border-radius: 20px;        border: 0px none #FFFFFF;        border-collapse: separate;        color: #000000;        left: 0;        top: 0;        -moz-box-sizing: content-box;        box-sizing: content-box;        cursor: pointer;        line-height: 0;        width: inherit;        height: inherit;        font-size: inherit;        position: absolute;      }      #wds_container1_1 #wds_container2_1 .wds_left-ico_1 {        left: -4000px;      }      #wds_container1_1 #wds_container2_1 .wds_right-ico_1 {        left: 4000px;      }            #wds_container1_1 #wds_container2_1 #wds_slideshow_play_pause_1 {        opacity: 0;        filter: "Alpha(opacity=0)";      }      #wds_container1_1 #wds_container2_1 .wds_left-ico_1:hover,      #wds_container1_1 #wds_container2_1 .wds_right-ico_1:hover {        color: #000000;        cursor: pointer;      }      /* Filmstrip*/      #wds_container1_1 #wds_container2_1 .wds_slideshow_filmstrip_container_1 {        background-color: #000000 !important;        display: /*table*/block;        height: 0px;        position: absolute;        width: 100%;        z-index: 10105;        none: 0;        overflow: hidden;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_filmstrip_1 {        overflow: hidden;        position: absolute;        width: 100%;        width: 100%;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_filmstrip_thumbnails_1 {        height: inherit;        left: 0px;        margin: 0 auto;        overflow: hidden;        position: relative;        width: 0px;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_filmstrip_thumbnail_1 {        position: relative;        background: none;        cursor: pointer;        float: left;        height: inherit;        margin: 0 0px;        width: 0px;        overflow: hidden;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_thumb_active_1 div {        opacity: 1;        filter: Alpha(opacity=100);        border: 0px none #FFFFFF;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_thumb_deactive_1 {        opacity: 0.50;        filter: Alpha(opacity=50);      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_filmstrip_thumbnail_img_1 {        display: block;        opacity: 1;        filter: Alpha(opacity=100);        padding: 0 !important;        background-position: center center;        background-repeat: no-repeat;        background-size: cover;        width: 100%;        height: 0px;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_filmstrip_left_1,      #wds_container1_1 #wds_container2_1 .wds_slideshow_filmstrip_right_1 {        background-color: rgba(0, 0, 0, 0.5);        cursor: pointer;        display: table;        vertical-align: middle;        width: 20px;        z-index: 10000;        position: absolute;        height: inherit;       }      #wds_container1_1 #wds_container2_1 .wds_slideshow_filmstrip_left_1 {        left: 0;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_filmstrip_right_1 {        right: 0;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_filmstrip_left_1 i,      #wds_container1_1 #wds_container2_1 .wds_slideshow_filmstrip_right_1 i {        color: #FFFFFF;        display: table-cell;        font-size: 20px;        vertical-align: middle;      }      #wds_container1_1 #wds_container2_1 .wds_none_selectable_1 {        -webkit-touch-callout: none;        -webkit-user-select: none;        -khtml-user-select: none;        -moz-user-select: none;        -ms-user-select: none;        user-select: none;      }      #wds_container1_1 #wds_container2_1 .wds_slide_container_1 {        display: table-cell;        margin: 0 auto;        position: absolute;        vertical-align: middle;        width: 100%;        height: 100%;        overflow: hidden;      }      #wds_container1_1 #wds_container2_1 .wds_slide_bg_1 {        margin: 0 auto;        width: inherit;        height: inherit;      }      #wds_container1_1 #wds_container2_1 .wds_slider_1 {        height: inherit;        width: inherit;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_image_spun_1 {        width: inherit;        height: inherit;        display: table-cell;        filter: Alpha(opacity=100);        opacity: 1;        position: absolute;        vertical-align: middle;        z-index: 2;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_image_second_spun_1 {        width: inherit;        height: inherit;        display: table-cell;        filter: Alpha(opacity=0);        opacity: 0;        position: absolute;        vertical-align: middle;        z-index: 1;      }      #wds_container1_1 #wds_container2_1 .wds_grid_1 {        display: none;        height: 100%;        overflow: hidden;        position: absolute;        width: 100%;      }      #wds_container1_1 #wds_container2_1 .wds_gridlet_1 {        opacity: 1;        filter: Alpha(opacity=100);        position: absolute;      }      /* Dots.*/      #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_container_1 {        display: block;        overflow: hidden;        position: absolute;        width: 100%;        none: 0px;        /*z-index: 17;*/      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_thumbnails_1 {        left: 0px;        font-size: 0;        margin: 0 auto;        position: relative;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_1 {        display: inline-block;        position: relative;        color: #FFFFFF;        cursor: pointer;        z-index: 17;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_active_1 {        color: #FFFFFF;        opacity: 1;        filter: Alpha(opacity=100);              }      #wds_container1_1 #wds_container2_1 .wds_slideshow_dots_deactive_1 {              }      /* Timer.*/      #wds_container1_1 #wds_container2_1 .wds_line_timer_container_1 {        display: block;        position: absolute;        overflow: hidden;        none: 0;        z-index: 16;        width: 100%;        height: 5px;      }      #wds_container1_1 #wds_container2_1 .wds_line_timer_1 {        z-index: 17;        width: 0;        height: 5px;        background: #FFFFFF;        opacity: 0.50;        filter: alpha(opacity=50);      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_image_spun1_1 {        display: table;         width: inherit;         height: inherit;      }      #wds_container1_1 #wds_container2_1 .wds_slideshow_image_spun2_1 {        display: table-cell;         vertical-align: middle;         text-align: center;        overflow: hidden;      }          </style>    <script>      var wds_data_1 = [];      var wds_event_stack_1 = [];      var wds_clear_layers_effects_in_1 = [];      var wds_clear_layers_effects_out_1 = [];      var wds_clear_layers_effects_out_before_change_1 = [];      if (0) {        var wds_duration_for_change_1 = 500;        var wds_duration_for_clear_effects_1 = 530;      }      else {        var wds_duration_for_change_1 = 0;        var wds_duration_for_clear_effects_1 = 0;      }              wds_clear_layers_effects_in_1["0"] = [];        wds_clear_layers_effects_out_1["0"] = [];        wds_clear_layers_effects_out_before_change_1["0"] = [];        wds_data_1["0"] = [];        wds_data_1["0"]["id"] = "342";        wds_data_1["0"]["image_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/donald macleod mem.jpg";        wds_data_1["0"]["thumb_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/thumb/donald macleod mem.jpg";        wds_data_1["0"]["is_video"] = "";        wds_data_1["0"]["slide_layers_count"] = 0;                wds_clear_layers_effects_in_1["1"] = [];        wds_clear_layers_effects_out_1["1"] = [];        wds_clear_layers_effects_out_before_change_1["1"] = [];        wds_data_1["1"] = [];        wds_data_1["1"]["id"] = "295";        wds_data_1["1"]["image_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/shasta comp. banner 2017 (1).jpg";        wds_data_1["1"]["thumb_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/thumb/shasta comp. banner 2017 (1).jpg";        wds_data_1["1"]["is_video"] = "";        wds_data_1["1"]["slide_layers_count"] = 0;                wds_clear_layers_effects_in_1["2"] = [];        wds_clear_layers_effects_out_1["2"] = [];        wds_clear_layers_effects_out_before_change_1["2"] = [];        wds_data_1["2"] = [];        wds_data_1["2"]["id"] = "294";        wds_data_1["2"]["image_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/burley bagpipes.jpg";        wds_data_1["2"]["thumb_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/thumb/burley bagpipes.jpg";        wds_data_1["2"]["is_video"] = "";        wds_data_1["2"]["slide_layers_count"] = 0;                wds_clear_layers_effects_in_1["3"] = [];        wds_clear_layers_effects_out_1["3"] = [];        wds_clear_layers_effects_out_before_change_1["3"] = [];        wds_data_1["3"] = [];        wds_data_1["3"]["id"] = "61";        wds_data_1["3"]["image_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd//d naill - ian k (2).jpg";        wds_data_1["3"]["thumb_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd//thumb/d naill - ian k (2).jpg";        wds_data_1["3"]["is_video"] = "";        wds_data_1["3"]["slide_layers_count"] = 0;                wds_clear_layers_effects_in_1["4"] = [];        wds_clear_layers_effects_out_1["4"] = [];        wds_clear_layers_effects_out_before_change_1["4"] = [];        wds_data_1["4"] = [];        wds_data_1["4"]["id"] = "27";        wds_data_1["4"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/Wallace-ad-for-banner-(new).gif";        wds_data_1["4"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/Wallace-ad-for-banner-(new).gif";        wds_data_1["4"]["is_video"] = "";        wds_data_1["4"]["slide_layers_count"] = 0;                wds_clear_layers_effects_in_1["5"] = [];        wds_clear_layers_effects_out_1["5"] = [];        wds_clear_layers_effects_out_before_change_1["5"] = [];        wds_data_1["5"] = [];        wds_data_1["5"]["id"] = "11";        wds_data_1["5"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//MacRaeBannerPipingPress - Aug \'16.jpg";        wds_data_1["5"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/MacRaeBannerPipingPress - Aug \'16.jpg";        wds_data_1["5"]["is_video"] = "";        wds_data_1["5"]["slide_layers_count"] = 0;                wds_clear_layers_effects_in_1["6"] = [];        wds_clear_layers_effects_out_1["6"] = [];        wds_clear_layers_effects_out_before_change_1["6"] = [];        wds_data_1["6"] = [];        wds_data_1["6"]["id"] = "22";        wds_data_1["6"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//murray reeds new ad 2015.jpg";        wds_data_1["6"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/murray reeds new ad 2015.jpg";        wds_data_1["6"]["is_video"] = "";        wds_data_1["6"]["slide_layers_count"] = 0;                wds_clear_layers_effects_in_1["7"] = [];        wds_clear_layers_effects_out_1["7"] = [];        wds_clear_layers_effects_out_before_change_1["7"] = [];        wds_data_1["7"] = [];        wds_data_1["7"]["id"] = "49";        wds_data_1["7"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//RGH_DeluxeCase_800x300_pipingpress.jpg";        wds_data_1["7"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/RGH_DeluxeCase_800x300_pipingpress.jpg";        wds_data_1["7"]["is_video"] = "";        wds_data_1["7"]["slide_layers_count"] = 0;                wds_clear_layers_effects_in_1["8"] = [];        wds_clear_layers_effects_out_1["8"] = [];        wds_clear_layers_effects_out_before_change_1["8"] = [];        wds_data_1["8"] = [];        wds_data_1["8"]["id"] = "16";        wds_data_1["8"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//shepherd banner \'16.jpg";        wds_data_1["8"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/shepherd banner \'16.jpg";        wds_data_1["8"]["is_video"] = "";        wds_data_1["8"]["slide_layers_count"] = 0;                wds_clear_layers_effects_in_1["9"] = [];        wds_clear_layers_effects_out_1["9"] = [];        wds_clear_layers_effects_out_before_change_1["9"] = [];        wds_data_1["9"] = [];        wds_data_1["9"]["id"] = "133";        wds_data_1["9"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//bannatyne.png";        wds_data_1["9"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/bannatyne.png";        wds_data_1["9"]["is_video"] = "";        wds_data_1["9"]["slide_layers_count"] = 0;                wds_clear_layers_effects_in_1["10"] = [];        wds_clear_layers_effects_out_1["10"] = [];        wds_clear_layers_effects_out_before_change_1["10"] = [];        wds_data_1["10"] = [];        wds_data_1["10"]["id"] = "127";        wds_data_1["10"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//ayrshire_pipingpress \'17.png";        wds_data_1["10"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/ayrshire_pipingpress \'17.png";        wds_data_1["10"]["is_video"] = "";        wds_data_1["10"]["slide_layers_count"] = 0;                wds_clear_layers_effects_in_1["11"] = [];        wds_clear_layers_effects_out_1["11"] = [];        wds_clear_layers_effects_out_before_change_1["11"] = [];        wds_data_1["11"] = [];        wds_data_1["11"]["id"] = "184";        wds_data_1["11"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//G1 new banner copy.png";        wds_data_1["11"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/G1 new banner copy.png";        wds_data_1["11"]["is_video"] = "";        wds_data_1["11"]["slide_layers_count"] = 0;                wds_clear_layers_effects_in_1["12"] = [];        wds_clear_layers_effects_out_1["12"] = [];        wds_clear_layers_effects_out_before_change_1["12"] = [];        wds_data_1["12"] = [];        wds_data_1["12"]["id"] = "217";        wds_data_1["12"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//ron mackenna banner (1).jpg";        wds_data_1["12"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/ron mackenna banner (1).jpg";        wds_data_1["12"]["is_video"] = "";        wds_data_1["12"]["slide_layers_count"] = 0;                </script>    <div id="wds_container1_1">      <div class="wds_loading">        <img src="https://i2.wp.com/pipingpress.com/wp-content/plugins/slider-wd/images/ajax_loader.png?w=474&#038;ssl=1" class="wds_loading_img" style="float: none; width:50px;" data-recalc-dims="1" />      </div>      <div id="wds_container2_1">        <div class="wds_slideshow_image_wrap_1">                    <div id="wds_slideshow_image_container_1" class="wds_slideshow_image_container_1">                        <div class="wds_slide_container_1">              <div class="wds_slide_bg_1">                <div class="wds_slider_1">                                  <span class="wds_slideshow_image_spun_1" id="image_id_1_342">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_1"                             class="wds_slideshow_image_1"                             onclick="window.open('mailto:pipeymorrison@hotmail.com', '_blank')"                             style="cursor: pointer;background-image: url('https://pipingpress.com/wp-content/uploads/slider-wd/donald macleod mem.jpg');">                                                  </div>                      </span>                    </span>                  </span>                                    <span class="wds_slideshow_image_second_spun_1" id="image_id_1_295">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_second_1"                             class="wds_slideshow_image_1"                             onclick="window.open('https://sites.google.com/site/shastapipingsociety/', '_blank')"                             style="cursor: pointer;">                                                  </div>                      </span>                    </span>                  </span>                                    <span class="wds_slideshow_image_second_spun_1" id="image_id_1_294">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_second_1"                             class="wds_slideshow_image_1"                             onclick="window.open('https://www.burleybagpipes.com/great-highland-bagpipes', '_blank')"                             style="cursor: pointer;">                                                  </div>                      </span>                    </span>                  </span>                                    <span class="wds_slideshow_image_second_spun_1" id="image_id_1_61">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_second_1"                             class="wds_slideshow_image_1"                             onclick="window.open('http://www.naill-bagpipes.com', '_blank')"                             style="cursor: pointer;">                                                  </div>                      </span>                    </span>                  </span>                                    <span class="wds_slideshow_image_second_spun_1" id="image_id_1_27">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_second_1"                             class="wds_slideshow_image_1"                             onclick="window.open('http://www.wallacebagpipes.com', '_blank')"                             style="cursor: pointer;">                                                  </div>                      </span>                    </span>                  </span>                                    <span class="wds_slideshow_image_second_spun_1" id="image_id_1_11">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_second_1"                             class="wds_slideshow_image_1"                             onclick="window.open('http://www.macraebagpipes.com', '_blank')"                             style="cursor: pointer;">                                                  </div>                      </span>                    </span>                  </span>                                    <span class="wds_slideshow_image_second_spun_1" id="image_id_1_22">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_second_1"                             class="wds_slideshow_image_1"                             onclick="window.open('http://www.murrayreeds.co.uk', '_blank')"                             style="cursor: pointer;">                                                  </div>                      </span>                    </span>                  </span>                                    <span class="wds_slideshow_image_second_spun_1" id="image_id_1_49">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_second_1"                             class="wds_slideshow_image_1"                             onclick="window.open('http://rghardie.com/products/view/cases', '_blank')"                             style="cursor: pointer;">                                                  </div>                      </span>                    </span>                  </span>                                    <span class="wds_slideshow_image_second_spun_1" id="image_id_1_16">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_second_1"                             class="wds_slideshow_image_1"                             onclick="window.open('http://www.shepherd-bagpipes.com', '_blank')"                             style="cursor: pointer;">                                                  </div>                      </span>                    </span>                  </span>                                    <span class="wds_slideshow_image_second_spun_1" id="image_id_1_133">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_second_1"                             class="wds_slideshow_image_1"                             onclick="window.open('http://bannatyne.ltd.uk', '_blank')"                             style="cursor: pointer;">                                                  </div>                      </span>                    </span>                  </span>                                    <span class="wds_slideshow_image_second_spun_1" id="image_id_1_127">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_second_1"                             class="wds_slideshow_image_1"                             onclick="window.open('http://ayrshirebagpipes.co.uk/index.php?route=product/category&amp;path=57', '_blank')"                             style="cursor: pointer;">                                                  </div>                      </span>                    </span>                  </span>                                    <span class="wds_slideshow_image_second_spun_1" id="image_id_1_184">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_second_1"                             class="wds_slideshow_image_1"                             onclick="window.open('http://www.g1reeds.com', '_blank')"                             style="cursor: pointer;">                                                  </div>                      </span>                    </span>                  </span>                                    <span class="wds_slideshow_image_second_spun_1" id="image_id_1_217">                    <span class="wds_slideshow_image_spun1_1">                      <span class="wds_slideshow_image_spun2_1">                                                <div img_id="wds_slideshow_image_second_1"                             class="wds_slideshow_image_1"                             onclick="window.open('http://www.ronmackenna.co.uk', '_blank')"                             style="cursor: pointer;">                                                  </div>                      </span>                    </span>                  </span>                                  <input type="hidden" id="wds_current_image_key_1" value="0" />                </div>              </div>            </div>                      </div>                  </div>      </div>    </div>    <script>      var wds_trans_in_progress_1 = false;      var wds_transition_duration_1 = 800;      var wds_playInterval_1;      var progress = 0;      /* Stop autoplay.*/      window.clearInterval(wds_playInterval_1);      var wds_current_key_1 = '0';      var wds_current_filmstrip_pos_1 = 0;      /* Set filmstrip initial position.*/      function wds_set_filmstrip_pos_1(filmStripWidth) {        var selectedImagePos = -wds_current_filmstrip_pos_1 - (jQuery(".wds_slideshow_filmstrip_thumbnail_1").width() + 0) / 2;        var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".wds_slideshow_filmstrip_thumbnails_1").width(), selectedImagePos + filmStripWidth / 2));        jQuery(".wds_slideshow_filmstrip_thumbnails_1").animate({            left: imagesContainerLeft          }, {            duration: 500,            complete: function () { wds_filmstrip_arrows_1(); }          });      }      function wds_move_filmstrip_1() {        var image_left = jQuery(".wds_slideshow_thumb_active_1").position().left;        var image_right = jQuery(".wds_slideshow_thumb_active_1").position().left + jQuery(".wds_slideshow_thumb_active_1").outerWidth(true);        var wds_filmstrip_width = jQuery(".wds_slideshow_filmstrip_1").outerWidth(true);        var wds_filmstrip_thumbnails_width = jQuery(".wds_slideshow_filmstrip_thumbnails_1").outerWidth(true);        var long_filmstrip_cont_left = jQuery(".wds_slideshow_filmstrip_thumbnails_1").position().left;        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_filmstrip_thumbnails_1").position().left) + wds_filmstrip_width;        if (wds_filmstrip_width > wds_filmstrip_thumbnails_width) {          return;        }        if (image_left < Math.abs(long_filmstrip_cont_left)) {          jQuery(".wds_slideshow_filmstrip_thumbnails_1").animate({            left: -image_left          }, {            duration: 500,            complete: function () { wds_filmstrip_arrows_1(); }          });        }        else if (image_right > long_filmstrip_cont_right) {          jQuery(".wds_slideshow_filmstrip_thumbnails_1").animate({            left: -(image_right - wds_filmstrip_width)          }, {            duration: 500,            complete: function () { wds_filmstrip_arrows_1(); }          });        }      }      function wds_move_dots_1() {        var image_left = jQuery(".wds_slideshow_dots_active_1").position().left;        var image_right = jQuery(".wds_slideshow_dots_active_1").position().left + jQuery(".wds_slideshow_dots_active_1").outerWidth(true);        var wds_dots_width = jQuery(".wds_slideshow_dots_container_1").outerWidth(true);        var wds_dots_thumbnails_width = jQuery(".wds_slideshow_dots_thumbnails_1").outerWidth(true);        var long_filmstrip_cont_left = jQuery(".wds_slideshow_dots_thumbnails_1").position().left;        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_dots_thumbnails_1").position().left) + wds_dots_width;        if (wds_dots_width > wds_dots_thumbnails_width) {          return;        }        if (image_left < Math.abs(long_filmstrip_cont_left)) {          jQuery(".wds_slideshow_dots_thumbnails_1").animate({            left: -image_left          }, {            duration: 500          });        }        else if (image_right > long_filmstrip_cont_right) {          jQuery(".wds_slideshow_dots_thumbnails_1").animate({            left: -(image_right - wds_dots_width)          }, {            duration: 500          });        }      }      /* Show/hide filmstrip arrows.*/      function wds_filmstrip_arrows_1() {        if (jQuery(".wds_slideshow_filmstrip_thumbnails_1").width() < jQuery(".wds_slideshow_filmstrip_1").width()) {          jQuery(".wds_slideshow_filmstrip_left_1").hide();          jQuery(".wds_slideshow_filmstrip_right_1").hide();        }        else {          jQuery(".wds_slideshow_filmstrip_left_1").show();          jQuery(".wds_slideshow_filmstrip_right_1").show();        }      }      function wds_testBrowser_cssTransitions_1() {        return wds_testDom_1('Transition');      }      function wds_testBrowser_cssTransforms3d_1() {        return wds_testDom_1('Perspective');      }      function wds_testDom_1(prop) {        /* Browser vendor CSS prefixes.*/        var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-'];        /* Browser vendor DOM prefixes.*/        var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml'];        var i = domPrefixes.length;        while (i--) {          if (typeof document.body.style[domPrefixes[i] + prop] !== 'undefined') {            return true;          }        }        return false;      }      function wds_set_dots_class_1() {        jQuery(".wds_slideshow_dots_1").removeClass("wds_slideshow_dots_active_1").addClass("wds_slideshow_dots_deactive_1");        jQuery("#wds_dots_" + wds_current_key_1 + "_1").removeClass("wds_slideshow_dots_deactive_1").addClass("wds_slideshow_dots_active_1");                jQuery(".wds_slideshow_dots_1").removeClass("fa-square").addClass("fa-square-o");        jQuery("#wds_dots_" + wds_current_key_1 + "_1").removeClass("fa-square-o").addClass("fa-square");              }      function wds_grid3d_1(cols, rows, tz, wrx, wry, nty, ntx, nry, nrx, current_image_class, next_image_class, direction, random, easing) {        /* If browser does not support CSS transitions.*/        if (!wds_testBrowser_cssTransitions_1()) {          return wds_fallback_1(current_image_class, next_image_class, direction);        }        wds_trans_in_progress_1 = true;        /* Set active thumbnail.*/        jQuery(".wds_slideshow_filmstrip_thumbnail_1").removeClass("wds_slideshow_thumb_active_1").addClass("wds_slideshow_thumb_deactive_1");        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_1 + "_1").removeClass("wds_slideshow_thumb_deactive_1").addClass("wds_slideshow_thumb_active_1");        wds_set_dots_class_1();        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/        var count = (wds_transition_duration_1) / (cols + rows);        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/        function wds_gridlet(width, height, top, img_top, left, img_left, src, src2, imgWidth, imgHeight, c, r) {          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;          /* Return a gridlet elem with styles for specific transition.*/          var grid_div = jQuery('<div class="wds_gridlet_1" />').css({            width : "100%",            height : "100%",            transform : 'translateZ(' + tz + 'px)',            backfaceVisibility : 'hidden',            overflow: 'hidden'          }).append(jQuery('<div class="wds_gridlet_1" />').css({            width : jQuery(".wds_slideshow_image_spun_1").width() + "px",            height : jQuery(".wds_slideshow_image_spun_1").height() + "px",            top : -top,            left : -left,            backgroundImage : src,            backgroundSize: jQuery(".wds_slideshow_image_1").css("background-size"),            backgroundPosition: jQuery(".wds_slideshow_image_1").css("background-position"),            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_1").css("background-color"),*/            backgroundRepeat: 'no-repeat',          }));          var grid_div2 = jQuery('<div class="wds_gridlet_1" />').css({            width : "100%",            height : "100%",            backfaceVisibility : 'hidden',            transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)',            overflow: 'hidden'          }).append(jQuery('<div class="wds_gridlet_1" />').css({            width : jQuery(".wds_slideshow_image_spun_1").width() + "px",            height : jQuery(".wds_slideshow_image_spun_1").height() + "px",            top : -top,            left : -left,            backgroundImage : src2,            backgroundSize: jQuery(".wds_slideshow_image_1").css("background-size"),            backgroundPosition: jQuery(".wds_slideshow_image_1").css("background-position"),            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_1").css("background-color"),*/            backgroundRepeat: 'no-repeat',          }));          return jQuery('<div class="wds_gridlet_1" />').css({            width : width,            height : height,            top : top,            left : left,            transition : 'all ' + wds_transition_duration_1 + 'ms ' + easing + ' ' + delay + 'ms',            transform: 'translateZ(-' + tz + 'px)',            transformStyle: 'preserve-3d',          }).append(grid_div).append(grid_div2);        }        /* Get the current slide's image.*/        var cur_img = jQuery(current_image_class).find('div');        var next_img = jQuery(next_image_class).find('div');        /* Create a grid to hold the gridlets.*/        var grid = jQuery('<div />').addClass('wds_grid_1').css('perspective', 1000);        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/        jQuery(current_image_class).prepend(grid);        /* vars to calculate positioning/size of gridlets*/        var cont = jQuery(".wds_slide_bg_1");        var imgWidth = cur_img.width();        var imgHeight = cur_img.height();        var contWidth = cont.width(),            contHeight = cont.height(),            imgSrc = cur_img.css('background-image'),            imgSrcNext = next_img.css('background-image'),            colWidth = Math.floor(contWidth / cols),            rowHeight = Math.floor(contHeight / rows),            colRemainder = contWidth - (cols * colWidth),            colAdd = Math.ceil(colRemainder / cols),            rowRemainder = contHeight - (rows * rowHeight),            rowAdd = Math.ceil(rowRemainder / rows),            leftDist = 0,            img_leftDist = (jQuery(".wds_slide_bg_1").width() - cur_img.width()) / 2;        /* Loop through cols*/        for (var i = 0; i < cols; i++) {          var topDist = 0,              img_topDst = (jQuery(".wds_slide_bg_1").height() - cur_img.height()) / 2,              newColWidth = colWidth;          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/          if (colRemainder > 0) {            var add = colRemainder >= colAdd ? colAdd : colRemainder;            newColWidth += add;            colRemainder -= add;          }          /* Nested loop to create row gridlets for each col.*/          for (var j = 0; j < rows; j++)  {            var newRowHeight = rowHeight,                newRowRemainder = rowRemainder;            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/            if (newRowRemainder > 0) {              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;              newRowHeight += add;              newRowRemainder -= add;            }            /* Create & append gridlet to grid.*/            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgSrcNext, imgWidth, imgHeight, i, j));            topDist += newRowHeight;            img_topDst -= newRowHeight;          }                    img_leftDist -= newColWidth;          leftDist += newColWidth;        }        /* Show grid & hide the image it replaces.*/        grid.show();        cur_img.css('opacity', 0);                /* Execution steps.*/        setTimeout(function () {          grid.children().css({            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'          });        }, 1);        /* After transition.*/         var cccount = 0;         var obshicccount = cols * rows;         grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));         function wds_after_trans_each() {           if (++cccount == obshicccount) {             wds_after_trans();           }         }         function wds_after_trans() {          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});          cur_img.css('opacity', 1);          grid.remove();          wds_trans_in_progress_1 = false;          if (typeof wds_event_stack_1 !== 'undefined') {            if (wds_event_stack_1.length > 0) {              key = wds_event_stack_1[0].split("-");              wds_event_stack_1.shift();              wds_change_image_1(key[0], key[1], wds_data_1, true);            }          }        }      }      function wds_slic3DH_1(current_image_class, next_image_class, direction) {                 var dimension = jQuery(current_image_class).width() / 2;        if (direction == 'right') {          wds_grid3d_1(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }        else if (direction == 'left') {          wds_grid3d_1(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }      }      function wds_slic3DV_1(current_image_class, next_image_class, direction) {        var dimension = jQuery(current_image_class).height() / 2;        if (direction == 'right') {          wds_grid3d_1(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }        else if (direction == 'left') {          wds_grid3d_1(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }      }            function wds_slicR3DH_1(current_image_class, next_image_class, direction) {                 var dimension = jQuery(current_image_class).width() / 2;        if (direction == 'right') {          wds_grid3d_1(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');        }        else if (direction == 'left') {          wds_grid3d_1(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');        }      }      function wds_slicR3DV_1(current_image_class, next_image_class, direction) {        var dimension = jQuery(current_image_class).height() / 2;        if (direction == 'right') {          wds_grid3d_1(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 1, 'ease-in-out');        }        else if (direction == 'left') {          wds_grid3d_1(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 1, 'ease-in-out');        }      }      function wds_parallelSlide_1(ni_left, ni_top, tx, ty, current_image_class, next_image_class, direction, easing) {        /* If browser does not support 3d transforms/CSS transitions.*/        if (!wds_testBrowser_cssTransitions_1()) {          return wds_fallback_1(current_image_class, next_image_class, direction);        }        if (!wds_testBrowser_cssTransforms3d_1()) {          return wds_fallback3d_1(current_image_class, next_image_class, direction);        }        wds_trans_in_progress_1 = true;        /* Set active thumbnail.*/        jQuery(".wds_slideshow_filmstrip_thumbnail_1").removeClass("wds_slideshow_thumb_active_1").addClass("wds_slideshow_thumb_deactive_1");        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_1 + "_1").removeClass("wds_slideshow_thumb_deactive_1").addClass("wds_slideshow_thumb_active_1");        wds_set_dots_class_1();        jQuery(current_image_class).css({          position : 'absolute',          top : '0px',          left : '0px',          position : 'absolute',        });        jQuery(next_image_class).css({          position : 'absolute',          top : ni_top + 'px',          left : ni_left + 'px',          'opacity' : 1,           filter : 'Alpha(opacity=100)',          position : 'absolute',        });        jQuery(".wds_slider_1").css({          position : 'relative',          'backface-visibility': 'hidden'        });        jQuery(".wds_slide_bg_1").css({          overflow : 'hidden',        });        /* Execution steps.*/        setTimeout(function () {          jQuery('.wds_slider_1').css({            transition : 'all ' + wds_transition_duration_1 + 'ms ' + easing,            transform : 'translateX(' + tx + 'px) translateY(' + ty + 'px)',          });        }, 1);        /* After transition.*/        jQuery('.wds_slider_1').one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));        function wds_after_trans() {          jQuery(current_image_class).removeAttr('style');          jQuery(next_image_class).removeAttr('style');          jQuery(".wds_slider_1").removeAttr('style');          jQuery(".wds_slide_bg_1").removeAttr('style');          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});          wds_trans_in_progress_1 = false;          if (typeof wds_event_stack_1 !== 'undefined') {            if (wds_event_stack_1.length > 0) {              key = wds_event_stack_1[0].split("-");              wds_event_stack_1.shift();              wds_change_image_1(key[0], key[1], wds_data_1, true);            }          }        }      }      function wds_parallelSlideH_1(current_image_class, next_image_class, direction) {        var width = jQuery(current_image_class).width();        var height = jQuery(current_image_class).height();        if (direction == 'right') {          wds_parallelSlide_1(width, 0, -width, 0, current_image_class, next_image_class, direction, 'ease-in-out');        }        else if (direction == 'left') {          wds_parallelSlide_1(-width, 0, width, 0, current_image_class, next_image_class, direction, 'ease-in-out');        }      }      function wds_parallelSlideV_1(current_image_class, next_image_class, direction) {        var width = jQuery(current_image_class).width();        var height = jQuery(current_image_class).height();        if (direction == 'right') {          wds_parallelSlide_1(0, height, 0, -height, current_image_class, next_image_class, direction, 'ease-in-out');        }        else if (direction == 'left') {          wds_parallelSlide_1(0, -height, 0, height, current_image_class, next_image_class, direction, 'ease-in-out');        }      }      function wds_cube_1(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction, easing) {        /* If browser does not support 3d transforms/CSS transitions.*/        if (!wds_testBrowser_cssTransitions_1()) {          return wds_fallback_1(current_image_class, next_image_class, direction);        }        if (!wds_testBrowser_cssTransforms3d_1()) {          return wds_fallback3d_1(current_image_class, next_image_class, direction);        }        wds_trans_in_progress_1 = true;        /* Set active thumbnail.*/        jQuery(".wds_slideshow_filmstrip_thumbnail_1").removeClass("wds_slideshow_thumb_active_1").addClass("wds_slideshow_thumb_deactive_1");        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_1 + "_1").removeClass("wds_slideshow_thumb_deactive_1").addClass("wds_slideshow_thumb_active_1");        wds_set_dots_class_1();        jQuery(".wds_slide_container_1").css('overflow', 'visible');        jQuery(".wds_slideshow_image_spun2_1").css('overflow', 'visible');        jQuery(".wds_slideshow_image_wrap_1").css('overflow', 'visible');        var filmstrip_position = 'none';        if (filmstrip_position == 'none') {          jQuery(".wds_slideshow_image_1").css('border-radius', jQuery(".wds_slideshow_image_wrap_1").css('border-radius'));        }        else {          jQuery(".wds_slideshow_image_1").css('border-radius', '');          jQuery(".wds_slideshow_filmstrip_container_1").css('border-radius', '');          if (filmstrip_position == 'top') {            jQuery(".wds_slideshow_image_1").css('border-top-left-radius', 0);            jQuery(".wds_slideshow_image_1").css('border-top-right-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_1").css('border-bottom-left-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_1").css('border-bottom-right-radius', 0);          }          else if (filmstrip_position == 'bottom') {            jQuery(".wds_slideshow_image_1").css('border-bottom-left-radius', 0);            jQuery(".wds_slideshow_image_1").css('border-bottom-right-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_1").css('border-top-left-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_1").css('border-top-right-radius', 0);          }          else if (filmstrip_position == 'right') {            jQuery(".wds_slideshow_image_1").css('border-bottom-right-radius', 0);            jQuery(".wds_slideshow_image_1").css('border-top-right-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_1").css('border-bottom-left-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_1").css('border-top-left-radius', 0);          }          else if (filmstrip_position == 'left') {            jQuery(".wds_slideshow_image_1").css('border-bottom-left-radius', 0);            jQuery(".wds_slideshow_image_1").css('border-top-left-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_1").css('border-bottom-right-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_1").css('border-top-right-radius', 0);          }        }        jQuery(".wds_slide_bg_1").css('perspective', 1000);        jQuery(current_image_class).css({          transform : 'translateZ(' + tz + 'px)',          backfaceVisibility : 'hidden'        });        jQuery(next_image_class).css({          opacity : 1,          filter: 'Alpha(opacity=100)',          zIndex: 2,          backfaceVisibility : 'hidden',          transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)'        });        jQuery(".wds_slider_1").css({          transform: 'translateZ(-' + tz + 'px)',          transformStyle: 'preserve-3d',          position: 'absolute'        });        /* Execution steps.*/        setTimeout(function () {          jQuery(".wds_slider_1").css({            transition: 'all ' + wds_transition_duration_1 + 'ms ' + easing,            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'          });        }, 20);        /* After transition.*/        jQuery(".wds_slider_1").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));        function wds_after_trans() {          jQuery(current_image_class).removeAttr('style');          jQuery(next_image_class).removeAttr('style');          jQuery(".wds_slider_1").removeAttr('style');          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});          wds_trans_in_progress_1 = false;          if (typeof wds_event_stack_1 !== 'undefined') {            if (wds_event_stack_1.length > 0) {              key = wds_event_stack_1[0].split("-");              wds_event_stack_1.shift();              wds_change_image_1(key[0], key[1], wds_data_1, true);            }          }          jQuery(".wds_slide_container_1").css('overflow', 'hidden');          jQuery(".wds_slideshow_image_spun2_1").css('overflow', 'hidden');          jQuery(".wds_slideshow_image_wrap_1").css('overflow', 'hidden');        }      }      function wds_cubeR_1(current_image_class, next_image_class, direction) {        var random_direction = Math.floor(Math.random() * 2);        var dimension = random_direction ? jQuery(current_image_class).height() / 2 : jQuery(current_image_class).width() / 2;        if (direction == 'right') {         if (random_direction) {           wds_cube_1(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');         }         else {           wds_cube_1(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');         }        }        else if (direction == 'left') {         if (random_direction) {           wds_cube_1(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');         }         else {           wds_cube_1(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');         }        }      }      function wds_cubeH_1(current_image_class, next_image_class, direction) {        /* Set to half of image width.*/        var dimension = jQuery(current_image_class).width() / 2;        if (direction == 'right') {          wds_cube_1(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }        else if (direction == 'left') {          wds_cube_1(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }      }      function wds_cubeV_1(current_image_class, next_image_class, direction) {        /* Set to half of image height.*/        var dimension = jQuery(current_image_class).height() / 2;        /* If next slide.*/        if (direction == 'right') {          wds_cube_1(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }        else if (direction == 'left') {          wds_cube_1(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }      }      /* For browsers that does not support transitions.*/      function wds_fallback_1(current_image_class, next_image_class, direction) {        wds_fade_1(current_image_class, next_image_class, direction);      }      /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/      function wds_fallback3d_1(current_image_class, next_image_class, direction) {        wds_sliceV_1(current_image_class, next_image_class, direction);      }      function wds_none_1(current_image_class, next_image_class, direction) {        jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});        jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});        /* Set active thumbnail.*/        jQuery(".wds_slideshow_filmstrip_thumbnail_1").removeClass("wds_slideshow_thumb_active_1").addClass("wds_slideshow_thumb_deactive_1");        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_1 + "_1").removeClass("wds_slideshow_thumb_deactive_1").addClass("wds_slideshow_thumb_active_1");        wds_set_dots_class_1();      }      function wds_fade_1(current_image_class, next_image_class, direction) {        /* Set active thumbnail.*/        jQuery(".wds_slideshow_filmstrip_thumbnail_1").removeClass("wds_slideshow_thumb_active_1").addClass("wds_slideshow_thumb_deactive_1");        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_1 + "_1").removeClass("wds_slideshow_thumb_deactive_1").addClass("wds_slideshow_thumb_active_1");        wds_set_dots_class_1();        if (wds_testBrowser_cssTransitions_1()) {          jQuery(next_image_class).css('transition', 'opacity ' + wds_transition_duration_1 + 'ms linear');          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});        }        else {          jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, wds_transition_duration_1);          jQuery(next_image_class).animate({              'opacity' : 1,              'z-index': 2            }, {              duration: wds_transition_duration_1,              complete: function () {  }            });          /* For IE.*/          jQuery(current_image_class).fadeTo(wds_transition_duration_1, 0);          jQuery(next_image_class).fadeTo(wds_transition_duration_1, 1);        }      }      function wds_grid_1(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction, random, roy, easing) {        /* If browser does not support CSS transitions.*/        if (!wds_testBrowser_cssTransitions_1()) {          return wds_fallback_1(current_image_class, next_image_class, direction);        }        wds_trans_in_progress_1 = true;        /* Set active thumbnail.*/        jQuery(".wds_slideshow_filmstrip_thumbnail_1").removeClass("wds_slideshow_thumb_active_1").addClass("wds_slideshow_thumb_deactive_1");        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_1 + "_1").removeClass("wds_slideshow_thumb_deactive_1").addClass("wds_slideshow_thumb_active_1");        wds_set_dots_class_1();        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/        var count = (wds_transition_duration_1) / (cols + rows);        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/        function wds_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;          /* Return a gridlet elem with styles for specific transition.*/          var grid_div = jQuery('<div class="wds_gridlet_1" />').css({            width : imgWidth,/*"100%"*/            height : jQuery(".wds_slideshow_image_spun_1").height() + "px",            top : -top,            left : -left,            backgroundImage : src,            backgroundSize: jQuery(".wds_slideshow_image_1").css("background-size"),            backgroundPosition: jQuery(".wds_slideshow_image_1").css("background-position"),            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_1").css("background-color"),*/            backgroundRepeat: 'no-repeat'          });          return jQuery('<div class="wds_gridlet_1" />').css({            width : width,/*"100%"*/            height : height,            top : top,            left : left,            backgroundSize : imgWidth + 'px ' + imgHeight + 'px',            backgroundPosition : img_left + 'px ' + img_top + 'px',            backgroundRepeat: 'no-repeat',            overflow: "hidden",            transition : 'all ' + wds_transition_duration_1 + 'ms ' + easing + ' ' + delay + 'ms',            transform : 'none'          }).append(grid_div);        }        /* Get the current slide's image.*/        var cur_img = jQuery(current_image_class).find('div');        /* Create a grid to hold the gridlets.*/        var grid = jQuery('<div />').addClass('wds_grid_1');        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/        jQuery(current_image_class).prepend(grid);        /* vars to calculate positioning/size of gridlets*/        var cont = jQuery(".wds_slide_bg_1");        var imgWidth = cur_img.width();        var imgHeight = cur_img.height();        var contWidth = cont.width(),            contHeight = cont.height(),            imgSrc = cur_img.css('background-image'),/*.replace('/thumb', ''),*/            colWidth = Math.floor(contWidth / cols),            rowHeight = Math.floor(contHeight / rows),            colRemainder = contWidth - (cols * colWidth),            colAdd = Math.ceil(colRemainder / cols),            rowRemainder = contHeight - (rows * rowHeight),            rowAdd = Math.ceil(rowRemainder / rows),            leftDist = 0,            img_leftDist = (jQuery(".wds_slide_bg_1").width() - cur_img.width()) / 2;        /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/        tx = tx === 'auto' ? contWidth : tx;        tx = tx === 'min-auto' ? - contWidth : tx;        ty = ty === 'auto' ? contHeight : ty;        ty = ty === 'min-auto' ? - contHeight : ty;        /* Loop through cols*/        for (var i = 0; i < cols; i++) {          var topDist = 0,              img_topDst = (jQuery(".wds_slide_bg_1").height() - cur_img.height()) / 2,              newColWidth = colWidth;          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/          if (colRemainder > 0) {            var add = colRemainder >= colAdd ? colAdd : colRemainder;            newColWidth += add;            colRemainder -= add;          }          /* Nested loop to create row gridlets for each col.*/          for (var j = 0; j < rows; j++)  {            var newRowHeight = rowHeight,                newRowRemainder = rowRemainder;            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/            if (newRowRemainder > 0) {              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;              newRowHeight += add;              newRowRemainder -= add;            }            /* Create & append gridlet to grid.*/            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));            topDist += newRowHeight;            img_topDst -= newRowHeight;          }                    img_leftDist -= newColWidth;          leftDist += newColWidth;        }        /* Show grid & hide the image it replaces.*/        grid.show();        cur_img.css('opacity', 0);        /* Add identifying classes to corner gridlets (useful if applying border radius).*/        grid.children().first().addClass('rs-top-left');        grid.children().last().addClass('rs-bottom-right');        grid.children().eq(rows - 1).addClass('rs-bottom-left');        grid.children().eq(- rows).addClass('rs-top-right');        /* Execution steps.*/        setTimeout(function () {          grid.children().css({            opacity: op,            transform: 'rotate('+ ro +'deg) rotateY('+ roy +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')'          });        }, 1);        jQuery(next_image_class).css('opacity', 1);        /* After transition.*/        var cccount = 0;        var obshicccount = cols * rows;        grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));        function wds_after_trans_each() {         if (++cccount == obshicccount) {           wds_after_trans();         }        }        function wds_after_trans() {          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});          cur_img.css('opacity', 1);          grid.remove();          wds_trans_in_progress_1 = false;          if (typeof wds_event_stack_1 !== 'undefined') {            if (wds_event_stack_1.length > 0) {              key = wds_event_stack_1[0].split("-");              wds_event_stack_1.shift();              wds_change_image_1(key[0], key[1], wds_data_1, true);            }          }        }      }      function wds_sliceH_1(current_image_class, next_image_class, direction) {        if (direction == 'right') {          var translateX = 'min-auto';        }        else if (direction == 'left') {          var translateX = 'auto';        }        wds_grid_1(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_sliceV_1(current_image_class, next_image_class, direction) {        if (direction == 'right') {          var translateY = 'min-auto';        }        else if (direction == 'left') {          var translateY = 'auto';        }        wds_grid_1(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_slideV_1(current_image_class, next_image_class, direction) {        if (direction == 'right') {          var translateY = 'auto';        }        else if (direction == 'left') {          var translateY = 'min-auto';        }        wds_grid_1(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');      }      function wds_slideH_1(current_image_class, next_image_class, direction) {        if (direction == 'right') {          var translateX = 'min-auto';        }        else if (direction == 'left') {          var translateX = 'auto';        }        wds_grid_1(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');      }      function wds_scaleOut_1(current_image_class, next_image_class, direction) {        wds_grid_1(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_scaleIn_1(current_image_class, next_image_class, direction) {        wds_grid_1(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_blockScale_1(current_image_class, next_image_class, direction) {        wds_grid_1(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_blockScaleR_1(current_image_class, next_image_class, direction) {        wds_grid_1(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 1, 0, 'ease-in-out');      }      function wds_blindR_1(current_image_class, next_image_class, direction) {        wds_grid_1(8, 1, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');      }      function wds_tilesR_1(current_image_class, next_image_class, direction) {        wds_grid_1(8, 8, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');      }      function wds_kaleidoscope_1(current_image_class, next_image_class, direction) {        wds_grid_1(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_fan_1(current_image_class, next_image_class, direction) {        if (direction == 'right') {          var rotate = 45;          var translateX = 100;        }        else if (direction == 'left') {          var rotate = -45;          var translateX = -100;        }        wds_grid_1(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_blindV_1(current_image_class, next_image_class, direction) {        wds_grid_1(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_blindH_1(current_image_class, next_image_class, direction) {        wds_grid_1(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_random_1(current_image_class, next_image_class, direction) {        var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV', 'parallelSlideH', 'parallelSlideV'];        /* Pick a random transition from the anims array.*/        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_1"](current_image_class, next_image_class, direction);      }      function wds_3Drandom_1(current_image_class, next_image_class, direction) {        var anims = ['cubeH', 'cubeV', 'cubeR', 'slic3DH', 'slic3DV', 'slicR3DH', 'slicR3DV'];        /* Pick a random transition from the anims array.*/        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_1"](current_image_class, next_image_class, direction);      }      function iterator_1() {        var iterator = 1;        if (1) {          iterator = Math.floor((wds_data_1.length - 1) * Math.random() + 1);        }        return iterator;      }      function wds_change_image_1(current_key, key, wds_data_1, from_effect) {                /* Pause videos.*/        jQuery("#wds_slideshow_image_container_1").find("iframe").each(function () {          jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');          jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*");        });        if (wds_data_1[key]) {          if (jQuery('.wds_ctrl_btn_1').hasClass('fa-pause') || ('1')) {            play_1();          }          if (!from_effect) {            /* Change image key.*/            jQuery("#wds_current_image_key_1").val(key);            if (current_key == '-1') { /* Filmstrip.*/              current_key = jQuery(".wds_slideshow_thumb_active_1").children("img").attr("image_key");            }            else if (current_key == '-2') { /* Dots.*/              current_key = jQuery(".wds_slideshow_dots_active_1").attr("image_key");            }          }          if (wds_trans_in_progress_1) {            wds_event_stack_1.push(current_key + '-' + key);            return;          }          var direction = 'right';          if (wds_current_key_1 > key) {            var direction = 'left';          }          else if (wds_current_key_1 == key) {            return;          }          /* Set active thumbnail position.*/          wds_current_filmstrip_pos_1 = key * (jQuery(".wds_slideshow_filmstrip_thumbnail_1").width() + 2 + 2 * 0);          wds_current_key_1 = key;          /* Change image id.*/          jQuery("div[img_id=wds_slideshow_image_1]").attr('image_id', wds_data_1[key]["id"]);          var current_image_class = "#image_id_1_" + wds_data_1[current_key]["id"];          var next_image_class = "#image_id_1_" + wds_data_1[key]["id"];                    if (!wds_data_1[key]["is_video"]) {            jQuery(next_image_class).find("div").css("background-image", 'url("' + wds_data_1[key]["image_url"] + '")');          }                    var current_slide_layers_count = wds_data_1[current_key]["slide_layers_count"];          var next_slide_layers_count = wds_data_1[key]["slide_layers_count"];          /* Clear layers before image change.*/          function set_layer_effect_out_before_change(m) {            wds_clear_layers_effects_out_before_change_1[current_key][m] = setTimeout(function() {              if (wds_data_1[current_key]["layer_" + m + "_type"] != 'social') {                jQuery('#wds_1_slide' + wds_data_1[current_key]["id"] + '_layer' + wds_data_1[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');                jQuery('#wds_1_slide' + wds_data_1[current_key]["id"] + '_layer' + wds_data_1[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_1[current_key]["layer_" + m + "_layer_effect_out"] + ' animated');              }              else {                jQuery('#wds_1_slide' + wds_data_1[current_key]["id"] + '_layer' + wds_data_1[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');                jQuery('#wds_1_slide' + wds_data_1[current_key]["id"] + '_layer' + wds_data_1[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_1[current_key]["layer_" + m + "_layer_effect_out"] + ' fa fa-' + wds_data_1[current_key]["layer_" + m + "_social_button"] + ' animated');              }            }, 10);          }          if (0) {            for (var m = 0; m < current_slide_layers_count; m++) {              if (jQuery('#wds_1_slide' + wds_data_1[current_key]["id"] + '_layer' + wds_data_1[current_key]["layer_" + m + "_id"]).css('opacity') != 0) {                set_layer_effect_out_before_change(m);              }            }          }          /* Loop through current slide layers for clear effects.*/          setTimeout(function() {            for (var k = 0; k < current_slide_layers_count; k++) {              clearTimeout(wds_clear_layers_effects_in_1[current_key][k]);              clearTimeout(wds_clear_layers_effects_out_1[current_key][k]);              if (wds_data_1[current_key]["layer_" + k + "_type"] != 'social') {                jQuery('#wds_1_slide' + wds_data_1[current_key]["id"] + '_layer' + wds_data_1[current_key]["layer_" + k + "_id"]).removeClass().addClass('wds_layer_'+ wds_data_1[current_key]["layer_" + k + "_id"]);              }              else {                jQuery('#wds_1_slide' + wds_data_1[current_key]["id"] + '_layer' + wds_data_1[current_key]["layer_" + k + "_id"]).removeClass().addClass('fa fa-' + wds_data_1[current_key]["layer_" + k + "_social_button"] + ' wds_layer_' + wds_data_1[current_key]["layer_" + k + "_id"]);              }            }          }, wds_duration_for_clear_effects_1);          /* Effects out part.*/          function set_layer_effect_out(i) {            wds_clear_layers_effects_out_1[key][i] = setTimeout(function() {              if (wds_data_1[key]["layer_" + i + "_layer_effect_out"] != 'none') {                if (wds_data_1[key]["layer_" + i + "_type"] != 'social') {	                  jQuery('#wds_1_slide' + wds_data_1[key]["id"] + '_layer' + wds_data_1[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_1[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_1[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				                   jQuery('#wds_1_slide' + wds_data_1[key]["id"] + '_layer' + wds_data_1[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_1[key]["layer_" + i + "_layer_effect_out"] + ' animated');                }                else {                  jQuery('#wds_1_slide' + wds_data_1[key]["id"] + '_layer' + wds_data_1[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_1[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_1[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');                  jQuery('#wds_1_slide' + wds_data_1[key]["id"] + '_layer' + wds_data_1[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_1[key]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_1[key]["layer_" + i + "_social_button"] + ' animated');                }              }            }, wds_data_1[key]["layer_" + i + "_end"]);          }          /* Effects in part.*/          function set_layer_effect_in(j) {            wds_clear_layers_effects_in_1[key][j] = setTimeout(function() {              if (wds_data_1[key]["layer_" + j + "_type"] != 'social') {                jQuery('#wds_1_slide' + wds_data_1[key]["id"] + '_layer' + wds_data_1[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_1[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_1[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			                 jQuery('#wds_1_slide' + wds_data_1[key]["id"] + '_layer' + wds_data_1[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_1[key]["layer_" + j + "_layer_effect_in"] + ' animated');              }              else {                jQuery('#wds_1_slide' + wds_data_1[key]["id"] + '_layer' + wds_data_1[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_1[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_1[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');                jQuery('#wds_1_slide' + wds_data_1[key]["id"] + '_layer' + wds_data_1[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_1[key]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_1[key]["layer_" + j + "_social_button"] + ' animated');              }            }, wds_data_1[key]["layer_" + j + "_start"]);          }          /* Loop through layers in.*/          for (var j = 0; j < next_slide_layers_count; j++) {            set_layer_effect_in(j);          }          /* Loop through layers out if pause button not pressed.*/          if (jQuery(".wds_ctrl_btn_1").hasClass("fa-pause")) {            for (var i = 0; i < next_slide_layers_count; i++) {              set_layer_effect_out(i);            }          }          setTimeout(function() {            if (typeof jQuery().finish !== 'undefined') {              if (jQuery.isFunction(jQuery().finish)) {                jQuery(".wds_line_timer_1").finish();              }            }            jQuery(".wds_line_timer_1").css({width: 0});            wds_fade_1(current_image_class, next_image_class, direction);            if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_1').hasClass('fa-pause'))) {              if (!jQuery(".wds_ctrl_btn_1").hasClass("fa-play")) {                jQuery(".wds_line_timer_1").animate({                  width: "100%"                }, {                  duration: 4000,                  specialEasing: {width: "linear"}                });              }                          }                        if (wds_data_1[key]["is_video"]) {              jQuery("#wds_slideshow_play_pause_1").css({display: 'none'});            }            else {              jQuery("#wds_slideshow_play_pause_1").css({display: ''});            }          }, wds_duration_for_change_1);        }      }      function wds_resize_slider_1() {        var slide_orig_width = 800;        var slide_orig_height = 300;        var slide_width = jQuery("#wds_container1_1").parent().width();        if (slide_orig_width <= slide_width) {          slide_width = slide_orig_width;        }        var ratio = slide_width / slide_orig_width;                var slide_height = slide_orig_height;        if (slide_orig_width > slide_width) {          slide_height = Math.floor(slide_width * slide_orig_height / slide_orig_width);        }        jQuery(".wds_slideshow_image_wrap_1, #wds_container2_1").height(slide_height + 0);        jQuery(".wds_slideshow_image_container_1").height(slide_height);        jQuery(".wds_slideshow_image_1").height(slide_height);        jQuery(".wds_slideshow_video_1").height(slide_height);        jQuery(".wds_slideshow_image_1 img").each(function () {          var wds_theImage = new Image();          wds_theImage.src = jQuery(this).attr("src");          var wds_origWidth = wds_theImage.width;          var wds_origHeight = wds_theImage.height;          var wds_imageWidth = jQuery(this).attr("wds_image_width");          var wds_imageHeight = jQuery(this).attr("wds_image_height");          var wds_width = wds_imageWidth;          if (wds_origWidth <= wds_imageWidth) {            wds_width = wds_origWidth;          }          var wds_height = wds_imageHeight;          if (wds_origHeight <= wds_imageHeight) {            wds_height = wds_origHeight;          }          jQuery(this).css({            maxWidth: (parseFloat(wds_imageWidth) * ratio) + "px",            maxHeight: (parseFloat(wds_imageHeight) * ratio) + "px",          });          if (jQuery(this).attr("wds_scale") != "on") {            jQuery(this).css({              width: (parseFloat(wds_imageWidth) * ratio) + "px",              height: (parseFloat(wds_imageHeight) * ratio) + "px"            });          }          else if (wds_origWidth <= wds_imageWidth || wds_origHeight <= wds_imageHeight) {            if (wds_origWidth / wds_imageWidth > wds_origHeight / wds_imageHeight) {              jQuery(this).css({                width: (parseFloat(wds_imageWidth) * ratio) + "px"              });            }            else {              jQuery(this).css({                height: (parseFloat(wds_imageHeight) * ratio) + "px"              });            }          }        });        jQuery(".wds_slideshow_image_1 span, .wds_slideshow_image_1 i").each(function () {          jQuery(this).css({            fontSize: (parseFloat(jQuery(this).attr("wds_fsize")) * ratio) + "px",            lineHeight: "1.25em",            paddingLeft: (parseFloat(jQuery(this).attr("wds_fpaddingl")) * ratio) + "px",            paddingRight: (parseFloat(jQuery(this).attr("wds_fpaddingr")) * ratio) + "px",            paddingTop: (parseFloat(jQuery(this).attr("wds_fpaddingt")) * ratio) + "px",            paddingBottom: (parseFloat(jQuery(this).attr("wds_fpaddingb")) * ratio) + "px",          })        });      }      function wds_genBgPos_1() {        var bgSizeArray = [0, 70];        var bgSize = bgSizeArray[Math.floor(Math.random() * bgSizeArray.length)];                var bgPosXArray = ['left', 'right'];        var bgPosYArray = ['top', 'bottom'];        var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];        var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];        jQuery(".wds_slideshow_image_1").css({          backgroundPosition: bgPosX + " " + bgPosY,          backgroundSize : (100 + bgSize) + "%",          webkitAnimation: '4s linear 0s alternate infinite wdszoom' + bgSize,          mozAnimation: '4s linear 0s alternate infinite wdszoom' + bgSize,          animation: '4s linear 0s alternate infinite wdszoom' + bgSize        });      }      jQuery(window).resize(function () {        wds_resize_slider_1();      });      function wds_full_width_1() {        var left = jQuery("#wds_container1_1").offset().left;        jQuery(".wds_slideshow_image_wrap_1").css({          left: (-left + 0) + "px",          width: (jQuery(window).width() - 0) + "px",          maxWidth: "none"        });      }      jQuery(window).load(function () {                jQuery("#wds_container1_1").mouseover(function(e) {          wds_stop_animation_1();        });        jQuery("#wds_container1_1").mouseout(function(e) {          if (!e) {            var e = window.event;          }          var reltg = (e.relatedTarget) ? e.relatedTarget : e.toElement;          while (reltg.tagName != 'BODY') {            if (reltg.id == this.id){              return;            }            reltg = reltg.parentNode;          }          wds_play_animation_1();        });                jQuery(".wds_slideshow_image_1 span, .wds_slideshow_image_1 i").each(function () {          jQuery(this).attr("wds_fpaddingl", jQuery(this).css("paddingLeft"));          jQuery(this).attr("wds_fpaddingr", jQuery(this).css("paddingRight"));          jQuery(this).attr("wds_fpaddingt", jQuery(this).css("paddingTop"));          jQuery(this).attr("wds_fpaddingb", jQuery(this).css("paddingBottom"));        });        if (4000) {          jQuery("#wds_container2_1").hover(function () {            jQuery(".wds_right-ico_1").animate({left: 0}, 700, "swing");            jQuery(".wds_left-ico_1").animate({left: 0}, 700, "swing");            jQuery("#wds_slideshow_play_pause_1").animate({opacity: 1, filter: "Alpha(opacity=100)"}, 700, "swing");          }, function () {            jQuery(".wds_right-ico_1").css({left: 4000});            jQuery(".wds_left-ico_1").css({left: -4000});            jQuery("#wds_slideshow_play_pause_1").css({opacity: 0, filter: "Alpha(opacity=0)"});          });        }        wds_resize_slider_1();        jQuery("#wds_container2_1").css({visibility: 'visible'});        jQuery(".wds_loading").hide();      	        if (typeof jQuery().swiperight !== 'undefined') {          if (jQuery.isFunction(jQuery().swiperight)) {            jQuery('#wds_container1_1').swiperight(function () {              wds_change_image_1(parseInt(jQuery('#wds_current_image_key_1').val()), (parseInt(jQuery('#wds_current_image_key_1').val()) - iterator_1()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_1').val()) - iterator_1()) % wds_data_1.length : wds_data_1.length - 1, wds_data_1);              return false;            });          }        }        if (typeof jQuery().swipeleft !== 'undefined') {          if (jQuery.isFunction(jQuery().swipeleft)) {            jQuery('#wds_container1_1').swipeleft(function () {              wds_change_image_1(parseInt(jQuery('#wds_current_image_key_1').val()), (parseInt(jQuery('#wds_current_image_key_1').val()) + iterator_1()) % wds_data_1.length, wds_data_1);              return false;            });          }        }        var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));        var wds_click = isMobile ? 'touchend' : 'click';        var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */        jQuery('.wds_slideshow_filmstrip_1').bind(mousewheelevt, function(e) {          var evt = window.event || e; /* Equalize event object.*/          evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/          var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/          if (delta > 0) {            /* Scroll up.*/            jQuery(".wds_slideshow_filmstrip_left_1").trigger("click");          }          else {            /* Scroll down.*/            jQuery(".wds_slideshow_filmstrip_right_1").trigger("click");          }          return false;        });        jQuery(".wds_slideshow_filmstrip_right_1").on(wds_click, function () {          if (typeof jQuery().stop !== 'undefined') {            if (jQuery.isFunction(jQuery().stop)) {              jQuery( ".wds_slideshow_filmstrip_thumbnails_1" ).stop(true, false);            }          }          if (jQuery(".wds_slideshow_filmstrip_thumbnails_1").position().left >= -(jQuery(".wds_slideshow_filmstrip_thumbnails_1").width() - jQuery(".wds_slideshow_filmstrip_1").width())) {            jQuery(".wds_slideshow_filmstrip_left_1").css({opacity: 1, filter: "Alpha(opacity=100)"});            if (jQuery(".wds_slideshow_filmstrip_thumbnails_1").position().left < -(jQuery(".wds_slideshow_filmstrip_thumbnails_1").width() - jQuery(".wds_slideshow_filmstrip_1").width() - 0)) {              jQuery(".wds_slideshow_filmstrip_thumbnails_1").animate({left: -(jQuery(".wds_slideshow_filmstrip_thumbnails_1").width() - jQuery(".wds_slideshow_filmstrip_1").width())}, 500, 'linear');            }            else {              jQuery(".wds_slideshow_filmstrip_thumbnails_1").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_1").position().left - 0)}, 500, 'linear');            }          }          /* Disable right arrow.*/          window.setTimeout(function() {            if (jQuery(".wds_slideshow_filmstrip_thumbnails_1").position().left == -(jQuery(".wds_slideshow_filmstrip_thumbnails_1").width() - jQuery(".wds_slideshow_filmstrip_1").width())) {              jQuery(".wds_slideshow_filmstrip_right_1").css({opacity: 0.3, filter: "Alpha(opacity=30)"});            }          }, 500);        });        jQuery(".wds_slideshow_filmstrip_left_1").on(wds_click, function () {          if (typeof jQuery().stop !== 'undefined') {            if (jQuery.isFunction(jQuery().stop)) {              jQuery( ".wds_slideshow_filmstrip_thumbnails_1" ).stop(true, false);            }          }          if (jQuery(".wds_slideshow_filmstrip_thumbnails_1").position().left < 0) {            jQuery(".wds_slideshow_filmstrip_right_1").css({opacity: 1, filter: "Alpha(opacity=100)"});            if (jQuery(".wds_slideshow_filmstrip_thumbnails_1").position().left > - 0) {              jQuery(".wds_slideshow_filmstrip_thumbnails_1").animate({left: 0}, 500, 'linear');            }            else {              jQuery(".wds_slideshow_filmstrip_thumbnails_1").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_1").position().left + 0)}, 500, 'linear');            }          }          /* Disable left arrow.*/          window.setTimeout(function(){            if (jQuery(".wds_slideshow_filmstrip_thumbnails_1").position().left == 0) {              jQuery(".wds_slideshow_filmstrip_left_1").css({opacity: 0.3, filter: "Alpha(opacity=30)"});            }          }, 500);        });        /* Set filmstrip initial position.*/        wds_set_filmstrip_pos_1(jQuery(".wds_slideshow_filmstrip_1").width());        /* Play/pause.*/        jQuery("#wds_slideshow_play_pause_1").on(wds_click, function () {          if (jQuery(".wds_ctrl_btn_1").hasClass("fa-play")) {            /* Play.*/            jQuery(".wds_slideshow_play_pause_1").attr("title", "Pause");            jQuery(".wds_slideshow_play_pause_1").attr("class", "wds_ctrl_btn_1 wds_slideshow_play_pause_1 fa fa-pause");            play_1();            if (0) {              document.getElementById("wds_audio_1").play();            }          }          else {            /* Pause.*/            /* Pause layers out effect.*/            var current_key = jQuery('#wds_current_image_key_1').val();            var current_slide_layers_count = wds_data_1[current_key]["slide_layers_count"];            setTimeout(function() {              for (var k = 0; k < current_slide_layers_count; k++) {                clearTimeout(wds_clear_layers_effects_out_1[current_key][k]);              }            }, wds_duration_for_clear_effects_1);            window.clearInterval(wds_playInterval_1);            jQuery(".wds_slideshow_play_pause_1").attr("title", "Play");            jQuery(".wds_slideshow_play_pause_1").attr("class", "wds_ctrl_btn_1 wds_slideshow_play_pause_1 fa fa-play");            if (0) {              document.getElementById("wds_audio_1").pause();            }            if (typeof jQuery().stop !== 'undefined') {              if (jQuery.isFunction(jQuery().stop)) {                jQuery(".wds_line_timer_1").stop();              }            }          }        });        if (1) {          play_1();          jQuery(".wds_slideshow_play_pause_1").attr("title", "Pause");          jQuery(".wds_slideshow_play_pause_1").attr("class", "wds_ctrl_btn_1 wds_slideshow_play_pause_1 fa fa-pause");          if (0) {            document.getElementById("wds_audio_1").play();          }        }                function wds_preload_1(preload_key) {          jQuery("<img/>")            .load(function() { if (preload_key < wds_data_1.length - 1) wds_preload_1(preload_key + 1); })            .error(function() { if (preload_key < wds_data_1.length - 1) wds_preload_1(preload_key + 1); })            .attr("src", (!wds_data_1[preload_key]["is_video"] ? wds_data_1[preload_key]["image_url"] : ""));        }        wds_preload_1(0);                var first_slide_layers_count_1 = wds_data_1[0]["slide_layers_count"];        if (first_slide_layers_count_1) {          /* Loop through layers in.*/          for (var j = 0; j < first_slide_layers_count_1; j++) {            set_layer_effect_in_onload_1(j);          }          /* Loop through layers out.*/          for (var i = 0; i < first_slide_layers_count_1; i++) {            set_layer_effect_out_onload_1(i);          }        }      });	    function wds_stop_animation_1() {        window.clearInterval(wds_playInterval_1);        /* Pause layers out effect.*/        var current_key = jQuery('#wds_current_image_key_1').val();        var current_slide_layers_count = wds_data_1[current_key]["slide_layers_count"];			        setTimeout(function() {          for (var k = 0; k < current_slide_layers_count; k++) {            clearTimeout(wds_clear_layers_effects_out_1[current_key][k]);          }        }, wds_duration_for_clear_effects_1);        if (0) {          document.getElementById("wds_audio_1").pause();        }        if (typeof jQuery().stop !== 'undefined') {          if (jQuery.isFunction(jQuery().stop)) {            jQuery(".wds_line_timer_1").stop();          }        }			}      function wds_play_animation_1() {        if (jQuery(".wds_ctrl_btn_1").hasClass("fa-play")) {          return;        }		    play_1();        if (0) {          document.getElementById("wds_audio_1").play();        }	       }      /* Effects in part.*/				  function set_layer_effect_in_onload_1(j) {		    wds_clear_layers_effects_in_1[0][j] = setTimeout(function(){          if (wds_data_1[0]["layer_" + j + "_type"] != 'social') {            jQuery('#wds_1_slide' + wds_data_1[0]["id"] + '_layer' + wds_data_1[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_1[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_1[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 		        jQuery('#wds_1_slide' + wds_data_1[0]["id"] + '_layer' + wds_data_1[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_1[0]["layer_" + j + "_layer_effect_in"] + ' animated');		      }          else {            jQuery('#wds_1_slide' + wds_data_1[0]["id"] + '_layer' + wds_data_1[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_1[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_1[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');	            jQuery('#wds_1_slide' + wds_data_1[0]["id"] + '_layer' + wds_data_1[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_1[0]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_1[0]["layer_" + j + "_social_button"] + ' animated');          }		    }, wds_data_1[0]["layer_" + j + "_start"]);		  }      /* Effects out part.*/		  function set_layer_effect_out_onload_1(i) {			  wds_clear_layers_effects_out_1[0][i] = setTimeout(function() {          if (wds_data_1[0]["layer_" + i + "_layer_effect_out"] != 'none') {            if (wds_data_1[0]["layer_" + i + "_type"] != 'social') {              jQuery('#wds_1_slide' + wds_data_1[0]["id"] + '_layer' + wds_data_1[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_1[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_1[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				               jQuery('#wds_1_slide' + wds_data_1[0]["id"] + '_layer' + wds_data_1[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_1[0]["layer_" + i + "_layer_effect_out"] + ' animated');            }            else {              jQuery('#wds_1_slide' + wds_data_1[0]["id"] + '_layer' + wds_data_1[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_1[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_1[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');              jQuery('#wds_1_slide' + wds_data_1[0]["id"] + '_layer' + wds_data_1[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_1[0]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_1[0]["layer_" + i + "_social_button"] + ' animated');            }          }		    }, wds_data_1[0]["layer_" + i + "_end"]);		  }      function play_1() {        if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_1').hasClass('fa-pause'))) {          jQuery(".wds_line_timer_1").animate({            width: "100%"          }, {            duration: 4000,            specialEasing: {width: "linear"}          });        }        window.clearInterval(wds_playInterval_1);        /* Play.*/        wds_playInterval_1 = setInterval(function () {          var iterator = 1;          if (1) {            iterator = Math.floor((wds_data_1.length - 1) * Math.random() + 1);          }          wds_change_image_1(parseInt(jQuery('#wds_current_image_key_1').val()), (parseInt(jQuery('#wds_current_image_key_1').val()) + iterator) % wds_data_1.length, wds_data_1)        }, '4000');      }      jQuery(window).focus(function() {        if (!jQuery(".wds_ctrl_btn_1").hasClass("fa-play")) {          if (1) {            play_1();          }        }        var i_1 = 0;        jQuery(".wds_slider_1").children("span").each(function () {          if (jQuery(this).css('opacity') == 1) {            jQuery("#wds_current_image_key_1").val(i_1);          }          i_1++;        });      });      jQuery(window).blur(function() {        wds_event_stack_1 = [];        window.clearInterval(wds_playInterval_1);        if (typeof jQuery().stop !== 'undefined') {          if (jQuery.isFunction(jQuery().stop)) {            jQuery(".wds_line_timer_1").stop();          }        }      });    </script>    
<hr />
<p>&#8216;At this stage, we are in the initial recovery period. The past several days have been spent salvaging, documenting, and discarding classroom materials.  Almost anything touched by floodwaters is useless.  Furniture, office equipment, books, and instruments are all being discarded. Our teachers and staff have been working long-hours everyday to mitigate the losses and push towards resuming a normal school schedule.  Our high school building was spared, but every other building on campus suffered major damage during the storm.</p>
<figure id="attachment_17488" style="max-width: 331px" class="wp-caption aligncenter"><a href="https://i2.wp.com/pipingpress.com/wp-content/uploads/2017/09/band-3.jpg?ssl=1"><img data-attachment-id="17488" data-permalink="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/band-3/" data-orig-file="https://i2.wp.com/pipingpress.com/wp-content/uploads/2017/09/band-3.jpg?fit=574%2C571&amp;ssl=1" data-orig-size="574,571" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="band-3" data-image-description="" data-medium-file="https://i2.wp.com/pipingpress.com/wp-content/uploads/2017/09/band-3.jpg?fit=300%2C298&amp;ssl=1" data-large-file="https://i2.wp.com/pipingpress.com/wp-content/uploads/2017/09/band-3.jpg?fit=474%2C472&amp;ssl=1" class=" wp-image-17488" src="https://i2.wp.com/pipingpress.com/wp-content/uploads/2017/09/band-3.jpg?resize=331%2C330&#038;ssl=1" alt="" width="331" height="330" srcset="https://i2.wp.com/pipingpress.com/wp-content/uploads/2017/09/band-3.jpg?w=574&amp;ssl=1 574w, https://i2.wp.com/pipingpress.com/wp-content/uploads/2017/09/band-3.jpg?resize=150%2C150&amp;ssl=1 150w, https://i2.wp.com/pipingpress.com/wp-content/uploads/2017/09/band-3.jpg?resize=300%2C298&amp;ssl=1 300w, https://i2.wp.com/pipingpress.com/wp-content/uploads/2017/09/band-3.jpg?resize=50%2C50&amp;ssl=1 50w" sizes="(max-width: 331px) 100vw, 331px" data-recalc-dims="1" /></a><figcaption class="wp-caption-text">One of the band&#8217;s many trophies is reflected in the perfectly still but muddy flood water</figcaption></figure>
<p>&#8216;Sadly, the band room was one of the areas hardest hit. On Friday before the storm, we moved drums, pipes, and many valuable items to higher ground.  We’ve weathered hurricanes before. Allison in 1995, Rita in 2005, and Ike in 2008.  I experienced the last two first hand.  Both storms were stronger when they came ashore, but neither dumped nearly as much precipitation as Harvey. The band room had never really come close to flooding during those storms, so we figured moving equipment up 12 or 14 inches would be a sufficient cushion. Judging by the water line in the piping room, water was somewhere around two feet deep.  I know some areas of campus, like the church, had around a metre of water.</p>
<figure id="attachment_17489" style="max-width: 285px" class="wp-caption aligncenter"><a href="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-2.jpg?ssl=1"><img data-attachment-id="17489" data-permalink="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/school-2/" data-orig-file="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-2.jpg?fit=524%2C775&amp;ssl=1" data-orig-size="524,775" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="school-2" data-image-description="" data-medium-file="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-2.jpg?fit=203%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-2.jpg?fit=474%2C701&amp;ssl=1" class=" wp-image-17489" src="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-2.jpg?resize=285%2C421&#038;ssl=1" alt="" width="285" height="421" srcset="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-2.jpg?w=524&amp;ssl=1 524w, https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/school-2.jpg?resize=203%2C300&amp;ssl=1 203w" sizes="(max-width: 285px) 100vw, 285px" data-recalc-dims="1" /></a><figcaption class="wp-caption-text">Flooded school corridor</figcaption></figure>
<p>&#8216;We are still taking stock of what has been lost, but so far we’ve thrown away around ten sets of Highland pipes, several drums, half a dozen sets of small pipes, many music books, numerous other concert instruments, and thousands of dollars worth of recording equipment. Almost 30 juvenile band uniforms, as well as a dozen alumni uniforms have also been destroyed. There were instruments and supplies lost in homes as well, but we don’t have an accurate count on these items. In these cases, bagpipes are the least of their concerns.<a href="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/st-thomas-band.jpg?ssl=1"><img data-attachment-id="17492" data-permalink="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/st-thomas-band/" data-orig-file="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/st-thomas-band.jpg?fit=756%2C384&amp;ssl=1" data-orig-size="756,384" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="st-thomas&#8217;-band" data-image-description="" data-medium-file="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/st-thomas-band.jpg?fit=300%2C152&amp;ssl=1" data-large-file="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/st-thomas-band.jpg?fit=474%2C241&amp;ssl=1" class="aligncenter size-full wp-image-17492" src="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/st-thomas-band.jpg?resize=474%2C241&#038;ssl=1" alt="" width="474" height="241" srcset="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/st-thomas-band.jpg?w=756&amp;ssl=1 756w, https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/09/st-thomas-band.jpg?resize=300%2C152&amp;ssl=1 300w" sizes="(max-width: 474px) 100vw, 474px" data-recalc-dims="1" /></a></p>
<p>&#8216;It has been a tragic but inspiring week.  We have seen our community work in ways we never imagined. We’ve also had an overwhelming show of support from pipers and drummers everywhere wondering how they can assist us. If any PP reader would like to make a monetary donation, please visit the Saint Thomas’ Flood Relief Fund webpage.  Go to <a href="http://stesflood.org">ste.church/flood</a> and following the instructions to make your contribution.  All proceeds go to rebuilding the church and school. The band is also taking in-kind donations of instruments and supplies. Please contact Vernon King, <a href="mailto:king.vernon@stes.org">king.vernon@stes.org</a>, or Lyric Todkill, <a href="mailto:Todkill.lyric@stes.org">Todkill.lyric@stes.org</a> for more information about what is needed.&#8217;</p>
<hr />
    <style>      #wds_container1_2 #wds_container2_2 {        text-align: center;        margin: 0px ;        visibility: hidden;              }      #wds_container1_2 #wds_container2_2 .wds_slideshow_image_wrap_2 * {        box-sizing: border-box;        -moz-box-sizing: border-box;        -webkit-box-sizing: border-box;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_image_wrap_2 {        background-color: rgba(0, 0, 0, 0.00);        border-width: 0px;        border-style: solid;        border-color: #0D0D0D;        border-radius: ;        border-collapse: collapse;        display: inline-block;        position: relative;        text-align: center;        width: 100%;        max-width: 800px;        box-shadow: ;        overflow: hidden;        z-index: 0;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_image_2 {        padding: 0 !important;        margin: 0 !important;        float: none !important;        vertical-align: middle;        background-position: center center;        background-repeat: no-repeat;        background-size: cover;        width: 100%;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_image_container_2 {        display: table;        position: absolute;        text-align: center;        none: 0px;        vertical-align: middle;        width: 100%;        height: inherit;      }            @media only screen and (min-width: 0px) and (max-width: 320px) {        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 {          height: 16px;          width: 16px;        }        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 {          font-size: 12px;          width: 12px;          margin: 2px;          height: 12px;        }        #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont {            font-size: 20px;          height: 20px;          width: 20px;        }        #wds_container1_2 #wds_container2_2 .wds_left_btn_cont,        #wds_container1_2 #wds_container2_2 .wds_right_btn_cont {          height: 20px;          font-size: 20px;          width: 20px;        }      }              @media only screen and (min-width: 321px) and (max-width: 480px) {        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 {          height: 22px;          width: 22px;        }        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 {          font-size: 18px;          width: 18px;          margin: 2px;          height: 18px;        }        #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont {            font-size: 30px;          height: 30px;          width: 30px;        }        #wds_container1_2 #wds_container2_2 .wds_left_btn_cont,        #wds_container1_2 #wds_container2_2 .wds_right_btn_cont {          height: 30px;          font-size: 30px;          width: 30px;        }      }              @media only screen and (min-width: 481px) and (max-width: 640px) {        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 {          height: 26px;          width: 26px;        }        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_2 #wds_container2_2 .wds_left_btn_cont,        #wds_container1_2 #wds_container2_2 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              @media only screen and (min-width: 641px) and (max-width: 768px) {        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 {          height: 26px;          width: 26px;        }        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_2 #wds_container2_2 .wds_left_btn_cont,        #wds_container1_2 #wds_container2_2 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              @media only screen and (min-width: 769px) and (max-width: 800px) {        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 {          height: 26px;          width: 26px;        }        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_2 #wds_container2_2 .wds_left_btn_cont,        #wds_container1_2 #wds_container2_2 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              @media only screen and (min-width: 801px) and (max-width: 1024px) {        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 {          height: 26px;          width: 26px;        }        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_2 #wds_container2_2 .wds_left_btn_cont,        #wds_container1_2 #wds_container2_2 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              @media only screen and (min-width: 1025px) and (max-width: 1366px) {        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 {          height: 26px;          width: 26px;        }        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_2 #wds_container2_2 .wds_left_btn_cont,        #wds_container1_2 #wds_container2_2 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              @media only screen and (min-width: 1367px) and (max-width: 1824px) {        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 {          height: 26px;          width: 26px;        }        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_2 #wds_container2_2 .wds_left_btn_cont,        #wds_container1_2 #wds_container2_2 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              @media only screen and (min-width: 1825px) and (max-width: 3000px) {        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 {          height: 26px;          width: 26px;        }        #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 {          font-size: 20px;          width: 20px;          margin: 3px;          height: 20px;        }        #wds_container1_2 #wds_container2_2 .wds_pp_btn_cont {            font-size: 40px;          height: 40px;          width: 40px;        }        #wds_container1_2 #wds_container2_2 .wds_left_btn_cont,        #wds_container1_2 #wds_container2_2 .wds_right_btn_cont {          height: 40px;          font-size: 40px;          width: 40px;        }      }              #wds_container1_2 #wds_container2_2 .wds_slideshow_video_2 {        padding: 0 !important;        margin: 0 !important;        float: none !important;        width: 100%;        vertical-align: middle;        display: inline-block;      }      #wds_container1_2 #wds_container2_2 #wds_slideshow_play_pause_2 {          color: #000000;        cursor: pointer;        position: relative;        z-index: 13;        width: inherit;        height: inherit;        font-size: inherit;      }      #wds_container1_2 #wds_container2_2 #wds_slideshow_play_pause_2:hover {          color: #000000;        cursor: pointer;      }      #wds_container1_2 #wds_container2_2 .wds_left-ico_2,      #wds_container1_2 #wds_container2_2 .wds_right-ico_2 {        background-color: rgba(255, 255, 255, 0.00);        border-radius: 20px;        border: 0px none #FFFFFF;        border-collapse: separate;        color: #000000;        left: 0;        top: 0;        -moz-box-sizing: content-box;        box-sizing: content-box;        cursor: pointer;        line-height: 0;        width: inherit;        height: inherit;        font-size: inherit;        position: absolute;      }      #wds_container1_2 #wds_container2_2 .wds_left-ico_2 {        left: -4000px;      }      #wds_container1_2 #wds_container2_2 .wds_right-ico_2 {        left: 4000px;      }            #wds_container1_2 #wds_container2_2 #wds_slideshow_play_pause_2 {        opacity: 0;        filter: "Alpha(opacity=0)";      }      #wds_container1_2 #wds_container2_2 .wds_left-ico_2:hover,      #wds_container1_2 #wds_container2_2 .wds_right-ico_2:hover {        color: #000000;        cursor: pointer;      }      /* Filmstrip*/      #wds_container1_2 #wds_container2_2 .wds_slideshow_filmstrip_container_2 {        background-color: #000000 !important;        display: /*table*/block;        height: 0px;        position: absolute;        width: 100%;        z-index: 10105;        none: 0;        overflow: hidden;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_filmstrip_2 {        overflow: hidden;        position: absolute;        width: 100%;        width: 100%;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_filmstrip_thumbnails_2 {        height: inherit;        left: 0px;        margin: 0 auto;        overflow: hidden;        position: relative;        width: 0px;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_filmstrip_thumbnail_2 {        position: relative;        background: none;        cursor: pointer;        float: left;        height: inherit;        margin: 0 0px;        width: 0px;        overflow: hidden;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_thumb_active_2 div {        opacity: 1;        filter: Alpha(opacity=100);        border: 0px none #FFFFFF;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_thumb_deactive_2 {        opacity: 0.50;        filter: Alpha(opacity=50);      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_filmstrip_thumbnail_img_2 {        display: block;        opacity: 1;        filter: Alpha(opacity=100);        padding: 0 !important;        background-position: center center;        background-repeat: no-repeat;        background-size: cover;        width: 100%;        height: 0px;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_filmstrip_left_2,      #wds_container1_2 #wds_container2_2 .wds_slideshow_filmstrip_right_2 {        background-color: rgba(0, 0, 0, 0.5);        cursor: pointer;        display: table;        vertical-align: middle;        width: 20px;        z-index: 10000;        position: absolute;        height: inherit;       }      #wds_container1_2 #wds_container2_2 .wds_slideshow_filmstrip_left_2 {        left: 0;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_filmstrip_right_2 {        right: 0;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_filmstrip_left_2 i,      #wds_container1_2 #wds_container2_2 .wds_slideshow_filmstrip_right_2 i {        color: #FFFFFF;        display: table-cell;        font-size: 20px;        vertical-align: middle;      }      #wds_container1_2 #wds_container2_2 .wds_none_selectable_2 {        -webkit-touch-callout: none;        -webkit-user-select: none;        -khtml-user-select: none;        -moz-user-select: none;        -ms-user-select: none;        user-select: none;      }      #wds_container1_2 #wds_container2_2 .wds_slide_container_2 {        display: table-cell;        margin: 0 auto;        position: absolute;        vertical-align: middle;        width: 100%;        height: 100%;        overflow: hidden;      }      #wds_container1_2 #wds_container2_2 .wds_slide_bg_2 {        margin: 0 auto;        width: inherit;        height: inherit;      }      #wds_container1_2 #wds_container2_2 .wds_slider_2 {        height: inherit;        width: inherit;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_image_spun_2 {        width: inherit;        height: inherit;        display: table-cell;        filter: Alpha(opacity=100);        opacity: 1;        position: absolute;        vertical-align: middle;        z-index: 2;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_image_second_spun_2 {        width: inherit;        height: inherit;        display: table-cell;        filter: Alpha(opacity=0);        opacity: 0;        position: absolute;        vertical-align: middle;        z-index: 1;      }      #wds_container1_2 #wds_container2_2 .wds_grid_2 {        display: none;        height: 100%;        overflow: hidden;        position: absolute;        width: 100%;      }      #wds_container1_2 #wds_container2_2 .wds_gridlet_2 {        opacity: 1;        filter: Alpha(opacity=100);        position: absolute;      }      /* Dots.*/      #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_container_2 {        display: block;        overflow: hidden;        position: absolute;        width: 100%;        none: 0px;        /*z-index: 17;*/      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_thumbnails_2 {        left: 0px;        font-size: 0;        margin: 0 auto;        position: relative;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_2 {        display: inline-block;        position: relative;        color: #FFFFFF;        cursor: pointer;        z-index: 17;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_active_2 {        color: #FFFFFF;        opacity: 1;        filter: Alpha(opacity=100);              }      #wds_container1_2 #wds_container2_2 .wds_slideshow_dots_deactive_2 {              }      /* Timer.*/      #wds_container1_2 #wds_container2_2 .wds_line_timer_container_2 {        display: block;        position: absolute;        overflow: hidden;        none: 0;        z-index: 16;        width: 100%;        height: 5px;      }      #wds_container1_2 #wds_container2_2 .wds_line_timer_2 {        z-index: 17;        width: 0;        height: 5px;        background: #FFFFFF;        opacity: 0.50;        filter: alpha(opacity=50);      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_image_spun1_2 {        display: table;         width: inherit;         height: inherit;      }      #wds_container1_2 #wds_container2_2 .wds_slideshow_image_spun2_2 {        display: table-cell;         vertical-align: middle;         text-align: center;        overflow: hidden;      }          </style>    <script>      var wds_data_2 = [];      var wds_event_stack_2 = [];      var wds_clear_layers_effects_in_2 = [];      var wds_clear_layers_effects_out_2 = [];      var wds_clear_layers_effects_out_before_change_2 = [];      if (0) {        var wds_duration_for_change_2 = 500;        var wds_duration_for_clear_effects_2 = 530;      }      else {        var wds_duration_for_change_2 = 0;        var wds_duration_for_clear_effects_2 = 0;      }              wds_clear_layers_effects_in_2["0"] = [];        wds_clear_layers_effects_out_2["0"] = [];        wds_clear_layers_effects_out_before_change_2["0"] = [];        wds_data_2["0"] = [];        wds_data_2["0"]["id"] = "218";        wds_data_2["0"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/animated-gif-final (1).gif";        wds_data_2["0"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/animated-gif-final (1).gif";        wds_data_2["0"]["is_video"] = "";        wds_data_2["0"]["slide_layers_count"] = 0;                </script>    <div id="wds_container1_2">      <div class="wds_loading">        <img src="https://i2.wp.com/pipingpress.com/wp-content/plugins/slider-wd/images/ajax_loader.png?w=474&#038;ssl=1" class="wds_loading_img" style="float: none; width:50px;" data-recalc-dims="1" />      </div>      <div id="wds_container2_2">        <div class="wds_slideshow_image_wrap_2">                    <div id="wds_slideshow_image_container_2" class="wds_slideshow_image_container_2">                        <div class="wds_slide_container_2">              <div class="wds_slide_bg_2">                <div class="wds_slider_2">                                  <span class="wds_slideshow_image_spun_2" id="image_id_2_218">                    <span class="wds_slideshow_image_spun1_2">                      <span class="wds_slideshow_image_spun2_2">                                                <div img_id="wds_slideshow_image_2"                             class="wds_slideshow_image_2"                             onclick="window.open('http://www.pipeanddrumacademy.com', '_blank')"                             style="cursor: pointer;background-image: url('http://pipingpress.com/wp-content/uploads/slider-wd/animated-gif-final (1).gif');">                                                  </div>                      </span>                    </span>                  </span>                                  <input type="hidden" id="wds_current_image_key_2" value="0" />                </div>              </div>            </div>                      </div>                  </div>      </div>    </div>    <script>      var wds_trans_in_progress_2 = false;      var wds_transition_duration_2 = 800;      var wds_playInterval_2;      var progress = 0;      /* Stop autoplay.*/      window.clearInterval(wds_playInterval_2);      var wds_current_key_2 = '0';      var wds_current_filmstrip_pos_2 = 0;      /* Set filmstrip initial position.*/      function wds_set_filmstrip_pos_2(filmStripWidth) {        var selectedImagePos = -wds_current_filmstrip_pos_2 - (jQuery(".wds_slideshow_filmstrip_thumbnail_2").width() + 0) / 2;        var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".wds_slideshow_filmstrip_thumbnails_2").width(), selectedImagePos + filmStripWidth / 2));        jQuery(".wds_slideshow_filmstrip_thumbnails_2").animate({            left: imagesContainerLeft          }, {            duration: 500,            complete: function () { wds_filmstrip_arrows_2(); }          });      }      function wds_move_filmstrip_2() {        var image_left = jQuery(".wds_slideshow_thumb_active_2").position().left;        var image_right = jQuery(".wds_slideshow_thumb_active_2").position().left + jQuery(".wds_slideshow_thumb_active_2").outerWidth(true);        var wds_filmstrip_width = jQuery(".wds_slideshow_filmstrip_2").outerWidth(true);        var wds_filmstrip_thumbnails_width = jQuery(".wds_slideshow_filmstrip_thumbnails_2").outerWidth(true);        var long_filmstrip_cont_left = jQuery(".wds_slideshow_filmstrip_thumbnails_2").position().left;        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_filmstrip_thumbnails_2").position().left) + wds_filmstrip_width;        if (wds_filmstrip_width > wds_filmstrip_thumbnails_width) {          return;        }        if (image_left < Math.abs(long_filmstrip_cont_left)) {          jQuery(".wds_slideshow_filmstrip_thumbnails_2").animate({            left: -image_left          }, {            duration: 500,            complete: function () { wds_filmstrip_arrows_2(); }          });        }        else if (image_right > long_filmstrip_cont_right) {          jQuery(".wds_slideshow_filmstrip_thumbnails_2").animate({            left: -(image_right - wds_filmstrip_width)          }, {            duration: 500,            complete: function () { wds_filmstrip_arrows_2(); }          });        }      }      function wds_move_dots_2() {        var image_left = jQuery(".wds_slideshow_dots_active_2").position().left;        var image_right = jQuery(".wds_slideshow_dots_active_2").position().left + jQuery(".wds_slideshow_dots_active_2").outerWidth(true);        var wds_dots_width = jQuery(".wds_slideshow_dots_container_2").outerWidth(true);        var wds_dots_thumbnails_width = jQuery(".wds_slideshow_dots_thumbnails_2").outerWidth(true);        var long_filmstrip_cont_left = jQuery(".wds_slideshow_dots_thumbnails_2").position().left;        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_dots_thumbnails_2").position().left) + wds_dots_width;        if (wds_dots_width > wds_dots_thumbnails_width) {          return;        }        if (image_left < Math.abs(long_filmstrip_cont_left)) {          jQuery(".wds_slideshow_dots_thumbnails_2").animate({            left: -image_left          }, {            duration: 500          });        }        else if (image_right > long_filmstrip_cont_right) {          jQuery(".wds_slideshow_dots_thumbnails_2").animate({            left: -(image_right - wds_dots_width)          }, {            duration: 500          });        }      }      /* Show/hide filmstrip arrows.*/      function wds_filmstrip_arrows_2() {        if (jQuery(".wds_slideshow_filmstrip_thumbnails_2").width() < jQuery(".wds_slideshow_filmstrip_2").width()) {          jQuery(".wds_slideshow_filmstrip_left_2").hide();          jQuery(".wds_slideshow_filmstrip_right_2").hide();        }        else {          jQuery(".wds_slideshow_filmstrip_left_2").show();          jQuery(".wds_slideshow_filmstrip_right_2").show();        }      }      function wds_testBrowser_cssTransitions_2() {        return wds_testDom_2('Transition');      }      function wds_testBrowser_cssTransforms3d_2() {        return wds_testDom_2('Perspective');      }      function wds_testDom_2(prop) {        /* Browser vendor CSS prefixes.*/        var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-'];        /* Browser vendor DOM prefixes.*/        var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml'];        var i = domPrefixes.length;        while (i--) {          if (typeof document.body.style[domPrefixes[i] + prop] !== 'undefined') {            return true;          }        }        return false;      }      function wds_set_dots_class_2() {        jQuery(".wds_slideshow_dots_2").removeClass("wds_slideshow_dots_active_2").addClass("wds_slideshow_dots_deactive_2");        jQuery("#wds_dots_" + wds_current_key_2 + "_2").removeClass("wds_slideshow_dots_deactive_2").addClass("wds_slideshow_dots_active_2");                jQuery(".wds_slideshow_dots_2").removeClass("fa-square").addClass("fa-square-o");        jQuery("#wds_dots_" + wds_current_key_2 + "_2").removeClass("fa-square-o").addClass("fa-square");              }      function wds_grid3d_2(cols, rows, tz, wrx, wry, nty, ntx, nry, nrx, current_image_class, next_image_class, direction, random, easing) {        /* If browser does not support CSS transitions.*/        if (!wds_testBrowser_cssTransitions_2()) {          return wds_fallback_2(current_image_class, next_image_class, direction);        }        wds_trans_in_progress_2 = true;        /* Set active thumbnail.*/        jQuery(".wds_slideshow_filmstrip_thumbnail_2").removeClass("wds_slideshow_thumb_active_2").addClass("wds_slideshow_thumb_deactive_2");        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_2 + "_2").removeClass("wds_slideshow_thumb_deactive_2").addClass("wds_slideshow_thumb_active_2");        wds_set_dots_class_2();        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/        var count = (wds_transition_duration_2) / (cols + rows);        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/        function wds_gridlet(width, height, top, img_top, left, img_left, src, src2, imgWidth, imgHeight, c, r) {          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;          /* Return a gridlet elem with styles for specific transition.*/          var grid_div = jQuery('<div class="wds_gridlet_2" />').css({            width : "100%",            height : "100%",            transform : 'translateZ(' + tz + 'px)',            backfaceVisibility : 'hidden',            overflow: 'hidden'          }).append(jQuery('<div class="wds_gridlet_2" />').css({            width : jQuery(".wds_slideshow_image_spun_2").width() + "px",            height : jQuery(".wds_slideshow_image_spun_2").height() + "px",            top : -top,            left : -left,            backgroundImage : src,            backgroundSize: jQuery(".wds_slideshow_image_2").css("background-size"),            backgroundPosition: jQuery(".wds_slideshow_image_2").css("background-position"),            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_2").css("background-color"),*/            backgroundRepeat: 'no-repeat',          }));          var grid_div2 = jQuery('<div class="wds_gridlet_2" />').css({            width : "100%",            height : "100%",            backfaceVisibility : 'hidden',            transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)',            overflow: 'hidden'          }).append(jQuery('<div class="wds_gridlet_2" />').css({            width : jQuery(".wds_slideshow_image_spun_2").width() + "px",            height : jQuery(".wds_slideshow_image_spun_2").height() + "px",            top : -top,            left : -left,            backgroundImage : src2,            backgroundSize: jQuery(".wds_slideshow_image_2").css("background-size"),            backgroundPosition: jQuery(".wds_slideshow_image_2").css("background-position"),            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_2").css("background-color"),*/            backgroundRepeat: 'no-repeat',          }));          return jQuery('<div class="wds_gridlet_2" />').css({            width : width,            height : height,            top : top,            left : left,            transition : 'all ' + wds_transition_duration_2 + 'ms ' + easing + ' ' + delay + 'ms',            transform: 'translateZ(-' + tz + 'px)',            transformStyle: 'preserve-3d',          }).append(grid_div).append(grid_div2);        }        /* Get the current slide's image.*/        var cur_img = jQuery(current_image_class).find('div');        var next_img = jQuery(next_image_class).find('div');        /* Create a grid to hold the gridlets.*/        var grid = jQuery('<div />').addClass('wds_grid_2').css('perspective', 1000);        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/        jQuery(current_image_class).prepend(grid);        /* vars to calculate positioning/size of gridlets*/        var cont = jQuery(".wds_slide_bg_2");        var imgWidth = cur_img.width();        var imgHeight = cur_img.height();        var contWidth = cont.width(),            contHeight = cont.height(),            imgSrc = cur_img.css('background-image'),            imgSrcNext = next_img.css('background-image'),            colWidth = Math.floor(contWidth / cols),            rowHeight = Math.floor(contHeight / rows),            colRemainder = contWidth - (cols * colWidth),            colAdd = Math.ceil(colRemainder / cols),            rowRemainder = contHeight - (rows * rowHeight),            rowAdd = Math.ceil(rowRemainder / rows),            leftDist = 0,            img_leftDist = (jQuery(".wds_slide_bg_2").width() - cur_img.width()) / 2;        /* Loop through cols*/        for (var i = 0; i < cols; i++) {          var topDist = 0,              img_topDst = (jQuery(".wds_slide_bg_2").height() - cur_img.height()) / 2,              newColWidth = colWidth;          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/          if (colRemainder > 0) {            var add = colRemainder >= colAdd ? colAdd : colRemainder;            newColWidth += add;            colRemainder -= add;          }          /* Nested loop to create row gridlets for each col.*/          for (var j = 0; j < rows; j++)  {            var newRowHeight = rowHeight,                newRowRemainder = rowRemainder;            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/            if (newRowRemainder > 0) {              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;              newRowHeight += add;              newRowRemainder -= add;            }            /* Create & append gridlet to grid.*/            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgSrcNext, imgWidth, imgHeight, i, j));            topDist += newRowHeight;            img_topDst -= newRowHeight;          }                    img_leftDist -= newColWidth;          leftDist += newColWidth;        }        /* Show grid & hide the image it replaces.*/        grid.show();        cur_img.css('opacity', 0);                /* Execution steps.*/        setTimeout(function () {          grid.children().css({            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'          });        }, 1);        /* After transition.*/         var cccount = 0;         var obshicccount = cols * rows;         grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));         function wds_after_trans_each() {           if (++cccount == obshicccount) {             wds_after_trans();           }         }         function wds_after_trans() {          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});          cur_img.css('opacity', 1);          grid.remove();          wds_trans_in_progress_2 = false;          if (typeof wds_event_stack_2 !== 'undefined') {            if (wds_event_stack_2.length > 0) {              key = wds_event_stack_2[0].split("-");              wds_event_stack_2.shift();              wds_change_image_2(key[0], key[1], wds_data_2, true);            }          }        }      }      function wds_slic3DH_2(current_image_class, next_image_class, direction) {                 var dimension = jQuery(current_image_class).width() / 2;        if (direction == 'right') {          wds_grid3d_2(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }        else if (direction == 'left') {          wds_grid3d_2(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }      }      function wds_slic3DV_2(current_image_class, next_image_class, direction) {        var dimension = jQuery(current_image_class).height() / 2;        if (direction == 'right') {          wds_grid3d_2(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }        else if (direction == 'left') {          wds_grid3d_2(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }      }            function wds_slicR3DH_2(current_image_class, next_image_class, direction) {                 var dimension = jQuery(current_image_class).width() / 2;        if (direction == 'right') {          wds_grid3d_2(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');        }        else if (direction == 'left') {          wds_grid3d_2(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');        }      }      function wds_slicR3DV_2(current_image_class, next_image_class, direction) {        var dimension = jQuery(current_image_class).height() / 2;        if (direction == 'right') {          wds_grid3d_2(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 1, 'ease-in-out');        }        else if (direction == 'left') {          wds_grid3d_2(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 1, 'ease-in-out');        }      }      function wds_parallelSlide_2(ni_left, ni_top, tx, ty, current_image_class, next_image_class, direction, easing) {        /* If browser does not support 3d transforms/CSS transitions.*/        if (!wds_testBrowser_cssTransitions_2()) {          return wds_fallback_2(current_image_class, next_image_class, direction);        }        if (!wds_testBrowser_cssTransforms3d_2()) {          return wds_fallback3d_2(current_image_class, next_image_class, direction);        }        wds_trans_in_progress_2 = true;        /* Set active thumbnail.*/        jQuery(".wds_slideshow_filmstrip_thumbnail_2").removeClass("wds_slideshow_thumb_active_2").addClass("wds_slideshow_thumb_deactive_2");        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_2 + "_2").removeClass("wds_slideshow_thumb_deactive_2").addClass("wds_slideshow_thumb_active_2");        wds_set_dots_class_2();        jQuery(current_image_class).css({          position : 'absolute',          top : '0px',          left : '0px',          position : 'absolute',        });        jQuery(next_image_class).css({          position : 'absolute',          top : ni_top + 'px',          left : ni_left + 'px',          'opacity' : 1,           filter : 'Alpha(opacity=100)',          position : 'absolute',        });        jQuery(".wds_slider_2").css({          position : 'relative',          'backface-visibility': 'hidden'        });        jQuery(".wds_slide_bg_2").css({          overflow : 'hidden',        });        /* Execution steps.*/        setTimeout(function () {          jQuery('.wds_slider_2').css({            transition : 'all ' + wds_transition_duration_2 + 'ms ' + easing,            transform : 'translateX(' + tx + 'px) translateY(' + ty + 'px)',          });        }, 1);        /* After transition.*/        jQuery('.wds_slider_2').one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));        function wds_after_trans() {          jQuery(current_image_class).removeAttr('style');          jQuery(next_image_class).removeAttr('style');          jQuery(".wds_slider_2").removeAttr('style');          jQuery(".wds_slide_bg_2").removeAttr('style');          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});          wds_trans_in_progress_2 = false;          if (typeof wds_event_stack_2 !== 'undefined') {            if (wds_event_stack_2.length > 0) {              key = wds_event_stack_2[0].split("-");              wds_event_stack_2.shift();              wds_change_image_2(key[0], key[1], wds_data_2, true);            }          }        }      }      function wds_parallelSlideH_2(current_image_class, next_image_class, direction) {        var width = jQuery(current_image_class).width();        var height = jQuery(current_image_class).height();        if (direction == 'right') {          wds_parallelSlide_2(width, 0, -width, 0, current_image_class, next_image_class, direction, 'ease-in-out');        }        else if (direction == 'left') {          wds_parallelSlide_2(-width, 0, width, 0, current_image_class, next_image_class, direction, 'ease-in-out');        }      }      function wds_parallelSlideV_2(current_image_class, next_image_class, direction) {        var width = jQuery(current_image_class).width();        var height = jQuery(current_image_class).height();        if (direction == 'right') {          wds_parallelSlide_2(0, height, 0, -height, current_image_class, next_image_class, direction, 'ease-in-out');        }        else if (direction == 'left') {          wds_parallelSlide_2(0, -height, 0, height, current_image_class, next_image_class, direction, 'ease-in-out');        }      }      function wds_cube_2(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction, easing) {        /* If browser does not support 3d transforms/CSS transitions.*/        if (!wds_testBrowser_cssTransitions_2()) {          return wds_fallback_2(current_image_class, next_image_class, direction);        }        if (!wds_testBrowser_cssTransforms3d_2()) {          return wds_fallback3d_2(current_image_class, next_image_class, direction);        }        wds_trans_in_progress_2 = true;        /* Set active thumbnail.*/        jQuery(".wds_slideshow_filmstrip_thumbnail_2").removeClass("wds_slideshow_thumb_active_2").addClass("wds_slideshow_thumb_deactive_2");        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_2 + "_2").removeClass("wds_slideshow_thumb_deactive_2").addClass("wds_slideshow_thumb_active_2");        wds_set_dots_class_2();        jQuery(".wds_slide_container_2").css('overflow', 'visible');        jQuery(".wds_slideshow_image_spun2_2").css('overflow', 'visible');        jQuery(".wds_slideshow_image_wrap_2").css('overflow', 'visible');        var filmstrip_position = 'none';        if (filmstrip_position == 'none') {          jQuery(".wds_slideshow_image_2").css('border-radius', jQuery(".wds_slideshow_image_wrap_2").css('border-radius'));        }        else {          jQuery(".wds_slideshow_image_2").css('border-radius', '');          jQuery(".wds_slideshow_filmstrip_container_2").css('border-radius', '');          if (filmstrip_position == 'top') {            jQuery(".wds_slideshow_image_2").css('border-top-left-radius', 0);            jQuery(".wds_slideshow_image_2").css('border-top-right-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_2").css('border-bottom-left-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_2").css('border-bottom-right-radius', 0);          }          else if (filmstrip_position == 'bottom') {            jQuery(".wds_slideshow_image_2").css('border-bottom-left-radius', 0);            jQuery(".wds_slideshow_image_2").css('border-bottom-right-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_2").css('border-top-left-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_2").css('border-top-right-radius', 0);          }          else if (filmstrip_position == 'right') {            jQuery(".wds_slideshow_image_2").css('border-bottom-right-radius', 0);            jQuery(".wds_slideshow_image_2").css('border-top-right-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_2").css('border-bottom-left-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_2").css('border-top-left-radius', 0);          }          else if (filmstrip_position == 'left') {            jQuery(".wds_slideshow_image_2").css('border-bottom-left-radius', 0);            jQuery(".wds_slideshow_image_2").css('border-top-left-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_2").css('border-bottom-right-radius', 0);            jQuery(".wds_slideshow_filmstrip_container_2").css('border-top-right-radius', 0);          }        }        jQuery(".wds_slide_bg_2").css('perspective', 1000);        jQuery(current_image_class).css({          transform : 'translateZ(' + tz + 'px)',          backfaceVisibility : 'hidden'        });        jQuery(next_image_class).css({          opacity : 1,          filter: 'Alpha(opacity=100)',          zIndex: 2,          backfaceVisibility : 'hidden',          transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)'        });        jQuery(".wds_slider_2").css({          transform: 'translateZ(-' + tz + 'px)',          transformStyle: 'preserve-3d',          position: 'absolute'        });        /* Execution steps.*/        setTimeout(function () {          jQuery(".wds_slider_2").css({            transition: 'all ' + wds_transition_duration_2 + 'ms ' + easing,            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'          });        }, 20);        /* After transition.*/        jQuery(".wds_slider_2").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));        function wds_after_trans() {          jQuery(current_image_class).removeAttr('style');          jQuery(next_image_class).removeAttr('style');          jQuery(".wds_slider_2").removeAttr('style');          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});          wds_trans_in_progress_2 = false;          if (typeof wds_event_stack_2 !== 'undefined') {            if (wds_event_stack_2.length > 0) {              key = wds_event_stack_2[0].split("-");              wds_event_stack_2.shift();              wds_change_image_2(key[0], key[1], wds_data_2, true);            }          }          jQuery(".wds_slide_container_2").css('overflow', 'hidden');          jQuery(".wds_slideshow_image_spun2_2").css('overflow', 'hidden');          jQuery(".wds_slideshow_image_wrap_2").css('overflow', 'hidden');        }      }      function wds_cubeR_2(current_image_class, next_image_class, direction) {        var random_direction = Math.floor(Math.random() * 2);        var dimension = random_direction ? jQuery(current_image_class).height() / 2 : jQuery(current_image_class).width() / 2;        if (direction == 'right') {         if (random_direction) {           wds_cube_2(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');         }         else {           wds_cube_2(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');         }        }        else if (direction == 'left') {         if (random_direction) {           wds_cube_2(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');         }         else {           wds_cube_2(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');         }        }      }      function wds_cubeH_2(current_image_class, next_image_class, direction) {        /* Set to half of image width.*/        var dimension = jQuery(current_image_class).width() / 2;        if (direction == 'right') {          wds_cube_2(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }        else if (direction == 'left') {          wds_cube_2(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }      }      function wds_cubeV_2(current_image_class, next_image_class, direction) {        /* Set to half of image height.*/        var dimension = jQuery(current_image_class).height() / 2;        /* If next slide.*/        if (direction == 'right') {          wds_cube_2(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }        else if (direction == 'left') {          wds_cube_2(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');        }      }      /* For browsers that does not support transitions.*/      function wds_fallback_2(current_image_class, next_image_class, direction) {        wds_fade_2(current_image_class, next_image_class, direction);      }      /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/      function wds_fallback3d_2(current_image_class, next_image_class, direction) {        wds_sliceV_2(current_image_class, next_image_class, direction);      }      function wds_none_2(current_image_class, next_image_class, direction) {        jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});        jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});        /* Set active thumbnail.*/        jQuery(".wds_slideshow_filmstrip_thumbnail_2").removeClass("wds_slideshow_thumb_active_2").addClass("wds_slideshow_thumb_deactive_2");        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_2 + "_2").removeClass("wds_slideshow_thumb_deactive_2").addClass("wds_slideshow_thumb_active_2");        wds_set_dots_class_2();      }      function wds_fade_2(current_image_class, next_image_class, direction) {        /* Set active thumbnail.*/        jQuery(".wds_slideshow_filmstrip_thumbnail_2").removeClass("wds_slideshow_thumb_active_2").addClass("wds_slideshow_thumb_deactive_2");        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_2 + "_2").removeClass("wds_slideshow_thumb_deactive_2").addClass("wds_slideshow_thumb_active_2");        wds_set_dots_class_2();        if (wds_testBrowser_cssTransitions_2()) {          jQuery(next_image_class).css('transition', 'opacity ' + wds_transition_duration_2 + 'ms linear');          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});        }        else {          jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, wds_transition_duration_2);          jQuery(next_image_class).animate({              'opacity' : 1,              'z-index': 2            }, {              duration: wds_transition_duration_2,              complete: function () {  }            });          /* For IE.*/          jQuery(current_image_class).fadeTo(wds_transition_duration_2, 0);          jQuery(next_image_class).fadeTo(wds_transition_duration_2, 1);        }      }      function wds_grid_2(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction, random, roy, easing) {        /* If browser does not support CSS transitions.*/        if (!wds_testBrowser_cssTransitions_2()) {          return wds_fallback_2(current_image_class, next_image_class, direction);        }        wds_trans_in_progress_2 = true;        /* Set active thumbnail.*/        jQuery(".wds_slideshow_filmstrip_thumbnail_2").removeClass("wds_slideshow_thumb_active_2").addClass("wds_slideshow_thumb_deactive_2");        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_2 + "_2").removeClass("wds_slideshow_thumb_deactive_2").addClass("wds_slideshow_thumb_active_2");        wds_set_dots_class_2();        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/        var count = (wds_transition_duration_2) / (cols + rows);        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/        function wds_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;          /* Return a gridlet elem with styles for specific transition.*/          var grid_div = jQuery('<div class="wds_gridlet_2" />').css({            width : imgWidth,/*"100%"*/            height : jQuery(".wds_slideshow_image_spun_2").height() + "px",            top : -top,            left : -left,            backgroundImage : src,            backgroundSize: jQuery(".wds_slideshow_image_2").css("background-size"),            backgroundPosition: jQuery(".wds_slideshow_image_2").css("background-position"),            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_2").css("background-color"),*/            backgroundRepeat: 'no-repeat'          });          return jQuery('<div class="wds_gridlet_2" />').css({            width : width,/*"100%"*/            height : height,            top : top,            left : left,            backgroundSize : imgWidth + 'px ' + imgHeight + 'px',            backgroundPosition : img_left + 'px ' + img_top + 'px',            backgroundRepeat: 'no-repeat',            overflow: "hidden",            transition : 'all ' + wds_transition_duration_2 + 'ms ' + easing + ' ' + delay + 'ms',            transform : 'none'          }).append(grid_div);        }        /* Get the current slide's image.*/        var cur_img = jQuery(current_image_class).find('div');        /* Create a grid to hold the gridlets.*/        var grid = jQuery('<div />').addClass('wds_grid_2');        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/        jQuery(current_image_class).prepend(grid);        /* vars to calculate positioning/size of gridlets*/        var cont = jQuery(".wds_slide_bg_2");        var imgWidth = cur_img.width();        var imgHeight = cur_img.height();        var contWidth = cont.width(),            contHeight = cont.height(),            imgSrc = cur_img.css('background-image'),/*.replace('/thumb', ''),*/            colWidth = Math.floor(contWidth / cols),            rowHeight = Math.floor(contHeight / rows),            colRemainder = contWidth - (cols * colWidth),            colAdd = Math.ceil(colRemainder / cols),            rowRemainder = contHeight - (rows * rowHeight),            rowAdd = Math.ceil(rowRemainder / rows),            leftDist = 0,            img_leftDist = (jQuery(".wds_slide_bg_2").width() - cur_img.width()) / 2;        /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/        tx = tx === 'auto' ? contWidth : tx;        tx = tx === 'min-auto' ? - contWidth : tx;        ty = ty === 'auto' ? contHeight : ty;        ty = ty === 'min-auto' ? - contHeight : ty;        /* Loop through cols*/        for (var i = 0; i < cols; i++) {          var topDist = 0,              img_topDst = (jQuery(".wds_slide_bg_2").height() - cur_img.height()) / 2,              newColWidth = colWidth;          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/          if (colRemainder > 0) {            var add = colRemainder >= colAdd ? colAdd : colRemainder;            newColWidth += add;            colRemainder -= add;          }          /* Nested loop to create row gridlets for each col.*/          for (var j = 0; j < rows; j++)  {            var newRowHeight = rowHeight,                newRowRemainder = rowRemainder;            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/            if (newRowRemainder > 0) {              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;              newRowHeight += add;              newRowRemainder -= add;            }            /* Create & append gridlet to grid.*/            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));            topDist += newRowHeight;            img_topDst -= newRowHeight;          }                    img_leftDist -= newColWidth;          leftDist += newColWidth;        }        /* Show grid & hide the image it replaces.*/        grid.show();        cur_img.css('opacity', 0);        /* Add identifying classes to corner gridlets (useful if applying border radius).*/        grid.children().first().addClass('rs-top-left');        grid.children().last().addClass('rs-bottom-right');        grid.children().eq(rows - 1).addClass('rs-bottom-left');        grid.children().eq(- rows).addClass('rs-top-right');        /* Execution steps.*/        setTimeout(function () {          grid.children().css({            opacity: op,            transform: 'rotate('+ ro +'deg) rotateY('+ roy +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')'          });        }, 1);        jQuery(next_image_class).css('opacity', 1);        /* After transition.*/        var cccount = 0;        var obshicccount = cols * rows;        grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));        function wds_after_trans_each() {         if (++cccount == obshicccount) {           wds_after_trans();         }        }        function wds_after_trans() {          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});          cur_img.css('opacity', 1);          grid.remove();          wds_trans_in_progress_2 = false;          if (typeof wds_event_stack_2 !== 'undefined') {            if (wds_event_stack_2.length > 0) {              key = wds_event_stack_2[0].split("-");              wds_event_stack_2.shift();              wds_change_image_2(key[0], key[1], wds_data_2, true);            }          }        }      }      function wds_sliceH_2(current_image_class, next_image_class, direction) {        if (direction == 'right') {          var translateX = 'min-auto';        }        else if (direction == 'left') {          var translateX = 'auto';        }        wds_grid_2(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_sliceV_2(current_image_class, next_image_class, direction) {        if (direction == 'right') {          var translateY = 'min-auto';        }        else if (direction == 'left') {          var translateY = 'auto';        }        wds_grid_2(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_slideV_2(current_image_class, next_image_class, direction) {        if (direction == 'right') {          var translateY = 'auto';        }        else if (direction == 'left') {          var translateY = 'min-auto';        }        wds_grid_2(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');      }      function wds_slideH_2(current_image_class, next_image_class, direction) {        if (direction == 'right') {          var translateX = 'min-auto';        }        else if (direction == 'left') {          var translateX = 'auto';        }        wds_grid_2(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');      }      function wds_scaleOut_2(current_image_class, next_image_class, direction) {        wds_grid_2(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_scaleIn_2(current_image_class, next_image_class, direction) {        wds_grid_2(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_blockScale_2(current_image_class, next_image_class, direction) {        wds_grid_2(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_blockScaleR_2(current_image_class, next_image_class, direction) {        wds_grid_2(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 1, 0, 'ease-in-out');      }      function wds_blindR_2(current_image_class, next_image_class, direction) {        wds_grid_2(8, 1, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');      }      function wds_tilesR_2(current_image_class, next_image_class, direction) {        wds_grid_2(8, 8, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');      }      function wds_kaleidoscope_2(current_image_class, next_image_class, direction) {        wds_grid_2(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_fan_2(current_image_class, next_image_class, direction) {        if (direction == 'right') {          var rotate = 45;          var translateX = 100;        }        else if (direction == 'left') {          var rotate = -45;          var translateX = -100;        }        wds_grid_2(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_blindV_2(current_image_class, next_image_class, direction) {        wds_grid_2(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_blindH_2(current_image_class, next_image_class, direction) {        wds_grid_2(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');      }      function wds_random_2(current_image_class, next_image_class, direction) {        var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV', 'parallelSlideH', 'parallelSlideV'];        /* Pick a random transition from the anims array.*/        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_2"](current_image_class, next_image_class, direction);      }      function wds_3Drandom_2(current_image_class, next_image_class, direction) {        var anims = ['cubeH', 'cubeV', 'cubeR', 'slic3DH', 'slic3DV', 'slicR3DH', 'slicR3DV'];        /* Pick a random transition from the anims array.*/        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_2"](current_image_class, next_image_class, direction);      }      function iterator_2() {        var iterator = 1;        if (0) {          iterator = Math.floor((wds_data_2.length - 1) * Math.random() + 1);        }        return iterator;      }      function wds_change_image_2(current_key, key, wds_data_2, from_effect) {                /* Pause videos.*/        jQuery("#wds_slideshow_image_container_2").find("iframe").each(function () {          jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');          jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*");        });        if (wds_data_2[key]) {          if (jQuery('.wds_ctrl_btn_2').hasClass('fa-pause') || ('')) {            play_2();          }          if (!from_effect) {            /* Change image key.*/            jQuery("#wds_current_image_key_2").val(key);            if (current_key == '-1') { /* Filmstrip.*/              current_key = jQuery(".wds_slideshow_thumb_active_2").children("img").attr("image_key");            }            else if (current_key == '-2') { /* Dots.*/              current_key = jQuery(".wds_slideshow_dots_active_2").attr("image_key");            }          }          if (wds_trans_in_progress_2) {            wds_event_stack_2.push(current_key + '-' + key);            return;          }          var direction = 'right';          if (wds_current_key_2 > key) {            var direction = 'left';          }          else if (wds_current_key_2 == key) {            return;          }          /* Set active thumbnail position.*/          wds_current_filmstrip_pos_2 = key * (jQuery(".wds_slideshow_filmstrip_thumbnail_2").width() + 2 + 2 * 0);          wds_current_key_2 = key;          /* Change image id.*/          jQuery("div[img_id=wds_slideshow_image_2]").attr('image_id', wds_data_2[key]["id"]);          var current_image_class = "#image_id_2_" + wds_data_2[current_key]["id"];          var next_image_class = "#image_id_2_" + wds_data_2[key]["id"];                    if (!wds_data_2[key]["is_video"]) {            jQuery(next_image_class).find("div").css("background-image", 'url("' + wds_data_2[key]["image_url"] + '")');          }                    var current_slide_layers_count = wds_data_2[current_key]["slide_layers_count"];          var next_slide_layers_count = wds_data_2[key]["slide_layers_count"];          /* Clear layers before image change.*/          function set_layer_effect_out_before_change(m) {            wds_clear_layers_effects_out_before_change_2[current_key][m] = setTimeout(function() {              if (wds_data_2[current_key]["layer_" + m + "_type"] != 'social') {                jQuery('#wds_2_slide' + wds_data_2[current_key]["id"] + '_layer' + wds_data_2[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');                jQuery('#wds_2_slide' + wds_data_2[current_key]["id"] + '_layer' + wds_data_2[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_2[current_key]["layer_" + m + "_layer_effect_out"] + ' animated');              }              else {                jQuery('#wds_2_slide' + wds_data_2[current_key]["id"] + '_layer' + wds_data_2[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');                jQuery('#wds_2_slide' + wds_data_2[current_key]["id"] + '_layer' + wds_data_2[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_2[current_key]["layer_" + m + "_layer_effect_out"] + ' fa fa-' + wds_data_2[current_key]["layer_" + m + "_social_button"] + ' animated');              }            }, 10);          }          if (0) {            for (var m = 0; m < current_slide_layers_count; m++) {              if (jQuery('#wds_2_slide' + wds_data_2[current_key]["id"] + '_layer' + wds_data_2[current_key]["layer_" + m + "_id"]).css('opacity') != 0) {                set_layer_effect_out_before_change(m);              }            }          }          /* Loop through current slide layers for clear effects.*/          setTimeout(function() {            for (var k = 0; k < current_slide_layers_count; k++) {              clearTimeout(wds_clear_layers_effects_in_2[current_key][k]);              clearTimeout(wds_clear_layers_effects_out_2[current_key][k]);              if (wds_data_2[current_key]["layer_" + k + "_type"] != 'social') {                jQuery('#wds_2_slide' + wds_data_2[current_key]["id"] + '_layer' + wds_data_2[current_key]["layer_" + k + "_id"]).removeClass().addClass('wds_layer_'+ wds_data_2[current_key]["layer_" + k + "_id"]);              }              else {                jQuery('#wds_2_slide' + wds_data_2[current_key]["id"] + '_layer' + wds_data_2[current_key]["layer_" + k + "_id"]).removeClass().addClass('fa fa-' + wds_data_2[current_key]["layer_" + k + "_social_button"] + ' wds_layer_' + wds_data_2[current_key]["layer_" + k + "_id"]);              }            }          }, wds_duration_for_clear_effects_2);          /* Effects out part.*/          function set_layer_effect_out(i) {            wds_clear_layers_effects_out_2[key][i] = setTimeout(function() {              if (wds_data_2[key]["layer_" + i + "_layer_effect_out"] != 'none') {                if (wds_data_2[key]["layer_" + i + "_type"] != 'social') {	                  jQuery('#wds_2_slide' + wds_data_2[key]["id"] + '_layer' + wds_data_2[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_2[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_2[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				                   jQuery('#wds_2_slide' + wds_data_2[key]["id"] + '_layer' + wds_data_2[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_2[key]["layer_" + i + "_layer_effect_out"] + ' animated');                }                else {                  jQuery('#wds_2_slide' + wds_data_2[key]["id"] + '_layer' + wds_data_2[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_2[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_2[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');                  jQuery('#wds_2_slide' + wds_data_2[key]["id"] + '_layer' + wds_data_2[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_2[key]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_2[key]["layer_" + i + "_social_button"] + ' animated');                }              }            }, wds_data_2[key]["layer_" + i + "_end"]);          }          /* Effects in part.*/          function set_layer_effect_in(j) {            wds_clear_layers_effects_in_2[key][j] = setTimeout(function() {              if (wds_data_2[key]["layer_" + j + "_type"] != 'social') {                jQuery('#wds_2_slide' + wds_data_2[key]["id"] + '_layer' + wds_data_2[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_2[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_2[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			                 jQuery('#wds_2_slide' + wds_data_2[key]["id"] + '_layer' + wds_data_2[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_2[key]["layer_" + j + "_layer_effect_in"] + ' animated');              }              else {                jQuery('#wds_2_slide' + wds_data_2[key]["id"] + '_layer' + wds_data_2[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_2[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_2[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');                jQuery('#wds_2_slide' + wds_data_2[key]["id"] + '_layer' + wds_data_2[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_2[key]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_2[key]["layer_" + j + "_social_button"] + ' animated');              }            }, wds_data_2[key]["layer_" + j + "_start"]);          }          /* Loop through layers in.*/          for (var j = 0; j < next_slide_layers_count; j++) {            set_layer_effect_in(j);          }          /* Loop through layers out if pause button not pressed.*/          if (jQuery(".wds_ctrl_btn_2").hasClass("fa-pause")) {            for (var i = 0; i < next_slide_layers_count; i++) {              set_layer_effect_out(i);            }          }          setTimeout(function() {            if (typeof jQuery().finish !== 'undefined') {              if (jQuery.isFunction(jQuery().finish)) {                jQuery(".wds_line_timer_2").finish();              }            }            jQuery(".wds_line_timer_2").css({width: 0});            wds_fade_2(current_image_class, next_image_class, direction);            if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_2').hasClass('fa-pause'))) {              if (!jQuery(".wds_ctrl_btn_2").hasClass("fa-play")) {                jQuery(".wds_line_timer_2").animate({                  width: "100%"                }, {                  duration: 5000,                  specialEasing: {width: "linear"}                });              }                          }                        if (wds_data_2[key]["is_video"]) {              jQuery("#wds_slideshow_play_pause_2").css({display: 'none'});            }            else {              jQuery("#wds_slideshow_play_pause_2").css({display: ''});            }          }, wds_duration_for_change_2);        }      }      function wds_resize_slider_2() {        var slide_orig_width = 800;        var slide_orig_height = 300;        var slide_width = jQuery("#wds_container1_2").parent().width();        if (slide_orig_width <= slide_width) {          slide_width = slide_orig_width;        }        var ratio = slide_width / slide_orig_width;                var slide_height = slide_orig_height;        if (slide_orig_width > slide_width) {          slide_height = Math.floor(slide_width * slide_orig_height / slide_orig_width);        }        jQuery(".wds_slideshow_image_wrap_2, #wds_container2_2").height(slide_height + 0);        jQuery(".wds_slideshow_image_container_2").height(slide_height);        jQuery(".wds_slideshow_image_2").height(slide_height);        jQuery(".wds_slideshow_video_2").height(slide_height);        jQuery(".wds_slideshow_image_2 img").each(function () {          var wds_theImage = new Image();          wds_theImage.src = jQuery(this).attr("src");          var wds_origWidth = wds_theImage.width;          var wds_origHeight = wds_theImage.height;          var wds_imageWidth = jQuery(this).attr("wds_image_width");          var wds_imageHeight = jQuery(this).attr("wds_image_height");          var wds_width = wds_imageWidth;          if (wds_origWidth <= wds_imageWidth) {            wds_width = wds_origWidth;          }          var wds_height = wds_imageHeight;          if (wds_origHeight <= wds_imageHeight) {            wds_height = wds_origHeight;          }          jQuery(this).css({            maxWidth: (parseFloat(wds_imageWidth) * ratio) + "px",            maxHeight: (parseFloat(wds_imageHeight) * ratio) + "px",          });          if (jQuery(this).attr("wds_scale") != "on") {            jQuery(this).css({              width: (parseFloat(wds_imageWidth) * ratio) + "px",              height: (parseFloat(wds_imageHeight) * ratio) + "px"            });          }          else if (wds_origWidth <= wds_imageWidth || wds_origHeight <= wds_imageHeight) {            if (wds_origWidth / wds_imageWidth > wds_origHeight / wds_imageHeight) {              jQuery(this).css({                width: (parseFloat(wds_imageWidth) * ratio) + "px"              });            }            else {              jQuery(this).css({                height: (parseFloat(wds_imageHeight) * ratio) + "px"              });            }          }        });        jQuery(".wds_slideshow_image_2 span, .wds_slideshow_image_2 i").each(function () {          jQuery(this).css({            fontSize: (parseFloat(jQuery(this).attr("wds_fsize")) * ratio) + "px",            lineHeight: "1.25em",            paddingLeft: (parseFloat(jQuery(this).attr("wds_fpaddingl")) * ratio) + "px",            paddingRight: (parseFloat(jQuery(this).attr("wds_fpaddingr")) * ratio) + "px",            paddingTop: (parseFloat(jQuery(this).attr("wds_fpaddingt")) * ratio) + "px",            paddingBottom: (parseFloat(jQuery(this).attr("wds_fpaddingb")) * ratio) + "px",          })        });      }      function wds_genBgPos_2() {        var bgSizeArray = [0, 70];        var bgSize = bgSizeArray[Math.floor(Math.random() * bgSizeArray.length)];                var bgPosXArray = ['left', 'right'];        var bgPosYArray = ['top', 'bottom'];        var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];        var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];        jQuery(".wds_slideshow_image_2").css({          backgroundPosition: bgPosX + " " + bgPosY,          backgroundSize : (100 + bgSize) + "%",          webkitAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize,          mozAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize,          animation: '5s linear 0s alternate infinite wdszoom' + bgSize        });      }      jQuery(window).resize(function () {        wds_resize_slider_2();      });      function wds_full_width_2() {        var left = jQuery("#wds_container1_2").offset().left;        jQuery(".wds_slideshow_image_wrap_2").css({          left: (-left + 0) + "px",          width: (jQuery(window).width() - 0) + "px",          maxWidth: "none"        });      }      jQuery(window).load(function () {                jQuery("#wds_container1_2").mouseover(function(e) {          wds_stop_animation_2();        });        jQuery("#wds_container1_2").mouseout(function(e) {          if (!e) {            var e = window.event;          }          var reltg = (e.relatedTarget) ? e.relatedTarget : e.toElement;          while (reltg.tagName != 'BODY') {            if (reltg.id == this.id){              return;            }            reltg = reltg.parentNode;          }          wds_play_animation_2();        });                jQuery(".wds_slideshow_image_2 span, .wds_slideshow_image_2 i").each(function () {          jQuery(this).attr("wds_fpaddingl", jQuery(this).css("paddingLeft"));          jQuery(this).attr("wds_fpaddingr", jQuery(this).css("paddingRight"));          jQuery(this).attr("wds_fpaddingt", jQuery(this).css("paddingTop"));          jQuery(this).attr("wds_fpaddingb", jQuery(this).css("paddingBottom"));        });        if (4000) {          jQuery("#wds_container2_2").hover(function () {            jQuery(".wds_right-ico_2").animate({left: 0}, 700, "swing");            jQuery(".wds_left-ico_2").animate({left: 0}, 700, "swing");            jQuery("#wds_slideshow_play_pause_2").animate({opacity: 1, filter: "Alpha(opacity=100)"}, 700, "swing");          }, function () {            jQuery(".wds_right-ico_2").css({left: 4000});            jQuery(".wds_left-ico_2").css({left: -4000});            jQuery("#wds_slideshow_play_pause_2").css({opacity: 0, filter: "Alpha(opacity=0)"});          });        }        wds_resize_slider_2();        jQuery("#wds_container2_2").css({visibility: 'visible'});        jQuery(".wds_loading").hide();      	        if (typeof jQuery().swiperight !== 'undefined') {          if (jQuery.isFunction(jQuery().swiperight)) {            jQuery('#wds_container1_2').swiperight(function () {              wds_change_image_2(parseInt(jQuery('#wds_current_image_key_2').val()), (parseInt(jQuery('#wds_current_image_key_2').val()) - iterator_2()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_2').val()) - iterator_2()) % wds_data_2.length : wds_data_2.length - 1, wds_data_2);              return false;            });          }        }        if (typeof jQuery().swipeleft !== 'undefined') {          if (jQuery.isFunction(jQuery().swipeleft)) {            jQuery('#wds_container1_2').swipeleft(function () {              wds_change_image_2(parseInt(jQuery('#wds_current_image_key_2').val()), (parseInt(jQuery('#wds_current_image_key_2').val()) + iterator_2()) % wds_data_2.length, wds_data_2);              return false;            });          }        }        var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));        var wds_click = isMobile ? 'touchend' : 'click';        var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */        jQuery('.wds_slideshow_filmstrip_2').bind(mousewheelevt, function(e) {          var evt = window.event || e; /* Equalize event object.*/          evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/          var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/          if (delta > 0) {            /* Scroll up.*/            jQuery(".wds_slideshow_filmstrip_left_2").trigger("click");          }          else {            /* Scroll down.*/            jQuery(".wds_slideshow_filmstrip_right_2").trigger("click");          }          return false;        });        jQuery(".wds_slideshow_filmstrip_right_2").on(wds_click, function () {          if (typeof jQuery().stop !== 'undefined') {            if (jQuery.isFunction(jQuery().stop)) {              jQuery( ".wds_slideshow_filmstrip_thumbnails_2" ).stop(true, false);            }          }          if (jQuery(".wds_slideshow_filmstrip_thumbnails_2").position().left >= -(jQuery(".wds_slideshow_filmstrip_thumbnails_2").width() - jQuery(".wds_slideshow_filmstrip_2").width())) {            jQuery(".wds_slideshow_filmstrip_left_2").css({opacity: 1, filter: "Alpha(opacity=100)"});            if (jQuery(".wds_slideshow_filmstrip_thumbnails_2").position().left < -(jQuery(".wds_slideshow_filmstrip_thumbnails_2").width() - jQuery(".wds_slideshow_filmstrip_2").width() - 0)) {              jQuery(".wds_slideshow_filmstrip_thumbnails_2").animate({left: -(jQuery(".wds_slideshow_filmstrip_thumbnails_2").width() - jQuery(".wds_slideshow_filmstrip_2").width())}, 500, 'linear');            }            else {              jQuery(".wds_slideshow_filmstrip_thumbnails_2").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_2").position().left - 0)}, 500, 'linear');            }          }          /* Disable right arrow.*/          window.setTimeout(function() {            if (jQuery(".wds_slideshow_filmstrip_thumbnails_2").position().left == -(jQuery(".wds_slideshow_filmstrip_thumbnails_2").width() - jQuery(".wds_slideshow_filmstrip_2").width())) {              jQuery(".wds_slideshow_filmstrip_right_2").css({opacity: 0.3, filter: "Alpha(opacity=30)"});            }          }, 500);        });        jQuery(".wds_slideshow_filmstrip_left_2").on(wds_click, function () {          if (typeof jQuery().stop !== 'undefined') {            if (jQuery.isFunction(jQuery().stop)) {              jQuery( ".wds_slideshow_filmstrip_thumbnails_2" ).stop(true, false);            }          }          if (jQuery(".wds_slideshow_filmstrip_thumbnails_2").position().left < 0) {            jQuery(".wds_slideshow_filmstrip_right_2").css({opacity: 1, filter: "Alpha(opacity=100)"});            if (jQuery(".wds_slideshow_filmstrip_thumbnails_2").position().left > - 0) {              jQuery(".wds_slideshow_filmstrip_thumbnails_2").animate({left: 0}, 500, 'linear');            }            else {              jQuery(".wds_slideshow_filmstrip_thumbnails_2").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_2").position().left + 0)}, 500, 'linear');            }          }          /* Disable left arrow.*/          window.setTimeout(function(){            if (jQuery(".wds_slideshow_filmstrip_thumbnails_2").position().left == 0) {              jQuery(".wds_slideshow_filmstrip_left_2").css({opacity: 0.3, filter: "Alpha(opacity=30)"});            }          }, 500);        });        /* Set filmstrip initial position.*/        wds_set_filmstrip_pos_2(jQuery(".wds_slideshow_filmstrip_2").width());        /* Play/pause.*/        jQuery("#wds_slideshow_play_pause_2").on(wds_click, function () {          if (jQuery(".wds_ctrl_btn_2").hasClass("fa-play")) {            /* Play.*/            jQuery(".wds_slideshow_play_pause_2").attr("title", "Pause");            jQuery(".wds_slideshow_play_pause_2").attr("class", "wds_ctrl_btn_2 wds_slideshow_play_pause_2 fa fa-pause");            play_2();            if (0) {              document.getElementById("wds_audio_2").play();            }          }          else {            /* Pause.*/            /* Pause layers out effect.*/            var current_key = jQuery('#wds_current_image_key_2').val();            var current_slide_layers_count = wds_data_2[current_key]["slide_layers_count"];            setTimeout(function() {              for (var k = 0; k < current_slide_layers_count; k++) {                clearTimeout(wds_clear_layers_effects_out_2[current_key][k]);              }            }, wds_duration_for_clear_effects_2);            window.clearInterval(wds_playInterval_2);            jQuery(".wds_slideshow_play_pause_2").attr("title", "Play");            jQuery(".wds_slideshow_play_pause_2").attr("class", "wds_ctrl_btn_2 wds_slideshow_play_pause_2 fa fa-play");            if (0) {              document.getElementById("wds_audio_2").pause();            }            if (typeof jQuery().stop !== 'undefined') {              if (jQuery.isFunction(jQuery().stop)) {                jQuery(".wds_line_timer_2").stop();              }            }          }        });        if (1) {          play_2();          jQuery(".wds_slideshow_play_pause_2").attr("title", "Pause");          jQuery(".wds_slideshow_play_pause_2").attr("class", "wds_ctrl_btn_2 wds_slideshow_play_pause_2 fa fa-pause");          if (0) {            document.getElementById("wds_audio_2").play();          }        }                function wds_preload_2(preload_key) {          jQuery("<img/>")            .load(function() { if (preload_key < wds_data_2.length - 1) wds_preload_2(preload_key + 1); })            .error(function() { if (preload_key < wds_data_2.length - 1) wds_preload_2(preload_key + 1); })            .attr("src", (!wds_data_2[preload_key]["is_video"] ? wds_data_2[preload_key]["image_url"] : ""));        }        wds_preload_2(0);                var first_slide_layers_count_2 = wds_data_2[0]["slide_layers_count"];        if (first_slide_layers_count_2) {          /* Loop through layers in.*/          for (var j = 0; j < first_slide_layers_count_2; j++) {            set_layer_effect_in_onload_2(j);          }          /* Loop through layers out.*/          for (var i = 0; i < first_slide_layers_count_2; i++) {            set_layer_effect_out_onload_2(i);          }        }      });	    function wds_stop_animation_2() {        window.clearInterval(wds_playInterval_2);        /* Pause layers out effect.*/        var current_key = jQuery('#wds_current_image_key_2').val();        var current_slide_layers_count = wds_data_2[current_key]["slide_layers_count"];			        setTimeout(function() {          for (var k = 0; k < current_slide_layers_count; k++) {            clearTimeout(wds_clear_layers_effects_out_2[current_key][k]);          }        }, wds_duration_for_clear_effects_2);        if (0) {          document.getElementById("wds_audio_2").pause();        }        if (typeof jQuery().stop !== 'undefined') {          if (jQuery.isFunction(jQuery().stop)) {            jQuery(".wds_line_timer_2").stop();          }        }			}      function wds_play_animation_2() {        if (jQuery(".wds_ctrl_btn_2").hasClass("fa-play")) {          return;        }		    play_2();        if (0) {          document.getElementById("wds_audio_2").play();        }	       }      /* Effects in part.*/				  function set_layer_effect_in_onload_2(j) {		    wds_clear_layers_effects_in_2[0][j] = setTimeout(function(){          if (wds_data_2[0]["layer_" + j + "_type"] != 'social') {            jQuery('#wds_2_slide' + wds_data_2[0]["id"] + '_layer' + wds_data_2[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_2[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_2[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 		        jQuery('#wds_2_slide' + wds_data_2[0]["id"] + '_layer' + wds_data_2[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_2[0]["layer_" + j + "_layer_effect_in"] + ' animated');		      }          else {            jQuery('#wds_2_slide' + wds_data_2[0]["id"] + '_layer' + wds_data_2[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_2[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_2[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');	            jQuery('#wds_2_slide' + wds_data_2[0]["id"] + '_layer' + wds_data_2[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_2[0]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_2[0]["layer_" + j + "_social_button"] + ' animated');          }		    }, wds_data_2[0]["layer_" + j + "_start"]);		  }      /* Effects out part.*/		  function set_layer_effect_out_onload_2(i) {			  wds_clear_layers_effects_out_2[0][i] = setTimeout(function() {          if (wds_data_2[0]["layer_" + i + "_layer_effect_out"] != 'none') {            if (wds_data_2[0]["layer_" + i + "_type"] != 'social') {              jQuery('#wds_2_slide' + wds_data_2[0]["id"] + '_layer' + wds_data_2[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_2[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_2[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				               jQuery('#wds_2_slide' + wds_data_2[0]["id"] + '_layer' + wds_data_2[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_2[0]["layer_" + i + "_layer_effect_out"] + ' animated');            }            else {              jQuery('#wds_2_slide' + wds_data_2[0]["id"] + '_layer' + wds_data_2[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_2[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_2[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');              jQuery('#wds_2_slide' + wds_data_2[0]["id"] + '_layer' + wds_data_2[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_2[0]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_2[0]["layer_" + i + "_social_button"] + ' animated');            }          }		    }, wds_data_2[0]["layer_" + i + "_end"]);		  }      function play_2() {        if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_2').hasClass('fa-pause'))) {          jQuery(".wds_line_timer_2").animate({            width: "100%"          }, {            duration: 5000,            specialEasing: {width: "linear"}          });        }        window.clearInterval(wds_playInterval_2);        /* Play.*/        wds_playInterval_2 = setInterval(function () {          var iterator = 1;          if (0) {            iterator = Math.floor((wds_data_2.length - 1) * Math.random() + 1);          }          wds_change_image_2(parseInt(jQuery('#wds_current_image_key_2').val()), (parseInt(jQuery('#wds_current_image_key_2').val()) + iterator) % wds_data_2.length, wds_data_2)        }, '5000');      }      jQuery(window).focus(function() {        if (!jQuery(".wds_ctrl_btn_2").hasClass("fa-play")) {          if (1) {            play_2();          }        }        var i_2 = 0;        jQuery(".wds_slider_2").children("span").each(function () {          if (jQuery(this).css('opacity') == 1) {            jQuery("#wds_current_image_key_2").val(i_2);          }          i_2++;        });      });      jQuery(window).blur(function() {        wds_event_stack_2 = [];        window.clearInterval(wds_playInterval_2);        if (typeof jQuery().stop !== 'undefined') {          if (jQuery.isFunction(jQuery().stop)) {            jQuery(".wds_line_timer_2").stop();          }        }      });    </script>    
<div class="sharedaddy sd-sharing-enabled"><div class="robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing"><h3 class="sd-title">Share this:</h3><div class="sd-content"><ul><li class="share-reddit"><a rel="nofollow" data-shared="" class="share-reddit sd-button share-icon" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/?share=reddit" target="_blank" title="Click to share on Reddit"><span>Reddit</span></a></li><li class="share-facebook"><a rel="nofollow" data-shared="sharing-facebook-17484" class="share-facebook sd-button share-icon" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/?share=facebook" target="_blank" title="Click to share on Facebook"><span>Facebook</span></a></li><li class="share-jetpack-whatsapp"><a rel="nofollow" data-shared="" class="share-jetpack-whatsapp sd-button share-icon" href="https://api.whatsapp.com/send?text=Hurricane%20Harvey%20and%20How%20it%20has%20Badly%20Affected%20St%20Thomas%27%20Episcopal%20School%20Pipe%20Band https%3A%2F%2Fpipingpress.com%2F2017%2F09%2F08%2Fhurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band%2F" target="_blank" title="Click to share on WhatsApp"><span>WhatsApp</span></a></li><li class="share-pocket"><a rel="nofollow" data-shared="" class="share-pocket sd-button share-icon" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/?share=pocket" target="_blank" title="Click to share on Pocket"><span>Pocket</span></a></li><li class="share-print"><a rel="nofollow" data-shared="" class="share-print sd-button share-icon" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/#print" target="_blank" title="Click to print"><span>Print</span></a></li><li class="share-google-plus-1"><a rel="nofollow" data-shared="sharing-google-17484" class="share-google-plus-1 sd-button share-icon" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/?share=google-plus-1" target="_blank" title="Click to share on Google+"><span>Google</span></a></li><li class="share-pinterest"><a rel="nofollow" data-shared="sharing-pinterest-17484" class="share-pinterest sd-button share-icon" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/?share=pinterest" target="_blank" title="Click to share on Pinterest"><span>Pinterest</span></a></li><li class="share-email"><a rel="nofollow" data-shared="" class="share-email sd-button share-icon" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/?share=email" target="_blank" title="Click to email this to a friend"><span>Email</span></a></li><li class="share-twitter"><a rel="nofollow" data-shared="sharing-twitter-17484" class="share-twitter sd-button share-icon" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/?share=twitter" target="_blank" title="Click to share on Twitter"><span>Twitter</span></a></li><li class="share-tumblr"><a rel="nofollow" data-shared="" class="share-tumblr sd-button share-icon" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/?share=tumblr" target="_blank" title="Click to share on Tumblr"><span>Tumblr</span></a></li><li class="share-linkedin"><a rel="nofollow" data-shared="sharing-linkedin-17484" class="share-linkedin sd-button share-icon" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/?share=linkedin" target="_blank" title="Click to share on LinkedIn"><span>LinkedIn</span></a></li><li class="share-skype"><a rel="nofollow" data-shared="sharing-skype-17484" class="share-skype sd-button share-icon" href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/?share=skype" target="_blank" title="Share on Skype"><span>Skype</span></a></li><li class="share-end"></li></ul></div></div></div>	</div><!-- .entry-content -->
	
	<footer class="entry-meta"><span class="tag-links"><a href="https://pipingpress.com/tag/bagpipes/" rel="tag">bagpipes</a><a href="https://pipingpress.com/tag/ceol-beag/" rel="tag">ceol beag</a><a href="https://pipingpress.com/tag/ceol-mor/" rel="tag">ceol mor</a><a href="https://pipingpress.com/tag/great-highland-bagpipe/" rel="tag">great highland bagpipe</a><a href="https://pipingpress.com/tag/hurricane-harvey/" rel="tag">hurricane harvey</a><a href="https://pipingpress.com/tag/light-music/" rel="tag">light music</a><a href="https://pipingpress.com/tag/piobaireachd/" rel="tag">Piobaireachd</a><a href="https://pipingpress.com/tag/pipe-band-drumming/" rel="tag">pipe band drumming</a><a href="https://pipingpress.com/tag/pipe-bands-2/" rel="tag">pipe bands</a><a href="https://pipingpress.com/tag/piping-press/" rel="tag">Piping Press</a><a href="https://pipingpress.com/tag/pp-editors-blog/" rel="tag">pp editor's blog</a><a href="https://pipingpress.com/tag/robert-wallace/" rel="tag">Robert Wallace</a><a href="https://pipingpress.com/tag/robert-wallace-blog/" rel="tag">robert wallace blog</a><a href="https://pipingpress.com/tag/scottish-music/" rel="tag">Scottish music</a><a href="https://pipingpress.com/tag/solo-piping/" rel="tag">solo piping</a></span></footer></article><!-- #post-## -->
	<nav class="navigation post-navigation" role="navigation">
		<h1 class="screen-reader-text">Post navigation</h1>
		<div class="nav-links">
			<a href="https://pipingpress.com/2017/09/07/some-personal-reflections-on-the-2017-ceol-mor-competitions-at-oban-and-inverness/" rel="prev"><span class="meta-nav">Previous Post</span>Some Personal Reflections on the 2017 Ceol Mor Competitions at Oban and Inverness</a><a href="https://pipingpress.com/2017/09/09/pitlochry-games-results/" rel="next"><span class="meta-nav">Next Post</span>Pitlochry Games Results</a>		</div><!-- .nav-links -->
	</nav><!-- .navigation -->
	
<div id="comments" class="comments-area">

	
	<h2 class="comments-title">
		One thought on &ldquo;Hurricane Harvey and How it has Badly Affected St Thomas&#8217; Episcopal School Pipe Band&rdquo;	</h2>

	
	<ol class="comment-list">
				<li id="comment-8535" class="comment even thread-even depth-1">
			<article id="div-comment-8535" class="comment-body">
				<footer class="comment-meta">
					<div class="comment-author vcard">
												<b class="fn">Jeff Bogran</b> <span class="says">says:</span>					</div><!-- .comment-author -->

					<div class="comment-metadata">
						<a href="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/#comment-8535">
							<time datetime="2017-09-12T23:39:23+00:00">
								September 12, 2017 at 11:39 pm							</time>
						</a>
											</div><!-- .comment-metadata -->

									</footer><!-- .comment-meta -->

				<div class="comment-content">
					<p>Having been at the center of the restoration and recovery efforts at St. Thomas, I have seen first hand the incredible team efforts given by Lyric and Nick and many of the band teachers and students. It&#8217;s what we&#8217;ve come to expect from our multiple world champion band and it&#8217;s staff.</p>
				</div><!-- .comment-content -->

							</article><!-- .comment-body -->
</li><!-- #comment-## -->
	</ol><!-- .comment-list -->

	
		<p class="no-comments">Comments are closed.</p>
	
	
	
</div><!-- #comments -->
		</div><!-- #content -->
	</div><!-- #primary -->

<div id="content-sidebar" class="content-sidebar widget-area" role="complementary">
	<aside id="search-7" class="widget widget_search"><h1 class="widget-title">What are you looking for?</h1><form role="search" method="get" class="search-form" action="https://pipingpress.com/">
				<label>
					<span class="screen-reader-text">Search for:</span>
					<input type="search" class="search-field" placeholder="Search &hellip;" value="" name="s" />
				</label>
				<input type="submit" class="search-submit" value="Search" />
			</form></aside>		<aside id="recent-posts-4" class="widget widget_recent_entries">		<h1 class="widget-title">Recent Posts</h1>		<ul>
											<li>
					<a href="https://pipingpress.com/2018/02/13/new-internet-piping-pipe-band-radio-show-worlds-2017-final-gallery-of-pix/">New Internet Piping &#038; Pipe Band Radio Show/ Worlds 2017 Final Gallery of Pix</a>
											<span class="post-date">February 13, 2018</span>
									</li>
											<li>
					<a href="https://pipingpress.com/2018/02/12/pp-eds-blog-band-numbers-poll-result-piob-soc-recital-ulster-petition-to-bbc/">PP Ed&#8217;s Blog: Band Numbers Poll Result/ Piob Soc Recital/ Ulster Petition to BBC</a>
											<span class="post-date">February 12, 2018</span>
									</li>
											<li>
					<a href="https://pipingpress.com/2018/02/10/details-of-2018-p-m-donald-macleod-memorial-announced-kintyre-juniors-entries/">Details of 2018 P/M Donald MacLeod Memorial Announced/ Kintyre Juniors Entries</a>
											<span class="post-date">February 10, 2018</span>
									</li>
											<li>
					<a href="https://pipingpress.com/2018/02/09/stuart-finlayson-interview-part-2-donald-and-duncan-were-my-dream-ticket/">Stuart Finlayson Interview Part 2 &#8211; Donald and Duncan were My Dream Ticket</a>
											<span class="post-date">February 9, 2018</span>
									</li>
											<li>
					<a href="https://pipingpress.com/2018/02/08/register-now-to-commemorate-the-end-of-ww1-100-years-ago/">Register Now to Commemorate the End of WW1 100 Years Ago</a>
											<span class="post-date">February 8, 2018</span>
									</li>
											<li>
					<a href="https://pipingpress.com/2018/02/08/rspba-allocate-judges-for-majors-2018-new-rules-for-world-solo-drumming/">RSPBA Allocate Judges for Majors 2018/ New Rules for World Solo Drumming</a>
											<span class="post-date">February 8, 2018</span>
									</li>
											<li>
					<a href="https://pipingpress.com/2018/02/07/pp-eds-blog-wsj-celtic-conns-letter-burgess-bagpipes-south-florida-sell-out-sheila-finlay/">PP Ed&#8217;s Blog: WSJ/ Celtic Conns/ Letter/ Burgess Bagpipes/ South Florida Sell Out/ Sheila Finlay</a>
											<span class="post-date">February 7, 2018</span>
									</li>
											<li>
					<a href="https://pipingpress.com/2018/02/06/wall-street-journal-joins-the-debate-on-the-number-of-pipers-in-bands/">Wall Street Journal Joins the Debate on the Number of Pipers in Bands</a>
											<span class="post-date">February 6, 2018</span>
									</li>
											<li>
					<a href="https://pipingpress.com/2018/02/05/irish-piobaireachd-society-annual-competition-results/">Irish Piobaireachd Society Annual Competition Results</a>
											<span class="post-date">February 5, 2018</span>
									</li>
											<li>
					<a href="https://pipingpress.com/2018/02/04/biggest-audience-figures-yet-at-celtic-connections/">Biggest Audience Figures Yet At Celtic Connections</a>
											<span class="post-date">February 4, 2018</span>
									</li>
					</ul>
		</aside><aside id="wdslider-24" class="widget wdslider"><h1 class="widget-title">At Your Service: G1 Reeds & Chanters</h1>    <style>
      #wds_container1_3 #wds_container2_3 {
        text-align: center;
        margin: 0px ;
        visibility: hidden;
              }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_image_wrap_3 * {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_image_wrap_3 {
        background-color: rgba(0, 0, 0, 0.00);
        border-width: 0px;
        border-style: none;
        border-color: #000000;
        border-radius: ;
        border-collapse: collapse;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100%;
        max-width: 800px;
        box-shadow: ;
        overflow: hidden;
        z-index: 0;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_image_3 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        vertical-align: middle;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_image_container_3 {
        display: table;
        position: absolute;
        text-align: center;
        none: 0px;
        vertical-align: middle;
        width: 100%;
        height: inherit;
      }

            @media only screen and (min-width: 0px) and (max-width: 320px) {
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_thumbnails_3 {
          height: 16px;
          width: 64px;
        }
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_3 {
          font-size: 12px;
          width: 12px;
          margin: 2px;
          height: 12px;
        }
        #wds_container1_3 #wds_container2_3 .wds_pp_btn_cont {  
          font-size: 20px;
          height: 20px;
          width: 20px;
        }
        #wds_container1_3 #wds_container2_3 .wds_left_btn_cont,
        #wds_container1_3 #wds_container2_3 .wds_right_btn_cont {
          height: 20px;
          font-size: 20px;
          width: 20px;
        }
      }
              @media only screen and (min-width: 321px) and (max-width: 480px) {
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_thumbnails_3 {
          height: 22px;
          width: 88px;
        }
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_3 {
          font-size: 18px;
          width: 18px;
          margin: 2px;
          height: 18px;
        }
        #wds_container1_3 #wds_container2_3 .wds_pp_btn_cont {  
          font-size: 30px;
          height: 30px;
          width: 30px;
        }
        #wds_container1_3 #wds_container2_3 .wds_left_btn_cont,
        #wds_container1_3 #wds_container2_3 .wds_right_btn_cont {
          height: 30px;
          font-size: 30px;
          width: 30px;
        }
      }
              @media only screen and (min-width: 481px) and (max-width: 640px) {
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_thumbnails_3 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_3 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_3 #wds_container2_3 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_3 #wds_container2_3 .wds_left_btn_cont,
        #wds_container1_3 #wds_container2_3 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 641px) and (max-width: 768px) {
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_thumbnails_3 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_3 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_3 #wds_container2_3 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_3 #wds_container2_3 .wds_left_btn_cont,
        #wds_container1_3 #wds_container2_3 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 769px) and (max-width: 800px) {
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_thumbnails_3 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_3 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_3 #wds_container2_3 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_3 #wds_container2_3 .wds_left_btn_cont,
        #wds_container1_3 #wds_container2_3 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 801px) and (max-width: 1024px) {
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_thumbnails_3 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_3 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_3 #wds_container2_3 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_3 #wds_container2_3 .wds_left_btn_cont,
        #wds_container1_3 #wds_container2_3 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1025px) and (max-width: 1366px) {
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_thumbnails_3 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_3 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_3 #wds_container2_3 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_3 #wds_container2_3 .wds_left_btn_cont,
        #wds_container1_3 #wds_container2_3 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1367px) and (max-width: 1824px) {
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_thumbnails_3 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_3 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_3 #wds_container2_3 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_3 #wds_container2_3 .wds_left_btn_cont,
        #wds_container1_3 #wds_container2_3 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1825px) and (max-width: 3000px) {
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_thumbnails_3 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_3 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_3 #wds_container2_3 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_3 #wds_container2_3 .wds_left_btn_cont,
        #wds_container1_3 #wds_container2_3 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
        
      #wds_container1_3 #wds_container2_3 .wds_slideshow_video_3 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        width: 100%;
        vertical-align: middle;
        display: inline-block;
      }
      #wds_container1_3 #wds_container2_3 #wds_slideshow_play_pause_3 {  
        color: #000000;
        cursor: pointer;
        position: relative;
        z-index: 13;
        width: inherit;
        height: inherit;
        font-size: inherit;
      }
      #wds_container1_3 #wds_container2_3 #wds_slideshow_play_pause_3:hover {  
        color: #000000;
        cursor: pointer;
      }
      #wds_container1_3 #wds_container2_3 .wds_left-ico_3,
      #wds_container1_3 #wds_container2_3 .wds_right-ico_3 {
        background-color: rgba(255, 255, 255, 0.00);
        border-radius: 20px;
        border: 0px none #FFFFFF;
        border-collapse: separate;
        color: #000000;
        left: 0;
        top: 0;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        cursor: pointer;
        line-height: 0;
        width: inherit;
        height: inherit;
        font-size: inherit;
        position: absolute;
      }
      #wds_container1_3 #wds_container2_3 .wds_left-ico_3 {
        left: -4000px;
      }
      #wds_container1_3 #wds_container2_3 .wds_right-ico_3 {
        left: 4000px;
      }
            #wds_container1_3 #wds_container2_3 #wds_slideshow_play_pause_3 {
        opacity: 0;
        filter: "Alpha(opacity=0)";
      }
      #wds_container1_3 #wds_container2_3 .wds_left-ico_3:hover,
      #wds_container1_3 #wds_container2_3 .wds_right-ico_3:hover {
        color: #000000;
        cursor: pointer;
      }

      /* Filmstrip*/
      #wds_container1_3 #wds_container2_3 .wds_slideshow_filmstrip_container_3 {
        background-color: #000000 !important;
        display: /*table*/block;
        height: 0px;
        position: absolute;
        width: 100%;
        z-index: 10105;
        none: 0;
        overflow: hidden;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_filmstrip_3 {
        overflow: hidden;
        position: absolute;
        width: 100%;
        width: 100%;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_filmstrip_thumbnails_3 {
        height: inherit;
        left: 0px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        width: 0px;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_filmstrip_thumbnail_3 {
        position: relative;
        background: none;
        cursor: pointer;
        float: left;
        height: inherit;
        margin: 0 0px;
        width: 0px;
        overflow: hidden;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_thumb_active_3 div {
        opacity: 1;
        filter: Alpha(opacity=100);
        border: 0px none #FFFFFF;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_thumb_deactive_3 {
        opacity: 0.50;
        filter: Alpha(opacity=50);
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_filmstrip_thumbnail_img_3 {
        display: block;
        opacity: 1;
        filter: Alpha(opacity=100);
        padding: 0 !important;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 0px;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_filmstrip_left_3,
      #wds_container1_3 #wds_container2_3 .wds_slideshow_filmstrip_right_3 {
        background-color: rgba(0, 0, 0, 0.5);
        cursor: pointer;
        display: table;
        vertical-align: middle;
        width: 20px;
        z-index: 10000;
        position: absolute;
        height: inherit; 
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_filmstrip_left_3 {
        left: 0;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_filmstrip_right_3 {
        right: 0;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_filmstrip_left_3 i,
      #wds_container1_3 #wds_container2_3 .wds_slideshow_filmstrip_right_3 i {
        color: #FFFFFF;
        display: table-cell;
        font-size: 20px;
        vertical-align: middle;
      }

      #wds_container1_3 #wds_container2_3 .wds_none_selectable_3 {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }
      #wds_container1_3 #wds_container2_3 .wds_slide_container_3 {
        display: table-cell;
        margin: 0 auto;
        position: absolute;
        vertical-align: middle;
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
      #wds_container1_3 #wds_container2_3 .wds_slide_bg_3 {
        margin: 0 auto;
        width: inherit;
        height: inherit;
      }
      #wds_container1_3 #wds_container2_3 .wds_slider_3 {
        height: inherit;
        width: inherit;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_image_spun_3 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=100);
        opacity: 1;
        position: absolute;
        vertical-align: middle;
        z-index: 2;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_image_second_spun_3 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=0);
        opacity: 0;
        position: absolute;
        vertical-align: middle;
        z-index: 1;
      }
      #wds_container1_3 #wds_container2_3 .wds_grid_3 {
        display: none;
        height: 100%;
        overflow: hidden;
        position: absolute;
        width: 100%;
      }
      #wds_container1_3 #wds_container2_3 .wds_gridlet_3 {
        opacity: 1;
        filter: Alpha(opacity=100);
        position: absolute;
      }

      /* Dots.*/
      #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_container_3 {
        display: block;
        overflow: hidden;
        position: absolute;
        width: 100%;
        none: 0px;
        /*z-index: 17;*/
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_thumbnails_3 {
        left: 0px;
        font-size: 0;
        margin: 0 auto;
        position: relative;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_3 {
        display: inline-block;
        position: relative;
        color: #FFFFFF;
        cursor: pointer;
        z-index: 17;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_active_3 {
        color: #FFFFFF;
        opacity: 1;
        filter: Alpha(opacity=100);
              }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_dots_deactive_3 {
              }

      /* Timer.*/
      #wds_container1_3 #wds_container2_3 .wds_line_timer_container_3 {
        display: block;
        position: absolute;
        overflow: hidden;
        none: 0;
        z-index: 16;
        width: 100%;
        height: 5px;
      }
      #wds_container1_3 #wds_container2_3 .wds_line_timer_3 {
        z-index: 17;
        width: 0;
        height: 5px;
        background: #FFFFFF;
        opacity: 0.50;
        filter: alpha(opacity=50);
      }

      #wds_container1_3 #wds_container2_3 .wds_slideshow_image_spun1_3 {
        display: table; 
        width: inherit; 
        height: inherit;
      }
      #wds_container1_3 #wds_container2_3 .wds_slideshow_image_spun2_3 {
        display: table-cell; 
        vertical-align: middle; 
        text-align: center;
        overflow: hidden;
      }
          </style>
    <script>
      var wds_data_3 = [];
      var wds_event_stack_3 = [];
      var wds_clear_layers_effects_in_3 = [];
      var wds_clear_layers_effects_out_3 = [];
      var wds_clear_layers_effects_out_before_change_3 = [];
      if (0) {
        var wds_duration_for_change_3 = 500;
        var wds_duration_for_clear_effects_3 = 530;
      }
      else {
        var wds_duration_for_change_3 = 0;
        var wds_duration_for_clear_effects_3 = 0;
      }
              wds_clear_layers_effects_in_3["0"] = [];
        wds_clear_layers_effects_out_3["0"] = [];
        wds_clear_layers_effects_out_before_change_3["0"] = [];
        wds_data_3["0"] = [];
        wds_data_3["0"]["id"] = "129";
        wds_data_3["0"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/G1.gif";
        wds_data_3["0"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/G1.gif";
        wds_data_3["0"]["is_video"] = "";
        wds_data_3["0"]["slide_layers_count"] = 0;
                    wds_data_3["0"]["layer_0_id"] = "22";
            wds_data_3["0"]["layer_0_layer_effect_in"] = "bounceIn";
            wds_data_3["0"]["layer_0_duration_eff_in"] = "1000";
            wds_data_3["0"]["layer_0_layer_effect_out"] = "bounceOut";
            wds_data_3["0"]["layer_0_duration_eff_out"] = "1000";
            wds_data_3["0"]["layer_0_social_button"] = "";
            wds_data_3["0"]["layer_0_start"] = "1000";
            wds_data_3["0"]["layer_0_end"] = "3000";
            wds_data_3["0"]["layer_0_type"] = "text";
            wds_data_3["0"]["slide_layers_count"] ++;
                    wds_clear_layers_effects_in_3["1"] = [];
        wds_clear_layers_effects_out_3["1"] = [];
        wds_clear_layers_effects_out_before_change_3["1"] = [];
        wds_data_3["1"] = [];
        wds_data_3["1"]["id"] = "130";
        wds_data_3["1"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//G1 2.jpg";
        wds_data_3["1"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/G1 2.jpg";
        wds_data_3["1"]["is_video"] = "";
        wds_data_3["1"]["slide_layers_count"] = 0;
                    wds_data_3["1"]["layer_0_id"] = "23";
            wds_data_3["1"]["layer_0_layer_effect_in"] = "rollIn";
            wds_data_3["1"]["layer_0_duration_eff_in"] = "1000";
            wds_data_3["1"]["layer_0_layer_effect_out"] = "rollOut";
            wds_data_3["1"]["layer_0_duration_eff_out"] = "1000";
            wds_data_3["1"]["layer_0_social_button"] = "";
            wds_data_3["1"]["layer_0_start"] = "1000";
            wds_data_3["1"]["layer_0_end"] = "3000";
            wds_data_3["1"]["layer_0_type"] = "text";
            wds_data_3["1"]["slide_layers_count"] ++;
                    wds_clear_layers_effects_in_3["2"] = [];
        wds_clear_layers_effects_out_3["2"] = [];
        wds_clear_layers_effects_out_before_change_3["2"] = [];
        wds_data_3["2"] = [];
        wds_data_3["2"]["id"] = "131";
        wds_data_3["2"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//G1 3.jpg";
        wds_data_3["2"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/G1 3.jpg";
        wds_data_3["2"]["is_video"] = "";
        wds_data_3["2"]["slide_layers_count"] = 0;
                    wds_data_3["2"]["layer_0_id"] = "24";
            wds_data_3["2"]["layer_0_layer_effect_in"] = "bounceIn";
            wds_data_3["2"]["layer_0_duration_eff_in"] = "1000";
            wds_data_3["2"]["layer_0_layer_effect_out"] = "bounceOut";
            wds_data_3["2"]["layer_0_duration_eff_out"] = "1000";
            wds_data_3["2"]["layer_0_social_button"] = "";
            wds_data_3["2"]["layer_0_start"] = "1000";
            wds_data_3["2"]["layer_0_end"] = "3000";
            wds_data_3["2"]["layer_0_type"] = "text";
            wds_data_3["2"]["slide_layers_count"] ++;
                    wds_clear_layers_effects_in_3["3"] = [];
        wds_clear_layers_effects_out_3["3"] = [];
        wds_clear_layers_effects_out_before_change_3["3"] = [];
        wds_data_3["3"] = [];
        wds_data_3["3"]["id"] = "132";
        wds_data_3["3"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//G1 4.jpg";
        wds_data_3["3"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/G1 4.jpg";
        wds_data_3["3"]["is_video"] = "";
        wds_data_3["3"]["slide_layers_count"] = 0;
                    wds_data_3["3"]["layer_0_id"] = "25";
            wds_data_3["3"]["layer_0_layer_effect_in"] = "rollIn";
            wds_data_3["3"]["layer_0_duration_eff_in"] = "1000";
            wds_data_3["3"]["layer_0_layer_effect_out"] = "rollOut";
            wds_data_3["3"]["layer_0_duration_eff_out"] = "1000";
            wds_data_3["3"]["layer_0_social_button"] = "";
            wds_data_3["3"]["layer_0_start"] = "1000";
            wds_data_3["3"]["layer_0_end"] = "3000";
            wds_data_3["3"]["layer_0_type"] = "text";
            wds_data_3["3"]["slide_layers_count"] ++;
                
    </script>
    <div id="wds_container1_3">
      <div class="wds_loading">
        <img src="https://pipingpress.com/wp-content/plugins/slider-wd/images/ajax_loader.png" class="wds_loading_img" style="float: none; width:50px;" />
      </div>
      <div id="wds_container2_3">
        <div class="wds_slideshow_image_wrap_3">
                    <div id="wds_slideshow_image_container_3" class="wds_slideshow_image_container_3">
                        <div class="wds_slide_container_3">
              <div class="wds_slide_bg_3">
                <div class="wds_slider_3">
                                  <span class="wds_slideshow_image_spun_3" id="image_id_3_129">
                    <span class="wds_slideshow_image_spun1_3">
                      <span class="wds_slideshow_image_spun2_3">
                                                <div img_id="wds_slideshow_image_3"
                             class="wds_slideshow_image_3"
                             onclick="window.open('http://www.g1reeds.com', '_blank')"
                             style="cursor: pointer;background-image: url('http://pipingpress.com/wp-content/uploads/slider-wd/G1.gif');">
                                                            <style>
                                    #wds_container1_3 #wds_container2_3 #wds_3_slide129_layer22 {
                                      font-size: 40px;
                                      line-height: 1.25em;
                                      padding: 5px;
                                    }
                                    #wds_container1_3 #wds_container2_3 .wds_layer_22{
                                      opacity: 0 !important;
                                      filter: "Alpha(opacity=0)" !important;
                                    }
                                  </style>
                                <span class="wds_layer_22" id="wds_3_slide129_layer22" wds_fsize="40"
                                      style="word-break: keep-all; text-align: initial; cursor: pointer; opacity: 1; filter: 'Alpha(opacity=100)'; display: inline-block; position: absolute; left: 15%; top: 33.333333333333%; z-index: 1; color: #FFD631; font-family: arial; font-weight: bold; background-color: rgba(0, 0, 0, 0.80); border: 2px none #FFFFFF; border-radius: 2px; box-shadow: "
                                      onclick="window.open('http://www.g1reeds.com', '_blank');event.stopPropagation();">As played by top G1 bands!</span>
                                                          </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_3" id="image_id_3_130">
                    <span class="wds_slideshow_image_spun1_3">
                      <span class="wds_slideshow_image_spun2_3">
                                                <div img_id="wds_slideshow_image_second_3"
                             class="wds_slideshow_image_3"
                             onclick="window.open('http://www.g1reeds.com', '_blank')"
                             style="cursor: pointer;">
                                                            <style>
                                    #wds_container1_3 #wds_container2_3 #wds_3_slide130_layer23 {
                                      font-size: 48px;
                                      line-height: 1.25em;
                                      padding: 5px;
                                    }
                                    #wds_container1_3 #wds_container2_3 .wds_layer_23{
                                      opacity: 0 !important;
                                      filter: "Alpha(opacity=0)" !important;
                                    }
                                  </style>
                                <span class="wds_layer_23" id="wds_3_slide130_layer23" wds_fsize="48"
                                      style="word-break: keep-all; text-align: initial; cursor: pointer; opacity: 1; filter: 'Alpha(opacity=100)'; display: inline-block; position: absolute; left: 18.75%; top: 30%; z-index: 1; color: #FFD631; font-family: arial; font-weight: bold; background-color: rgba(0, 0, 0, 0.80); border: 2px none #FFFFFF; border-radius: 2px; box-shadow: "
                                      onclick="window.open('http://www.g1reeds.com', '_blank');event.stopPropagation();">Best service guaranteed</span>
                                                          </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_3" id="image_id_3_131">
                    <span class="wds_slideshow_image_spun1_3">
                      <span class="wds_slideshow_image_spun2_3">
                                                <div img_id="wds_slideshow_image_second_3"
                             class="wds_slideshow_image_3"
                             onclick="window.open('http://www.g1reeds.com', '_blank')"
                             style="cursor: pointer;">
                                                            <style>
                                    #wds_container1_3 #wds_container2_3 #wds_3_slide131_layer24 {
                                      font-size: 48px;
                                      line-height: 1.25em;
                                      padding: 5px;
                                    }
                                    #wds_container1_3 #wds_container2_3 .wds_layer_24{
                                      opacity: 0 !important;
                                      filter: "Alpha(opacity=0)" !important;
                                    }
                                  </style>
                                <span class="wds_layer_24" id="wds_3_slide131_layer24" wds_fsize="48"
                                      style="word-break: keep-all; text-align: initial; opacity: 1; filter: 'Alpha(opacity=100)'; display: inline-block; position: absolute; left: 25%; top: 60%; z-index: 1; color: #FFD631; font-family: arial; font-weight: bold; background-color: rgba(0, 0, 0, 0.80); border: 2px none #FFFFFF; border-radius: 2px; box-shadow: "
                                      onclick="event.stopPropagation();">A Proven Winner!</span>
                                                          </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_3" id="image_id_3_132">
                    <span class="wds_slideshow_image_spun1_3">
                      <span class="wds_slideshow_image_spun2_3">
                                                <div img_id="wds_slideshow_image_second_3"
                             class="wds_slideshow_image_3"
                             onclick="window.open('http://www.g1reeds.com', '_blank')"
                             style="cursor: pointer;">
                                                            <style>
                                    #wds_container1_3 #wds_container2_3 #wds_3_slide132_layer25 {
                                      font-size: 48px;
                                      line-height: 1.25em;
                                      padding: 5px;
                                    }
                                    #wds_container1_3 #wds_container2_3 .wds_layer_25{
                                      opacity: 0 !important;
                                      filter: "Alpha(opacity=0)" !important;
                                    }
                                  </style>
                                <span class="wds_layer_25" id="wds_3_slide132_layer25" wds_fsize="48"
                                      style="word-break: keep-all; text-align: initial; cursor: pointer; opacity: 1; filter: 'Alpha(opacity=100)'; display: inline-block; position: absolute; left: 13.75%; top: 46.666666666667%; z-index: 1; color: #FFD631; font-family: arial; font-weight: bold; background-color: rgba(0, 0, 0, 0.80); border: 2px none #FFFFFF; border-radius: 2px; box-shadow: "
                                      onclick="window.open('http://www.g1reeds.com', '_blank');event.stopPropagation();">The Choice of Champions</span>
                                                          </div>
                      </span>
                    </span>
                  </span>
                                  <input type="hidden" id="wds_current_image_key_3" value="0" />
                </div>
              </div>
            </div>
                      </div>
                  </div>
      </div>
    </div>

    <script>
      var wds_trans_in_progress_3 = false;
      var wds_transition_duration_3 = 800;
      var wds_playInterval_3;
      var progress = 0;
      /* Stop autoplay.*/
      window.clearInterval(wds_playInterval_3);
      var wds_current_key_3 = '0';
      var wds_current_filmstrip_pos_3 = 0;
      /* Set filmstrip initial position.*/
      function wds_set_filmstrip_pos_3(filmStripWidth) {
        var selectedImagePos = -wds_current_filmstrip_pos_3 - (jQuery(".wds_slideshow_filmstrip_thumbnail_3").width() + 0) / 2;
        var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".wds_slideshow_filmstrip_thumbnails_3").width(), selectedImagePos + filmStripWidth / 2));
        jQuery(".wds_slideshow_filmstrip_thumbnails_3").animate({
            left: imagesContainerLeft
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_3(); }
          });
      }
      function wds_move_filmstrip_3() {
        var image_left = jQuery(".wds_slideshow_thumb_active_3").position().left;
        var image_right = jQuery(".wds_slideshow_thumb_active_3").position().left + jQuery(".wds_slideshow_thumb_active_3").outerWidth(true);
        var wds_filmstrip_width = jQuery(".wds_slideshow_filmstrip_3").outerWidth(true);
        var wds_filmstrip_thumbnails_width = jQuery(".wds_slideshow_filmstrip_thumbnails_3").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_filmstrip_thumbnails_3").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_filmstrip_thumbnails_3").position().left) + wds_filmstrip_width;
        if (wds_filmstrip_width > wds_filmstrip_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_3").animate({
            left: -image_left
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_3(); }
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_3").animate({
            left: -(image_right - wds_filmstrip_width)
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_3(); }
          });
        }
      }
      function wds_move_dots_3() {
        var image_left = jQuery(".wds_slideshow_dots_active_3").position().left;
        var image_right = jQuery(".wds_slideshow_dots_active_3").position().left + jQuery(".wds_slideshow_dots_active_3").outerWidth(true);
        var wds_dots_width = jQuery(".wds_slideshow_dots_container_3").outerWidth(true);
        var wds_dots_thumbnails_width = jQuery(".wds_slideshow_dots_thumbnails_3").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_dots_thumbnails_3").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_dots_thumbnails_3").position().left) + wds_dots_width;
        if (wds_dots_width > wds_dots_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_dots_thumbnails_3").animate({
            left: -image_left
          }, {
            duration: 500
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_dots_thumbnails_3").animate({
            left: -(image_right - wds_dots_width)
          }, {
            duration: 500
          });
        }
      }
      /* Show/hide filmstrip arrows.*/
      function wds_filmstrip_arrows_3() {
        if (jQuery(".wds_slideshow_filmstrip_thumbnails_3").width() < jQuery(".wds_slideshow_filmstrip_3").width()) {
          jQuery(".wds_slideshow_filmstrip_left_3").hide();
          jQuery(".wds_slideshow_filmstrip_right_3").hide();
        }
        else {
          jQuery(".wds_slideshow_filmstrip_left_3").show();
          jQuery(".wds_slideshow_filmstrip_right_3").show();
        }
      }
      function wds_testBrowser_cssTransitions_3() {
        return wds_testDom_3('Transition');
      }
      function wds_testBrowser_cssTransforms3d_3() {
        return wds_testDom_3('Perspective');
      }
      function wds_testDom_3(prop) {
        /* Browser vendor CSS prefixes.*/
        var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-'];
        /* Browser vendor DOM prefixes.*/
        var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml'];
        var i = domPrefixes.length;
        while (i--) {
          if (typeof document.body.style[domPrefixes[i] + prop] !== 'undefined') {
            return true;
          }
        }
        return false;
      }
      function wds_set_dots_class_3() {
        jQuery(".wds_slideshow_dots_3").removeClass("wds_slideshow_dots_active_3").addClass("wds_slideshow_dots_deactive_3");
        jQuery("#wds_dots_" + wds_current_key_3 + "_3").removeClass("wds_slideshow_dots_deactive_3").addClass("wds_slideshow_dots_active_3");
                jQuery(".wds_slideshow_dots_3").removeClass("fa-square").addClass("fa-square-o");
        jQuery("#wds_dots_" + wds_current_key_3 + "_3").removeClass("fa-square-o").addClass("fa-square");
              }
      function wds_grid3d_3(cols, rows, tz, wrx, wry, nty, ntx, nry, nrx, current_image_class, next_image_class, direction, random, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_3()) {
          return wds_fallback_3(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_3 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_3").removeClass("wds_slideshow_thumb_active_3").addClass("wds_slideshow_thumb_deactive_3");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_3 + "_3").removeClass("wds_slideshow_thumb_deactive_3").addClass("wds_slideshow_thumb_active_3");
        wds_set_dots_class_3();

        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_3) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, src2, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;

          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_3" />').css({
            width : "100%",
            height : "100%",
            transform : 'translateZ(' + tz + 'px)',
            backfaceVisibility : 'hidden',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_3" />').css({
            width : jQuery(".wds_slideshow_image_spun_3").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_3").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_3").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_3").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_3").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          var grid_div2 = jQuery('<div class="wds_gridlet_3" />').css({
            width : "100%",
            height : "100%",
            backfaceVisibility : 'hidden',
            transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_3" />').css({
            width : jQuery(".wds_slideshow_image_spun_3").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_3").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src2,
            backgroundSize: jQuery(".wds_slideshow_image_3").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_3").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_3").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          return jQuery('<div class="wds_gridlet_3" />').css({
            width : width,
            height : height,
            top : top,
            left : left,
            transition : 'all ' + wds_transition_duration_3 + 'ms ' + easing + ' ' + delay + 'ms',
            transform: 'translateZ(-' + tz + 'px)',
            transformStyle: 'preserve-3d',
          }).append(grid_div).append(grid_div2);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        var next_img = jQuery(next_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_3').css('perspective', 1000);
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_3");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),
            imgSrcNext = next_img.css('background-image'),
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_3").width() - cur_img.width()) / 2;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_3").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgSrcNext, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);        
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 1);
        /* After transition.*/
         var cccount = 0;
         var obshicccount = cols * rows;
         grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
         function wds_after_trans_each() {
           if (++cccount == obshicccount) {
             wds_after_trans();
           }
         }
         function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_3 = false;
          if (typeof wds_event_stack_3 !== 'undefined') {
            if (wds_event_stack_3.length > 0) {
              key = wds_event_stack_3[0].split("-");
              wds_event_stack_3.shift();
              wds_change_image_3(key[0], key[1], wds_data_3, true);
            }
          }
        }
      }
      function wds_slic3DH_3(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_3(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_3(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_slic3DV_3(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_3(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_3(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      
      function wds_slicR3DH_3(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_3(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_3(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_slicR3DV_3(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_3(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_3(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_parallelSlide_3(ni_left, ni_top, tx, ty, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_3()) {
          return wds_fallback_3(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_3()) {
          return wds_fallback3d_3(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_3 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_3").removeClass("wds_slideshow_thumb_active_3").addClass("wds_slideshow_thumb_deactive_3");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_3 + "_3").removeClass("wds_slideshow_thumb_deactive_3").addClass("wds_slideshow_thumb_active_3");
        wds_set_dots_class_3();
        jQuery(current_image_class).css({
          position : 'absolute',
          top : '0px',
          left : '0px',
          position : 'absolute',
        });
        jQuery(next_image_class).css({
          position : 'absolute',
          top : ni_top + 'px',
          left : ni_left + 'px',
          'opacity' : 1, 
          filter : 'Alpha(opacity=100)',
          position : 'absolute',
        });
        jQuery(".wds_slider_3").css({
          position : 'relative',
          'backface-visibility': 'hidden'
        });
        jQuery(".wds_slide_bg_3").css({
          overflow : 'hidden',
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery('.wds_slider_3').css({
            transition : 'all ' + wds_transition_duration_3 + 'ms ' + easing,
            transform : 'translateX(' + tx + 'px) translateY(' + ty + 'px)',
          });
        }, 1);
        /* After transition.*/
        jQuery('.wds_slider_3').one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_3").removeAttr('style');
          jQuery(".wds_slide_bg_3").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_3 = false;
          if (typeof wds_event_stack_3 !== 'undefined') {
            if (wds_event_stack_3.length > 0) {
              key = wds_event_stack_3[0].split("-");
              wds_event_stack_3.shift();
              wds_change_image_3(key[0], key[1], wds_data_3, true);
            }
          }
        }
      }
      function wds_parallelSlideH_3(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_3(width, 0, -width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_3(-width, 0, width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_parallelSlideV_3(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_3(0, height, 0, -height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_3(0, -height, 0, height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_cube_3(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_3()) {
          return wds_fallback_3(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_3()) {
          return wds_fallback3d_3(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_3 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_3").removeClass("wds_slideshow_thumb_active_3").addClass("wds_slideshow_thumb_deactive_3");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_3 + "_3").removeClass("wds_slideshow_thumb_deactive_3").addClass("wds_slideshow_thumb_active_3");
        wds_set_dots_class_3();

        jQuery(".wds_slide_container_3").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_spun2_3").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_wrap_3").css('overflow', 'visible');
        var filmstrip_position = 'none';
        if (filmstrip_position == 'none') {
          jQuery(".wds_slideshow_image_3").css('border-radius', jQuery(".wds_slideshow_image_wrap_3").css('border-radius'));
        }
        else {
          jQuery(".wds_slideshow_image_3").css('border-radius', '');
          jQuery(".wds_slideshow_filmstrip_container_3").css('border-radius', '');
          if (filmstrip_position == 'top') {
            jQuery(".wds_slideshow_image_3").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_image_3").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_3").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_3").css('border-bottom-right-radius', 0);
          }
          else if (filmstrip_position == 'bottom') {
            jQuery(".wds_slideshow_image_3").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_3").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_3").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_3").css('border-top-right-radius', 0);
          }
          else if (filmstrip_position == 'right') {
            jQuery(".wds_slideshow_image_3").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_image_3").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_3").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_3").css('border-top-left-radius', 0);
          }
          else if (filmstrip_position == 'left') {
            jQuery(".wds_slideshow_image_3").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_3").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_3").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_3").css('border-top-right-radius', 0);
          }
        }

        jQuery(".wds_slide_bg_3").css('perspective', 1000);
        jQuery(current_image_class).css({
          transform : 'translateZ(' + tz + 'px)',
          backfaceVisibility : 'hidden'
        });
        jQuery(next_image_class).css({
          opacity : 1,
          filter: 'Alpha(opacity=100)',
          zIndex: 2,
          backfaceVisibility : 'hidden',
          transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)'
        });
        jQuery(".wds_slider_3").css({
          transform: 'translateZ(-' + tz + 'px)',
          transformStyle: 'preserve-3d',
          position: 'absolute'
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery(".wds_slider_3").css({
            transition: 'all ' + wds_transition_duration_3 + 'ms ' + easing,
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 20);
        /* After transition.*/
        jQuery(".wds_slider_3").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_3").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_3 = false;
          if (typeof wds_event_stack_3 !== 'undefined') {
            if (wds_event_stack_3.length > 0) {
              key = wds_event_stack_3[0].split("-");
              wds_event_stack_3.shift();
              wds_change_image_3(key[0], key[1], wds_data_3, true);
            }
          }
          jQuery(".wds_slide_container_3").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_spun2_3").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_wrap_3").css('overflow', 'hidden');
        }
      }
      function wds_cubeR_3(current_image_class, next_image_class, direction) {
        var random_direction = Math.floor(Math.random() * 2);
        var dimension = random_direction ? jQuery(current_image_class).height() / 2 : jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
         if (random_direction) {
           wds_cube_3(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_3(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
        else if (direction == 'left') {
         if (random_direction) {
           wds_cube_3(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_3(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
      }
      function wds_cubeH_3(current_image_class, next_image_class, direction) {
        /* Set to half of image width.*/
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_cube_3(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_3(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_cubeV_3(current_image_class, next_image_class, direction) {
        /* Set to half of image height.*/
        var dimension = jQuery(current_image_class).height() / 2;
        /* If next slide.*/
        if (direction == 'right') {
          wds_cube_3(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_3(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      /* For browsers that does not support transitions.*/
      function wds_fallback_3(current_image_class, next_image_class, direction) {
        wds_fade_3(current_image_class, next_image_class, direction);
      }
      /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
      function wds_fallback3d_3(current_image_class, next_image_class, direction) {
        wds_sliceV_3(current_image_class, next_image_class, direction);
      }
      function wds_none_3(current_image_class, next_image_class, direction) {
        jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
        jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_3").removeClass("wds_slideshow_thumb_active_3").addClass("wds_slideshow_thumb_deactive_3");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_3 + "_3").removeClass("wds_slideshow_thumb_deactive_3").addClass("wds_slideshow_thumb_active_3");
        wds_set_dots_class_3();
      }
      function wds_fade_3(current_image_class, next_image_class, direction) {
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_3").removeClass("wds_slideshow_thumb_active_3").addClass("wds_slideshow_thumb_deactive_3");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_3 + "_3").removeClass("wds_slideshow_thumb_deactive_3").addClass("wds_slideshow_thumb_active_3");
        wds_set_dots_class_3();
        if (wds_testBrowser_cssTransitions_3()) {
          jQuery(next_image_class).css('transition', 'opacity ' + wds_transition_duration_3 + 'ms linear');
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        }
        else {
          jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, wds_transition_duration_3);
          jQuery(next_image_class).animate({
              'opacity' : 1,
              'z-index': 2
            }, {
              duration: wds_transition_duration_3,
              complete: function () {  }
            });
          /* For IE.*/
          jQuery(current_image_class).fadeTo(wds_transition_duration_3, 0);
          jQuery(next_image_class).fadeTo(wds_transition_duration_3, 1);
        }
      }
      function wds_grid_3(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction, random, roy, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_3()) {
          return wds_fallback_3(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_3 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_3").removeClass("wds_slideshow_thumb_active_3").addClass("wds_slideshow_thumb_deactive_3");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_3 + "_3").removeClass("wds_slideshow_thumb_deactive_3").addClass("wds_slideshow_thumb_active_3");
        wds_set_dots_class_3();
        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_3) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;
          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_3" />').css({
            width : imgWidth,/*"100%"*/
            height : jQuery(".wds_slideshow_image_spun_3").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_3").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_3").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_3").css("background-color"),*/
            backgroundRepeat: 'no-repeat'
          });
          return jQuery('<div class="wds_gridlet_3" />').css({
            width : width,/*"100%"*/
            height : height,
            top : top,
            left : left,
            backgroundSize : imgWidth + 'px ' + imgHeight + 'px',
            backgroundPosition : img_left + 'px ' + img_top + 'px',
            backgroundRepeat: 'no-repeat',
            overflow: "hidden",
            transition : 'all ' + wds_transition_duration_3 + 'ms ' + easing + ' ' + delay + 'ms',
            transform : 'none'
          }).append(grid_div);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_3');
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_3");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),/*.replace('/thumb', ''),*/
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_3").width() - cur_img.width()) / 2;
        /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/
        tx = tx === 'auto' ? contWidth : tx;
        tx = tx === 'min-auto' ? - contWidth : tx;
        ty = ty === 'auto' ? contHeight : ty;
        ty = ty === 'min-auto' ? - contHeight : ty;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_3").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);
        /* Add identifying classes to corner gridlets (useful if applying border radius).*/
        grid.children().first().addClass('rs-top-left');
        grid.children().last().addClass('rs-bottom-right');
        grid.children().eq(rows - 1).addClass('rs-bottom-left');
        grid.children().eq(- rows).addClass('rs-top-right');
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            opacity: op,
            transform: 'rotate('+ ro +'deg) rotateY('+ roy +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')'
          });
        }, 1);
        jQuery(next_image_class).css('opacity', 1);
        /* After transition.*/
        var cccount = 0;
        var obshicccount = cols * rows;
        grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
        function wds_after_trans_each() {
         if (++cccount == obshicccount) {
           wds_after_trans();
         }
        }
        function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_3 = false;
          if (typeof wds_event_stack_3 !== 'undefined') {
            if (wds_event_stack_3.length > 0) {
              key = wds_event_stack_3[0].split("-");
              wds_event_stack_3.shift();
              wds_change_image_3(key[0], key[1], wds_data_3, true);
            }
          }
        }
      }
      function wds_sliceH_3(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_3(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_sliceV_3(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'min-auto';
        }
        else if (direction == 'left') {
          var translateY = 'auto';
        }
        wds_grid_3(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_slideV_3(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'auto';
        }
        else if (direction == 'left') {
          var translateY = 'min-auto';
        }
        wds_grid_3(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_slideH_3(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_3(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_scaleOut_3(current_image_class, next_image_class, direction) {
        wds_grid_3(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_scaleIn_3(current_image_class, next_image_class, direction) {
        wds_grid_3(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScale_3(current_image_class, next_image_class, direction) {
        wds_grid_3(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScaleR_3(current_image_class, next_image_class, direction) {
        wds_grid_3(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 1, 0, 'ease-in-out');
      }
      function wds_blindR_3(current_image_class, next_image_class, direction) {
        wds_grid_3(8, 1, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_tilesR_3(current_image_class, next_image_class, direction) {
        wds_grid_3(8, 8, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_kaleidoscope_3(current_image_class, next_image_class, direction) {
        wds_grid_3(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_fan_3(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var rotate = 45;
          var translateX = 100;
        }
        else if (direction == 'left') {
          var rotate = -45;
          var translateX = -100;
        }
        wds_grid_3(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindV_3(current_image_class, next_image_class, direction) {
        wds_grid_3(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindH_3(current_image_class, next_image_class, direction) {
        wds_grid_3(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_random_3(current_image_class, next_image_class, direction) {
        var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV', 'parallelSlideH', 'parallelSlideV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_3"](current_image_class, next_image_class, direction);
      }
      function wds_3Drandom_3(current_image_class, next_image_class, direction) {
        var anims = ['cubeH', 'cubeV', 'cubeR', 'slic3DH', 'slic3DV', 'slicR3DH', 'slicR3DV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_3"](current_image_class, next_image_class, direction);
      }
      function iterator_3() {
        var iterator = 1;
        if (0) {
          iterator = Math.floor((wds_data_3.length - 1) * Math.random() + 1);
        }
        return iterator;
      }
      function wds_change_image_3(current_key, key, wds_data_3, from_effect) {
                /* Pause videos.*/
        jQuery("#wds_slideshow_image_container_3").find("iframe").each(function () {
          jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
          jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*");
        });
        if (wds_data_3[key]) {
          if (jQuery('.wds_ctrl_btn_3').hasClass('fa-pause') || ('1')) {
            play_3();
          }
          if (!from_effect) {
            /* Change image key.*/
            jQuery("#wds_current_image_key_3").val(key);
            if (current_key == '-1') { /* Filmstrip.*/
              current_key = jQuery(".wds_slideshow_thumb_active_3").children("img").attr("image_key");
            }
            else if (current_key == '-2') { /* Dots.*/
              current_key = jQuery(".wds_slideshow_dots_active_3").attr("image_key");
            }
          }
          if (wds_trans_in_progress_3) {
            wds_event_stack_3.push(current_key + '-' + key);
            return;
          }
          var direction = 'right';
          if (wds_current_key_3 > key) {
            var direction = 'left';
          }
          else if (wds_current_key_3 == key) {
            return;
          }
          /* Set active thumbnail position.*/
          wds_current_filmstrip_pos_3 = key * (jQuery(".wds_slideshow_filmstrip_thumbnail_3").width() + 2 + 2 * 0);
          wds_current_key_3 = key;
          /* Change image id.*/
          jQuery("div[img_id=wds_slideshow_image_3]").attr('image_id', wds_data_3[key]["id"]);
          var current_image_class = "#image_id_3_" + wds_data_3[current_key]["id"];
          var next_image_class = "#image_id_3_" + wds_data_3[key]["id"];
                    if (!wds_data_3[key]["is_video"]) {
            jQuery(next_image_class).find("div").css("background-image", 'url("' + wds_data_3[key]["image_url"] + '")');
          }
                    var current_slide_layers_count = wds_data_3[current_key]["slide_layers_count"];
          var next_slide_layers_count = wds_data_3[key]["slide_layers_count"];

          /* Clear layers before image change.*/
          function set_layer_effect_out_before_change(m) {
            wds_clear_layers_effects_out_before_change_3[current_key][m] = setTimeout(function() {
              if (wds_data_3[current_key]["layer_" + m + "_type"] != 'social') {
                jQuery('#wds_3_slide' + wds_data_3[current_key]["id"] + '_layer' + wds_data_3[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_3_slide' + wds_data_3[current_key]["id"] + '_layer' + wds_data_3[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_3[current_key]["layer_" + m + "_layer_effect_out"] + ' animated');
              }
              else {
                jQuery('#wds_3_slide' + wds_data_3[current_key]["id"] + '_layer' + wds_data_3[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_3_slide' + wds_data_3[current_key]["id"] + '_layer' + wds_data_3[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_3[current_key]["layer_" + m + "_layer_effect_out"] + ' fa fa-' + wds_data_3[current_key]["layer_" + m + "_social_button"] + ' animated');
              }
            }, 10);
          }
          if (0) {
            for (var m = 0; m < current_slide_layers_count; m++) {
              if (jQuery('#wds_3_slide' + wds_data_3[current_key]["id"] + '_layer' + wds_data_3[current_key]["layer_" + m + "_id"]).css('opacity') != 0) {
                set_layer_effect_out_before_change(m);
              }
            }
          }
          /* Loop through current slide layers for clear effects.*/
          setTimeout(function() {
            for (var k = 0; k < current_slide_layers_count; k++) {
              clearTimeout(wds_clear_layers_effects_in_3[current_key][k]);
              clearTimeout(wds_clear_layers_effects_out_3[current_key][k]);
              if (wds_data_3[current_key]["layer_" + k + "_type"] != 'social') {
                jQuery('#wds_3_slide' + wds_data_3[current_key]["id"] + '_layer' + wds_data_3[current_key]["layer_" + k + "_id"]).removeClass().addClass('wds_layer_'+ wds_data_3[current_key]["layer_" + k + "_id"]);
              }
              else {
                jQuery('#wds_3_slide' + wds_data_3[current_key]["id"] + '_layer' + wds_data_3[current_key]["layer_" + k + "_id"]).removeClass().addClass('fa fa-' + wds_data_3[current_key]["layer_" + k + "_social_button"] + ' wds_layer_' + wds_data_3[current_key]["layer_" + k + "_id"]);
              }
            }
          }, wds_duration_for_clear_effects_3);
          /* Effects out part.*/
          function set_layer_effect_out(i) {
            wds_clear_layers_effects_out_3[key][i] = setTimeout(function() {
              if (wds_data_3[key]["layer_" + i + "_layer_effect_out"] != 'none') {
                if (wds_data_3[key]["layer_" + i + "_type"] != 'social') {	
                  jQuery('#wds_3_slide' + wds_data_3[key]["id"] + '_layer' + wds_data_3[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_3[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_3[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
                  jQuery('#wds_3_slide' + wds_data_3[key]["id"] + '_layer' + wds_data_3[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_3[key]["layer_" + i + "_layer_effect_out"] + ' animated');
                }
                else {
                  jQuery('#wds_3_slide' + wds_data_3[key]["id"] + '_layer' + wds_data_3[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_3[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_3[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
                  jQuery('#wds_3_slide' + wds_data_3[key]["id"] + '_layer' + wds_data_3[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_3[key]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_3[key]["layer_" + i + "_social_button"] + ' animated');
                }
              }
            }, wds_data_3[key]["layer_" + i + "_end"]);
          }
          /* Effects in part.*/
          function set_layer_effect_in(j) {
            wds_clear_layers_effects_in_3[key][j] = setTimeout(function() {
              if (wds_data_3[key]["layer_" + j + "_type"] != 'social') {
                jQuery('#wds_3_slide' + wds_data_3[key]["id"] + '_layer' + wds_data_3[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_3[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_3[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
                jQuery('#wds_3_slide' + wds_data_3[key]["id"] + '_layer' + wds_data_3[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_3[key]["layer_" + j + "_layer_effect_in"] + ' animated');
              }
              else {
                jQuery('#wds_3_slide' + wds_data_3[key]["id"] + '_layer' + wds_data_3[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_3[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_3[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');
                jQuery('#wds_3_slide' + wds_data_3[key]["id"] + '_layer' + wds_data_3[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_3[key]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_3[key]["layer_" + j + "_social_button"] + ' animated');
              }
            }, wds_data_3[key]["layer_" + j + "_start"]);
          }
          /* Loop through layers in.*/
          for (var j = 0; j < next_slide_layers_count; j++) {
            set_layer_effect_in(j);
          }
          /* Loop through layers out if pause button not pressed.*/
          if (jQuery(".wds_ctrl_btn_3").hasClass("fa-pause")) {
            for (var i = 0; i < next_slide_layers_count; i++) {
              set_layer_effect_out(i);
            }
          }
          setTimeout(function() {
            if (typeof jQuery().finish !== 'undefined') {
              if (jQuery.isFunction(jQuery().finish)) {
                jQuery(".wds_line_timer_3").finish();
              }
            }
            jQuery(".wds_line_timer_3").css({width: 0});
            wds_fade_3(current_image_class, next_image_class, direction);
            if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_3').hasClass('fa-pause'))) {
              if (!jQuery(".wds_ctrl_btn_3").hasClass("fa-play")) {
                jQuery(".wds_line_timer_3").animate({
                  width: "100%"
                }, {
                  duration: 5000,
                  specialEasing: {width: "linear"}
                });
              }
              
            }
                        if (wds_data_3[key]["is_video"]) {
              jQuery("#wds_slideshow_play_pause_3").css({display: 'none'});
            }
            else {
              jQuery("#wds_slideshow_play_pause_3").css({display: ''});
            }
          }, wds_duration_for_change_3);
        }
      }
      function wds_resize_slider_3() {
        var slide_orig_width = 800;
        var slide_orig_height = 300;
        var slide_width = jQuery("#wds_container1_3").parent().width();
        if (slide_orig_width <= slide_width) {
          slide_width = slide_orig_width;
        }
        var ratio = slide_width / slide_orig_width;

                var slide_height = slide_orig_height;
        if (slide_orig_width > slide_width) {
          slide_height = Math.floor(slide_width * slide_orig_height / slide_orig_width);
        }

        jQuery(".wds_slideshow_image_wrap_3, #wds_container2_3").height(slide_height + 0);
        jQuery(".wds_slideshow_image_container_3").height(slide_height);
        jQuery(".wds_slideshow_image_3").height(slide_height);
        jQuery(".wds_slideshow_video_3").height(slide_height);
        jQuery(".wds_slideshow_image_3 img").each(function () {
          var wds_theImage = new Image();
          wds_theImage.src = jQuery(this).attr("src");
          var wds_origWidth = wds_theImage.width;
          var wds_origHeight = wds_theImage.height;
          var wds_imageWidth = jQuery(this).attr("wds_image_width");
          var wds_imageHeight = jQuery(this).attr("wds_image_height");
          var wds_width = wds_imageWidth;
          if (wds_origWidth <= wds_imageWidth) {
            wds_width = wds_origWidth;
          }
          var wds_height = wds_imageHeight;
          if (wds_origHeight <= wds_imageHeight) {
            wds_height = wds_origHeight;
          }
          jQuery(this).css({
            maxWidth: (parseFloat(wds_imageWidth) * ratio) + "px",
            maxHeight: (parseFloat(wds_imageHeight) * ratio) + "px",
          });
          if (jQuery(this).attr("wds_scale") != "on") {
            jQuery(this).css({
              width: (parseFloat(wds_imageWidth) * ratio) + "px",
              height: (parseFloat(wds_imageHeight) * ratio) + "px"
            });
          }
          else if (wds_origWidth <= wds_imageWidth || wds_origHeight <= wds_imageHeight) {
            if (wds_origWidth / wds_imageWidth > wds_origHeight / wds_imageHeight) {
              jQuery(this).css({
                width: (parseFloat(wds_imageWidth) * ratio) + "px"
              });
            }
            else {
              jQuery(this).css({
                height: (parseFloat(wds_imageHeight) * ratio) + "px"
              });
            }
          }

        });
        jQuery(".wds_slideshow_image_3 span, .wds_slideshow_image_3 i").each(function () {
          jQuery(this).css({
            fontSize: (parseFloat(jQuery(this).attr("wds_fsize")) * ratio) + "px",
            lineHeight: "1.25em",
            paddingLeft: (parseFloat(jQuery(this).attr("wds_fpaddingl")) * ratio) + "px",
            paddingRight: (parseFloat(jQuery(this).attr("wds_fpaddingr")) * ratio) + "px",
            paddingTop: (parseFloat(jQuery(this).attr("wds_fpaddingt")) * ratio) + "px",
            paddingBottom: (parseFloat(jQuery(this).attr("wds_fpaddingb")) * ratio) + "px",
          })
        });
      }
      function wds_genBgPos_3() {
        var bgSizeArray = [0, 70];
        var bgSize = bgSizeArray[Math.floor(Math.random() * bgSizeArray.length)];
        
        var bgPosXArray = ['left', 'right'];
        var bgPosYArray = ['top', 'bottom'];
        var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];
        var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];
        jQuery(".wds_slideshow_image_3").css({
          backgroundPosition: bgPosX + " " + bgPosY,
          backgroundSize : (100 + bgSize) + "%",
          webkitAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize,
          mozAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize,
          animation: '5s linear 0s alternate infinite wdszoom' + bgSize
        });
      }
      jQuery(window).resize(function () {
        wds_resize_slider_3();
      });
      function wds_full_width_3() {
        var left = jQuery("#wds_container1_3").offset().left;
        jQuery(".wds_slideshow_image_wrap_3").css({
          left: (-left + 0) + "px",
          width: (jQuery(window).width() - 0) + "px",
          maxWidth: "none"
        });
      }
      jQuery(window).load(function () {
                jQuery("#wds_container1_3").mouseover(function(e) {
          wds_stop_animation_3();
        });
        jQuery("#wds_container1_3").mouseout(function(e) {
          if (!e) {
            var e = window.event;
          }
          var reltg = (e.relatedTarget) ? e.relatedTarget : e.toElement;
          while (reltg.tagName != 'BODY') {
            if (reltg.id == this.id){
              return;
            }
            reltg = reltg.parentNode;
          }
          wds_play_animation_3();
        });
                jQuery(".wds_slideshow_image_3 span, .wds_slideshow_image_3 i").each(function () {
          jQuery(this).attr("wds_fpaddingl", jQuery(this).css("paddingLeft"));
          jQuery(this).attr("wds_fpaddingr", jQuery(this).css("paddingRight"));
          jQuery(this).attr("wds_fpaddingt", jQuery(this).css("paddingTop"));
          jQuery(this).attr("wds_fpaddingb", jQuery(this).css("paddingBottom"));
        });
        if (4000) {
          jQuery("#wds_container2_3").hover(function () {
            jQuery(".wds_right-ico_3").animate({left: 0}, 700, "swing");
            jQuery(".wds_left-ico_3").animate({left: 0}, 700, "swing");
            jQuery("#wds_slideshow_play_pause_3").animate({opacity: 1, filter: "Alpha(opacity=100)"}, 700, "swing");
          }, function () {
            jQuery(".wds_right-ico_3").css({left: 4000});
            jQuery(".wds_left-ico_3").css({left: -4000});
            jQuery("#wds_slideshow_play_pause_3").css({opacity: 0, filter: "Alpha(opacity=0)"});
          });
        }

        wds_resize_slider_3();
        jQuery("#wds_container2_3").css({visibility: 'visible'});
        jQuery(".wds_loading").hide();

      	        if (typeof jQuery().swiperight !== 'undefined') {
          if (jQuery.isFunction(jQuery().swiperight)) {
            jQuery('#wds_container1_3').swiperight(function () {
              wds_change_image_3(parseInt(jQuery('#wds_current_image_key_3').val()), (parseInt(jQuery('#wds_current_image_key_3').val()) - iterator_3()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_3').val()) - iterator_3()) % wds_data_3.length : wds_data_3.length - 1, wds_data_3);
              return false;
            });
          }
        }
        if (typeof jQuery().swipeleft !== 'undefined') {
          if (jQuery.isFunction(jQuery().swipeleft)) {
            jQuery('#wds_container1_3').swipeleft(function () {
              wds_change_image_3(parseInt(jQuery('#wds_current_image_key_3').val()), (parseInt(jQuery('#wds_current_image_key_3').val()) + iterator_3()) % wds_data_3.length, wds_data_3);
              return false;
            });
          }
        }

        var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
        var wds_click = isMobile ? 'touchend' : 'click';

        var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */
        jQuery('.wds_slideshow_filmstrip_3').bind(mousewheelevt, function(e) {
          var evt = window.event || e; /* Equalize event object.*/
          evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/
          var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/
          if (delta > 0) {
            /* Scroll up.*/
            jQuery(".wds_slideshow_filmstrip_left_3").trigger("click");
          }
          else {
            /* Scroll down.*/
            jQuery(".wds_slideshow_filmstrip_right_3").trigger("click");
          }
          return false;
        });
        jQuery(".wds_slideshow_filmstrip_right_3").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_3" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_3").position().left >= -(jQuery(".wds_slideshow_filmstrip_thumbnails_3").width() - jQuery(".wds_slideshow_filmstrip_3").width())) {
            jQuery(".wds_slideshow_filmstrip_left_3").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_3").position().left < -(jQuery(".wds_slideshow_filmstrip_thumbnails_3").width() - jQuery(".wds_slideshow_filmstrip_3").width() - 0)) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_3").animate({left: -(jQuery(".wds_slideshow_filmstrip_thumbnails_3").width() - jQuery(".wds_slideshow_filmstrip_3").width())}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_3").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_3").position().left - 0)}, 500, 'linear');
            }
          }
          /* Disable right arrow.*/
          window.setTimeout(function() {
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_3").position().left == -(jQuery(".wds_slideshow_filmstrip_thumbnails_3").width() - jQuery(".wds_slideshow_filmstrip_3").width())) {
              jQuery(".wds_slideshow_filmstrip_right_3").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        jQuery(".wds_slideshow_filmstrip_left_3").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_3" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_3").position().left < 0) {
            jQuery(".wds_slideshow_filmstrip_right_3").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_3").position().left > - 0) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_3").animate({left: 0}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_3").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_3").position().left + 0)}, 500, 'linear');
            }
          }
          /* Disable left arrow.*/
          window.setTimeout(function(){
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_3").position().left == 0) {
              jQuery(".wds_slideshow_filmstrip_left_3").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        /* Set filmstrip initial position.*/
        wds_set_filmstrip_pos_3(jQuery(".wds_slideshow_filmstrip_3").width());
        /* Play/pause.*/
        jQuery("#wds_slideshow_play_pause_3").on(wds_click, function () {
          if (jQuery(".wds_ctrl_btn_3").hasClass("fa-play")) {
            /* Play.*/
            jQuery(".wds_slideshow_play_pause_3").attr("title", "Pause");
            jQuery(".wds_slideshow_play_pause_3").attr("class", "wds_ctrl_btn_3 wds_slideshow_play_pause_3 fa fa-pause");
            play_3();
            if (0) {
              document.getElementById("wds_audio_3").play();
            }
          }
          else {
            /* Pause.*/
            /* Pause layers out effect.*/
            var current_key = jQuery('#wds_current_image_key_3').val();
            var current_slide_layers_count = wds_data_3[current_key]["slide_layers_count"];
            setTimeout(function() {
              for (var k = 0; k < current_slide_layers_count; k++) {
                clearTimeout(wds_clear_layers_effects_out_3[current_key][k]);
              }
            }, wds_duration_for_clear_effects_3);

            window.clearInterval(wds_playInterval_3);
            jQuery(".wds_slideshow_play_pause_3").attr("title", "Play");
            jQuery(".wds_slideshow_play_pause_3").attr("class", "wds_ctrl_btn_3 wds_slideshow_play_pause_3 fa fa-play");
            if (0) {
              document.getElementById("wds_audio_3").pause();
            }
            if (typeof jQuery().stop !== 'undefined') {
              if (jQuery.isFunction(jQuery().stop)) {
                jQuery(".wds_line_timer_3").stop();
              }
            }
          }
        });
        if (1) {
          play_3();
          jQuery(".wds_slideshow_play_pause_3").attr("title", "Pause");
          jQuery(".wds_slideshow_play_pause_3").attr("class", "wds_ctrl_btn_3 wds_slideshow_play_pause_3 fa fa-pause");
          if (0) {
            document.getElementById("wds_audio_3").play();
          }
        }
                function wds_preload_3(preload_key) {
          jQuery("<img/>")
            .load(function() { if (preload_key < wds_data_3.length - 1) wds_preload_3(preload_key + 1); })
            .error(function() { if (preload_key < wds_data_3.length - 1) wds_preload_3(preload_key + 1); })
            .attr("src", (!wds_data_3[preload_key]["is_video"] ? wds_data_3[preload_key]["image_url"] : ""));
        }
        wds_preload_3(0);
                var first_slide_layers_count_3 = wds_data_3[0]["slide_layers_count"];
        if (first_slide_layers_count_3) {
          /* Loop through layers in.*/
          for (var j = 0; j < first_slide_layers_count_3; j++) {
            set_layer_effect_in_onload_3(j);
          }
          /* Loop through layers out.*/
          for (var i = 0; i < first_slide_layers_count_3; i++) {
            set_layer_effect_out_onload_3(i);
          }
        }
      });
	    function wds_stop_animation_3() {
        window.clearInterval(wds_playInterval_3);
        /* Pause layers out effect.*/
        var current_key = jQuery('#wds_current_image_key_3').val();
        var current_slide_layers_count = wds_data_3[current_key]["slide_layers_count"];			
        setTimeout(function() {
          for (var k = 0; k < current_slide_layers_count; k++) {
            clearTimeout(wds_clear_layers_effects_out_3[current_key][k]);
          }
        }, wds_duration_for_clear_effects_3);
        if (0) {
          document.getElementById("wds_audio_3").pause();
        }
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_3").stop();
          }
        }
			}
      function wds_play_animation_3() {
        if (jQuery(".wds_ctrl_btn_3").hasClass("fa-play")) {
          return;
        }
		    play_3();
        if (0) {
          document.getElementById("wds_audio_3").play();
        }	 
      }
      /* Effects in part.*/		
		  function set_layer_effect_in_onload_3(j) {
		    wds_clear_layers_effects_in_3[0][j] = setTimeout(function(){
          if (wds_data_3[0]["layer_" + j + "_type"] != 'social') {
            jQuery('#wds_3_slide' + wds_data_3[0]["id"] + '_layer' + wds_data_3[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_3[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_3[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
		        jQuery('#wds_3_slide' + wds_data_3[0]["id"] + '_layer' + wds_data_3[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_3[0]["layer_" + j + "_layer_effect_in"] + ' animated');
		      }
          else {
            jQuery('#wds_3_slide' + wds_data_3[0]["id"] + '_layer' + wds_data_3[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_3[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_3[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');	
            jQuery('#wds_3_slide' + wds_data_3[0]["id"] + '_layer' + wds_data_3[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_3[0]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_3[0]["layer_" + j + "_social_button"] + ' animated');
          }
		    }, wds_data_3[0]["layer_" + j + "_start"]);
		  }
      /* Effects out part.*/
		  function set_layer_effect_out_onload_3(i) {
			  wds_clear_layers_effects_out_3[0][i] = setTimeout(function() {
          if (wds_data_3[0]["layer_" + i + "_layer_effect_out"] != 'none') {
            if (wds_data_3[0]["layer_" + i + "_type"] != 'social') {
              jQuery('#wds_3_slide' + wds_data_3[0]["id"] + '_layer' + wds_data_3[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_3[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_3[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
              jQuery('#wds_3_slide' + wds_data_3[0]["id"] + '_layer' + wds_data_3[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_3[0]["layer_" + i + "_layer_effect_out"] + ' animated');
            }
            else {
              jQuery('#wds_3_slide' + wds_data_3[0]["id"] + '_layer' + wds_data_3[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_3[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_3[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
              jQuery('#wds_3_slide' + wds_data_3[0]["id"] + '_layer' + wds_data_3[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_3[0]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_3[0]["layer_" + i + "_social_button"] + ' animated');
            }
          }
		    }, wds_data_3[0]["layer_" + i + "_end"]);
		  }
      function play_3() {
        if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_3').hasClass('fa-pause'))) {
          jQuery(".wds_line_timer_3").animate({
            width: "100%"
          }, {
            duration: 5000,
            specialEasing: {width: "linear"}
          });
        }
        window.clearInterval(wds_playInterval_3);
        /* Play.*/
        wds_playInterval_3 = setInterval(function () {
          var iterator = 1;
          if (0) {
            iterator = Math.floor((wds_data_3.length - 1) * Math.random() + 1);
          }
          wds_change_image_3(parseInt(jQuery('#wds_current_image_key_3').val()), (parseInt(jQuery('#wds_current_image_key_3').val()) + iterator) % wds_data_3.length, wds_data_3)
        }, '5000');
      }
      jQuery(window).focus(function() {
        if (!jQuery(".wds_ctrl_btn_3").hasClass("fa-play")) {
          if (1) {
            play_3();
          }
        }
        var i_3 = 0;
        jQuery(".wds_slider_3").children("span").each(function () {
          if (jQuery(this).css('opacity') == 1) {
            jQuery("#wds_current_image_key_3").val(i_3);
          }
          i_3++;
        });
      });
      jQuery(window).blur(function() {
        wds_event_stack_3 = [];
        window.clearInterval(wds_playInterval_3);
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_3").stop();
          }
        }
      });
    </script>
    </aside><aside id="wdslider-30" class="widget wdslider"><h1 class="widget-title">Fifty Years Service from RT Shepherd</h1>    <style>
      #wds_container1_4 #wds_container2_4 {
        text-align: center;
        margin: 0px ;
        visibility: hidden;
              }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_image_wrap_4 * {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_image_wrap_4 {
        background-color: rgba(0, 0, 0, 0.00);
        border-width: 0px;
        border-style: none;
        border-color: #000000;
        border-radius: ;
        border-collapse: collapse;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100%;
        max-width: 550px;
        box-shadow: ;
        overflow: hidden;
        z-index: 0;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_image_4 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        vertical-align: middle;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_image_container_4 {
        display: table;
        position: absolute;
        text-align: center;
        none: 0px;
        vertical-align: middle;
        width: 100%;
        height: inherit;
      }

            @media only screen and (min-width: 0px) and (max-width: 320px) {
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_thumbnails_4 {
          height: 16px;
          width: 64px;
        }
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_4 {
          font-size: 12px;
          width: 12px;
          margin: 2px;
          height: 12px;
        }
        #wds_container1_4 #wds_container2_4 .wds_pp_btn_cont {  
          font-size: 20px;
          height: 20px;
          width: 20px;
        }
        #wds_container1_4 #wds_container2_4 .wds_left_btn_cont,
        #wds_container1_4 #wds_container2_4 .wds_right_btn_cont {
          height: 20px;
          font-size: 20px;
          width: 20px;
        }
      }
              @media only screen and (min-width: 321px) and (max-width: 480px) {
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_thumbnails_4 {
          height: 22px;
          width: 88px;
        }
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_4 {
          font-size: 18px;
          width: 18px;
          margin: 2px;
          height: 18px;
        }
        #wds_container1_4 #wds_container2_4 .wds_pp_btn_cont {  
          font-size: 30px;
          height: 30px;
          width: 30px;
        }
        #wds_container1_4 #wds_container2_4 .wds_left_btn_cont,
        #wds_container1_4 #wds_container2_4 .wds_right_btn_cont {
          height: 30px;
          font-size: 30px;
          width: 30px;
        }
      }
              @media only screen and (min-width: 481px) and (max-width: 640px) {
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_thumbnails_4 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_4 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_4 #wds_container2_4 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_4 #wds_container2_4 .wds_left_btn_cont,
        #wds_container1_4 #wds_container2_4 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 641px) and (max-width: 768px) {
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_thumbnails_4 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_4 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_4 #wds_container2_4 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_4 #wds_container2_4 .wds_left_btn_cont,
        #wds_container1_4 #wds_container2_4 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 769px) and (max-width: 800px) {
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_thumbnails_4 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_4 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_4 #wds_container2_4 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_4 #wds_container2_4 .wds_left_btn_cont,
        #wds_container1_4 #wds_container2_4 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 801px) and (max-width: 1024px) {
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_thumbnails_4 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_4 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_4 #wds_container2_4 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_4 #wds_container2_4 .wds_left_btn_cont,
        #wds_container1_4 #wds_container2_4 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1025px) and (max-width: 1366px) {
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_thumbnails_4 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_4 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_4 #wds_container2_4 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_4 #wds_container2_4 .wds_left_btn_cont,
        #wds_container1_4 #wds_container2_4 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1367px) and (max-width: 1824px) {
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_thumbnails_4 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_4 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_4 #wds_container2_4 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_4 #wds_container2_4 .wds_left_btn_cont,
        #wds_container1_4 #wds_container2_4 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1825px) and (max-width: 3000px) {
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_thumbnails_4 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_4 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_4 #wds_container2_4 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_4 #wds_container2_4 .wds_left_btn_cont,
        #wds_container1_4 #wds_container2_4 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
        
      #wds_container1_4 #wds_container2_4 .wds_slideshow_video_4 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        width: 100%;
        vertical-align: middle;
        display: inline-block;
      }
      #wds_container1_4 #wds_container2_4 #wds_slideshow_play_pause_4 {  
        color: #000000;
        cursor: pointer;
        position: relative;
        z-index: 13;
        width: inherit;
        height: inherit;
        font-size: inherit;
      }
      #wds_container1_4 #wds_container2_4 #wds_slideshow_play_pause_4:hover {  
        color: #000000;
        cursor: pointer;
      }
      #wds_container1_4 #wds_container2_4 .wds_left-ico_4,
      #wds_container1_4 #wds_container2_4 .wds_right-ico_4 {
        background-color: rgba(255, 255, 255, 0.00);
        border-radius: 20px;
        border: 0px none #FFFFFF;
        border-collapse: separate;
        color: #000000;
        left: 0;
        top: 0;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        cursor: pointer;
        line-height: 0;
        width: inherit;
        height: inherit;
        font-size: inherit;
        position: absolute;
      }
      #wds_container1_4 #wds_container2_4 .wds_left-ico_4 {
        left: -4000px;
      }
      #wds_container1_4 #wds_container2_4 .wds_right-ico_4 {
        left: 4000px;
      }
            #wds_container1_4 #wds_container2_4 #wds_slideshow_play_pause_4 {
        opacity: 0;
        filter: "Alpha(opacity=0)";
      }
      #wds_container1_4 #wds_container2_4 .wds_left-ico_4:hover,
      #wds_container1_4 #wds_container2_4 .wds_right-ico_4:hover {
        color: #000000;
        cursor: pointer;
      }

      /* Filmstrip*/
      #wds_container1_4 #wds_container2_4 .wds_slideshow_filmstrip_container_4 {
        background-color: #000000 !important;
        display: /*table*/block;
        height: 0px;
        position: absolute;
        width: 100%;
        z-index: 10105;
        none: 0;
        overflow: hidden;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_filmstrip_4 {
        overflow: hidden;
        position: absolute;
        width: 100%;
        width: 100%;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_filmstrip_thumbnails_4 {
        height: inherit;
        left: 0px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        width: 0px;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_filmstrip_thumbnail_4 {
        position: relative;
        background: none;
        cursor: pointer;
        float: left;
        height: inherit;
        margin: 0 0px;
        width: 0px;
        overflow: hidden;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_thumb_active_4 div {
        opacity: 1;
        filter: Alpha(opacity=100);
        border: 0px none #FFFFFF;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_thumb_deactive_4 {
        opacity: 0.50;
        filter: Alpha(opacity=50);
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_filmstrip_thumbnail_img_4 {
        display: block;
        opacity: 1;
        filter: Alpha(opacity=100);
        padding: 0 !important;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 0px;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_filmstrip_left_4,
      #wds_container1_4 #wds_container2_4 .wds_slideshow_filmstrip_right_4 {
        background-color: rgba(0, 0, 0, 0.5);
        cursor: pointer;
        display: table;
        vertical-align: middle;
        width: 20px;
        z-index: 10000;
        position: absolute;
        height: inherit; 
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_filmstrip_left_4 {
        left: 0;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_filmstrip_right_4 {
        right: 0;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_filmstrip_left_4 i,
      #wds_container1_4 #wds_container2_4 .wds_slideshow_filmstrip_right_4 i {
        color: #FFFFFF;
        display: table-cell;
        font-size: 20px;
        vertical-align: middle;
      }

      #wds_container1_4 #wds_container2_4 .wds_none_selectable_4 {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }
      #wds_container1_4 #wds_container2_4 .wds_slide_container_4 {
        display: table-cell;
        margin: 0 auto;
        position: absolute;
        vertical-align: middle;
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
      #wds_container1_4 #wds_container2_4 .wds_slide_bg_4 {
        margin: 0 auto;
        width: inherit;
        height: inherit;
      }
      #wds_container1_4 #wds_container2_4 .wds_slider_4 {
        height: inherit;
        width: inherit;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_image_spun_4 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=100);
        opacity: 1;
        position: absolute;
        vertical-align: middle;
        z-index: 2;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_image_second_spun_4 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=0);
        opacity: 0;
        position: absolute;
        vertical-align: middle;
        z-index: 1;
      }
      #wds_container1_4 #wds_container2_4 .wds_grid_4 {
        display: none;
        height: 100%;
        overflow: hidden;
        position: absolute;
        width: 100%;
      }
      #wds_container1_4 #wds_container2_4 .wds_gridlet_4 {
        opacity: 1;
        filter: Alpha(opacity=100);
        position: absolute;
      }

      /* Dots.*/
      #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_container_4 {
        display: block;
        overflow: hidden;
        position: absolute;
        width: 100%;
        none: 0px;
        /*z-index: 17;*/
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_thumbnails_4 {
        left: 0px;
        font-size: 0;
        margin: 0 auto;
        position: relative;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_4 {
        display: inline-block;
        position: relative;
        color: #FFFFFF;
        cursor: pointer;
        z-index: 17;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_active_4 {
        color: #FFFFFF;
        opacity: 1;
        filter: Alpha(opacity=100);
              }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_dots_deactive_4 {
              }

      /* Timer.*/
      #wds_container1_4 #wds_container2_4 .wds_line_timer_container_4 {
        display: block;
        position: absolute;
        overflow: hidden;
        none: 0;
        z-index: 16;
        width: 100%;
        height: 5px;
      }
      #wds_container1_4 #wds_container2_4 .wds_line_timer_4 {
        z-index: 17;
        width: 0;
        height: 5px;
        background: #FFFFFF;
        opacity: 0.50;
        filter: alpha(opacity=50);
      }

      #wds_container1_4 #wds_container2_4 .wds_slideshow_image_spun1_4 {
        display: table; 
        width: inherit; 
        height: inherit;
      }
      #wds_container1_4 #wds_container2_4 .wds_slideshow_image_spun2_4 {
        display: table-cell; 
        vertical-align: middle; 
        text-align: center;
        overflow: hidden;
      }
          </style>
    <script>
      var wds_data_4 = [];
      var wds_event_stack_4 = [];
      var wds_clear_layers_effects_in_4 = [];
      var wds_clear_layers_effects_out_4 = [];
      var wds_clear_layers_effects_out_before_change_4 = [];
      if (0) {
        var wds_duration_for_change_4 = 500;
        var wds_duration_for_clear_effects_4 = 530;
      }
      else {
        var wds_duration_for_change_4 = 0;
        var wds_duration_for_clear_effects_4 = 0;
      }
              wds_clear_layers_effects_in_4["0"] = [];
        wds_clear_layers_effects_out_4["0"] = [];
        wds_clear_layers_effects_out_before_change_4["0"] = [];
        wds_data_4["0"] = [];
        wds_data_4["0"]["id"] = "191";
        wds_data_4["0"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//Shepherd 1 A5 (1).jpg";
        wds_data_4["0"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/Shepherd 1 A5 (1).jpg";
        wds_data_4["0"]["is_video"] = "";
        wds_data_4["0"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_4["1"] = [];
        wds_clear_layers_effects_out_4["1"] = [];
        wds_clear_layers_effects_out_before_change_4["1"] = [];
        wds_data_4["1"] = [];
        wds_data_4["1"]["id"] = "192";
        wds_data_4["1"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//Shepherd-2-leaflet-A5.gif";
        wds_data_4["1"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/Shepherd-2-leaflet-A5.gif";
        wds_data_4["1"]["is_video"] = "";
        wds_data_4["1"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_4["2"] = [];
        wds_clear_layers_effects_out_4["2"] = [];
        wds_clear_layers_effects_out_before_change_4["2"] = [];
        wds_data_4["2"] = [];
        wds_data_4["2"]["id"] = "193";
        wds_data_4["2"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//Shepherd 3 A5.jpg";
        wds_data_4["2"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/Shepherd 3 A5.jpg";
        wds_data_4["2"]["is_video"] = "";
        wds_data_4["2"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_4["3"] = [];
        wds_clear_layers_effects_out_4["3"] = [];
        wds_clear_layers_effects_out_before_change_4["3"] = [];
        wds_data_4["3"] = [];
        wds_data_4["3"]["id"] = "194";
        wds_data_4["3"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//Shepherd 4 A5.jpg";
        wds_data_4["3"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/Shepherd 4 A5.jpg";
        wds_data_4["3"]["is_video"] = "";
        wds_data_4["3"]["slide_layers_count"] = 0;
            
    </script>
    <div id="wds_container1_4">
      <div class="wds_loading">
        <img src="https://pipingpress.com/wp-content/plugins/slider-wd/images/ajax_loader.png" class="wds_loading_img" style="float: none; width:50px;" />
      </div>
      <div id="wds_container2_4">
        <div class="wds_slideshow_image_wrap_4">
                    <div id="wds_slideshow_image_container_4" class="wds_slideshow_image_container_4">
                        <div class="wds_slide_container_4">
              <div class="wds_slide_bg_4">
                <div class="wds_slider_4">
                                  <span class="wds_slideshow_image_spun_4" id="image_id_4_191">
                    <span class="wds_slideshow_image_spun1_4">
                      <span class="wds_slideshow_image_spun2_4">
                                                <div img_id="wds_slideshow_image_4"
                             class="wds_slideshow_image_4"
                             onclick="window.open('http://www.shepherd-bagpipes.com', '_blank')"
                             style="cursor: pointer;background-image: url('http://pipingpress.com/wp-content/uploads/slider-wd//Shepherd 1 A5 (1).jpg');">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_4" id="image_id_4_192">
                    <span class="wds_slideshow_image_spun1_4">
                      <span class="wds_slideshow_image_spun2_4">
                                                <div img_id="wds_slideshow_image_second_4"
                             class="wds_slideshow_image_4"
                             onclick=""
                             style="">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_4" id="image_id_4_193">
                    <span class="wds_slideshow_image_spun1_4">
                      <span class="wds_slideshow_image_spun2_4">
                                                <div img_id="wds_slideshow_image_second_4"
                             class="wds_slideshow_image_4"
                             onclick="window.open('http://www.shepherd-bagpipes.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_4" id="image_id_4_194">
                    <span class="wds_slideshow_image_spun1_4">
                      <span class="wds_slideshow_image_spun2_4">
                                                <div img_id="wds_slideshow_image_second_4"
                             class="wds_slideshow_image_4"
                             onclick="window.open('http://www.shepherd-bagpipes.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                  <input type="hidden" id="wds_current_image_key_4" value="0" />
                </div>
              </div>
            </div>
                      </div>
                  </div>
      </div>
    </div>

    <script>
      var wds_trans_in_progress_4 = false;
      var wds_transition_duration_4 = 800;
      var wds_playInterval_4;
      var progress = 0;
      /* Stop autoplay.*/
      window.clearInterval(wds_playInterval_4);
      var wds_current_key_4 = '0';
      var wds_current_filmstrip_pos_4 = 0;
      /* Set filmstrip initial position.*/
      function wds_set_filmstrip_pos_4(filmStripWidth) {
        var selectedImagePos = -wds_current_filmstrip_pos_4 - (jQuery(".wds_slideshow_filmstrip_thumbnail_4").width() + 0) / 2;
        var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".wds_slideshow_filmstrip_thumbnails_4").width(), selectedImagePos + filmStripWidth / 2));
        jQuery(".wds_slideshow_filmstrip_thumbnails_4").animate({
            left: imagesContainerLeft
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_4(); }
          });
      }
      function wds_move_filmstrip_4() {
        var image_left = jQuery(".wds_slideshow_thumb_active_4").position().left;
        var image_right = jQuery(".wds_slideshow_thumb_active_4").position().left + jQuery(".wds_slideshow_thumb_active_4").outerWidth(true);
        var wds_filmstrip_width = jQuery(".wds_slideshow_filmstrip_4").outerWidth(true);
        var wds_filmstrip_thumbnails_width = jQuery(".wds_slideshow_filmstrip_thumbnails_4").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_filmstrip_thumbnails_4").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_filmstrip_thumbnails_4").position().left) + wds_filmstrip_width;
        if (wds_filmstrip_width > wds_filmstrip_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_4").animate({
            left: -image_left
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_4(); }
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_4").animate({
            left: -(image_right - wds_filmstrip_width)
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_4(); }
          });
        }
      }
      function wds_move_dots_4() {
        var image_left = jQuery(".wds_slideshow_dots_active_4").position().left;
        var image_right = jQuery(".wds_slideshow_dots_active_4").position().left + jQuery(".wds_slideshow_dots_active_4").outerWidth(true);
        var wds_dots_width = jQuery(".wds_slideshow_dots_container_4").outerWidth(true);
        var wds_dots_thumbnails_width = jQuery(".wds_slideshow_dots_thumbnails_4").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_dots_thumbnails_4").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_dots_thumbnails_4").position().left) + wds_dots_width;
        if (wds_dots_width > wds_dots_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_dots_thumbnails_4").animate({
            left: -image_left
          }, {
            duration: 500
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_dots_thumbnails_4").animate({
            left: -(image_right - wds_dots_width)
          }, {
            duration: 500
          });
        }
      }
      /* Show/hide filmstrip arrows.*/
      function wds_filmstrip_arrows_4() {
        if (jQuery(".wds_slideshow_filmstrip_thumbnails_4").width() < jQuery(".wds_slideshow_filmstrip_4").width()) {
          jQuery(".wds_slideshow_filmstrip_left_4").hide();
          jQuery(".wds_slideshow_filmstrip_right_4").hide();
        }
        else {
          jQuery(".wds_slideshow_filmstrip_left_4").show();
          jQuery(".wds_slideshow_filmstrip_right_4").show();
        }
      }
      function wds_testBrowser_cssTransitions_4() {
        return wds_testDom_4('Transition');
      }
      function wds_testBrowser_cssTransforms3d_4() {
        return wds_testDom_4('Perspective');
      }
      function wds_testDom_4(prop) {
        /* Browser vendor CSS prefixes.*/
        var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-'];
        /* Browser vendor DOM prefixes.*/
        var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml'];
        var i = domPrefixes.length;
        while (i--) {
          if (typeof document.body.style[domPrefixes[i] + prop] !== 'undefined') {
            return true;
          }
        }
        return false;
      }
      function wds_set_dots_class_4() {
        jQuery(".wds_slideshow_dots_4").removeClass("wds_slideshow_dots_active_4").addClass("wds_slideshow_dots_deactive_4");
        jQuery("#wds_dots_" + wds_current_key_4 + "_4").removeClass("wds_slideshow_dots_deactive_4").addClass("wds_slideshow_dots_active_4");
                jQuery(".wds_slideshow_dots_4").removeClass("fa-square").addClass("fa-square-o");
        jQuery("#wds_dots_" + wds_current_key_4 + "_4").removeClass("fa-square-o").addClass("fa-square");
              }
      function wds_grid3d_4(cols, rows, tz, wrx, wry, nty, ntx, nry, nrx, current_image_class, next_image_class, direction, random, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_4()) {
          return wds_fallback_4(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_4 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_4").removeClass("wds_slideshow_thumb_active_4").addClass("wds_slideshow_thumb_deactive_4");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_4 + "_4").removeClass("wds_slideshow_thumb_deactive_4").addClass("wds_slideshow_thumb_active_4");
        wds_set_dots_class_4();

        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_4) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, src2, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;

          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_4" />').css({
            width : "100%",
            height : "100%",
            transform : 'translateZ(' + tz + 'px)',
            backfaceVisibility : 'hidden',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_4" />').css({
            width : jQuery(".wds_slideshow_image_spun_4").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_4").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_4").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_4").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_4").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          var grid_div2 = jQuery('<div class="wds_gridlet_4" />').css({
            width : "100%",
            height : "100%",
            backfaceVisibility : 'hidden',
            transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_4" />').css({
            width : jQuery(".wds_slideshow_image_spun_4").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_4").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src2,
            backgroundSize: jQuery(".wds_slideshow_image_4").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_4").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_4").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          return jQuery('<div class="wds_gridlet_4" />').css({
            width : width,
            height : height,
            top : top,
            left : left,
            transition : 'all ' + wds_transition_duration_4 + 'ms ' + easing + ' ' + delay + 'ms',
            transform: 'translateZ(-' + tz + 'px)',
            transformStyle: 'preserve-3d',
          }).append(grid_div).append(grid_div2);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        var next_img = jQuery(next_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_4').css('perspective', 1000);
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_4");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),
            imgSrcNext = next_img.css('background-image'),
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_4").width() - cur_img.width()) / 2;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_4").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgSrcNext, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);        
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 1);
        /* After transition.*/
         var cccount = 0;
         var obshicccount = cols * rows;
         grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
         function wds_after_trans_each() {
           if (++cccount == obshicccount) {
             wds_after_trans();
           }
         }
         function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_4 = false;
          if (typeof wds_event_stack_4 !== 'undefined') {
            if (wds_event_stack_4.length > 0) {
              key = wds_event_stack_4[0].split("-");
              wds_event_stack_4.shift();
              wds_change_image_4(key[0], key[1], wds_data_4, true);
            }
          }
        }
      }
      function wds_slic3DH_4(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_4(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_4(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_slic3DV_4(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_4(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_4(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      
      function wds_slicR3DH_4(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_4(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_4(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_slicR3DV_4(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_4(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_4(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_parallelSlide_4(ni_left, ni_top, tx, ty, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_4()) {
          return wds_fallback_4(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_4()) {
          return wds_fallback3d_4(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_4 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_4").removeClass("wds_slideshow_thumb_active_4").addClass("wds_slideshow_thumb_deactive_4");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_4 + "_4").removeClass("wds_slideshow_thumb_deactive_4").addClass("wds_slideshow_thumb_active_4");
        wds_set_dots_class_4();
        jQuery(current_image_class).css({
          position : 'absolute',
          top : '0px',
          left : '0px',
          position : 'absolute',
        });
        jQuery(next_image_class).css({
          position : 'absolute',
          top : ni_top + 'px',
          left : ni_left + 'px',
          'opacity' : 1, 
          filter : 'Alpha(opacity=100)',
          position : 'absolute',
        });
        jQuery(".wds_slider_4").css({
          position : 'relative',
          'backface-visibility': 'hidden'
        });
        jQuery(".wds_slide_bg_4").css({
          overflow : 'hidden',
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery('.wds_slider_4').css({
            transition : 'all ' + wds_transition_duration_4 + 'ms ' + easing,
            transform : 'translateX(' + tx + 'px) translateY(' + ty + 'px)',
          });
        }, 1);
        /* After transition.*/
        jQuery('.wds_slider_4').one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_4").removeAttr('style');
          jQuery(".wds_slide_bg_4").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_4 = false;
          if (typeof wds_event_stack_4 !== 'undefined') {
            if (wds_event_stack_4.length > 0) {
              key = wds_event_stack_4[0].split("-");
              wds_event_stack_4.shift();
              wds_change_image_4(key[0], key[1], wds_data_4, true);
            }
          }
        }
      }
      function wds_parallelSlideH_4(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_4(width, 0, -width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_4(-width, 0, width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_parallelSlideV_4(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_4(0, height, 0, -height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_4(0, -height, 0, height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_cube_4(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_4()) {
          return wds_fallback_4(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_4()) {
          return wds_fallback3d_4(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_4 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_4").removeClass("wds_slideshow_thumb_active_4").addClass("wds_slideshow_thumb_deactive_4");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_4 + "_4").removeClass("wds_slideshow_thumb_deactive_4").addClass("wds_slideshow_thumb_active_4");
        wds_set_dots_class_4();

        jQuery(".wds_slide_container_4").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_spun2_4").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_wrap_4").css('overflow', 'visible');
        var filmstrip_position = 'none';
        if (filmstrip_position == 'none') {
          jQuery(".wds_slideshow_image_4").css('border-radius', jQuery(".wds_slideshow_image_wrap_4").css('border-radius'));
        }
        else {
          jQuery(".wds_slideshow_image_4").css('border-radius', '');
          jQuery(".wds_slideshow_filmstrip_container_4").css('border-radius', '');
          if (filmstrip_position == 'top') {
            jQuery(".wds_slideshow_image_4").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_image_4").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_4").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_4").css('border-bottom-right-radius', 0);
          }
          else if (filmstrip_position == 'bottom') {
            jQuery(".wds_slideshow_image_4").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_4").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_4").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_4").css('border-top-right-radius', 0);
          }
          else if (filmstrip_position == 'right') {
            jQuery(".wds_slideshow_image_4").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_image_4").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_4").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_4").css('border-top-left-radius', 0);
          }
          else if (filmstrip_position == 'left') {
            jQuery(".wds_slideshow_image_4").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_4").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_4").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_4").css('border-top-right-radius', 0);
          }
        }

        jQuery(".wds_slide_bg_4").css('perspective', 1000);
        jQuery(current_image_class).css({
          transform : 'translateZ(' + tz + 'px)',
          backfaceVisibility : 'hidden'
        });
        jQuery(next_image_class).css({
          opacity : 1,
          filter: 'Alpha(opacity=100)',
          zIndex: 2,
          backfaceVisibility : 'hidden',
          transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)'
        });
        jQuery(".wds_slider_4").css({
          transform: 'translateZ(-' + tz + 'px)',
          transformStyle: 'preserve-3d',
          position: 'absolute'
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery(".wds_slider_4").css({
            transition: 'all ' + wds_transition_duration_4 + 'ms ' + easing,
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 20);
        /* After transition.*/
        jQuery(".wds_slider_4").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_4").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_4 = false;
          if (typeof wds_event_stack_4 !== 'undefined') {
            if (wds_event_stack_4.length > 0) {
              key = wds_event_stack_4[0].split("-");
              wds_event_stack_4.shift();
              wds_change_image_4(key[0], key[1], wds_data_4, true);
            }
          }
          jQuery(".wds_slide_container_4").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_spun2_4").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_wrap_4").css('overflow', 'hidden');
        }
      }
      function wds_cubeR_4(current_image_class, next_image_class, direction) {
        var random_direction = Math.floor(Math.random() * 2);
        var dimension = random_direction ? jQuery(current_image_class).height() / 2 : jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
         if (random_direction) {
           wds_cube_4(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_4(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
        else if (direction == 'left') {
         if (random_direction) {
           wds_cube_4(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_4(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
      }
      function wds_cubeH_4(current_image_class, next_image_class, direction) {
        /* Set to half of image width.*/
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_cube_4(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_4(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_cubeV_4(current_image_class, next_image_class, direction) {
        /* Set to half of image height.*/
        var dimension = jQuery(current_image_class).height() / 2;
        /* If next slide.*/
        if (direction == 'right') {
          wds_cube_4(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_4(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      /* For browsers that does not support transitions.*/
      function wds_fallback_4(current_image_class, next_image_class, direction) {
        wds_fade_4(current_image_class, next_image_class, direction);
      }
      /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
      function wds_fallback3d_4(current_image_class, next_image_class, direction) {
        wds_sliceV_4(current_image_class, next_image_class, direction);
      }
      function wds_none_4(current_image_class, next_image_class, direction) {
        jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
        jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_4").removeClass("wds_slideshow_thumb_active_4").addClass("wds_slideshow_thumb_deactive_4");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_4 + "_4").removeClass("wds_slideshow_thumb_deactive_4").addClass("wds_slideshow_thumb_active_4");
        wds_set_dots_class_4();
      }
      function wds_fade_4(current_image_class, next_image_class, direction) {
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_4").removeClass("wds_slideshow_thumb_active_4").addClass("wds_slideshow_thumb_deactive_4");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_4 + "_4").removeClass("wds_slideshow_thumb_deactive_4").addClass("wds_slideshow_thumb_active_4");
        wds_set_dots_class_4();
        if (wds_testBrowser_cssTransitions_4()) {
          jQuery(next_image_class).css('transition', 'opacity ' + wds_transition_duration_4 + 'ms linear');
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        }
        else {
          jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, wds_transition_duration_4);
          jQuery(next_image_class).animate({
              'opacity' : 1,
              'z-index': 2
            }, {
              duration: wds_transition_duration_4,
              complete: function () {  }
            });
          /* For IE.*/
          jQuery(current_image_class).fadeTo(wds_transition_duration_4, 0);
          jQuery(next_image_class).fadeTo(wds_transition_duration_4, 1);
        }
      }
      function wds_grid_4(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction, random, roy, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_4()) {
          return wds_fallback_4(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_4 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_4").removeClass("wds_slideshow_thumb_active_4").addClass("wds_slideshow_thumb_deactive_4");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_4 + "_4").removeClass("wds_slideshow_thumb_deactive_4").addClass("wds_slideshow_thumb_active_4");
        wds_set_dots_class_4();
        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_4) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;
          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_4" />').css({
            width : imgWidth,/*"100%"*/
            height : jQuery(".wds_slideshow_image_spun_4").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_4").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_4").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_4").css("background-color"),*/
            backgroundRepeat: 'no-repeat'
          });
          return jQuery('<div class="wds_gridlet_4" />').css({
            width : width,/*"100%"*/
            height : height,
            top : top,
            left : left,
            backgroundSize : imgWidth + 'px ' + imgHeight + 'px',
            backgroundPosition : img_left + 'px ' + img_top + 'px',
            backgroundRepeat: 'no-repeat',
            overflow: "hidden",
            transition : 'all ' + wds_transition_duration_4 + 'ms ' + easing + ' ' + delay + 'ms',
            transform : 'none'
          }).append(grid_div);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_4');
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_4");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),/*.replace('/thumb', ''),*/
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_4").width() - cur_img.width()) / 2;
        /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/
        tx = tx === 'auto' ? contWidth : tx;
        tx = tx === 'min-auto' ? - contWidth : tx;
        ty = ty === 'auto' ? contHeight : ty;
        ty = ty === 'min-auto' ? - contHeight : ty;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_4").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);
        /* Add identifying classes to corner gridlets (useful if applying border radius).*/
        grid.children().first().addClass('rs-top-left');
        grid.children().last().addClass('rs-bottom-right');
        grid.children().eq(rows - 1).addClass('rs-bottom-left');
        grid.children().eq(- rows).addClass('rs-top-right');
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            opacity: op,
            transform: 'rotate('+ ro +'deg) rotateY('+ roy +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')'
          });
        }, 1);
        jQuery(next_image_class).css('opacity', 1);
        /* After transition.*/
        var cccount = 0;
        var obshicccount = cols * rows;
        grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
        function wds_after_trans_each() {
         if (++cccount == obshicccount) {
           wds_after_trans();
         }
        }
        function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_4 = false;
          if (typeof wds_event_stack_4 !== 'undefined') {
            if (wds_event_stack_4.length > 0) {
              key = wds_event_stack_4[0].split("-");
              wds_event_stack_4.shift();
              wds_change_image_4(key[0], key[1], wds_data_4, true);
            }
          }
        }
      }
      function wds_sliceH_4(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_4(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_sliceV_4(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'min-auto';
        }
        else if (direction == 'left') {
          var translateY = 'auto';
        }
        wds_grid_4(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_slideV_4(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'auto';
        }
        else if (direction == 'left') {
          var translateY = 'min-auto';
        }
        wds_grid_4(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_slideH_4(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_4(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_scaleOut_4(current_image_class, next_image_class, direction) {
        wds_grid_4(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_scaleIn_4(current_image_class, next_image_class, direction) {
        wds_grid_4(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScale_4(current_image_class, next_image_class, direction) {
        wds_grid_4(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScaleR_4(current_image_class, next_image_class, direction) {
        wds_grid_4(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 1, 0, 'ease-in-out');
      }
      function wds_blindR_4(current_image_class, next_image_class, direction) {
        wds_grid_4(8, 1, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_tilesR_4(current_image_class, next_image_class, direction) {
        wds_grid_4(8, 8, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_kaleidoscope_4(current_image_class, next_image_class, direction) {
        wds_grid_4(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_fan_4(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var rotate = 45;
          var translateX = 100;
        }
        else if (direction == 'left') {
          var rotate = -45;
          var translateX = -100;
        }
        wds_grid_4(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindV_4(current_image_class, next_image_class, direction) {
        wds_grid_4(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindH_4(current_image_class, next_image_class, direction) {
        wds_grid_4(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_random_4(current_image_class, next_image_class, direction) {
        var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV', 'parallelSlideH', 'parallelSlideV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_4"](current_image_class, next_image_class, direction);
      }
      function wds_3Drandom_4(current_image_class, next_image_class, direction) {
        var anims = ['cubeH', 'cubeV', 'cubeR', 'slic3DH', 'slic3DV', 'slicR3DH', 'slicR3DV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_4"](current_image_class, next_image_class, direction);
      }
      function iterator_4() {
        var iterator = 1;
        if (0) {
          iterator = Math.floor((wds_data_4.length - 1) * Math.random() + 1);
        }
        return iterator;
      }
      function wds_change_image_4(current_key, key, wds_data_4, from_effect) {
                /* Pause videos.*/
        jQuery("#wds_slideshow_image_container_4").find("iframe").each(function () {
          jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
          jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*");
        });
        if (wds_data_4[key]) {
          if (jQuery('.wds_ctrl_btn_4').hasClass('fa-pause') || ('1')) {
            play_4();
          }
          if (!from_effect) {
            /* Change image key.*/
            jQuery("#wds_current_image_key_4").val(key);
            if (current_key == '-1') { /* Filmstrip.*/
              current_key = jQuery(".wds_slideshow_thumb_active_4").children("img").attr("image_key");
            }
            else if (current_key == '-2') { /* Dots.*/
              current_key = jQuery(".wds_slideshow_dots_active_4").attr("image_key");
            }
          }
          if (wds_trans_in_progress_4) {
            wds_event_stack_4.push(current_key + '-' + key);
            return;
          }
          var direction = 'right';
          if (wds_current_key_4 > key) {
            var direction = 'left';
          }
          else if (wds_current_key_4 == key) {
            return;
          }
          /* Set active thumbnail position.*/
          wds_current_filmstrip_pos_4 = key * (jQuery(".wds_slideshow_filmstrip_thumbnail_4").width() + 2 + 2 * 0);
          wds_current_key_4 = key;
          /* Change image id.*/
          jQuery("div[img_id=wds_slideshow_image_4]").attr('image_id', wds_data_4[key]["id"]);
          var current_image_class = "#image_id_4_" + wds_data_4[current_key]["id"];
          var next_image_class = "#image_id_4_" + wds_data_4[key]["id"];
                    if (!wds_data_4[key]["is_video"]) {
            jQuery(next_image_class).find("div").css("background-image", 'url("' + wds_data_4[key]["image_url"] + '")');
          }
                    var current_slide_layers_count = wds_data_4[current_key]["slide_layers_count"];
          var next_slide_layers_count = wds_data_4[key]["slide_layers_count"];

          /* Clear layers before image change.*/
          function set_layer_effect_out_before_change(m) {
            wds_clear_layers_effects_out_before_change_4[current_key][m] = setTimeout(function() {
              if (wds_data_4[current_key]["layer_" + m + "_type"] != 'social') {
                jQuery('#wds_4_slide' + wds_data_4[current_key]["id"] + '_layer' + wds_data_4[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_4_slide' + wds_data_4[current_key]["id"] + '_layer' + wds_data_4[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_4[current_key]["layer_" + m + "_layer_effect_out"] + ' animated');
              }
              else {
                jQuery('#wds_4_slide' + wds_data_4[current_key]["id"] + '_layer' + wds_data_4[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_4_slide' + wds_data_4[current_key]["id"] + '_layer' + wds_data_4[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_4[current_key]["layer_" + m + "_layer_effect_out"] + ' fa fa-' + wds_data_4[current_key]["layer_" + m + "_social_button"] + ' animated');
              }
            }, 10);
          }
          if (0) {
            for (var m = 0; m < current_slide_layers_count; m++) {
              if (jQuery('#wds_4_slide' + wds_data_4[current_key]["id"] + '_layer' + wds_data_4[current_key]["layer_" + m + "_id"]).css('opacity') != 0) {
                set_layer_effect_out_before_change(m);
              }
            }
          }
          /* Loop through current slide layers for clear effects.*/
          setTimeout(function() {
            for (var k = 0; k < current_slide_layers_count; k++) {
              clearTimeout(wds_clear_layers_effects_in_4[current_key][k]);
              clearTimeout(wds_clear_layers_effects_out_4[current_key][k]);
              if (wds_data_4[current_key]["layer_" + k + "_type"] != 'social') {
                jQuery('#wds_4_slide' + wds_data_4[current_key]["id"] + '_layer' + wds_data_4[current_key]["layer_" + k + "_id"]).removeClass().addClass('wds_layer_'+ wds_data_4[current_key]["layer_" + k + "_id"]);
              }
              else {
                jQuery('#wds_4_slide' + wds_data_4[current_key]["id"] + '_layer' + wds_data_4[current_key]["layer_" + k + "_id"]).removeClass().addClass('fa fa-' + wds_data_4[current_key]["layer_" + k + "_social_button"] + ' wds_layer_' + wds_data_4[current_key]["layer_" + k + "_id"]);
              }
            }
          }, wds_duration_for_clear_effects_4);
          /* Effects out part.*/
          function set_layer_effect_out(i) {
            wds_clear_layers_effects_out_4[key][i] = setTimeout(function() {
              if (wds_data_4[key]["layer_" + i + "_layer_effect_out"] != 'none') {
                if (wds_data_4[key]["layer_" + i + "_type"] != 'social') {	
                  jQuery('#wds_4_slide' + wds_data_4[key]["id"] + '_layer' + wds_data_4[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_4[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_4[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
                  jQuery('#wds_4_slide' + wds_data_4[key]["id"] + '_layer' + wds_data_4[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_4[key]["layer_" + i + "_layer_effect_out"] + ' animated');
                }
                else {
                  jQuery('#wds_4_slide' + wds_data_4[key]["id"] + '_layer' + wds_data_4[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_4[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_4[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
                  jQuery('#wds_4_slide' + wds_data_4[key]["id"] + '_layer' + wds_data_4[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_4[key]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_4[key]["layer_" + i + "_social_button"] + ' animated');
                }
              }
            }, wds_data_4[key]["layer_" + i + "_end"]);
          }
          /* Effects in part.*/
          function set_layer_effect_in(j) {
            wds_clear_layers_effects_in_4[key][j] = setTimeout(function() {
              if (wds_data_4[key]["layer_" + j + "_type"] != 'social') {
                jQuery('#wds_4_slide' + wds_data_4[key]["id"] + '_layer' + wds_data_4[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_4[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_4[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
                jQuery('#wds_4_slide' + wds_data_4[key]["id"] + '_layer' + wds_data_4[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_4[key]["layer_" + j + "_layer_effect_in"] + ' animated');
              }
              else {
                jQuery('#wds_4_slide' + wds_data_4[key]["id"] + '_layer' + wds_data_4[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_4[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_4[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');
                jQuery('#wds_4_slide' + wds_data_4[key]["id"] + '_layer' + wds_data_4[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_4[key]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_4[key]["layer_" + j + "_social_button"] + ' animated');
              }
            }, wds_data_4[key]["layer_" + j + "_start"]);
          }
          /* Loop through layers in.*/
          for (var j = 0; j < next_slide_layers_count; j++) {
            set_layer_effect_in(j);
          }
          /* Loop through layers out if pause button not pressed.*/
          if (jQuery(".wds_ctrl_btn_4").hasClass("fa-pause")) {
            for (var i = 0; i < next_slide_layers_count; i++) {
              set_layer_effect_out(i);
            }
          }
          setTimeout(function() {
            if (typeof jQuery().finish !== 'undefined') {
              if (jQuery.isFunction(jQuery().finish)) {
                jQuery(".wds_line_timer_4").finish();
              }
            }
            jQuery(".wds_line_timer_4").css({width: 0});
            wds_fade_4(current_image_class, next_image_class, direction);
            if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_4').hasClass('fa-pause'))) {
              if (!jQuery(".wds_ctrl_btn_4").hasClass("fa-play")) {
                jQuery(".wds_line_timer_4").animate({
                  width: "100%"
                }, {
                  duration: 5000,
                  specialEasing: {width: "linear"}
                });
              }
              
            }
                        if (wds_data_4[key]["is_video"]) {
              jQuery("#wds_slideshow_play_pause_4").css({display: 'none'});
            }
            else {
              jQuery("#wds_slideshow_play_pause_4").css({display: ''});
            }
          }, wds_duration_for_change_4);
        }
      }
      function wds_resize_slider_4() {
        var slide_orig_width = 550;
        var slide_orig_height = 800;
        var slide_width = jQuery("#wds_container1_4").parent().width();
        if (slide_orig_width <= slide_width) {
          slide_width = slide_orig_width;
        }
        var ratio = slide_width / slide_orig_width;

                var slide_height = slide_orig_height;
        if (slide_orig_width > slide_width) {
          slide_height = Math.floor(slide_width * slide_orig_height / slide_orig_width);
        }

        jQuery(".wds_slideshow_image_wrap_4, #wds_container2_4").height(slide_height + 0);
        jQuery(".wds_slideshow_image_container_4").height(slide_height);
        jQuery(".wds_slideshow_image_4").height(slide_height);
        jQuery(".wds_slideshow_video_4").height(slide_height);
        jQuery(".wds_slideshow_image_4 img").each(function () {
          var wds_theImage = new Image();
          wds_theImage.src = jQuery(this).attr("src");
          var wds_origWidth = wds_theImage.width;
          var wds_origHeight = wds_theImage.height;
          var wds_imageWidth = jQuery(this).attr("wds_image_width");
          var wds_imageHeight = jQuery(this).attr("wds_image_height");
          var wds_width = wds_imageWidth;
          if (wds_origWidth <= wds_imageWidth) {
            wds_width = wds_origWidth;
          }
          var wds_height = wds_imageHeight;
          if (wds_origHeight <= wds_imageHeight) {
            wds_height = wds_origHeight;
          }
          jQuery(this).css({
            maxWidth: (parseFloat(wds_imageWidth) * ratio) + "px",
            maxHeight: (parseFloat(wds_imageHeight) * ratio) + "px",
          });
          if (jQuery(this).attr("wds_scale") != "on") {
            jQuery(this).css({
              width: (parseFloat(wds_imageWidth) * ratio) + "px",
              height: (parseFloat(wds_imageHeight) * ratio) + "px"
            });
          }
          else if (wds_origWidth <= wds_imageWidth || wds_origHeight <= wds_imageHeight) {
            if (wds_origWidth / wds_imageWidth > wds_origHeight / wds_imageHeight) {
              jQuery(this).css({
                width: (parseFloat(wds_imageWidth) * ratio) + "px"
              });
            }
            else {
              jQuery(this).css({
                height: (parseFloat(wds_imageHeight) * ratio) + "px"
              });
            }
          }

        });
        jQuery(".wds_slideshow_image_4 span, .wds_slideshow_image_4 i").each(function () {
          jQuery(this).css({
            fontSize: (parseFloat(jQuery(this).attr("wds_fsize")) * ratio) + "px",
            lineHeight: "1.25em",
            paddingLeft: (parseFloat(jQuery(this).attr("wds_fpaddingl")) * ratio) + "px",
            paddingRight: (parseFloat(jQuery(this).attr("wds_fpaddingr")) * ratio) + "px",
            paddingTop: (parseFloat(jQuery(this).attr("wds_fpaddingt")) * ratio) + "px",
            paddingBottom: (parseFloat(jQuery(this).attr("wds_fpaddingb")) * ratio) + "px",
          })
        });
      }
      function wds_genBgPos_4() {
        var bgSizeArray = [0, 70];
        var bgSize = bgSizeArray[Math.floor(Math.random() * bgSizeArray.length)];
        
        var bgPosXArray = ['left', 'right'];
        var bgPosYArray = ['top', 'bottom'];
        var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];
        var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];
        jQuery(".wds_slideshow_image_4").css({
          backgroundPosition: bgPosX + " " + bgPosY,
          backgroundSize : (100 + bgSize) + "%",
          webkitAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize,
          mozAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize,
          animation: '5s linear 0s alternate infinite wdszoom' + bgSize
        });
      }
      jQuery(window).resize(function () {
        wds_resize_slider_4();
      });
      function wds_full_width_4() {
        var left = jQuery("#wds_container1_4").offset().left;
        jQuery(".wds_slideshow_image_wrap_4").css({
          left: (-left + 0) + "px",
          width: (jQuery(window).width() - 0) + "px",
          maxWidth: "none"
        });
      }
      jQuery(window).load(function () {
                jQuery("#wds_container1_4").mouseover(function(e) {
          wds_stop_animation_4();
        });
        jQuery("#wds_container1_4").mouseout(function(e) {
          if (!e) {
            var e = window.event;
          }
          var reltg = (e.relatedTarget) ? e.relatedTarget : e.toElement;
          while (reltg.tagName != 'BODY') {
            if (reltg.id == this.id){
              return;
            }
            reltg = reltg.parentNode;
          }
          wds_play_animation_4();
        });
                jQuery(".wds_slideshow_image_4 span, .wds_slideshow_image_4 i").each(function () {
          jQuery(this).attr("wds_fpaddingl", jQuery(this).css("paddingLeft"));
          jQuery(this).attr("wds_fpaddingr", jQuery(this).css("paddingRight"));
          jQuery(this).attr("wds_fpaddingt", jQuery(this).css("paddingTop"));
          jQuery(this).attr("wds_fpaddingb", jQuery(this).css("paddingBottom"));
        });
        if (4000) {
          jQuery("#wds_container2_4").hover(function () {
            jQuery(".wds_right-ico_4").animate({left: 0}, 700, "swing");
            jQuery(".wds_left-ico_4").animate({left: 0}, 700, "swing");
            jQuery("#wds_slideshow_play_pause_4").animate({opacity: 1, filter: "Alpha(opacity=100)"}, 700, "swing");
          }, function () {
            jQuery(".wds_right-ico_4").css({left: 4000});
            jQuery(".wds_left-ico_4").css({left: -4000});
            jQuery("#wds_slideshow_play_pause_4").css({opacity: 0, filter: "Alpha(opacity=0)"});
          });
        }

        wds_resize_slider_4();
        jQuery("#wds_container2_4").css({visibility: 'visible'});
        jQuery(".wds_loading").hide();

      	        if (typeof jQuery().swiperight !== 'undefined') {
          if (jQuery.isFunction(jQuery().swiperight)) {
            jQuery('#wds_container1_4').swiperight(function () {
              wds_change_image_4(parseInt(jQuery('#wds_current_image_key_4').val()), (parseInt(jQuery('#wds_current_image_key_4').val()) - iterator_4()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_4').val()) - iterator_4()) % wds_data_4.length : wds_data_4.length - 1, wds_data_4);
              return false;
            });
          }
        }
        if (typeof jQuery().swipeleft !== 'undefined') {
          if (jQuery.isFunction(jQuery().swipeleft)) {
            jQuery('#wds_container1_4').swipeleft(function () {
              wds_change_image_4(parseInt(jQuery('#wds_current_image_key_4').val()), (parseInt(jQuery('#wds_current_image_key_4').val()) + iterator_4()) % wds_data_4.length, wds_data_4);
              return false;
            });
          }
        }

        var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
        var wds_click = isMobile ? 'touchend' : 'click';

        var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */
        jQuery('.wds_slideshow_filmstrip_4').bind(mousewheelevt, function(e) {
          var evt = window.event || e; /* Equalize event object.*/
          evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/
          var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/
          if (delta > 0) {
            /* Scroll up.*/
            jQuery(".wds_slideshow_filmstrip_left_4").trigger("click");
          }
          else {
            /* Scroll down.*/
            jQuery(".wds_slideshow_filmstrip_right_4").trigger("click");
          }
          return false;
        });
        jQuery(".wds_slideshow_filmstrip_right_4").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_4" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_4").position().left >= -(jQuery(".wds_slideshow_filmstrip_thumbnails_4").width() - jQuery(".wds_slideshow_filmstrip_4").width())) {
            jQuery(".wds_slideshow_filmstrip_left_4").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_4").position().left < -(jQuery(".wds_slideshow_filmstrip_thumbnails_4").width() - jQuery(".wds_slideshow_filmstrip_4").width() - 0)) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_4").animate({left: -(jQuery(".wds_slideshow_filmstrip_thumbnails_4").width() - jQuery(".wds_slideshow_filmstrip_4").width())}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_4").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_4").position().left - 0)}, 500, 'linear');
            }
          }
          /* Disable right arrow.*/
          window.setTimeout(function() {
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_4").position().left == -(jQuery(".wds_slideshow_filmstrip_thumbnails_4").width() - jQuery(".wds_slideshow_filmstrip_4").width())) {
              jQuery(".wds_slideshow_filmstrip_right_4").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        jQuery(".wds_slideshow_filmstrip_left_4").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_4" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_4").position().left < 0) {
            jQuery(".wds_slideshow_filmstrip_right_4").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_4").position().left > - 0) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_4").animate({left: 0}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_4").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_4").position().left + 0)}, 500, 'linear');
            }
          }
          /* Disable left arrow.*/
          window.setTimeout(function(){
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_4").position().left == 0) {
              jQuery(".wds_slideshow_filmstrip_left_4").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        /* Set filmstrip initial position.*/
        wds_set_filmstrip_pos_4(jQuery(".wds_slideshow_filmstrip_4").width());
        /* Play/pause.*/
        jQuery("#wds_slideshow_play_pause_4").on(wds_click, function () {
          if (jQuery(".wds_ctrl_btn_4").hasClass("fa-play")) {
            /* Play.*/
            jQuery(".wds_slideshow_play_pause_4").attr("title", "Pause");
            jQuery(".wds_slideshow_play_pause_4").attr("class", "wds_ctrl_btn_4 wds_slideshow_play_pause_4 fa fa-pause");
            play_4();
            if (0) {
              document.getElementById("wds_audio_4").play();
            }
          }
          else {
            /* Pause.*/
            /* Pause layers out effect.*/
            var current_key = jQuery('#wds_current_image_key_4').val();
            var current_slide_layers_count = wds_data_4[current_key]["slide_layers_count"];
            setTimeout(function() {
              for (var k = 0; k < current_slide_layers_count; k++) {
                clearTimeout(wds_clear_layers_effects_out_4[current_key][k]);
              }
            }, wds_duration_for_clear_effects_4);

            window.clearInterval(wds_playInterval_4);
            jQuery(".wds_slideshow_play_pause_4").attr("title", "Play");
            jQuery(".wds_slideshow_play_pause_4").attr("class", "wds_ctrl_btn_4 wds_slideshow_play_pause_4 fa fa-play");
            if (0) {
              document.getElementById("wds_audio_4").pause();
            }
            if (typeof jQuery().stop !== 'undefined') {
              if (jQuery.isFunction(jQuery().stop)) {
                jQuery(".wds_line_timer_4").stop();
              }
            }
          }
        });
        if (1) {
          play_4();
          jQuery(".wds_slideshow_play_pause_4").attr("title", "Pause");
          jQuery(".wds_slideshow_play_pause_4").attr("class", "wds_ctrl_btn_4 wds_slideshow_play_pause_4 fa fa-pause");
          if (0) {
            document.getElementById("wds_audio_4").play();
          }
        }
                function wds_preload_4(preload_key) {
          jQuery("<img/>")
            .load(function() { if (preload_key < wds_data_4.length - 1) wds_preload_4(preload_key + 1); })
            .error(function() { if (preload_key < wds_data_4.length - 1) wds_preload_4(preload_key + 1); })
            .attr("src", (!wds_data_4[preload_key]["is_video"] ? wds_data_4[preload_key]["image_url"] : ""));
        }
        wds_preload_4(0);
                var first_slide_layers_count_4 = wds_data_4[0]["slide_layers_count"];
        if (first_slide_layers_count_4) {
          /* Loop through layers in.*/
          for (var j = 0; j < first_slide_layers_count_4; j++) {
            set_layer_effect_in_onload_4(j);
          }
          /* Loop through layers out.*/
          for (var i = 0; i < first_slide_layers_count_4; i++) {
            set_layer_effect_out_onload_4(i);
          }
        }
      });
	    function wds_stop_animation_4() {
        window.clearInterval(wds_playInterval_4);
        /* Pause layers out effect.*/
        var current_key = jQuery('#wds_current_image_key_4').val();
        var current_slide_layers_count = wds_data_4[current_key]["slide_layers_count"];			
        setTimeout(function() {
          for (var k = 0; k < current_slide_layers_count; k++) {
            clearTimeout(wds_clear_layers_effects_out_4[current_key][k]);
          }
        }, wds_duration_for_clear_effects_4);
        if (0) {
          document.getElementById("wds_audio_4").pause();
        }
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_4").stop();
          }
        }
			}
      function wds_play_animation_4() {
        if (jQuery(".wds_ctrl_btn_4").hasClass("fa-play")) {
          return;
        }
		    play_4();
        if (0) {
          document.getElementById("wds_audio_4").play();
        }	 
      }
      /* Effects in part.*/		
		  function set_layer_effect_in_onload_4(j) {
		    wds_clear_layers_effects_in_4[0][j] = setTimeout(function(){
          if (wds_data_4[0]["layer_" + j + "_type"] != 'social') {
            jQuery('#wds_4_slide' + wds_data_4[0]["id"] + '_layer' + wds_data_4[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_4[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_4[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
		        jQuery('#wds_4_slide' + wds_data_4[0]["id"] + '_layer' + wds_data_4[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_4[0]["layer_" + j + "_layer_effect_in"] + ' animated');
		      }
          else {
            jQuery('#wds_4_slide' + wds_data_4[0]["id"] + '_layer' + wds_data_4[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_4[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_4[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');	
            jQuery('#wds_4_slide' + wds_data_4[0]["id"] + '_layer' + wds_data_4[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_4[0]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_4[0]["layer_" + j + "_social_button"] + ' animated');
          }
		    }, wds_data_4[0]["layer_" + j + "_start"]);
		  }
      /* Effects out part.*/
		  function set_layer_effect_out_onload_4(i) {
			  wds_clear_layers_effects_out_4[0][i] = setTimeout(function() {
          if (wds_data_4[0]["layer_" + i + "_layer_effect_out"] != 'none') {
            if (wds_data_4[0]["layer_" + i + "_type"] != 'social') {
              jQuery('#wds_4_slide' + wds_data_4[0]["id"] + '_layer' + wds_data_4[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_4[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_4[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
              jQuery('#wds_4_slide' + wds_data_4[0]["id"] + '_layer' + wds_data_4[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_4[0]["layer_" + i + "_layer_effect_out"] + ' animated');
            }
            else {
              jQuery('#wds_4_slide' + wds_data_4[0]["id"] + '_layer' + wds_data_4[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_4[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_4[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
              jQuery('#wds_4_slide' + wds_data_4[0]["id"] + '_layer' + wds_data_4[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_4[0]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_4[0]["layer_" + i + "_social_button"] + ' animated');
            }
          }
		    }, wds_data_4[0]["layer_" + i + "_end"]);
		  }
      function play_4() {
        if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_4').hasClass('fa-pause'))) {
          jQuery(".wds_line_timer_4").animate({
            width: "100%"
          }, {
            duration: 5000,
            specialEasing: {width: "linear"}
          });
        }
        window.clearInterval(wds_playInterval_4);
        /* Play.*/
        wds_playInterval_4 = setInterval(function () {
          var iterator = 1;
          if (0) {
            iterator = Math.floor((wds_data_4.length - 1) * Math.random() + 1);
          }
          wds_change_image_4(parseInt(jQuery('#wds_current_image_key_4').val()), (parseInt(jQuery('#wds_current_image_key_4').val()) + iterator) % wds_data_4.length, wds_data_4)
        }, '5000');
      }
      jQuery(window).focus(function() {
        if (!jQuery(".wds_ctrl_btn_4").hasClass("fa-play")) {
          if (1) {
            play_4();
          }
        }
        var i_4 = 0;
        jQuery(".wds_slider_4").children("span").each(function () {
          if (jQuery(this).css('opacity') == 1) {
            jQuery("#wds_current_image_key_4").val(i_4);
          }
          i_4++;
        });
      });
      jQuery(window).blur(function() {
        wds_event_stack_4 = [];
        window.clearInterval(wds_playInterval_4);
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_4").stop();
          }
        }
      });
    </script>
    </aside><aside id="blog_subscription-7" class="widget jetpack_subscription_widget"><h1 class="widget-title">Subscribe to Blog via Email</h1>
			<form action="#" method="post" accept-charset="utf-8" id="subscribe-blog-blog_subscription-7">
				<div id="subscribe-text"><p>Enter your email address to subscribe to this blog and receive notifications of new posts by email.</p>
</div><p>Join 1,766 other subscribers.</p>
					<p id="subscribe-email">
						<label id="jetpack-subscribe-label" for="subscribe-field-blog_subscription-7">
							Email Address						</label>
						<input type="email" name="email" required="required" class="required" value="" id="subscribe-field-blog_subscription-7" placeholder="Email Address" />
					</p>

					<p id="subscribe-submit">
						<input type="hidden" name="action" value="subscribe" />
						<input type="hidden" name="source" value="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/" />
						<input type="hidden" name="sub-type" value="widget" />
						<input type="hidden" name="redirect_fragment" value="blog_subscription-7" />
												<input type="submit" value="Subscribe" name="jetpack_subscriptions_widget" />
					</p>
							</form>

			<script>
			/*
			Custom functionality for safari and IE
			 */
			(function( d ) {
				// In case the placeholder functionality is available we remove labels
				if ( ( 'placeholder' in d.createElement( 'input' ) ) ) {
					var label = d.querySelector( 'label[for=subscribe-field-blog_subscription-7]' );
						label.style.clip 	 = 'rect(1px, 1px, 1px, 1px)';
						label.style.position = 'absolute';
						label.style.height   = '1px';
						label.style.width    = '1px';
						label.style.overflow = 'hidden';
				}

				// Make sure the email value is filled in before allowing submit
				var form = d.getElementById('subscribe-blog-blog_subscription-7'),
					input = d.getElementById('subscribe-field-blog_subscription-7'),
					handler = function( event ) {
						if ( '' === input.value ) {
							input.focus();

							if ( event.preventDefault ){
								event.preventDefault();
							}

							return false;
						}
					};

				if ( window.addEventListener ) {
					form.addEventListener( 'submit', handler, false );
				} else {
					form.attachEvent( 'onsubmit', handler );
				}
			})( document );
			</script>
				
</aside><aside id="media_image-3" class="widget widget_media_image"><h1 class="widget-title">Tutor Book Videos &#8211; click pic</h1><a href="https://pipingpress.com/tuition/bagpipe-tutor-book-videos-and-audio/"><img width="1558" height="986" src="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/10/fingering.jpg?fit=1558%2C986&amp;ssl=1" class="image wp-image-17830  attachment-full size-full" alt="" style="max-width: 100%; height: auto;" srcset="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/10/fingering.jpg?w=1558&amp;ssl=1 1558w, https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/10/fingering.jpg?resize=300%2C190&amp;ssl=1 300w, https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/10/fingering.jpg?resize=768%2C486&amp;ssl=1 768w, https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/10/fingering.jpg?resize=1024%2C648&amp;ssl=1 1024w, https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/10/fingering.jpg?w=948&amp;ssl=1 948w, https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/10/fingering.jpg?w=1422&amp;ssl=1 1422w" sizes="(max-width: 1558px) 100vw, 1558px" data-attachment-id="17830" data-permalink="https://pipingpress.com/fingering/" data-orig-file="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/10/fingering.jpg?fit=1558%2C986&amp;ssl=1" data-orig-size="1558,986" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="fingering" data-image-description="" data-medium-file="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/10/fingering.jpg?fit=300%2C190&amp;ssl=1" data-large-file="https://i1.wp.com/pipingpress.com/wp-content/uploads/2017/10/fingering.jpg?fit=474%2C300&amp;ssl=1" /></a></aside><aside id="text-6" class="widget widget_text"><h1 class="widget-title">A Better Way to Learn</h1>			<div class="textwidget"><div id='product-component-cb91ef2a72c'></div>
<script type="text/javascript">
/*<![CDATA[*/

(function () {
  var scriptURL = 'https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js';
  if (window.ShopifyBuy) {
    if (window.ShopifyBuy.UI) {
      ShopifyBuyInit();
    } else {
      loadScript();
    }
  } else {
    loadScript();
  }

  function loadScript() {
    var script = document.createElement('script');
    script.async = true;
    script.src = scriptURL;
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script);
    script.onload = ShopifyBuyInit;
  }

  function ShopifyBuyInit() {
    var client = ShopifyBuy.buildClient({
      domain: 'ppresshop.myshopify.com',
      apiKey: 'bf4b3bfa89ff16df6dc13bc55004db89',
      appId: '6',
    });

    ShopifyBuy.UI.onReady(client).then(function (ui) {
      ui.createComponent('product', {
        id: [2310010051],
        node: document.getElementById('product-component-cb91ef2a72c'),
        moneyFormat: '%C2%A3%7B%7Bamount%7D%7D',
        options: {
  "product": {
    "buttonDestination": "modal",
    "variantId": "all",
    "contents": {
      "imgWithCarousel": false,
      "variantTitle": false,
      "options": false,
      "description": false,
      "buttonWithQuantity": false,
      "quantity": false
    },
    "text": {
      "button": "VIEW PRODUCT"
    },
    "styles": {
      "product": {
        "@media (min-width: 601px)": {
          "max-width": "calc(25% - 20px)",
          "margin-left": "20px",
          "margin-bottom": "50px"
        }
      }
    }
  },
  "cart": {
    "contents": {
      "button": true
    },
    "styles": {
      "footer": {
        "background-color": "#ffffff"
      }
    }
  },
  "modalProduct": {
    "contents": {
      "img": false,
      "imgWithCarousel": true,
      "variantTitle": false,
      "buttonWithQuantity": true,
      "button": false,
      "quantity": false
    },
    "styles": {
      "product": {
        "@media (min-width: 601px)": {
          "max-width": "100%",
          "margin-left": "0px",
          "margin-bottom": "0px"
        }
      }
    }
  },
  "productSet": {
    "styles": {
      "products": {
        "@media (min-width: 601px)": {
          "margin-left": "-20px"
        }
      }
    }
  }
}
      });
    });
  }
})();
/*]]>*/
</script></div>
		</aside><aside id="text-4" class="widget widget_text"><h1 class="widget-title">Enjoying the free content? Please donate towards upkeep if you can.</h1>			<div class="textwidget"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="SYLWYJ2DBFUGL" />
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate" />
<img alt="" border="0" src="https://i0.wp.com/www.paypal.com/en_GB/i/scr/pixel.gif?resize=1%2C1&#038;ssl=1" width="1" height="1" data-recalc-dims="1" />
</form>
</div>
		</aside><aside id="wdslider-15" class="widget wdslider"><h1 class="widget-title">Please support our advertisers</h1>    <style>
      #wds_container1_5 #wds_container2_5 {
        text-align: center;
        margin: 0px ;
        visibility: hidden;
              }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_image_wrap_5 * {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_image_wrap_5 {
        background-color: rgba(0, 0, 0, 0.00);
        border-width: 0px;
        border-style: none;
        border-color: #000000;
        border-radius: ;
        border-collapse: collapse;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100%;
        max-width: 800px;
        box-shadow: ;
        overflow: hidden;
        z-index: 0;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_image_5 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        vertical-align: middle;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_image_container_5 {
        display: table;
        position: absolute;
        text-align: center;
        none: 0px;
        vertical-align: middle;
        width: 100%;
        height: inherit;
      }

            @media only screen and (min-width: 0px) and (max-width: 320px) {
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_thumbnails_5 {
          height: 16px;
          width: 80px;
        }
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_5 {
          font-size: 12px;
          width: 12px;
          margin: 2px;
          height: 12px;
        }
        #wds_container1_5 #wds_container2_5 .wds_pp_btn_cont {  
          font-size: 20px;
          height: 20px;
          width: 20px;
        }
        #wds_container1_5 #wds_container2_5 .wds_left_btn_cont,
        #wds_container1_5 #wds_container2_5 .wds_right_btn_cont {
          height: 20px;
          font-size: 20px;
          width: 20px;
        }
      }
              @media only screen and (min-width: 321px) and (max-width: 480px) {
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_thumbnails_5 {
          height: 22px;
          width: 110px;
        }
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_5 {
          font-size: 18px;
          width: 18px;
          margin: 2px;
          height: 18px;
        }
        #wds_container1_5 #wds_container2_5 .wds_pp_btn_cont {  
          font-size: 30px;
          height: 30px;
          width: 30px;
        }
        #wds_container1_5 #wds_container2_5 .wds_left_btn_cont,
        #wds_container1_5 #wds_container2_5 .wds_right_btn_cont {
          height: 30px;
          font-size: 30px;
          width: 30px;
        }
      }
              @media only screen and (min-width: 481px) and (max-width: 640px) {
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_thumbnails_5 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_5 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_5 #wds_container2_5 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_5 #wds_container2_5 .wds_left_btn_cont,
        #wds_container1_5 #wds_container2_5 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 641px) and (max-width: 768px) {
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_thumbnails_5 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_5 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_5 #wds_container2_5 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_5 #wds_container2_5 .wds_left_btn_cont,
        #wds_container1_5 #wds_container2_5 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 769px) and (max-width: 800px) {
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_thumbnails_5 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_5 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_5 #wds_container2_5 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_5 #wds_container2_5 .wds_left_btn_cont,
        #wds_container1_5 #wds_container2_5 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 801px) and (max-width: 1024px) {
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_thumbnails_5 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_5 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_5 #wds_container2_5 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_5 #wds_container2_5 .wds_left_btn_cont,
        #wds_container1_5 #wds_container2_5 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1025px) and (max-width: 1366px) {
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_thumbnails_5 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_5 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_5 #wds_container2_5 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_5 #wds_container2_5 .wds_left_btn_cont,
        #wds_container1_5 #wds_container2_5 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1367px) and (max-width: 1824px) {
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_thumbnails_5 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_5 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_5 #wds_container2_5 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_5 #wds_container2_5 .wds_left_btn_cont,
        #wds_container1_5 #wds_container2_5 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1825px) and (max-width: 3000px) {
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_thumbnails_5 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_5 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_5 #wds_container2_5 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_5 #wds_container2_5 .wds_left_btn_cont,
        #wds_container1_5 #wds_container2_5 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
        
      #wds_container1_5 #wds_container2_5 .wds_slideshow_video_5 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        width: 100%;
        vertical-align: middle;
        display: inline-block;
      }
      #wds_container1_5 #wds_container2_5 #wds_slideshow_play_pause_5 {  
        color: #000000;
        cursor: pointer;
        position: relative;
        z-index: 13;
        width: inherit;
        height: inherit;
        font-size: inherit;
      }
      #wds_container1_5 #wds_container2_5 #wds_slideshow_play_pause_5:hover {  
        color: #000000;
        cursor: pointer;
      }
      #wds_container1_5 #wds_container2_5 .wds_left-ico_5,
      #wds_container1_5 #wds_container2_5 .wds_right-ico_5 {
        background-color: rgba(255, 255, 255, 0.00);
        border-radius: 20px;
        border: 0px none #FFFFFF;
        border-collapse: separate;
        color: #000000;
        left: 0;
        top: 0;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        cursor: pointer;
        line-height: 0;
        width: inherit;
        height: inherit;
        font-size: inherit;
        position: absolute;
      }
      #wds_container1_5 #wds_container2_5 .wds_left-ico_5 {
        left: -4000px;
      }
      #wds_container1_5 #wds_container2_5 .wds_right-ico_5 {
        left: 4000px;
      }
            #wds_container1_5 #wds_container2_5 #wds_slideshow_play_pause_5 {
        opacity: 0;
        filter: "Alpha(opacity=0)";
      }
      #wds_container1_5 #wds_container2_5 .wds_left-ico_5:hover,
      #wds_container1_5 #wds_container2_5 .wds_right-ico_5:hover {
        color: #000000;
        cursor: pointer;
      }

      /* Filmstrip*/
      #wds_container1_5 #wds_container2_5 .wds_slideshow_filmstrip_container_5 {
        background-color: #000000 !important;
        display: /*table*/block;
        height: 0px;
        position: absolute;
        width: 100%;
        z-index: 10105;
        none: 0;
        overflow: hidden;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_filmstrip_5 {
        overflow: hidden;
        position: absolute;
        width: 100%;
        width: 100%;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_filmstrip_thumbnails_5 {
        height: inherit;
        left: 0px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        width: 0px;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_filmstrip_thumbnail_5 {
        position: relative;
        background: none;
        cursor: pointer;
        float: left;
        height: inherit;
        margin: 0 0px;
        width: 0px;
        overflow: hidden;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_thumb_active_5 div {
        opacity: 1;
        filter: Alpha(opacity=100);
        border: 0px none #FFFFFF;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_thumb_deactive_5 {
        opacity: 0.50;
        filter: Alpha(opacity=50);
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_filmstrip_thumbnail_img_5 {
        display: block;
        opacity: 1;
        filter: Alpha(opacity=100);
        padding: 0 !important;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 0px;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_filmstrip_left_5,
      #wds_container1_5 #wds_container2_5 .wds_slideshow_filmstrip_right_5 {
        background-color: rgba(0, 0, 0, 0.5);
        cursor: pointer;
        display: table;
        vertical-align: middle;
        width: 20px;
        z-index: 10000;
        position: absolute;
        height: inherit; 
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_filmstrip_left_5 {
        left: 0;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_filmstrip_right_5 {
        right: 0;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_filmstrip_left_5 i,
      #wds_container1_5 #wds_container2_5 .wds_slideshow_filmstrip_right_5 i {
        color: #FFFFFF;
        display: table-cell;
        font-size: 20px;
        vertical-align: middle;
      }

      #wds_container1_5 #wds_container2_5 .wds_none_selectable_5 {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }
      #wds_container1_5 #wds_container2_5 .wds_slide_container_5 {
        display: table-cell;
        margin: 0 auto;
        position: absolute;
        vertical-align: middle;
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
      #wds_container1_5 #wds_container2_5 .wds_slide_bg_5 {
        margin: 0 auto;
        width: inherit;
        height: inherit;
      }
      #wds_container1_5 #wds_container2_5 .wds_slider_5 {
        height: inherit;
        width: inherit;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_image_spun_5 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=100);
        opacity: 1;
        position: absolute;
        vertical-align: middle;
        z-index: 2;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_image_second_spun_5 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=0);
        opacity: 0;
        position: absolute;
        vertical-align: middle;
        z-index: 1;
      }
      #wds_container1_5 #wds_container2_5 .wds_grid_5 {
        display: none;
        height: 100%;
        overflow: hidden;
        position: absolute;
        width: 100%;
      }
      #wds_container1_5 #wds_container2_5 .wds_gridlet_5 {
        opacity: 1;
        filter: Alpha(opacity=100);
        position: absolute;
      }

      /* Dots.*/
      #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_container_5 {
        display: block;
        overflow: hidden;
        position: absolute;
        width: 100%;
        none: 0px;
        /*z-index: 17;*/
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_thumbnails_5 {
        left: 0px;
        font-size: 0;
        margin: 0 auto;
        position: relative;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_5 {
        display: inline-block;
        position: relative;
        color: #FFFFFF;
        cursor: pointer;
        z-index: 17;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_active_5 {
        color: #FFFFFF;
        opacity: 1;
        filter: Alpha(opacity=100);
              }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_dots_deactive_5 {
              }

      /* Timer.*/
      #wds_container1_5 #wds_container2_5 .wds_line_timer_container_5 {
        display: block;
        position: absolute;
        overflow: hidden;
        none: 0;
        z-index: 16;
        width: 100%;
        height: 5px;
      }
      #wds_container1_5 #wds_container2_5 .wds_line_timer_5 {
        z-index: 17;
        width: 0;
        height: 5px;
        background: #FFFFFF;
        opacity: 0.50;
        filter: alpha(opacity=50);
      }

      #wds_container1_5 #wds_container2_5 .wds_slideshow_image_spun1_5 {
        display: table; 
        width: inherit; 
        height: inherit;
      }
      #wds_container1_5 #wds_container2_5 .wds_slideshow_image_spun2_5 {
        display: table-cell; 
        vertical-align: middle; 
        text-align: center;
        overflow: hidden;
      }
          </style>
    <script>
      var wds_data_5 = [];
      var wds_event_stack_5 = [];
      var wds_clear_layers_effects_in_5 = [];
      var wds_clear_layers_effects_out_5 = [];
      var wds_clear_layers_effects_out_before_change_5 = [];
      if (0) {
        var wds_duration_for_change_5 = 500;
        var wds_duration_for_clear_effects_5 = 530;
      }
      else {
        var wds_duration_for_change_5 = 0;
        var wds_duration_for_clear_effects_5 = 0;
      }
              wds_clear_layers_effects_in_5["0"] = [];
        wds_clear_layers_effects_out_5["0"] = [];
        wds_clear_layers_effects_out_before_change_5["0"] = [];
        wds_data_5["0"] = [];
        wds_data_5["0"]["id"] = "73";
        wds_data_5["0"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/murray reeds new ad 2015.jpg";
        wds_data_5["0"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/murray reeds new ad 2015.jpg";
        wds_data_5["0"]["is_video"] = "";
        wds_data_5["0"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_5["1"] = [];
        wds_clear_layers_effects_out_5["1"] = [];
        wds_clear_layers_effects_out_before_change_5["1"] = [];
        wds_data_5["1"] = [];
        wds_data_5["1"]["id"] = "76";
        wds_data_5["1"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/MacRaeBannerPipingPress - Aug \'16.jpg";
        wds_data_5["1"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/MacRaeBannerPipingPress - Aug \'16.jpg";
        wds_data_5["1"]["is_video"] = "";
        wds_data_5["1"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_5["2"] = [];
        wds_clear_layers_effects_out_5["2"] = [];
        wds_clear_layers_effects_out_before_change_5["2"] = [];
        wds_data_5["2"] = [];
        wds_data_5["2"]["id"] = "77";
        wds_data_5["2"]["image_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/d naill - ian k (2).jpg";
        wds_data_5["2"]["thumb_url"] = "https://pipingpress.com/wp-content/uploads/slider-wd/thumb/d naill - ian k (2).jpg";
        wds_data_5["2"]["is_video"] = "";
        wds_data_5["2"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_5["3"] = [];
        wds_clear_layers_effects_out_5["3"] = [];
        wds_clear_layers_effects_out_before_change_5["3"] = [];
        wds_data_5["3"] = [];
        wds_data_5["3"]["id"] = "78";
        wds_data_5["3"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/RGH_DeluxeCase_800x300_pipingpress.jpg";
        wds_data_5["3"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/RGH_DeluxeCase_800x300_pipingpress.jpg";
        wds_data_5["3"]["is_video"] = "";
        wds_data_5["3"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_5["4"] = [];
        wds_clear_layers_effects_out_5["4"] = [];
        wds_clear_layers_effects_out_before_change_5["4"] = [];
        wds_data_5["4"] = [];
        wds_data_5["4"]["id"] = "150";
        wds_data_5["4"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/kilberry ad.jpg";
        wds_data_5["4"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/kilberry ad.jpg";
        wds_data_5["4"]["is_video"] = "";
        wds_data_5["4"]["slide_layers_count"] = 0;
            
    </script>
    <div id="wds_container1_5">
      <div class="wds_loading">
        <img src="https://pipingpress.com/wp-content/plugins/slider-wd/images/ajax_loader.png" class="wds_loading_img" style="float: none; width:50px;" />
      </div>
      <div id="wds_container2_5">
        <div class="wds_slideshow_image_wrap_5">
                    <div id="wds_slideshow_image_container_5" class="wds_slideshow_image_container_5">
                        <div class="wds_slide_container_5">
              <div class="wds_slide_bg_5">
                <div class="wds_slider_5">
                                  <span class="wds_slideshow_image_spun_5" id="image_id_5_73">
                    <span class="wds_slideshow_image_spun1_5">
                      <span class="wds_slideshow_image_spun2_5">
                                                <div img_id="wds_slideshow_image_5"
                             class="wds_slideshow_image_5"
                             onclick="window.open('http://www.murrayreeds.co.uk', '_blank')"
                             style="cursor: pointer;background-image: url('http://pipingpress.com/wp-content/uploads/slider-wd/murray reeds new ad 2015.jpg');">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_5" id="image_id_5_76">
                    <span class="wds_slideshow_image_spun1_5">
                      <span class="wds_slideshow_image_spun2_5">
                                                <div img_id="wds_slideshow_image_second_5"
                             class="wds_slideshow_image_5"
                             onclick="window.open('http://www.macraebagpipes.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_5" id="image_id_5_77">
                    <span class="wds_slideshow_image_spun1_5">
                      <span class="wds_slideshow_image_spun2_5">
                                                <div img_id="wds_slideshow_image_second_5"
                             class="wds_slideshow_image_5"
                             onclick="window.open('http://www.naill-bagpipes.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_5" id="image_id_5_78">
                    <span class="wds_slideshow_image_spun1_5">
                      <span class="wds_slideshow_image_spun2_5">
                                                <div img_id="wds_slideshow_image_second_5"
                             class="wds_slideshow_image_5"
                             onclick="window.open('http://rghardie.com/products/view/cases', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_5" id="image_id_5_150">
                    <span class="wds_slideshow_image_spun1_5">
                      <span class="wds_slideshow_image_spun2_5">
                                                <div img_id="wds_slideshow_image_second_5"
                             class="wds_slideshow_image_5"
                             onclick="window.open('https://www.kilberrybagpipes.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                  <input type="hidden" id="wds_current_image_key_5" value="0" />
                </div>
              </div>
            </div>
                      </div>
                  </div>
      </div>
    </div>

    <script>
      var wds_trans_in_progress_5 = false;
      var wds_transition_duration_5 = 800;
      var wds_playInterval_5;
      var progress = 0;
      /* Stop autoplay.*/
      window.clearInterval(wds_playInterval_5);
      var wds_current_key_5 = '0';
      var wds_current_filmstrip_pos_5 = 0;
      /* Set filmstrip initial position.*/
      function wds_set_filmstrip_pos_5(filmStripWidth) {
        var selectedImagePos = -wds_current_filmstrip_pos_5 - (jQuery(".wds_slideshow_filmstrip_thumbnail_5").width() + 0) / 2;
        var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".wds_slideshow_filmstrip_thumbnails_5").width(), selectedImagePos + filmStripWidth / 2));
        jQuery(".wds_slideshow_filmstrip_thumbnails_5").animate({
            left: imagesContainerLeft
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_5(); }
          });
      }
      function wds_move_filmstrip_5() {
        var image_left = jQuery(".wds_slideshow_thumb_active_5").position().left;
        var image_right = jQuery(".wds_slideshow_thumb_active_5").position().left + jQuery(".wds_slideshow_thumb_active_5").outerWidth(true);
        var wds_filmstrip_width = jQuery(".wds_slideshow_filmstrip_5").outerWidth(true);
        var wds_filmstrip_thumbnails_width = jQuery(".wds_slideshow_filmstrip_thumbnails_5").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_filmstrip_thumbnails_5").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_filmstrip_thumbnails_5").position().left) + wds_filmstrip_width;
        if (wds_filmstrip_width > wds_filmstrip_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_5").animate({
            left: -image_left
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_5(); }
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_5").animate({
            left: -(image_right - wds_filmstrip_width)
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_5(); }
          });
        }
      }
      function wds_move_dots_5() {
        var image_left = jQuery(".wds_slideshow_dots_active_5").position().left;
        var image_right = jQuery(".wds_slideshow_dots_active_5").position().left + jQuery(".wds_slideshow_dots_active_5").outerWidth(true);
        var wds_dots_width = jQuery(".wds_slideshow_dots_container_5").outerWidth(true);
        var wds_dots_thumbnails_width = jQuery(".wds_slideshow_dots_thumbnails_5").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_dots_thumbnails_5").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_dots_thumbnails_5").position().left) + wds_dots_width;
        if (wds_dots_width > wds_dots_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_dots_thumbnails_5").animate({
            left: -image_left
          }, {
            duration: 500
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_dots_thumbnails_5").animate({
            left: -(image_right - wds_dots_width)
          }, {
            duration: 500
          });
        }
      }
      /* Show/hide filmstrip arrows.*/
      function wds_filmstrip_arrows_5() {
        if (jQuery(".wds_slideshow_filmstrip_thumbnails_5").width() < jQuery(".wds_slideshow_filmstrip_5").width()) {
          jQuery(".wds_slideshow_filmstrip_left_5").hide();
          jQuery(".wds_slideshow_filmstrip_right_5").hide();
        }
        else {
          jQuery(".wds_slideshow_filmstrip_left_5").show();
          jQuery(".wds_slideshow_filmstrip_right_5").show();
        }
      }
      function wds_testBrowser_cssTransitions_5() {
        return wds_testDom_5('Transition');
      }
      function wds_testBrowser_cssTransforms3d_5() {
        return wds_testDom_5('Perspective');
      }
      function wds_testDom_5(prop) {
        /* Browser vendor CSS prefixes.*/
        var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-'];
        /* Browser vendor DOM prefixes.*/
        var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml'];
        var i = domPrefixes.length;
        while (i--) {
          if (typeof document.body.style[domPrefixes[i] + prop] !== 'undefined') {
            return true;
          }
        }
        return false;
      }
      function wds_set_dots_class_5() {
        jQuery(".wds_slideshow_dots_5").removeClass("wds_slideshow_dots_active_5").addClass("wds_slideshow_dots_deactive_5");
        jQuery("#wds_dots_" + wds_current_key_5 + "_5").removeClass("wds_slideshow_dots_deactive_5").addClass("wds_slideshow_dots_active_5");
                jQuery(".wds_slideshow_dots_5").removeClass("fa-square").addClass("fa-square-o");
        jQuery("#wds_dots_" + wds_current_key_5 + "_5").removeClass("fa-square-o").addClass("fa-square");
              }
      function wds_grid3d_5(cols, rows, tz, wrx, wry, nty, ntx, nry, nrx, current_image_class, next_image_class, direction, random, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_5()) {
          return wds_fallback_5(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_5 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_5").removeClass("wds_slideshow_thumb_active_5").addClass("wds_slideshow_thumb_deactive_5");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_5 + "_5").removeClass("wds_slideshow_thumb_deactive_5").addClass("wds_slideshow_thumb_active_5");
        wds_set_dots_class_5();

        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_5) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, src2, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;

          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_5" />').css({
            width : "100%",
            height : "100%",
            transform : 'translateZ(' + tz + 'px)',
            backfaceVisibility : 'hidden',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_5" />').css({
            width : jQuery(".wds_slideshow_image_spun_5").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_5").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_5").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_5").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_5").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          var grid_div2 = jQuery('<div class="wds_gridlet_5" />').css({
            width : "100%",
            height : "100%",
            backfaceVisibility : 'hidden',
            transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_5" />').css({
            width : jQuery(".wds_slideshow_image_spun_5").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_5").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src2,
            backgroundSize: jQuery(".wds_slideshow_image_5").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_5").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_5").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          return jQuery('<div class="wds_gridlet_5" />').css({
            width : width,
            height : height,
            top : top,
            left : left,
            transition : 'all ' + wds_transition_duration_5 + 'ms ' + easing + ' ' + delay + 'ms',
            transform: 'translateZ(-' + tz + 'px)',
            transformStyle: 'preserve-3d',
          }).append(grid_div).append(grid_div2);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        var next_img = jQuery(next_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_5').css('perspective', 1000);
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_5");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),
            imgSrcNext = next_img.css('background-image'),
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_5").width() - cur_img.width()) / 2;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_5").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgSrcNext, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);        
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 1);
        /* After transition.*/
         var cccount = 0;
         var obshicccount = cols * rows;
         grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
         function wds_after_trans_each() {
           if (++cccount == obshicccount) {
             wds_after_trans();
           }
         }
         function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_5 = false;
          if (typeof wds_event_stack_5 !== 'undefined') {
            if (wds_event_stack_5.length > 0) {
              key = wds_event_stack_5[0].split("-");
              wds_event_stack_5.shift();
              wds_change_image_5(key[0], key[1], wds_data_5, true);
            }
          }
        }
      }
      function wds_slic3DH_5(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_5(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_5(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_slic3DV_5(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_5(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_5(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      
      function wds_slicR3DH_5(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_5(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_5(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_slicR3DV_5(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_5(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_5(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_parallelSlide_5(ni_left, ni_top, tx, ty, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_5()) {
          return wds_fallback_5(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_5()) {
          return wds_fallback3d_5(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_5 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_5").removeClass("wds_slideshow_thumb_active_5").addClass("wds_slideshow_thumb_deactive_5");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_5 + "_5").removeClass("wds_slideshow_thumb_deactive_5").addClass("wds_slideshow_thumb_active_5");
        wds_set_dots_class_5();
        jQuery(current_image_class).css({
          position : 'absolute',
          top : '0px',
          left : '0px',
          position : 'absolute',
        });
        jQuery(next_image_class).css({
          position : 'absolute',
          top : ni_top + 'px',
          left : ni_left + 'px',
          'opacity' : 1, 
          filter : 'Alpha(opacity=100)',
          position : 'absolute',
        });
        jQuery(".wds_slider_5").css({
          position : 'relative',
          'backface-visibility': 'hidden'
        });
        jQuery(".wds_slide_bg_5").css({
          overflow : 'hidden',
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery('.wds_slider_5').css({
            transition : 'all ' + wds_transition_duration_5 + 'ms ' + easing,
            transform : 'translateX(' + tx + 'px) translateY(' + ty + 'px)',
          });
        }, 1);
        /* After transition.*/
        jQuery('.wds_slider_5').one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_5").removeAttr('style');
          jQuery(".wds_slide_bg_5").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_5 = false;
          if (typeof wds_event_stack_5 !== 'undefined') {
            if (wds_event_stack_5.length > 0) {
              key = wds_event_stack_5[0].split("-");
              wds_event_stack_5.shift();
              wds_change_image_5(key[0], key[1], wds_data_5, true);
            }
          }
        }
      }
      function wds_parallelSlideH_5(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_5(width, 0, -width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_5(-width, 0, width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_parallelSlideV_5(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_5(0, height, 0, -height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_5(0, -height, 0, height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_cube_5(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_5()) {
          return wds_fallback_5(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_5()) {
          return wds_fallback3d_5(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_5 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_5").removeClass("wds_slideshow_thumb_active_5").addClass("wds_slideshow_thumb_deactive_5");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_5 + "_5").removeClass("wds_slideshow_thumb_deactive_5").addClass("wds_slideshow_thumb_active_5");
        wds_set_dots_class_5();

        jQuery(".wds_slide_container_5").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_spun2_5").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_wrap_5").css('overflow', 'visible');
        var filmstrip_position = 'none';
        if (filmstrip_position == 'none') {
          jQuery(".wds_slideshow_image_5").css('border-radius', jQuery(".wds_slideshow_image_wrap_5").css('border-radius'));
        }
        else {
          jQuery(".wds_slideshow_image_5").css('border-radius', '');
          jQuery(".wds_slideshow_filmstrip_container_5").css('border-radius', '');
          if (filmstrip_position == 'top') {
            jQuery(".wds_slideshow_image_5").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_image_5").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_5").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_5").css('border-bottom-right-radius', 0);
          }
          else if (filmstrip_position == 'bottom') {
            jQuery(".wds_slideshow_image_5").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_5").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_5").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_5").css('border-top-right-radius', 0);
          }
          else if (filmstrip_position == 'right') {
            jQuery(".wds_slideshow_image_5").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_image_5").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_5").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_5").css('border-top-left-radius', 0);
          }
          else if (filmstrip_position == 'left') {
            jQuery(".wds_slideshow_image_5").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_5").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_5").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_5").css('border-top-right-radius', 0);
          }
        }

        jQuery(".wds_slide_bg_5").css('perspective', 1000);
        jQuery(current_image_class).css({
          transform : 'translateZ(' + tz + 'px)',
          backfaceVisibility : 'hidden'
        });
        jQuery(next_image_class).css({
          opacity : 1,
          filter: 'Alpha(opacity=100)',
          zIndex: 2,
          backfaceVisibility : 'hidden',
          transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)'
        });
        jQuery(".wds_slider_5").css({
          transform: 'translateZ(-' + tz + 'px)',
          transformStyle: 'preserve-3d',
          position: 'absolute'
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery(".wds_slider_5").css({
            transition: 'all ' + wds_transition_duration_5 + 'ms ' + easing,
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 20);
        /* After transition.*/
        jQuery(".wds_slider_5").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_5").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_5 = false;
          if (typeof wds_event_stack_5 !== 'undefined') {
            if (wds_event_stack_5.length > 0) {
              key = wds_event_stack_5[0].split("-");
              wds_event_stack_5.shift();
              wds_change_image_5(key[0], key[1], wds_data_5, true);
            }
          }
          jQuery(".wds_slide_container_5").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_spun2_5").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_wrap_5").css('overflow', 'hidden');
        }
      }
      function wds_cubeR_5(current_image_class, next_image_class, direction) {
        var random_direction = Math.floor(Math.random() * 2);
        var dimension = random_direction ? jQuery(current_image_class).height() / 2 : jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
         if (random_direction) {
           wds_cube_5(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_5(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
        else if (direction == 'left') {
         if (random_direction) {
           wds_cube_5(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_5(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
      }
      function wds_cubeH_5(current_image_class, next_image_class, direction) {
        /* Set to half of image width.*/
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_cube_5(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_5(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_cubeV_5(current_image_class, next_image_class, direction) {
        /* Set to half of image height.*/
        var dimension = jQuery(current_image_class).height() / 2;
        /* If next slide.*/
        if (direction == 'right') {
          wds_cube_5(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_5(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      /* For browsers that does not support transitions.*/
      function wds_fallback_5(current_image_class, next_image_class, direction) {
        wds_fade_5(current_image_class, next_image_class, direction);
      }
      /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
      function wds_fallback3d_5(current_image_class, next_image_class, direction) {
        wds_sliceV_5(current_image_class, next_image_class, direction);
      }
      function wds_none_5(current_image_class, next_image_class, direction) {
        jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
        jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_5").removeClass("wds_slideshow_thumb_active_5").addClass("wds_slideshow_thumb_deactive_5");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_5 + "_5").removeClass("wds_slideshow_thumb_deactive_5").addClass("wds_slideshow_thumb_active_5");
        wds_set_dots_class_5();
      }
      function wds_fade_5(current_image_class, next_image_class, direction) {
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_5").removeClass("wds_slideshow_thumb_active_5").addClass("wds_slideshow_thumb_deactive_5");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_5 + "_5").removeClass("wds_slideshow_thumb_deactive_5").addClass("wds_slideshow_thumb_active_5");
        wds_set_dots_class_5();
        if (wds_testBrowser_cssTransitions_5()) {
          jQuery(next_image_class).css('transition', 'opacity ' + wds_transition_duration_5 + 'ms linear');
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        }
        else {
          jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, wds_transition_duration_5);
          jQuery(next_image_class).animate({
              'opacity' : 1,
              'z-index': 2
            }, {
              duration: wds_transition_duration_5,
              complete: function () {  }
            });
          /* For IE.*/
          jQuery(current_image_class).fadeTo(wds_transition_duration_5, 0);
          jQuery(next_image_class).fadeTo(wds_transition_duration_5, 1);
        }
      }
      function wds_grid_5(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction, random, roy, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_5()) {
          return wds_fallback_5(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_5 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_5").removeClass("wds_slideshow_thumb_active_5").addClass("wds_slideshow_thumb_deactive_5");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_5 + "_5").removeClass("wds_slideshow_thumb_deactive_5").addClass("wds_slideshow_thumb_active_5");
        wds_set_dots_class_5();
        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_5) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;
          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_5" />').css({
            width : imgWidth,/*"100%"*/
            height : jQuery(".wds_slideshow_image_spun_5").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_5").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_5").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_5").css("background-color"),*/
            backgroundRepeat: 'no-repeat'
          });
          return jQuery('<div class="wds_gridlet_5" />').css({
            width : width,/*"100%"*/
            height : height,
            top : top,
            left : left,
            backgroundSize : imgWidth + 'px ' + imgHeight + 'px',
            backgroundPosition : img_left + 'px ' + img_top + 'px',
            backgroundRepeat: 'no-repeat',
            overflow: "hidden",
            transition : 'all ' + wds_transition_duration_5 + 'ms ' + easing + ' ' + delay + 'ms',
            transform : 'none'
          }).append(grid_div);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_5');
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_5");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),/*.replace('/thumb', ''),*/
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_5").width() - cur_img.width()) / 2;
        /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/
        tx = tx === 'auto' ? contWidth : tx;
        tx = tx === 'min-auto' ? - contWidth : tx;
        ty = ty === 'auto' ? contHeight : ty;
        ty = ty === 'min-auto' ? - contHeight : ty;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_5").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);
        /* Add identifying classes to corner gridlets (useful if applying border radius).*/
        grid.children().first().addClass('rs-top-left');
        grid.children().last().addClass('rs-bottom-right');
        grid.children().eq(rows - 1).addClass('rs-bottom-left');
        grid.children().eq(- rows).addClass('rs-top-right');
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            opacity: op,
            transform: 'rotate('+ ro +'deg) rotateY('+ roy +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')'
          });
        }, 1);
        jQuery(next_image_class).css('opacity', 1);
        /* After transition.*/
        var cccount = 0;
        var obshicccount = cols * rows;
        grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
        function wds_after_trans_each() {
         if (++cccount == obshicccount) {
           wds_after_trans();
         }
        }
        function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_5 = false;
          if (typeof wds_event_stack_5 !== 'undefined') {
            if (wds_event_stack_5.length > 0) {
              key = wds_event_stack_5[0].split("-");
              wds_event_stack_5.shift();
              wds_change_image_5(key[0], key[1], wds_data_5, true);
            }
          }
        }
      }
      function wds_sliceH_5(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_5(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_sliceV_5(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'min-auto';
        }
        else if (direction == 'left') {
          var translateY = 'auto';
        }
        wds_grid_5(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_slideV_5(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'auto';
        }
        else if (direction == 'left') {
          var translateY = 'min-auto';
        }
        wds_grid_5(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_slideH_5(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_5(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_scaleOut_5(current_image_class, next_image_class, direction) {
        wds_grid_5(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_scaleIn_5(current_image_class, next_image_class, direction) {
        wds_grid_5(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScale_5(current_image_class, next_image_class, direction) {
        wds_grid_5(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScaleR_5(current_image_class, next_image_class, direction) {
        wds_grid_5(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 1, 0, 'ease-in-out');
      }
      function wds_blindR_5(current_image_class, next_image_class, direction) {
        wds_grid_5(8, 1, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_tilesR_5(current_image_class, next_image_class, direction) {
        wds_grid_5(8, 8, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_kaleidoscope_5(current_image_class, next_image_class, direction) {
        wds_grid_5(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_fan_5(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var rotate = 45;
          var translateX = 100;
        }
        else if (direction == 'left') {
          var rotate = -45;
          var translateX = -100;
        }
        wds_grid_5(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindV_5(current_image_class, next_image_class, direction) {
        wds_grid_5(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindH_5(current_image_class, next_image_class, direction) {
        wds_grid_5(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_random_5(current_image_class, next_image_class, direction) {
        var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV', 'parallelSlideH', 'parallelSlideV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_5"](current_image_class, next_image_class, direction);
      }
      function wds_3Drandom_5(current_image_class, next_image_class, direction) {
        var anims = ['cubeH', 'cubeV', 'cubeR', 'slic3DH', 'slic3DV', 'slicR3DH', 'slicR3DV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_5"](current_image_class, next_image_class, direction);
      }
      function iterator_5() {
        var iterator = 1;
        if (1) {
          iterator = Math.floor((wds_data_5.length - 1) * Math.random() + 1);
        }
        return iterator;
      }
      function wds_change_image_5(current_key, key, wds_data_5, from_effect) {
                /* Pause videos.*/
        jQuery("#wds_slideshow_image_container_5").find("iframe").each(function () {
          jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
          jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*");
        });
        if (wds_data_5[key]) {
          if (jQuery('.wds_ctrl_btn_5').hasClass('fa-pause') || ('1')) {
            play_5();
          }
          if (!from_effect) {
            /* Change image key.*/
            jQuery("#wds_current_image_key_5").val(key);
            if (current_key == '-1') { /* Filmstrip.*/
              current_key = jQuery(".wds_slideshow_thumb_active_5").children("img").attr("image_key");
            }
            else if (current_key == '-2') { /* Dots.*/
              current_key = jQuery(".wds_slideshow_dots_active_5").attr("image_key");
            }
          }
          if (wds_trans_in_progress_5) {
            wds_event_stack_5.push(current_key + '-' + key);
            return;
          }
          var direction = 'right';
          if (wds_current_key_5 > key) {
            var direction = 'left';
          }
          else if (wds_current_key_5 == key) {
            return;
          }
          /* Set active thumbnail position.*/
          wds_current_filmstrip_pos_5 = key * (jQuery(".wds_slideshow_filmstrip_thumbnail_5").width() + 2 + 2 * 0);
          wds_current_key_5 = key;
          /* Change image id.*/
          jQuery("div[img_id=wds_slideshow_image_5]").attr('image_id', wds_data_5[key]["id"]);
          var current_image_class = "#image_id_5_" + wds_data_5[current_key]["id"];
          var next_image_class = "#image_id_5_" + wds_data_5[key]["id"];
                    if (!wds_data_5[key]["is_video"]) {
            jQuery(next_image_class).find("div").css("background-image", 'url("' + wds_data_5[key]["image_url"] + '")');
          }
                    var current_slide_layers_count = wds_data_5[current_key]["slide_layers_count"];
          var next_slide_layers_count = wds_data_5[key]["slide_layers_count"];

          /* Clear layers before image change.*/
          function set_layer_effect_out_before_change(m) {
            wds_clear_layers_effects_out_before_change_5[current_key][m] = setTimeout(function() {
              if (wds_data_5[current_key]["layer_" + m + "_type"] != 'social') {
                jQuery('#wds_5_slide' + wds_data_5[current_key]["id"] + '_layer' + wds_data_5[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_5_slide' + wds_data_5[current_key]["id"] + '_layer' + wds_data_5[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_5[current_key]["layer_" + m + "_layer_effect_out"] + ' animated');
              }
              else {
                jQuery('#wds_5_slide' + wds_data_5[current_key]["id"] + '_layer' + wds_data_5[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_5_slide' + wds_data_5[current_key]["id"] + '_layer' + wds_data_5[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_5[current_key]["layer_" + m + "_layer_effect_out"] + ' fa fa-' + wds_data_5[current_key]["layer_" + m + "_social_button"] + ' animated');
              }
            }, 10);
          }
          if (0) {
            for (var m = 0; m < current_slide_layers_count; m++) {
              if (jQuery('#wds_5_slide' + wds_data_5[current_key]["id"] + '_layer' + wds_data_5[current_key]["layer_" + m + "_id"]).css('opacity') != 0) {
                set_layer_effect_out_before_change(m);
              }
            }
          }
          /* Loop through current slide layers for clear effects.*/
          setTimeout(function() {
            for (var k = 0; k < current_slide_layers_count; k++) {
              clearTimeout(wds_clear_layers_effects_in_5[current_key][k]);
              clearTimeout(wds_clear_layers_effects_out_5[current_key][k]);
              if (wds_data_5[current_key]["layer_" + k + "_type"] != 'social') {
                jQuery('#wds_5_slide' + wds_data_5[current_key]["id"] + '_layer' + wds_data_5[current_key]["layer_" + k + "_id"]).removeClass().addClass('wds_layer_'+ wds_data_5[current_key]["layer_" + k + "_id"]);
              }
              else {
                jQuery('#wds_5_slide' + wds_data_5[current_key]["id"] + '_layer' + wds_data_5[current_key]["layer_" + k + "_id"]).removeClass().addClass('fa fa-' + wds_data_5[current_key]["layer_" + k + "_social_button"] + ' wds_layer_' + wds_data_5[current_key]["layer_" + k + "_id"]);
              }
            }
          }, wds_duration_for_clear_effects_5);
          /* Effects out part.*/
          function set_layer_effect_out(i) {
            wds_clear_layers_effects_out_5[key][i] = setTimeout(function() {
              if (wds_data_5[key]["layer_" + i + "_layer_effect_out"] != 'none') {
                if (wds_data_5[key]["layer_" + i + "_type"] != 'social') {	
                  jQuery('#wds_5_slide' + wds_data_5[key]["id"] + '_layer' + wds_data_5[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_5[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_5[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
                  jQuery('#wds_5_slide' + wds_data_5[key]["id"] + '_layer' + wds_data_5[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_5[key]["layer_" + i + "_layer_effect_out"] + ' animated');
                }
                else {
                  jQuery('#wds_5_slide' + wds_data_5[key]["id"] + '_layer' + wds_data_5[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_5[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_5[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
                  jQuery('#wds_5_slide' + wds_data_5[key]["id"] + '_layer' + wds_data_5[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_5[key]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_5[key]["layer_" + i + "_social_button"] + ' animated');
                }
              }
            }, wds_data_5[key]["layer_" + i + "_end"]);
          }
          /* Effects in part.*/
          function set_layer_effect_in(j) {
            wds_clear_layers_effects_in_5[key][j] = setTimeout(function() {
              if (wds_data_5[key]["layer_" + j + "_type"] != 'social') {
                jQuery('#wds_5_slide' + wds_data_5[key]["id"] + '_layer' + wds_data_5[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_5[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_5[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
                jQuery('#wds_5_slide' + wds_data_5[key]["id"] + '_layer' + wds_data_5[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_5[key]["layer_" + j + "_layer_effect_in"] + ' animated');
              }
              else {
                jQuery('#wds_5_slide' + wds_data_5[key]["id"] + '_layer' + wds_data_5[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_5[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_5[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');
                jQuery('#wds_5_slide' + wds_data_5[key]["id"] + '_layer' + wds_data_5[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_5[key]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_5[key]["layer_" + j + "_social_button"] + ' animated');
              }
            }, wds_data_5[key]["layer_" + j + "_start"]);
          }
          /* Loop through layers in.*/
          for (var j = 0; j < next_slide_layers_count; j++) {
            set_layer_effect_in(j);
          }
          /* Loop through layers out if pause button not pressed.*/
          if (jQuery(".wds_ctrl_btn_5").hasClass("fa-pause")) {
            for (var i = 0; i < next_slide_layers_count; i++) {
              set_layer_effect_out(i);
            }
          }
          setTimeout(function() {
            if (typeof jQuery().finish !== 'undefined') {
              if (jQuery.isFunction(jQuery().finish)) {
                jQuery(".wds_line_timer_5").finish();
              }
            }
            jQuery(".wds_line_timer_5").css({width: 0});
            wds_random_5(current_image_class, next_image_class, direction);
            if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_5').hasClass('fa-pause'))) {
              if (!jQuery(".wds_ctrl_btn_5").hasClass("fa-play")) {
                jQuery(".wds_line_timer_5").animate({
                  width: "100%"
                }, {
                  duration: 5000,
                  specialEasing: {width: "linear"}
                });
              }
              
            }
                        if (wds_data_5[key]["is_video"]) {
              jQuery("#wds_slideshow_play_pause_5").css({display: 'none'});
            }
            else {
              jQuery("#wds_slideshow_play_pause_5").css({display: ''});
            }
          }, wds_duration_for_change_5);
        }
      }
      function wds_resize_slider_5() {
        var slide_orig_width = 800;
        var slide_orig_height = 300;
        var slide_width = jQuery("#wds_container1_5").parent().width();
        if (slide_orig_width <= slide_width) {
          slide_width = slide_orig_width;
        }
        var ratio = slide_width / slide_orig_width;

                var slide_height = slide_orig_height;
        if (slide_orig_width > slide_width) {
          slide_height = Math.floor(slide_width * slide_orig_height / slide_orig_width);
        }

        jQuery(".wds_slideshow_image_wrap_5, #wds_container2_5").height(slide_height + 0);
        jQuery(".wds_slideshow_image_container_5").height(slide_height);
        jQuery(".wds_slideshow_image_5").height(slide_height);
        jQuery(".wds_slideshow_video_5").height(slide_height);
        jQuery(".wds_slideshow_image_5 img").each(function () {
          var wds_theImage = new Image();
          wds_theImage.src = jQuery(this).attr("src");
          var wds_origWidth = wds_theImage.width;
          var wds_origHeight = wds_theImage.height;
          var wds_imageWidth = jQuery(this).attr("wds_image_width");
          var wds_imageHeight = jQuery(this).attr("wds_image_height");
          var wds_width = wds_imageWidth;
          if (wds_origWidth <= wds_imageWidth) {
            wds_width = wds_origWidth;
          }
          var wds_height = wds_imageHeight;
          if (wds_origHeight <= wds_imageHeight) {
            wds_height = wds_origHeight;
          }
          jQuery(this).css({
            maxWidth: (parseFloat(wds_imageWidth) * ratio) + "px",
            maxHeight: (parseFloat(wds_imageHeight) * ratio) + "px",
          });
          if (jQuery(this).attr("wds_scale") != "on") {
            jQuery(this).css({
              width: (parseFloat(wds_imageWidth) * ratio) + "px",
              height: (parseFloat(wds_imageHeight) * ratio) + "px"
            });
          }
          else if (wds_origWidth <= wds_imageWidth || wds_origHeight <= wds_imageHeight) {
            if (wds_origWidth / wds_imageWidth > wds_origHeight / wds_imageHeight) {
              jQuery(this).css({
                width: (parseFloat(wds_imageWidth) * ratio) + "px"
              });
            }
            else {
              jQuery(this).css({
                height: (parseFloat(wds_imageHeight) * ratio) + "px"
              });
            }
          }

        });
        jQuery(".wds_slideshow_image_5 span, .wds_slideshow_image_5 i").each(function () {
          jQuery(this).css({
            fontSize: (parseFloat(jQuery(this).attr("wds_fsize")) * ratio) + "px",
            lineHeight: "1.25em",
            paddingLeft: (parseFloat(jQuery(this).attr("wds_fpaddingl")) * ratio) + "px",
            paddingRight: (parseFloat(jQuery(this).attr("wds_fpaddingr")) * ratio) + "px",
            paddingTop: (parseFloat(jQuery(this).attr("wds_fpaddingt")) * ratio) + "px",
            paddingBottom: (parseFloat(jQuery(this).attr("wds_fpaddingb")) * ratio) + "px",
          })
        });
      }
      function wds_genBgPos_5() {
        var bgSizeArray = [0, 70];
        var bgSize = bgSizeArray[Math.floor(Math.random() * bgSizeArray.length)];
        
        var bgPosXArray = ['left', 'right'];
        var bgPosYArray = ['top', 'bottom'];
        var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];
        var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];
        jQuery(".wds_slideshow_image_5").css({
          backgroundPosition: bgPosX + " " + bgPosY,
          backgroundSize : (100 + bgSize) + "%",
          webkitAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize,
          mozAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize,
          animation: '5s linear 0s alternate infinite wdszoom' + bgSize
        });
      }
      jQuery(window).resize(function () {
        wds_resize_slider_5();
      });
      function wds_full_width_5() {
        var left = jQuery("#wds_container1_5").offset().left;
        jQuery(".wds_slideshow_image_wrap_5").css({
          left: (-left + 0) + "px",
          width: (jQuery(window).width() - 0) + "px",
          maxWidth: "none"
        });
      }
      jQuery(window).load(function () {
                jQuery("#wds_container1_5").mouseover(function(e) {
          wds_stop_animation_5();
        });
        jQuery("#wds_container1_5").mouseout(function(e) {
          if (!e) {
            var e = window.event;
          }
          var reltg = (e.relatedTarget) ? e.relatedTarget : e.toElement;
          while (reltg.tagName != 'BODY') {
            if (reltg.id == this.id){
              return;
            }
            reltg = reltg.parentNode;
          }
          wds_play_animation_5();
        });
                jQuery(".wds_slideshow_image_5 span, .wds_slideshow_image_5 i").each(function () {
          jQuery(this).attr("wds_fpaddingl", jQuery(this).css("paddingLeft"));
          jQuery(this).attr("wds_fpaddingr", jQuery(this).css("paddingRight"));
          jQuery(this).attr("wds_fpaddingt", jQuery(this).css("paddingTop"));
          jQuery(this).attr("wds_fpaddingb", jQuery(this).css("paddingBottom"));
        });
        if (4000) {
          jQuery("#wds_container2_5").hover(function () {
            jQuery(".wds_right-ico_5").animate({left: 0}, 700, "swing");
            jQuery(".wds_left-ico_5").animate({left: 0}, 700, "swing");
            jQuery("#wds_slideshow_play_pause_5").animate({opacity: 1, filter: "Alpha(opacity=100)"}, 700, "swing");
          }, function () {
            jQuery(".wds_right-ico_5").css({left: 4000});
            jQuery(".wds_left-ico_5").css({left: -4000});
            jQuery("#wds_slideshow_play_pause_5").css({opacity: 0, filter: "Alpha(opacity=0)"});
          });
        }

        wds_resize_slider_5();
        jQuery("#wds_container2_5").css({visibility: 'visible'});
        jQuery(".wds_loading").hide();

      	        if (typeof jQuery().swiperight !== 'undefined') {
          if (jQuery.isFunction(jQuery().swiperight)) {
            jQuery('#wds_container1_5').swiperight(function () {
              wds_change_image_5(parseInt(jQuery('#wds_current_image_key_5').val()), (parseInt(jQuery('#wds_current_image_key_5').val()) - iterator_5()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_5').val()) - iterator_5()) % wds_data_5.length : wds_data_5.length - 1, wds_data_5);
              return false;
            });
          }
        }
        if (typeof jQuery().swipeleft !== 'undefined') {
          if (jQuery.isFunction(jQuery().swipeleft)) {
            jQuery('#wds_container1_5').swipeleft(function () {
              wds_change_image_5(parseInt(jQuery('#wds_current_image_key_5').val()), (parseInt(jQuery('#wds_current_image_key_5').val()) + iterator_5()) % wds_data_5.length, wds_data_5);
              return false;
            });
          }
        }

        var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
        var wds_click = isMobile ? 'touchend' : 'click';

        var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */
        jQuery('.wds_slideshow_filmstrip_5').bind(mousewheelevt, function(e) {
          var evt = window.event || e; /* Equalize event object.*/
          evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/
          var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/
          if (delta > 0) {
            /* Scroll up.*/
            jQuery(".wds_slideshow_filmstrip_left_5").trigger("click");
          }
          else {
            /* Scroll down.*/
            jQuery(".wds_slideshow_filmstrip_right_5").trigger("click");
          }
          return false;
        });
        jQuery(".wds_slideshow_filmstrip_right_5").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_5" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_5").position().left >= -(jQuery(".wds_slideshow_filmstrip_thumbnails_5").width() - jQuery(".wds_slideshow_filmstrip_5").width())) {
            jQuery(".wds_slideshow_filmstrip_left_5").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_5").position().left < -(jQuery(".wds_slideshow_filmstrip_thumbnails_5").width() - jQuery(".wds_slideshow_filmstrip_5").width() - 0)) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_5").animate({left: -(jQuery(".wds_slideshow_filmstrip_thumbnails_5").width() - jQuery(".wds_slideshow_filmstrip_5").width())}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_5").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_5").position().left - 0)}, 500, 'linear');
            }
          }
          /* Disable right arrow.*/
          window.setTimeout(function() {
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_5").position().left == -(jQuery(".wds_slideshow_filmstrip_thumbnails_5").width() - jQuery(".wds_slideshow_filmstrip_5").width())) {
              jQuery(".wds_slideshow_filmstrip_right_5").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        jQuery(".wds_slideshow_filmstrip_left_5").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_5" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_5").position().left < 0) {
            jQuery(".wds_slideshow_filmstrip_right_5").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_5").position().left > - 0) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_5").animate({left: 0}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_5").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_5").position().left + 0)}, 500, 'linear');
            }
          }
          /* Disable left arrow.*/
          window.setTimeout(function(){
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_5").position().left == 0) {
              jQuery(".wds_slideshow_filmstrip_left_5").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        /* Set filmstrip initial position.*/
        wds_set_filmstrip_pos_5(jQuery(".wds_slideshow_filmstrip_5").width());
        /* Play/pause.*/
        jQuery("#wds_slideshow_play_pause_5").on(wds_click, function () {
          if (jQuery(".wds_ctrl_btn_5").hasClass("fa-play")) {
            /* Play.*/
            jQuery(".wds_slideshow_play_pause_5").attr("title", "Pause");
            jQuery(".wds_slideshow_play_pause_5").attr("class", "wds_ctrl_btn_5 wds_slideshow_play_pause_5 fa fa-pause");
            play_5();
            if (0) {
              document.getElementById("wds_audio_5").play();
            }
          }
          else {
            /* Pause.*/
            /* Pause layers out effect.*/
            var current_key = jQuery('#wds_current_image_key_5').val();
            var current_slide_layers_count = wds_data_5[current_key]["slide_layers_count"];
            setTimeout(function() {
              for (var k = 0; k < current_slide_layers_count; k++) {
                clearTimeout(wds_clear_layers_effects_out_5[current_key][k]);
              }
            }, wds_duration_for_clear_effects_5);

            window.clearInterval(wds_playInterval_5);
            jQuery(".wds_slideshow_play_pause_5").attr("title", "Play");
            jQuery(".wds_slideshow_play_pause_5").attr("class", "wds_ctrl_btn_5 wds_slideshow_play_pause_5 fa fa-play");
            if (0) {
              document.getElementById("wds_audio_5").pause();
            }
            if (typeof jQuery().stop !== 'undefined') {
              if (jQuery.isFunction(jQuery().stop)) {
                jQuery(".wds_line_timer_5").stop();
              }
            }
          }
        });
        if (1) {
          play_5();
          jQuery(".wds_slideshow_play_pause_5").attr("title", "Pause");
          jQuery(".wds_slideshow_play_pause_5").attr("class", "wds_ctrl_btn_5 wds_slideshow_play_pause_5 fa fa-pause");
          if (0) {
            document.getElementById("wds_audio_5").play();
          }
        }
                function wds_preload_5(preload_key) {
          jQuery("<img/>")
            .load(function() { if (preload_key < wds_data_5.length - 1) wds_preload_5(preload_key + 1); })
            .error(function() { if (preload_key < wds_data_5.length - 1) wds_preload_5(preload_key + 1); })
            .attr("src", (!wds_data_5[preload_key]["is_video"] ? wds_data_5[preload_key]["image_url"] : ""));
        }
        wds_preload_5(0);
                var first_slide_layers_count_5 = wds_data_5[0]["slide_layers_count"];
        if (first_slide_layers_count_5) {
          /* Loop through layers in.*/
          for (var j = 0; j < first_slide_layers_count_5; j++) {
            set_layer_effect_in_onload_5(j);
          }
          /* Loop through layers out.*/
          for (var i = 0; i < first_slide_layers_count_5; i++) {
            set_layer_effect_out_onload_5(i);
          }
        }
      });
	    function wds_stop_animation_5() {
        window.clearInterval(wds_playInterval_5);
        /* Pause layers out effect.*/
        var current_key = jQuery('#wds_current_image_key_5').val();
        var current_slide_layers_count = wds_data_5[current_key]["slide_layers_count"];			
        setTimeout(function() {
          for (var k = 0; k < current_slide_layers_count; k++) {
            clearTimeout(wds_clear_layers_effects_out_5[current_key][k]);
          }
        }, wds_duration_for_clear_effects_5);
        if (0) {
          document.getElementById("wds_audio_5").pause();
        }
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_5").stop();
          }
        }
			}
      function wds_play_animation_5() {
        if (jQuery(".wds_ctrl_btn_5").hasClass("fa-play")) {
          return;
        }
		    play_5();
        if (0) {
          document.getElementById("wds_audio_5").play();
        }	 
      }
      /* Effects in part.*/		
		  function set_layer_effect_in_onload_5(j) {
		    wds_clear_layers_effects_in_5[0][j] = setTimeout(function(){
          if (wds_data_5[0]["layer_" + j + "_type"] != 'social') {
            jQuery('#wds_5_slide' + wds_data_5[0]["id"] + '_layer' + wds_data_5[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_5[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_5[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
		        jQuery('#wds_5_slide' + wds_data_5[0]["id"] + '_layer' + wds_data_5[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_5[0]["layer_" + j + "_layer_effect_in"] + ' animated');
		      }
          else {
            jQuery('#wds_5_slide' + wds_data_5[0]["id"] + '_layer' + wds_data_5[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_5[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_5[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');	
            jQuery('#wds_5_slide' + wds_data_5[0]["id"] + '_layer' + wds_data_5[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_5[0]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_5[0]["layer_" + j + "_social_button"] + ' animated');
          }
		    }, wds_data_5[0]["layer_" + j + "_start"]);
		  }
      /* Effects out part.*/
		  function set_layer_effect_out_onload_5(i) {
			  wds_clear_layers_effects_out_5[0][i] = setTimeout(function() {
          if (wds_data_5[0]["layer_" + i + "_layer_effect_out"] != 'none') {
            if (wds_data_5[0]["layer_" + i + "_type"] != 'social') {
              jQuery('#wds_5_slide' + wds_data_5[0]["id"] + '_layer' + wds_data_5[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_5[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_5[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
              jQuery('#wds_5_slide' + wds_data_5[0]["id"] + '_layer' + wds_data_5[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_5[0]["layer_" + i + "_layer_effect_out"] + ' animated');
            }
            else {
              jQuery('#wds_5_slide' + wds_data_5[0]["id"] + '_layer' + wds_data_5[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_5[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_5[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
              jQuery('#wds_5_slide' + wds_data_5[0]["id"] + '_layer' + wds_data_5[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_5[0]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_5[0]["layer_" + i + "_social_button"] + ' animated');
            }
          }
		    }, wds_data_5[0]["layer_" + i + "_end"]);
		  }
      function play_5() {
        if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_5').hasClass('fa-pause'))) {
          jQuery(".wds_line_timer_5").animate({
            width: "100%"
          }, {
            duration: 5000,
            specialEasing: {width: "linear"}
          });
        }
        window.clearInterval(wds_playInterval_5);
        /* Play.*/
        wds_playInterval_5 = setInterval(function () {
          var iterator = 1;
          if (1) {
            iterator = Math.floor((wds_data_5.length - 1) * Math.random() + 1);
          }
          wds_change_image_5(parseInt(jQuery('#wds_current_image_key_5').val()), (parseInt(jQuery('#wds_current_image_key_5').val()) + iterator) % wds_data_5.length, wds_data_5)
        }, '5000');
      }
      jQuery(window).focus(function() {
        if (!jQuery(".wds_ctrl_btn_5").hasClass("fa-play")) {
          if (1) {
            play_5();
          }
        }
        var i_5 = 0;
        jQuery(".wds_slider_5").children("span").each(function () {
          if (jQuery(this).css('opacity') == 1) {
            jQuery("#wds_current_image_key_5").val(i_5);
          }
          i_5++;
        });
      });
      jQuery(window).blur(function() {
        wds_event_stack_5 = [];
        window.clearInterval(wds_playInterval_5);
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_5").stop();
          }
        }
      });
    </script>
    </aside><aside id="wdslider-16" class="widget wdslider"><h1 class="widget-title">Please support our advertisers</h1>    <style>
      #wds_container1_6 #wds_container2_6 {
        text-align: center;
        margin: 0px ;
        visibility: hidden;
              }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_image_wrap_6 * {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_image_wrap_6 {
        background-color: rgba(0, 0, 0, 0.00);
        border-width: 0px;
        border-style: none;
        border-color: #000000;
        border-radius: ;
        border-collapse: collapse;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100%;
        max-width: 800px;
        box-shadow: ;
        overflow: hidden;
        z-index: 0;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_image_6 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        vertical-align: middle;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_image_container_6 {
        display: table;
        position: absolute;
        text-align: center;
        none: 0px;
        vertical-align: middle;
        width: 100%;
        height: inherit;
      }

            @media only screen and (min-width: 0px) and (max-width: 320px) {
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_thumbnails_6 {
          height: 16px;
          width: 80px;
        }
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_6 {
          font-size: 12px;
          width: 12px;
          margin: 2px;
          height: 12px;
        }
        #wds_container1_6 #wds_container2_6 .wds_pp_btn_cont {  
          font-size: 20px;
          height: 20px;
          width: 20px;
        }
        #wds_container1_6 #wds_container2_6 .wds_left_btn_cont,
        #wds_container1_6 #wds_container2_6 .wds_right_btn_cont {
          height: 20px;
          font-size: 20px;
          width: 20px;
        }
      }
              @media only screen and (min-width: 321px) and (max-width: 480px) {
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_thumbnails_6 {
          height: 22px;
          width: 110px;
        }
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_6 {
          font-size: 18px;
          width: 18px;
          margin: 2px;
          height: 18px;
        }
        #wds_container1_6 #wds_container2_6 .wds_pp_btn_cont {  
          font-size: 30px;
          height: 30px;
          width: 30px;
        }
        #wds_container1_6 #wds_container2_6 .wds_left_btn_cont,
        #wds_container1_6 #wds_container2_6 .wds_right_btn_cont {
          height: 30px;
          font-size: 30px;
          width: 30px;
        }
      }
              @media only screen and (min-width: 481px) and (max-width: 640px) {
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_thumbnails_6 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_6 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_6 #wds_container2_6 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_6 #wds_container2_6 .wds_left_btn_cont,
        #wds_container1_6 #wds_container2_6 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 641px) and (max-width: 768px) {
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_thumbnails_6 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_6 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_6 #wds_container2_6 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_6 #wds_container2_6 .wds_left_btn_cont,
        #wds_container1_6 #wds_container2_6 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 769px) and (max-width: 800px) {
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_thumbnails_6 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_6 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_6 #wds_container2_6 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_6 #wds_container2_6 .wds_left_btn_cont,
        #wds_container1_6 #wds_container2_6 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 801px) and (max-width: 1024px) {
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_thumbnails_6 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_6 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_6 #wds_container2_6 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_6 #wds_container2_6 .wds_left_btn_cont,
        #wds_container1_6 #wds_container2_6 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1025px) and (max-width: 1366px) {
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_thumbnails_6 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_6 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_6 #wds_container2_6 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_6 #wds_container2_6 .wds_left_btn_cont,
        #wds_container1_6 #wds_container2_6 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1367px) and (max-width: 1824px) {
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_thumbnails_6 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_6 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_6 #wds_container2_6 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_6 #wds_container2_6 .wds_left_btn_cont,
        #wds_container1_6 #wds_container2_6 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1825px) and (max-width: 3000px) {
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_thumbnails_6 {
          height: 26px;
          width: 130px;
        }
        #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_6 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_6 #wds_container2_6 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_6 #wds_container2_6 .wds_left_btn_cont,
        #wds_container1_6 #wds_container2_6 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
        
      #wds_container1_6 #wds_container2_6 .wds_slideshow_video_6 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        width: 100%;
        vertical-align: middle;
        display: inline-block;
      }
      #wds_container1_6 #wds_container2_6 #wds_slideshow_play_pause_6 {  
        color: #000000;
        cursor: pointer;
        position: relative;
        z-index: 13;
        width: inherit;
        height: inherit;
        font-size: inherit;
      }
      #wds_container1_6 #wds_container2_6 #wds_slideshow_play_pause_6:hover {  
        color: #000000;
        cursor: pointer;
      }
      #wds_container1_6 #wds_container2_6 .wds_left-ico_6,
      #wds_container1_6 #wds_container2_6 .wds_right-ico_6 {
        background-color: rgba(255, 255, 255, 0.00);
        border-radius: 20px;
        border: 0px none #FFFFFF;
        border-collapse: separate;
        color: #000000;
        left: 0;
        top: 0;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        cursor: pointer;
        line-height: 0;
        width: inherit;
        height: inherit;
        font-size: inherit;
        position: absolute;
      }
      #wds_container1_6 #wds_container2_6 .wds_left-ico_6 {
        left: -4000px;
      }
      #wds_container1_6 #wds_container2_6 .wds_right-ico_6 {
        left: 4000px;
      }
            #wds_container1_6 #wds_container2_6 #wds_slideshow_play_pause_6 {
        opacity: 0;
        filter: "Alpha(opacity=0)";
      }
      #wds_container1_6 #wds_container2_6 .wds_left-ico_6:hover,
      #wds_container1_6 #wds_container2_6 .wds_right-ico_6:hover {
        color: #000000;
        cursor: pointer;
      }

      /* Filmstrip*/
      #wds_container1_6 #wds_container2_6 .wds_slideshow_filmstrip_container_6 {
        background-color: #000000 !important;
        display: /*table*/block;
        height: 0px;
        position: absolute;
        width: 100%;
        z-index: 10105;
        none: 0;
        overflow: hidden;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_filmstrip_6 {
        overflow: hidden;
        position: absolute;
        width: 100%;
        width: 100%;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_filmstrip_thumbnails_6 {
        height: inherit;
        left: 0px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        width: 0px;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_filmstrip_thumbnail_6 {
        position: relative;
        background: none;
        cursor: pointer;
        float: left;
        height: inherit;
        margin: 0 0px;
        width: 0px;
        overflow: hidden;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_thumb_active_6 div {
        opacity: 1;
        filter: Alpha(opacity=100);
        border: 0px none #FFFFFF;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_thumb_deactive_6 {
        opacity: 0.50;
        filter: Alpha(opacity=50);
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_filmstrip_thumbnail_img_6 {
        display: block;
        opacity: 1;
        filter: Alpha(opacity=100);
        padding: 0 !important;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 0px;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_filmstrip_left_6,
      #wds_container1_6 #wds_container2_6 .wds_slideshow_filmstrip_right_6 {
        background-color: rgba(0, 0, 0, 0.5);
        cursor: pointer;
        display: table;
        vertical-align: middle;
        width: 20px;
        z-index: 10000;
        position: absolute;
        height: inherit; 
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_filmstrip_left_6 {
        left: 0;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_filmstrip_right_6 {
        right: 0;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_filmstrip_left_6 i,
      #wds_container1_6 #wds_container2_6 .wds_slideshow_filmstrip_right_6 i {
        color: #FFFFFF;
        display: table-cell;
        font-size: 20px;
        vertical-align: middle;
      }

      #wds_container1_6 #wds_container2_6 .wds_none_selectable_6 {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }
      #wds_container1_6 #wds_container2_6 .wds_slide_container_6 {
        display: table-cell;
        margin: 0 auto;
        position: absolute;
        vertical-align: middle;
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
      #wds_container1_6 #wds_container2_6 .wds_slide_bg_6 {
        margin: 0 auto;
        width: inherit;
        height: inherit;
      }
      #wds_container1_6 #wds_container2_6 .wds_slider_6 {
        height: inherit;
        width: inherit;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_image_spun_6 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=100);
        opacity: 1;
        position: absolute;
        vertical-align: middle;
        z-index: 2;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_image_second_spun_6 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=0);
        opacity: 0;
        position: absolute;
        vertical-align: middle;
        z-index: 1;
      }
      #wds_container1_6 #wds_container2_6 .wds_grid_6 {
        display: none;
        height: 100%;
        overflow: hidden;
        position: absolute;
        width: 100%;
      }
      #wds_container1_6 #wds_container2_6 .wds_gridlet_6 {
        opacity: 1;
        filter: Alpha(opacity=100);
        position: absolute;
      }

      /* Dots.*/
      #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_container_6 {
        display: block;
        overflow: hidden;
        position: absolute;
        width: 100%;
        none: 0px;
        /*z-index: 17;*/
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_thumbnails_6 {
        left: 0px;
        font-size: 0;
        margin: 0 auto;
        position: relative;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_6 {
        display: inline-block;
        position: relative;
        color: #FFFFFF;
        cursor: pointer;
        z-index: 17;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_active_6 {
        color: #FFFFFF;
        opacity: 1;
        filter: Alpha(opacity=100);
              }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_dots_deactive_6 {
              }

      /* Timer.*/
      #wds_container1_6 #wds_container2_6 .wds_line_timer_container_6 {
        display: block;
        position: absolute;
        overflow: hidden;
        none: 0;
        z-index: 16;
        width: 100%;
        height: 5px;
      }
      #wds_container1_6 #wds_container2_6 .wds_line_timer_6 {
        z-index: 17;
        width: 0;
        height: 5px;
        background: #FFFFFF;
        opacity: 0.50;
        filter: alpha(opacity=50);
      }

      #wds_container1_6 #wds_container2_6 .wds_slideshow_image_spun1_6 {
        display: table; 
        width: inherit; 
        height: inherit;
      }
      #wds_container1_6 #wds_container2_6 .wds_slideshow_image_spun2_6 {
        display: table-cell; 
        vertical-align: middle; 
        text-align: center;
        overflow: hidden;
      }
          </style>
    <script>
      var wds_data_6 = [];
      var wds_event_stack_6 = [];
      var wds_clear_layers_effects_in_6 = [];
      var wds_clear_layers_effects_out_6 = [];
      var wds_clear_layers_effects_out_before_change_6 = [];
      if (0) {
        var wds_duration_for_change_6 = 500;
        var wds_duration_for_clear_effects_6 = 530;
      }
      else {
        var wds_duration_for_change_6 = 0;
        var wds_duration_for_clear_effects_6 = 0;
      }
              wds_clear_layers_effects_in_6["0"] = [];
        wds_clear_layers_effects_out_6["0"] = [];
        wds_clear_layers_effects_out_before_change_6["0"] = [];
        wds_data_6["0"] = [];
        wds_data_6["0"]["id"] = "104";
        wds_data_6["0"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/shepherd banner \'16.jpg";
        wds_data_6["0"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/shepherd banner \'16.jpg";
        wds_data_6["0"]["is_video"] = "";
        wds_data_6["0"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_6["1"] = [];
        wds_clear_layers_effects_out_6["1"] = [];
        wds_clear_layers_effects_out_before_change_6["1"] = [];
        wds_data_6["1"] = [];
        wds_data_6["1"]["id"] = "105";
        wds_data_6["1"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//wallace-ad-use-this.gif";
        wds_data_6["1"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/wallace-ad-use-this.gif";
        wds_data_6["1"]["is_video"] = "";
        wds_data_6["1"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_6["2"] = [];
        wds_clear_layers_effects_out_6["2"] = [];
        wds_clear_layers_effects_out_before_change_6["2"] = [];
        wds_data_6["2"] = [];
        wds_data_6["2"]["id"] = "106";
        wds_data_6["2"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/G1.gif";
        wds_data_6["2"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/G1.gif";
        wds_data_6["2"]["is_video"] = "";
        wds_data_6["2"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_6["3"] = [];
        wds_clear_layers_effects_out_6["3"] = [];
        wds_clear_layers_effects_out_before_change_6["3"] = [];
        wds_data_6["3"] = [];
        wds_data_6["3"]["id"] = "135";
        wds_data_6["3"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/bannatyne.png";
        wds_data_6["3"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/bannatyne.png";
        wds_data_6["3"]["is_video"] = "";
        wds_data_6["3"]["slide_layers_count"] = 0;
                wds_clear_layers_effects_in_6["4"] = [];
        wds_clear_layers_effects_out_6["4"] = [];
        wds_clear_layers_effects_out_before_change_6["4"] = [];
        wds_data_6["4"] = [];
        wds_data_6["4"]["id"] = "136";
        wds_data_6["4"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/ayrshire_pipingpress \'17.png";
        wds_data_6["4"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/ayrshire_pipingpress \'17.png";
        wds_data_6["4"]["is_video"] = "";
        wds_data_6["4"]["slide_layers_count"] = 0;
            
    </script>
    <div id="wds_container1_6">
      <div class="wds_loading">
        <img src="https://pipingpress.com/wp-content/plugins/slider-wd/images/ajax_loader.png" class="wds_loading_img" style="float: none; width:50px;" />
      </div>
      <div id="wds_container2_6">
        <div class="wds_slideshow_image_wrap_6">
                    <div id="wds_slideshow_image_container_6" class="wds_slideshow_image_container_6">
                        <div class="wds_slide_container_6">
              <div class="wds_slide_bg_6">
                <div class="wds_slider_6">
                                  <span class="wds_slideshow_image_spun_6" id="image_id_6_104">
                    <span class="wds_slideshow_image_spun1_6">
                      <span class="wds_slideshow_image_spun2_6">
                                                <div img_id="wds_slideshow_image_6"
                             class="wds_slideshow_image_6"
                             onclick="window.open('http://www.shepherd-bagpipes.com', '_blank')"
                             style="cursor: pointer;background-image: url('http://pipingpress.com/wp-content/uploads/slider-wd/shepherd banner \'16.jpg');">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_6" id="image_id_6_105">
                    <span class="wds_slideshow_image_spun1_6">
                      <span class="wds_slideshow_image_spun2_6">
                                                <div img_id="wds_slideshow_image_second_6"
                             class="wds_slideshow_image_6"
                             onclick="window.open('http://www.wallacebagpipes.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_6" id="image_id_6_106">
                    <span class="wds_slideshow_image_spun1_6">
                      <span class="wds_slideshow_image_spun2_6">
                                                <div img_id="wds_slideshow_image_second_6"
                             class="wds_slideshow_image_6"
                             onclick="window.open('http://www.g1reeds.com', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_6" id="image_id_6_135">
                    <span class="wds_slideshow_image_spun1_6">
                      <span class="wds_slideshow_image_spun2_6">
                                                <div img_id="wds_slideshow_image_second_6"
                             class="wds_slideshow_image_6"
                             onclick="window.open('http://bannatyne.ltd.uk', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_6" id="image_id_6_136">
                    <span class="wds_slideshow_image_spun1_6">
                      <span class="wds_slideshow_image_spun2_6">
                                                <div img_id="wds_slideshow_image_second_6"
                             class="wds_slideshow_image_6"
                             onclick="window.open('http://ayrshirebagpipes.co.uk/index.php?route=product/category&amp;path=57', '_blank')"
                             style="cursor: pointer;">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                  <input type="hidden" id="wds_current_image_key_6" value="0" />
                </div>
              </div>
            </div>
                      </div>
                  </div>
      </div>
    </div>

    <script>
      var wds_trans_in_progress_6 = false;
      var wds_transition_duration_6 = 800;
      var wds_playInterval_6;
      var progress = 0;
      /* Stop autoplay.*/
      window.clearInterval(wds_playInterval_6);
      var wds_current_key_6 = '0';
      var wds_current_filmstrip_pos_6 = 0;
      /* Set filmstrip initial position.*/
      function wds_set_filmstrip_pos_6(filmStripWidth) {
        var selectedImagePos = -wds_current_filmstrip_pos_6 - (jQuery(".wds_slideshow_filmstrip_thumbnail_6").width() + 0) / 2;
        var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".wds_slideshow_filmstrip_thumbnails_6").width(), selectedImagePos + filmStripWidth / 2));
        jQuery(".wds_slideshow_filmstrip_thumbnails_6").animate({
            left: imagesContainerLeft
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_6(); }
          });
      }
      function wds_move_filmstrip_6() {
        var image_left = jQuery(".wds_slideshow_thumb_active_6").position().left;
        var image_right = jQuery(".wds_slideshow_thumb_active_6").position().left + jQuery(".wds_slideshow_thumb_active_6").outerWidth(true);
        var wds_filmstrip_width = jQuery(".wds_slideshow_filmstrip_6").outerWidth(true);
        var wds_filmstrip_thumbnails_width = jQuery(".wds_slideshow_filmstrip_thumbnails_6").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_filmstrip_thumbnails_6").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_filmstrip_thumbnails_6").position().left) + wds_filmstrip_width;
        if (wds_filmstrip_width > wds_filmstrip_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_6").animate({
            left: -image_left
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_6(); }
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_6").animate({
            left: -(image_right - wds_filmstrip_width)
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_6(); }
          });
        }
      }
      function wds_move_dots_6() {
        var image_left = jQuery(".wds_slideshow_dots_active_6").position().left;
        var image_right = jQuery(".wds_slideshow_dots_active_6").position().left + jQuery(".wds_slideshow_dots_active_6").outerWidth(true);
        var wds_dots_width = jQuery(".wds_slideshow_dots_container_6").outerWidth(true);
        var wds_dots_thumbnails_width = jQuery(".wds_slideshow_dots_thumbnails_6").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_dots_thumbnails_6").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_dots_thumbnails_6").position().left) + wds_dots_width;
        if (wds_dots_width > wds_dots_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_dots_thumbnails_6").animate({
            left: -image_left
          }, {
            duration: 500
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_dots_thumbnails_6").animate({
            left: -(image_right - wds_dots_width)
          }, {
            duration: 500
          });
        }
      }
      /* Show/hide filmstrip arrows.*/
      function wds_filmstrip_arrows_6() {
        if (jQuery(".wds_slideshow_filmstrip_thumbnails_6").width() < jQuery(".wds_slideshow_filmstrip_6").width()) {
          jQuery(".wds_slideshow_filmstrip_left_6").hide();
          jQuery(".wds_slideshow_filmstrip_right_6").hide();
        }
        else {
          jQuery(".wds_slideshow_filmstrip_left_6").show();
          jQuery(".wds_slideshow_filmstrip_right_6").show();
        }
      }
      function wds_testBrowser_cssTransitions_6() {
        return wds_testDom_6('Transition');
      }
      function wds_testBrowser_cssTransforms3d_6() {
        return wds_testDom_6('Perspective');
      }
      function wds_testDom_6(prop) {
        /* Browser vendor CSS prefixes.*/
        var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-'];
        /* Browser vendor DOM prefixes.*/
        var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml'];
        var i = domPrefixes.length;
        while (i--) {
          if (typeof document.body.style[domPrefixes[i] + prop] !== 'undefined') {
            return true;
          }
        }
        return false;
      }
      function wds_set_dots_class_6() {
        jQuery(".wds_slideshow_dots_6").removeClass("wds_slideshow_dots_active_6").addClass("wds_slideshow_dots_deactive_6");
        jQuery("#wds_dots_" + wds_current_key_6 + "_6").removeClass("wds_slideshow_dots_deactive_6").addClass("wds_slideshow_dots_active_6");
                jQuery(".wds_slideshow_dots_6").removeClass("fa-square").addClass("fa-square-o");
        jQuery("#wds_dots_" + wds_current_key_6 + "_6").removeClass("fa-square-o").addClass("fa-square");
              }
      function wds_grid3d_6(cols, rows, tz, wrx, wry, nty, ntx, nry, nrx, current_image_class, next_image_class, direction, random, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_6()) {
          return wds_fallback_6(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_6 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_6").removeClass("wds_slideshow_thumb_active_6").addClass("wds_slideshow_thumb_deactive_6");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_6 + "_6").removeClass("wds_slideshow_thumb_deactive_6").addClass("wds_slideshow_thumb_active_6");
        wds_set_dots_class_6();

        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_6) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, src2, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;

          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_6" />').css({
            width : "100%",
            height : "100%",
            transform : 'translateZ(' + tz + 'px)',
            backfaceVisibility : 'hidden',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_6" />').css({
            width : jQuery(".wds_slideshow_image_spun_6").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_6").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_6").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_6").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_6").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          var grid_div2 = jQuery('<div class="wds_gridlet_6" />').css({
            width : "100%",
            height : "100%",
            backfaceVisibility : 'hidden',
            transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_6" />').css({
            width : jQuery(".wds_slideshow_image_spun_6").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_6").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src2,
            backgroundSize: jQuery(".wds_slideshow_image_6").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_6").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_6").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          return jQuery('<div class="wds_gridlet_6" />').css({
            width : width,
            height : height,
            top : top,
            left : left,
            transition : 'all ' + wds_transition_duration_6 + 'ms ' + easing + ' ' + delay + 'ms',
            transform: 'translateZ(-' + tz + 'px)',
            transformStyle: 'preserve-3d',
          }).append(grid_div).append(grid_div2);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        var next_img = jQuery(next_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_6').css('perspective', 1000);
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_6");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),
            imgSrcNext = next_img.css('background-image'),
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_6").width() - cur_img.width()) / 2;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_6").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgSrcNext, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);        
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 1);
        /* After transition.*/
         var cccount = 0;
         var obshicccount = cols * rows;
         grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
         function wds_after_trans_each() {
           if (++cccount == obshicccount) {
             wds_after_trans();
           }
         }
         function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_6 = false;
          if (typeof wds_event_stack_6 !== 'undefined') {
            if (wds_event_stack_6.length > 0) {
              key = wds_event_stack_6[0].split("-");
              wds_event_stack_6.shift();
              wds_change_image_6(key[0], key[1], wds_data_6, true);
            }
          }
        }
      }
      function wds_slic3DH_6(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_6(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_6(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_slic3DV_6(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_6(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_6(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      
      function wds_slicR3DH_6(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_6(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_6(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_slicR3DV_6(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_6(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_6(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_parallelSlide_6(ni_left, ni_top, tx, ty, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_6()) {
          return wds_fallback_6(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_6()) {
          return wds_fallback3d_6(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_6 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_6").removeClass("wds_slideshow_thumb_active_6").addClass("wds_slideshow_thumb_deactive_6");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_6 + "_6").removeClass("wds_slideshow_thumb_deactive_6").addClass("wds_slideshow_thumb_active_6");
        wds_set_dots_class_6();
        jQuery(current_image_class).css({
          position : 'absolute',
          top : '0px',
          left : '0px',
          position : 'absolute',
        });
        jQuery(next_image_class).css({
          position : 'absolute',
          top : ni_top + 'px',
          left : ni_left + 'px',
          'opacity' : 1, 
          filter : 'Alpha(opacity=100)',
          position : 'absolute',
        });
        jQuery(".wds_slider_6").css({
          position : 'relative',
          'backface-visibility': 'hidden'
        });
        jQuery(".wds_slide_bg_6").css({
          overflow : 'hidden',
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery('.wds_slider_6').css({
            transition : 'all ' + wds_transition_duration_6 + 'ms ' + easing,
            transform : 'translateX(' + tx + 'px) translateY(' + ty + 'px)',
          });
        }, 1);
        /* After transition.*/
        jQuery('.wds_slider_6').one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_6").removeAttr('style');
          jQuery(".wds_slide_bg_6").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_6 = false;
          if (typeof wds_event_stack_6 !== 'undefined') {
            if (wds_event_stack_6.length > 0) {
              key = wds_event_stack_6[0].split("-");
              wds_event_stack_6.shift();
              wds_change_image_6(key[0], key[1], wds_data_6, true);
            }
          }
        }
      }
      function wds_parallelSlideH_6(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_6(width, 0, -width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_6(-width, 0, width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_parallelSlideV_6(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_6(0, height, 0, -height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_6(0, -height, 0, height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_cube_6(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_6()) {
          return wds_fallback_6(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_6()) {
          return wds_fallback3d_6(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_6 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_6").removeClass("wds_slideshow_thumb_active_6").addClass("wds_slideshow_thumb_deactive_6");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_6 + "_6").removeClass("wds_slideshow_thumb_deactive_6").addClass("wds_slideshow_thumb_active_6");
        wds_set_dots_class_6();

        jQuery(".wds_slide_container_6").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_spun2_6").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_wrap_6").css('overflow', 'visible');
        var filmstrip_position = 'none';
        if (filmstrip_position == 'none') {
          jQuery(".wds_slideshow_image_6").css('border-radius', jQuery(".wds_slideshow_image_wrap_6").css('border-radius'));
        }
        else {
          jQuery(".wds_slideshow_image_6").css('border-radius', '');
          jQuery(".wds_slideshow_filmstrip_container_6").css('border-radius', '');
          if (filmstrip_position == 'top') {
            jQuery(".wds_slideshow_image_6").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_image_6").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_6").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_6").css('border-bottom-right-radius', 0);
          }
          else if (filmstrip_position == 'bottom') {
            jQuery(".wds_slideshow_image_6").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_6").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_6").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_6").css('border-top-right-radius', 0);
          }
          else if (filmstrip_position == 'right') {
            jQuery(".wds_slideshow_image_6").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_image_6").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_6").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_6").css('border-top-left-radius', 0);
          }
          else if (filmstrip_position == 'left') {
            jQuery(".wds_slideshow_image_6").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_6").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_6").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_6").css('border-top-right-radius', 0);
          }
        }

        jQuery(".wds_slide_bg_6").css('perspective', 1000);
        jQuery(current_image_class).css({
          transform : 'translateZ(' + tz + 'px)',
          backfaceVisibility : 'hidden'
        });
        jQuery(next_image_class).css({
          opacity : 1,
          filter: 'Alpha(opacity=100)',
          zIndex: 2,
          backfaceVisibility : 'hidden',
          transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)'
        });
        jQuery(".wds_slider_6").css({
          transform: 'translateZ(-' + tz + 'px)',
          transformStyle: 'preserve-3d',
          position: 'absolute'
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery(".wds_slider_6").css({
            transition: 'all ' + wds_transition_duration_6 + 'ms ' + easing,
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 20);
        /* After transition.*/
        jQuery(".wds_slider_6").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_6").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_6 = false;
          if (typeof wds_event_stack_6 !== 'undefined') {
            if (wds_event_stack_6.length > 0) {
              key = wds_event_stack_6[0].split("-");
              wds_event_stack_6.shift();
              wds_change_image_6(key[0], key[1], wds_data_6, true);
            }
          }
          jQuery(".wds_slide_container_6").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_spun2_6").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_wrap_6").css('overflow', 'hidden');
        }
      }
      function wds_cubeR_6(current_image_class, next_image_class, direction) {
        var random_direction = Math.floor(Math.random() * 2);
        var dimension = random_direction ? jQuery(current_image_class).height() / 2 : jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
         if (random_direction) {
           wds_cube_6(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_6(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
        else if (direction == 'left') {
         if (random_direction) {
           wds_cube_6(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_6(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
      }
      function wds_cubeH_6(current_image_class, next_image_class, direction) {
        /* Set to half of image width.*/
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_cube_6(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_6(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_cubeV_6(current_image_class, next_image_class, direction) {
        /* Set to half of image height.*/
        var dimension = jQuery(current_image_class).height() / 2;
        /* If next slide.*/
        if (direction == 'right') {
          wds_cube_6(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_6(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      /* For browsers that does not support transitions.*/
      function wds_fallback_6(current_image_class, next_image_class, direction) {
        wds_fade_6(current_image_class, next_image_class, direction);
      }
      /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
      function wds_fallback3d_6(current_image_class, next_image_class, direction) {
        wds_sliceV_6(current_image_class, next_image_class, direction);
      }
      function wds_none_6(current_image_class, next_image_class, direction) {
        jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
        jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_6").removeClass("wds_slideshow_thumb_active_6").addClass("wds_slideshow_thumb_deactive_6");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_6 + "_6").removeClass("wds_slideshow_thumb_deactive_6").addClass("wds_slideshow_thumb_active_6");
        wds_set_dots_class_6();
      }
      function wds_fade_6(current_image_class, next_image_class, direction) {
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_6").removeClass("wds_slideshow_thumb_active_6").addClass("wds_slideshow_thumb_deactive_6");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_6 + "_6").removeClass("wds_slideshow_thumb_deactive_6").addClass("wds_slideshow_thumb_active_6");
        wds_set_dots_class_6();
        if (wds_testBrowser_cssTransitions_6()) {
          jQuery(next_image_class).css('transition', 'opacity ' + wds_transition_duration_6 + 'ms linear');
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        }
        else {
          jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, wds_transition_duration_6);
          jQuery(next_image_class).animate({
              'opacity' : 1,
              'z-index': 2
            }, {
              duration: wds_transition_duration_6,
              complete: function () {  }
            });
          /* For IE.*/
          jQuery(current_image_class).fadeTo(wds_transition_duration_6, 0);
          jQuery(next_image_class).fadeTo(wds_transition_duration_6, 1);
        }
      }
      function wds_grid_6(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction, random, roy, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_6()) {
          return wds_fallback_6(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_6 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_6").removeClass("wds_slideshow_thumb_active_6").addClass("wds_slideshow_thumb_deactive_6");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_6 + "_6").removeClass("wds_slideshow_thumb_deactive_6").addClass("wds_slideshow_thumb_active_6");
        wds_set_dots_class_6();
        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_6) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;
          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_6" />').css({
            width : imgWidth,/*"100%"*/
            height : jQuery(".wds_slideshow_image_spun_6").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_6").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_6").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_6").css("background-color"),*/
            backgroundRepeat: 'no-repeat'
          });
          return jQuery('<div class="wds_gridlet_6" />').css({
            width : width,/*"100%"*/
            height : height,
            top : top,
            left : left,
            backgroundSize : imgWidth + 'px ' + imgHeight + 'px',
            backgroundPosition : img_left + 'px ' + img_top + 'px',
            backgroundRepeat: 'no-repeat',
            overflow: "hidden",
            transition : 'all ' + wds_transition_duration_6 + 'ms ' + easing + ' ' + delay + 'ms',
            transform : 'none'
          }).append(grid_div);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_6');
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_6");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),/*.replace('/thumb', ''),*/
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_6").width() - cur_img.width()) / 2;
        /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/
        tx = tx === 'auto' ? contWidth : tx;
        tx = tx === 'min-auto' ? - contWidth : tx;
        ty = ty === 'auto' ? contHeight : ty;
        ty = ty === 'min-auto' ? - contHeight : ty;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_6").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);
        /* Add identifying classes to corner gridlets (useful if applying border radius).*/
        grid.children().first().addClass('rs-top-left');
        grid.children().last().addClass('rs-bottom-right');
        grid.children().eq(rows - 1).addClass('rs-bottom-left');
        grid.children().eq(- rows).addClass('rs-top-right');
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            opacity: op,
            transform: 'rotate('+ ro +'deg) rotateY('+ roy +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')'
          });
        }, 1);
        jQuery(next_image_class).css('opacity', 1);
        /* After transition.*/
        var cccount = 0;
        var obshicccount = cols * rows;
        grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
        function wds_after_trans_each() {
         if (++cccount == obshicccount) {
           wds_after_trans();
         }
        }
        function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_6 = false;
          if (typeof wds_event_stack_6 !== 'undefined') {
            if (wds_event_stack_6.length > 0) {
              key = wds_event_stack_6[0].split("-");
              wds_event_stack_6.shift();
              wds_change_image_6(key[0], key[1], wds_data_6, true);
            }
          }
        }
      }
      function wds_sliceH_6(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_6(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_sliceV_6(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'min-auto';
        }
        else if (direction == 'left') {
          var translateY = 'auto';
        }
        wds_grid_6(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_slideV_6(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'auto';
        }
        else if (direction == 'left') {
          var translateY = 'min-auto';
        }
        wds_grid_6(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_slideH_6(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_6(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_scaleOut_6(current_image_class, next_image_class, direction) {
        wds_grid_6(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_scaleIn_6(current_image_class, next_image_class, direction) {
        wds_grid_6(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScale_6(current_image_class, next_image_class, direction) {
        wds_grid_6(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScaleR_6(current_image_class, next_image_class, direction) {
        wds_grid_6(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 1, 0, 'ease-in-out');
      }
      function wds_blindR_6(current_image_class, next_image_class, direction) {
        wds_grid_6(8, 1, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_tilesR_6(current_image_class, next_image_class, direction) {
        wds_grid_6(8, 8, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_kaleidoscope_6(current_image_class, next_image_class, direction) {
        wds_grid_6(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_fan_6(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var rotate = 45;
          var translateX = 100;
        }
        else if (direction == 'left') {
          var rotate = -45;
          var translateX = -100;
        }
        wds_grid_6(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindV_6(current_image_class, next_image_class, direction) {
        wds_grid_6(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindH_6(current_image_class, next_image_class, direction) {
        wds_grid_6(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_random_6(current_image_class, next_image_class, direction) {
        var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV', 'parallelSlideH', 'parallelSlideV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_6"](current_image_class, next_image_class, direction);
      }
      function wds_3Drandom_6(current_image_class, next_image_class, direction) {
        var anims = ['cubeH', 'cubeV', 'cubeR', 'slic3DH', 'slic3DV', 'slicR3DH', 'slicR3DV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_6"](current_image_class, next_image_class, direction);
      }
      function iterator_6() {
        var iterator = 1;
        if (1) {
          iterator = Math.floor((wds_data_6.length - 1) * Math.random() + 1);
        }
        return iterator;
      }
      function wds_change_image_6(current_key, key, wds_data_6, from_effect) {
                /* Pause videos.*/
        jQuery("#wds_slideshow_image_container_6").find("iframe").each(function () {
          jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
          jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*");
        });
        if (wds_data_6[key]) {
          if (jQuery('.wds_ctrl_btn_6').hasClass('fa-pause') || ('1')) {
            play_6();
          }
          if (!from_effect) {
            /* Change image key.*/
            jQuery("#wds_current_image_key_6").val(key);
            if (current_key == '-1') { /* Filmstrip.*/
              current_key = jQuery(".wds_slideshow_thumb_active_6").children("img").attr("image_key");
            }
            else if (current_key == '-2') { /* Dots.*/
              current_key = jQuery(".wds_slideshow_dots_active_6").attr("image_key");
            }
          }
          if (wds_trans_in_progress_6) {
            wds_event_stack_6.push(current_key + '-' + key);
            return;
          }
          var direction = 'right';
          if (wds_current_key_6 > key) {
            var direction = 'left';
          }
          else if (wds_current_key_6 == key) {
            return;
          }
          /* Set active thumbnail position.*/
          wds_current_filmstrip_pos_6 = key * (jQuery(".wds_slideshow_filmstrip_thumbnail_6").width() + 2 + 2 * 0);
          wds_current_key_6 = key;
          /* Change image id.*/
          jQuery("div[img_id=wds_slideshow_image_6]").attr('image_id', wds_data_6[key]["id"]);
          var current_image_class = "#image_id_6_" + wds_data_6[current_key]["id"];
          var next_image_class = "#image_id_6_" + wds_data_6[key]["id"];
                    if (!wds_data_6[key]["is_video"]) {
            jQuery(next_image_class).find("div").css("background-image", 'url("' + wds_data_6[key]["image_url"] + '")');
          }
                    var current_slide_layers_count = wds_data_6[current_key]["slide_layers_count"];
          var next_slide_layers_count = wds_data_6[key]["slide_layers_count"];

          /* Clear layers before image change.*/
          function set_layer_effect_out_before_change(m) {
            wds_clear_layers_effects_out_before_change_6[current_key][m] = setTimeout(function() {
              if (wds_data_6[current_key]["layer_" + m + "_type"] != 'social') {
                jQuery('#wds_6_slide' + wds_data_6[current_key]["id"] + '_layer' + wds_data_6[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_6_slide' + wds_data_6[current_key]["id"] + '_layer' + wds_data_6[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_6[current_key]["layer_" + m + "_layer_effect_out"] + ' animated');
              }
              else {
                jQuery('#wds_6_slide' + wds_data_6[current_key]["id"] + '_layer' + wds_data_6[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_6_slide' + wds_data_6[current_key]["id"] + '_layer' + wds_data_6[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_6[current_key]["layer_" + m + "_layer_effect_out"] + ' fa fa-' + wds_data_6[current_key]["layer_" + m + "_social_button"] + ' animated');
              }
            }, 10);
          }
          if (0) {
            for (var m = 0; m < current_slide_layers_count; m++) {
              if (jQuery('#wds_6_slide' + wds_data_6[current_key]["id"] + '_layer' + wds_data_6[current_key]["layer_" + m + "_id"]).css('opacity') != 0) {
                set_layer_effect_out_before_change(m);
              }
            }
          }
          /* Loop through current slide layers for clear effects.*/
          setTimeout(function() {
            for (var k = 0; k < current_slide_layers_count; k++) {
              clearTimeout(wds_clear_layers_effects_in_6[current_key][k]);
              clearTimeout(wds_clear_layers_effects_out_6[current_key][k]);
              if (wds_data_6[current_key]["layer_" + k + "_type"] != 'social') {
                jQuery('#wds_6_slide' + wds_data_6[current_key]["id"] + '_layer' + wds_data_6[current_key]["layer_" + k + "_id"]).removeClass().addClass('wds_layer_'+ wds_data_6[current_key]["layer_" + k + "_id"]);
              }
              else {
                jQuery('#wds_6_slide' + wds_data_6[current_key]["id"] + '_layer' + wds_data_6[current_key]["layer_" + k + "_id"]).removeClass().addClass('fa fa-' + wds_data_6[current_key]["layer_" + k + "_social_button"] + ' wds_layer_' + wds_data_6[current_key]["layer_" + k + "_id"]);
              }
            }
          }, wds_duration_for_clear_effects_6);
          /* Effects out part.*/
          function set_layer_effect_out(i) {
            wds_clear_layers_effects_out_6[key][i] = setTimeout(function() {
              if (wds_data_6[key]["layer_" + i + "_layer_effect_out"] != 'none') {
                if (wds_data_6[key]["layer_" + i + "_type"] != 'social') {	
                  jQuery('#wds_6_slide' + wds_data_6[key]["id"] + '_layer' + wds_data_6[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_6[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_6[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
                  jQuery('#wds_6_slide' + wds_data_6[key]["id"] + '_layer' + wds_data_6[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_6[key]["layer_" + i + "_layer_effect_out"] + ' animated');
                }
                else {
                  jQuery('#wds_6_slide' + wds_data_6[key]["id"] + '_layer' + wds_data_6[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_6[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_6[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
                  jQuery('#wds_6_slide' + wds_data_6[key]["id"] + '_layer' + wds_data_6[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_6[key]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_6[key]["layer_" + i + "_social_button"] + ' animated');
                }
              }
            }, wds_data_6[key]["layer_" + i + "_end"]);
          }
          /* Effects in part.*/
          function set_layer_effect_in(j) {
            wds_clear_layers_effects_in_6[key][j] = setTimeout(function() {
              if (wds_data_6[key]["layer_" + j + "_type"] != 'social') {
                jQuery('#wds_6_slide' + wds_data_6[key]["id"] + '_layer' + wds_data_6[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_6[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_6[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
                jQuery('#wds_6_slide' + wds_data_6[key]["id"] + '_layer' + wds_data_6[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_6[key]["layer_" + j + "_layer_effect_in"] + ' animated');
              }
              else {
                jQuery('#wds_6_slide' + wds_data_6[key]["id"] + '_layer' + wds_data_6[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_6[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_6[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');
                jQuery('#wds_6_slide' + wds_data_6[key]["id"] + '_layer' + wds_data_6[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_6[key]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_6[key]["layer_" + j + "_social_button"] + ' animated');
              }
            }, wds_data_6[key]["layer_" + j + "_start"]);
          }
          /* Loop through layers in.*/
          for (var j = 0; j < next_slide_layers_count; j++) {
            set_layer_effect_in(j);
          }
          /* Loop through layers out if pause button not pressed.*/
          if (jQuery(".wds_ctrl_btn_6").hasClass("fa-pause")) {
            for (var i = 0; i < next_slide_layers_count; i++) {
              set_layer_effect_out(i);
            }
          }
          setTimeout(function() {
            if (typeof jQuery().finish !== 'undefined') {
              if (jQuery.isFunction(jQuery().finish)) {
                jQuery(".wds_line_timer_6").finish();
              }
            }
            jQuery(".wds_line_timer_6").css({width: 0});
            wds_random_6(current_image_class, next_image_class, direction);
            if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_6').hasClass('fa-pause'))) {
              if (!jQuery(".wds_ctrl_btn_6").hasClass("fa-play")) {
                jQuery(".wds_line_timer_6").animate({
                  width: "100%"
                }, {
                  duration: 5000,
                  specialEasing: {width: "linear"}
                });
              }
              
            }
                        if (wds_data_6[key]["is_video"]) {
              jQuery("#wds_slideshow_play_pause_6").css({display: 'none'});
            }
            else {
              jQuery("#wds_slideshow_play_pause_6").css({display: ''});
            }
          }, wds_duration_for_change_6);
        }
      }
      function wds_resize_slider_6() {
        var slide_orig_width = 800;
        var slide_orig_height = 300;
        var slide_width = jQuery("#wds_container1_6").parent().width();
        if (slide_orig_width <= slide_width) {
          slide_width = slide_orig_width;
        }
        var ratio = slide_width / slide_orig_width;

                var slide_height = slide_orig_height;
        if (slide_orig_width > slide_width) {
          slide_height = Math.floor(slide_width * slide_orig_height / slide_orig_width);
        }

        jQuery(".wds_slideshow_image_wrap_6, #wds_container2_6").height(slide_height + 0);
        jQuery(".wds_slideshow_image_container_6").height(slide_height);
        jQuery(".wds_slideshow_image_6").height(slide_height);
        jQuery(".wds_slideshow_video_6").height(slide_height);
        jQuery(".wds_slideshow_image_6 img").each(function () {
          var wds_theImage = new Image();
          wds_theImage.src = jQuery(this).attr("src");
          var wds_origWidth = wds_theImage.width;
          var wds_origHeight = wds_theImage.height;
          var wds_imageWidth = jQuery(this).attr("wds_image_width");
          var wds_imageHeight = jQuery(this).attr("wds_image_height");
          var wds_width = wds_imageWidth;
          if (wds_origWidth <= wds_imageWidth) {
            wds_width = wds_origWidth;
          }
          var wds_height = wds_imageHeight;
          if (wds_origHeight <= wds_imageHeight) {
            wds_height = wds_origHeight;
          }
          jQuery(this).css({
            maxWidth: (parseFloat(wds_imageWidth) * ratio) + "px",
            maxHeight: (parseFloat(wds_imageHeight) * ratio) + "px",
          });
          if (jQuery(this).attr("wds_scale") != "on") {
            jQuery(this).css({
              width: (parseFloat(wds_imageWidth) * ratio) + "px",
              height: (parseFloat(wds_imageHeight) * ratio) + "px"
            });
          }
          else if (wds_origWidth <= wds_imageWidth || wds_origHeight <= wds_imageHeight) {
            if (wds_origWidth / wds_imageWidth > wds_origHeight / wds_imageHeight) {
              jQuery(this).css({
                width: (parseFloat(wds_imageWidth) * ratio) + "px"
              });
            }
            else {
              jQuery(this).css({
                height: (parseFloat(wds_imageHeight) * ratio) + "px"
              });
            }
          }

        });
        jQuery(".wds_slideshow_image_6 span, .wds_slideshow_image_6 i").each(function () {
          jQuery(this).css({
            fontSize: (parseFloat(jQuery(this).attr("wds_fsize")) * ratio) + "px",
            lineHeight: "1.25em",
            paddingLeft: (parseFloat(jQuery(this).attr("wds_fpaddingl")) * ratio) + "px",
            paddingRight: (parseFloat(jQuery(this).attr("wds_fpaddingr")) * ratio) + "px",
            paddingTop: (parseFloat(jQuery(this).attr("wds_fpaddingt")) * ratio) + "px",
            paddingBottom: (parseFloat(jQuery(this).attr("wds_fpaddingb")) * ratio) + "px",
          })
        });
      }
      function wds_genBgPos_6() {
        var bgSizeArray = [0, 70];
        var bgSize = bgSizeArray[Math.floor(Math.random() * bgSizeArray.length)];
        
        var bgPosXArray = ['left', 'right'];
        var bgPosYArray = ['top', 'bottom'];
        var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];
        var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];
        jQuery(".wds_slideshow_image_6").css({
          backgroundPosition: bgPosX + " " + bgPosY,
          backgroundSize : (100 + bgSize) + "%",
          webkitAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize,
          mozAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize,
          animation: '5s linear 0s alternate infinite wdszoom' + bgSize
        });
      }
      jQuery(window).resize(function () {
        wds_resize_slider_6();
      });
      function wds_full_width_6() {
        var left = jQuery("#wds_container1_6").offset().left;
        jQuery(".wds_slideshow_image_wrap_6").css({
          left: (-left + 0) + "px",
          width: (jQuery(window).width() - 0) + "px",
          maxWidth: "none"
        });
      }
      jQuery(window).load(function () {
                jQuery("#wds_container1_6").mouseover(function(e) {
          wds_stop_animation_6();
        });
        jQuery("#wds_container1_6").mouseout(function(e) {
          if (!e) {
            var e = window.event;
          }
          var reltg = (e.relatedTarget) ? e.relatedTarget : e.toElement;
          while (reltg.tagName != 'BODY') {
            if (reltg.id == this.id){
              return;
            }
            reltg = reltg.parentNode;
          }
          wds_play_animation_6();
        });
                jQuery(".wds_slideshow_image_6 span, .wds_slideshow_image_6 i").each(function () {
          jQuery(this).attr("wds_fpaddingl", jQuery(this).css("paddingLeft"));
          jQuery(this).attr("wds_fpaddingr", jQuery(this).css("paddingRight"));
          jQuery(this).attr("wds_fpaddingt", jQuery(this).css("paddingTop"));
          jQuery(this).attr("wds_fpaddingb", jQuery(this).css("paddingBottom"));
        });
        if (4000) {
          jQuery("#wds_container2_6").hover(function () {
            jQuery(".wds_right-ico_6").animate({left: 0}, 700, "swing");
            jQuery(".wds_left-ico_6").animate({left: 0}, 700, "swing");
            jQuery("#wds_slideshow_play_pause_6").animate({opacity: 1, filter: "Alpha(opacity=100)"}, 700, "swing");
          }, function () {
            jQuery(".wds_right-ico_6").css({left: 4000});
            jQuery(".wds_left-ico_6").css({left: -4000});
            jQuery("#wds_slideshow_play_pause_6").css({opacity: 0, filter: "Alpha(opacity=0)"});
          });
        }

        wds_resize_slider_6();
        jQuery("#wds_container2_6").css({visibility: 'visible'});
        jQuery(".wds_loading").hide();

      	        if (typeof jQuery().swiperight !== 'undefined') {
          if (jQuery.isFunction(jQuery().swiperight)) {
            jQuery('#wds_container1_6').swiperight(function () {
              wds_change_image_6(parseInt(jQuery('#wds_current_image_key_6').val()), (parseInt(jQuery('#wds_current_image_key_6').val()) - iterator_6()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_6').val()) - iterator_6()) % wds_data_6.length : wds_data_6.length - 1, wds_data_6);
              return false;
            });
          }
        }
        if (typeof jQuery().swipeleft !== 'undefined') {
          if (jQuery.isFunction(jQuery().swipeleft)) {
            jQuery('#wds_container1_6').swipeleft(function () {
              wds_change_image_6(parseInt(jQuery('#wds_current_image_key_6').val()), (parseInt(jQuery('#wds_current_image_key_6').val()) + iterator_6()) % wds_data_6.length, wds_data_6);
              return false;
            });
          }
        }

        var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
        var wds_click = isMobile ? 'touchend' : 'click';

        var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */
        jQuery('.wds_slideshow_filmstrip_6').bind(mousewheelevt, function(e) {
          var evt = window.event || e; /* Equalize event object.*/
          evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/
          var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/
          if (delta > 0) {
            /* Scroll up.*/
            jQuery(".wds_slideshow_filmstrip_left_6").trigger("click");
          }
          else {
            /* Scroll down.*/
            jQuery(".wds_slideshow_filmstrip_right_6").trigger("click");
          }
          return false;
        });
        jQuery(".wds_slideshow_filmstrip_right_6").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_6" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_6").position().left >= -(jQuery(".wds_slideshow_filmstrip_thumbnails_6").width() - jQuery(".wds_slideshow_filmstrip_6").width())) {
            jQuery(".wds_slideshow_filmstrip_left_6").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_6").position().left < -(jQuery(".wds_slideshow_filmstrip_thumbnails_6").width() - jQuery(".wds_slideshow_filmstrip_6").width() - 0)) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_6").animate({left: -(jQuery(".wds_slideshow_filmstrip_thumbnails_6").width() - jQuery(".wds_slideshow_filmstrip_6").width())}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_6").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_6").position().left - 0)}, 500, 'linear');
            }
          }
          /* Disable right arrow.*/
          window.setTimeout(function() {
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_6").position().left == -(jQuery(".wds_slideshow_filmstrip_thumbnails_6").width() - jQuery(".wds_slideshow_filmstrip_6").width())) {
              jQuery(".wds_slideshow_filmstrip_right_6").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        jQuery(".wds_slideshow_filmstrip_left_6").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_6" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_6").position().left < 0) {
            jQuery(".wds_slideshow_filmstrip_right_6").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_6").position().left > - 0) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_6").animate({left: 0}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_6").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_6").position().left + 0)}, 500, 'linear');
            }
          }
          /* Disable left arrow.*/
          window.setTimeout(function(){
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_6").position().left == 0) {
              jQuery(".wds_slideshow_filmstrip_left_6").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        /* Set filmstrip initial position.*/
        wds_set_filmstrip_pos_6(jQuery(".wds_slideshow_filmstrip_6").width());
        /* Play/pause.*/
        jQuery("#wds_slideshow_play_pause_6").on(wds_click, function () {
          if (jQuery(".wds_ctrl_btn_6").hasClass("fa-play")) {
            /* Play.*/
            jQuery(".wds_slideshow_play_pause_6").attr("title", "Pause");
            jQuery(".wds_slideshow_play_pause_6").attr("class", "wds_ctrl_btn_6 wds_slideshow_play_pause_6 fa fa-pause");
            play_6();
            if (0) {
              document.getElementById("wds_audio_6").play();
            }
          }
          else {
            /* Pause.*/
            /* Pause layers out effect.*/
            var current_key = jQuery('#wds_current_image_key_6').val();
            var current_slide_layers_count = wds_data_6[current_key]["slide_layers_count"];
            setTimeout(function() {
              for (var k = 0; k < current_slide_layers_count; k++) {
                clearTimeout(wds_clear_layers_effects_out_6[current_key][k]);
              }
            }, wds_duration_for_clear_effects_6);

            window.clearInterval(wds_playInterval_6);
            jQuery(".wds_slideshow_play_pause_6").attr("title", "Play");
            jQuery(".wds_slideshow_play_pause_6").attr("class", "wds_ctrl_btn_6 wds_slideshow_play_pause_6 fa fa-play");
            if (0) {
              document.getElementById("wds_audio_6").pause();
            }
            if (typeof jQuery().stop !== 'undefined') {
              if (jQuery.isFunction(jQuery().stop)) {
                jQuery(".wds_line_timer_6").stop();
              }
            }
          }
        });
        if (1) {
          play_6();
          jQuery(".wds_slideshow_play_pause_6").attr("title", "Pause");
          jQuery(".wds_slideshow_play_pause_6").attr("class", "wds_ctrl_btn_6 wds_slideshow_play_pause_6 fa fa-pause");
          if (0) {
            document.getElementById("wds_audio_6").play();
          }
        }
                function wds_preload_6(preload_key) {
          jQuery("<img/>")
            .load(function() { if (preload_key < wds_data_6.length - 1) wds_preload_6(preload_key + 1); })
            .error(function() { if (preload_key < wds_data_6.length - 1) wds_preload_6(preload_key + 1); })
            .attr("src", (!wds_data_6[preload_key]["is_video"] ? wds_data_6[preload_key]["image_url"] : ""));
        }
        wds_preload_6(0);
                var first_slide_layers_count_6 = wds_data_6[0]["slide_layers_count"];
        if (first_slide_layers_count_6) {
          /* Loop through layers in.*/
          for (var j = 0; j < first_slide_layers_count_6; j++) {
            set_layer_effect_in_onload_6(j);
          }
          /* Loop through layers out.*/
          for (var i = 0; i < first_slide_layers_count_6; i++) {
            set_layer_effect_out_onload_6(i);
          }
        }
      });
	    function wds_stop_animation_6() {
        window.clearInterval(wds_playInterval_6);
        /* Pause layers out effect.*/
        var current_key = jQuery('#wds_current_image_key_6').val();
        var current_slide_layers_count = wds_data_6[current_key]["slide_layers_count"];			
        setTimeout(function() {
          for (var k = 0; k < current_slide_layers_count; k++) {
            clearTimeout(wds_clear_layers_effects_out_6[current_key][k]);
          }
        }, wds_duration_for_clear_effects_6);
        if (0) {
          document.getElementById("wds_audio_6").pause();
        }
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_6").stop();
          }
        }
			}
      function wds_play_animation_6() {
        if (jQuery(".wds_ctrl_btn_6").hasClass("fa-play")) {
          return;
        }
		    play_6();
        if (0) {
          document.getElementById("wds_audio_6").play();
        }	 
      }
      /* Effects in part.*/		
		  function set_layer_effect_in_onload_6(j) {
		    wds_clear_layers_effects_in_6[0][j] = setTimeout(function(){
          if (wds_data_6[0]["layer_" + j + "_type"] != 'social') {
            jQuery('#wds_6_slide' + wds_data_6[0]["id"] + '_layer' + wds_data_6[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_6[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_6[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
		        jQuery('#wds_6_slide' + wds_data_6[0]["id"] + '_layer' + wds_data_6[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_6[0]["layer_" + j + "_layer_effect_in"] + ' animated');
		      }
          else {
            jQuery('#wds_6_slide' + wds_data_6[0]["id"] + '_layer' + wds_data_6[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_6[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_6[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');	
            jQuery('#wds_6_slide' + wds_data_6[0]["id"] + '_layer' + wds_data_6[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_6[0]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_6[0]["layer_" + j + "_social_button"] + ' animated');
          }
		    }, wds_data_6[0]["layer_" + j + "_start"]);
		  }
      /* Effects out part.*/
		  function set_layer_effect_out_onload_6(i) {
			  wds_clear_layers_effects_out_6[0][i] = setTimeout(function() {
          if (wds_data_6[0]["layer_" + i + "_layer_effect_out"] != 'none') {
            if (wds_data_6[0]["layer_" + i + "_type"] != 'social') {
              jQuery('#wds_6_slide' + wds_data_6[0]["id"] + '_layer' + wds_data_6[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_6[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_6[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
              jQuery('#wds_6_slide' + wds_data_6[0]["id"] + '_layer' + wds_data_6[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_6[0]["layer_" + i + "_layer_effect_out"] + ' animated');
            }
            else {
              jQuery('#wds_6_slide' + wds_data_6[0]["id"] + '_layer' + wds_data_6[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_6[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_6[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
              jQuery('#wds_6_slide' + wds_data_6[0]["id"] + '_layer' + wds_data_6[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_6[0]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_6[0]["layer_" + i + "_social_button"] + ' animated');
            }
          }
		    }, wds_data_6[0]["layer_" + i + "_end"]);
		  }
      function play_6() {
        if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_6').hasClass('fa-pause'))) {
          jQuery(".wds_line_timer_6").animate({
            width: "100%"
          }, {
            duration: 5000,
            specialEasing: {width: "linear"}
          });
        }
        window.clearInterval(wds_playInterval_6);
        /* Play.*/
        wds_playInterval_6 = setInterval(function () {
          var iterator = 1;
          if (1) {
            iterator = Math.floor((wds_data_6.length - 1) * Math.random() + 1);
          }
          wds_change_image_6(parseInt(jQuery('#wds_current_image_key_6').val()), (parseInt(jQuery('#wds_current_image_key_6').val()) + iterator) % wds_data_6.length, wds_data_6)
        }, '5000');
      }
      jQuery(window).focus(function() {
        if (!jQuery(".wds_ctrl_btn_6").hasClass("fa-play")) {
          if (1) {
            play_6();
          }
        }
        var i_6 = 0;
        jQuery(".wds_slider_6").children("span").each(function () {
          if (jQuery(this).css('opacity') == 1) {
            jQuery("#wds_current_image_key_6").val(i_6);
          }
          i_6++;
        });
      });
      jQuery(window).blur(function() {
        wds_event_stack_6 = [];
        window.clearInterval(wds_playInterval_6);
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_6").stop();
          }
        }
      });
    </script>
    </aside><aside id="text-7" class="widget widget_text"><h1 class="widget-title">Enjoy the latest edition of the RSPBA&#8217;s official magazine</h1>			<div class="textwidget"><p><iframe style="border: 1px solid #777;" src="https://indd.adobe.com/embed/11fb2471-e741-4a8e-8a30-3eefc18ee1da?startpage=1&#038;allowFullscreen=true" width="525px" height="371px" frameborder="0" allowfullscreen=""></iframe></p>
</div>
		</aside></div><!-- #content-sidebar -->
<div id="secondary">
		<h2 class="site-description">pipingpress.com is a not for profit web magazine with news, views and info from the piping and pipe band world; email your news to pipingpress@gmail.com or text 07957818672; Editor: Robert Wallace; all opinions expressed are those of the writer.</h2>
	
	
		<div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary">
		<aside id="search-6" class="widget widget_search"><form role="search" method="get" class="search-form" action="https://pipingpress.com/">
				<label>
					<span class="screen-reader-text">Search for:</span>
					<input type="search" class="search-field" placeholder="Search &hellip;" value="" name="s" />
				</label>
				<input type="submit" class="search-submit" value="Search" />
			</form></aside><aside id="archives-5" class="widget widget_archive"><h1 class="widget-title">Archives</h1>		<label class="screen-reader-text" for="archives-dropdown-5">Archives</label>
		<select id="archives-dropdown-5" name="archive-dropdown" onchange='document.location.href=this.options[this.selectedIndex].value;'>
			
			<option value="">Select Month</option>
				<option value='https://pipingpress.com/2018/02/'> February 2018 &nbsp;(13)</option>
	<option value='https://pipingpress.com/2018/01/'> January 2018 &nbsp;(32)</option>
	<option value='https://pipingpress.com/2017/12/'> December 2017 &nbsp;(28)</option>
	<option value='https://pipingpress.com/2017/11/'> November 2017 &nbsp;(31)</option>
	<option value='https://pipingpress.com/2017/10/'> October 2017 &nbsp;(35)</option>
	<option value='https://pipingpress.com/2017/09/'> September 2017 &nbsp;(34)</option>
	<option value='https://pipingpress.com/2017/08/'> August 2017 &nbsp;(66)</option>
	<option value='https://pipingpress.com/2017/07/'> July 2017 &nbsp;(46)</option>
	<option value='https://pipingpress.com/2017/06/'> June 2017 &nbsp;(41)</option>
	<option value='https://pipingpress.com/2017/05/'> May 2017 &nbsp;(43)</option>
	<option value='https://pipingpress.com/2017/04/'> April 2017 &nbsp;(33)</option>
	<option value='https://pipingpress.com/2017/03/'> March 2017 &nbsp;(41)</option>
	<option value='https://pipingpress.com/2017/02/'> February 2017 &nbsp;(29)</option>
	<option value='https://pipingpress.com/2017/01/'> January 2017 &nbsp;(30)</option>
	<option value='https://pipingpress.com/2016/12/'> December 2016 &nbsp;(28)</option>
	<option value='https://pipingpress.com/2016/11/'> November 2016 &nbsp;(30)</option>
	<option value='https://pipingpress.com/2016/10/'> October 2016 &nbsp;(32)</option>
	<option value='https://pipingpress.com/2016/09/'> September 2016 &nbsp;(36)</option>
	<option value='https://pipingpress.com/2016/08/'> August 2016 &nbsp;(49)</option>
	<option value='https://pipingpress.com/2016/07/'> July 2016 &nbsp;(35)</option>
	<option value='https://pipingpress.com/2016/06/'> June 2016 &nbsp;(29)</option>
	<option value='https://pipingpress.com/2016/05/'> May 2016 &nbsp;(25)</option>
	<option value='https://pipingpress.com/2016/04/'> April 2016 &nbsp;(31)</option>
	<option value='https://pipingpress.com/2016/03/'> March 2016 &nbsp;(28)</option>
	<option value='https://pipingpress.com/2016/02/'> February 2016 &nbsp;(25)</option>
	<option value='https://pipingpress.com/2016/01/'> January 2016 &nbsp;(25)</option>
	<option value='https://pipingpress.com/2015/12/'> December 2015 &nbsp;(25)</option>
	<option value='https://pipingpress.com/2015/11/'> November 2015 &nbsp;(29)</option>
	<option value='https://pipingpress.com/2015/10/'> October 2015 &nbsp;(30)</option>
	<option value='https://pipingpress.com/2015/09/'> September 2015 &nbsp;(29)</option>
	<option value='https://pipingpress.com/2015/08/'> August 2015 &nbsp;(37)</option>
	<option value='https://pipingpress.com/2015/07/'> July 2015 &nbsp;(36)</option>
	<option value='https://pipingpress.com/2015/06/'> June 2015 &nbsp;(32)</option>
	<option value='https://pipingpress.com/2015/05/'> May 2015 &nbsp;(28)</option>
	<option value='https://pipingpress.com/2015/04/'> April 2015 &nbsp;(30)</option>
	<option value='https://pipingpress.com/2015/03/'> March 2015 &nbsp;(29)</option>
	<option value='https://pipingpress.com/2015/02/'> February 2015 &nbsp;(26)</option>
	<option value='https://pipingpress.com/2015/01/'> January 2015 &nbsp;(34)</option>
	<option value='https://pipingpress.com/2014/12/'> December 2014 &nbsp;(28)</option>
	<option value='https://pipingpress.com/2014/11/'> November 2014 &nbsp;(34)</option>
	<option value='https://pipingpress.com/2014/10/'> October 2014 &nbsp;(46)</option>
	<option value='https://pipingpress.com/2014/09/'> September 2014 &nbsp;(51)</option>
	<option value='https://pipingpress.com/2014/08/'> August 2014 &nbsp;(11)</option>

		</select>
		</aside><aside id="calendar-4" class="widget widget_calendar"><h1 class="widget-title">The Piper&#8217;s Diary</h1><div id="calendar_wrap" class="calendar_wrap"><table id="wp-calendar">
	<caption>September 2017</caption>
	<thead>
	<tr>
		<th scope="col" title="Sunday">S</th>
		<th scope="col" title="Monday">M</th>
		<th scope="col" title="Tuesday">T</th>
		<th scope="col" title="Wednesday">W</th>
		<th scope="col" title="Thursday">T</th>
		<th scope="col" title="Friday">F</th>
		<th scope="col" title="Saturday">S</th>
	</tr>
	</thead>

	<tfoot>
	<tr>
		<td colspan="3" id="prev"><a href="https://pipingpress.com/2017/08/">&laquo; Aug</a></td>
		<td class="pad">&nbsp;</td>
		<td colspan="3" id="next"><a href="https://pipingpress.com/2017/10/">Oct &raquo;</a></td>
	</tr>
	</tfoot>

	<tbody>
	<tr>
		<td colspan="5" class="pad">&nbsp;</td><td><a href="https://pipingpress.com/2017/09/01/" aria-label="Posts published on September 1, 2017">1</a></td><td><a href="https://pipingpress.com/2017/09/02/" aria-label="Posts published on September 2, 2017">2</a></td>
	</tr>
	<tr>
		<td><a href="https://pipingpress.com/2017/09/03/" aria-label="Posts published on September 3, 2017">3</a></td><td><a href="https://pipingpress.com/2017/09/04/" aria-label="Posts published on September 4, 2017">4</a></td><td><a href="https://pipingpress.com/2017/09/05/" aria-label="Posts published on September 5, 2017">5</a></td><td><a href="https://pipingpress.com/2017/09/06/" aria-label="Posts published on September 6, 2017">6</a></td><td><a href="https://pipingpress.com/2017/09/07/" aria-label="Posts published on September 7, 2017">7</a></td><td><a href="https://pipingpress.com/2017/09/08/" aria-label="Posts published on September 8, 2017">8</a></td><td><a href="https://pipingpress.com/2017/09/09/" aria-label="Posts published on September 9, 2017">9</a></td>
	</tr>
	<tr>
		<td>10</td><td><a href="https://pipingpress.com/2017/09/11/" aria-label="Posts published on September 11, 2017">11</a></td><td><a href="https://pipingpress.com/2017/09/12/" aria-label="Posts published on September 12, 2017">12</a></td><td><a href="https://pipingpress.com/2017/09/13/" aria-label="Posts published on September 13, 2017">13</a></td><td><a href="https://pipingpress.com/2017/09/14/" aria-label="Posts published on September 14, 2017">14</a></td><td><a href="https://pipingpress.com/2017/09/15/" aria-label="Posts published on September 15, 2017">15</a></td><td>16</td>
	</tr>
	<tr>
		<td><a href="https://pipingpress.com/2017/09/17/" aria-label="Posts published on September 17, 2017">17</a></td><td>18</td><td><a href="https://pipingpress.com/2017/09/19/" aria-label="Posts published on September 19, 2017">19</a></td><td><a href="https://pipingpress.com/2017/09/20/" aria-label="Posts published on September 20, 2017">20</a></td><td><a href="https://pipingpress.com/2017/09/21/" aria-label="Posts published on September 21, 2017">21</a></td><td><a href="https://pipingpress.com/2017/09/22/" aria-label="Posts published on September 22, 2017">22</a></td><td><a href="https://pipingpress.com/2017/09/23/" aria-label="Posts published on September 23, 2017">23</a></td>
	</tr>
	<tr>
		<td>24</td><td><a href="https://pipingpress.com/2017/09/25/" aria-label="Posts published on September 25, 2017">25</a></td><td><a href="https://pipingpress.com/2017/09/26/" aria-label="Posts published on September 26, 2017">26</a></td><td><a href="https://pipingpress.com/2017/09/27/" aria-label="Posts published on September 27, 2017">27</a></td><td><a href="https://pipingpress.com/2017/09/28/" aria-label="Posts published on September 28, 2017">28</a></td><td><a href="https://pipingpress.com/2017/09/29/" aria-label="Posts published on September 29, 2017">29</a></td><td><a href="https://pipingpress.com/2017/09/30/" aria-label="Posts published on September 30, 2017">30</a></td>
	</tr>
	</tbody>
	</table></div></aside><aside id="linkcat-1356" class="widget widget_links"><h1 class="widget-title">Links</h1>
	<ul class='xoxo blogroll'>
<li><a href="http://www.obangames.com">Argyllshire Gathering</a></li>
<li><a href="http://acpba.ca">Atlantic Canada PBA</a></li>
<li><a href="http://www.austriansummerschool.at" title="Organisers of the annual Austrian Summer School">Austrian Piping Society</a></li>
<li><a href="http://www.ayrshirebagpipes.co.uk" title="Manufacturers of the Big  Bore blowstick">Ayrshire Bagpipe Company</a></li>
<li><a href="http://www.balmoralclassic.org/">Balmoral Classic</a></li>
<li><a href="http://www.balmoralschool.org/">Balmoral School</a></li>
<li><a href="http://www.bannatyne.ltd.uk/wp/" title="Manufacturers of pipe bags and much more">Bannatyne Bags</a></li>
<li><a href="http://bcpipers.org">BC Pipers&#039; Association</a></li>
<li><a href="https://www.burleybagpipes.com/great-highland-bagpipes" title="Expert pipemaker in British Columbia">Burley Bagpipe Company</a></li>
<li><a href="http://collegeofpiping.com">College of Piping PEI</a></li>
<li><a href="http://www.bbc.co.uk/programmes/b007jdhn">Crunluath &#8211; BBC Gaelic Piping</a></li>
<li><a href="http://www.naill-bagpipes.com">David Naill Bagpipes</a></li>
<li><a href="http://www.euspba.org">EUSPBA</a></li>
<li><a href="http://www.g1reeds.com/">G1 Reeds</a></li>
<li><a href="https://www.kilberrybagpipes.com">Kilberry Bagpipes</a></li>
<li><a href="http://www.mccallumbagpipes.com">MacCallum Bagpipes</a></li>
<li><a href="http://www.murrayreeds.co.uk" title="Gold Medal reeds from Douglas Murray" target="_blank">Murray Reeds</a></li>
<li><a href="https://nepada.org" title="World Class Piping and Drumming Tuition ">New England Pipe &amp; Drum Academy</a></li>
<li><a href="http://piping.northern-meeting.org">Northern Meeting</a></li>
<li><a href="https://www.tattoo-music.com/winterschool-2017/" title="World class instruction at this very well run school of piping, drumming and drum majoring">Northern Winter School, Germany</a></li>
<li><a href="http://piobaireachd.org.nz">NZ Piobaireachd Society</a></li>
<li><a href="http://www.pdqb.org">PDQB</a></li>
<li><a href="http://www.piobaireachd.co.uk">Piobaireachd Society</a></li>
<li><a href="http://www.pipetunes.ca">Pipe Tunes</a></li>
<li><a href="http://www.piperspersuasion.com/" title="Historic interviews with leading piping and pipe band personalities">Pipers Persuasion</a></li>
<li><a href="http://pipingpressshop.com">Piping Press Shop</a></li>
<li><a href="http://ppbso.org">PPBSO</a></li>
<li><a href="http://www.rghardie.com" target="_blank">RG Hardie &amp; Co</a></li>
<li><a href="http://rspba.org">RSPBA</a></li>
<li><a href="http://www.scottishpipersassociation.co.uk">Scottish Pipers&#039; Association</a></li>
<li><a href="https://sites.google.com/site/shastapipingsociety/" title="A benevolent society which provides instruments for kids and sponsors piobaireachd composition">Shasta Piping Society</a></li>
<li><a href="http://www.shepherd-bagpipes.com">Shepherd Bagpipes</a></li>
<li><a href="http://www.pipeanddrumacademy.com" title="Held each winter in sunny Florida &#8211; the very best in piping and drumming tuition">South Florida P&amp;D Academy</a></li>
<li><a href="http://www.214BB.com" rel="friend" title="The site of the 214th Glasgow Company of the Boys&#8217; Brigade ex-Members Association" target="_blank">The 214th BB ex-Members</a></li>
<li><a href="http://www.wallacebagpipes.com">Wallace Bagpipes</a></li>
<li><a href="http://whistlebinkies.co.uk" title="The leading Scottish traditional band featuring Rab Wallace on pipes.">Whistlebinkies</a></li>
<li><a href="http://wuspba.org">WUSPBA</a></li>

	</ul>
</aside>
<aside id="categories-5" class="widget widget_categories"><h1 class="widget-title">News, Piobaireachd,Pipe Bands,History,Solo Piping,Results,Tuition,Gallery</h1><form action="https://pipingpress.com" method="get"><label class="screen-reader-text" for="cat">News, Piobaireachd,Pipe Bands,History,Solo Piping,Results,Tuition,Gallery</label><select  name='cat' id='cat' class='postform' >
	<option value='-1'>Select Category</option>
	<option class="level-0" value="287095702">Bagpipes&nbsp;&nbsp;(1,034)</option>
	<option class="level-0" value="273">Blog&nbsp;&nbsp;(544)</option>
	<option class="level-0" value="287095491">Comment&nbsp;&nbsp;(670)</option>
	<option class="level-0" value="9548">Features&nbsp;&nbsp;(296)</option>
	<option class="level-0" value="678">History&nbsp;&nbsp;(341)</option>
	<option class="level-0" value="287095703">Letters&nbsp;&nbsp;(82)</option>
	<option class="level-0" value="103">News&nbsp;&nbsp;(1,262)</option>
	<option class="level-0" value="2387705">Piobaireachd&nbsp;&nbsp;(768)</option>
	<option class="level-0" value="2388653">Pipe Bands&nbsp;&nbsp;(743)</option>
	<option class="level-0" value="287095528">Pipe Music&nbsp;&nbsp;(974)</option>
	<option class="level-0" value="41512">Results&nbsp;&nbsp;(502)</option>
	<option class="level-0" value="309">Reviews&nbsp;&nbsp;(137)</option>
	<option class="level-0" value="278540159">Solo Piping&nbsp;&nbsp;(978)</option>
	<option class="level-0" value="162875">Tuition&nbsp;&nbsp;(196)</option>
	<option class="level-0" value="1">Uncategorized&nbsp;&nbsp;(9)</option>
</select>
</form>
<script type='text/javascript'>
/* <![CDATA[ */
(function() {
	var dropdown = document.getElementById( "cat" );
	function onCatChange() {
		if ( dropdown.options[ dropdown.selectedIndex ].value > 0 ) {
			dropdown.parentNode.submit();
		}
	}
	dropdown.onchange = onCatChange;
})();
/* ]]> */
</script>

</aside><aside id="search-5" class="widget widget_search"><form role="search" method="get" class="search-form" action="https://pipingpress.com/">
				<label>
					<span class="screen-reader-text">Search for:</span>
					<input type="search" class="search-field" placeholder="Search &hellip;" value="" name="s" />
				</label>
				<input type="submit" class="search-submit" value="Search" />
			</form></aside>	</div><!-- #primary-sidebar -->
	</div><!-- #secondary -->

		</div><!-- #main -->

		<footer id="colophon" class="site-footer" role="contentinfo">

			
<div id="supplementary">
	<div id="footer-sidebar" class="footer-sidebar widget-area" role="complementary">
		<aside id="wdslider-32" class="widget wdslider"><h1 class="widget-title">A Better Way to Learn</h1>    <style>
      #wds_container1_7 #wds_container2_7 {
        text-align: center;
        margin: 0px ;
        visibility: hidden;
              }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_image_wrap_7 * {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_image_wrap_7 {
        background-color: rgba(0, 0, 0, 0.00);
        border-width: 0px;
        border-style: none;
        border-color: #000000;
        border-radius: ;
        border-collapse: collapse;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100%;
        max-width: 800px;
        box-shadow: ;
        overflow: hidden;
        z-index: 0;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_image_7 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        vertical-align: middle;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_image_container_7 {
        display: table;
        position: absolute;
        text-align: center;
        none: 0px;
        vertical-align: middle;
        width: 100%;
        height: inherit;
      }

            @media only screen and (min-width: 0px) and (max-width: 320px) {
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_thumbnails_7 {
          height: 16px;
          width: 16px;
        }
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_7 {
          font-size: 12px;
          width: 12px;
          margin: 2px;
          height: 12px;
        }
        #wds_container1_7 #wds_container2_7 .wds_pp_btn_cont {  
          font-size: 20px;
          height: 20px;
          width: 20px;
        }
        #wds_container1_7 #wds_container2_7 .wds_left_btn_cont,
        #wds_container1_7 #wds_container2_7 .wds_right_btn_cont {
          height: 20px;
          font-size: 20px;
          width: 20px;
        }
      }
              @media only screen and (min-width: 321px) and (max-width: 480px) {
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_thumbnails_7 {
          height: 22px;
          width: 22px;
        }
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_7 {
          font-size: 18px;
          width: 18px;
          margin: 2px;
          height: 18px;
        }
        #wds_container1_7 #wds_container2_7 .wds_pp_btn_cont {  
          font-size: 30px;
          height: 30px;
          width: 30px;
        }
        #wds_container1_7 #wds_container2_7 .wds_left_btn_cont,
        #wds_container1_7 #wds_container2_7 .wds_right_btn_cont {
          height: 30px;
          font-size: 30px;
          width: 30px;
        }
      }
              @media only screen and (min-width: 481px) and (max-width: 640px) {
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_thumbnails_7 {
          height: 26px;
          width: 26px;
        }
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_7 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_7 #wds_container2_7 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_7 #wds_container2_7 .wds_left_btn_cont,
        #wds_container1_7 #wds_container2_7 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 641px) and (max-width: 768px) {
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_thumbnails_7 {
          height: 26px;
          width: 26px;
        }
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_7 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_7 #wds_container2_7 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_7 #wds_container2_7 .wds_left_btn_cont,
        #wds_container1_7 #wds_container2_7 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 769px) and (max-width: 800px) {
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_thumbnails_7 {
          height: 26px;
          width: 26px;
        }
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_7 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_7 #wds_container2_7 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_7 #wds_container2_7 .wds_left_btn_cont,
        #wds_container1_7 #wds_container2_7 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 801px) and (max-width: 1024px) {
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_thumbnails_7 {
          height: 26px;
          width: 26px;
        }
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_7 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_7 #wds_container2_7 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_7 #wds_container2_7 .wds_left_btn_cont,
        #wds_container1_7 #wds_container2_7 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1025px) and (max-width: 1366px) {
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_thumbnails_7 {
          height: 26px;
          width: 26px;
        }
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_7 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_7 #wds_container2_7 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_7 #wds_container2_7 .wds_left_btn_cont,
        #wds_container1_7 #wds_container2_7 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1367px) and (max-width: 1824px) {
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_thumbnails_7 {
          height: 26px;
          width: 26px;
        }
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_7 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_7 #wds_container2_7 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_7 #wds_container2_7 .wds_left_btn_cont,
        #wds_container1_7 #wds_container2_7 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1825px) and (max-width: 3000px) {
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_thumbnails_7 {
          height: 26px;
          width: 26px;
        }
        #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_7 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_7 #wds_container2_7 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_7 #wds_container2_7 .wds_left_btn_cont,
        #wds_container1_7 #wds_container2_7 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
        
      #wds_container1_7 #wds_container2_7 .wds_slideshow_video_7 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        width: 100%;
        vertical-align: middle;
        display: inline-block;
      }
      #wds_container1_7 #wds_container2_7 #wds_slideshow_play_pause_7 {  
        color: #000000;
        cursor: pointer;
        position: relative;
        z-index: 13;
        width: inherit;
        height: inherit;
        font-size: inherit;
      }
      #wds_container1_7 #wds_container2_7 #wds_slideshow_play_pause_7:hover {  
        color: #000000;
        cursor: pointer;
      }
      #wds_container1_7 #wds_container2_7 .wds_left-ico_7,
      #wds_container1_7 #wds_container2_7 .wds_right-ico_7 {
        background-color: rgba(255, 255, 255, 0.00);
        border-radius: 20px;
        border: 0px none #FFFFFF;
        border-collapse: separate;
        color: #000000;
        left: 0;
        top: 0;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        cursor: pointer;
        line-height: 0;
        width: inherit;
        height: inherit;
        font-size: inherit;
        position: absolute;
      }
      #wds_container1_7 #wds_container2_7 .wds_left-ico_7 {
        left: -4000px;
      }
      #wds_container1_7 #wds_container2_7 .wds_right-ico_7 {
        left: 4000px;
      }
            #wds_container1_7 #wds_container2_7 #wds_slideshow_play_pause_7 {
        opacity: 0;
        filter: "Alpha(opacity=0)";
      }
      #wds_container1_7 #wds_container2_7 .wds_left-ico_7:hover,
      #wds_container1_7 #wds_container2_7 .wds_right-ico_7:hover {
        color: #000000;
        cursor: pointer;
      }

      /* Filmstrip*/
      #wds_container1_7 #wds_container2_7 .wds_slideshow_filmstrip_container_7 {
        background-color: #000000 !important;
        display: /*table*/block;
        height: 0px;
        position: absolute;
        width: 100%;
        z-index: 10105;
        none: 0;
        overflow: hidden;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_filmstrip_7 {
        overflow: hidden;
        position: absolute;
        width: 100%;
        width: 100%;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_filmstrip_thumbnails_7 {
        height: inherit;
        left: 0px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        width: 0px;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_filmstrip_thumbnail_7 {
        position: relative;
        background: none;
        cursor: pointer;
        float: left;
        height: inherit;
        margin: 0 0px;
        width: 0px;
        overflow: hidden;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_thumb_active_7 div {
        opacity: 1;
        filter: Alpha(opacity=100);
        border: 0px none #FFFFFF;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_thumb_deactive_7 {
        opacity: 0.50;
        filter: Alpha(opacity=50);
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_filmstrip_thumbnail_img_7 {
        display: block;
        opacity: 1;
        filter: Alpha(opacity=100);
        padding: 0 !important;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 0px;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_filmstrip_left_7,
      #wds_container1_7 #wds_container2_7 .wds_slideshow_filmstrip_right_7 {
        background-color: rgba(0, 0, 0, 0.5);
        cursor: pointer;
        display: table;
        vertical-align: middle;
        width: 20px;
        z-index: 10000;
        position: absolute;
        height: inherit; 
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_filmstrip_left_7 {
        left: 0;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_filmstrip_right_7 {
        right: 0;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_filmstrip_left_7 i,
      #wds_container1_7 #wds_container2_7 .wds_slideshow_filmstrip_right_7 i {
        color: #FFFFFF;
        display: table-cell;
        font-size: 20px;
        vertical-align: middle;
      }

      #wds_container1_7 #wds_container2_7 .wds_none_selectable_7 {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }
      #wds_container1_7 #wds_container2_7 .wds_slide_container_7 {
        display: table-cell;
        margin: 0 auto;
        position: absolute;
        vertical-align: middle;
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
      #wds_container1_7 #wds_container2_7 .wds_slide_bg_7 {
        margin: 0 auto;
        width: inherit;
        height: inherit;
      }
      #wds_container1_7 #wds_container2_7 .wds_slider_7 {
        height: inherit;
        width: inherit;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_image_spun_7 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=100);
        opacity: 1;
        position: absolute;
        vertical-align: middle;
        z-index: 2;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_image_second_spun_7 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=0);
        opacity: 0;
        position: absolute;
        vertical-align: middle;
        z-index: 1;
      }
      #wds_container1_7 #wds_container2_7 .wds_grid_7 {
        display: none;
        height: 100%;
        overflow: hidden;
        position: absolute;
        width: 100%;
      }
      #wds_container1_7 #wds_container2_7 .wds_gridlet_7 {
        opacity: 1;
        filter: Alpha(opacity=100);
        position: absolute;
      }

      /* Dots.*/
      #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_container_7 {
        display: block;
        overflow: hidden;
        position: absolute;
        width: 100%;
        none: 0px;
        /*z-index: 17;*/
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_thumbnails_7 {
        left: 0px;
        font-size: 0;
        margin: 0 auto;
        position: relative;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_7 {
        display: inline-block;
        position: relative;
        color: #FFFFFF;
        cursor: pointer;
        z-index: 17;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_active_7 {
        color: #FFFFFF;
        opacity: 1;
        filter: Alpha(opacity=100);
              }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_dots_deactive_7 {
              }

      /* Timer.*/
      #wds_container1_7 #wds_container2_7 .wds_line_timer_container_7 {
        display: block;
        position: absolute;
        overflow: hidden;
        none: 0;
        z-index: 16;
        width: 100%;
        height: 5px;
      }
      #wds_container1_7 #wds_container2_7 .wds_line_timer_7 {
        z-index: 17;
        width: 0;
        height: 5px;
        background: #FFFFFF;
        opacity: 0.50;
        filter: alpha(opacity=50);
      }

      #wds_container1_7 #wds_container2_7 .wds_slideshow_image_spun1_7 {
        display: table; 
        width: inherit; 
        height: inherit;
      }
      #wds_container1_7 #wds_container2_7 .wds_slideshow_image_spun2_7 {
        display: table-cell; 
        vertical-align: middle; 
        text-align: center;
        overflow: hidden;
      }
          </style>
    <script>
      var wds_data_7 = [];
      var wds_event_stack_7 = [];
      var wds_clear_layers_effects_in_7 = [];
      var wds_clear_layers_effects_out_7 = [];
      var wds_clear_layers_effects_out_before_change_7 = [];
      if (0) {
        var wds_duration_for_change_7 = 500;
        var wds_duration_for_clear_effects_7 = 530;
      }
      else {
        var wds_duration_for_change_7 = 0;
        var wds_duration_for_clear_effects_7 = 0;
      }
              wds_clear_layers_effects_in_7["0"] = [];
        wds_clear_layers_effects_out_7["0"] = [];
        wds_clear_layers_effects_out_before_change_7["0"] = [];
        wds_data_7["0"] = [];
        wds_data_7["0"]["id"] = "222";
        wds_data_7["0"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//Tutors-ani-gif (3).gif";
        wds_data_7["0"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/Tutors-ani-gif (3).gif";
        wds_data_7["0"]["is_video"] = "";
        wds_data_7["0"]["slide_layers_count"] = 0;
            
    </script>
    <div id="wds_container1_7">
      <div class="wds_loading">
        <img src="https://pipingpress.com/wp-content/plugins/slider-wd/images/ajax_loader.png" class="wds_loading_img" style="float: none; width:50px;" />
      </div>
      <div id="wds_container2_7">
        <div class="wds_slideshow_image_wrap_7">
                    <div id="wds_slideshow_image_container_7" class="wds_slideshow_image_container_7">
                        <div class="wds_slide_container_7">
              <div class="wds_slide_bg_7">
                <div class="wds_slider_7">
                                  <span class="wds_slideshow_image_spun_7" id="image_id_7_222">
                    <span class="wds_slideshow_image_spun1_7">
                      <span class="wds_slideshow_image_spun2_7">
                                                <div img_id="wds_slideshow_image_7"
                             class="wds_slideshow_image_7"
                             onclick="window.open('http://ppresshop.com/products/bagpipe-tutor-book', '_blank')"
                             style="cursor: pointer;background-image: url('http://pipingpress.com/wp-content/uploads/slider-wd//Tutors-ani-gif (3).gif');">
                                                  </div>
                      </span>
                    </span>
                  </span>
                                  <input type="hidden" id="wds_current_image_key_7" value="0" />
                </div>
              </div>
            </div>
                      </div>
                  </div>
      </div>
    </div>

    <script>
      var wds_trans_in_progress_7 = false;
      var wds_transition_duration_7 = 800;
      var wds_playInterval_7;
      var progress = 0;
      /* Stop autoplay.*/
      window.clearInterval(wds_playInterval_7);
      var wds_current_key_7 = '0';
      var wds_current_filmstrip_pos_7 = 0;
      /* Set filmstrip initial position.*/
      function wds_set_filmstrip_pos_7(filmStripWidth) {
        var selectedImagePos = -wds_current_filmstrip_pos_7 - (jQuery(".wds_slideshow_filmstrip_thumbnail_7").width() + 0) / 2;
        var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".wds_slideshow_filmstrip_thumbnails_7").width(), selectedImagePos + filmStripWidth / 2));
        jQuery(".wds_slideshow_filmstrip_thumbnails_7").animate({
            left: imagesContainerLeft
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_7(); }
          });
      }
      function wds_move_filmstrip_7() {
        var image_left = jQuery(".wds_slideshow_thumb_active_7").position().left;
        var image_right = jQuery(".wds_slideshow_thumb_active_7").position().left + jQuery(".wds_slideshow_thumb_active_7").outerWidth(true);
        var wds_filmstrip_width = jQuery(".wds_slideshow_filmstrip_7").outerWidth(true);
        var wds_filmstrip_thumbnails_width = jQuery(".wds_slideshow_filmstrip_thumbnails_7").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_filmstrip_thumbnails_7").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_filmstrip_thumbnails_7").position().left) + wds_filmstrip_width;
        if (wds_filmstrip_width > wds_filmstrip_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_7").animate({
            left: -image_left
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_7(); }
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_7").animate({
            left: -(image_right - wds_filmstrip_width)
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_7(); }
          });
        }
      }
      function wds_move_dots_7() {
        var image_left = jQuery(".wds_slideshow_dots_active_7").position().left;
        var image_right = jQuery(".wds_slideshow_dots_active_7").position().left + jQuery(".wds_slideshow_dots_active_7").outerWidth(true);
        var wds_dots_width = jQuery(".wds_slideshow_dots_container_7").outerWidth(true);
        var wds_dots_thumbnails_width = jQuery(".wds_slideshow_dots_thumbnails_7").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_dots_thumbnails_7").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_dots_thumbnails_7").position().left) + wds_dots_width;
        if (wds_dots_width > wds_dots_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_dots_thumbnails_7").animate({
            left: -image_left
          }, {
            duration: 500
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_dots_thumbnails_7").animate({
            left: -(image_right - wds_dots_width)
          }, {
            duration: 500
          });
        }
      }
      /* Show/hide filmstrip arrows.*/
      function wds_filmstrip_arrows_7() {
        if (jQuery(".wds_slideshow_filmstrip_thumbnails_7").width() < jQuery(".wds_slideshow_filmstrip_7").width()) {
          jQuery(".wds_slideshow_filmstrip_left_7").hide();
          jQuery(".wds_slideshow_filmstrip_right_7").hide();
        }
        else {
          jQuery(".wds_slideshow_filmstrip_left_7").show();
          jQuery(".wds_slideshow_filmstrip_right_7").show();
        }
      }
      function wds_testBrowser_cssTransitions_7() {
        return wds_testDom_7('Transition');
      }
      function wds_testBrowser_cssTransforms3d_7() {
        return wds_testDom_7('Perspective');
      }
      function wds_testDom_7(prop) {
        /* Browser vendor CSS prefixes.*/
        var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-'];
        /* Browser vendor DOM prefixes.*/
        var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml'];
        var i = domPrefixes.length;
        while (i--) {
          if (typeof document.body.style[domPrefixes[i] + prop] !== 'undefined') {
            return true;
          }
        }
        return false;
      }
      function wds_set_dots_class_7() {
        jQuery(".wds_slideshow_dots_7").removeClass("wds_slideshow_dots_active_7").addClass("wds_slideshow_dots_deactive_7");
        jQuery("#wds_dots_" + wds_current_key_7 + "_7").removeClass("wds_slideshow_dots_deactive_7").addClass("wds_slideshow_dots_active_7");
                jQuery(".wds_slideshow_dots_7").removeClass("fa-square").addClass("fa-square-o");
        jQuery("#wds_dots_" + wds_current_key_7 + "_7").removeClass("fa-square-o").addClass("fa-square");
              }
      function wds_grid3d_7(cols, rows, tz, wrx, wry, nty, ntx, nry, nrx, current_image_class, next_image_class, direction, random, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_7()) {
          return wds_fallback_7(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_7 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_7").removeClass("wds_slideshow_thumb_active_7").addClass("wds_slideshow_thumb_deactive_7");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_7 + "_7").removeClass("wds_slideshow_thumb_deactive_7").addClass("wds_slideshow_thumb_active_7");
        wds_set_dots_class_7();

        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_7) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, src2, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;

          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_7" />').css({
            width : "100%",
            height : "100%",
            transform : 'translateZ(' + tz + 'px)',
            backfaceVisibility : 'hidden',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_7" />').css({
            width : jQuery(".wds_slideshow_image_spun_7").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_7").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_7").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_7").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_7").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          var grid_div2 = jQuery('<div class="wds_gridlet_7" />').css({
            width : "100%",
            height : "100%",
            backfaceVisibility : 'hidden',
            transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_7" />').css({
            width : jQuery(".wds_slideshow_image_spun_7").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_7").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src2,
            backgroundSize: jQuery(".wds_slideshow_image_7").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_7").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_7").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          return jQuery('<div class="wds_gridlet_7" />').css({
            width : width,
            height : height,
            top : top,
            left : left,
            transition : 'all ' + wds_transition_duration_7 + 'ms ' + easing + ' ' + delay + 'ms',
            transform: 'translateZ(-' + tz + 'px)',
            transformStyle: 'preserve-3d',
          }).append(grid_div).append(grid_div2);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        var next_img = jQuery(next_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_7').css('perspective', 1000);
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_7");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),
            imgSrcNext = next_img.css('background-image'),
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_7").width() - cur_img.width()) / 2;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_7").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgSrcNext, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);        
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 1);
        /* After transition.*/
         var cccount = 0;
         var obshicccount = cols * rows;
         grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
         function wds_after_trans_each() {
           if (++cccount == obshicccount) {
             wds_after_trans();
           }
         }
         function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_7 = false;
          if (typeof wds_event_stack_7 !== 'undefined') {
            if (wds_event_stack_7.length > 0) {
              key = wds_event_stack_7[0].split("-");
              wds_event_stack_7.shift();
              wds_change_image_7(key[0], key[1], wds_data_7, true);
            }
          }
        }
      }
      function wds_slic3DH_7(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_7(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_7(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_slic3DV_7(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_7(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_7(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      
      function wds_slicR3DH_7(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_7(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_7(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_slicR3DV_7(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_7(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_7(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_parallelSlide_7(ni_left, ni_top, tx, ty, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_7()) {
          return wds_fallback_7(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_7()) {
          return wds_fallback3d_7(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_7 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_7").removeClass("wds_slideshow_thumb_active_7").addClass("wds_slideshow_thumb_deactive_7");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_7 + "_7").removeClass("wds_slideshow_thumb_deactive_7").addClass("wds_slideshow_thumb_active_7");
        wds_set_dots_class_7();
        jQuery(current_image_class).css({
          position : 'absolute',
          top : '0px',
          left : '0px',
          position : 'absolute',
        });
        jQuery(next_image_class).css({
          position : 'absolute',
          top : ni_top + 'px',
          left : ni_left + 'px',
          'opacity' : 1, 
          filter : 'Alpha(opacity=100)',
          position : 'absolute',
        });
        jQuery(".wds_slider_7").css({
          position : 'relative',
          'backface-visibility': 'hidden'
        });
        jQuery(".wds_slide_bg_7").css({
          overflow : 'hidden',
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery('.wds_slider_7').css({
            transition : 'all ' + wds_transition_duration_7 + 'ms ' + easing,
            transform : 'translateX(' + tx + 'px) translateY(' + ty + 'px)',
          });
        }, 1);
        /* After transition.*/
        jQuery('.wds_slider_7').one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_7").removeAttr('style');
          jQuery(".wds_slide_bg_7").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_7 = false;
          if (typeof wds_event_stack_7 !== 'undefined') {
            if (wds_event_stack_7.length > 0) {
              key = wds_event_stack_7[0].split("-");
              wds_event_stack_7.shift();
              wds_change_image_7(key[0], key[1], wds_data_7, true);
            }
          }
        }
      }
      function wds_parallelSlideH_7(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_7(width, 0, -width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_7(-width, 0, width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_parallelSlideV_7(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_7(0, height, 0, -height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_7(0, -height, 0, height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_cube_7(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_7()) {
          return wds_fallback_7(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_7()) {
          return wds_fallback3d_7(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_7 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_7").removeClass("wds_slideshow_thumb_active_7").addClass("wds_slideshow_thumb_deactive_7");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_7 + "_7").removeClass("wds_slideshow_thumb_deactive_7").addClass("wds_slideshow_thumb_active_7");
        wds_set_dots_class_7();

        jQuery(".wds_slide_container_7").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_spun2_7").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_wrap_7").css('overflow', 'visible');
        var filmstrip_position = 'none';
        if (filmstrip_position == 'none') {
          jQuery(".wds_slideshow_image_7").css('border-radius', jQuery(".wds_slideshow_image_wrap_7").css('border-radius'));
        }
        else {
          jQuery(".wds_slideshow_image_7").css('border-radius', '');
          jQuery(".wds_slideshow_filmstrip_container_7").css('border-radius', '');
          if (filmstrip_position == 'top') {
            jQuery(".wds_slideshow_image_7").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_image_7").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_7").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_7").css('border-bottom-right-radius', 0);
          }
          else if (filmstrip_position == 'bottom') {
            jQuery(".wds_slideshow_image_7").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_7").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_7").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_7").css('border-top-right-radius', 0);
          }
          else if (filmstrip_position == 'right') {
            jQuery(".wds_slideshow_image_7").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_image_7").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_7").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_7").css('border-top-left-radius', 0);
          }
          else if (filmstrip_position == 'left') {
            jQuery(".wds_slideshow_image_7").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_7").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_7").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_7").css('border-top-right-radius', 0);
          }
        }

        jQuery(".wds_slide_bg_7").css('perspective', 1000);
        jQuery(current_image_class).css({
          transform : 'translateZ(' + tz + 'px)',
          backfaceVisibility : 'hidden'
        });
        jQuery(next_image_class).css({
          opacity : 1,
          filter: 'Alpha(opacity=100)',
          zIndex: 2,
          backfaceVisibility : 'hidden',
          transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)'
        });
        jQuery(".wds_slider_7").css({
          transform: 'translateZ(-' + tz + 'px)',
          transformStyle: 'preserve-3d',
          position: 'absolute'
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery(".wds_slider_7").css({
            transition: 'all ' + wds_transition_duration_7 + 'ms ' + easing,
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 20);
        /* After transition.*/
        jQuery(".wds_slider_7").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_7").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_7 = false;
          if (typeof wds_event_stack_7 !== 'undefined') {
            if (wds_event_stack_7.length > 0) {
              key = wds_event_stack_7[0].split("-");
              wds_event_stack_7.shift();
              wds_change_image_7(key[0], key[1], wds_data_7, true);
            }
          }
          jQuery(".wds_slide_container_7").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_spun2_7").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_wrap_7").css('overflow', 'hidden');
        }
      }
      function wds_cubeR_7(current_image_class, next_image_class, direction) {
        var random_direction = Math.floor(Math.random() * 2);
        var dimension = random_direction ? jQuery(current_image_class).height() / 2 : jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
         if (random_direction) {
           wds_cube_7(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_7(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
        else if (direction == 'left') {
         if (random_direction) {
           wds_cube_7(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_7(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
      }
      function wds_cubeH_7(current_image_class, next_image_class, direction) {
        /* Set to half of image width.*/
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_cube_7(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_7(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_cubeV_7(current_image_class, next_image_class, direction) {
        /* Set to half of image height.*/
        var dimension = jQuery(current_image_class).height() / 2;
        /* If next slide.*/
        if (direction == 'right') {
          wds_cube_7(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_7(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      /* For browsers that does not support transitions.*/
      function wds_fallback_7(current_image_class, next_image_class, direction) {
        wds_fade_7(current_image_class, next_image_class, direction);
      }
      /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
      function wds_fallback3d_7(current_image_class, next_image_class, direction) {
        wds_sliceV_7(current_image_class, next_image_class, direction);
      }
      function wds_none_7(current_image_class, next_image_class, direction) {
        jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
        jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_7").removeClass("wds_slideshow_thumb_active_7").addClass("wds_slideshow_thumb_deactive_7");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_7 + "_7").removeClass("wds_slideshow_thumb_deactive_7").addClass("wds_slideshow_thumb_active_7");
        wds_set_dots_class_7();
      }
      function wds_fade_7(current_image_class, next_image_class, direction) {
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_7").removeClass("wds_slideshow_thumb_active_7").addClass("wds_slideshow_thumb_deactive_7");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_7 + "_7").removeClass("wds_slideshow_thumb_deactive_7").addClass("wds_slideshow_thumb_active_7");
        wds_set_dots_class_7();
        if (wds_testBrowser_cssTransitions_7()) {
          jQuery(next_image_class).css('transition', 'opacity ' + wds_transition_duration_7 + 'ms linear');
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        }
        else {
          jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, wds_transition_duration_7);
          jQuery(next_image_class).animate({
              'opacity' : 1,
              'z-index': 2
            }, {
              duration: wds_transition_duration_7,
              complete: function () {  }
            });
          /* For IE.*/
          jQuery(current_image_class).fadeTo(wds_transition_duration_7, 0);
          jQuery(next_image_class).fadeTo(wds_transition_duration_7, 1);
        }
      }
      function wds_grid_7(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction, random, roy, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_7()) {
          return wds_fallback_7(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_7 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_7").removeClass("wds_slideshow_thumb_active_7").addClass("wds_slideshow_thumb_deactive_7");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_7 + "_7").removeClass("wds_slideshow_thumb_deactive_7").addClass("wds_slideshow_thumb_active_7");
        wds_set_dots_class_7();
        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_7) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;
          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_7" />').css({
            width : imgWidth,/*"100%"*/
            height : jQuery(".wds_slideshow_image_spun_7").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_7").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_7").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_7").css("background-color"),*/
            backgroundRepeat: 'no-repeat'
          });
          return jQuery('<div class="wds_gridlet_7" />').css({
            width : width,/*"100%"*/
            height : height,
            top : top,
            left : left,
            backgroundSize : imgWidth + 'px ' + imgHeight + 'px',
            backgroundPosition : img_left + 'px ' + img_top + 'px',
            backgroundRepeat: 'no-repeat',
            overflow: "hidden",
            transition : 'all ' + wds_transition_duration_7 + 'ms ' + easing + ' ' + delay + 'ms',
            transform : 'none'
          }).append(grid_div);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_7');
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_7");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),/*.replace('/thumb', ''),*/
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_7").width() - cur_img.width()) / 2;
        /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/
        tx = tx === 'auto' ? contWidth : tx;
        tx = tx === 'min-auto' ? - contWidth : tx;
        ty = ty === 'auto' ? contHeight : ty;
        ty = ty === 'min-auto' ? - contHeight : ty;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_7").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);
        /* Add identifying classes to corner gridlets (useful if applying border radius).*/
        grid.children().first().addClass('rs-top-left');
        grid.children().last().addClass('rs-bottom-right');
        grid.children().eq(rows - 1).addClass('rs-bottom-left');
        grid.children().eq(- rows).addClass('rs-top-right');
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            opacity: op,
            transform: 'rotate('+ ro +'deg) rotateY('+ roy +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')'
          });
        }, 1);
        jQuery(next_image_class).css('opacity', 1);
        /* After transition.*/
        var cccount = 0;
        var obshicccount = cols * rows;
        grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
        function wds_after_trans_each() {
         if (++cccount == obshicccount) {
           wds_after_trans();
         }
        }
        function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_7 = false;
          if (typeof wds_event_stack_7 !== 'undefined') {
            if (wds_event_stack_7.length > 0) {
              key = wds_event_stack_7[0].split("-");
              wds_event_stack_7.shift();
              wds_change_image_7(key[0], key[1], wds_data_7, true);
            }
          }
        }
      }
      function wds_sliceH_7(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_7(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_sliceV_7(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'min-auto';
        }
        else if (direction == 'left') {
          var translateY = 'auto';
        }
        wds_grid_7(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_slideV_7(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'auto';
        }
        else if (direction == 'left') {
          var translateY = 'min-auto';
        }
        wds_grid_7(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_slideH_7(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_7(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_scaleOut_7(current_image_class, next_image_class, direction) {
        wds_grid_7(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_scaleIn_7(current_image_class, next_image_class, direction) {
        wds_grid_7(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScale_7(current_image_class, next_image_class, direction) {
        wds_grid_7(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScaleR_7(current_image_class, next_image_class, direction) {
        wds_grid_7(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 1, 0, 'ease-in-out');
      }
      function wds_blindR_7(current_image_class, next_image_class, direction) {
        wds_grid_7(8, 1, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_tilesR_7(current_image_class, next_image_class, direction) {
        wds_grid_7(8, 8, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_kaleidoscope_7(current_image_class, next_image_class, direction) {
        wds_grid_7(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_fan_7(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var rotate = 45;
          var translateX = 100;
        }
        else if (direction == 'left') {
          var rotate = -45;
          var translateX = -100;
        }
        wds_grid_7(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindV_7(current_image_class, next_image_class, direction) {
        wds_grid_7(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindH_7(current_image_class, next_image_class, direction) {
        wds_grid_7(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_random_7(current_image_class, next_image_class, direction) {
        var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV', 'parallelSlideH', 'parallelSlideV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_7"](current_image_class, next_image_class, direction);
      }
      function wds_3Drandom_7(current_image_class, next_image_class, direction) {
        var anims = ['cubeH', 'cubeV', 'cubeR', 'slic3DH', 'slic3DV', 'slicR3DH', 'slicR3DV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_7"](current_image_class, next_image_class, direction);
      }
      function iterator_7() {
        var iterator = 1;
        if (0) {
          iterator = Math.floor((wds_data_7.length - 1) * Math.random() + 1);
        }
        return iterator;
      }
      function wds_change_image_7(current_key, key, wds_data_7, from_effect) {
                /* Pause videos.*/
        jQuery("#wds_slideshow_image_container_7").find("iframe").each(function () {
          jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
          jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*");
        });
        if (wds_data_7[key]) {
          if (jQuery('.wds_ctrl_btn_7').hasClass('fa-pause') || ('')) {
            play_7();
          }
          if (!from_effect) {
            /* Change image key.*/
            jQuery("#wds_current_image_key_7").val(key);
            if (current_key == '-1') { /* Filmstrip.*/
              current_key = jQuery(".wds_slideshow_thumb_active_7").children("img").attr("image_key");
            }
            else if (current_key == '-2') { /* Dots.*/
              current_key = jQuery(".wds_slideshow_dots_active_7").attr("image_key");
            }
          }
          if (wds_trans_in_progress_7) {
            wds_event_stack_7.push(current_key + '-' + key);
            return;
          }
          var direction = 'right';
          if (wds_current_key_7 > key) {
            var direction = 'left';
          }
          else if (wds_current_key_7 == key) {
            return;
          }
          /* Set active thumbnail position.*/
          wds_current_filmstrip_pos_7 = key * (jQuery(".wds_slideshow_filmstrip_thumbnail_7").width() + 2 + 2 * 0);
          wds_current_key_7 = key;
          /* Change image id.*/
          jQuery("div[img_id=wds_slideshow_image_7]").attr('image_id', wds_data_7[key]["id"]);
          var current_image_class = "#image_id_7_" + wds_data_7[current_key]["id"];
          var next_image_class = "#image_id_7_" + wds_data_7[key]["id"];
                    if (!wds_data_7[key]["is_video"]) {
            jQuery(next_image_class).find("div").css("background-image", 'url("' + wds_data_7[key]["image_url"] + '")');
          }
                    var current_slide_layers_count = wds_data_7[current_key]["slide_layers_count"];
          var next_slide_layers_count = wds_data_7[key]["slide_layers_count"];

          /* Clear layers before image change.*/
          function set_layer_effect_out_before_change(m) {
            wds_clear_layers_effects_out_before_change_7[current_key][m] = setTimeout(function() {
              if (wds_data_7[current_key]["layer_" + m + "_type"] != 'social') {
                jQuery('#wds_7_slide' + wds_data_7[current_key]["id"] + '_layer' + wds_data_7[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_7_slide' + wds_data_7[current_key]["id"] + '_layer' + wds_data_7[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_7[current_key]["layer_" + m + "_layer_effect_out"] + ' animated');
              }
              else {
                jQuery('#wds_7_slide' + wds_data_7[current_key]["id"] + '_layer' + wds_data_7[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_7_slide' + wds_data_7[current_key]["id"] + '_layer' + wds_data_7[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_7[current_key]["layer_" + m + "_layer_effect_out"] + ' fa fa-' + wds_data_7[current_key]["layer_" + m + "_social_button"] + ' animated');
              }
            }, 10);
          }
          if (0) {
            for (var m = 0; m < current_slide_layers_count; m++) {
              if (jQuery('#wds_7_slide' + wds_data_7[current_key]["id"] + '_layer' + wds_data_7[current_key]["layer_" + m + "_id"]).css('opacity') != 0) {
                set_layer_effect_out_before_change(m);
              }
            }
          }
          /* Loop through current slide layers for clear effects.*/
          setTimeout(function() {
            for (var k = 0; k < current_slide_layers_count; k++) {
              clearTimeout(wds_clear_layers_effects_in_7[current_key][k]);
              clearTimeout(wds_clear_layers_effects_out_7[current_key][k]);
              if (wds_data_7[current_key]["layer_" + k + "_type"] != 'social') {
                jQuery('#wds_7_slide' + wds_data_7[current_key]["id"] + '_layer' + wds_data_7[current_key]["layer_" + k + "_id"]).removeClass().addClass('wds_layer_'+ wds_data_7[current_key]["layer_" + k + "_id"]);
              }
              else {
                jQuery('#wds_7_slide' + wds_data_7[current_key]["id"] + '_layer' + wds_data_7[current_key]["layer_" + k + "_id"]).removeClass().addClass('fa fa-' + wds_data_7[current_key]["layer_" + k + "_social_button"] + ' wds_layer_' + wds_data_7[current_key]["layer_" + k + "_id"]);
              }
            }
          }, wds_duration_for_clear_effects_7);
          /* Effects out part.*/
          function set_layer_effect_out(i) {
            wds_clear_layers_effects_out_7[key][i] = setTimeout(function() {
              if (wds_data_7[key]["layer_" + i + "_layer_effect_out"] != 'none') {
                if (wds_data_7[key]["layer_" + i + "_type"] != 'social') {	
                  jQuery('#wds_7_slide' + wds_data_7[key]["id"] + '_layer' + wds_data_7[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_7[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_7[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
                  jQuery('#wds_7_slide' + wds_data_7[key]["id"] + '_layer' + wds_data_7[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_7[key]["layer_" + i + "_layer_effect_out"] + ' animated');
                }
                else {
                  jQuery('#wds_7_slide' + wds_data_7[key]["id"] + '_layer' + wds_data_7[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_7[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_7[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
                  jQuery('#wds_7_slide' + wds_data_7[key]["id"] + '_layer' + wds_data_7[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_7[key]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_7[key]["layer_" + i + "_social_button"] + ' animated');
                }
              }
            }, wds_data_7[key]["layer_" + i + "_end"]);
          }
          /* Effects in part.*/
          function set_layer_effect_in(j) {
            wds_clear_layers_effects_in_7[key][j] = setTimeout(function() {
              if (wds_data_7[key]["layer_" + j + "_type"] != 'social') {
                jQuery('#wds_7_slide' + wds_data_7[key]["id"] + '_layer' + wds_data_7[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_7[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_7[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
                jQuery('#wds_7_slide' + wds_data_7[key]["id"] + '_layer' + wds_data_7[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_7[key]["layer_" + j + "_layer_effect_in"] + ' animated');
              }
              else {
                jQuery('#wds_7_slide' + wds_data_7[key]["id"] + '_layer' + wds_data_7[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_7[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_7[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');
                jQuery('#wds_7_slide' + wds_data_7[key]["id"] + '_layer' + wds_data_7[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_7[key]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_7[key]["layer_" + j + "_social_button"] + ' animated');
              }
            }, wds_data_7[key]["layer_" + j + "_start"]);
          }
          /* Loop through layers in.*/
          for (var j = 0; j < next_slide_layers_count; j++) {
            set_layer_effect_in(j);
          }
          /* Loop through layers out if pause button not pressed.*/
          if (jQuery(".wds_ctrl_btn_7").hasClass("fa-pause")) {
            for (var i = 0; i < next_slide_layers_count; i++) {
              set_layer_effect_out(i);
            }
          }
          setTimeout(function() {
            if (typeof jQuery().finish !== 'undefined') {
              if (jQuery.isFunction(jQuery().finish)) {
                jQuery(".wds_line_timer_7").finish();
              }
            }
            jQuery(".wds_line_timer_7").css({width: 0});
            wds_fade_7(current_image_class, next_image_class, direction);
            if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_7').hasClass('fa-pause'))) {
              if (!jQuery(".wds_ctrl_btn_7").hasClass("fa-play")) {
                jQuery(".wds_line_timer_7").animate({
                  width: "100%"
                }, {
                  duration: 5000,
                  specialEasing: {width: "linear"}
                });
              }
              
            }
                        if (wds_data_7[key]["is_video"]) {
              jQuery("#wds_slideshow_play_pause_7").css({display: 'none'});
            }
            else {
              jQuery("#wds_slideshow_play_pause_7").css({display: ''});
            }
          }, wds_duration_for_change_7);
        }
      }
      function wds_resize_slider_7() {
        var slide_orig_width = 800;
        var slide_orig_height = 450;
        var slide_width = jQuery("#wds_container1_7").parent().width();
        if (slide_orig_width <= slide_width) {
          slide_width = slide_orig_width;
        }
        var ratio = slide_width / slide_orig_width;

                var slide_height = slide_orig_height;
        if (slide_orig_width > slide_width) {
          slide_height = Math.floor(slide_width * slide_orig_height / slide_orig_width);
        }

        jQuery(".wds_slideshow_image_wrap_7, #wds_container2_7").height(slide_height + 0);
        jQuery(".wds_slideshow_image_container_7").height(slide_height);
        jQuery(".wds_slideshow_image_7").height(slide_height);
        jQuery(".wds_slideshow_video_7").height(slide_height);
        jQuery(".wds_slideshow_image_7 img").each(function () {
          var wds_theImage = new Image();
          wds_theImage.src = jQuery(this).attr("src");
          var wds_origWidth = wds_theImage.width;
          var wds_origHeight = wds_theImage.height;
          var wds_imageWidth = jQuery(this).attr("wds_image_width");
          var wds_imageHeight = jQuery(this).attr("wds_image_height");
          var wds_width = wds_imageWidth;
          if (wds_origWidth <= wds_imageWidth) {
            wds_width = wds_origWidth;
          }
          var wds_height = wds_imageHeight;
          if (wds_origHeight <= wds_imageHeight) {
            wds_height = wds_origHeight;
          }
          jQuery(this).css({
            maxWidth: (parseFloat(wds_imageWidth) * ratio) + "px",
            maxHeight: (parseFloat(wds_imageHeight) * ratio) + "px",
          });
          if (jQuery(this).attr("wds_scale") != "on") {
            jQuery(this).css({
              width: (parseFloat(wds_imageWidth) * ratio) + "px",
              height: (parseFloat(wds_imageHeight) * ratio) + "px"
            });
          }
          else if (wds_origWidth <= wds_imageWidth || wds_origHeight <= wds_imageHeight) {
            if (wds_origWidth / wds_imageWidth > wds_origHeight / wds_imageHeight) {
              jQuery(this).css({
                width: (parseFloat(wds_imageWidth) * ratio) + "px"
              });
            }
            else {
              jQuery(this).css({
                height: (parseFloat(wds_imageHeight) * ratio) + "px"
              });
            }
          }

        });
        jQuery(".wds_slideshow_image_7 span, .wds_slideshow_image_7 i").each(function () {
          jQuery(this).css({
            fontSize: (parseFloat(jQuery(this).attr("wds_fsize")) * ratio) + "px",
            lineHeight: "1.25em",
            paddingLeft: (parseFloat(jQuery(this).attr("wds_fpaddingl")) * ratio) + "px",
            paddingRight: (parseFloat(jQuery(this).attr("wds_fpaddingr")) * ratio) + "px",
            paddingTop: (parseFloat(jQuery(this).attr("wds_fpaddingt")) * ratio) + "px",
            paddingBottom: (parseFloat(jQuery(this).attr("wds_fpaddingb")) * ratio) + "px",
          })
        });
      }
      function wds_genBgPos_7() {
        var bgSizeArray = [0, 70];
        var bgSize = bgSizeArray[Math.floor(Math.random() * bgSizeArray.length)];
        
        var bgPosXArray = ['left', 'right'];
        var bgPosYArray = ['top', 'bottom'];
        var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];
        var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];
        jQuery(".wds_slideshow_image_7").css({
          backgroundPosition: bgPosX + " " + bgPosY,
          backgroundSize : (100 + bgSize) + "%",
          webkitAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize,
          mozAnimation: '5s linear 0s alternate infinite wdszoom' + bgSize,
          animation: '5s linear 0s alternate infinite wdszoom' + bgSize
        });
      }
      jQuery(window).resize(function () {
        wds_resize_slider_7();
      });
      function wds_full_width_7() {
        var left = jQuery("#wds_container1_7").offset().left;
        jQuery(".wds_slideshow_image_wrap_7").css({
          left: (-left + 0) + "px",
          width: (jQuery(window).width() - 0) + "px",
          maxWidth: "none"
        });
      }
      jQuery(window).load(function () {
                jQuery(".wds_slideshow_image_7 span, .wds_slideshow_image_7 i").each(function () {
          jQuery(this).attr("wds_fpaddingl", jQuery(this).css("paddingLeft"));
          jQuery(this).attr("wds_fpaddingr", jQuery(this).css("paddingRight"));
          jQuery(this).attr("wds_fpaddingt", jQuery(this).css("paddingTop"));
          jQuery(this).attr("wds_fpaddingb", jQuery(this).css("paddingBottom"));
        });
        if (4000) {
          jQuery("#wds_container2_7").hover(function () {
            jQuery(".wds_right-ico_7").animate({left: 0}, 700, "swing");
            jQuery(".wds_left-ico_7").animate({left: 0}, 700, "swing");
            jQuery("#wds_slideshow_play_pause_7").animate({opacity: 1, filter: "Alpha(opacity=100)"}, 700, "swing");
          }, function () {
            jQuery(".wds_right-ico_7").css({left: 4000});
            jQuery(".wds_left-ico_7").css({left: -4000});
            jQuery("#wds_slideshow_play_pause_7").css({opacity: 0, filter: "Alpha(opacity=0)"});
          });
        }

        wds_resize_slider_7();
        jQuery("#wds_container2_7").css({visibility: 'visible'});
        jQuery(".wds_loading").hide();

      	        if (typeof jQuery().swiperight !== 'undefined') {
          if (jQuery.isFunction(jQuery().swiperight)) {
            jQuery('#wds_container1_7').swiperight(function () {
              wds_change_image_7(parseInt(jQuery('#wds_current_image_key_7').val()), (parseInt(jQuery('#wds_current_image_key_7').val()) - iterator_7()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_7').val()) - iterator_7()) % wds_data_7.length : wds_data_7.length - 1, wds_data_7);
              return false;
            });
          }
        }
        if (typeof jQuery().swipeleft !== 'undefined') {
          if (jQuery.isFunction(jQuery().swipeleft)) {
            jQuery('#wds_container1_7').swipeleft(function () {
              wds_change_image_7(parseInt(jQuery('#wds_current_image_key_7').val()), (parseInt(jQuery('#wds_current_image_key_7').val()) + iterator_7()) % wds_data_7.length, wds_data_7);
              return false;
            });
          }
        }

        var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
        var wds_click = isMobile ? 'touchend' : 'click';

        var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */
        jQuery('.wds_slideshow_filmstrip_7').bind(mousewheelevt, function(e) {
          var evt = window.event || e; /* Equalize event object.*/
          evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/
          var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/
          if (delta > 0) {
            /* Scroll up.*/
            jQuery(".wds_slideshow_filmstrip_left_7").trigger("click");
          }
          else {
            /* Scroll down.*/
            jQuery(".wds_slideshow_filmstrip_right_7").trigger("click");
          }
          return false;
        });
        jQuery(".wds_slideshow_filmstrip_right_7").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_7" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_7").position().left >= -(jQuery(".wds_slideshow_filmstrip_thumbnails_7").width() - jQuery(".wds_slideshow_filmstrip_7").width())) {
            jQuery(".wds_slideshow_filmstrip_left_7").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_7").position().left < -(jQuery(".wds_slideshow_filmstrip_thumbnails_7").width() - jQuery(".wds_slideshow_filmstrip_7").width() - 0)) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_7").animate({left: -(jQuery(".wds_slideshow_filmstrip_thumbnails_7").width() - jQuery(".wds_slideshow_filmstrip_7").width())}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_7").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_7").position().left - 0)}, 500, 'linear');
            }
          }
          /* Disable right arrow.*/
          window.setTimeout(function() {
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_7").position().left == -(jQuery(".wds_slideshow_filmstrip_thumbnails_7").width() - jQuery(".wds_slideshow_filmstrip_7").width())) {
              jQuery(".wds_slideshow_filmstrip_right_7").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        jQuery(".wds_slideshow_filmstrip_left_7").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_7" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_7").position().left < 0) {
            jQuery(".wds_slideshow_filmstrip_right_7").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_7").position().left > - 0) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_7").animate({left: 0}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_7").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_7").position().left + 0)}, 500, 'linear');
            }
          }
          /* Disable left arrow.*/
          window.setTimeout(function(){
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_7").position().left == 0) {
              jQuery(".wds_slideshow_filmstrip_left_7").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        /* Set filmstrip initial position.*/
        wds_set_filmstrip_pos_7(jQuery(".wds_slideshow_filmstrip_7").width());
        /* Play/pause.*/
        jQuery("#wds_slideshow_play_pause_7").on(wds_click, function () {
          if (jQuery(".wds_ctrl_btn_7").hasClass("fa-play")) {
            /* Play.*/
            jQuery(".wds_slideshow_play_pause_7").attr("title", "Pause");
            jQuery(".wds_slideshow_play_pause_7").attr("class", "wds_ctrl_btn_7 wds_slideshow_play_pause_7 fa fa-pause");
            play_7();
            if (0) {
              document.getElementById("wds_audio_7").play();
            }
          }
          else {
            /* Pause.*/
            /* Pause layers out effect.*/
            var current_key = jQuery('#wds_current_image_key_7').val();
            var current_slide_layers_count = wds_data_7[current_key]["slide_layers_count"];
            setTimeout(function() {
              for (var k = 0; k < current_slide_layers_count; k++) {
                clearTimeout(wds_clear_layers_effects_out_7[current_key][k]);
              }
            }, wds_duration_for_clear_effects_7);

            window.clearInterval(wds_playInterval_7);
            jQuery(".wds_slideshow_play_pause_7").attr("title", "Play");
            jQuery(".wds_slideshow_play_pause_7").attr("class", "wds_ctrl_btn_7 wds_slideshow_play_pause_7 fa fa-play");
            if (0) {
              document.getElementById("wds_audio_7").pause();
            }
            if (typeof jQuery().stop !== 'undefined') {
              if (jQuery.isFunction(jQuery().stop)) {
                jQuery(".wds_line_timer_7").stop();
              }
            }
          }
        });
        if (1) {
          play_7();
          jQuery(".wds_slideshow_play_pause_7").attr("title", "Pause");
          jQuery(".wds_slideshow_play_pause_7").attr("class", "wds_ctrl_btn_7 wds_slideshow_play_pause_7 fa fa-pause");
          if (0) {
            document.getElementById("wds_audio_7").play();
          }
        }
                function wds_preload_7(preload_key) {
          jQuery("<img/>")
            .load(function() { if (preload_key < wds_data_7.length - 1) wds_preload_7(preload_key + 1); })
            .error(function() { if (preload_key < wds_data_7.length - 1) wds_preload_7(preload_key + 1); })
            .attr("src", (!wds_data_7[preload_key]["is_video"] ? wds_data_7[preload_key]["image_url"] : ""));
        }
        wds_preload_7(0);
                var first_slide_layers_count_7 = wds_data_7[0]["slide_layers_count"];
        if (first_slide_layers_count_7) {
          /* Loop through layers in.*/
          for (var j = 0; j < first_slide_layers_count_7; j++) {
            set_layer_effect_in_onload_7(j);
          }
          /* Loop through layers out.*/
          for (var i = 0; i < first_slide_layers_count_7; i++) {
            set_layer_effect_out_onload_7(i);
          }
        }
      });
	    function wds_stop_animation_7() {
        window.clearInterval(wds_playInterval_7);
        /* Pause layers out effect.*/
        var current_key = jQuery('#wds_current_image_key_7').val();
        var current_slide_layers_count = wds_data_7[current_key]["slide_layers_count"];			
        setTimeout(function() {
          for (var k = 0; k < current_slide_layers_count; k++) {
            clearTimeout(wds_clear_layers_effects_out_7[current_key][k]);
          }
        }, wds_duration_for_clear_effects_7);
        if (0) {
          document.getElementById("wds_audio_7").pause();
        }
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_7").stop();
          }
        }
			}
      function wds_play_animation_7() {
        if (jQuery(".wds_ctrl_btn_7").hasClass("fa-play")) {
          return;
        }
		    play_7();
        if (0) {
          document.getElementById("wds_audio_7").play();
        }	 
      }
      /* Effects in part.*/		
		  function set_layer_effect_in_onload_7(j) {
		    wds_clear_layers_effects_in_7[0][j] = setTimeout(function(){
          if (wds_data_7[0]["layer_" + j + "_type"] != 'social') {
            jQuery('#wds_7_slide' + wds_data_7[0]["id"] + '_layer' + wds_data_7[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_7[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_7[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
		        jQuery('#wds_7_slide' + wds_data_7[0]["id"] + '_layer' + wds_data_7[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_7[0]["layer_" + j + "_layer_effect_in"] + ' animated');
		      }
          else {
            jQuery('#wds_7_slide' + wds_data_7[0]["id"] + '_layer' + wds_data_7[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_7[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_7[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');	
            jQuery('#wds_7_slide' + wds_data_7[0]["id"] + '_layer' + wds_data_7[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_7[0]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_7[0]["layer_" + j + "_social_button"] + ' animated');
          }
		    }, wds_data_7[0]["layer_" + j + "_start"]);
		  }
      /* Effects out part.*/
		  function set_layer_effect_out_onload_7(i) {
			  wds_clear_layers_effects_out_7[0][i] = setTimeout(function() {
          if (wds_data_7[0]["layer_" + i + "_layer_effect_out"] != 'none') {
            if (wds_data_7[0]["layer_" + i + "_type"] != 'social') {
              jQuery('#wds_7_slide' + wds_data_7[0]["id"] + '_layer' + wds_data_7[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_7[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_7[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
              jQuery('#wds_7_slide' + wds_data_7[0]["id"] + '_layer' + wds_data_7[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_7[0]["layer_" + i + "_layer_effect_out"] + ' animated');
            }
            else {
              jQuery('#wds_7_slide' + wds_data_7[0]["id"] + '_layer' + wds_data_7[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_7[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_7[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
              jQuery('#wds_7_slide' + wds_data_7[0]["id"] + '_layer' + wds_data_7[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_7[0]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_7[0]["layer_" + i + "_social_button"] + ' animated');
            }
          }
		    }, wds_data_7[0]["layer_" + i + "_end"]);
		  }
      function play_7() {
        if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_7').hasClass('fa-pause'))) {
          jQuery(".wds_line_timer_7").animate({
            width: "100%"
          }, {
            duration: 5000,
            specialEasing: {width: "linear"}
          });
        }
        window.clearInterval(wds_playInterval_7);
        /* Play.*/
        wds_playInterval_7 = setInterval(function () {
          var iterator = 1;
          if (0) {
            iterator = Math.floor((wds_data_7.length - 1) * Math.random() + 1);
          }
          wds_change_image_7(parseInt(jQuery('#wds_current_image_key_7').val()), (parseInt(jQuery('#wds_current_image_key_7').val()) + iterator) % wds_data_7.length, wds_data_7)
        }, '5000');
      }
      jQuery(window).focus(function() {
        if (!jQuery(".wds_ctrl_btn_7").hasClass("fa-play")) {
          if (1) {
            play_7();
          }
        }
        var i_7 = 0;
        jQuery(".wds_slider_7").children("span").each(function () {
          if (jQuery(this).css('opacity') == 1) {
            jQuery("#wds_current_image_key_7").val(i_7);
          }
          i_7++;
        });
      });
      jQuery(window).blur(function() {
        wds_event_stack_7 = [];
        window.clearInterval(wds_playInterval_7);
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_7").stop();
          }
        }
      });
    </script>
    </aside><aside id="wdslider-34" class="widget wdslider"><h1 class="widget-title">Piping Press</h1>    <style>
      #wds_container1_8 #wds_container2_8 {
        text-align: center;
        margin: 0px ;
        visibility: hidden;
              }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_image_wrap_8 * {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_image_wrap_8 {
        background-color: rgba(0, 0, 0, 0.00);
        border-width: 0px;
        border-style: none;
        border-color: #000000;
        border-radius: ;
        border-collapse: collapse;
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100%;
        max-width: 800px;
        box-shadow: ;
        overflow: hidden;
        z-index: 0;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_image_8 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        vertical-align: middle;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_image_container_8 {
        display: table;
        position: absolute;
        text-align: center;
        none: 0px;
        vertical-align: middle;
        width: 100%;
        height: inherit;
      }

            @media only screen and (min-width: 0px) and (max-width: 320px) {
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_thumbnails_8 {
          height: 16px;
          width: 64px;
        }
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_8 {
          font-size: 12px;
          width: 12px;
          margin: 2px;
          height: 12px;
        }
        #wds_container1_8 #wds_container2_8 .wds_pp_btn_cont {  
          font-size: 20px;
          height: 20px;
          width: 20px;
        }
        #wds_container1_8 #wds_container2_8 .wds_left_btn_cont,
        #wds_container1_8 #wds_container2_8 .wds_right_btn_cont {
          height: 20px;
          font-size: 20px;
          width: 20px;
        }
      }
              @media only screen and (min-width: 321px) and (max-width: 480px) {
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_thumbnails_8 {
          height: 22px;
          width: 88px;
        }
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_8 {
          font-size: 18px;
          width: 18px;
          margin: 2px;
          height: 18px;
        }
        #wds_container1_8 #wds_container2_8 .wds_pp_btn_cont {  
          font-size: 30px;
          height: 30px;
          width: 30px;
        }
        #wds_container1_8 #wds_container2_8 .wds_left_btn_cont,
        #wds_container1_8 #wds_container2_8 .wds_right_btn_cont {
          height: 30px;
          font-size: 30px;
          width: 30px;
        }
      }
              @media only screen and (min-width: 481px) and (max-width: 640px) {
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_thumbnails_8 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_8 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_8 #wds_container2_8 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_8 #wds_container2_8 .wds_left_btn_cont,
        #wds_container1_8 #wds_container2_8 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 641px) and (max-width: 768px) {
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_thumbnails_8 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_8 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_8 #wds_container2_8 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_8 #wds_container2_8 .wds_left_btn_cont,
        #wds_container1_8 #wds_container2_8 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 769px) and (max-width: 800px) {
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_thumbnails_8 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_8 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_8 #wds_container2_8 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_8 #wds_container2_8 .wds_left_btn_cont,
        #wds_container1_8 #wds_container2_8 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 801px) and (max-width: 1024px) {
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_thumbnails_8 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_8 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_8 #wds_container2_8 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_8 #wds_container2_8 .wds_left_btn_cont,
        #wds_container1_8 #wds_container2_8 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1025px) and (max-width: 1366px) {
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_thumbnails_8 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_8 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_8 #wds_container2_8 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_8 #wds_container2_8 .wds_left_btn_cont,
        #wds_container1_8 #wds_container2_8 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1367px) and (max-width: 1824px) {
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_thumbnails_8 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_8 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_8 #wds_container2_8 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_8 #wds_container2_8 .wds_left_btn_cont,
        #wds_container1_8 #wds_container2_8 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
              @media only screen and (min-width: 1825px) and (max-width: 3000px) {
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_thumbnails_8 {
          height: 26px;
          width: 104px;
        }
        #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_8 {
          font-size: 20px;
          width: 20px;
          margin: 3px;
          height: 20px;
        }
        #wds_container1_8 #wds_container2_8 .wds_pp_btn_cont {  
          font-size: 40px;
          height: 40px;
          width: 40px;
        }
        #wds_container1_8 #wds_container2_8 .wds_left_btn_cont,
        #wds_container1_8 #wds_container2_8 .wds_right_btn_cont {
          height: 40px;
          font-size: 40px;
          width: 40px;
        }
      }
        
      #wds_container1_8 #wds_container2_8 .wds_slideshow_video_8 {
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        width: 100%;
        vertical-align: middle;
        display: inline-block;
      }
      #wds_container1_8 #wds_container2_8 #wds_slideshow_play_pause_8 {  
        color: #000000;
        cursor: pointer;
        position: relative;
        z-index: 13;
        width: inherit;
        height: inherit;
        font-size: inherit;
      }
      #wds_container1_8 #wds_container2_8 #wds_slideshow_play_pause_8:hover {  
        color: #000000;
        cursor: pointer;
      }
      #wds_container1_8 #wds_container2_8 .wds_left-ico_8,
      #wds_container1_8 #wds_container2_8 .wds_right-ico_8 {
        background-color: rgba(255, 255, 255, 0.00);
        border-radius: 20px;
        border: 0px none #FFFFFF;
        border-collapse: separate;
        color: #000000;
        left: 0;
        top: 0;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        cursor: pointer;
        line-height: 0;
        width: inherit;
        height: inherit;
        font-size: inherit;
        position: absolute;
      }
      #wds_container1_8 #wds_container2_8 .wds_left-ico_8 {
        left: -4000px;
      }
      #wds_container1_8 #wds_container2_8 .wds_right-ico_8 {
        left: 4000px;
      }
            #wds_container1_8 #wds_container2_8 #wds_slideshow_play_pause_8 {
        opacity: 0;
        filter: "Alpha(opacity=0)";
      }
      #wds_container1_8 #wds_container2_8 .wds_left-ico_8:hover,
      #wds_container1_8 #wds_container2_8 .wds_right-ico_8:hover {
        color: #000000;
        cursor: pointer;
      }

      /* Filmstrip*/
      #wds_container1_8 #wds_container2_8 .wds_slideshow_filmstrip_container_8 {
        background-color: #000000 !important;
        display: /*table*/block;
        height: 0px;
        position: absolute;
        width: 100%;
        z-index: 10105;
        none: 0;
        overflow: hidden;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_filmstrip_8 {
        overflow: hidden;
        position: absolute;
        width: 100%;
        width: 100%;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_filmstrip_thumbnails_8 {
        height: inherit;
        left: 0px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        width: 0px;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_filmstrip_thumbnail_8 {
        position: relative;
        background: none;
        cursor: pointer;
        float: left;
        height: inherit;
        margin: 0 0px;
        width: 0px;
        overflow: hidden;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_thumb_active_8 div {
        opacity: 1;
        filter: Alpha(opacity=100);
        border: 0px none #FFFFFF;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_thumb_deactive_8 {
        opacity: 0.50;
        filter: Alpha(opacity=50);
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_filmstrip_thumbnail_img_8 {
        display: block;
        opacity: 1;
        filter: Alpha(opacity=100);
        padding: 0 !important;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 0px;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_filmstrip_left_8,
      #wds_container1_8 #wds_container2_8 .wds_slideshow_filmstrip_right_8 {
        background-color: rgba(0, 0, 0, 0.5);
        cursor: pointer;
        display: table;
        vertical-align: middle;
        width: 20px;
        z-index: 10000;
        position: absolute;
        height: inherit; 
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_filmstrip_left_8 {
        left: 0;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_filmstrip_right_8 {
        right: 0;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_filmstrip_left_8 i,
      #wds_container1_8 #wds_container2_8 .wds_slideshow_filmstrip_right_8 i {
        color: #FFFFFF;
        display: table-cell;
        font-size: 20px;
        vertical-align: middle;
      }

      #wds_container1_8 #wds_container2_8 .wds_none_selectable_8 {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }
      #wds_container1_8 #wds_container2_8 .wds_slide_container_8 {
        display: table-cell;
        margin: 0 auto;
        position: absolute;
        vertical-align: middle;
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
      #wds_container1_8 #wds_container2_8 .wds_slide_bg_8 {
        margin: 0 auto;
        width: inherit;
        height: inherit;
      }
      #wds_container1_8 #wds_container2_8 .wds_slider_8 {
        height: inherit;
        width: inherit;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_image_spun_8 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=100);
        opacity: 1;
        position: absolute;
        vertical-align: middle;
        z-index: 2;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_image_second_spun_8 {
        width: inherit;
        height: inherit;
        display: table-cell;
        filter: Alpha(opacity=0);
        opacity: 0;
        position: absolute;
        vertical-align: middle;
        z-index: 1;
      }
      #wds_container1_8 #wds_container2_8 .wds_grid_8 {
        display: none;
        height: 100%;
        overflow: hidden;
        position: absolute;
        width: 100%;
      }
      #wds_container1_8 #wds_container2_8 .wds_gridlet_8 {
        opacity: 1;
        filter: Alpha(opacity=100);
        position: absolute;
      }

      /* Dots.*/
      #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_container_8 {
        display: block;
        overflow: hidden;
        position: absolute;
        width: 100%;
        none: 0px;
        /*z-index: 17;*/
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_thumbnails_8 {
        left: 0px;
        font-size: 0;
        margin: 0 auto;
        position: relative;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_8 {
        display: inline-block;
        position: relative;
        color: #FFFFFF;
        cursor: pointer;
        z-index: 17;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_active_8 {
        color: #FFFFFF;
        opacity: 1;
        filter: Alpha(opacity=100);
              }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_dots_deactive_8 {
              }

      /* Timer.*/
      #wds_container1_8 #wds_container2_8 .wds_line_timer_container_8 {
        display: block;
        position: absolute;
        overflow: hidden;
        none: 0;
        z-index: 16;
        width: 100%;
        height: 5px;
      }
      #wds_container1_8 #wds_container2_8 .wds_line_timer_8 {
        z-index: 17;
        width: 0;
        height: 5px;
        background: #FFFFFF;
        opacity: 0.50;
        filter: alpha(opacity=50);
      }

      #wds_container1_8 #wds_container2_8 .wds_slideshow_image_spun1_8 {
        display: table; 
        width: inherit; 
        height: inherit;
      }
      #wds_container1_8 #wds_container2_8 .wds_slideshow_image_spun2_8 {
        display: table-cell; 
        vertical-align: middle; 
        text-align: center;
        overflow: hidden;
      }
          </style>
    <script>
      var wds_data_8 = [];
      var wds_event_stack_8 = [];
      var wds_clear_layers_effects_in_8 = [];
      var wds_clear_layers_effects_out_8 = [];
      var wds_clear_layers_effects_out_before_change_8 = [];
      if (0) {
        var wds_duration_for_change_8 = 500;
        var wds_duration_for_clear_effects_8 = 530;
      }
      else {
        var wds_duration_for_change_8 = 0;
        var wds_duration_for_clear_effects_8 = 0;
      }
              wds_clear_layers_effects_in_8["0"] = [];
        wds_clear_layers_effects_out_8["0"] = [];
        wds_clear_layers_effects_out_before_change_8["0"] = [];
        wds_data_8["0"] = [];
        wds_data_8["0"]["id"] = "206";
        wds_data_8["0"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//Piping Press Logo New.jpg";
        wds_data_8["0"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd//thumb/Piping Press Logo New.jpg";
        wds_data_8["0"]["is_video"] = "";
        wds_data_8["0"]["slide_layers_count"] = 0;
                    wds_data_8["0"]["layer_0_id"] = "43";
            wds_data_8["0"]["layer_0_layer_effect_in"] = "none";
            wds_data_8["0"]["layer_0_duration_eff_in"] = "1000";
            wds_data_8["0"]["layer_0_layer_effect_out"] = "none";
            wds_data_8["0"]["layer_0_duration_eff_out"] = "1000";
            wds_data_8["0"]["layer_0_social_button"] = "";
            wds_data_8["0"]["layer_0_start"] = "1000";
            wds_data_8["0"]["layer_0_end"] = "3000";
            wds_data_8["0"]["layer_0_type"] = "text";
            wds_data_8["0"]["slide_layers_count"] ++;
                    wds_clear_layers_effects_in_8["1"] = [];
        wds_clear_layers_effects_out_8["1"] = [];
        wds_clear_layers_effects_out_before_change_8["1"] = [];
        wds_data_8["1"] = [];
        wds_data_8["1"]["id"] = "207";
        wds_data_8["1"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/Piping Press Logo New.jpg";
        wds_data_8["1"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/Piping Press Logo New.jpg";
        wds_data_8["1"]["is_video"] = "";
        wds_data_8["1"]["slide_layers_count"] = 0;
                    wds_data_8["1"]["layer_0_id"] = "47";
            wds_data_8["1"]["layer_0_layer_effect_in"] = "none";
            wds_data_8["1"]["layer_0_duration_eff_in"] = "1000";
            wds_data_8["1"]["layer_0_layer_effect_out"] = "none";
            wds_data_8["1"]["layer_0_duration_eff_out"] = "1000";
            wds_data_8["1"]["layer_0_social_button"] = "";
            wds_data_8["1"]["layer_0_start"] = "1000";
            wds_data_8["1"]["layer_0_end"] = "3000";
            wds_data_8["1"]["layer_0_type"] = "text";
            wds_data_8["1"]["slide_layers_count"] ++;
                    wds_clear_layers_effects_in_8["2"] = [];
        wds_clear_layers_effects_out_8["2"] = [];
        wds_clear_layers_effects_out_before_change_8["2"] = [];
        wds_data_8["2"] = [];
        wds_data_8["2"]["id"] = "208";
        wds_data_8["2"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/Piping Press Logo New.jpg";
        wds_data_8["2"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/Piping Press Logo New.jpg";
        wds_data_8["2"]["is_video"] = "";
        wds_data_8["2"]["slide_layers_count"] = 0;
                    wds_data_8["2"]["layer_0_id"] = "48";
            wds_data_8["2"]["layer_0_layer_effect_in"] = "none";
            wds_data_8["2"]["layer_0_duration_eff_in"] = "1000";
            wds_data_8["2"]["layer_0_layer_effect_out"] = "none";
            wds_data_8["2"]["layer_0_duration_eff_out"] = "1000";
            wds_data_8["2"]["layer_0_social_button"] = "";
            wds_data_8["2"]["layer_0_start"] = "1000";
            wds_data_8["2"]["layer_0_end"] = "3000";
            wds_data_8["2"]["layer_0_type"] = "text";
            wds_data_8["2"]["slide_layers_count"] ++;
                    wds_clear_layers_effects_in_8["3"] = [];
        wds_clear_layers_effects_out_8["3"] = [];
        wds_clear_layers_effects_out_before_change_8["3"] = [];
        wds_data_8["3"] = [];
        wds_data_8["3"]["id"] = "209";
        wds_data_8["3"]["image_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/Piping Press Logo New.jpg";
        wds_data_8["3"]["thumb_url"] = "http://pipingpress.com/wp-content/uploads/slider-wd/thumb/Piping Press Logo New.jpg";
        wds_data_8["3"]["is_video"] = "";
        wds_data_8["3"]["slide_layers_count"] = 0;
                    wds_data_8["3"]["layer_0_id"] = "49";
            wds_data_8["3"]["layer_0_layer_effect_in"] = "none";
            wds_data_8["3"]["layer_0_duration_eff_in"] = "1000";
            wds_data_8["3"]["layer_0_layer_effect_out"] = "none";
            wds_data_8["3"]["layer_0_duration_eff_out"] = "1000";
            wds_data_8["3"]["layer_0_social_button"] = "";
            wds_data_8["3"]["layer_0_start"] = "1000";
            wds_data_8["3"]["layer_0_end"] = "3000";
            wds_data_8["3"]["layer_0_type"] = "text";
            wds_data_8["3"]["slide_layers_count"] ++;
                
    </script>
    <div id="wds_container1_8">
      <div class="wds_loading">
        <img src="https://pipingpress.com/wp-content/plugins/slider-wd/images/ajax_loader.png" class="wds_loading_img" style="float: none; width:50px;" />
      </div>
      <div id="wds_container2_8">
        <div class="wds_slideshow_image_wrap_8">
                    <div id="wds_slideshow_image_container_8" class="wds_slideshow_image_container_8">
                        <div class="wds_slide_container_8">
              <div class="wds_slide_bg_8">
                <div class="wds_slider_8">
                                  <span class="wds_slideshow_image_spun_8" id="image_id_8_206">
                    <span class="wds_slideshow_image_spun1_8">
                      <span class="wds_slideshow_image_spun2_8">
                                                <div img_id="wds_slideshow_image_8"
                             class="wds_slideshow_image_8"
                             onclick="window.open(' http://ppresshop.myshopify.com', '_blank')"
                             style="cursor: pointer;background-image: url('http://pipingpress.com/wp-content/uploads/slider-wd//Piping Press Logo New.jpg');">
                                                            <style>
                                    #wds_container1_8 #wds_container2_8 #wds_8_slide206_layer43 {
                                      font-size: 80px;
                                      line-height: 1.25em;
                                      padding: 5px;
                                    }
                                    #wds_container1_8 #wds_container2_8 .wds_layer_43{
                                      opacity: 1;
                                      filter: "Alpha(opacity=100)" !important;
                                    }
                                  </style>
                                <span class="wds_layer_43" id="wds_8_slide206_layer43" wds_fsize="80"
                                      style="word-break: keep-all; text-align: initial; cursor: pointer; opacity: 1; filter: 'Alpha(opacity=100)'; display: inline-block; position: absolute; left: 56.25%; top: 66.666666666667%; z-index: 1; color: #FFDD88; font-family: arial; font-weight: bold; background-color: rgba(0, 0, 0, 0.00); border: 2px none #FFFFFF; border-radius: 2px; box-shadow: "
                                      onclick="window.open(' http://ppresshop.myshopify.com', '_blank');event.stopPropagation();">LISTEN</span>
                                                          </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_8" id="image_id_8_207">
                    <span class="wds_slideshow_image_spun1_8">
                      <span class="wds_slideshow_image_spun2_8">
                                                <div img_id="wds_slideshow_image_second_8"
                             class="wds_slideshow_image_8"
                             onclick="window.open(' http://ppresshop.myshopify.com', '_blank')"
                             style="cursor: pointer;">
                                                            <style>
                                    #wds_container1_8 #wds_container2_8 #wds_8_slide207_layer47 {
                                      font-size: 80px;
                                      line-height: 1.25em;
                                      padding: 5px;
                                    }
                                    #wds_container1_8 #wds_container2_8 .wds_layer_47{
                                      opacity: 1;
                                      filter: "Alpha(opacity=100)" !important;
                                    }
                                  </style>
                                <span class="wds_layer_47" id="wds_8_slide207_layer47" wds_fsize="80"
                                      style="word-break: keep-all; text-align: initial; cursor: pointer; opacity: 1; filter: 'Alpha(opacity=100)'; display: inline-block; position: absolute; left: 56.25%; top: 66.666666666667%; z-index: 1; color: #FFDD88; font-family: arial; font-weight: bold; background-color: rgba(0, 0, 0, 0.00); border: 2px none #FFFFFF; border-radius: 2px; box-shadow: "
                                      onclick="window.open(' http://ppresshop.myshopify.com', '_blank');event.stopPropagation();">LEARN</span>
                                                          </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_8" id="image_id_8_208">
                    <span class="wds_slideshow_image_spun1_8">
                      <span class="wds_slideshow_image_spun2_8">
                                                <div img_id="wds_slideshow_image_second_8"
                             class="wds_slideshow_image_8"
                             onclick="window.open(' http://ppresshop.myshopify.com', '_blank')"
                             style="cursor: pointer;">
                                                            <style>
                                    #wds_container1_8 #wds_container2_8 #wds_8_slide208_layer48 {
                                      font-size: 80px;
                                      line-height: 1.25em;
                                      padding: 5px;
                                    }
                                    #wds_container1_8 #wds_container2_8 .wds_layer_48{
                                      opacity: 1;
                                      filter: "Alpha(opacity=100)" !important;
                                    }
                                  </style>
                                <span class="wds_layer_48" id="wds_8_slide208_layer48" wds_fsize="80"
                                      style="word-break: keep-all; text-align: initial; cursor: pointer; opacity: 1; filter: 'Alpha(opacity=100)'; display: inline-block; position: absolute; left: 56.25%; top: 66.666666666667%; z-index: 1; color: #FFDD88; font-family: arial; font-weight: bold; background-color: rgba(0, 0, 0, 0.00); border: 2px none #FFFFFF; border-radius: 2px; box-shadow: "
                                      onclick="window.open(' http://ppresshop.myshopify.com', '_blank');event.stopPropagation();">PLAY</span>
                                                          </div>
                      </span>
                    </span>
                  </span>
                                    <span class="wds_slideshow_image_second_spun_8" id="image_id_8_209">
                    <span class="wds_slideshow_image_spun1_8">
                      <span class="wds_slideshow_image_spun2_8">
                                                <div img_id="wds_slideshow_image_second_8"
                             class="wds_slideshow_image_8"
                             onclick="window.open(' http://ppresshop.myshopify.com', '_blank')"
                             style="cursor: pointer;">
                                                            <style>
                                    #wds_container1_8 #wds_container2_8 #wds_8_slide209_layer49 {
                                      font-size: 80px;
                                      line-height: 1.25em;
                                      padding: 5px;
                                    }
                                    #wds_container1_8 #wds_container2_8 .wds_layer_49{
                                      opacity: 1;
                                      filter: "Alpha(opacity=100)" !important;
                                    }
                                  </style>
                                <span class="wds_layer_49" id="wds_8_slide209_layer49" wds_fsize="80"
                                      style="word-break: keep-all; text-align: initial; cursor: pointer; opacity: 1; filter: 'Alpha(opacity=100)'; display: inline-block; position: absolute; left: 56.25%; top: 66.666666666667%; z-index: 1; color: #FFDD88; font-family: arial; font-weight: bold; background-color: rgba(0, 0, 0, 0.00); border: 2px none #FFFFFF; border-radius: 2px; box-shadow: "
                                      onclick="window.open(' http://ppresshop.myshopify.com', '_blank');event.stopPropagation();">SHOP</span>
                                                          </div>
                      </span>
                    </span>
                  </span>
                                  <input type="hidden" id="wds_current_image_key_8" value="0" />
                </div>
              </div>
            </div>
                      </div>
                  </div>
      </div>
    </div>

    <script>
      var wds_trans_in_progress_8 = false;
      var wds_transition_duration_8 = 250;
      var wds_playInterval_8;
      var progress = 0;
      /* Stop autoplay.*/
      window.clearInterval(wds_playInterval_8);
      var wds_current_key_8 = '0';
      var wds_current_filmstrip_pos_8 = 0;
      /* Set filmstrip initial position.*/
      function wds_set_filmstrip_pos_8(filmStripWidth) {
        var selectedImagePos = -wds_current_filmstrip_pos_8 - (jQuery(".wds_slideshow_filmstrip_thumbnail_8").width() + 0) / 2;
        var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".wds_slideshow_filmstrip_thumbnails_8").width(), selectedImagePos + filmStripWidth / 2));
        jQuery(".wds_slideshow_filmstrip_thumbnails_8").animate({
            left: imagesContainerLeft
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_8(); }
          });
      }
      function wds_move_filmstrip_8() {
        var image_left = jQuery(".wds_slideshow_thumb_active_8").position().left;
        var image_right = jQuery(".wds_slideshow_thumb_active_8").position().left + jQuery(".wds_slideshow_thumb_active_8").outerWidth(true);
        var wds_filmstrip_width = jQuery(".wds_slideshow_filmstrip_8").outerWidth(true);
        var wds_filmstrip_thumbnails_width = jQuery(".wds_slideshow_filmstrip_thumbnails_8").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_filmstrip_thumbnails_8").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_filmstrip_thumbnails_8").position().left) + wds_filmstrip_width;
        if (wds_filmstrip_width > wds_filmstrip_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_8").animate({
            left: -image_left
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_8(); }
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_filmstrip_thumbnails_8").animate({
            left: -(image_right - wds_filmstrip_width)
          }, {
            duration: 500,
            complete: function () { wds_filmstrip_arrows_8(); }
          });
        }
      }
      function wds_move_dots_8() {
        var image_left = jQuery(".wds_slideshow_dots_active_8").position().left;
        var image_right = jQuery(".wds_slideshow_dots_active_8").position().left + jQuery(".wds_slideshow_dots_active_8").outerWidth(true);
        var wds_dots_width = jQuery(".wds_slideshow_dots_container_8").outerWidth(true);
        var wds_dots_thumbnails_width = jQuery(".wds_slideshow_dots_thumbnails_8").outerWidth(true);
        var long_filmstrip_cont_left = jQuery(".wds_slideshow_dots_thumbnails_8").position().left;
        var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_dots_thumbnails_8").position().left) + wds_dots_width;
        if (wds_dots_width > wds_dots_thumbnails_width) {
          return;
        }
        if (image_left < Math.abs(long_filmstrip_cont_left)) {
          jQuery(".wds_slideshow_dots_thumbnails_8").animate({
            left: -image_left
          }, {
            duration: 500
          });
        }
        else if (image_right > long_filmstrip_cont_right) {
          jQuery(".wds_slideshow_dots_thumbnails_8").animate({
            left: -(image_right - wds_dots_width)
          }, {
            duration: 500
          });
        }
      }
      /* Show/hide filmstrip arrows.*/
      function wds_filmstrip_arrows_8() {
        if (jQuery(".wds_slideshow_filmstrip_thumbnails_8").width() < jQuery(".wds_slideshow_filmstrip_8").width()) {
          jQuery(".wds_slideshow_filmstrip_left_8").hide();
          jQuery(".wds_slideshow_filmstrip_right_8").hide();
        }
        else {
          jQuery(".wds_slideshow_filmstrip_left_8").show();
          jQuery(".wds_slideshow_filmstrip_right_8").show();
        }
      }
      function wds_testBrowser_cssTransitions_8() {
        return wds_testDom_8('Transition');
      }
      function wds_testBrowser_cssTransforms3d_8() {
        return wds_testDom_8('Perspective');
      }
      function wds_testDom_8(prop) {
        /* Browser vendor CSS prefixes.*/
        var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-'];
        /* Browser vendor DOM prefixes.*/
        var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml'];
        var i = domPrefixes.length;
        while (i--) {
          if (typeof document.body.style[domPrefixes[i] + prop] !== 'undefined') {
            return true;
          }
        }
        return false;
      }
      function wds_set_dots_class_8() {
        jQuery(".wds_slideshow_dots_8").removeClass("wds_slideshow_dots_active_8").addClass("wds_slideshow_dots_deactive_8");
        jQuery("#wds_dots_" + wds_current_key_8 + "_8").removeClass("wds_slideshow_dots_deactive_8").addClass("wds_slideshow_dots_active_8");
                jQuery(".wds_slideshow_dots_8").removeClass("fa-square").addClass("fa-square-o");
        jQuery("#wds_dots_" + wds_current_key_8 + "_8").removeClass("fa-square-o").addClass("fa-square");
              }
      function wds_grid3d_8(cols, rows, tz, wrx, wry, nty, ntx, nry, nrx, current_image_class, next_image_class, direction, random, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_8()) {
          return wds_fallback_8(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_8 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_8").removeClass("wds_slideshow_thumb_active_8").addClass("wds_slideshow_thumb_deactive_8");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_8 + "_8").removeClass("wds_slideshow_thumb_deactive_8").addClass("wds_slideshow_thumb_active_8");
        wds_set_dots_class_8();

        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_8) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, src2, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;

          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_8" />').css({
            width : "100%",
            height : "100%",
            transform : 'translateZ(' + tz + 'px)',
            backfaceVisibility : 'hidden',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_8" />').css({
            width : jQuery(".wds_slideshow_image_spun_8").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_8").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_8").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_8").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_8").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          var grid_div2 = jQuery('<div class="wds_gridlet_8" />').css({
            width : "100%",
            height : "100%",
            backfaceVisibility : 'hidden',
            transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)',
            overflow: 'hidden'
          }).append(jQuery('<div class="wds_gridlet_8" />').css({
            width : jQuery(".wds_slideshow_image_spun_8").width() + "px",
            height : jQuery(".wds_slideshow_image_spun_8").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src2,
            backgroundSize: jQuery(".wds_slideshow_image_8").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_8").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_8").css("background-color"),*/
            backgroundRepeat: 'no-repeat',
          }));
          return jQuery('<div class="wds_gridlet_8" />').css({
            width : width,
            height : height,
            top : top,
            left : left,
            transition : 'all ' + wds_transition_duration_8 + 'ms ' + easing + ' ' + delay + 'ms',
            transform: 'translateZ(-' + tz + 'px)',
            transformStyle: 'preserve-3d',
          }).append(grid_div).append(grid_div2);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        var next_img = jQuery(next_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_8').css('perspective', 1000);
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_8");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),
            imgSrcNext = next_img.css('background-image'),
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_8").width() - cur_img.width()) / 2;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_8").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgSrcNext, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);        
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 1);
        /* After transition.*/
         var cccount = 0;
         var obshicccount = cols * rows;
         grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
         function wds_after_trans_each() {
           if (++cccount == obshicccount) {
             wds_after_trans();
           }
         }
         function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_8 = false;
          if (typeof wds_event_stack_8 !== 'undefined') {
            if (wds_event_stack_8.length > 0) {
              key = wds_event_stack_8[0].split("-");
              wds_event_stack_8.shift();
              wds_change_image_8(key[0], key[1], wds_data_8, true);
            }
          }
        }
      }
      function wds_slic3DH_8(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_8(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_8(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_slic3DV_8(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_8(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_grid3d_8(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      
      function wds_slicR3DH_8(current_image_class, next_image_class, direction) {         
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_grid3d_8(1, 5, dimension, 0, -90, 0, dimension, 90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_8(1, 5, dimension, 0, 90, 0, -dimension, -90, 0, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_slicR3DV_8(current_image_class, next_image_class, direction) {
        var dimension = jQuery(current_image_class).height() / 2;
        if (direction == 'right') {
          wds_grid3d_8(10, 1, dimension, -90, 0, -dimension, 0, 0, 90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_grid3d_8(10, 1, dimension, 90, 0, dimension, 0, 0, -90, current_image_class, next_image_class, direction, 1, 'ease-in-out');
        }
      }
      function wds_parallelSlide_8(ni_left, ni_top, tx, ty, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_8()) {
          return wds_fallback_8(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_8()) {
          return wds_fallback3d_8(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_8 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_8").removeClass("wds_slideshow_thumb_active_8").addClass("wds_slideshow_thumb_deactive_8");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_8 + "_8").removeClass("wds_slideshow_thumb_deactive_8").addClass("wds_slideshow_thumb_active_8");
        wds_set_dots_class_8();
        jQuery(current_image_class).css({
          position : 'absolute',
          top : '0px',
          left : '0px',
          position : 'absolute',
        });
        jQuery(next_image_class).css({
          position : 'absolute',
          top : ni_top + 'px',
          left : ni_left + 'px',
          'opacity' : 1, 
          filter : 'Alpha(opacity=100)',
          position : 'absolute',
        });
        jQuery(".wds_slider_8").css({
          position : 'relative',
          'backface-visibility': 'hidden'
        });
        jQuery(".wds_slide_bg_8").css({
          overflow : 'hidden',
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery('.wds_slider_8').css({
            transition : 'all ' + wds_transition_duration_8 + 'ms ' + easing,
            transform : 'translateX(' + tx + 'px) translateY(' + ty + 'px)',
          });
        }, 1);
        /* After transition.*/
        jQuery('.wds_slider_8').one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_8").removeAttr('style');
          jQuery(".wds_slide_bg_8").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_8 = false;
          if (typeof wds_event_stack_8 !== 'undefined') {
            if (wds_event_stack_8.length > 0) {
              key = wds_event_stack_8[0].split("-");
              wds_event_stack_8.shift();
              wds_change_image_8(key[0], key[1], wds_data_8, true);
            }
          }
        }
      }
      function wds_parallelSlideH_8(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_8(width, 0, -width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_8(-width, 0, width, 0, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_parallelSlideV_8(current_image_class, next_image_class, direction) {
        var width = jQuery(current_image_class).width();
        var height = jQuery(current_image_class).height();
        if (direction == 'right') {
          wds_parallelSlide_8(0, height, 0, -height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
        else if (direction == 'left') {
          wds_parallelSlide_8(0, -height, 0, height, current_image_class, next_image_class, direction, 'ease-in-out');
        }
      }
      function wds_cube_8(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction, easing) {
        /* If browser does not support 3d transforms/CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_8()) {
          return wds_fallback_8(current_image_class, next_image_class, direction);
        }
        if (!wds_testBrowser_cssTransforms3d_8()) {
          return wds_fallback3d_8(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_8 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_8").removeClass("wds_slideshow_thumb_active_8").addClass("wds_slideshow_thumb_deactive_8");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_8 + "_8").removeClass("wds_slideshow_thumb_deactive_8").addClass("wds_slideshow_thumb_active_8");
        wds_set_dots_class_8();

        jQuery(".wds_slide_container_8").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_spun2_8").css('overflow', 'visible');
        jQuery(".wds_slideshow_image_wrap_8").css('overflow', 'visible');
        var filmstrip_position = 'none';
        if (filmstrip_position == 'none') {
          jQuery(".wds_slideshow_image_8").css('border-radius', jQuery(".wds_slideshow_image_wrap_8").css('border-radius'));
        }
        else {
          jQuery(".wds_slideshow_image_8").css('border-radius', '');
          jQuery(".wds_slideshow_filmstrip_container_8").css('border-radius', '');
          if (filmstrip_position == 'top') {
            jQuery(".wds_slideshow_image_8").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_image_8").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_8").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_8").css('border-bottom-right-radius', 0);
          }
          else if (filmstrip_position == 'bottom') {
            jQuery(".wds_slideshow_image_8").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_8").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_8").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_8").css('border-top-right-radius', 0);
          }
          else if (filmstrip_position == 'right') {
            jQuery(".wds_slideshow_image_8").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_image_8").css('border-top-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_8").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_8").css('border-top-left-radius', 0);
          }
          else if (filmstrip_position == 'left') {
            jQuery(".wds_slideshow_image_8").css('border-bottom-left-radius', 0);
            jQuery(".wds_slideshow_image_8").css('border-top-left-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_8").css('border-bottom-right-radius', 0);
            jQuery(".wds_slideshow_filmstrip_container_8").css('border-top-right-radius', 0);
          }
        }

        jQuery(".wds_slide_bg_8").css('perspective', 1000);
        jQuery(current_image_class).css({
          transform : 'translateZ(' + tz + 'px)',
          backfaceVisibility : 'hidden'
        });
        jQuery(next_image_class).css({
          opacity : 1,
          filter: 'Alpha(opacity=100)',
          zIndex: 2,
          backfaceVisibility : 'hidden',
          transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)'
        });
        jQuery(".wds_slider_8").css({
          transform: 'translateZ(-' + tz + 'px)',
          transformStyle: 'preserve-3d',
          position: 'absolute'
        });
        /* Execution steps.*/
        setTimeout(function () {
          jQuery(".wds_slider_8").css({
            transition: 'all ' + wds_transition_duration_8 + 'ms ' + easing,
            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'
          });
        }, 20);
        /* After transition.*/
        jQuery(".wds_slider_8").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans));
        function wds_after_trans() {
          jQuery(current_image_class).removeAttr('style');
          jQuery(next_image_class).removeAttr('style');
          jQuery(".wds_slider_8").removeAttr('style');
          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});
          wds_trans_in_progress_8 = false;
          if (typeof wds_event_stack_8 !== 'undefined') {
            if (wds_event_stack_8.length > 0) {
              key = wds_event_stack_8[0].split("-");
              wds_event_stack_8.shift();
              wds_change_image_8(key[0], key[1], wds_data_8, true);
            }
          }
          jQuery(".wds_slide_container_8").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_spun2_8").css('overflow', 'hidden');
          jQuery(".wds_slideshow_image_wrap_8").css('overflow', 'hidden');
        }
      }
      function wds_cubeR_8(current_image_class, next_image_class, direction) {
        var random_direction = Math.floor(Math.random() * 2);
        var dimension = random_direction ? jQuery(current_image_class).height() / 2 : jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
         if (random_direction) {
           wds_cube_8(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_8(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
        else if (direction == 'left') {
         if (random_direction) {
           wds_cube_8(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
         else {
           wds_cube_8(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
         }
        }
      }
      function wds_cubeH_8(current_image_class, next_image_class, direction) {
        /* Set to half of image width.*/
        var dimension = jQuery(current_image_class).width() / 2;
        if (direction == 'right') {
          wds_cube_8(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_8(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      function wds_cubeV_8(current_image_class, next_image_class, direction) {
        /* Set to half of image height.*/
        var dimension = jQuery(current_image_class).height() / 2;
        /* If next slide.*/
        if (direction == 'right') {
          wds_cube_8(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
        else if (direction == 'left') {
          wds_cube_8(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
        }
      }
      /* For browsers that does not support transitions.*/
      function wds_fallback_8(current_image_class, next_image_class, direction) {
        wds_fade_8(current_image_class, next_image_class, direction);
      }
      /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
      function wds_fallback3d_8(current_image_class, next_image_class, direction) {
        wds_sliceV_8(current_image_class, next_image_class, direction);
      }
      function wds_none_8(current_image_class, next_image_class, direction) {
        jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
        jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_8").removeClass("wds_slideshow_thumb_active_8").addClass("wds_slideshow_thumb_deactive_8");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_8 + "_8").removeClass("wds_slideshow_thumb_deactive_8").addClass("wds_slideshow_thumb_active_8");
        wds_set_dots_class_8();
      }
      function wds_fade_8(current_image_class, next_image_class, direction) {
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_8").removeClass("wds_slideshow_thumb_active_8").addClass("wds_slideshow_thumb_deactive_8");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_8 + "_8").removeClass("wds_slideshow_thumb_deactive_8").addClass("wds_slideshow_thumb_active_8");
        wds_set_dots_class_8();
        if (wds_testBrowser_cssTransitions_8()) {
          jQuery(next_image_class).css('transition', 'opacity ' + wds_transition_duration_8 + 'ms linear');
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
        }
        else {
          jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, wds_transition_duration_8);
          jQuery(next_image_class).animate({
              'opacity' : 1,
              'z-index': 2
            }, {
              duration: wds_transition_duration_8,
              complete: function () {  }
            });
          /* For IE.*/
          jQuery(current_image_class).fadeTo(wds_transition_duration_8, 0);
          jQuery(next_image_class).fadeTo(wds_transition_duration_8, 1);
        }
      }
      function wds_grid_8(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction, random, roy, easing) {
        /* If browser does not support CSS transitions.*/
        if (!wds_testBrowser_cssTransitions_8()) {
          return wds_fallback_8(current_image_class, next_image_class, direction);
        }
        wds_trans_in_progress_8 = true;
        /* Set active thumbnail.*/
        jQuery(".wds_slideshow_filmstrip_thumbnail_8").removeClass("wds_slideshow_thumb_active_8").addClass("wds_slideshow_thumb_deactive_8");
        jQuery("#wds_filmstrip_thumbnail_" + wds_current_key_8 + "_8").removeClass("wds_slideshow_thumb_deactive_8").addClass("wds_slideshow_thumb_active_8");
        wds_set_dots_class_8();
        /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
        var count = (wds_transition_duration_8) / (cols + rows);
        /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/
        function wds_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
          var delay = random ? Math.floor((cols + rows) * count * Math.random()) : (c + r) * count;
          /* Return a gridlet elem with styles for specific transition.*/
          var grid_div = jQuery('<div class="wds_gridlet_8" />').css({
            width : imgWidth,/*"100%"*/
            height : jQuery(".wds_slideshow_image_spun_8").height() + "px",
            top : -top,
            left : -left,
            backgroundImage : src,
            backgroundSize: jQuery(".wds_slideshow_image_8").css("background-size"),
            backgroundPosition: jQuery(".wds_slideshow_image_8").css("background-position"),
            /*backgroundColor: jQuery(".wds_slideshow_image_wrap_8").css("background-color"),*/
            backgroundRepeat: 'no-repeat'
          });
          return jQuery('<div class="wds_gridlet_8" />').css({
            width : width,/*"100%"*/
            height : height,
            top : top,
            left : left,
            backgroundSize : imgWidth + 'px ' + imgHeight + 'px',
            backgroundPosition : img_left + 'px ' + img_top + 'px',
            backgroundRepeat: 'no-repeat',
            overflow: "hidden",
            transition : 'all ' + wds_transition_duration_8 + 'ms ' + easing + ' ' + delay + 'ms',
            transform : 'none'
          }).append(grid_div);
        }
        /* Get the current slide's image.*/
        var cur_img = jQuery(current_image_class).find('div');
        /* Create a grid to hold the gridlets.*/
        var grid = jQuery('<div />').addClass('wds_grid_8');
        /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
        jQuery(current_image_class).prepend(grid);
        /* vars to calculate positioning/size of gridlets*/
        var cont = jQuery(".wds_slide_bg_8");
        var imgWidth = cur_img.width();
        var imgHeight = cur_img.height();
        var contWidth = cont.width(),
            contHeight = cont.height(),
            imgSrc = cur_img.css('background-image'),/*.replace('/thumb', ''),*/
            colWidth = Math.floor(contWidth / cols),
            rowHeight = Math.floor(contHeight / rows),
            colRemainder = contWidth - (cols * colWidth),
            colAdd = Math.ceil(colRemainder / cols),
            rowRemainder = contHeight - (rows * rowHeight),
            rowAdd = Math.ceil(rowRemainder / rows),
            leftDist = 0,
            img_leftDist = (jQuery(".wds_slide_bg_8").width() - cur_img.width()) / 2;
        /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/
        tx = tx === 'auto' ? contWidth : tx;
        tx = tx === 'min-auto' ? - contWidth : tx;
        ty = ty === 'auto' ? contHeight : ty;
        ty = ty === 'min-auto' ? - contHeight : ty;
        /* Loop through cols*/
        for (var i = 0; i < cols; i++) {
          var topDist = 0,
              img_topDst = (jQuery(".wds_slide_bg_8").height() - cur_img.height()) / 2,
              newColWidth = colWidth;
          /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/
          if (colRemainder > 0) {
            var add = colRemainder >= colAdd ? colAdd : colRemainder;
            newColWidth += add;
            colRemainder -= add;
          }
          /* Nested loop to create row gridlets for each col.*/
          for (var j = 0; j < rows; j++)  {
            var newRowHeight = rowHeight,
                newRowRemainder = rowRemainder;
            /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/
            if (newRowRemainder > 0) {
              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;
              newRowHeight += add;
              newRowRemainder -= add;
            }
            /* Create & append gridlet to grid.*/
            grid.append(wds_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));
            topDist += newRowHeight;
            img_topDst -= newRowHeight;
          }
          
          img_leftDist -= newColWidth;
          leftDist += newColWidth;
        }
        /* Show grid & hide the image it replaces.*/
        grid.show();
        cur_img.css('opacity', 0);
        /* Add identifying classes to corner gridlets (useful if applying border radius).*/
        grid.children().first().addClass('rs-top-left');
        grid.children().last().addClass('rs-bottom-right');
        grid.children().eq(rows - 1).addClass('rs-bottom-left');
        grid.children().eq(- rows).addClass('rs-top-right');
        /* Execution steps.*/
        setTimeout(function () {
          grid.children().css({
            opacity: op,
            transform: 'rotate('+ ro +'deg) rotateY('+ roy +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')'
          });
        }, 1);
        jQuery(next_image_class).css('opacity', 1);
        /* After transition.*/
        var cccount = 0;
        var obshicccount = cols * rows;
        grid.children().one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(wds_after_trans_each));
        function wds_after_trans_each() {
         if (++cccount == obshicccount) {
           wds_after_trans();
         }
        }
        function wds_after_trans() {
          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});
          cur_img.css('opacity', 1);
          grid.remove();
          wds_trans_in_progress_8 = false;
          if (typeof wds_event_stack_8 !== 'undefined') {
            if (wds_event_stack_8.length > 0) {
              key = wds_event_stack_8[0].split("-");
              wds_event_stack_8.shift();
              wds_change_image_8(key[0], key[1], wds_data_8, true);
            }
          }
        }
      }
      function wds_sliceH_8(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_8(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_sliceV_8(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'min-auto';
        }
        else if (direction == 'left') {
          var translateY = 'auto';
        }
        wds_grid_8(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_slideV_8(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateY = 'auto';
        }
        else if (direction == 'left') {
          var translateY = 'min-auto';
        }
        wds_grid_8(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_slideH_8(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var translateX = 'min-auto';
        }
        else if (direction == 'left') {
          var translateX = 'auto';
        }
        wds_grid_8(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction, 0, 0, 'cubic-bezier(0.785, 0.135, 0.150, 0.860)');
      }
      function wds_scaleOut_8(current_image_class, next_image_class, direction) {
        wds_grid_8(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_scaleIn_8(current_image_class, next_image_class, direction) {
        wds_grid_8(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScale_8(current_image_class, next_image_class, direction) {
        wds_grid_8(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blockScaleR_8(current_image_class, next_image_class, direction) {
        wds_grid_8(8, 6, 0, 0, 0, 0.6, 0, current_image_class, next_image_class, direction, 1, 0, 'ease-in-out');
      }
      function wds_blindR_8(current_image_class, next_image_class, direction) {
        wds_grid_8(8, 1, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_tilesR_8(current_image_class, next_image_class, direction) {
        wds_grid_8(8, 8, 0, 0, 0, 1, 1, current_image_class, next_image_class, direction, 1, 90, 'ease-in-out');
      }
      function wds_kaleidoscope_8(current_image_class, next_image_class, direction) {
        wds_grid_8(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_fan_8(current_image_class, next_image_class, direction) {
        if (direction == 'right') {
          var rotate = 45;
          var translateX = 100;
        }
        else if (direction == 'left') {
          var rotate = -45;
          var translateX = -100;
        }
        wds_grid_8(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindV_8(current_image_class, next_image_class, direction) {
        wds_grid_8(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_blindH_8(current_image_class, next_image_class, direction) {
        wds_grid_8(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class, direction, 0, 0, 'ease-in-out');
      }
      function wds_random_8(current_image_class, next_image_class, direction) {
        var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV', 'parallelSlideH', 'parallelSlideV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_8"](current_image_class, next_image_class, direction);
      }
      function wds_3Drandom_8(current_image_class, next_image_class, direction) {
        var anims = ['cubeH', 'cubeV', 'cubeR', 'slic3DH', 'slic3DV', 'slicR3DH', 'slicR3DV'];
        /* Pick a random transition from the anims array.*/
        this["wds_" + anims[Math.floor(Math.random() * anims.length)] + "_8"](current_image_class, next_image_class, direction);
      }
      function iterator_8() {
        var iterator = 1;
        if (0) {
          iterator = Math.floor((wds_data_8.length - 1) * Math.random() + 1);
        }
        return iterator;
      }
      function wds_change_image_8(current_key, key, wds_data_8, from_effect) {
                /* Pause videos.*/
        jQuery("#wds_slideshow_image_container_8").find("iframe").each(function () {
          jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
          jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*");
        });
        if (wds_data_8[key]) {
          if (jQuery('.wds_ctrl_btn_8').hasClass('fa-pause') || ('1')) {
            play_8();
          }
          if (!from_effect) {
            /* Change image key.*/
            jQuery("#wds_current_image_key_8").val(key);
            if (current_key == '-1') { /* Filmstrip.*/
              current_key = jQuery(".wds_slideshow_thumb_active_8").children("img").attr("image_key");
            }
            else if (current_key == '-2') { /* Dots.*/
              current_key = jQuery(".wds_slideshow_dots_active_8").attr("image_key");
            }
          }
          if (wds_trans_in_progress_8) {
            wds_event_stack_8.push(current_key + '-' + key);
            return;
          }
          var direction = 'right';
          if (wds_current_key_8 > key) {
            var direction = 'left';
          }
          else if (wds_current_key_8 == key) {
            return;
          }
          /* Set active thumbnail position.*/
          wds_current_filmstrip_pos_8 = key * (jQuery(".wds_slideshow_filmstrip_thumbnail_8").width() + 2 + 2 * 0);
          wds_current_key_8 = key;
          /* Change image id.*/
          jQuery("div[img_id=wds_slideshow_image_8]").attr('image_id', wds_data_8[key]["id"]);
          var current_image_class = "#image_id_8_" + wds_data_8[current_key]["id"];
          var next_image_class = "#image_id_8_" + wds_data_8[key]["id"];
                    if (!wds_data_8[key]["is_video"]) {
            jQuery(next_image_class).find("div").css("background-image", 'url("' + wds_data_8[key]["image_url"] + '")');
          }
                    var current_slide_layers_count = wds_data_8[current_key]["slide_layers_count"];
          var next_slide_layers_count = wds_data_8[key]["slide_layers_count"];

          /* Clear layers before image change.*/
          function set_layer_effect_out_before_change(m) {
            wds_clear_layers_effects_out_before_change_8[current_key][m] = setTimeout(function() {
              if (wds_data_8[current_key]["layer_" + m + "_type"] != 'social') {
                jQuery('#wds_8_slide' + wds_data_8[current_key]["id"] + '_layer' + wds_data_8[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_8_slide' + wds_data_8[current_key]["id"] + '_layer' + wds_data_8[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_8[current_key]["layer_" + m + "_layer_effect_out"] + ' animated');
              }
              else {
                jQuery('#wds_8_slide' + wds_data_8[current_key]["id"] + '_layer' + wds_data_8[current_key]["layer_" + m + "_id"]).css('-webkit-animation-duration' , 0.6 + 's').css('animation-duration' , 0.6 + 's');
                jQuery('#wds_8_slide' + wds_data_8[current_key]["id"] + '_layer' + wds_data_8[current_key]["layer_" + m + "_id"]).removeClass().addClass( wds_data_8[current_key]["layer_" + m + "_layer_effect_out"] + ' fa fa-' + wds_data_8[current_key]["layer_" + m + "_social_button"] + ' animated');
              }
            }, 10);
          }
          if (0) {
            for (var m = 0; m < current_slide_layers_count; m++) {
              if (jQuery('#wds_8_slide' + wds_data_8[current_key]["id"] + '_layer' + wds_data_8[current_key]["layer_" + m + "_id"]).css('opacity') != 0) {
                set_layer_effect_out_before_change(m);
              }
            }
          }
          /* Loop through current slide layers for clear effects.*/
          setTimeout(function() {
            for (var k = 0; k < current_slide_layers_count; k++) {
              clearTimeout(wds_clear_layers_effects_in_8[current_key][k]);
              clearTimeout(wds_clear_layers_effects_out_8[current_key][k]);
              if (wds_data_8[current_key]["layer_" + k + "_type"] != 'social') {
                jQuery('#wds_8_slide' + wds_data_8[current_key]["id"] + '_layer' + wds_data_8[current_key]["layer_" + k + "_id"]).removeClass().addClass('wds_layer_'+ wds_data_8[current_key]["layer_" + k + "_id"]);
              }
              else {
                jQuery('#wds_8_slide' + wds_data_8[current_key]["id"] + '_layer' + wds_data_8[current_key]["layer_" + k + "_id"]).removeClass().addClass('fa fa-' + wds_data_8[current_key]["layer_" + k + "_social_button"] + ' wds_layer_' + wds_data_8[current_key]["layer_" + k + "_id"]);
              }
            }
          }, wds_duration_for_clear_effects_8);
          /* Effects out part.*/
          function set_layer_effect_out(i) {
            wds_clear_layers_effects_out_8[key][i] = setTimeout(function() {
              if (wds_data_8[key]["layer_" + i + "_layer_effect_out"] != 'none') {
                if (wds_data_8[key]["layer_" + i + "_type"] != 'social') {	
                  jQuery('#wds_8_slide' + wds_data_8[key]["id"] + '_layer' + wds_data_8[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_8[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_8[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
                  jQuery('#wds_8_slide' + wds_data_8[key]["id"] + '_layer' + wds_data_8[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_8[key]["layer_" + i + "_layer_effect_out"] + ' animated');
                }
                else {
                  jQuery('#wds_8_slide' + wds_data_8[key]["id"] + '_layer' + wds_data_8[key]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_8[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_8[key]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
                  jQuery('#wds_8_slide' + wds_data_8[key]["id"] + '_layer' + wds_data_8[key]["layer_" + i + "_id"]).removeClass().addClass( wds_data_8[key]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_8[key]["layer_" + i + "_social_button"] + ' animated');
                }
              }
            }, wds_data_8[key]["layer_" + i + "_end"]);
          }
          /* Effects in part.*/
          function set_layer_effect_in(j) {
            wds_clear_layers_effects_in_8[key][j] = setTimeout(function() {
              if (wds_data_8[key]["layer_" + j + "_type"] != 'social') {
                jQuery('#wds_8_slide' + wds_data_8[key]["id"] + '_layer' + wds_data_8[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_8[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_8[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
                jQuery('#wds_8_slide' + wds_data_8[key]["id"] + '_layer' + wds_data_8[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_8[key]["layer_" + j + "_layer_effect_in"] + ' animated');
              }
              else {
                jQuery('#wds_8_slide' + wds_data_8[key]["id"] + '_layer' + wds_data_8[key]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_8[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_8[key]["layer_" + j + "_duration_eff_out"] / 1000 + 's');
                jQuery('#wds_8_slide' + wds_data_8[key]["id"] + '_layer' + wds_data_8[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_8[key]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_8[key]["layer_" + j + "_social_button"] + ' animated');
              }
            }, wds_data_8[key]["layer_" + j + "_start"]);
          }
          /* Loop through layers in.*/
          for (var j = 0; j < next_slide_layers_count; j++) {
            set_layer_effect_in(j);
          }
          /* Loop through layers out if pause button not pressed.*/
          if (jQuery(".wds_ctrl_btn_8").hasClass("fa-pause")) {
            for (var i = 0; i < next_slide_layers_count; i++) {
              set_layer_effect_out(i);
            }
          }
          setTimeout(function() {
            if (typeof jQuery().finish !== 'undefined') {
              if (jQuery.isFunction(jQuery().finish)) {
                jQuery(".wds_line_timer_8").finish();
              }
            }
            jQuery(".wds_line_timer_8").css({width: 0});
            wds_fade_8(current_image_class, next_image_class, direction);
            if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_8').hasClass('fa-pause'))) {
              if (!jQuery(".wds_ctrl_btn_8").hasClass("fa-play")) {
                jQuery(".wds_line_timer_8").animate({
                  width: "100%"
                }, {
                  duration: 1000,
                  specialEasing: {width: "linear"}
                });
              }
              
            }
                        if (wds_data_8[key]["is_video"]) {
              jQuery("#wds_slideshow_play_pause_8").css({display: 'none'});
            }
            else {
              jQuery("#wds_slideshow_play_pause_8").css({display: ''});
            }
          }, wds_duration_for_change_8);
        }
      }
      function wds_resize_slider_8() {
        var slide_orig_width = 800;
        var slide_orig_height = 300;
        var slide_width = jQuery("#wds_container1_8").parent().width();
        if (slide_orig_width <= slide_width) {
          slide_width = slide_orig_width;
        }
        var ratio = slide_width / slide_orig_width;

                var slide_height = slide_orig_height;
        if (slide_orig_width > slide_width) {
          slide_height = Math.floor(slide_width * slide_orig_height / slide_orig_width);
        }

        jQuery(".wds_slideshow_image_wrap_8, #wds_container2_8").height(slide_height + 0);
        jQuery(".wds_slideshow_image_container_8").height(slide_height);
        jQuery(".wds_slideshow_image_8").height(slide_height);
        jQuery(".wds_slideshow_video_8").height(slide_height);
        jQuery(".wds_slideshow_image_8 img").each(function () {
          var wds_theImage = new Image();
          wds_theImage.src = jQuery(this).attr("src");
          var wds_origWidth = wds_theImage.width;
          var wds_origHeight = wds_theImage.height;
          var wds_imageWidth = jQuery(this).attr("wds_image_width");
          var wds_imageHeight = jQuery(this).attr("wds_image_height");
          var wds_width = wds_imageWidth;
          if (wds_origWidth <= wds_imageWidth) {
            wds_width = wds_origWidth;
          }
          var wds_height = wds_imageHeight;
          if (wds_origHeight <= wds_imageHeight) {
            wds_height = wds_origHeight;
          }
          jQuery(this).css({
            maxWidth: (parseFloat(wds_imageWidth) * ratio) + "px",
            maxHeight: (parseFloat(wds_imageHeight) * ratio) + "px",
          });
          if (jQuery(this).attr("wds_scale") != "on") {
            jQuery(this).css({
              width: (parseFloat(wds_imageWidth) * ratio) + "px",
              height: (parseFloat(wds_imageHeight) * ratio) + "px"
            });
          }
          else if (wds_origWidth <= wds_imageWidth || wds_origHeight <= wds_imageHeight) {
            if (wds_origWidth / wds_imageWidth > wds_origHeight / wds_imageHeight) {
              jQuery(this).css({
                width: (parseFloat(wds_imageWidth) * ratio) + "px"
              });
            }
            else {
              jQuery(this).css({
                height: (parseFloat(wds_imageHeight) * ratio) + "px"
              });
            }
          }

        });
        jQuery(".wds_slideshow_image_8 span, .wds_slideshow_image_8 i").each(function () {
          jQuery(this).css({
            fontSize: (parseFloat(jQuery(this).attr("wds_fsize")) * ratio) + "px",
            lineHeight: "1.25em",
            paddingLeft: (parseFloat(jQuery(this).attr("wds_fpaddingl")) * ratio) + "px",
            paddingRight: (parseFloat(jQuery(this).attr("wds_fpaddingr")) * ratio) + "px",
            paddingTop: (parseFloat(jQuery(this).attr("wds_fpaddingt")) * ratio) + "px",
            paddingBottom: (parseFloat(jQuery(this).attr("wds_fpaddingb")) * ratio) + "px",
          })
        });
      }
      function wds_genBgPos_8() {
        var bgSizeArray = [0, 70];
        var bgSize = bgSizeArray[Math.floor(Math.random() * bgSizeArray.length)];
        
        var bgPosXArray = ['left', 'right'];
        var bgPosYArray = ['top', 'bottom'];
        var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];
        var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];
        jQuery(".wds_slideshow_image_8").css({
          backgroundPosition: bgPosX + " " + bgPosY,
          backgroundSize : (100 + bgSize) + "%",
          webkitAnimation: '1s linear 0s alternate infinite wdszoom' + bgSize,
          mozAnimation: '1s linear 0s alternate infinite wdszoom' + bgSize,
          animation: '1s linear 0s alternate infinite wdszoom' + bgSize
        });
      }
      jQuery(window).resize(function () {
        wds_resize_slider_8();
      });
      function wds_full_width_8() {
        var left = jQuery("#wds_container1_8").offset().left;
        jQuery(".wds_slideshow_image_wrap_8").css({
          left: (-left + 0) + "px",
          width: (jQuery(window).width() - 0) + "px",
          maxWidth: "none"
        });
      }
      jQuery(window).load(function () {
                jQuery(".wds_slideshow_image_8 span, .wds_slideshow_image_8 i").each(function () {
          jQuery(this).attr("wds_fpaddingl", jQuery(this).css("paddingLeft"));
          jQuery(this).attr("wds_fpaddingr", jQuery(this).css("paddingRight"));
          jQuery(this).attr("wds_fpaddingt", jQuery(this).css("paddingTop"));
          jQuery(this).attr("wds_fpaddingb", jQuery(this).css("paddingBottom"));
        });
        if (4000) {
          jQuery("#wds_container2_8").hover(function () {
            jQuery(".wds_right-ico_8").animate({left: 0}, 700, "swing");
            jQuery(".wds_left-ico_8").animate({left: 0}, 700, "swing");
            jQuery("#wds_slideshow_play_pause_8").animate({opacity: 1, filter: "Alpha(opacity=100)"}, 700, "swing");
          }, function () {
            jQuery(".wds_right-ico_8").css({left: 4000});
            jQuery(".wds_left-ico_8").css({left: -4000});
            jQuery("#wds_slideshow_play_pause_8").css({opacity: 0, filter: "Alpha(opacity=0)"});
          });
        }

        wds_resize_slider_8();
        jQuery("#wds_container2_8").css({visibility: 'visible'});
        jQuery(".wds_loading").hide();

      	        if (typeof jQuery().swiperight !== 'undefined') {
          if (jQuery.isFunction(jQuery().swiperight)) {
            jQuery('#wds_container1_8').swiperight(function () {
              wds_change_image_8(parseInt(jQuery('#wds_current_image_key_8').val()), (parseInt(jQuery('#wds_current_image_key_8').val()) - iterator_8()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_8').val()) - iterator_8()) % wds_data_8.length : wds_data_8.length - 1, wds_data_8);
              return false;
            });
          }
        }
        if (typeof jQuery().swipeleft !== 'undefined') {
          if (jQuery.isFunction(jQuery().swipeleft)) {
            jQuery('#wds_container1_8').swipeleft(function () {
              wds_change_image_8(parseInt(jQuery('#wds_current_image_key_8').val()), (parseInt(jQuery('#wds_current_image_key_8').val()) + iterator_8()) % wds_data_8.length, wds_data_8);
              return false;
            });
          }
        }

        var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
        var wds_click = isMobile ? 'touchend' : 'click';

        var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */
        jQuery('.wds_slideshow_filmstrip_8').bind(mousewheelevt, function(e) {
          var evt = window.event || e; /* Equalize event object.*/
          evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/
          var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/
          if (delta > 0) {
            /* Scroll up.*/
            jQuery(".wds_slideshow_filmstrip_left_8").trigger("click");
          }
          else {
            /* Scroll down.*/
            jQuery(".wds_slideshow_filmstrip_right_8").trigger("click");
          }
          return false;
        });
        jQuery(".wds_slideshow_filmstrip_right_8").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_8" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_8").position().left >= -(jQuery(".wds_slideshow_filmstrip_thumbnails_8").width() - jQuery(".wds_slideshow_filmstrip_8").width())) {
            jQuery(".wds_slideshow_filmstrip_left_8").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_8").position().left < -(jQuery(".wds_slideshow_filmstrip_thumbnails_8").width() - jQuery(".wds_slideshow_filmstrip_8").width() - 0)) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_8").animate({left: -(jQuery(".wds_slideshow_filmstrip_thumbnails_8").width() - jQuery(".wds_slideshow_filmstrip_8").width())}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_8").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_8").position().left - 0)}, 500, 'linear');
            }
          }
          /* Disable right arrow.*/
          window.setTimeout(function() {
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_8").position().left == -(jQuery(".wds_slideshow_filmstrip_thumbnails_8").width() - jQuery(".wds_slideshow_filmstrip_8").width())) {
              jQuery(".wds_slideshow_filmstrip_right_8").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        jQuery(".wds_slideshow_filmstrip_left_8").on(wds_click, function () {
          if (typeof jQuery().stop !== 'undefined') {
            if (jQuery.isFunction(jQuery().stop)) {
              jQuery( ".wds_slideshow_filmstrip_thumbnails_8" ).stop(true, false);
            }
          }
          if (jQuery(".wds_slideshow_filmstrip_thumbnails_8").position().left < 0) {
            jQuery(".wds_slideshow_filmstrip_right_8").css({opacity: 1, filter: "Alpha(opacity=100)"});
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_8").position().left > - 0) {
              jQuery(".wds_slideshow_filmstrip_thumbnails_8").animate({left: 0}, 500, 'linear');
            }
            else {
              jQuery(".wds_slideshow_filmstrip_thumbnails_8").animate({left: (jQuery(".wds_slideshow_filmstrip_thumbnails_8").position().left + 0)}, 500, 'linear');
            }
          }
          /* Disable left arrow.*/
          window.setTimeout(function(){
            if (jQuery(".wds_slideshow_filmstrip_thumbnails_8").position().left == 0) {
              jQuery(".wds_slideshow_filmstrip_left_8").css({opacity: 0.3, filter: "Alpha(opacity=30)"});
            }
          }, 500);
        });
        /* Set filmstrip initial position.*/
        wds_set_filmstrip_pos_8(jQuery(".wds_slideshow_filmstrip_8").width());
        /* Play/pause.*/
        jQuery("#wds_slideshow_play_pause_8").on(wds_click, function () {
          if (jQuery(".wds_ctrl_btn_8").hasClass("fa-play")) {
            /* Play.*/
            jQuery(".wds_slideshow_play_pause_8").attr("title", "Pause");
            jQuery(".wds_slideshow_play_pause_8").attr("class", "wds_ctrl_btn_8 wds_slideshow_play_pause_8 fa fa-pause");
            play_8();
            if (0) {
              document.getElementById("wds_audio_8").play();
            }
          }
          else {
            /* Pause.*/
            /* Pause layers out effect.*/
            var current_key = jQuery('#wds_current_image_key_8').val();
            var current_slide_layers_count = wds_data_8[current_key]["slide_layers_count"];
            setTimeout(function() {
              for (var k = 0; k < current_slide_layers_count; k++) {
                clearTimeout(wds_clear_layers_effects_out_8[current_key][k]);
              }
            }, wds_duration_for_clear_effects_8);

            window.clearInterval(wds_playInterval_8);
            jQuery(".wds_slideshow_play_pause_8").attr("title", "Play");
            jQuery(".wds_slideshow_play_pause_8").attr("class", "wds_ctrl_btn_8 wds_slideshow_play_pause_8 fa fa-play");
            if (0) {
              document.getElementById("wds_audio_8").pause();
            }
            if (typeof jQuery().stop !== 'undefined') {
              if (jQuery.isFunction(jQuery().stop)) {
                jQuery(".wds_line_timer_8").stop();
              }
            }
          }
        });
        if (1) {
          play_8();
          jQuery(".wds_slideshow_play_pause_8").attr("title", "Pause");
          jQuery(".wds_slideshow_play_pause_8").attr("class", "wds_ctrl_btn_8 wds_slideshow_play_pause_8 fa fa-pause");
          if (0) {
            document.getElementById("wds_audio_8").play();
          }
        }
                function wds_preload_8(preload_key) {
          jQuery("<img/>")
            .load(function() { if (preload_key < wds_data_8.length - 1) wds_preload_8(preload_key + 1); })
            .error(function() { if (preload_key < wds_data_8.length - 1) wds_preload_8(preload_key + 1); })
            .attr("src", (!wds_data_8[preload_key]["is_video"] ? wds_data_8[preload_key]["image_url"] : ""));
        }
        wds_preload_8(0);
                var first_slide_layers_count_8 = wds_data_8[0]["slide_layers_count"];
        if (first_slide_layers_count_8) {
          /* Loop through layers in.*/
          for (var j = 0; j < first_slide_layers_count_8; j++) {
            set_layer_effect_in_onload_8(j);
          }
          /* Loop through layers out.*/
          for (var i = 0; i < first_slide_layers_count_8; i++) {
            set_layer_effect_out_onload_8(i);
          }
        }
      });
	    function wds_stop_animation_8() {
        window.clearInterval(wds_playInterval_8);
        /* Pause layers out effect.*/
        var current_key = jQuery('#wds_current_image_key_8').val();
        var current_slide_layers_count = wds_data_8[current_key]["slide_layers_count"];			
        setTimeout(function() {
          for (var k = 0; k < current_slide_layers_count; k++) {
            clearTimeout(wds_clear_layers_effects_out_8[current_key][k]);
          }
        }, wds_duration_for_clear_effects_8);
        if (0) {
          document.getElementById("wds_audio_8").pause();
        }
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_8").stop();
          }
        }
			}
      function wds_play_animation_8() {
        if (jQuery(".wds_ctrl_btn_8").hasClass("fa-play")) {
          return;
        }
		    play_8();
        if (0) {
          document.getElementById("wds_audio_8").play();
        }	 
      }
      /* Effects in part.*/		
		  function set_layer_effect_in_onload_8(j) {
		    wds_clear_layers_effects_in_8[0][j] = setTimeout(function(){
          if (wds_data_8[0]["layer_" + j + "_type"] != 'social') {
            jQuery('#wds_8_slide' + wds_data_8[0]["id"] + '_layer' + wds_data_8[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_8[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_8[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');			 
		        jQuery('#wds_8_slide' + wds_data_8[0]["id"] + '_layer' + wds_data_8[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_8[0]["layer_" + j + "_layer_effect_in"] + ' animated');
		      }
          else {
            jQuery('#wds_8_slide' + wds_data_8[0]["id"] + '_layer' + wds_data_8[0]["layer_" + j + "_id"]).css('-webkit-animation-duration' , wds_data_8[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_8[0]["layer_" + j + "_duration_eff_out"] / 1000 + 's');	
            jQuery('#wds_8_slide' + wds_data_8[0]["id"] + '_layer' + wds_data_8[0]["layer_" + j + "_id"]).removeClass().addClass( wds_data_8[0]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_8[0]["layer_" + j + "_social_button"] + ' animated');
          }
		    }, wds_data_8[0]["layer_" + j + "_start"]);
		  }
      /* Effects out part.*/
		  function set_layer_effect_out_onload_8(i) {
			  wds_clear_layers_effects_out_8[0][i] = setTimeout(function() {
          if (wds_data_8[0]["layer_" + i + "_layer_effect_out"] != 'none') {
            if (wds_data_8[0]["layer_" + i + "_type"] != 'social') {
              jQuery('#wds_8_slide' + wds_data_8[0]["id"] + '_layer' + wds_data_8[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_8[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_8[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');				 
              jQuery('#wds_8_slide' + wds_data_8[0]["id"] + '_layer' + wds_data_8[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_8[0]["layer_" + i + "_layer_effect_out"] + ' animated');
            }
            else {
              jQuery('#wds_8_slide' + wds_data_8[0]["id"] + '_layer' + wds_data_8[0]["layer_" + i + "_id"]).css('-webkit-animation-duration' , wds_data_8[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's').css('animation-duration' , wds_data_8[0]["layer_" + i + "_duration_eff_out"] / 1000 + 's');
              jQuery('#wds_8_slide' + wds_data_8[0]["id"] + '_layer' + wds_data_8[0]["layer_" + i + "_id"]).removeClass().addClass( wds_data_8[0]["layer_" + i + "_layer_effect_out"] + ' fa fa-' + wds_data_8[0]["layer_" + i + "_social_button"] + ' animated');
            }
          }
		    }, wds_data_8[0]["layer_" + i + "_end"]);
		  }
      function play_8() {
        if (('none' != 'none') && (1 || jQuery('.wds_ctrl_btn_8').hasClass('fa-pause'))) {
          jQuery(".wds_line_timer_8").animate({
            width: "100%"
          }, {
            duration: 1000,
            specialEasing: {width: "linear"}
          });
        }
        window.clearInterval(wds_playInterval_8);
        /* Play.*/
        wds_playInterval_8 = setInterval(function () {
          var iterator = 1;
          if (0) {
            iterator = Math.floor((wds_data_8.length - 1) * Math.random() + 1);
          }
          wds_change_image_8(parseInt(jQuery('#wds_current_image_key_8').val()), (parseInt(jQuery('#wds_current_image_key_8').val()) + iterator) % wds_data_8.length, wds_data_8)
        }, '1000');
      }
      jQuery(window).focus(function() {
        if (!jQuery(".wds_ctrl_btn_8").hasClass("fa-play")) {
          if (1) {
            play_8();
          }
        }
        var i_8 = 0;
        jQuery(".wds_slider_8").children("span").each(function () {
          if (jQuery(this).css('opacity') == 1) {
            jQuery("#wds_current_image_key_8").val(i_8);
          }
          i_8++;
        });
      });
      jQuery(window).blur(function() {
        wds_event_stack_8 = [];
        window.clearInterval(wds_playInterval_8);
        if (typeof jQuery().stop !== 'undefined') {
          if (jQuery.isFunction(jQuery().stop)) {
            jQuery(".wds_line_timer_8").stop();
          }
        }
      });
    </script>
    </aside><aside id="blog_subscription-6" class="widget jetpack_subscription_widget"><h1 class="widget-title">Subscribe to Blog via Email</h1>
			<form action="#" method="post" accept-charset="utf-8" id="subscribe-blog-blog_subscription-6">
				<div id="subscribe-text"><p>Enter your email address to subscribe to this blog and receive notifications of new posts by email.</p>
</div><p>Join 1,766 other subscribers.</p>
					<p id="subscribe-email">
						<label id="jetpack-subscribe-label" for="subscribe-field-blog_subscription-6">
							Email Address						</label>
						<input type="email" name="email" required="required" class="required" value="" id="subscribe-field-blog_subscription-6" placeholder="Email Address" />
					</p>

					<p id="subscribe-submit">
						<input type="hidden" name="action" value="subscribe" />
						<input type="hidden" name="source" value="https://pipingpress.com/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/" />
						<input type="hidden" name="sub-type" value="widget" />
						<input type="hidden" name="redirect_fragment" value="blog_subscription-6" />
												<input type="submit" value="Subscribe" name="jetpack_subscriptions_widget" />
					</p>
							</form>

			<script>
			/*
			Custom functionality for safari and IE
			 */
			(function( d ) {
				// In case the placeholder functionality is available we remove labels
				if ( ( 'placeholder' in d.createElement( 'input' ) ) ) {
					var label = d.querySelector( 'label[for=subscribe-field-blog_subscription-6]' );
						label.style.clip 	 = 'rect(1px, 1px, 1px, 1px)';
						label.style.position = 'absolute';
						label.style.height   = '1px';
						label.style.width    = '1px';
						label.style.overflow = 'hidden';
				}

				// Make sure the email value is filled in before allowing submit
				var form = d.getElementById('subscribe-blog-blog_subscription-6'),
					input = d.getElementById('subscribe-field-blog_subscription-6'),
					handler = function( event ) {
						if ( '' === input.value ) {
							input.focus();

							if ( event.preventDefault ){
								event.preventDefault();
							}

							return false;
						}
					};

				if ( window.addEventListener ) {
					form.addEventListener( 'submit', handler, false );
				} else {
					form.attachEvent( 'onsubmit', handler );
				}
			})( document );
			</script>
				
</aside><aside id="search-8" class="widget widget_search"><form role="search" method="get" class="search-form" action="https://pipingpress.com/">
				<label>
					<span class="screen-reader-text">Search for:</span>
					<input type="search" class="search-field" placeholder="Search &hellip;" value="" name="s" />
				</label>
				<input type="submit" class="search-submit" value="Search" />
			</form></aside>	</div><!-- #footer-sidebar -->
</div><!-- #supplementary -->

			<div class="site-info">
								<a href="https://wordpress.org/">Proudly powered by WordPress</a>
			</div><!-- .site-info -->
		</footer><!-- #colophon -->
	</div><!-- #page -->

		<div style="display:none">
	</div>
	<script>
			// List of Themes, Classes and Regular expressions
		var template_name = 'twentyfourteen';
		switch(template_name) {
			case 'twentyeleven' :
					var classes = ['entry-meta'];
					var regex = ' by <a(.*?)\/a>;<span class="sep"> by <\/span>';
					break;
			case 'twentyten' :
					var classes = ['entry-meta'];
					var regex = ' by <a(.*?)\/a>;<span class="meta-sep">by<\/span>';
					break;
			case 'object' :
					var classes = ['post-details', 'post'];
					var regex = ' by <span(.*?)\/span>;<p class="post-details">by';
					break;
			case 'theme-revenge' :
					var classes = ['post-entry-meta'];
					var regex = 'By <a(.*?)\/a> on';
					break;
			case 'Magnificent' :
					var classes = ['meta-info'];
					var regex = '<span>by<\/span> <a(.*?)\/a>;Posted by <a(.*?)\/a> on ';
					break;
			case 'wp-clearphoto' :
					var classes = ['meta'];
					var regex = '\\|\\s*<\/span>\\s*<span class="meta-author">\\s*<a(.*?)\/a>';
					break;
			case 'wp-clearphoto1' :
					var classes = ['meta'];
					var regex = '\\|\\s*<\/span>\\s*<span class="meta-author">\\s*<a(.*?)\/a>';
					break;
			default:
					var classes = ['entry-meta'];
					var regex = ' by <a(.*?)\/a>;<span class="sep"> by <\/span>; <span class="meta-sep">by<\/span>;<span class="meta-sep"> by <\/span>';
		}
				if (typeof classes[0] !== 'undefined' && classes[0] !== null) {
				for(var i = 0; i < classes.length; i++) {
					var elements = document.querySelectorAll('.'+classes[i]);
					for (var j = 0; j < elements.length; j++) {
						var regex_array = regex.split(";");
						for(var k = 0; k < regex_array.length; k++) {
							 if (elements[j].innerHTML.match(new RegExp(regex_array[k], "i"))) {
								 var replaced_txt = elements[j].innerHTML.replace(new RegExp(regex_array[k], "i"), '');
								 elements[j].innerHTML = replaced_txt;
							 }
						}
					}			
				}
			}
						
		</script>
	
	<script type="text/javascript">
		window.WPCOM_sharing_counts = {"https:\/\/pipingpress.com\/2017\/09\/08\/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band\/":17484};
	</script>
			<div id="sharing_email" style="display: none;">
		<form action="/2017/09/08/hurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band/" method="post">
			<label for="target_email">Send to Email Address</label>
			<input type="email" name="target_email" id="target_email" value="" />

			
				<label for="source_name">Your Name</label>
				<input type="text" name="source_name" id="source_name" value="" />

				<label for="source_email">Your Email Address</label>
				<input type="email" name="source_email" id="source_email" value="" />

						<input type="text" id="jetpack-source_f_name" name="source_f_name" class="input" value="" size="25" autocomplete="off" title="This field is for validation and should not be changed" />
			
			<img style="float: right; display: none" class="loading" src="https://pipingpress.com/wp-content/plugins/jetpack/modules/sharedaddy/images/loading.gif" alt="loading" width="16" height="16" />
			<input type="submit" value="Send Email" class="sharing_send" />
			<a rel="nofollow" href="#cancel" class="sharing_cancel">Cancel</a>

			<div class="errors errors-1" style="display: none;">
				Post was not sent - check your email addresses!			</div>

			<div class="errors errors-2" style="display: none;">
				Email check failed, please try again			</div>

			<div class="errors errors-3" style="display: none;">
				Sorry, your blog cannot share posts by email.			</div>
		</form>
	</div>
<!--[if lte IE 8]>
<link rel='stylesheet' id='jetpack-carousel-ie8fix-css'  href='https://pipingpress.com/wp-content/plugins/jetpack/modules/carousel/jetpack-carousel-ie8fix.css?ver=20121024' type='text/css' media='all' />
<![endif]-->
<script type='text/javascript' src='https://pipingpress.com/wp-content/plugins/jetpack/_inc/build/photon/photon.min.js?ver=20130122'></script>
<script type='text/javascript' src='https://s0.wp.com/wp-content/js/devicepx-jetpack.js?ver=201807'></script>
<script type='text/javascript' src='https://pipingpress.com/wp-includes/js/imagesloaded.min.js?ver=3.2.0'></script>
<script type='text/javascript' src='https://pipingpress.com/wp-includes/js/masonry.min.js?ver=3.3.2'></script>
<script type='text/javascript' src='https://pipingpress.com/wp-includes/js/jquery/jquery.masonry.min.js?ver=3.1.2b'></script>
<script type='text/javascript' src='https://pipingpress.com/wp-content/themes/twentyfourteen/js/functions.js?ver=20150315'></script>
<script type='text/javascript' src='https://pipingpress.com/wp-includes/js/wp-embed.min.js?ver=4.9.4'></script>
<script type='text/javascript' src='https://pipingpress.com/wp-content/plugins/jetpack/_inc/build/spin.min.js?ver=1.3'></script>
<script type='text/javascript' src='https://pipingpress.com/wp-content/plugins/jetpack/_inc/build/jquery.spin.min.js?ver=1.3'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var jetpackCarouselStrings = {"widths":[370,700,1000,1200,1400,2000],"is_logged_in":"","lang":"en","ajaxurl":"https:\/\/pipingpress.com\/wp-admin\/admin-ajax.php","nonce":"99b1650489","display_exif":"1","display_geo":"1","single_image_gallery":"1","single_image_gallery_media_file":"","background_color":"black","comment":"Comment","post_comment":"Post Comment","write_comment":"Write a Comment...","loading_comments":"Loading Comments...","download_original":"View full size <span class=\"photo-size\">{0}<span class=\"photo-size-times\">\u00d7<\/span>{1}<\/span>","no_comment_text":"Please be sure to submit some text with your comment.","no_comment_email":"Please provide an email address to comment.","no_comment_author":"Please provide your name to comment.","comment_post_error":"Sorry, but there was an error posting your comment. Please try again later.","comment_approved":"Your comment was approved.","comment_unapproved":"Your comment is in moderation.","camera":"Camera","aperture":"Aperture","shutter_speed":"Shutter Speed","focal_length":"Focal Length","copyright":"Copyright","comment_registration":"1","require_name_email":"1","login_url":"https:\/\/pipingpress.com\/wp-login.php?redirect_to=https%3A%2F%2Fpipingpress.com%2F2017%2F09%2F08%2Fhurricane-harvey-and-how-it-has-badly-affected-st-thomas-episcopal-school-pipe-band%2F","blog_id":"1","meta_data":["camera","aperture","shutter_speed","focal_length","copyright"],"local_comments_commenting_as":"<p id=\"jp-carousel-commenting-as\">You must be <a href=\"#\" class=\"jp-carousel-comment-login\">logged in<\/a> to post a comment.<\/p>"};
/* ]]> */
</script>
<script type='text/javascript' src='https://pipingpress.com/wp-content/plugins/jetpack/_inc/build/carousel/jetpack-carousel.min.js?ver=20170209'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var sharing_js_options = {"lang":"en","counts":"1"};
/* ]]> */
</script>
<script type='text/javascript' src='https://pipingpress.com/wp-content/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js?ver=5.8'></script>
<script type='text/javascript'>
var windowOpen;
			jQuery( document.body ).on( 'click', 'a.share-facebook', function() {
				// If there's another sharing window open, close it.
				if ( 'undefined' !== typeof windowOpen ) {
					windowOpen.close();
				}
				windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomfacebook', 'menubar=1,resizable=1,width=600,height=400' );
				return false;
			});
var windowOpen;
			jQuery( document.body ).on( 'click', 'a.share-pocket', function() {
				// If there's another sharing window open, close it.
				if ( 'undefined' !== typeof windowOpen ) {
					windowOpen.close();
				}
				windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcompocket', 'menubar=1,resizable=1,width=450,height=450' );
				return false;
			});
var windowOpen;
			jQuery( document.body ).on( 'click', 'a.share-google-plus-1', function() {
				// If there's another sharing window open, close it.
				if ( 'undefined' !== typeof windowOpen ) {
					windowOpen.close();
				}
				windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomgoogle-plus-1', 'menubar=1,resizable=1,width=480,height=550' );
				return false;
			});
var windowOpen;
			jQuery( document.body ).on( 'click', 'a.share-twitter', function() {
				// If there's another sharing window open, close it.
				if ( 'undefined' !== typeof windowOpen ) {
					windowOpen.close();
				}
				windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomtwitter', 'menubar=1,resizable=1,width=600,height=350' );
				return false;
			});
var windowOpen;
			jQuery( document.body ).on( 'click', 'a.share-tumblr', function() {
				// If there's another sharing window open, close it.
				if ( 'undefined' !== typeof windowOpen ) {
					windowOpen.close();
				}
				windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomtumblr', 'menubar=1,resizable=1,width=450,height=450' );
				return false;
			});
var windowOpen;
			jQuery( document.body ).on( 'click', 'a.share-linkedin', function() {
				// If there's another sharing window open, close it.
				if ( 'undefined' !== typeof windowOpen ) {
					windowOpen.close();
				}
				windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomlinkedin', 'menubar=1,resizable=1,width=580,height=450' );
				return false;
			});
var windowOpen;
			jQuery( document.body ).on( 'click', 'a.share-skype', function() {
				// If there's another sharing window open, close it.
				if ( 'undefined' !== typeof windowOpen ) {
					windowOpen.close();
				}
				windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomskype', 'menubar=1,resizable=1,width=305,height=665' );
				return false;
			});
</script>
<script type='text/javascript' src='https://stats.wp.com/e-201807.js' async='async' defer='defer'></script>
<script type='text/javascript'>
	_stq = window._stq || [];
	_stq.push([ 'view', {v:'ext',j:'1:5.8',blog:'76486867',post:'17484',tz:'0',srv:'pipingpress.com'} ]);
	_stq.push([ 'clickTrackerInit', '76486867', '17484' ]);
</script>
</body>
</html>
<!-- Dynamic page generated in 1.267 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2018-02-13 18:17:34 -->

<!-- super cache -->