{"id":14694,"date":"2023-02-24T17:29:13","date_gmt":"2023-02-24T11:59:13","guid":{"rendered":"https:\/\/www.3point3labs.com\/?page_id=14694"},"modified":"2025-04-02T20:26:43","modified_gmt":"2025-04-02T14:56:43","slug":"tutorials","status":"publish","type":"page","link":"https:\/\/www.3point3labs.com\/index.php\/cbredigiverse\/tutorials\/","title":{"rendered":"Tutorials"},"content":{"rendered":"<p><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling fusion-no-small-visibility fusion-no-medium-visibility\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-padding-right:100px;--awb-padding-left:100px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1248px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_6 1_6 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:16.666666666667%;--awb-margin-top-large:0px;--awb-spacing-right-large:11.52%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:11.52%;--awb-width-medium:16.666666666667%;--awb-order-medium:0;--awb-spacing-right-medium:11.52%;--awb-spacing-left-medium:11.52%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-image-element\" style=\"--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\" fusion-imageframe imageframe-none imageframe-1 hover-type-none\"><a class=\"fusion-no-lightbox\" href=\"https:\/\/www.3point3labs.com\/index.php\/cbredigiverse\/\" target=\"_self\"><img decoding=\"async\" width=\"59\" height=\"59\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2759%27%20height%3D%2759%27%20viewBox%3D%270%200%2059%2059%27%3E%3Crect%20width%3D%2759%27%20height%3D%2759%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/01\/06175239\/CBRE_mob.png\" alt class=\"lazyload img-responsive wp-image-14453\"\/><\/a><\/span><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_5_6 5_6 fusion-flex-column fusion-flex-align-self-stretch\" style=\"--awb-bg-size:cover;--awb-width-large:83.333333333333%;--awb-margin-top-large:0px;--awb-spacing-right-large:2.304%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:2.304%;--awb-width-medium:83.333333333333%;--awb-order-medium:0;--awb-spacing-right-medium:2.304%;--awb-spacing-left-medium:2.304%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-space-around fusion-content-layout-column\"><div class=\"fusion-text fusion-text-1\"><h2 class=\"fusion-responsive-typography-calculated\" style=\"text-align: left; font-size: 56px; --fontsize: 56; line-height: 1.2; color: #003f2d;\" data-fusion-font=\"true\" data-fontsize=\"56\" data-lineheight=\"67.199997px\">CBRE DigiVerse Videos<\/h2>\n<\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-2 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-2\"><h3 class=\"fusion-responsive-typography-calculated\" style=\"color: rgb(0, 63, 45); --fontsize: 28; line-height: 1.2; --fontSize: 36;\" data-fontsize=\"36\" data-lineheight=\"43.200001px\">DigiVerse Tech App Demo<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-3 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-140954\"  id=\"tsvg-section-140954\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-140954{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-140954{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-140954 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-140954 main.tsvg-main-content-140954 > figure > ul,\n\t\t#tsvg-section-140954 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-140954 .tsvg-main-content-140954 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-140954 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-140954-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-140954  #TS_VGallery_pagination140954 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-140954 main.tsvg-main-content-140954[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-140954 main.tsvg-main-content-140954[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-140954 main.tsvg-main-content-140954[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-140954 main.tsvg-main-content-140954[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-140954 main.tsvg-main-content-140954[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-140954 main.tsvg-main-content-140954[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-140954 main.tsvg-main-content-140954[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-140954 main.tsvg-main-content-140954[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-140954 main.tsvg-main-content-140954[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-140954 main.tsvg-main-content-140954[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-140954 main.tsvg-main-content-140954[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-140954 .tsvg-main-content-140954 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_140954:2;\n\t\t--tsvg_g_bd_w_140954:3px;\n\t\t--tsvg_g_bd_c_140954:#ffffff;\n\t\t--tsvg_g_sh_140954:15px;\n\t\t--tsvg_g_sh_c_140954:#d3d3d3;\n\t\t--tsvg_g_border_Radius_140954:0%;\n\t\t--tsvg_g_place_between_140954:10px;\n\t\t--tsvg_hoo_c_140954:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_140954:15px;\n\t\t--tsvg_vto_ff_140954:Arial;\n\t\t--tsvg_vto_c_140954:#ededed;\n\t\t--tsvg_vto_b_bd_w_140954:1px;\n\t\t--tsvg_vto_bd_c_140954:#ffffff;\n\t\t--tsvg_vto_t_bd_w_140954:0px;\n\t\t--tsvg_vto_t_bd_c_140954:#000000;\n\t\t--tsvg_lo_fs_140954:16px;\n\t\t--tsvg_lo_ff_140954:Aldhabi;\n\t\t--tsvg_lo_c_140954:#ffffff;\n\t\t--tsvg_lo_bd_w_140954:5px;\n\t\t--tsvg_lo_bd_c_140954:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_140954:0px;\n\t\t--tsvg_lo_bg_c_140954:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_140954:#ffffff;\n\t\t--tsvg_lo_h_bd_c_140954:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_140954:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_140954:550;\n\t\t--tsvg_popup_po_v_h_140954:350;\n\t\t--tsvg_popup_po_o_c_140954:#000000;\n\t\t--tsvg_popup_po_vbc_c_140954:#000000;\n\t\t--tsvg_popup_psi_s_140954:36;\n\t\t--tsvg_popup_psi_c_140954:#ffffff;\n\t\t--tsvg_popup_pt_hbr_c_140954:#ffffff;\n\t\t--tsvg_popup_pt_br_w_140954:3;\n\t\t--tsvg_popup_pt_w_140954:95;\n\t\t--tsvg_popup_pt_h_140954:65;\n\t\t--tsvg_popup_pt_c_i_c140954:#ffffff;\n\t\t--tsvg_popup_ci_fs_140954:22px;\n\t\t--tsvg_popup_ci_ff_140954:Gabriola;\n\t\t--tsvg_popup_ci_c_140954:#ffffff;\n\t\t--tsvg_popup_ci_csi_s_140954:30;\n\t\t--tsvg_popup_ci_csi_c_140954:#ffffff;\n\t}\n\t#tsvg-section-140954    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-140954   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-140954 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_140954);\n\t  \tfont-family: var(--tsvg_vto_ff_140954);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_140954);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_140954)  var(--tsvg_vto_bd_c_140954) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_140954) solid var(--tsvg_vto_t_bd_c_140954) !important;\n\t}\n\t.tsvg-fancy-block-140954 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-140954 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-140954 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-140954  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_140954) !important;\n\t\tline-height: var(--tsvg_lo_fs_140954) !important;\n\t\tfont-family: var(--tsvg_lo_ff_140954) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_140954) !important;\n\t\tborder: var(--tsvg_lo_bd_w_140954) solid var(--tsvg_lo_bd_c_140954)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_140954) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_140954) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-140954  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_140954) !important;\n\t\tline-height: var(--tsvg_lo_fs_140954) !important;\n\t\tfont-family: var(--tsvg_lo_ff_140954) !important;\n\t\tcolor: var(--tsvg_lo_c_140954) !important;\n\t\tborder: var(--tsvg_lo_bd_w_140954) solid var(--tsvg_lo_bd_c_140954)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_140954) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_140954) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-140954  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_140954) !important;\n\t\tline-height: var(--tsvg_lo_fs_140954) !important;\n\t\tfont-family: var(--tsvg_lo_ff_140954) !important;\n\t\tcolor: var(--tsvg_lo_c_140954) !important;\n\t\tborder: var(--tsvg_lo_bd_w_140954) solid var(--tsvg_lo_bd_c_140954)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_140954) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_140954);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-140954:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-140954 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_140954) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_140954) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_140954) !important;\n\t}\n\t#tsvg-section-140954  .tsvg-fancy-block-140954 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_140954) *  var(--tsvg_g_img_w_140954)) ) \/ var(--tsvg_g_img_w_140954))!important;\n\t\tborder:  var(--tsvg_g_bd_w_140954) solid  var(--tsvg_g_bd_c_140954) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_140954)  var(--tsvg_g_sh_c_140954);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_140954);\n\t\tmargin:  var(--tsvg_g_place_between_140954) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-140954  .tsvg-fancy-block-140954  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-140954  .tsvg-fancy-block-140954  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-140954  .tsvg-fancy-block-140954  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-140954 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-140954 {\n\t\t\tmargin: var(--tsvg_g_place_between_140954) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-140954[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_140954: 2;\n\t}\n\t.tsvg-main-content-140954[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_140954: 1;\n\t}\n\t.tsvg-fancy-block-140954 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_140954)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_140954);\n\t  font-family : var(--tsvg_popup_ci_ff_140954);\n\t  color : var(--tsvg_popup_ci_c_140954);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-140954 a[href=''], .tsvg-fancy-blocks-list-140954 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-140954\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"#000000\" data-tsvg-BgC=\"#000000\" data-tsvg-HBC=\"#ffffff\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-140954 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"true\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"#ffffff\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-arrow-circle-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-arrow-circle-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-140954\"  data-tsvg-S=\"36\"  data-tsvg-C=\"#ffffff\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times-circle\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"#ffffff\"  data-tsvg-TIC=\"#ffffff\"  data-tsvg-Color=\"#ffffff\"  data-tsvg-PT=\"\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-140954\" data-tsvg-id=\"116\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-140954\" data-href=\"https:\/\/www.youtube.com\/embed\/eUMoz7O4TqU\" data-width=\"550\" data-height=\"350\" data-group=\"mygroup140954\" data-thumbnail=\"https:\/\/i.ytimg.com\/vi\/eUMoz7O4TqU\/maxresdefault.jpg\" data-title=\"DigiVerse Tech App Demo\" data-tsvgid=\"116\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\">View...<\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/i.ytimg.com\/vi\/eUMoz7O4TqU\/maxresdefault.jpg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"true\">\n\t\t\t\t\t\t\tDigiVerse Tech App Demo\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval140954 = null,\n\ttsvgFancyJsFolder140954 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction140954 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox140954 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder140954,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-140954[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe140954(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls140954(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-140954[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe140954 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls140954 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-140954\").html5lightbox140954({},'140954');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-140954').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse140954 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse140954 = tsvgFancyHoverInverse140954 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-140954 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse140954});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval140954);\n\t\t}\n\t},\n\ttsvgFancyReference140954 = (\n\t\tfunction tsvgFancySameCall140954() {\n\t\t\ttsvgFancyInterval140954 = setInterval(tsvgFancyIntervalFunction140954, 1000);\n\t\t\treturn tsvgFancySameCall140954;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-140954 *::after, #tsvg-section-140954 *::before, #tsvg-section-140954 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-140954 *::after, #tsvg-section-140954 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-140954[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-140954[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-140954 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-140954 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-140954[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-140954[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_140954:#555;\n\t\t--tsvg_s_bc_140954:#ddd;\n\t\t--tsvg_s_h_c_140954:#cf095c;\n\t\t--tsvg_s_h_bc_140954:#cf095c;\n\t\t--tsvg_s_ac_c_140954:#cf095c;\n\t\t--tsvg_s_ac_bc_140954:#cf095c;\n\t\t--tsvg_s_fs_140954:18px;\n\t\t--tsvg_s_ff_140954:Amaranth;\n\t\t--tsvg_s_b_c_140954:#ddd;\n\t\t--tsvg_s_b_s_140954:2px;\n\t\t--tsvg_s_pl_fs_140954:14px;\n\t\t--tsvg_s_l_c_140954:#444;\n\t\t--tsvg_s_l_bc_140954:#fff;\n\t\t--tsvg_s_l_fs_140954:20px;\n\t\t--tsvg_s_l_ff_140954:Amaranth;\n\t\t--tsvg_s_l_bc_2_140954:#ff1f71;\n\t\t--tsvg_s_l_h_c_140954:#fff;\n\t\t--tsvg_s_l_h_bc_140954:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_140954:#FBC638;\n\t}\n\tsection.tsvg-section-140954 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-140954  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_140954)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-140954 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_140954)!important;\n\t}\n\tsection.tsvg-section-140954 .tsvg-pagination-pages>li>a,section.tsvg-section-140954 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-140954 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_140954) ;\n\t\tbackground-color: var(--tsvg_s_bc_140954);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_140954) !important;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_140954);\n\t}\n\t.tsvg-section-140954 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_140954);\n\t\tcolor:var(--tsvg_s_c_140954) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_140954) !important;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_140954) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_140954);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_140954);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_140954);\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-140954  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_140954);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-140954   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-140954  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_140954) !important;\n\t   background:  var(--tsvg_s_l_bc_140954);\n\t   font-family:  var(--tsvg_s_l_ff_140954)!important;\n\t   font-size:  var(--tsvg_s_l_fs_140954);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-140954  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_140954);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_140954);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_140954);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_140954);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_140954);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_140954);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-140954 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-140954  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-140954 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-140954  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-140954 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"140954\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad140954 = 'false';\n\tfunction tsvgPaginationCreate140954(tsvgPaginationData140954,tsvgFrom140954, tsvgTo140954) {\n\t\tlet tsvgShowData140954 = tsvgPaginationData140954.slice(tsvgFrom140954, tsvgTo140954);\n\t\tlet tsvgThemeName140954 = jQuery(tsvgPaginationData140954).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData140954, function (index, value) {\n\t\t\tlet tsvgAnimDelay140954 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad140954 == 'true'){\n\t\t\t\ttsvgAnimDelay140954 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay140954+'s','-webkit-animation-delay': tsvgAnimDelay140954+'s','animation-delay': tsvgAnimDelay140954+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName140954 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData140954.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval140954= setInterval(tsvgGridUpdate140954, 100);\n\t\t\t\t\tfunction tsvgGridUpdate140954() {\n\t\t\t\t\t\tif( tsvgGridPagination140954(tsvgPaginationData140954) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval140954);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-140954').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-140954 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-pages li,.tsvg-section-140954 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate140954() {\n\t\tlet tsvgPaginationData140954 = jQuery('.tsvg-main-content-140954  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData140954.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-140954').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-140954 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-140954 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-140954 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-140954 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-140954 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-140954 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-140954').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-140954 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-140954  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-140954  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-140954 .tsvg-pagination-pages li,.tsvg-section-140954 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-140954').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-140954 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-140954  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-140954  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-140954  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-140954 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-140954  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-140954').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-140954')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-140954').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-140954').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-140954  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-140954')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-140954  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-140954  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-140954 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-140954  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-140954  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-140954  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-140954  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-140954  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-140954  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-140954  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-140954')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-140954  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-140954  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-140954  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-140954  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-140954  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-140954  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-140954  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-140954  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-140954 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-140954  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate140954(tsvgPaginationData140954,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-140954 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-140954 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-140954').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-140954  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-140954').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-140954').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-140954 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-140954').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-140954 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-140954 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-140954').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-140954  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad140954 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-140954').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-140954').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate140954(jQuery('.tsvg-main-content-140954  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate140954(jQuery('.tsvg-section-140954  .tsvg-main-content-140954  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination140954(){\n\t\tlet tsvgPaginationInterval140954 = setInterval(tsvgSetPagination140954, 100);\n\t\tfunction tsvgSetPagination140954() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-140954').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-140954').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate140954();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval140954);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination140954();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate140954();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-4 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-3\"><h3 class=\"\" style=\"color: #003f2d; --fontsize: 28; line-height: 1.2;\" data-fontsize=\"28\" data-lineheight=\"33.600002px\">DigiVerse Tutorials<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-5 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-510183\"  id=\"tsvg-section-510183\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-510183{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-510183{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-510183 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-510183 main.tsvg-main-content-510183 > figure > ul,\n\t\t#tsvg-section-510183 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-510183 .tsvg-main-content-510183 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-510183 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-510183-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-510183  #TS_VGallery_pagination510183 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-510183 main.tsvg-main-content-510183[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-510183 main.tsvg-main-content-510183[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-510183 main.tsvg-main-content-510183[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-510183 main.tsvg-main-content-510183[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-510183 main.tsvg-main-content-510183[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-510183 main.tsvg-main-content-510183[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-510183 main.tsvg-main-content-510183[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-510183 main.tsvg-main-content-510183[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-510183 main.tsvg-main-content-510183[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-510183 main.tsvg-main-content-510183[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-510183 main.tsvg-main-content-510183[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-510183 .tsvg-main-content-510183 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_510183:2;\n\t\t--tsvg_g_bd_w_510183:2px;\n\t\t--tsvg_g_bd_c_510183:rgb(255, 255, 255);\n\t\t--tsvg_g_sh_510183:15px;\n\t\t--tsvg_g_sh_c_510183:#d3d3d3;\n\t\t--tsvg_g_border_Radius_510183:0%;\n\t\t--tsvg_g_place_between_510183:10px;\n\t\t--tsvg_hoo_c_510183:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_510183:15px;\n\t\t--tsvg_vto_ff_510183:Arial;\n\t\t--tsvg_vto_c_510183:#ededed;\n\t\t--tsvg_vto_b_bd_w_510183:1px;\n\t\t--tsvg_vto_bd_c_510183:#ffffff;\n\t\t--tsvg_vto_t_bd_w_510183:0px;\n\t\t--tsvg_vto_t_bd_c_510183:#000000;\n\t\t--tsvg_lo_fs_510183:8px;\n\t\t--tsvg_lo_ff_510183:Aldhabi;\n\t\t--tsvg_lo_c_510183:#ffffff;\n\t\t--tsvg_lo_bd_w_510183:5px;\n\t\t--tsvg_lo_bd_c_510183:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_510183:0px;\n\t\t--tsvg_lo_bg_c_510183:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_510183:#ffffff;\n\t\t--tsvg_lo_h_bd_c_510183:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_510183:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_510183:708;\n\t\t--tsvg_popup_po_v_h_510183:449;\n\t\t--tsvg_popup_po_o_c_510183:rgb(0, 63, 45);\n\t\t--tsvg_popup_po_vbc_c_510183:rgb(0, 0, 0);\n\t\t--tsvg_popup_psi_s_510183:36;\n\t\t--tsvg_popup_psi_c_510183:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_hbr_c_510183:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_br_w_510183:3;\n\t\t--tsvg_popup_pt_w_510183:95;\n\t\t--tsvg_popup_pt_h_510183:65;\n\t\t--tsvg_popup_pt_c_i_c510183:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_fs_510183:22px;\n\t\t--tsvg_popup_ci_ff_510183:Gabriola;\n\t\t--tsvg_popup_ci_c_510183:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_csi_s_510183:30;\n\t\t--tsvg_popup_ci_csi_c_510183:rgb(202, 209, 211);\n\t}\n\t#tsvg-section-510183    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-510183   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-510183 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_510183);\n\t  \tfont-family: var(--tsvg_vto_ff_510183);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_510183);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_510183)  var(--tsvg_vto_bd_c_510183) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_510183) solid var(--tsvg_vto_t_bd_c_510183) !important;\n\t}\n\t.tsvg-fancy-block-510183 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-510183 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-510183 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-510183  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_510183) !important;\n\t\tline-height: var(--tsvg_lo_fs_510183) !important;\n\t\tfont-family: var(--tsvg_lo_ff_510183) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_510183) !important;\n\t\tborder: var(--tsvg_lo_bd_w_510183) solid var(--tsvg_lo_bd_c_510183)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_510183) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_510183) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-510183  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_510183) !important;\n\t\tline-height: var(--tsvg_lo_fs_510183) !important;\n\t\tfont-family: var(--tsvg_lo_ff_510183) !important;\n\t\tcolor: var(--tsvg_lo_c_510183) !important;\n\t\tborder: var(--tsvg_lo_bd_w_510183) solid var(--tsvg_lo_bd_c_510183)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_510183) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_510183) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-510183  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_510183) !important;\n\t\tline-height: var(--tsvg_lo_fs_510183) !important;\n\t\tfont-family: var(--tsvg_lo_ff_510183) !important;\n\t\tcolor: var(--tsvg_lo_c_510183) !important;\n\t\tborder: var(--tsvg_lo_bd_w_510183) solid var(--tsvg_lo_bd_c_510183)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_510183) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_510183);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-510183:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-510183 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_510183) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_510183) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_510183) !important;\n\t}\n\t#tsvg-section-510183  .tsvg-fancy-block-510183 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_510183) *  var(--tsvg_g_img_w_510183)) ) \/ var(--tsvg_g_img_w_510183))!important;\n\t\tborder:  var(--tsvg_g_bd_w_510183) solid  var(--tsvg_g_bd_c_510183) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_510183)  var(--tsvg_g_sh_c_510183);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_510183);\n\t\tmargin:  var(--tsvg_g_place_between_510183) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-510183  .tsvg-fancy-block-510183  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-510183  .tsvg-fancy-block-510183  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-510183  .tsvg-fancy-block-510183  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-510183 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-510183 {\n\t\t\tmargin: var(--tsvg_g_place_between_510183) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-510183[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_510183: 2;\n\t}\n\t.tsvg-main-content-510183[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_510183: 1;\n\t}\n\t.tsvg-fancy-block-510183 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_510183)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_510183);\n\t  font-family : var(--tsvg_popup_ci_ff_510183);\n\t  color : var(--tsvg_popup_ci_c_510183);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-510183 a[href=''], .tsvg-fancy-blocks-list-510183 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-510183\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"rgb(0, 63, 45)\" data-tsvg-BgC=\"rgb(0, 0, 0)\" data-tsvg-HBC=\"rgb(202, 209, 211)\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-510183 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"false\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"rgb(202, 209, 211)\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-chevron-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-chevron-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-510183\"  data-tsvg-S=\"36\"  data-tsvg-C=\"rgb(202, 209, 211)\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"rgb(202, 209, 211)\"  data-tsvg-TIC=\"rgb(202, 209, 211)\"  data-tsvg-Color=\"rgb(202, 209, 211)\"  data-tsvg-PT=\"false\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-510183\" data-tsvg-id=\"83\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-510183\" data-href=\"https:\/\/www.youtube.com\/embed\/iFR-_tkRqaU\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup510183\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103001\/DT1.jpeg\" data-title=\"Tutorial 1 - Login\" data-tsvgid=\"83\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103001\/DT1.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 1 - Login\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-510183\" data-tsvg-id=\"84\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-510183\" data-href=\"https:\/\/www.youtube.com\/embed\/8lLTpb1mWcA\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup510183\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103017\/DT2.jpeg\" data-title=\"Tutorial 2 - Logout\" data-tsvgid=\"84\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103017\/DT2.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 2 - Logout\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-510183\" data-tsvg-id=\"85\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-510183\" data-href=\"https:\/\/www.youtube.com\/embed\/_b9kw6JReC8\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup510183\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103034\/DT3.jpeg\" data-title=\"Tutorial 3 - Switch Apss\" data-tsvgid=\"85\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103034\/DT3.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 3 - Switch Apss\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-510183\" data-tsvg-id=\"86\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-510183\" data-href=\"https:\/\/www.youtube.com\/embed\/5ZbE1h01Pgs\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup510183\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103051\/DT4.jpeg\" data-title=\"Tutorial 4 - Language change\" data-tsvgid=\"86\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103051\/DT4.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 4 - Language change\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-510183\" data-tsvg-id=\"87\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-510183\" data-href=\"https:\/\/www.youtube.com\/embed\/T3VKCILPhWc\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup510183\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103108\/DT5.jpeg\" data-title=\"Tutorial 5 - Offline Mode\" data-tsvgid=\"87\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103108\/DT5.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 5 - Offline Mode\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-510183\" data-tsvg-id=\"96\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-510183\" data-href=\"https:\/\/www.youtube.com\/embed\/vY_pTPFsjK0\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup510183\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103125\/DT6.jpeg\" data-title=\"Tutorial 6 - Synchronisation\" data-tsvgid=\"96\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103125\/DT6.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 6 - Synchronisation\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-510183\" data-tsvg-id=\"97\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-510183\" data-href=\"https:\/\/www.youtube.com\/embed\/DI6jBfaWIj8\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup510183\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103142\/DT7.jpeg\" data-title=\"Tutorial 7 - Help Center\" data-tsvgid=\"97\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103142\/DT7.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 7 - Help Center\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval510183 = null,\n\ttsvgFancyJsFolder510183 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction510183 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox510183 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder510183,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-510183[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe510183(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls510183(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-510183[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe510183 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls510183 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-510183\").html5lightbox510183({},'510183');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-510183').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse510183 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse510183 = tsvgFancyHoverInverse510183 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-510183 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse510183});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval510183);\n\t\t}\n\t},\n\ttsvgFancyReference510183 = (\n\t\tfunction tsvgFancySameCall510183() {\n\t\t\ttsvgFancyInterval510183 = setInterval(tsvgFancyIntervalFunction510183, 1000);\n\t\t\treturn tsvgFancySameCall510183;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-510183 *::after, #tsvg-section-510183 *::before, #tsvg-section-510183 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-510183 *::after, #tsvg-section-510183 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-510183[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-510183[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-510183 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-510183 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-510183[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-510183[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_510183:#555;\n\t\t--tsvg_s_bc_510183:#ddd;\n\t\t--tsvg_s_h_c_510183:#cf095c;\n\t\t--tsvg_s_h_bc_510183:#cf095c;\n\t\t--tsvg_s_ac_c_510183:#cf095c;\n\t\t--tsvg_s_ac_bc_510183:#cf095c;\n\t\t--tsvg_s_fs_510183:18px;\n\t\t--tsvg_s_ff_510183:Amaranth;\n\t\t--tsvg_s_b_c_510183:#ddd;\n\t\t--tsvg_s_b_s_510183:2px;\n\t\t--tsvg_s_pl_fs_510183:14px;\n\t\t--tsvg_s_l_c_510183:#444;\n\t\t--tsvg_s_l_bc_510183:#fff;\n\t\t--tsvg_s_l_fs_510183:20px;\n\t\t--tsvg_s_l_ff_510183:Amaranth;\n\t\t--tsvg_s_l_bc_2_510183:#ff1f71;\n\t\t--tsvg_s_l_h_c_510183:#fff;\n\t\t--tsvg_s_l_h_bc_510183:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_510183:#FBC638;\n\t}\n\tsection.tsvg-section-510183 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-510183  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_510183)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-510183 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_510183)!important;\n\t}\n\tsection.tsvg-section-510183 .tsvg-pagination-pages>li>a,section.tsvg-section-510183 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-510183 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_510183) ;\n\t\tbackground-color: var(--tsvg_s_bc_510183);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_510183) !important;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_510183);\n\t}\n\t.tsvg-section-510183 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_510183);\n\t\tcolor:var(--tsvg_s_c_510183) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_510183) !important;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_510183) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_510183);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_510183);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_510183);\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-510183  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_510183);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-510183   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-510183  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_510183) !important;\n\t   background:  var(--tsvg_s_l_bc_510183);\n\t   font-family:  var(--tsvg_s_l_ff_510183)!important;\n\t   font-size:  var(--tsvg_s_l_fs_510183);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-510183  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_510183);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_510183);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_510183);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_510183);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_510183);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_510183);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-510183 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-510183  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-510183 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-510183  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-510183 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"510183\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad510183 = 'false';\n\tfunction tsvgPaginationCreate510183(tsvgPaginationData510183,tsvgFrom510183, tsvgTo510183) {\n\t\tlet tsvgShowData510183 = tsvgPaginationData510183.slice(tsvgFrom510183, tsvgTo510183);\n\t\tlet tsvgThemeName510183 = jQuery(tsvgPaginationData510183).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData510183, function (index, value) {\n\t\t\tlet tsvgAnimDelay510183 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad510183 == 'true'){\n\t\t\t\ttsvgAnimDelay510183 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay510183+'s','-webkit-animation-delay': tsvgAnimDelay510183+'s','animation-delay': tsvgAnimDelay510183+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName510183 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData510183.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval510183= setInterval(tsvgGridUpdate510183, 100);\n\t\t\t\t\tfunction tsvgGridUpdate510183() {\n\t\t\t\t\t\tif( tsvgGridPagination510183(tsvgPaginationData510183) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval510183);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-510183').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-510183 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-pages li,.tsvg-section-510183 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate510183() {\n\t\tlet tsvgPaginationData510183 = jQuery('.tsvg-main-content-510183  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData510183.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-510183').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-510183 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-510183 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-510183 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-510183 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-510183 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-510183 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-510183').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-510183 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-510183  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-510183  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-510183 .tsvg-pagination-pages li,.tsvg-section-510183 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-510183').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-510183 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-510183  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-510183  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-510183  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-510183 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-510183  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-510183').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-510183')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-510183').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-510183').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-510183  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-510183')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-510183  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-510183  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-510183 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-510183  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-510183  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-510183  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-510183  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-510183  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-510183  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-510183  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-510183')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-510183  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-510183  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-510183  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-510183  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-510183  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-510183  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-510183  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-510183  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-510183 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-510183  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate510183(tsvgPaginationData510183,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-510183 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-510183 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-510183').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-510183  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-510183').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-510183').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-510183 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-510183').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-510183 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-510183 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-510183').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-510183  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad510183 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-510183').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-510183').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate510183(jQuery('.tsvg-main-content-510183  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate510183(jQuery('.tsvg-section-510183  .tsvg-main-content-510183  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination510183(){\n\t\tlet tsvgPaginationInterval510183 = setInterval(tsvgSetPagination510183, 100);\n\t\tfunction tsvgSetPagination510183() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-510183').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-510183').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate510183();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval510183);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination510183();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate510183();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-6 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-4\"><h3 class=\"fusion-responsive-typography-calculated\" style=\"color: #003f2d; --fontsize: 28; line-height: 1.2;\" data-fontsize=\"28\" data-lineheight=\"33.600002px\">LCAM+ Demos<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-7 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-114815\"  id=\"tsvg-section-114815\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-114815{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-114815{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-114815 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-114815 main.tsvg-main-content-114815 > figure > ul,\n\t\t#tsvg-section-114815 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-114815 .tsvg-main-content-114815 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-114815 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-114815-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-114815  #TS_VGallery_pagination114815 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-114815 main.tsvg-main-content-114815[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-114815 main.tsvg-main-content-114815[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-114815 main.tsvg-main-content-114815[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-114815 main.tsvg-main-content-114815[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-114815 main.tsvg-main-content-114815[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-114815 main.tsvg-main-content-114815[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-114815 main.tsvg-main-content-114815[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-114815 main.tsvg-main-content-114815[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-114815 main.tsvg-main-content-114815[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-114815 main.tsvg-main-content-114815[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-114815 main.tsvg-main-content-114815[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-114815 .tsvg-main-content-114815 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_114815:2;\n\t\t--tsvg_g_bd_w_114815:2px;\n\t\t--tsvg_g_bd_c_114815:rgb(255, 255, 255);\n\t\t--tsvg_g_sh_114815:15px;\n\t\t--tsvg_g_sh_c_114815:#d3d3d3;\n\t\t--tsvg_g_border_Radius_114815:0%;\n\t\t--tsvg_g_place_between_114815:10px;\n\t\t--tsvg_hoo_c_114815:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_114815:15px;\n\t\t--tsvg_vto_ff_114815:Arial;\n\t\t--tsvg_vto_c_114815:#ededed;\n\t\t--tsvg_vto_b_bd_w_114815:1px;\n\t\t--tsvg_vto_bd_c_114815:#ffffff;\n\t\t--tsvg_vto_t_bd_w_114815:0px;\n\t\t--tsvg_vto_t_bd_c_114815:#000000;\n\t\t--tsvg_lo_fs_114815:8px;\n\t\t--tsvg_lo_ff_114815:Aldhabi;\n\t\t--tsvg_lo_c_114815:#ffffff;\n\t\t--tsvg_lo_bd_w_114815:5px;\n\t\t--tsvg_lo_bd_c_114815:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_114815:0px;\n\t\t--tsvg_lo_bg_c_114815:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_114815:#ffffff;\n\t\t--tsvg_lo_h_bd_c_114815:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_114815:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_114815:708;\n\t\t--tsvg_popup_po_v_h_114815:449;\n\t\t--tsvg_popup_po_o_c_114815:rgb(0, 63, 45);\n\t\t--tsvg_popup_po_vbc_c_114815:rgb(0, 0, 0);\n\t\t--tsvg_popup_psi_s_114815:36;\n\t\t--tsvg_popup_psi_c_114815:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_hbr_c_114815:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_br_w_114815:3;\n\t\t--tsvg_popup_pt_w_114815:95;\n\t\t--tsvg_popup_pt_h_114815:65;\n\t\t--tsvg_popup_pt_c_i_c114815:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_fs_114815:22px;\n\t\t--tsvg_popup_ci_ff_114815:Gabriola;\n\t\t--tsvg_popup_ci_c_114815:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_csi_s_114815:30;\n\t\t--tsvg_popup_ci_csi_c_114815:rgb(202, 209, 211);\n\t}\n\t#tsvg-section-114815    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-114815   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-114815 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_114815);\n\t  \tfont-family: var(--tsvg_vto_ff_114815);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_114815);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_114815)  var(--tsvg_vto_bd_c_114815) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_114815) solid var(--tsvg_vto_t_bd_c_114815) !important;\n\t}\n\t.tsvg-fancy-block-114815 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-114815 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-114815 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-114815  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_114815) !important;\n\t\tline-height: var(--tsvg_lo_fs_114815) !important;\n\t\tfont-family: var(--tsvg_lo_ff_114815) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_114815) !important;\n\t\tborder: var(--tsvg_lo_bd_w_114815) solid var(--tsvg_lo_bd_c_114815)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_114815) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_114815) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-114815  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_114815) !important;\n\t\tline-height: var(--tsvg_lo_fs_114815) !important;\n\t\tfont-family: var(--tsvg_lo_ff_114815) !important;\n\t\tcolor: var(--tsvg_lo_c_114815) !important;\n\t\tborder: var(--tsvg_lo_bd_w_114815) solid var(--tsvg_lo_bd_c_114815)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_114815) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_114815) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-114815  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_114815) !important;\n\t\tline-height: var(--tsvg_lo_fs_114815) !important;\n\t\tfont-family: var(--tsvg_lo_ff_114815) !important;\n\t\tcolor: var(--tsvg_lo_c_114815) !important;\n\t\tborder: var(--tsvg_lo_bd_w_114815) solid var(--tsvg_lo_bd_c_114815)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_114815) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_114815);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-114815:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-114815 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_114815) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_114815) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_114815) !important;\n\t}\n\t#tsvg-section-114815  .tsvg-fancy-block-114815 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_114815) *  var(--tsvg_g_img_w_114815)) ) \/ var(--tsvg_g_img_w_114815))!important;\n\t\tborder:  var(--tsvg_g_bd_w_114815) solid  var(--tsvg_g_bd_c_114815) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_114815)  var(--tsvg_g_sh_c_114815);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_114815);\n\t\tmargin:  var(--tsvg_g_place_between_114815) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-114815  .tsvg-fancy-block-114815  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-114815  .tsvg-fancy-block-114815  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-114815  .tsvg-fancy-block-114815  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-114815 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-114815 {\n\t\t\tmargin: var(--tsvg_g_place_between_114815) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-114815[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_114815: 2;\n\t}\n\t.tsvg-main-content-114815[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_114815: 1;\n\t}\n\t.tsvg-fancy-block-114815 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_114815)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_114815);\n\t  font-family : var(--tsvg_popup_ci_ff_114815);\n\t  color : var(--tsvg_popup_ci_c_114815);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-114815 a[href=''], .tsvg-fancy-blocks-list-114815 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-114815\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"rgb(0, 63, 45)\" data-tsvg-BgC=\"rgb(0, 0, 0)\" data-tsvg-HBC=\"rgb(202, 209, 211)\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-114815 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"false\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"rgb(202, 209, 211)\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-chevron-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-chevron-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-114815\"  data-tsvg-S=\"36\"  data-tsvg-C=\"rgb(202, 209, 211)\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"rgb(202, 209, 211)\"  data-tsvg-TIC=\"rgb(202, 209, 211)\"  data-tsvg-Color=\"rgb(202, 209, 211)\"  data-tsvg-PT=\"false\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-114815\" data-tsvg-id=\"92\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-114815\" data-href=\"https:\/\/www.youtube.com\/embed\/8KSMzXyT1Qk\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup114815\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103159\/LCAMD1.jpeg\" data-title=\"DigiVerse LCAM+ Demo 1 - Asset Creation\" data-tsvgid=\"92\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103159\/LCAMD1.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDigiVerse LCAM+ Demo 1 - Asset Creation\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-114815\" data-tsvg-id=\"93\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-114815\" data-href=\"https:\/\/www.youtube.com\/embed\/D2mfldROGx8\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup114815\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103216\/LCAMD2.jpeg\" data-title=\"DigiVerse LCAM+ Demo 2 - Asset Validation\" data-tsvgid=\"93\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103216\/LCAMD2.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDigiVerse LCAM+ Demo 2 - Asset Validation\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-114815\" data-tsvg-id=\"94\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-114815\" data-href=\"https:\/\/www.youtube.com\/embed\/mKTKuQR1J_E\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup114815\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103233\/LCAMD3.jpeg\" data-title=\"DigiVerse LCAM+ Demo 3 - Decommission Asset\" data-tsvgid=\"94\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103233\/LCAMD3.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDigiVerse LCAM+ Demo 3 - Decommission Asset\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-114815\" data-tsvg-id=\"95\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-114815\" data-href=\"https:\/\/www.youtube.com\/embed\/UiUR1AsPHow\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup114815\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103250\/LCAMD4.jpeg\" data-title=\"DigiVerse LCAM+ Demo 4 - Asset Condition Survey\" data-tsvgid=\"95\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103250\/LCAMD4.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDigiVerse LCAM+ Demo 4 - Asset Condition Survey\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval114815 = null,\n\ttsvgFancyJsFolder114815 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction114815 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox114815 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder114815,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-114815[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe114815(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls114815(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-114815[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe114815 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls114815 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-114815\").html5lightbox114815({},'114815');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-114815').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse114815 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse114815 = tsvgFancyHoverInverse114815 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-114815 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse114815});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval114815);\n\t\t}\n\t},\n\ttsvgFancyReference114815 = (\n\t\tfunction tsvgFancySameCall114815() {\n\t\t\ttsvgFancyInterval114815 = setInterval(tsvgFancyIntervalFunction114815, 1000);\n\t\t\treturn tsvgFancySameCall114815;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-114815 *::after, #tsvg-section-114815 *::before, #tsvg-section-114815 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-114815 *::after, #tsvg-section-114815 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-114815[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-114815[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-114815 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-114815 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-114815[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-114815[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_114815:#555;\n\t\t--tsvg_s_bc_114815:#ddd;\n\t\t--tsvg_s_h_c_114815:#cf095c;\n\t\t--tsvg_s_h_bc_114815:#cf095c;\n\t\t--tsvg_s_ac_c_114815:#cf095c;\n\t\t--tsvg_s_ac_bc_114815:#cf095c;\n\t\t--tsvg_s_fs_114815:18px;\n\t\t--tsvg_s_ff_114815:Amaranth;\n\t\t--tsvg_s_b_c_114815:#ddd;\n\t\t--tsvg_s_b_s_114815:2px;\n\t\t--tsvg_s_pl_fs_114815:14px;\n\t\t--tsvg_s_l_c_114815:#444;\n\t\t--tsvg_s_l_bc_114815:#fff;\n\t\t--tsvg_s_l_fs_114815:20px;\n\t\t--tsvg_s_l_ff_114815:Amaranth;\n\t\t--tsvg_s_l_bc_2_114815:#ff1f71;\n\t\t--tsvg_s_l_h_c_114815:#fff;\n\t\t--tsvg_s_l_h_bc_114815:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_114815:#FBC638;\n\t}\n\tsection.tsvg-section-114815 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-114815  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_114815)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-114815 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_114815)!important;\n\t}\n\tsection.tsvg-section-114815 .tsvg-pagination-pages>li>a,section.tsvg-section-114815 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-114815 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_114815) ;\n\t\tbackground-color: var(--tsvg_s_bc_114815);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_114815) !important;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_114815);\n\t}\n\t.tsvg-section-114815 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_114815);\n\t\tcolor:var(--tsvg_s_c_114815) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_114815) !important;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_114815) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_114815);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_114815);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_114815);\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-114815  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_114815);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-114815   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-114815  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_114815) !important;\n\t   background:  var(--tsvg_s_l_bc_114815);\n\t   font-family:  var(--tsvg_s_l_ff_114815)!important;\n\t   font-size:  var(--tsvg_s_l_fs_114815);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-114815  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_114815);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_114815);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_114815);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_114815);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_114815);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_114815);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-114815 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-114815  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-114815 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-114815  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-114815 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"114815\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad114815 = 'false';\n\tfunction tsvgPaginationCreate114815(tsvgPaginationData114815,tsvgFrom114815, tsvgTo114815) {\n\t\tlet tsvgShowData114815 = tsvgPaginationData114815.slice(tsvgFrom114815, tsvgTo114815);\n\t\tlet tsvgThemeName114815 = jQuery(tsvgPaginationData114815).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData114815, function (index, value) {\n\t\t\tlet tsvgAnimDelay114815 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad114815 == 'true'){\n\t\t\t\ttsvgAnimDelay114815 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay114815+'s','-webkit-animation-delay': tsvgAnimDelay114815+'s','animation-delay': tsvgAnimDelay114815+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName114815 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData114815.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval114815= setInterval(tsvgGridUpdate114815, 100);\n\t\t\t\t\tfunction tsvgGridUpdate114815() {\n\t\t\t\t\t\tif( tsvgGridPagination114815(tsvgPaginationData114815) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval114815);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-114815').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-114815 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-pages li,.tsvg-section-114815 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate114815() {\n\t\tlet tsvgPaginationData114815 = jQuery('.tsvg-main-content-114815  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData114815.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-114815').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-114815 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-114815 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-114815 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-114815 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-114815 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-114815 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-114815').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-114815 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-114815  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-114815  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-114815 .tsvg-pagination-pages li,.tsvg-section-114815 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-114815').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-114815 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-114815  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-114815  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-114815  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-114815 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-114815  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-114815').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-114815')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-114815').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-114815').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-114815  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-114815')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-114815  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-114815  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-114815 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-114815  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-114815  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-114815  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-114815  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-114815  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-114815  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-114815  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-114815')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-114815  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-114815  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-114815  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-114815  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-114815  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-114815  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-114815  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-114815  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-114815 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-114815  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate114815(tsvgPaginationData114815,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-114815 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-114815 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-114815').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-114815  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-114815').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-114815').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-114815 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-114815').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-114815 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-114815 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-114815').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-114815  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad114815 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-114815').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-114815').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate114815(jQuery('.tsvg-main-content-114815  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate114815(jQuery('.tsvg-section-114815  .tsvg-main-content-114815  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination114815(){\n\t\tlet tsvgPaginationInterval114815 = setInterval(tsvgSetPagination114815, 100);\n\t\tfunction tsvgSetPagination114815() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-114815').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-114815').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate114815();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval114815);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination114815();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate114815();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-8 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-5\"><h3 class=\"fusion-responsive-typography-calculated\" style=\"color: #003f2d; --fontsize: 28; line-height: 1.2;\" data-fontsize=\"28\" data-lineheight=\"33.600002px\">eCEI Tutorials<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-9 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-774535\"  id=\"tsvg-section-774535\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-774535{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-774535{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-774535 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-774535 main.tsvg-main-content-774535 > figure > ul,\n\t\t#tsvg-section-774535 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-774535 .tsvg-main-content-774535 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-774535 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-774535-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-774535  #TS_VGallery_pagination774535 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-774535 main.tsvg-main-content-774535[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-774535 main.tsvg-main-content-774535[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-774535 main.tsvg-main-content-774535[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-774535 main.tsvg-main-content-774535[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-774535 main.tsvg-main-content-774535[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-774535 main.tsvg-main-content-774535[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-774535 main.tsvg-main-content-774535[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-774535 main.tsvg-main-content-774535[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-774535 main.tsvg-main-content-774535[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-774535 main.tsvg-main-content-774535[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-774535 main.tsvg-main-content-774535[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-774535 .tsvg-main-content-774535 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_774535:2;\n\t\t--tsvg_g_bd_w_774535:2px;\n\t\t--tsvg_g_bd_c_774535:rgb(255, 255, 255);\n\t\t--tsvg_g_sh_774535:15px;\n\t\t--tsvg_g_sh_c_774535:#d3d3d3;\n\t\t--tsvg_g_border_Radius_774535:0%;\n\t\t--tsvg_g_place_between_774535:10px;\n\t\t--tsvg_hoo_c_774535:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_774535:15px;\n\t\t--tsvg_vto_ff_774535:Arial;\n\t\t--tsvg_vto_c_774535:#ededed;\n\t\t--tsvg_vto_b_bd_w_774535:1px;\n\t\t--tsvg_vto_bd_c_774535:#ffffff;\n\t\t--tsvg_vto_t_bd_w_774535:0px;\n\t\t--tsvg_vto_t_bd_c_774535:#000000;\n\t\t--tsvg_lo_fs_774535:8px;\n\t\t--tsvg_lo_ff_774535:Aldhabi;\n\t\t--tsvg_lo_c_774535:#ffffff;\n\t\t--tsvg_lo_bd_w_774535:5px;\n\t\t--tsvg_lo_bd_c_774535:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_774535:0px;\n\t\t--tsvg_lo_bg_c_774535:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_774535:#ffffff;\n\t\t--tsvg_lo_h_bd_c_774535:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_774535:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_774535:708;\n\t\t--tsvg_popup_po_v_h_774535:449;\n\t\t--tsvg_popup_po_o_c_774535:rgb(0, 63, 45);\n\t\t--tsvg_popup_po_vbc_c_774535:rgb(0, 0, 0);\n\t\t--tsvg_popup_psi_s_774535:36;\n\t\t--tsvg_popup_psi_c_774535:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_hbr_c_774535:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_br_w_774535:3;\n\t\t--tsvg_popup_pt_w_774535:95;\n\t\t--tsvg_popup_pt_h_774535:65;\n\t\t--tsvg_popup_pt_c_i_c774535:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_fs_774535:22px;\n\t\t--tsvg_popup_ci_ff_774535:Gabriola;\n\t\t--tsvg_popup_ci_c_774535:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_csi_s_774535:30;\n\t\t--tsvg_popup_ci_csi_c_774535:rgb(202, 209, 211);\n\t}\n\t#tsvg-section-774535    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-774535   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-774535 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_774535);\n\t  \tfont-family: var(--tsvg_vto_ff_774535);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_774535);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_774535)  var(--tsvg_vto_bd_c_774535) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_774535) solid var(--tsvg_vto_t_bd_c_774535) !important;\n\t}\n\t.tsvg-fancy-block-774535 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-774535 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-774535 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-774535  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_774535) !important;\n\t\tline-height: var(--tsvg_lo_fs_774535) !important;\n\t\tfont-family: var(--tsvg_lo_ff_774535) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_774535) !important;\n\t\tborder: var(--tsvg_lo_bd_w_774535) solid var(--tsvg_lo_bd_c_774535)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_774535) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_774535) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-774535  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_774535) !important;\n\t\tline-height: var(--tsvg_lo_fs_774535) !important;\n\t\tfont-family: var(--tsvg_lo_ff_774535) !important;\n\t\tcolor: var(--tsvg_lo_c_774535) !important;\n\t\tborder: var(--tsvg_lo_bd_w_774535) solid var(--tsvg_lo_bd_c_774535)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_774535) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_774535) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-774535  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_774535) !important;\n\t\tline-height: var(--tsvg_lo_fs_774535) !important;\n\t\tfont-family: var(--tsvg_lo_ff_774535) !important;\n\t\tcolor: var(--tsvg_lo_c_774535) !important;\n\t\tborder: var(--tsvg_lo_bd_w_774535) solid var(--tsvg_lo_bd_c_774535)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_774535) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_774535);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-774535:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-774535 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_774535) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_774535) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_774535) !important;\n\t}\n\t#tsvg-section-774535  .tsvg-fancy-block-774535 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_774535) *  var(--tsvg_g_img_w_774535)) ) \/ var(--tsvg_g_img_w_774535))!important;\n\t\tborder:  var(--tsvg_g_bd_w_774535) solid  var(--tsvg_g_bd_c_774535) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_774535)  var(--tsvg_g_sh_c_774535);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_774535);\n\t\tmargin:  var(--tsvg_g_place_between_774535) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-774535  .tsvg-fancy-block-774535  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-774535  .tsvg-fancy-block-774535  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-774535  .tsvg-fancy-block-774535  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-774535 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-774535 {\n\t\t\tmargin: var(--tsvg_g_place_between_774535) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-774535[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_774535: 2;\n\t}\n\t.tsvg-main-content-774535[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_774535: 1;\n\t}\n\t.tsvg-fancy-block-774535 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_774535)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_774535);\n\t  font-family : var(--tsvg_popup_ci_ff_774535);\n\t  color : var(--tsvg_popup_ci_c_774535);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-774535 a[href=''], .tsvg-fancy-blocks-list-774535 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-774535\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"rgb(0, 63, 45)\" data-tsvg-BgC=\"rgb(0, 0, 0)\" data-tsvg-HBC=\"rgb(202, 209, 211)\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-774535 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"false\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"rgb(202, 209, 211)\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-chevron-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-chevron-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-774535\"  data-tsvg-S=\"36\"  data-tsvg-C=\"rgb(202, 209, 211)\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"rgb(202, 209, 211)\"  data-tsvg-TIC=\"rgb(202, 209, 211)\"  data-tsvg-Color=\"rgb(202, 209, 211)\"  data-tsvg-PT=\"false\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-774535\" data-tsvg-id=\"2\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-774535\" data-href=\"https:\/\/www.youtube.com\/embed\/Ls0-u8wYmpQ\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup774535\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171614\/Thumbnail-1.jpeg\" data-title=\"Chapter 1 - How to login\" data-tsvgid=\"2\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171614\/Thumbnail-1.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 1 - How to login\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-774535\" data-tsvg-id=\"3\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-774535\" data-href=\"https:\/\/www.youtube.com\/embed\/JPUAXBdL6Vk\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup774535\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171618\/thumbnail-2.jpeg\" data-title=\"Chapter 2 - How to logout\" data-tsvgid=\"3\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171618\/thumbnail-2.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 2 - How to logout\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-774535\" data-tsvg-id=\"4\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-774535\" data-href=\"https:\/\/www.youtube.com\/embed\/Cy1w0kfPaDU\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup774535\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171623\/Thumbnail-3.jpeg\" data-title=\"Chapter 3 - How to change language\" data-tsvgid=\"4\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171623\/Thumbnail-3.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 3 - How to change language\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-774535\" data-tsvg-id=\"17\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-774535\" data-href=\"https:\/\/www.youtube.com\/embed\/GSl6L9KHcEw\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup774535\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/27211555\/Thumbnail-5.jpeg\" data-title=\"Chapter 4 - How to turn on offline mode\" data-tsvgid=\"17\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/27211555\/Thumbnail-5.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 4 - How to turn on offline mode\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-774535\" data-tsvg-id=\"21\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-774535\" data-href=\"https:\/\/www.youtube.com\/embed\/Q-0bgxDD5GI\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup774535\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04172207\/Thumbnail-7.jpeg\" data-title=\"Chapter 5 - How to pause an inspection\" data-tsvgid=\"21\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04172207\/Thumbnail-7.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 5 - How to pause an inspection\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-774535\" data-tsvg-id=\"22\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-774535\" data-href=\"https:\/\/www.youtube.com\/embed\/0AXljI5pE_M\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup774535\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04172321\/Thumbnail-9.jpeg\" data-title=\"Chapter 6 - How to sync DigiVerse app\" data-tsvgid=\"22\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04172321\/Thumbnail-9.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 6 - How to sync DigiVerse app\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-774535\" data-tsvg-id=\"27\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-774535\" data-href=\"https:\/\/www.youtube.com\/embed\/TId9vLfTAfo\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup774535\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/05\/29144634\/Thumbnail-10.jpeg\" data-title=\"Chapter 7 - How to Search Work Orders\" data-tsvgid=\"27\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/05\/29144634\/Thumbnail-10.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 7 - How to Search Work Orders\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-774535\" data-tsvg-id=\"28\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-774535\" data-href=\"https:\/\/www.youtube.com\/embed\/D0U4wum_1FM\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup774535\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/05\/29144642\/Thumbnail-11.jpeg\" data-title=\"Chapter 8 - How to Markup Images\" data-tsvgid=\"28\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/05\/29144642\/Thumbnail-11.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 8 - How to Markup Images\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-774535\" data-tsvg-id=\"35\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-774535\" data-href=\"https:\/\/www.youtube.com\/embed\/xyhLg2hxFmA\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup774535\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/08\/29144552\/Thumbnail-14.jpeg\" data-title=\"Chapter 9 - How to take asset photos\" data-tsvgid=\"35\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/08\/29144552\/Thumbnail-14.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 9 - How to take asset photos\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval774535 = null,\n\ttsvgFancyJsFolder774535 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction774535 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox774535 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder774535,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-774535[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe774535(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls774535(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-774535[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe774535 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls774535 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-774535\").html5lightbox774535({},'774535');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-774535').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse774535 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse774535 = tsvgFancyHoverInverse774535 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-774535 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse774535});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval774535);\n\t\t}\n\t},\n\ttsvgFancyReference774535 = (\n\t\tfunction tsvgFancySameCall774535() {\n\t\t\ttsvgFancyInterval774535 = setInterval(tsvgFancyIntervalFunction774535, 1000);\n\t\t\treturn tsvgFancySameCall774535;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-774535 *::after, #tsvg-section-774535 *::before, #tsvg-section-774535 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-774535 *::after, #tsvg-section-774535 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-774535[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-774535[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-774535 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-774535 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-774535[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-774535[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_774535:#555;\n\t\t--tsvg_s_bc_774535:#ddd;\n\t\t--tsvg_s_h_c_774535:#cf095c;\n\t\t--tsvg_s_h_bc_774535:#cf095c;\n\t\t--tsvg_s_ac_c_774535:#cf095c;\n\t\t--tsvg_s_ac_bc_774535:#cf095c;\n\t\t--tsvg_s_fs_774535:18px;\n\t\t--tsvg_s_ff_774535:Amaranth;\n\t\t--tsvg_s_b_c_774535:#ddd;\n\t\t--tsvg_s_b_s_774535:2px;\n\t\t--tsvg_s_pl_fs_774535:14px;\n\t\t--tsvg_s_l_c_774535:#444;\n\t\t--tsvg_s_l_bc_774535:#fff;\n\t\t--tsvg_s_l_fs_774535:20px;\n\t\t--tsvg_s_l_ff_774535:Amaranth;\n\t\t--tsvg_s_l_bc_2_774535:#ff1f71;\n\t\t--tsvg_s_l_h_c_774535:#fff;\n\t\t--tsvg_s_l_h_bc_774535:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_774535:#FBC638;\n\t}\n\tsection.tsvg-section-774535 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-774535  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_774535)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-774535 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_774535)!important;\n\t}\n\tsection.tsvg-section-774535 .tsvg-pagination-pages>li>a,section.tsvg-section-774535 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-774535 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_774535) ;\n\t\tbackground-color: var(--tsvg_s_bc_774535);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_774535) !important;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_774535);\n\t}\n\t.tsvg-section-774535 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_774535);\n\t\tcolor:var(--tsvg_s_c_774535) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_774535) !important;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_774535) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_774535);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_774535);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_774535);\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-774535  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_774535);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-774535   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-774535  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_774535) !important;\n\t   background:  var(--tsvg_s_l_bc_774535);\n\t   font-family:  var(--tsvg_s_l_ff_774535)!important;\n\t   font-size:  var(--tsvg_s_l_fs_774535);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-774535  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_774535);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_774535);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_774535);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_774535);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_774535);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_774535);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-774535 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-774535  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-774535 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-774535  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-774535 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"774535\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad774535 = 'false';\n\tfunction tsvgPaginationCreate774535(tsvgPaginationData774535,tsvgFrom774535, tsvgTo774535) {\n\t\tlet tsvgShowData774535 = tsvgPaginationData774535.slice(tsvgFrom774535, tsvgTo774535);\n\t\tlet tsvgThemeName774535 = jQuery(tsvgPaginationData774535).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData774535, function (index, value) {\n\t\t\tlet tsvgAnimDelay774535 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad774535 == 'true'){\n\t\t\t\ttsvgAnimDelay774535 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay774535+'s','-webkit-animation-delay': tsvgAnimDelay774535+'s','animation-delay': tsvgAnimDelay774535+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName774535 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData774535.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval774535= setInterval(tsvgGridUpdate774535, 100);\n\t\t\t\t\tfunction tsvgGridUpdate774535() {\n\t\t\t\t\t\tif( tsvgGridPagination774535(tsvgPaginationData774535) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval774535);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-774535').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-774535 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-pages li,.tsvg-section-774535 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate774535() {\n\t\tlet tsvgPaginationData774535 = jQuery('.tsvg-main-content-774535  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData774535.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-774535').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-774535 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-774535 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-774535 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-774535 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-774535 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-774535 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-774535').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-774535 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-774535  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-774535  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-774535 .tsvg-pagination-pages li,.tsvg-section-774535 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-774535').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-774535 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-774535  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-774535  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-774535  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-774535 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-774535  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-774535').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-774535')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-774535').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-774535').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-774535  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-774535')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-774535  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-774535  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-774535 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-774535  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-774535  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-774535  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-774535  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-774535  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-774535  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-774535  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-774535')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-774535  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-774535  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-774535  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-774535  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-774535  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-774535  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-774535  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-774535  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-774535 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-774535  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate774535(tsvgPaginationData774535,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-774535 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-774535 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-774535').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-774535  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-774535').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-774535').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-774535 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-774535').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-774535 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-774535 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-774535').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-774535  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad774535 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-774535').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-774535').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate774535(jQuery('.tsvg-main-content-774535  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate774535(jQuery('.tsvg-section-774535  .tsvg-main-content-774535  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination774535(){\n\t\tlet tsvgPaginationInterval774535 = setInterval(tsvgSetPagination774535, 100);\n\t\tfunction tsvgSetPagination774535() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-774535').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-774535').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate774535();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval774535);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination774535();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate774535();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-10 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-6\"><h3 class=\"fusion-responsive-typography-calculated\" style=\"color: #003f2d; --fontsize: 28; line-height: 1.2;\" data-fontsize=\"28\" data-lineheight=\"33.600002px\">eCEI Demos<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-11 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-578547\"  id=\"tsvg-section-578547\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-578547{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-578547{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-578547 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-578547 main.tsvg-main-content-578547 > figure > ul,\n\t\t#tsvg-section-578547 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-578547 .tsvg-main-content-578547 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-578547 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-578547-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-578547  #TS_VGallery_pagination578547 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-578547 main.tsvg-main-content-578547[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-578547 main.tsvg-main-content-578547[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-578547 main.tsvg-main-content-578547[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-578547 main.tsvg-main-content-578547[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-578547 main.tsvg-main-content-578547[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-578547 main.tsvg-main-content-578547[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-578547 main.tsvg-main-content-578547[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-578547 main.tsvg-main-content-578547[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-578547 main.tsvg-main-content-578547[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-578547 main.tsvg-main-content-578547[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-578547 main.tsvg-main-content-578547[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-578547 .tsvg-main-content-578547 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_578547:2;\n\t\t--tsvg_g_bd_w_578547:2px;\n\t\t--tsvg_g_bd_c_578547:rgb(255, 255, 255);\n\t\t--tsvg_g_sh_578547:15px;\n\t\t--tsvg_g_sh_c_578547:#d3d3d3;\n\t\t--tsvg_g_border_Radius_578547:0%;\n\t\t--tsvg_g_place_between_578547:10px;\n\t\t--tsvg_hoo_c_578547:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_578547:15px;\n\t\t--tsvg_vto_ff_578547:Arial;\n\t\t--tsvg_vto_c_578547:#ededed;\n\t\t--tsvg_vto_b_bd_w_578547:1px;\n\t\t--tsvg_vto_bd_c_578547:#ffffff;\n\t\t--tsvg_vto_t_bd_w_578547:0px;\n\t\t--tsvg_vto_t_bd_c_578547:#000000;\n\t\t--tsvg_lo_fs_578547:8px;\n\t\t--tsvg_lo_ff_578547:Aldhabi;\n\t\t--tsvg_lo_c_578547:#ffffff;\n\t\t--tsvg_lo_bd_w_578547:5px;\n\t\t--tsvg_lo_bd_c_578547:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_578547:0px;\n\t\t--tsvg_lo_bg_c_578547:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_578547:#ffffff;\n\t\t--tsvg_lo_h_bd_c_578547:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_578547:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_578547:708;\n\t\t--tsvg_popup_po_v_h_578547:449;\n\t\t--tsvg_popup_po_o_c_578547:rgb(0, 63, 45);\n\t\t--tsvg_popup_po_vbc_c_578547:rgb(0, 0, 0);\n\t\t--tsvg_popup_psi_s_578547:36;\n\t\t--tsvg_popup_psi_c_578547:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_hbr_c_578547:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_br_w_578547:3;\n\t\t--tsvg_popup_pt_w_578547:95;\n\t\t--tsvg_popup_pt_h_578547:65;\n\t\t--tsvg_popup_pt_c_i_c578547:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_fs_578547:22px;\n\t\t--tsvg_popup_ci_ff_578547:Gabriola;\n\t\t--tsvg_popup_ci_c_578547:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_csi_s_578547:30;\n\t\t--tsvg_popup_ci_csi_c_578547:rgb(202, 209, 211);\n\t}\n\t#tsvg-section-578547    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-578547   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-578547 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_578547);\n\t  \tfont-family: var(--tsvg_vto_ff_578547);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_578547);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_578547)  var(--tsvg_vto_bd_c_578547) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_578547) solid var(--tsvg_vto_t_bd_c_578547) !important;\n\t}\n\t.tsvg-fancy-block-578547 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-578547 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-578547 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-578547  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_578547) !important;\n\t\tline-height: var(--tsvg_lo_fs_578547) !important;\n\t\tfont-family: var(--tsvg_lo_ff_578547) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_578547) !important;\n\t\tborder: var(--tsvg_lo_bd_w_578547) solid var(--tsvg_lo_bd_c_578547)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_578547) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_578547) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-578547  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_578547) !important;\n\t\tline-height: var(--tsvg_lo_fs_578547) !important;\n\t\tfont-family: var(--tsvg_lo_ff_578547) !important;\n\t\tcolor: var(--tsvg_lo_c_578547) !important;\n\t\tborder: var(--tsvg_lo_bd_w_578547) solid var(--tsvg_lo_bd_c_578547)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_578547) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_578547) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-578547  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_578547) !important;\n\t\tline-height: var(--tsvg_lo_fs_578547) !important;\n\t\tfont-family: var(--tsvg_lo_ff_578547) !important;\n\t\tcolor: var(--tsvg_lo_c_578547) !important;\n\t\tborder: var(--tsvg_lo_bd_w_578547) solid var(--tsvg_lo_bd_c_578547)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_578547) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_578547);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-578547:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-578547 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_578547) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_578547) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_578547) !important;\n\t}\n\t#tsvg-section-578547  .tsvg-fancy-block-578547 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_578547) *  var(--tsvg_g_img_w_578547)) ) \/ var(--tsvg_g_img_w_578547))!important;\n\t\tborder:  var(--tsvg_g_bd_w_578547) solid  var(--tsvg_g_bd_c_578547) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_578547)  var(--tsvg_g_sh_c_578547);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_578547);\n\t\tmargin:  var(--tsvg_g_place_between_578547) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-578547  .tsvg-fancy-block-578547  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-578547  .tsvg-fancy-block-578547  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-578547  .tsvg-fancy-block-578547  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-578547 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-578547 {\n\t\t\tmargin: var(--tsvg_g_place_between_578547) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-578547[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_578547: 2;\n\t}\n\t.tsvg-main-content-578547[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_578547: 1;\n\t}\n\t.tsvg-fancy-block-578547 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_578547)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_578547);\n\t  font-family : var(--tsvg_popup_ci_ff_578547);\n\t  color : var(--tsvg_popup_ci_c_578547);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-578547 a[href=''], .tsvg-fancy-blocks-list-578547 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-578547\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"rgb(0, 63, 45)\" data-tsvg-BgC=\"rgb(0, 0, 0)\" data-tsvg-HBC=\"rgb(202, 209, 211)\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-578547 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"false\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"rgb(202, 209, 211)\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-chevron-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-chevron-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-578547\"  data-tsvg-S=\"36\"  data-tsvg-C=\"rgb(202, 209, 211)\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"rgb(202, 209, 211)\"  data-tsvg-TIC=\"rgb(202, 209, 211)\"  data-tsvg-Color=\"rgb(202, 209, 211)\"  data-tsvg-PT=\"false\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-578547\" data-tsvg-id=\"6\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-578547\" data-href=\"https:\/\/www.youtube.com\/embed\/rBU6rN9j85w\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup578547\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24172103\/thumbnail-4.jpeg\" data-title=\"Demo-1 Performing an inspection\" data-tsvgid=\"6\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24172103\/thumbnail-4.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-1 Performing an inspection\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-578547\" data-tsvg-id=\"19\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-578547\" data-href=\"https:\/\/www.youtube.com\/embed\/CAfviZG0ops\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup578547\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/03\/03215319\/Thumbnail-6.jpeg\" data-title=\"Demo-2 Putting inspection on hold\" data-tsvgid=\"19\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/03\/03215319\/Thumbnail-6.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-2 Putting inspection on hold\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-578547\" data-tsvg-id=\"23\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-578547\" data-href=\"https:\/\/www.youtube.com\/embed\/9t24Dye7nmc\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup578547\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04174027\/Thumbnail-8.jpeg\" data-title=\"Demo-3 Contacting DigiVerse Support\" data-tsvgid=\"23\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04174027\/Thumbnail-8.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-3 Contacting DigiVerse Support\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-578547\" data-tsvg-id=\"31\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-578547\" data-href=\"https:\/\/www.youtube.com\/embed\/lKe-3g0ncTU\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup578547\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/06\/05113931\/Thumbnail-12.jpeg\" data-title=\"Demo-4 Inspecting Asset with missing info\" data-tsvgid=\"31\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/06\/05113931\/Thumbnail-12.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-4 Inspecting Asset with missing info\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-578547\" data-tsvg-id=\"33\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-578547\" data-href=\"https:\/\/www.youtube.com\/embed\/Y5SPdFH4yvs\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup578547\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/06\/12200423\/Thumbnail-13.jpeg\" data-title=\"Demo-5 Multiple Inspections with single retailer&apos;s sign\" data-tsvgid=\"33\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/06\/12200423\/Thumbnail-13.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-5 Multiple Inspections with single retailer&#039;s sign\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-578547\" data-tsvg-id=\"80\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-578547\" data-href=\"https:\/\/www.youtube.com\/embed\/6mi7q8jlBVg\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup578547\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/02\/23170912\/Thumbnail-15.jpeg\" data-title=\"Demo-6 How to add labour hours and parts and materials\" data-tsvgid=\"80\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"http:\/\/Demo%206%20-%20How%20to%20add%20Labour%20Hours%20and%20Parts%20and%20Materials\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/02\/23170912\/Thumbnail-15.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-6 How to add labour hours and parts and materials\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval578547 = null,\n\ttsvgFancyJsFolder578547 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction578547 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox578547 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder578547,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-578547[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe578547(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls578547(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-578547[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe578547 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls578547 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-578547\").html5lightbox578547({},'578547');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-578547').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse578547 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse578547 = tsvgFancyHoverInverse578547 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-578547 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse578547});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval578547);\n\t\t}\n\t},\n\ttsvgFancyReference578547 = (\n\t\tfunction tsvgFancySameCall578547() {\n\t\t\ttsvgFancyInterval578547 = setInterval(tsvgFancyIntervalFunction578547, 1000);\n\t\t\treturn tsvgFancySameCall578547;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-578547 *::after, #tsvg-section-578547 *::before, #tsvg-section-578547 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-578547 *::after, #tsvg-section-578547 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-578547[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-578547[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-578547 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-578547 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-578547[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-578547[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_578547:#555;\n\t\t--tsvg_s_bc_578547:#ddd;\n\t\t--tsvg_s_h_c_578547:#cf095c;\n\t\t--tsvg_s_h_bc_578547:#cf095c;\n\t\t--tsvg_s_ac_c_578547:#cf095c;\n\t\t--tsvg_s_ac_bc_578547:#cf095c;\n\t\t--tsvg_s_fs_578547:18px;\n\t\t--tsvg_s_ff_578547:Amaranth;\n\t\t--tsvg_s_b_c_578547:#ddd;\n\t\t--tsvg_s_b_s_578547:2px;\n\t\t--tsvg_s_pl_fs_578547:14px;\n\t\t--tsvg_s_l_c_578547:#444;\n\t\t--tsvg_s_l_bc_578547:#fff;\n\t\t--tsvg_s_l_fs_578547:20px;\n\t\t--tsvg_s_l_ff_578547:Amaranth;\n\t\t--tsvg_s_l_bc_2_578547:#ff1f71;\n\t\t--tsvg_s_l_h_c_578547:#fff;\n\t\t--tsvg_s_l_h_bc_578547:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_578547:#FBC638;\n\t}\n\tsection.tsvg-section-578547 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-578547  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_578547)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-578547 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_578547)!important;\n\t}\n\tsection.tsvg-section-578547 .tsvg-pagination-pages>li>a,section.tsvg-section-578547 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-578547 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_578547) ;\n\t\tbackground-color: var(--tsvg_s_bc_578547);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_578547) !important;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_578547);\n\t}\n\t.tsvg-section-578547 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_578547);\n\t\tcolor:var(--tsvg_s_c_578547) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_578547) !important;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_578547) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_578547);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_578547);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_578547);\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-578547  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_578547);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-578547   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-578547  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_578547) !important;\n\t   background:  var(--tsvg_s_l_bc_578547);\n\t   font-family:  var(--tsvg_s_l_ff_578547)!important;\n\t   font-size:  var(--tsvg_s_l_fs_578547);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-578547  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_578547);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_578547);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_578547);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_578547);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_578547);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_578547);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-578547 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-578547  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-578547 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-578547  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-578547 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"578547\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad578547 = 'false';\n\tfunction tsvgPaginationCreate578547(tsvgPaginationData578547,tsvgFrom578547, tsvgTo578547) {\n\t\tlet tsvgShowData578547 = tsvgPaginationData578547.slice(tsvgFrom578547, tsvgTo578547);\n\t\tlet tsvgThemeName578547 = jQuery(tsvgPaginationData578547).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData578547, function (index, value) {\n\t\t\tlet tsvgAnimDelay578547 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad578547 == 'true'){\n\t\t\t\ttsvgAnimDelay578547 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay578547+'s','-webkit-animation-delay': tsvgAnimDelay578547+'s','animation-delay': tsvgAnimDelay578547+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName578547 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData578547.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval578547= setInterval(tsvgGridUpdate578547, 100);\n\t\t\t\t\tfunction tsvgGridUpdate578547() {\n\t\t\t\t\t\tif( tsvgGridPagination578547(tsvgPaginationData578547) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval578547);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-578547').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-578547 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-pages li,.tsvg-section-578547 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate578547() {\n\t\tlet tsvgPaginationData578547 = jQuery('.tsvg-main-content-578547  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData578547.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-578547').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-578547 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-578547 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-578547 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-578547 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-578547 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-578547 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-578547').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-578547 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-578547  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-578547  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-578547 .tsvg-pagination-pages li,.tsvg-section-578547 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-578547').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-578547 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-578547  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-578547  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-578547  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-578547 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-578547  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-578547').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-578547')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-578547').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-578547').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-578547  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-578547')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-578547  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-578547  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-578547 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-578547  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-578547  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-578547  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-578547  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-578547  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-578547  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-578547  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-578547')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-578547  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-578547  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-578547  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-578547  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-578547  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-578547  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-578547  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-578547  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-578547 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-578547  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate578547(tsvgPaginationData578547,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-578547 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-578547 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-578547').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-578547  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-578547').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-578547').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-578547 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-578547').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-578547 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-578547 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-578547').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-578547  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad578547 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-578547').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-578547').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate578547(jQuery('.tsvg-main-content-578547  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate578547(jQuery('.tsvg-section-578547  .tsvg-main-content-578547  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination578547(){\n\t\tlet tsvgPaginationInterval578547 = setInterval(tsvgSetPagination578547, 100);\n\t\tfunction tsvgSetPagination578547() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-578547').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-578547').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate578547();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval578547);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination578547();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate578547();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-12 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><\/div><\/div><\/div><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-2 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling fusion-no-small-visibility fusion-no-large-visibility\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-padding-right:100px;--awb-padding-left:100px;--awb-padding-right-medium:0px;--awb-padding-left-medium:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1248px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-13 fusion_builder_column_1_6 1_6 fusion-flex-column fusion-flex-align-self-stretch\" style=\"--awb-bg-size:cover;--awb-width-large:16.666666666667%;--awb-margin-top-large:0px;--awb-spacing-right-large:11.52%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:11.52%;--awb-width-medium:16.666666666667%;--awb-order-medium:0;--awb-spacing-right-medium:11.52%;--awb-spacing-left-medium:11.52%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-space-around fusion-content-layout-column\"><div class=\"fusion-image-element\" style=\"--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\" fusion-imageframe imageframe-none imageframe-2 hover-type-none\"><a class=\"fusion-no-lightbox\" href=\"https:\/\/www.3point3labs.com\/index.php\/cbredigiverse\/\" target=\"_self\"><img decoding=\"async\" width=\"59\" height=\"59\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2759%27%20height%3D%2759%27%20viewBox%3D%270%200%2059%2059%27%3E%3Crect%20width%3D%2759%27%20height%3D%2759%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/01\/06175239\/CBRE_mob.png\" alt class=\"lazyload img-responsive wp-image-14453\"\/><\/a><\/span><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-14 fusion_builder_column_5_6 5_6 fusion-flex-column fusion-flex-align-self-stretch\" style=\"--awb-bg-size:cover;--awb-width-large:83.333333333333%;--awb-margin-top-large:0px;--awb-spacing-right-large:2.304%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:2.304%;--awb-width-medium:83.333333333333%;--awb-order-medium:1;--awb-spacing-right-medium:2.304%;--awb-spacing-left-medium:2.304%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-space-evenly fusion-content-layout-column\"><div class=\"fusion-text fusion-text-7\"><h3 style=\"font-size: 46px; color: #003f2d;\" data-fusion-font=\"true\">CBRE DigiVerse Videos<\/h3>\n<\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-15 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:2;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-8\"><h3 style=\"color: rgb(0, 63, 45); --fontSize: 28; line-height: 1.2;\" data-fontsize=\"28\" data-lineheight=\"33.600002px\" class=\"fusion-responsive-typography-calculated\">DigiVerse Tech App Demo<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-16 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:4;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-9\"><h3 style=\"color: rgb(0, 63, 45); --fontSize: 28; line-height: 1.2;\" data-fontsize=\"28\" data-lineheight=\"33.600002px\" class=\"fusion-responsive-typography-calculated\">DigiVerse Tutorials<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-17 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:6;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-10\"><h3 style=\"color: rgb(0, 63, 45); --fontSize: 28; line-height: 1.2;\" data-fontsize=\"28\" data-lineheight=\"33.600002px\" class=\"fusion-responsive-typography-calculated\">LCAM+ Demos<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-18 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:8;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-11\"><h3 style=\"color: rgb(0, 63, 45); --fontSize: 28; line-height: 1.2;\" data-fontsize=\"28\" data-lineheight=\"33.600002px\" class=\"fusion-responsive-typography-calculated\">eCEI Tutorials<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-19 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:3;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-806492\"  id=\"tsvg-section-806492\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-806492{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-806492{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-806492 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-806492 main.tsvg-main-content-806492 > figure > ul,\n\t\t#tsvg-section-806492 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-806492 .tsvg-main-content-806492 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-806492 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-806492-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-806492  #TS_VGallery_pagination806492 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-806492 main.tsvg-main-content-806492[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-806492 main.tsvg-main-content-806492[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-806492 main.tsvg-main-content-806492[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-806492 main.tsvg-main-content-806492[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-806492 main.tsvg-main-content-806492[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-806492 main.tsvg-main-content-806492[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-806492 main.tsvg-main-content-806492[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-806492 main.tsvg-main-content-806492[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-806492 main.tsvg-main-content-806492[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-806492 main.tsvg-main-content-806492[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-806492 main.tsvg-main-content-806492[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-806492 .tsvg-main-content-806492 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_806492:2;\n\t\t--tsvg_g_bd_w_806492:3px;\n\t\t--tsvg_g_bd_c_806492:#ffffff;\n\t\t--tsvg_g_sh_806492:15px;\n\t\t--tsvg_g_sh_c_806492:#d3d3d3;\n\t\t--tsvg_g_border_Radius_806492:0%;\n\t\t--tsvg_g_place_between_806492:10px;\n\t\t--tsvg_hoo_c_806492:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_806492:15px;\n\t\t--tsvg_vto_ff_806492:Arial;\n\t\t--tsvg_vto_c_806492:#ededed;\n\t\t--tsvg_vto_b_bd_w_806492:1px;\n\t\t--tsvg_vto_bd_c_806492:#ffffff;\n\t\t--tsvg_vto_t_bd_w_806492:0px;\n\t\t--tsvg_vto_t_bd_c_806492:#000000;\n\t\t--tsvg_lo_fs_806492:16px;\n\t\t--tsvg_lo_ff_806492:Aldhabi;\n\t\t--tsvg_lo_c_806492:#ffffff;\n\t\t--tsvg_lo_bd_w_806492:5px;\n\t\t--tsvg_lo_bd_c_806492:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_806492:0px;\n\t\t--tsvg_lo_bg_c_806492:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_806492:#ffffff;\n\t\t--tsvg_lo_h_bd_c_806492:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_806492:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_806492:550;\n\t\t--tsvg_popup_po_v_h_806492:350;\n\t\t--tsvg_popup_po_o_c_806492:#000000;\n\t\t--tsvg_popup_po_vbc_c_806492:#000000;\n\t\t--tsvg_popup_psi_s_806492:36;\n\t\t--tsvg_popup_psi_c_806492:#ffffff;\n\t\t--tsvg_popup_pt_hbr_c_806492:#ffffff;\n\t\t--tsvg_popup_pt_br_w_806492:3;\n\t\t--tsvg_popup_pt_w_806492:95;\n\t\t--tsvg_popup_pt_h_806492:65;\n\t\t--tsvg_popup_pt_c_i_c806492:#ffffff;\n\t\t--tsvg_popup_ci_fs_806492:22px;\n\t\t--tsvg_popup_ci_ff_806492:Gabriola;\n\t\t--tsvg_popup_ci_c_806492:#ffffff;\n\t\t--tsvg_popup_ci_csi_s_806492:30;\n\t\t--tsvg_popup_ci_csi_c_806492:#ffffff;\n\t}\n\t#tsvg-section-806492    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-806492   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-806492 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_806492);\n\t  \tfont-family: var(--tsvg_vto_ff_806492);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_806492);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_806492)  var(--tsvg_vto_bd_c_806492) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_806492) solid var(--tsvg_vto_t_bd_c_806492) !important;\n\t}\n\t.tsvg-fancy-block-806492 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-806492 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-806492 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-806492  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_806492) !important;\n\t\tline-height: var(--tsvg_lo_fs_806492) !important;\n\t\tfont-family: var(--tsvg_lo_ff_806492) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_806492) !important;\n\t\tborder: var(--tsvg_lo_bd_w_806492) solid var(--tsvg_lo_bd_c_806492)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_806492) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_806492) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-806492  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_806492) !important;\n\t\tline-height: var(--tsvg_lo_fs_806492) !important;\n\t\tfont-family: var(--tsvg_lo_ff_806492) !important;\n\t\tcolor: var(--tsvg_lo_c_806492) !important;\n\t\tborder: var(--tsvg_lo_bd_w_806492) solid var(--tsvg_lo_bd_c_806492)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_806492) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_806492) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-806492  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_806492) !important;\n\t\tline-height: var(--tsvg_lo_fs_806492) !important;\n\t\tfont-family: var(--tsvg_lo_ff_806492) !important;\n\t\tcolor: var(--tsvg_lo_c_806492) !important;\n\t\tborder: var(--tsvg_lo_bd_w_806492) solid var(--tsvg_lo_bd_c_806492)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_806492) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_806492);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-806492:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-806492 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_806492) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_806492) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_806492) !important;\n\t}\n\t#tsvg-section-806492  .tsvg-fancy-block-806492 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_806492) *  var(--tsvg_g_img_w_806492)) ) \/ var(--tsvg_g_img_w_806492))!important;\n\t\tborder:  var(--tsvg_g_bd_w_806492) solid  var(--tsvg_g_bd_c_806492) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_806492)  var(--tsvg_g_sh_c_806492);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_806492);\n\t\tmargin:  var(--tsvg_g_place_between_806492) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-806492  .tsvg-fancy-block-806492  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-806492  .tsvg-fancy-block-806492  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-806492  .tsvg-fancy-block-806492  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-806492 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-806492 {\n\t\t\tmargin: var(--tsvg_g_place_between_806492) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-806492[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_806492: 2;\n\t}\n\t.tsvg-main-content-806492[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_806492: 1;\n\t}\n\t.tsvg-fancy-block-806492 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_806492)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_806492);\n\t  font-family : var(--tsvg_popup_ci_ff_806492);\n\t  color : var(--tsvg_popup_ci_c_806492);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-806492 a[href=''], .tsvg-fancy-blocks-list-806492 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-806492\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"#000000\" data-tsvg-BgC=\"#000000\" data-tsvg-HBC=\"#ffffff\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-806492 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"true\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"#ffffff\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-arrow-circle-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-arrow-circle-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-806492\"  data-tsvg-S=\"36\"  data-tsvg-C=\"#ffffff\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times-circle\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"#ffffff\"  data-tsvg-TIC=\"#ffffff\"  data-tsvg-Color=\"#ffffff\"  data-tsvg-PT=\"\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-806492\" data-tsvg-id=\"116\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-806492\" data-href=\"https:\/\/www.youtube.com\/embed\/eUMoz7O4TqU\" data-width=\"550\" data-height=\"350\" data-group=\"mygroup806492\" data-thumbnail=\"https:\/\/i.ytimg.com\/vi\/eUMoz7O4TqU\/maxresdefault.jpg\" data-title=\"DigiVerse Tech App Demo\" data-tsvgid=\"116\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\">View...<\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/i.ytimg.com\/vi\/eUMoz7O4TqU\/maxresdefault.jpg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"true\">\n\t\t\t\t\t\t\tDigiVerse Tech App Demo\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval806492 = null,\n\ttsvgFancyJsFolder806492 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction806492 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox806492 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder806492,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-806492[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe806492(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls806492(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-806492[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe806492 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls806492 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-806492\").html5lightbox806492({},'806492');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-806492').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse806492 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse806492 = tsvgFancyHoverInverse806492 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-806492 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse806492});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval806492);\n\t\t}\n\t},\n\ttsvgFancyReference806492 = (\n\t\tfunction tsvgFancySameCall806492() {\n\t\t\ttsvgFancyInterval806492 = setInterval(tsvgFancyIntervalFunction806492, 1000);\n\t\t\treturn tsvgFancySameCall806492;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-806492 *::after, #tsvg-section-806492 *::before, #tsvg-section-806492 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-806492 *::after, #tsvg-section-806492 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-806492[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-806492[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-806492 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-806492 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-806492[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-806492[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_806492:#555;\n\t\t--tsvg_s_bc_806492:#ddd;\n\t\t--tsvg_s_h_c_806492:#cf095c;\n\t\t--tsvg_s_h_bc_806492:#cf095c;\n\t\t--tsvg_s_ac_c_806492:#cf095c;\n\t\t--tsvg_s_ac_bc_806492:#cf095c;\n\t\t--tsvg_s_fs_806492:18px;\n\t\t--tsvg_s_ff_806492:Amaranth;\n\t\t--tsvg_s_b_c_806492:#ddd;\n\t\t--tsvg_s_b_s_806492:2px;\n\t\t--tsvg_s_pl_fs_806492:14px;\n\t\t--tsvg_s_l_c_806492:#444;\n\t\t--tsvg_s_l_bc_806492:#fff;\n\t\t--tsvg_s_l_fs_806492:20px;\n\t\t--tsvg_s_l_ff_806492:Amaranth;\n\t\t--tsvg_s_l_bc_2_806492:#ff1f71;\n\t\t--tsvg_s_l_h_c_806492:#fff;\n\t\t--tsvg_s_l_h_bc_806492:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_806492:#FBC638;\n\t}\n\tsection.tsvg-section-806492 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-806492  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_806492)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-806492 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_806492)!important;\n\t}\n\tsection.tsvg-section-806492 .tsvg-pagination-pages>li>a,section.tsvg-section-806492 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-806492 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_806492) ;\n\t\tbackground-color: var(--tsvg_s_bc_806492);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_806492) !important;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_806492);\n\t}\n\t.tsvg-section-806492 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_806492);\n\t\tcolor:var(--tsvg_s_c_806492) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_806492) !important;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_806492) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_806492);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_806492);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_806492);\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-806492  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_806492);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-806492   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-806492  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_806492) !important;\n\t   background:  var(--tsvg_s_l_bc_806492);\n\t   font-family:  var(--tsvg_s_l_ff_806492)!important;\n\t   font-size:  var(--tsvg_s_l_fs_806492);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-806492  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_806492);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_806492);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_806492);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_806492);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_806492);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_806492);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-806492 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-806492  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-806492 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-806492  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-806492 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"806492\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad806492 = 'false';\n\tfunction tsvgPaginationCreate806492(tsvgPaginationData806492,tsvgFrom806492, tsvgTo806492) {\n\t\tlet tsvgShowData806492 = tsvgPaginationData806492.slice(tsvgFrom806492, tsvgTo806492);\n\t\tlet tsvgThemeName806492 = jQuery(tsvgPaginationData806492).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData806492, function (index, value) {\n\t\t\tlet tsvgAnimDelay806492 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad806492 == 'true'){\n\t\t\t\ttsvgAnimDelay806492 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay806492+'s','-webkit-animation-delay': tsvgAnimDelay806492+'s','animation-delay': tsvgAnimDelay806492+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName806492 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData806492.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval806492= setInterval(tsvgGridUpdate806492, 100);\n\t\t\t\t\tfunction tsvgGridUpdate806492() {\n\t\t\t\t\t\tif( tsvgGridPagination806492(tsvgPaginationData806492) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval806492);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-806492').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-806492 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-pages li,.tsvg-section-806492 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate806492() {\n\t\tlet tsvgPaginationData806492 = jQuery('.tsvg-main-content-806492  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData806492.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-806492').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-806492 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-806492 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-806492 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-806492 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-806492 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-806492 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-806492').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-806492 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-806492  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-806492  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-806492 .tsvg-pagination-pages li,.tsvg-section-806492 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-806492').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-806492 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-806492  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-806492  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-806492  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-806492 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-806492  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-806492').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-806492')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-806492').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-806492').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-806492  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-806492')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-806492  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-806492  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-806492 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-806492  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-806492  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-806492  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-806492  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-806492  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-806492  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-806492  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-806492')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-806492  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-806492  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-806492  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-806492  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-806492  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-806492  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-806492  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-806492  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-806492 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-806492  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate806492(tsvgPaginationData806492,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-806492 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-806492 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-806492').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-806492  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-806492').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-806492').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-806492 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-806492').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-806492 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-806492 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-806492').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-806492  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad806492 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-806492').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-806492').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate806492(jQuery('.tsvg-main-content-806492  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate806492(jQuery('.tsvg-section-806492  .tsvg-main-content-806492  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination806492(){\n\t\tlet tsvgPaginationInterval806492 = setInterval(tsvgSetPagination806492, 100);\n\t\tfunction tsvgSetPagination806492() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-806492').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-806492').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate806492();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval806492);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination806492();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate806492();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-20 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:5;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-488332\"  id=\"tsvg-section-488332\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-488332{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-488332{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-488332 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-488332 main.tsvg-main-content-488332 > figure > ul,\n\t\t#tsvg-section-488332 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-488332 .tsvg-main-content-488332 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-488332 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-488332-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-488332  #TS_VGallery_pagination488332 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-488332 main.tsvg-main-content-488332[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-488332 main.tsvg-main-content-488332[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-488332 main.tsvg-main-content-488332[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-488332 main.tsvg-main-content-488332[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-488332 main.tsvg-main-content-488332[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-488332 main.tsvg-main-content-488332[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-488332 main.tsvg-main-content-488332[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-488332 main.tsvg-main-content-488332[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-488332 main.tsvg-main-content-488332[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-488332 main.tsvg-main-content-488332[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-488332 main.tsvg-main-content-488332[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-488332 .tsvg-main-content-488332 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_488332:2;\n\t\t--tsvg_g_bd_w_488332:2px;\n\t\t--tsvg_g_bd_c_488332:rgb(255, 255, 255);\n\t\t--tsvg_g_sh_488332:15px;\n\t\t--tsvg_g_sh_c_488332:#d3d3d3;\n\t\t--tsvg_g_border_Radius_488332:0%;\n\t\t--tsvg_g_place_between_488332:10px;\n\t\t--tsvg_hoo_c_488332:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_488332:15px;\n\t\t--tsvg_vto_ff_488332:Arial;\n\t\t--tsvg_vto_c_488332:#ededed;\n\t\t--tsvg_vto_b_bd_w_488332:1px;\n\t\t--tsvg_vto_bd_c_488332:#ffffff;\n\t\t--tsvg_vto_t_bd_w_488332:0px;\n\t\t--tsvg_vto_t_bd_c_488332:#000000;\n\t\t--tsvg_lo_fs_488332:8px;\n\t\t--tsvg_lo_ff_488332:Aldhabi;\n\t\t--tsvg_lo_c_488332:#ffffff;\n\t\t--tsvg_lo_bd_w_488332:5px;\n\t\t--tsvg_lo_bd_c_488332:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_488332:0px;\n\t\t--tsvg_lo_bg_c_488332:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_488332:#ffffff;\n\t\t--tsvg_lo_h_bd_c_488332:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_488332:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_488332:708;\n\t\t--tsvg_popup_po_v_h_488332:449;\n\t\t--tsvg_popup_po_o_c_488332:rgb(0, 63, 45);\n\t\t--tsvg_popup_po_vbc_c_488332:rgb(0, 0, 0);\n\t\t--tsvg_popup_psi_s_488332:36;\n\t\t--tsvg_popup_psi_c_488332:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_hbr_c_488332:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_br_w_488332:3;\n\t\t--tsvg_popup_pt_w_488332:95;\n\t\t--tsvg_popup_pt_h_488332:65;\n\t\t--tsvg_popup_pt_c_i_c488332:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_fs_488332:22px;\n\t\t--tsvg_popup_ci_ff_488332:Gabriola;\n\t\t--tsvg_popup_ci_c_488332:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_csi_s_488332:30;\n\t\t--tsvg_popup_ci_csi_c_488332:rgb(202, 209, 211);\n\t}\n\t#tsvg-section-488332    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-488332   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-488332 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_488332);\n\t  \tfont-family: var(--tsvg_vto_ff_488332);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_488332);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_488332)  var(--tsvg_vto_bd_c_488332) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_488332) solid var(--tsvg_vto_t_bd_c_488332) !important;\n\t}\n\t.tsvg-fancy-block-488332 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-488332 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-488332 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-488332  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_488332) !important;\n\t\tline-height: var(--tsvg_lo_fs_488332) !important;\n\t\tfont-family: var(--tsvg_lo_ff_488332) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_488332) !important;\n\t\tborder: var(--tsvg_lo_bd_w_488332) solid var(--tsvg_lo_bd_c_488332)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_488332) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_488332) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-488332  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_488332) !important;\n\t\tline-height: var(--tsvg_lo_fs_488332) !important;\n\t\tfont-family: var(--tsvg_lo_ff_488332) !important;\n\t\tcolor: var(--tsvg_lo_c_488332) !important;\n\t\tborder: var(--tsvg_lo_bd_w_488332) solid var(--tsvg_lo_bd_c_488332)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_488332) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_488332) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-488332  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_488332) !important;\n\t\tline-height: var(--tsvg_lo_fs_488332) !important;\n\t\tfont-family: var(--tsvg_lo_ff_488332) !important;\n\t\tcolor: var(--tsvg_lo_c_488332) !important;\n\t\tborder: var(--tsvg_lo_bd_w_488332) solid var(--tsvg_lo_bd_c_488332)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_488332) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_488332);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-488332:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-488332 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_488332) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_488332) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_488332) !important;\n\t}\n\t#tsvg-section-488332  .tsvg-fancy-block-488332 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_488332) *  var(--tsvg_g_img_w_488332)) ) \/ var(--tsvg_g_img_w_488332))!important;\n\t\tborder:  var(--tsvg_g_bd_w_488332) solid  var(--tsvg_g_bd_c_488332) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_488332)  var(--tsvg_g_sh_c_488332);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_488332);\n\t\tmargin:  var(--tsvg_g_place_between_488332) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-488332  .tsvg-fancy-block-488332  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-488332  .tsvg-fancy-block-488332  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-488332  .tsvg-fancy-block-488332  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-488332 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-488332 {\n\t\t\tmargin: var(--tsvg_g_place_between_488332) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-488332[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_488332: 2;\n\t}\n\t.tsvg-main-content-488332[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_488332: 1;\n\t}\n\t.tsvg-fancy-block-488332 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_488332)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_488332);\n\t  font-family : var(--tsvg_popup_ci_ff_488332);\n\t  color : var(--tsvg_popup_ci_c_488332);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-488332 a[href=''], .tsvg-fancy-blocks-list-488332 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-488332\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"rgb(0, 63, 45)\" data-tsvg-BgC=\"rgb(0, 0, 0)\" data-tsvg-HBC=\"rgb(202, 209, 211)\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-488332 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"false\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"rgb(202, 209, 211)\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-chevron-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-chevron-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-488332\"  data-tsvg-S=\"36\"  data-tsvg-C=\"rgb(202, 209, 211)\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"rgb(202, 209, 211)\"  data-tsvg-TIC=\"rgb(202, 209, 211)\"  data-tsvg-Color=\"rgb(202, 209, 211)\"  data-tsvg-PT=\"false\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-488332\" data-tsvg-id=\"83\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-488332\" data-href=\"https:\/\/www.youtube.com\/embed\/iFR-_tkRqaU\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup488332\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103001\/DT1.jpeg\" data-title=\"Tutorial 1 - Login\" data-tsvgid=\"83\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103001\/DT1.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 1 - Login\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-488332\" data-tsvg-id=\"84\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-488332\" data-href=\"https:\/\/www.youtube.com\/embed\/8lLTpb1mWcA\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup488332\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103017\/DT2.jpeg\" data-title=\"Tutorial 2 - Logout\" data-tsvgid=\"84\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103017\/DT2.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 2 - Logout\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-488332\" data-tsvg-id=\"85\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-488332\" data-href=\"https:\/\/www.youtube.com\/embed\/_b9kw6JReC8\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup488332\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103034\/DT3.jpeg\" data-title=\"Tutorial 3 - Switch Apss\" data-tsvgid=\"85\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103034\/DT3.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 3 - Switch Apss\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-488332\" data-tsvg-id=\"86\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-488332\" data-href=\"https:\/\/www.youtube.com\/embed\/5ZbE1h01Pgs\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup488332\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103051\/DT4.jpeg\" data-title=\"Tutorial 4 - Language change\" data-tsvgid=\"86\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103051\/DT4.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 4 - Language change\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-488332\" data-tsvg-id=\"87\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-488332\" data-href=\"https:\/\/www.youtube.com\/embed\/T3VKCILPhWc\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup488332\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103108\/DT5.jpeg\" data-title=\"Tutorial 5 - Offline Mode\" data-tsvgid=\"87\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103108\/DT5.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 5 - Offline Mode\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-488332\" data-tsvg-id=\"96\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-488332\" data-href=\"https:\/\/www.youtube.com\/embed\/vY_pTPFsjK0\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup488332\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103125\/DT6.jpeg\" data-title=\"Tutorial 6 - Synchronisation\" data-tsvgid=\"96\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103125\/DT6.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 6 - Synchronisation\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-488332\" data-tsvg-id=\"97\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-488332\" data-href=\"https:\/\/www.youtube.com\/embed\/DI6jBfaWIj8\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup488332\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103142\/DT7.jpeg\" data-title=\"Tutorial 7 - Help Center\" data-tsvgid=\"97\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103142\/DT7.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 7 - Help Center\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval488332 = null,\n\ttsvgFancyJsFolder488332 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction488332 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox488332 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder488332,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-488332[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe488332(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls488332(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-488332[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe488332 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls488332 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-488332\").html5lightbox488332({},'488332');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-488332').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse488332 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse488332 = tsvgFancyHoverInverse488332 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-488332 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse488332});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval488332);\n\t\t}\n\t},\n\ttsvgFancyReference488332 = (\n\t\tfunction tsvgFancySameCall488332() {\n\t\t\ttsvgFancyInterval488332 = setInterval(tsvgFancyIntervalFunction488332, 1000);\n\t\t\treturn tsvgFancySameCall488332;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-488332 *::after, #tsvg-section-488332 *::before, #tsvg-section-488332 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-488332 *::after, #tsvg-section-488332 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-488332[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-488332[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-488332 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-488332 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-488332[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-488332[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_488332:#555;\n\t\t--tsvg_s_bc_488332:#ddd;\n\t\t--tsvg_s_h_c_488332:#cf095c;\n\t\t--tsvg_s_h_bc_488332:#cf095c;\n\t\t--tsvg_s_ac_c_488332:#cf095c;\n\t\t--tsvg_s_ac_bc_488332:#cf095c;\n\t\t--tsvg_s_fs_488332:18px;\n\t\t--tsvg_s_ff_488332:Amaranth;\n\t\t--tsvg_s_b_c_488332:#ddd;\n\t\t--tsvg_s_b_s_488332:2px;\n\t\t--tsvg_s_pl_fs_488332:14px;\n\t\t--tsvg_s_l_c_488332:#444;\n\t\t--tsvg_s_l_bc_488332:#fff;\n\t\t--tsvg_s_l_fs_488332:20px;\n\t\t--tsvg_s_l_ff_488332:Amaranth;\n\t\t--tsvg_s_l_bc_2_488332:#ff1f71;\n\t\t--tsvg_s_l_h_c_488332:#fff;\n\t\t--tsvg_s_l_h_bc_488332:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_488332:#FBC638;\n\t}\n\tsection.tsvg-section-488332 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-488332  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_488332)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-488332 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_488332)!important;\n\t}\n\tsection.tsvg-section-488332 .tsvg-pagination-pages>li>a,section.tsvg-section-488332 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-488332 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_488332) ;\n\t\tbackground-color: var(--tsvg_s_bc_488332);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_488332) !important;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_488332);\n\t}\n\t.tsvg-section-488332 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_488332);\n\t\tcolor:var(--tsvg_s_c_488332) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_488332) !important;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_488332) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_488332);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_488332);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_488332);\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-488332  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_488332);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-488332   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-488332  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_488332) !important;\n\t   background:  var(--tsvg_s_l_bc_488332);\n\t   font-family:  var(--tsvg_s_l_ff_488332)!important;\n\t   font-size:  var(--tsvg_s_l_fs_488332);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-488332  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_488332);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_488332);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_488332);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_488332);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_488332);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_488332);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-488332 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-488332  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-488332 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-488332  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-488332 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"488332\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad488332 = 'false';\n\tfunction tsvgPaginationCreate488332(tsvgPaginationData488332,tsvgFrom488332, tsvgTo488332) {\n\t\tlet tsvgShowData488332 = tsvgPaginationData488332.slice(tsvgFrom488332, tsvgTo488332);\n\t\tlet tsvgThemeName488332 = jQuery(tsvgPaginationData488332).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData488332, function (index, value) {\n\t\t\tlet tsvgAnimDelay488332 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad488332 == 'true'){\n\t\t\t\ttsvgAnimDelay488332 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay488332+'s','-webkit-animation-delay': tsvgAnimDelay488332+'s','animation-delay': tsvgAnimDelay488332+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName488332 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData488332.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval488332= setInterval(tsvgGridUpdate488332, 100);\n\t\t\t\t\tfunction tsvgGridUpdate488332() {\n\t\t\t\t\t\tif( tsvgGridPagination488332(tsvgPaginationData488332) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval488332);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-488332').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-488332 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-pages li,.tsvg-section-488332 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate488332() {\n\t\tlet tsvgPaginationData488332 = jQuery('.tsvg-main-content-488332  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData488332.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-488332').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-488332 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-488332 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-488332 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-488332 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-488332 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-488332 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-488332').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-488332 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-488332  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-488332  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-488332 .tsvg-pagination-pages li,.tsvg-section-488332 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-488332').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-488332 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-488332  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-488332  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-488332  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-488332 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-488332  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-488332').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-488332')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-488332').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-488332').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-488332  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-488332')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-488332  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-488332  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-488332 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-488332  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-488332  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-488332  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-488332  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-488332  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-488332  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-488332  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-488332')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-488332  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-488332  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-488332  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-488332  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-488332  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-488332  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-488332  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-488332  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-488332 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-488332  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate488332(tsvgPaginationData488332,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-488332 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-488332 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-488332').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-488332  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-488332').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-488332').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-488332 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-488332').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-488332 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-488332 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-488332').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-488332  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad488332 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-488332').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-488332').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate488332(jQuery('.tsvg-main-content-488332  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate488332(jQuery('.tsvg-section-488332  .tsvg-main-content-488332  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination488332(){\n\t\tlet tsvgPaginationInterval488332 = setInterval(tsvgSetPagination488332, 100);\n\t\tfunction tsvgSetPagination488332() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-488332').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-488332').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate488332();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval488332);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination488332();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate488332();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-21 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:7;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-361726\"  id=\"tsvg-section-361726\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-361726{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-361726{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-361726 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-361726 main.tsvg-main-content-361726 > figure > ul,\n\t\t#tsvg-section-361726 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-361726 .tsvg-main-content-361726 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-361726 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-361726-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-361726  #TS_VGallery_pagination361726 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-361726 main.tsvg-main-content-361726[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-361726 main.tsvg-main-content-361726[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-361726 main.tsvg-main-content-361726[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-361726 main.tsvg-main-content-361726[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-361726 main.tsvg-main-content-361726[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-361726 main.tsvg-main-content-361726[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-361726 main.tsvg-main-content-361726[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-361726 main.tsvg-main-content-361726[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-361726 main.tsvg-main-content-361726[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-361726 main.tsvg-main-content-361726[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-361726 main.tsvg-main-content-361726[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-361726 .tsvg-main-content-361726 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_361726:2;\n\t\t--tsvg_g_bd_w_361726:2px;\n\t\t--tsvg_g_bd_c_361726:rgb(255, 255, 255);\n\t\t--tsvg_g_sh_361726:15px;\n\t\t--tsvg_g_sh_c_361726:#d3d3d3;\n\t\t--tsvg_g_border_Radius_361726:0%;\n\t\t--tsvg_g_place_between_361726:10px;\n\t\t--tsvg_hoo_c_361726:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_361726:15px;\n\t\t--tsvg_vto_ff_361726:Arial;\n\t\t--tsvg_vto_c_361726:#ededed;\n\t\t--tsvg_vto_b_bd_w_361726:1px;\n\t\t--tsvg_vto_bd_c_361726:#ffffff;\n\t\t--tsvg_vto_t_bd_w_361726:0px;\n\t\t--tsvg_vto_t_bd_c_361726:#000000;\n\t\t--tsvg_lo_fs_361726:8px;\n\t\t--tsvg_lo_ff_361726:Aldhabi;\n\t\t--tsvg_lo_c_361726:#ffffff;\n\t\t--tsvg_lo_bd_w_361726:5px;\n\t\t--tsvg_lo_bd_c_361726:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_361726:0px;\n\t\t--tsvg_lo_bg_c_361726:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_361726:#ffffff;\n\t\t--tsvg_lo_h_bd_c_361726:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_361726:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_361726:708;\n\t\t--tsvg_popup_po_v_h_361726:449;\n\t\t--tsvg_popup_po_o_c_361726:rgb(0, 63, 45);\n\t\t--tsvg_popup_po_vbc_c_361726:rgb(0, 0, 0);\n\t\t--tsvg_popup_psi_s_361726:36;\n\t\t--tsvg_popup_psi_c_361726:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_hbr_c_361726:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_br_w_361726:3;\n\t\t--tsvg_popup_pt_w_361726:95;\n\t\t--tsvg_popup_pt_h_361726:65;\n\t\t--tsvg_popup_pt_c_i_c361726:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_fs_361726:22px;\n\t\t--tsvg_popup_ci_ff_361726:Gabriola;\n\t\t--tsvg_popup_ci_c_361726:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_csi_s_361726:30;\n\t\t--tsvg_popup_ci_csi_c_361726:rgb(202, 209, 211);\n\t}\n\t#tsvg-section-361726    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-361726   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-361726 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_361726);\n\t  \tfont-family: var(--tsvg_vto_ff_361726);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_361726);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_361726)  var(--tsvg_vto_bd_c_361726) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_361726) solid var(--tsvg_vto_t_bd_c_361726) !important;\n\t}\n\t.tsvg-fancy-block-361726 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-361726 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-361726 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-361726  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_361726) !important;\n\t\tline-height: var(--tsvg_lo_fs_361726) !important;\n\t\tfont-family: var(--tsvg_lo_ff_361726) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_361726) !important;\n\t\tborder: var(--tsvg_lo_bd_w_361726) solid var(--tsvg_lo_bd_c_361726)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_361726) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_361726) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-361726  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_361726) !important;\n\t\tline-height: var(--tsvg_lo_fs_361726) !important;\n\t\tfont-family: var(--tsvg_lo_ff_361726) !important;\n\t\tcolor: var(--tsvg_lo_c_361726) !important;\n\t\tborder: var(--tsvg_lo_bd_w_361726) solid var(--tsvg_lo_bd_c_361726)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_361726) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_361726) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-361726  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_361726) !important;\n\t\tline-height: var(--tsvg_lo_fs_361726) !important;\n\t\tfont-family: var(--tsvg_lo_ff_361726) !important;\n\t\tcolor: var(--tsvg_lo_c_361726) !important;\n\t\tborder: var(--tsvg_lo_bd_w_361726) solid var(--tsvg_lo_bd_c_361726)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_361726) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_361726);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-361726:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-361726 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_361726) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_361726) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_361726) !important;\n\t}\n\t#tsvg-section-361726  .tsvg-fancy-block-361726 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_361726) *  var(--tsvg_g_img_w_361726)) ) \/ var(--tsvg_g_img_w_361726))!important;\n\t\tborder:  var(--tsvg_g_bd_w_361726) solid  var(--tsvg_g_bd_c_361726) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_361726)  var(--tsvg_g_sh_c_361726);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_361726);\n\t\tmargin:  var(--tsvg_g_place_between_361726) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-361726  .tsvg-fancy-block-361726  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-361726  .tsvg-fancy-block-361726  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-361726  .tsvg-fancy-block-361726  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-361726 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-361726 {\n\t\t\tmargin: var(--tsvg_g_place_between_361726) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-361726[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_361726: 2;\n\t}\n\t.tsvg-main-content-361726[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_361726: 1;\n\t}\n\t.tsvg-fancy-block-361726 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_361726)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_361726);\n\t  font-family : var(--tsvg_popup_ci_ff_361726);\n\t  color : var(--tsvg_popup_ci_c_361726);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-361726 a[href=''], .tsvg-fancy-blocks-list-361726 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-361726\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"rgb(0, 63, 45)\" data-tsvg-BgC=\"rgb(0, 0, 0)\" data-tsvg-HBC=\"rgb(202, 209, 211)\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-361726 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"false\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"rgb(202, 209, 211)\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-chevron-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-chevron-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-361726\"  data-tsvg-S=\"36\"  data-tsvg-C=\"rgb(202, 209, 211)\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"rgb(202, 209, 211)\"  data-tsvg-TIC=\"rgb(202, 209, 211)\"  data-tsvg-Color=\"rgb(202, 209, 211)\"  data-tsvg-PT=\"false\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-361726\" data-tsvg-id=\"92\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-361726\" data-href=\"https:\/\/www.youtube.com\/embed\/8KSMzXyT1Qk\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup361726\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103159\/LCAMD1.jpeg\" data-title=\"DigiVerse LCAM+ Demo 1 - Asset Creation\" data-tsvgid=\"92\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103159\/LCAMD1.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDigiVerse LCAM+ Demo 1 - Asset Creation\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-361726\" data-tsvg-id=\"93\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-361726\" data-href=\"https:\/\/www.youtube.com\/embed\/D2mfldROGx8\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup361726\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103216\/LCAMD2.jpeg\" data-title=\"DigiVerse LCAM+ Demo 2 - Asset Validation\" data-tsvgid=\"93\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103216\/LCAMD2.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDigiVerse LCAM+ Demo 2 - Asset Validation\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-361726\" data-tsvg-id=\"94\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-361726\" data-href=\"https:\/\/www.youtube.com\/embed\/mKTKuQR1J_E\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup361726\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103233\/LCAMD3.jpeg\" data-title=\"DigiVerse LCAM+ Demo 3 - Decommission Asset\" data-tsvgid=\"94\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103233\/LCAMD3.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDigiVerse LCAM+ Demo 3 - Decommission Asset\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-361726\" data-tsvg-id=\"95\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-361726\" data-href=\"https:\/\/www.youtube.com\/embed\/UiUR1AsPHow\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup361726\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103250\/LCAMD4.jpeg\" data-title=\"DigiVerse LCAM+ Demo 4 - Asset Condition Survey\" data-tsvgid=\"95\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103250\/LCAMD4.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDigiVerse LCAM+ Demo 4 - Asset Condition Survey\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval361726 = null,\n\ttsvgFancyJsFolder361726 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction361726 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox361726 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder361726,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-361726[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe361726(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls361726(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-361726[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe361726 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls361726 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-361726\").html5lightbox361726({},'361726');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-361726').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse361726 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse361726 = tsvgFancyHoverInverse361726 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-361726 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse361726});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval361726);\n\t\t}\n\t},\n\ttsvgFancyReference361726 = (\n\t\tfunction tsvgFancySameCall361726() {\n\t\t\ttsvgFancyInterval361726 = setInterval(tsvgFancyIntervalFunction361726, 1000);\n\t\t\treturn tsvgFancySameCall361726;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-361726 *::after, #tsvg-section-361726 *::before, #tsvg-section-361726 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-361726 *::after, #tsvg-section-361726 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-361726[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-361726[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-361726 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-361726 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-361726[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-361726[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_361726:#555;\n\t\t--tsvg_s_bc_361726:#ddd;\n\t\t--tsvg_s_h_c_361726:#cf095c;\n\t\t--tsvg_s_h_bc_361726:#cf095c;\n\t\t--tsvg_s_ac_c_361726:#cf095c;\n\t\t--tsvg_s_ac_bc_361726:#cf095c;\n\t\t--tsvg_s_fs_361726:18px;\n\t\t--tsvg_s_ff_361726:Amaranth;\n\t\t--tsvg_s_b_c_361726:#ddd;\n\t\t--tsvg_s_b_s_361726:2px;\n\t\t--tsvg_s_pl_fs_361726:14px;\n\t\t--tsvg_s_l_c_361726:#444;\n\t\t--tsvg_s_l_bc_361726:#fff;\n\t\t--tsvg_s_l_fs_361726:20px;\n\t\t--tsvg_s_l_ff_361726:Amaranth;\n\t\t--tsvg_s_l_bc_2_361726:#ff1f71;\n\t\t--tsvg_s_l_h_c_361726:#fff;\n\t\t--tsvg_s_l_h_bc_361726:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_361726:#FBC638;\n\t}\n\tsection.tsvg-section-361726 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-361726  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_361726)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-361726 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_361726)!important;\n\t}\n\tsection.tsvg-section-361726 .tsvg-pagination-pages>li>a,section.tsvg-section-361726 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-361726 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_361726) ;\n\t\tbackground-color: var(--tsvg_s_bc_361726);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_361726) !important;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_361726);\n\t}\n\t.tsvg-section-361726 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_361726);\n\t\tcolor:var(--tsvg_s_c_361726) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_361726) !important;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_361726) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_361726);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_361726);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_361726);\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-361726  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_361726);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-361726   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-361726  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_361726) !important;\n\t   background:  var(--tsvg_s_l_bc_361726);\n\t   font-family:  var(--tsvg_s_l_ff_361726)!important;\n\t   font-size:  var(--tsvg_s_l_fs_361726);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-361726  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_361726);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_361726);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_361726);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_361726);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_361726);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_361726);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-361726 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-361726  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-361726 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-361726  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-361726 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"361726\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad361726 = 'false';\n\tfunction tsvgPaginationCreate361726(tsvgPaginationData361726,tsvgFrom361726, tsvgTo361726) {\n\t\tlet tsvgShowData361726 = tsvgPaginationData361726.slice(tsvgFrom361726, tsvgTo361726);\n\t\tlet tsvgThemeName361726 = jQuery(tsvgPaginationData361726).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData361726, function (index, value) {\n\t\t\tlet tsvgAnimDelay361726 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad361726 == 'true'){\n\t\t\t\ttsvgAnimDelay361726 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay361726+'s','-webkit-animation-delay': tsvgAnimDelay361726+'s','animation-delay': tsvgAnimDelay361726+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName361726 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData361726.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval361726= setInterval(tsvgGridUpdate361726, 100);\n\t\t\t\t\tfunction tsvgGridUpdate361726() {\n\t\t\t\t\t\tif( tsvgGridPagination361726(tsvgPaginationData361726) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval361726);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-361726').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-361726 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-pages li,.tsvg-section-361726 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate361726() {\n\t\tlet tsvgPaginationData361726 = jQuery('.tsvg-main-content-361726  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData361726.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-361726').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-361726 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-361726 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-361726 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-361726 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-361726 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-361726 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-361726').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-361726 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-361726  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-361726  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-361726 .tsvg-pagination-pages li,.tsvg-section-361726 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-361726').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-361726 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-361726  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-361726  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-361726  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-361726 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-361726  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-361726').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-361726')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-361726').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-361726').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-361726  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-361726')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-361726  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-361726  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-361726 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-361726  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-361726  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-361726  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-361726  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-361726  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-361726  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-361726  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-361726')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-361726  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-361726  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-361726  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-361726  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-361726  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-361726  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-361726  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-361726  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-361726 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-361726  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate361726(tsvgPaginationData361726,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-361726 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-361726 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-361726').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-361726  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-361726').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-361726').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-361726 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-361726').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-361726 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-361726 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-361726').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-361726  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad361726 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-361726').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-361726').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate361726(jQuery('.tsvg-main-content-361726  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate361726(jQuery('.tsvg-section-361726  .tsvg-main-content-361726  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination361726(){\n\t\tlet tsvgPaginationInterval361726 = setInterval(tsvgSetPagination361726, 100);\n\t\tfunction tsvgSetPagination361726() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-361726').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-361726').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate361726();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval361726);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination361726();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate361726();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-22 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:9;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-771403\"  id=\"tsvg-section-771403\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-771403{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-771403{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-771403 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-771403 main.tsvg-main-content-771403 > figure > ul,\n\t\t#tsvg-section-771403 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-771403 .tsvg-main-content-771403 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-771403 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-771403-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-771403  #TS_VGallery_pagination771403 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-771403 main.tsvg-main-content-771403[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-771403 main.tsvg-main-content-771403[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-771403 main.tsvg-main-content-771403[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-771403 main.tsvg-main-content-771403[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-771403 main.tsvg-main-content-771403[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-771403 main.tsvg-main-content-771403[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-771403 main.tsvg-main-content-771403[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-771403 main.tsvg-main-content-771403[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-771403 main.tsvg-main-content-771403[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-771403 main.tsvg-main-content-771403[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-771403 main.tsvg-main-content-771403[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-771403 .tsvg-main-content-771403 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_771403:2;\n\t\t--tsvg_g_bd_w_771403:2px;\n\t\t--tsvg_g_bd_c_771403:rgb(255, 255, 255);\n\t\t--tsvg_g_sh_771403:15px;\n\t\t--tsvg_g_sh_c_771403:#d3d3d3;\n\t\t--tsvg_g_border_Radius_771403:0%;\n\t\t--tsvg_g_place_between_771403:10px;\n\t\t--tsvg_hoo_c_771403:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_771403:15px;\n\t\t--tsvg_vto_ff_771403:Arial;\n\t\t--tsvg_vto_c_771403:#ededed;\n\t\t--tsvg_vto_b_bd_w_771403:1px;\n\t\t--tsvg_vto_bd_c_771403:#ffffff;\n\t\t--tsvg_vto_t_bd_w_771403:0px;\n\t\t--tsvg_vto_t_bd_c_771403:#000000;\n\t\t--tsvg_lo_fs_771403:8px;\n\t\t--tsvg_lo_ff_771403:Aldhabi;\n\t\t--tsvg_lo_c_771403:#ffffff;\n\t\t--tsvg_lo_bd_w_771403:5px;\n\t\t--tsvg_lo_bd_c_771403:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_771403:0px;\n\t\t--tsvg_lo_bg_c_771403:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_771403:#ffffff;\n\t\t--tsvg_lo_h_bd_c_771403:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_771403:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_771403:708;\n\t\t--tsvg_popup_po_v_h_771403:449;\n\t\t--tsvg_popup_po_o_c_771403:rgb(0, 63, 45);\n\t\t--tsvg_popup_po_vbc_c_771403:rgb(0, 0, 0);\n\t\t--tsvg_popup_psi_s_771403:36;\n\t\t--tsvg_popup_psi_c_771403:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_hbr_c_771403:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_br_w_771403:3;\n\t\t--tsvg_popup_pt_w_771403:95;\n\t\t--tsvg_popup_pt_h_771403:65;\n\t\t--tsvg_popup_pt_c_i_c771403:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_fs_771403:22px;\n\t\t--tsvg_popup_ci_ff_771403:Gabriola;\n\t\t--tsvg_popup_ci_c_771403:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_csi_s_771403:30;\n\t\t--tsvg_popup_ci_csi_c_771403:rgb(202, 209, 211);\n\t}\n\t#tsvg-section-771403    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-771403   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-771403 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_771403);\n\t  \tfont-family: var(--tsvg_vto_ff_771403);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_771403);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_771403)  var(--tsvg_vto_bd_c_771403) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_771403) solid var(--tsvg_vto_t_bd_c_771403) !important;\n\t}\n\t.tsvg-fancy-block-771403 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-771403 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-771403 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-771403  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_771403) !important;\n\t\tline-height: var(--tsvg_lo_fs_771403) !important;\n\t\tfont-family: var(--tsvg_lo_ff_771403) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_771403) !important;\n\t\tborder: var(--tsvg_lo_bd_w_771403) solid var(--tsvg_lo_bd_c_771403)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_771403) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_771403) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-771403  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_771403) !important;\n\t\tline-height: var(--tsvg_lo_fs_771403) !important;\n\t\tfont-family: var(--tsvg_lo_ff_771403) !important;\n\t\tcolor: var(--tsvg_lo_c_771403) !important;\n\t\tborder: var(--tsvg_lo_bd_w_771403) solid var(--tsvg_lo_bd_c_771403)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_771403) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_771403) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-771403  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_771403) !important;\n\t\tline-height: var(--tsvg_lo_fs_771403) !important;\n\t\tfont-family: var(--tsvg_lo_ff_771403) !important;\n\t\tcolor: var(--tsvg_lo_c_771403) !important;\n\t\tborder: var(--tsvg_lo_bd_w_771403) solid var(--tsvg_lo_bd_c_771403)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_771403) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_771403);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-771403:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-771403 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_771403) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_771403) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_771403) !important;\n\t}\n\t#tsvg-section-771403  .tsvg-fancy-block-771403 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_771403) *  var(--tsvg_g_img_w_771403)) ) \/ var(--tsvg_g_img_w_771403))!important;\n\t\tborder:  var(--tsvg_g_bd_w_771403) solid  var(--tsvg_g_bd_c_771403) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_771403)  var(--tsvg_g_sh_c_771403);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_771403);\n\t\tmargin:  var(--tsvg_g_place_between_771403) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-771403  .tsvg-fancy-block-771403  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-771403  .tsvg-fancy-block-771403  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-771403  .tsvg-fancy-block-771403  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-771403 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-771403 {\n\t\t\tmargin: var(--tsvg_g_place_between_771403) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-771403[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_771403: 2;\n\t}\n\t.tsvg-main-content-771403[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_771403: 1;\n\t}\n\t.tsvg-fancy-block-771403 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_771403)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_771403);\n\t  font-family : var(--tsvg_popup_ci_ff_771403);\n\t  color : var(--tsvg_popup_ci_c_771403);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-771403 a[href=''], .tsvg-fancy-blocks-list-771403 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-771403\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"rgb(0, 63, 45)\" data-tsvg-BgC=\"rgb(0, 0, 0)\" data-tsvg-HBC=\"rgb(202, 209, 211)\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-771403 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"false\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"rgb(202, 209, 211)\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-chevron-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-chevron-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-771403\"  data-tsvg-S=\"36\"  data-tsvg-C=\"rgb(202, 209, 211)\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"rgb(202, 209, 211)\"  data-tsvg-TIC=\"rgb(202, 209, 211)\"  data-tsvg-Color=\"rgb(202, 209, 211)\"  data-tsvg-PT=\"false\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-771403\" data-tsvg-id=\"2\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-771403\" data-href=\"https:\/\/www.youtube.com\/embed\/Ls0-u8wYmpQ\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup771403\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171614\/Thumbnail-1.jpeg\" data-title=\"Chapter 1 - How to login\" data-tsvgid=\"2\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171614\/Thumbnail-1.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 1 - How to login\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-771403\" data-tsvg-id=\"3\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-771403\" data-href=\"https:\/\/www.youtube.com\/embed\/JPUAXBdL6Vk\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup771403\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171618\/thumbnail-2.jpeg\" data-title=\"Chapter 2 - How to logout\" data-tsvgid=\"3\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171618\/thumbnail-2.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 2 - How to logout\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-771403\" data-tsvg-id=\"4\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-771403\" data-href=\"https:\/\/www.youtube.com\/embed\/Cy1w0kfPaDU\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup771403\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171623\/Thumbnail-3.jpeg\" data-title=\"Chapter 3 - How to change language\" data-tsvgid=\"4\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171623\/Thumbnail-3.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 3 - How to change language\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-771403\" data-tsvg-id=\"17\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-771403\" data-href=\"https:\/\/www.youtube.com\/embed\/GSl6L9KHcEw\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup771403\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/27211555\/Thumbnail-5.jpeg\" data-title=\"Chapter 4 - How to turn on offline mode\" data-tsvgid=\"17\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/27211555\/Thumbnail-5.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 4 - How to turn on offline mode\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-771403\" data-tsvg-id=\"21\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-771403\" data-href=\"https:\/\/www.youtube.com\/embed\/Q-0bgxDD5GI\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup771403\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04172207\/Thumbnail-7.jpeg\" data-title=\"Chapter 5 - How to pause an inspection\" data-tsvgid=\"21\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04172207\/Thumbnail-7.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 5 - How to pause an inspection\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-771403\" data-tsvg-id=\"22\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-771403\" data-href=\"https:\/\/www.youtube.com\/embed\/0AXljI5pE_M\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup771403\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04172321\/Thumbnail-9.jpeg\" data-title=\"Chapter 6 - How to sync DigiVerse app\" data-tsvgid=\"22\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04172321\/Thumbnail-9.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 6 - How to sync DigiVerse app\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-771403\" data-tsvg-id=\"27\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-771403\" data-href=\"https:\/\/www.youtube.com\/embed\/TId9vLfTAfo\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup771403\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/05\/29144634\/Thumbnail-10.jpeg\" data-title=\"Chapter 7 - How to Search Work Orders\" data-tsvgid=\"27\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/05\/29144634\/Thumbnail-10.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 7 - How to Search Work Orders\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-771403\" data-tsvg-id=\"28\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-771403\" data-href=\"https:\/\/www.youtube.com\/embed\/D0U4wum_1FM\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup771403\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/05\/29144642\/Thumbnail-11.jpeg\" data-title=\"Chapter 8 - How to Markup Images\" data-tsvgid=\"28\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/05\/29144642\/Thumbnail-11.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 8 - How to Markup Images\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-771403\" data-tsvg-id=\"35\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-771403\" data-href=\"https:\/\/www.youtube.com\/embed\/xyhLg2hxFmA\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup771403\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/08\/29144552\/Thumbnail-14.jpeg\" data-title=\"Chapter 9 - How to take asset photos\" data-tsvgid=\"35\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/08\/29144552\/Thumbnail-14.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 9 - How to take asset photos\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval771403 = null,\n\ttsvgFancyJsFolder771403 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction771403 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox771403 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder771403,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-771403[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe771403(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls771403(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-771403[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe771403 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls771403 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-771403\").html5lightbox771403({},'771403');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-771403').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse771403 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse771403 = tsvgFancyHoverInverse771403 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-771403 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse771403});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval771403);\n\t\t}\n\t},\n\ttsvgFancyReference771403 = (\n\t\tfunction tsvgFancySameCall771403() {\n\t\t\ttsvgFancyInterval771403 = setInterval(tsvgFancyIntervalFunction771403, 1000);\n\t\t\treturn tsvgFancySameCall771403;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-771403 *::after, #tsvg-section-771403 *::before, #tsvg-section-771403 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-771403 *::after, #tsvg-section-771403 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-771403[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-771403[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-771403 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-771403 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-771403[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-771403[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_771403:#555;\n\t\t--tsvg_s_bc_771403:#ddd;\n\t\t--tsvg_s_h_c_771403:#cf095c;\n\t\t--tsvg_s_h_bc_771403:#cf095c;\n\t\t--tsvg_s_ac_c_771403:#cf095c;\n\t\t--tsvg_s_ac_bc_771403:#cf095c;\n\t\t--tsvg_s_fs_771403:18px;\n\t\t--tsvg_s_ff_771403:Amaranth;\n\t\t--tsvg_s_b_c_771403:#ddd;\n\t\t--tsvg_s_b_s_771403:2px;\n\t\t--tsvg_s_pl_fs_771403:14px;\n\t\t--tsvg_s_l_c_771403:#444;\n\t\t--tsvg_s_l_bc_771403:#fff;\n\t\t--tsvg_s_l_fs_771403:20px;\n\t\t--tsvg_s_l_ff_771403:Amaranth;\n\t\t--tsvg_s_l_bc_2_771403:#ff1f71;\n\t\t--tsvg_s_l_h_c_771403:#fff;\n\t\t--tsvg_s_l_h_bc_771403:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_771403:#FBC638;\n\t}\n\tsection.tsvg-section-771403 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-771403  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_771403)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-771403 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_771403)!important;\n\t}\n\tsection.tsvg-section-771403 .tsvg-pagination-pages>li>a,section.tsvg-section-771403 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-771403 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_771403) ;\n\t\tbackground-color: var(--tsvg_s_bc_771403);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_771403) !important;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_771403);\n\t}\n\t.tsvg-section-771403 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_771403);\n\t\tcolor:var(--tsvg_s_c_771403) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_771403) !important;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_771403) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_771403);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_771403);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_771403);\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-771403  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_771403);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-771403   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-771403  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_771403) !important;\n\t   background:  var(--tsvg_s_l_bc_771403);\n\t   font-family:  var(--tsvg_s_l_ff_771403)!important;\n\t   font-size:  var(--tsvg_s_l_fs_771403);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-771403  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_771403);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_771403);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_771403);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_771403);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_771403);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_771403);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-771403 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-771403  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-771403 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-771403  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-771403 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"771403\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad771403 = 'false';\n\tfunction tsvgPaginationCreate771403(tsvgPaginationData771403,tsvgFrom771403, tsvgTo771403) {\n\t\tlet tsvgShowData771403 = tsvgPaginationData771403.slice(tsvgFrom771403, tsvgTo771403);\n\t\tlet tsvgThemeName771403 = jQuery(tsvgPaginationData771403).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData771403, function (index, value) {\n\t\t\tlet tsvgAnimDelay771403 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad771403 == 'true'){\n\t\t\t\ttsvgAnimDelay771403 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay771403+'s','-webkit-animation-delay': tsvgAnimDelay771403+'s','animation-delay': tsvgAnimDelay771403+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName771403 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData771403.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval771403= setInterval(tsvgGridUpdate771403, 100);\n\t\t\t\t\tfunction tsvgGridUpdate771403() {\n\t\t\t\t\t\tif( tsvgGridPagination771403(tsvgPaginationData771403) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval771403);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-771403').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-771403 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-pages li,.tsvg-section-771403 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate771403() {\n\t\tlet tsvgPaginationData771403 = jQuery('.tsvg-main-content-771403  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData771403.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-771403').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-771403 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-771403 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-771403 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-771403 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-771403 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-771403 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-771403').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-771403 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-771403  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-771403  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-771403 .tsvg-pagination-pages li,.tsvg-section-771403 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-771403').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-771403 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-771403  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-771403  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-771403  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-771403 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-771403  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-771403').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-771403')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-771403').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-771403').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-771403  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-771403')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-771403  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-771403  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-771403 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-771403  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-771403  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-771403  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-771403  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-771403  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-771403  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-771403  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-771403')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-771403  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-771403  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-771403  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-771403  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-771403  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-771403  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-771403  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-771403  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-771403 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-771403  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate771403(tsvgPaginationData771403,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-771403 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-771403 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-771403').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-771403  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-771403').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-771403').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-771403 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-771403').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-771403 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-771403 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-771403').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-771403  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad771403 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-771403').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-771403').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate771403(jQuery('.tsvg-main-content-771403  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate771403(jQuery('.tsvg-section-771403  .tsvg-main-content-771403  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination771403(){\n\t\tlet tsvgPaginationInterval771403 = setInterval(tsvgSetPagination771403, 100);\n\t\tfunction tsvgSetPagination771403() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-771403').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-771403').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate771403();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval771403);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination771403();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate771403();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-23 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:10;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-12\"><h3 style=\"color: rgb(0, 63, 45); --fontSize: 28; line-height: 1.2;\" data-fontsize=\"28\" data-lineheight=\"33.600002px\" class=\"fusion-responsive-typography-calculated\">eCEI Demos<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-24 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:12;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-13\"><h3 style=\"color: #003f2d;\">RIC Videos<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-25 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:11;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-659681\"  id=\"tsvg-section-659681\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-659681{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-659681{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-659681 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-659681 main.tsvg-main-content-659681 > figure > ul,\n\t\t#tsvg-section-659681 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-659681 .tsvg-main-content-659681 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-659681 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-659681-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-659681  #TS_VGallery_pagination659681 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-659681 main.tsvg-main-content-659681[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-659681 main.tsvg-main-content-659681[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-659681 main.tsvg-main-content-659681[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-659681 main.tsvg-main-content-659681[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-659681 main.tsvg-main-content-659681[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-659681 main.tsvg-main-content-659681[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-659681 main.tsvg-main-content-659681[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-659681 main.tsvg-main-content-659681[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-659681 main.tsvg-main-content-659681[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-659681 main.tsvg-main-content-659681[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-659681 main.tsvg-main-content-659681[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-659681 .tsvg-main-content-659681 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_659681:2;\n\t\t--tsvg_g_bd_w_659681:2px;\n\t\t--tsvg_g_bd_c_659681:rgb(255, 255, 255);\n\t\t--tsvg_g_sh_659681:15px;\n\t\t--tsvg_g_sh_c_659681:#d3d3d3;\n\t\t--tsvg_g_border_Radius_659681:0%;\n\t\t--tsvg_g_place_between_659681:10px;\n\t\t--tsvg_hoo_c_659681:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_659681:15px;\n\t\t--tsvg_vto_ff_659681:Arial;\n\t\t--tsvg_vto_c_659681:#ededed;\n\t\t--tsvg_vto_b_bd_w_659681:1px;\n\t\t--tsvg_vto_bd_c_659681:#ffffff;\n\t\t--tsvg_vto_t_bd_w_659681:0px;\n\t\t--tsvg_vto_t_bd_c_659681:#000000;\n\t\t--tsvg_lo_fs_659681:8px;\n\t\t--tsvg_lo_ff_659681:Aldhabi;\n\t\t--tsvg_lo_c_659681:#ffffff;\n\t\t--tsvg_lo_bd_w_659681:5px;\n\t\t--tsvg_lo_bd_c_659681:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_659681:0px;\n\t\t--tsvg_lo_bg_c_659681:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_659681:#ffffff;\n\t\t--tsvg_lo_h_bd_c_659681:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_659681:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_659681:708;\n\t\t--tsvg_popup_po_v_h_659681:449;\n\t\t--tsvg_popup_po_o_c_659681:rgb(0, 63, 45);\n\t\t--tsvg_popup_po_vbc_c_659681:rgb(0, 0, 0);\n\t\t--tsvg_popup_psi_s_659681:36;\n\t\t--tsvg_popup_psi_c_659681:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_hbr_c_659681:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_br_w_659681:3;\n\t\t--tsvg_popup_pt_w_659681:95;\n\t\t--tsvg_popup_pt_h_659681:65;\n\t\t--tsvg_popup_pt_c_i_c659681:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_fs_659681:22px;\n\t\t--tsvg_popup_ci_ff_659681:Gabriola;\n\t\t--tsvg_popup_ci_c_659681:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_csi_s_659681:30;\n\t\t--tsvg_popup_ci_csi_c_659681:rgb(202, 209, 211);\n\t}\n\t#tsvg-section-659681    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-659681   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-659681 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_659681);\n\t  \tfont-family: var(--tsvg_vto_ff_659681);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_659681);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_659681)  var(--tsvg_vto_bd_c_659681) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_659681) solid var(--tsvg_vto_t_bd_c_659681) !important;\n\t}\n\t.tsvg-fancy-block-659681 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-659681 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-659681 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-659681  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_659681) !important;\n\t\tline-height: var(--tsvg_lo_fs_659681) !important;\n\t\tfont-family: var(--tsvg_lo_ff_659681) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_659681) !important;\n\t\tborder: var(--tsvg_lo_bd_w_659681) solid var(--tsvg_lo_bd_c_659681)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_659681) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_659681) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-659681  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_659681) !important;\n\t\tline-height: var(--tsvg_lo_fs_659681) !important;\n\t\tfont-family: var(--tsvg_lo_ff_659681) !important;\n\t\tcolor: var(--tsvg_lo_c_659681) !important;\n\t\tborder: var(--tsvg_lo_bd_w_659681) solid var(--tsvg_lo_bd_c_659681)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_659681) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_659681) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-659681  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_659681) !important;\n\t\tline-height: var(--tsvg_lo_fs_659681) !important;\n\t\tfont-family: var(--tsvg_lo_ff_659681) !important;\n\t\tcolor: var(--tsvg_lo_c_659681) !important;\n\t\tborder: var(--tsvg_lo_bd_w_659681) solid var(--tsvg_lo_bd_c_659681)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_659681) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_659681);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-659681:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-659681 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_659681) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_659681) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_659681) !important;\n\t}\n\t#tsvg-section-659681  .tsvg-fancy-block-659681 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_659681) *  var(--tsvg_g_img_w_659681)) ) \/ var(--tsvg_g_img_w_659681))!important;\n\t\tborder:  var(--tsvg_g_bd_w_659681) solid  var(--tsvg_g_bd_c_659681) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_659681)  var(--tsvg_g_sh_c_659681);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_659681);\n\t\tmargin:  var(--tsvg_g_place_between_659681) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-659681  .tsvg-fancy-block-659681  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-659681  .tsvg-fancy-block-659681  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-659681  .tsvg-fancy-block-659681  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-659681 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-659681 {\n\t\t\tmargin: var(--tsvg_g_place_between_659681) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-659681[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_659681: 2;\n\t}\n\t.tsvg-main-content-659681[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_659681: 1;\n\t}\n\t.tsvg-fancy-block-659681 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_659681)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_659681);\n\t  font-family : var(--tsvg_popup_ci_ff_659681);\n\t  color : var(--tsvg_popup_ci_c_659681);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-659681 a[href=''], .tsvg-fancy-blocks-list-659681 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-659681\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"rgb(0, 63, 45)\" data-tsvg-BgC=\"rgb(0, 0, 0)\" data-tsvg-HBC=\"rgb(202, 209, 211)\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-659681 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"false\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"rgb(202, 209, 211)\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-chevron-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-chevron-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-659681\"  data-tsvg-S=\"36\"  data-tsvg-C=\"rgb(202, 209, 211)\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"rgb(202, 209, 211)\"  data-tsvg-TIC=\"rgb(202, 209, 211)\"  data-tsvg-Color=\"rgb(202, 209, 211)\"  data-tsvg-PT=\"false\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-659681\" data-tsvg-id=\"6\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-659681\" data-href=\"https:\/\/www.youtube.com\/embed\/rBU6rN9j85w\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup659681\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24172103\/thumbnail-4.jpeg\" data-title=\"Demo-1 Performing an inspection\" data-tsvgid=\"6\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24172103\/thumbnail-4.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-1 Performing an inspection\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-659681\" data-tsvg-id=\"19\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-659681\" data-href=\"https:\/\/www.youtube.com\/embed\/CAfviZG0ops\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup659681\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/03\/03215319\/Thumbnail-6.jpeg\" data-title=\"Demo-2 Putting inspection on hold\" data-tsvgid=\"19\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/03\/03215319\/Thumbnail-6.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-2 Putting inspection on hold\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-659681\" data-tsvg-id=\"23\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-659681\" data-href=\"https:\/\/www.youtube.com\/embed\/9t24Dye7nmc\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup659681\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04174027\/Thumbnail-8.jpeg\" data-title=\"Demo-3 Contacting DigiVerse Support\" data-tsvgid=\"23\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04174027\/Thumbnail-8.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-3 Contacting DigiVerse Support\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-659681\" data-tsvg-id=\"31\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-659681\" data-href=\"https:\/\/www.youtube.com\/embed\/lKe-3g0ncTU\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup659681\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/06\/05113931\/Thumbnail-12.jpeg\" data-title=\"Demo-4 Inspecting Asset with missing info\" data-tsvgid=\"31\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/06\/05113931\/Thumbnail-12.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-4 Inspecting Asset with missing info\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-659681\" data-tsvg-id=\"33\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-659681\" data-href=\"https:\/\/www.youtube.com\/embed\/Y5SPdFH4yvs\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup659681\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/06\/12200423\/Thumbnail-13.jpeg\" data-title=\"Demo-5 Multiple Inspections with single retailer&apos;s sign\" data-tsvgid=\"33\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/06\/12200423\/Thumbnail-13.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-5 Multiple Inspections with single retailer&#039;s sign\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-659681\" data-tsvg-id=\"80\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-659681\" data-href=\"https:\/\/www.youtube.com\/embed\/6mi7q8jlBVg\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup659681\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/02\/23170912\/Thumbnail-15.jpeg\" data-title=\"Demo-6 How to add labour hours and parts and materials\" data-tsvgid=\"80\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"http:\/\/Demo%206%20-%20How%20to%20add%20Labour%20Hours%20and%20Parts%20and%20Materials\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/02\/23170912\/Thumbnail-15.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-6 How to add labour hours and parts and materials\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval659681 = null,\n\ttsvgFancyJsFolder659681 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction659681 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox659681 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder659681,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-659681[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe659681(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls659681(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-659681[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe659681 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls659681 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-659681\").html5lightbox659681({},'659681');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-659681').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse659681 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse659681 = tsvgFancyHoverInverse659681 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-659681 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse659681});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval659681);\n\t\t}\n\t},\n\ttsvgFancyReference659681 = (\n\t\tfunction tsvgFancySameCall659681() {\n\t\t\ttsvgFancyInterval659681 = setInterval(tsvgFancyIntervalFunction659681, 1000);\n\t\t\treturn tsvgFancySameCall659681;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-659681 *::after, #tsvg-section-659681 *::before, #tsvg-section-659681 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-659681 *::after, #tsvg-section-659681 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-659681[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-659681[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-659681 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-659681 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-659681[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-659681[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_659681:#555;\n\t\t--tsvg_s_bc_659681:#ddd;\n\t\t--tsvg_s_h_c_659681:#cf095c;\n\t\t--tsvg_s_h_bc_659681:#cf095c;\n\t\t--tsvg_s_ac_c_659681:#cf095c;\n\t\t--tsvg_s_ac_bc_659681:#cf095c;\n\t\t--tsvg_s_fs_659681:18px;\n\t\t--tsvg_s_ff_659681:Amaranth;\n\t\t--tsvg_s_b_c_659681:#ddd;\n\t\t--tsvg_s_b_s_659681:2px;\n\t\t--tsvg_s_pl_fs_659681:14px;\n\t\t--tsvg_s_l_c_659681:#444;\n\t\t--tsvg_s_l_bc_659681:#fff;\n\t\t--tsvg_s_l_fs_659681:20px;\n\t\t--tsvg_s_l_ff_659681:Amaranth;\n\t\t--tsvg_s_l_bc_2_659681:#ff1f71;\n\t\t--tsvg_s_l_h_c_659681:#fff;\n\t\t--tsvg_s_l_h_bc_659681:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_659681:#FBC638;\n\t}\n\tsection.tsvg-section-659681 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-659681  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_659681)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-659681 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_659681)!important;\n\t}\n\tsection.tsvg-section-659681 .tsvg-pagination-pages>li>a,section.tsvg-section-659681 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-659681 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_659681) ;\n\t\tbackground-color: var(--tsvg_s_bc_659681);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_659681) !important;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_659681);\n\t}\n\t.tsvg-section-659681 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_659681);\n\t\tcolor:var(--tsvg_s_c_659681) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_659681) !important;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_659681) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_659681);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_659681);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_659681);\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-659681  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_659681);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-659681   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-659681  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_659681) !important;\n\t   background:  var(--tsvg_s_l_bc_659681);\n\t   font-family:  var(--tsvg_s_l_ff_659681)!important;\n\t   font-size:  var(--tsvg_s_l_fs_659681);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-659681  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_659681);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_659681);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_659681);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_659681);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_659681);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_659681);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-659681 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-659681  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-659681 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-659681  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-659681 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"659681\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad659681 = 'false';\n\tfunction tsvgPaginationCreate659681(tsvgPaginationData659681,tsvgFrom659681, tsvgTo659681) {\n\t\tlet tsvgShowData659681 = tsvgPaginationData659681.slice(tsvgFrom659681, tsvgTo659681);\n\t\tlet tsvgThemeName659681 = jQuery(tsvgPaginationData659681).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData659681, function (index, value) {\n\t\t\tlet tsvgAnimDelay659681 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad659681 == 'true'){\n\t\t\t\ttsvgAnimDelay659681 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay659681+'s','-webkit-animation-delay': tsvgAnimDelay659681+'s','animation-delay': tsvgAnimDelay659681+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName659681 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData659681.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval659681= setInterval(tsvgGridUpdate659681, 100);\n\t\t\t\t\tfunction tsvgGridUpdate659681() {\n\t\t\t\t\t\tif( tsvgGridPagination659681(tsvgPaginationData659681) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval659681);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-659681').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-659681 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-pages li,.tsvg-section-659681 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate659681() {\n\t\tlet tsvgPaginationData659681 = jQuery('.tsvg-main-content-659681  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData659681.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-659681').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-659681 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-659681 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-659681 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-659681 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-659681 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-659681 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-659681').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-659681 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-659681  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-659681  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-659681 .tsvg-pagination-pages li,.tsvg-section-659681 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-659681').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-659681 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-659681  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-659681  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-659681  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-659681 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-659681  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-659681').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-659681')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-659681').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-659681').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-659681  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-659681')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-659681  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-659681  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-659681 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-659681  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-659681  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-659681  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-659681  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-659681  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-659681  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-659681  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-659681')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-659681  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-659681  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-659681  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-659681  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-659681  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-659681  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-659681  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-659681  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-659681 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-659681  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate659681(tsvgPaginationData659681,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-659681 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-659681 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-659681').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-659681  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-659681').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-659681').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-659681 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-659681').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-659681 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-659681 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-659681').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-659681  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad659681 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-659681').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-659681').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate659681(jQuery('.tsvg-main-content-659681  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate659681(jQuery('.tsvg-section-659681  .tsvg-main-content-659681  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination659681(){\n\t\tlet tsvgPaginationInterval659681 = setInterval(tsvgSetPagination659681, 100);\n\t\tfunction tsvgSetPagination659681() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-659681').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-659681').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate659681();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval659681);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination659681();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate659681();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-26 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:13;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><\/div><\/div><\/div><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-3 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling fusion-no-medium-visibility fusion-no-large-visibility\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-padding-right:100px;--awb-padding-left:100px;--awb-padding-right-medium:0px;--awb-padding-left-medium:0px;--awb-padding-right-small:0px;--awb-padding-left-small:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1248px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-27 fusion_builder_column_1_6 1_6 fusion-flex-column fusion-flex-align-self-stretch\" style=\"--awb-bg-size:cover;--awb-width-large:16.666666666667%;--awb-margin-top-large:0px;--awb-spacing-right-large:11.52%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:11.52%;--awb-width-medium:16.666666666667%;--awb-order-medium:0;--awb-spacing-right-medium:11.52%;--awb-spacing-left-medium:11.52%;--awb-width-small:16.666666666667%;--awb-order-small:0;--awb-spacing-right-small:11.52%;--awb-spacing-left-small:11.52%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-space-around fusion-content-layout-column\"><div class=\"fusion-image-element\" style=\"--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\" fusion-imageframe imageframe-none imageframe-3 hover-type-none\"><a class=\"fusion-no-lightbox\" href=\"https:\/\/www.3point3labs.com\/index.php\/cbredigiverse\/\" target=\"_self\"><img decoding=\"async\" width=\"59\" height=\"59\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2759%27%20height%3D%2759%27%20viewBox%3D%270%200%2059%2059%27%3E%3Crect%20width%3D%2759%27%20height%3D%2759%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/01\/06175239\/CBRE_mob.png\" alt class=\"lazyload img-responsive wp-image-14453\"\/><\/a><\/span><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-28 fusion_builder_column_5_6 5_6 fusion-flex-column fusion-flex-align-self-stretch\" style=\"--awb-bg-size:cover;--awb-width-large:83.333333333333%;--awb-margin-top-large:0px;--awb-spacing-right-large:2.304%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:2.304%;--awb-width-medium:83.333333333333%;--awb-order-medium:0;--awb-spacing-right-medium:2.304%;--awb-spacing-left-medium:2.304%;--awb-width-small:83.333333333333%;--awb-order-small:1;--awb-spacing-right-small:2.304%;--awb-spacing-left-small:2.304%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-space-evenly fusion-content-layout-column\"><div class=\"fusion-text fusion-text-14\"><h3><span style=\"font-size: 22px; color: #003f2d;\" data-fusion-font=\"true\">CBRE DigiVerse Videos<\/span><\/h3>\n<\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-29 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:2;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-15\"><h3 style=\"font-size: 18px; color: rgb(0, 63, 45); --fontSize: 18; line-height: 1.2; --minFontSize: 18;\" data-fusion-font=\"true\" data-fontsize=\"18\" data-lineheight=\"21.6px\" class=\"fusion-responsive-typography-calculated\">DigiVerse Tech App Demo<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-30 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:4;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-16\"><h3 style=\"font-size: 18px; color: rgb(0, 63, 45); --fontSize: 18; line-height: 1.2; --minFontSize: 18;\" data-fusion-font=\"true\" data-fontsize=\"18\" data-lineheight=\"21.6px\" class=\"fusion-responsive-typography-calculated\">DigiVerse Tutorials<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-31 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:6;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-17\"><h3 style=\"font-size: 18px; color: rgb(0, 63, 45); --fontSize: 18; line-height: 1.2; --minFontSize: 18;\" data-fusion-font=\"true\" data-fontsize=\"18\" data-lineheight=\"21.6px\" class=\"fusion-responsive-typography-calculated\">LCAM+ Demos<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-32 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:8;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-18\"><h3 style=\"font-size: 18px; color: rgb(0, 63, 45); --fontSize: 18; line-height: 1.2; --minFontSize: 18;\" data-fusion-font=\"true\" data-fontsize=\"18\" data-lineheight=\"21.6px\" class=\"fusion-responsive-typography-calculated\">eCEI Tutorials<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-33 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:3;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-874050\"  id=\"tsvg-section-874050\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-874050{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-874050{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-874050 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-874050 main.tsvg-main-content-874050 > figure > ul,\n\t\t#tsvg-section-874050 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-874050 .tsvg-main-content-874050 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-874050 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-874050-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-874050  #TS_VGallery_pagination874050 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-874050 main.tsvg-main-content-874050[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-874050 main.tsvg-main-content-874050[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-874050 main.tsvg-main-content-874050[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-874050 main.tsvg-main-content-874050[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-874050 main.tsvg-main-content-874050[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-874050 main.tsvg-main-content-874050[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-874050 main.tsvg-main-content-874050[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-874050 main.tsvg-main-content-874050[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-874050 main.tsvg-main-content-874050[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-874050 main.tsvg-main-content-874050[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-874050 main.tsvg-main-content-874050[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-874050 .tsvg-main-content-874050 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_874050:2;\n\t\t--tsvg_g_bd_w_874050:3px;\n\t\t--tsvg_g_bd_c_874050:#ffffff;\n\t\t--tsvg_g_sh_874050:15px;\n\t\t--tsvg_g_sh_c_874050:#d3d3d3;\n\t\t--tsvg_g_border_Radius_874050:0%;\n\t\t--tsvg_g_place_between_874050:10px;\n\t\t--tsvg_hoo_c_874050:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_874050:15px;\n\t\t--tsvg_vto_ff_874050:Arial;\n\t\t--tsvg_vto_c_874050:#ededed;\n\t\t--tsvg_vto_b_bd_w_874050:1px;\n\t\t--tsvg_vto_bd_c_874050:#ffffff;\n\t\t--tsvg_vto_t_bd_w_874050:0px;\n\t\t--tsvg_vto_t_bd_c_874050:#000000;\n\t\t--tsvg_lo_fs_874050:16px;\n\t\t--tsvg_lo_ff_874050:Aldhabi;\n\t\t--tsvg_lo_c_874050:#ffffff;\n\t\t--tsvg_lo_bd_w_874050:5px;\n\t\t--tsvg_lo_bd_c_874050:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_874050:0px;\n\t\t--tsvg_lo_bg_c_874050:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_874050:#ffffff;\n\t\t--tsvg_lo_h_bd_c_874050:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_874050:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_874050:550;\n\t\t--tsvg_popup_po_v_h_874050:350;\n\t\t--tsvg_popup_po_o_c_874050:#000000;\n\t\t--tsvg_popup_po_vbc_c_874050:#000000;\n\t\t--tsvg_popup_psi_s_874050:36;\n\t\t--tsvg_popup_psi_c_874050:#ffffff;\n\t\t--tsvg_popup_pt_hbr_c_874050:#ffffff;\n\t\t--tsvg_popup_pt_br_w_874050:3;\n\t\t--tsvg_popup_pt_w_874050:95;\n\t\t--tsvg_popup_pt_h_874050:65;\n\t\t--tsvg_popup_pt_c_i_c874050:#ffffff;\n\t\t--tsvg_popup_ci_fs_874050:22px;\n\t\t--tsvg_popup_ci_ff_874050:Gabriola;\n\t\t--tsvg_popup_ci_c_874050:#ffffff;\n\t\t--tsvg_popup_ci_csi_s_874050:30;\n\t\t--tsvg_popup_ci_csi_c_874050:#ffffff;\n\t}\n\t#tsvg-section-874050    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-874050   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-874050 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_874050);\n\t  \tfont-family: var(--tsvg_vto_ff_874050);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_874050);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_874050)  var(--tsvg_vto_bd_c_874050) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_874050) solid var(--tsvg_vto_t_bd_c_874050) !important;\n\t}\n\t.tsvg-fancy-block-874050 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-874050 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-874050 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-874050  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_874050) !important;\n\t\tline-height: var(--tsvg_lo_fs_874050) !important;\n\t\tfont-family: var(--tsvg_lo_ff_874050) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_874050) !important;\n\t\tborder: var(--tsvg_lo_bd_w_874050) solid var(--tsvg_lo_bd_c_874050)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_874050) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_874050) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-874050  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_874050) !important;\n\t\tline-height: var(--tsvg_lo_fs_874050) !important;\n\t\tfont-family: var(--tsvg_lo_ff_874050) !important;\n\t\tcolor: var(--tsvg_lo_c_874050) !important;\n\t\tborder: var(--tsvg_lo_bd_w_874050) solid var(--tsvg_lo_bd_c_874050)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_874050) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_874050) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-874050  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_874050) !important;\n\t\tline-height: var(--tsvg_lo_fs_874050) !important;\n\t\tfont-family: var(--tsvg_lo_ff_874050) !important;\n\t\tcolor: var(--tsvg_lo_c_874050) !important;\n\t\tborder: var(--tsvg_lo_bd_w_874050) solid var(--tsvg_lo_bd_c_874050)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_874050) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_874050);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-874050:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-874050 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_874050) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_874050) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_874050) !important;\n\t}\n\t#tsvg-section-874050  .tsvg-fancy-block-874050 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_874050) *  var(--tsvg_g_img_w_874050)) ) \/ var(--tsvg_g_img_w_874050))!important;\n\t\tborder:  var(--tsvg_g_bd_w_874050) solid  var(--tsvg_g_bd_c_874050) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_874050)  var(--tsvg_g_sh_c_874050);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_874050);\n\t\tmargin:  var(--tsvg_g_place_between_874050) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-874050  .tsvg-fancy-block-874050  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-874050  .tsvg-fancy-block-874050  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-874050  .tsvg-fancy-block-874050  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-874050 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-874050 {\n\t\t\tmargin: var(--tsvg_g_place_between_874050) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-874050[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_874050: 2;\n\t}\n\t.tsvg-main-content-874050[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_874050: 1;\n\t}\n\t.tsvg-fancy-block-874050 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_874050)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_874050);\n\t  font-family : var(--tsvg_popup_ci_ff_874050);\n\t  color : var(--tsvg_popup_ci_c_874050);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-874050 a[href=''], .tsvg-fancy-blocks-list-874050 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-874050\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"#000000\" data-tsvg-BgC=\"#000000\" data-tsvg-HBC=\"#ffffff\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-874050 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"true\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"#ffffff\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-arrow-circle-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-arrow-circle-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-874050\"  data-tsvg-S=\"36\"  data-tsvg-C=\"#ffffff\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times-circle\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"#ffffff\"  data-tsvg-TIC=\"#ffffff\"  data-tsvg-Color=\"#ffffff\"  data-tsvg-PT=\"\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-874050\" data-tsvg-id=\"116\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-874050\" data-href=\"https:\/\/www.youtube.com\/embed\/eUMoz7O4TqU\" data-width=\"550\" data-height=\"350\" data-group=\"mygroup874050\" data-thumbnail=\"https:\/\/i.ytimg.com\/vi\/eUMoz7O4TqU\/maxresdefault.jpg\" data-title=\"DigiVerse Tech App Demo\" data-tsvgid=\"116\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\">View...<\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/i.ytimg.com\/vi\/eUMoz7O4TqU\/maxresdefault.jpg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"true\">\n\t\t\t\t\t\t\tDigiVerse Tech App Demo\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval874050 = null,\n\ttsvgFancyJsFolder874050 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction874050 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox874050 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder874050,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-874050[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe874050(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls874050(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-874050[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe874050 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls874050 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-874050\").html5lightbox874050({},'874050');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-874050').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse874050 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse874050 = tsvgFancyHoverInverse874050 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-874050 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse874050});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval874050);\n\t\t}\n\t},\n\ttsvgFancyReference874050 = (\n\t\tfunction tsvgFancySameCall874050() {\n\t\t\ttsvgFancyInterval874050 = setInterval(tsvgFancyIntervalFunction874050, 1000);\n\t\t\treturn tsvgFancySameCall874050;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-874050 *::after, #tsvg-section-874050 *::before, #tsvg-section-874050 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-874050 *::after, #tsvg-section-874050 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-874050[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-874050[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-874050 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-874050 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-874050[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-874050[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_874050:#555;\n\t\t--tsvg_s_bc_874050:#ddd;\n\t\t--tsvg_s_h_c_874050:#cf095c;\n\t\t--tsvg_s_h_bc_874050:#cf095c;\n\t\t--tsvg_s_ac_c_874050:#cf095c;\n\t\t--tsvg_s_ac_bc_874050:#cf095c;\n\t\t--tsvg_s_fs_874050:18px;\n\t\t--tsvg_s_ff_874050:Amaranth;\n\t\t--tsvg_s_b_c_874050:#ddd;\n\t\t--tsvg_s_b_s_874050:2px;\n\t\t--tsvg_s_pl_fs_874050:14px;\n\t\t--tsvg_s_l_c_874050:#444;\n\t\t--tsvg_s_l_bc_874050:#fff;\n\t\t--tsvg_s_l_fs_874050:20px;\n\t\t--tsvg_s_l_ff_874050:Amaranth;\n\t\t--tsvg_s_l_bc_2_874050:#ff1f71;\n\t\t--tsvg_s_l_h_c_874050:#fff;\n\t\t--tsvg_s_l_h_bc_874050:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_874050:#FBC638;\n\t}\n\tsection.tsvg-section-874050 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-874050  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_874050)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-874050 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_874050)!important;\n\t}\n\tsection.tsvg-section-874050 .tsvg-pagination-pages>li>a,section.tsvg-section-874050 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-874050 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_874050) ;\n\t\tbackground-color: var(--tsvg_s_bc_874050);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_874050) !important;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_874050);\n\t}\n\t.tsvg-section-874050 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_874050);\n\t\tcolor:var(--tsvg_s_c_874050) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_874050) !important;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_874050) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_874050);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_874050);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_874050);\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-874050  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_874050);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-874050   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-874050  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_874050) !important;\n\t   background:  var(--tsvg_s_l_bc_874050);\n\t   font-family:  var(--tsvg_s_l_ff_874050)!important;\n\t   font-size:  var(--tsvg_s_l_fs_874050);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-874050  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_874050);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_874050);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_874050);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_874050);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_874050);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_874050);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-874050 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-874050  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-874050 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-874050  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-874050 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"874050\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad874050 = 'false';\n\tfunction tsvgPaginationCreate874050(tsvgPaginationData874050,tsvgFrom874050, tsvgTo874050) {\n\t\tlet tsvgShowData874050 = tsvgPaginationData874050.slice(tsvgFrom874050, tsvgTo874050);\n\t\tlet tsvgThemeName874050 = jQuery(tsvgPaginationData874050).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData874050, function (index, value) {\n\t\t\tlet tsvgAnimDelay874050 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad874050 == 'true'){\n\t\t\t\ttsvgAnimDelay874050 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay874050+'s','-webkit-animation-delay': tsvgAnimDelay874050+'s','animation-delay': tsvgAnimDelay874050+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName874050 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData874050.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval874050= setInterval(tsvgGridUpdate874050, 100);\n\t\t\t\t\tfunction tsvgGridUpdate874050() {\n\t\t\t\t\t\tif( tsvgGridPagination874050(tsvgPaginationData874050) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval874050);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-874050').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-874050 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-pages li,.tsvg-section-874050 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate874050() {\n\t\tlet tsvgPaginationData874050 = jQuery('.tsvg-main-content-874050  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData874050.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-874050').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-874050 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-874050 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-874050 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-874050 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-874050 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-874050 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-874050').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-874050 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-874050  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-874050  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-874050 .tsvg-pagination-pages li,.tsvg-section-874050 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-874050').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-874050 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-874050  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-874050  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-874050  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-874050 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-874050  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-874050').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-874050')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-874050').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-874050').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-874050  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-874050')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-874050  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-874050  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-874050 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-874050  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-874050  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-874050  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-874050  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-874050  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-874050  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-874050  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-874050')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-874050  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-874050  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-874050  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-874050  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-874050  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-874050  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-874050  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-874050  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-874050 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-874050  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate874050(tsvgPaginationData874050,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-874050 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-874050 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-874050').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-874050  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-874050').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-874050').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-874050 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-874050').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-874050 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-874050 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-874050').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-874050  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad874050 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-874050').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-874050').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate874050(jQuery('.tsvg-main-content-874050  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate874050(jQuery('.tsvg-section-874050  .tsvg-main-content-874050  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination874050(){\n\t\tlet tsvgPaginationInterval874050 = setInterval(tsvgSetPagination874050, 100);\n\t\tfunction tsvgSetPagination874050() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-874050').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-874050').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate874050();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval874050);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination874050();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate874050();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-34 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:5;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-664609\"  id=\"tsvg-section-664609\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-664609{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-664609{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-664609 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-664609 main.tsvg-main-content-664609 > figure > ul,\n\t\t#tsvg-section-664609 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-664609 .tsvg-main-content-664609 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-664609 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-664609-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-664609  #TS_VGallery_pagination664609 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-664609 main.tsvg-main-content-664609[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-664609 main.tsvg-main-content-664609[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-664609 main.tsvg-main-content-664609[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-664609 main.tsvg-main-content-664609[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-664609 main.tsvg-main-content-664609[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-664609 main.tsvg-main-content-664609[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-664609 main.tsvg-main-content-664609[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-664609 main.tsvg-main-content-664609[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-664609 main.tsvg-main-content-664609[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-664609 main.tsvg-main-content-664609[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-664609 main.tsvg-main-content-664609[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-664609 .tsvg-main-content-664609 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_664609:2;\n\t\t--tsvg_g_bd_w_664609:2px;\n\t\t--tsvg_g_bd_c_664609:rgb(255, 255, 255);\n\t\t--tsvg_g_sh_664609:15px;\n\t\t--tsvg_g_sh_c_664609:#d3d3d3;\n\t\t--tsvg_g_border_Radius_664609:0%;\n\t\t--tsvg_g_place_between_664609:10px;\n\t\t--tsvg_hoo_c_664609:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_664609:15px;\n\t\t--tsvg_vto_ff_664609:Arial;\n\t\t--tsvg_vto_c_664609:#ededed;\n\t\t--tsvg_vto_b_bd_w_664609:1px;\n\t\t--tsvg_vto_bd_c_664609:#ffffff;\n\t\t--tsvg_vto_t_bd_w_664609:0px;\n\t\t--tsvg_vto_t_bd_c_664609:#000000;\n\t\t--tsvg_lo_fs_664609:8px;\n\t\t--tsvg_lo_ff_664609:Aldhabi;\n\t\t--tsvg_lo_c_664609:#ffffff;\n\t\t--tsvg_lo_bd_w_664609:5px;\n\t\t--tsvg_lo_bd_c_664609:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_664609:0px;\n\t\t--tsvg_lo_bg_c_664609:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_664609:#ffffff;\n\t\t--tsvg_lo_h_bd_c_664609:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_664609:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_664609:708;\n\t\t--tsvg_popup_po_v_h_664609:449;\n\t\t--tsvg_popup_po_o_c_664609:rgb(0, 63, 45);\n\t\t--tsvg_popup_po_vbc_c_664609:rgb(0, 0, 0);\n\t\t--tsvg_popup_psi_s_664609:36;\n\t\t--tsvg_popup_psi_c_664609:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_hbr_c_664609:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_br_w_664609:3;\n\t\t--tsvg_popup_pt_w_664609:95;\n\t\t--tsvg_popup_pt_h_664609:65;\n\t\t--tsvg_popup_pt_c_i_c664609:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_fs_664609:22px;\n\t\t--tsvg_popup_ci_ff_664609:Gabriola;\n\t\t--tsvg_popup_ci_c_664609:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_csi_s_664609:30;\n\t\t--tsvg_popup_ci_csi_c_664609:rgb(202, 209, 211);\n\t}\n\t#tsvg-section-664609    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-664609   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-664609 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_664609);\n\t  \tfont-family: var(--tsvg_vto_ff_664609);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_664609);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_664609)  var(--tsvg_vto_bd_c_664609) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_664609) solid var(--tsvg_vto_t_bd_c_664609) !important;\n\t}\n\t.tsvg-fancy-block-664609 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-664609 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-664609 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-664609  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_664609) !important;\n\t\tline-height: var(--tsvg_lo_fs_664609) !important;\n\t\tfont-family: var(--tsvg_lo_ff_664609) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_664609) !important;\n\t\tborder: var(--tsvg_lo_bd_w_664609) solid var(--tsvg_lo_bd_c_664609)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_664609) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_664609) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-664609  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_664609) !important;\n\t\tline-height: var(--tsvg_lo_fs_664609) !important;\n\t\tfont-family: var(--tsvg_lo_ff_664609) !important;\n\t\tcolor: var(--tsvg_lo_c_664609) !important;\n\t\tborder: var(--tsvg_lo_bd_w_664609) solid var(--tsvg_lo_bd_c_664609)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_664609) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_664609) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-664609  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_664609) !important;\n\t\tline-height: var(--tsvg_lo_fs_664609) !important;\n\t\tfont-family: var(--tsvg_lo_ff_664609) !important;\n\t\tcolor: var(--tsvg_lo_c_664609) !important;\n\t\tborder: var(--tsvg_lo_bd_w_664609) solid var(--tsvg_lo_bd_c_664609)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_664609) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_664609);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-664609:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-664609 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_664609) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_664609) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_664609) !important;\n\t}\n\t#tsvg-section-664609  .tsvg-fancy-block-664609 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_664609) *  var(--tsvg_g_img_w_664609)) ) \/ var(--tsvg_g_img_w_664609))!important;\n\t\tborder:  var(--tsvg_g_bd_w_664609) solid  var(--tsvg_g_bd_c_664609) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_664609)  var(--tsvg_g_sh_c_664609);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_664609);\n\t\tmargin:  var(--tsvg_g_place_between_664609) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-664609  .tsvg-fancy-block-664609  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-664609  .tsvg-fancy-block-664609  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-664609  .tsvg-fancy-block-664609  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-664609 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-664609 {\n\t\t\tmargin: var(--tsvg_g_place_between_664609) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-664609[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_664609: 2;\n\t}\n\t.tsvg-main-content-664609[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_664609: 1;\n\t}\n\t.tsvg-fancy-block-664609 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_664609)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_664609);\n\t  font-family : var(--tsvg_popup_ci_ff_664609);\n\t  color : var(--tsvg_popup_ci_c_664609);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-664609 a[href=''], .tsvg-fancy-blocks-list-664609 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-664609\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"rgb(0, 63, 45)\" data-tsvg-BgC=\"rgb(0, 0, 0)\" data-tsvg-HBC=\"rgb(202, 209, 211)\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-664609 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"false\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"rgb(202, 209, 211)\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-chevron-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-chevron-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-664609\"  data-tsvg-S=\"36\"  data-tsvg-C=\"rgb(202, 209, 211)\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"rgb(202, 209, 211)\"  data-tsvg-TIC=\"rgb(202, 209, 211)\"  data-tsvg-Color=\"rgb(202, 209, 211)\"  data-tsvg-PT=\"false\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-664609\" data-tsvg-id=\"83\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-664609\" data-href=\"https:\/\/www.youtube.com\/embed\/iFR-_tkRqaU\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup664609\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103001\/DT1.jpeg\" data-title=\"Tutorial 1 - Login\" data-tsvgid=\"83\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103001\/DT1.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 1 - Login\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-664609\" data-tsvg-id=\"84\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-664609\" data-href=\"https:\/\/www.youtube.com\/embed\/8lLTpb1mWcA\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup664609\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103017\/DT2.jpeg\" data-title=\"Tutorial 2 - Logout\" data-tsvgid=\"84\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103017\/DT2.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 2 - Logout\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-664609\" data-tsvg-id=\"85\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-664609\" data-href=\"https:\/\/www.youtube.com\/embed\/_b9kw6JReC8\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup664609\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103034\/DT3.jpeg\" data-title=\"Tutorial 3 - Switch Apss\" data-tsvgid=\"85\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103034\/DT3.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 3 - Switch Apss\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-664609\" data-tsvg-id=\"86\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-664609\" data-href=\"https:\/\/www.youtube.com\/embed\/5ZbE1h01Pgs\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup664609\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103051\/DT4.jpeg\" data-title=\"Tutorial 4 - Language change\" data-tsvgid=\"86\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103051\/DT4.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 4 - Language change\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-664609\" data-tsvg-id=\"87\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-664609\" data-href=\"https:\/\/www.youtube.com\/embed\/T3VKCILPhWc\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup664609\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103108\/DT5.jpeg\" data-title=\"Tutorial 5 - Offline Mode\" data-tsvgid=\"87\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103108\/DT5.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 5 - Offline Mode\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-664609\" data-tsvg-id=\"96\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-664609\" data-href=\"https:\/\/www.youtube.com\/embed\/vY_pTPFsjK0\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup664609\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103125\/DT6.jpeg\" data-title=\"Tutorial 6 - Synchronisation\" data-tsvgid=\"96\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103125\/DT6.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 6 - Synchronisation\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-664609\" data-tsvg-id=\"97\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-664609\" data-href=\"https:\/\/www.youtube.com\/embed\/DI6jBfaWIj8\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup664609\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103142\/DT7.jpeg\" data-title=\"Tutorial 7 - Help Center\" data-tsvgid=\"97\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103142\/DT7.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tTutorial 7 - Help Center\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval664609 = null,\n\ttsvgFancyJsFolder664609 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction664609 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox664609 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder664609,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-664609[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe664609(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls664609(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-664609[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe664609 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls664609 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-664609\").html5lightbox664609({},'664609');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-664609').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse664609 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse664609 = tsvgFancyHoverInverse664609 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-664609 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse664609});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval664609);\n\t\t}\n\t},\n\ttsvgFancyReference664609 = (\n\t\tfunction tsvgFancySameCall664609() {\n\t\t\ttsvgFancyInterval664609 = setInterval(tsvgFancyIntervalFunction664609, 1000);\n\t\t\treturn tsvgFancySameCall664609;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-664609 *::after, #tsvg-section-664609 *::before, #tsvg-section-664609 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-664609 *::after, #tsvg-section-664609 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-664609[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-664609[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-664609 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-664609 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-664609[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-664609[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_664609:#555;\n\t\t--tsvg_s_bc_664609:#ddd;\n\t\t--tsvg_s_h_c_664609:#cf095c;\n\t\t--tsvg_s_h_bc_664609:#cf095c;\n\t\t--tsvg_s_ac_c_664609:#cf095c;\n\t\t--tsvg_s_ac_bc_664609:#cf095c;\n\t\t--tsvg_s_fs_664609:18px;\n\t\t--tsvg_s_ff_664609:Amaranth;\n\t\t--tsvg_s_b_c_664609:#ddd;\n\t\t--tsvg_s_b_s_664609:2px;\n\t\t--tsvg_s_pl_fs_664609:14px;\n\t\t--tsvg_s_l_c_664609:#444;\n\t\t--tsvg_s_l_bc_664609:#fff;\n\t\t--tsvg_s_l_fs_664609:20px;\n\t\t--tsvg_s_l_ff_664609:Amaranth;\n\t\t--tsvg_s_l_bc_2_664609:#ff1f71;\n\t\t--tsvg_s_l_h_c_664609:#fff;\n\t\t--tsvg_s_l_h_bc_664609:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_664609:#FBC638;\n\t}\n\tsection.tsvg-section-664609 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-664609  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_664609)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-664609 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_664609)!important;\n\t}\n\tsection.tsvg-section-664609 .tsvg-pagination-pages>li>a,section.tsvg-section-664609 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-664609 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_664609) ;\n\t\tbackground-color: var(--tsvg_s_bc_664609);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_664609) !important;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_664609);\n\t}\n\t.tsvg-section-664609 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_664609);\n\t\tcolor:var(--tsvg_s_c_664609) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_664609) !important;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_664609) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_664609);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_664609);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_664609);\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-664609  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_664609);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-664609   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-664609  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_664609) !important;\n\t   background:  var(--tsvg_s_l_bc_664609);\n\t   font-family:  var(--tsvg_s_l_ff_664609)!important;\n\t   font-size:  var(--tsvg_s_l_fs_664609);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-664609  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_664609);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_664609);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_664609);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_664609);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_664609);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_664609);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-664609 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-664609  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-664609 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-664609  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-664609 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"664609\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad664609 = 'false';\n\tfunction tsvgPaginationCreate664609(tsvgPaginationData664609,tsvgFrom664609, tsvgTo664609) {\n\t\tlet tsvgShowData664609 = tsvgPaginationData664609.slice(tsvgFrom664609, tsvgTo664609);\n\t\tlet tsvgThemeName664609 = jQuery(tsvgPaginationData664609).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData664609, function (index, value) {\n\t\t\tlet tsvgAnimDelay664609 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad664609 == 'true'){\n\t\t\t\ttsvgAnimDelay664609 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay664609+'s','-webkit-animation-delay': tsvgAnimDelay664609+'s','animation-delay': tsvgAnimDelay664609+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName664609 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData664609.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval664609= setInterval(tsvgGridUpdate664609, 100);\n\t\t\t\t\tfunction tsvgGridUpdate664609() {\n\t\t\t\t\t\tif( tsvgGridPagination664609(tsvgPaginationData664609) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval664609);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-664609').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-664609 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-pages li,.tsvg-section-664609 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate664609() {\n\t\tlet tsvgPaginationData664609 = jQuery('.tsvg-main-content-664609  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData664609.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-664609').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-664609 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-664609 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-664609 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-664609 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-664609 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-664609 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-664609').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-664609 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-664609  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-664609  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-664609 .tsvg-pagination-pages li,.tsvg-section-664609 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-664609').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-664609 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-664609  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-664609  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-664609  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-664609 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-664609  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-664609').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-664609')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-664609').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-664609').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-664609  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-664609')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-664609  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-664609  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-664609 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-664609  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-664609  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-664609  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-664609  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-664609  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-664609  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-664609  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-664609')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-664609  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-664609  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-664609  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-664609  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-664609  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-664609  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-664609  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-664609  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-664609 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-664609  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate664609(tsvgPaginationData664609,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-664609 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-664609 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-664609').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-664609  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-664609').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-664609').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-664609 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-664609').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-664609 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-664609 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-664609').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-664609  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad664609 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-664609').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-664609').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate664609(jQuery('.tsvg-main-content-664609  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate664609(jQuery('.tsvg-section-664609  .tsvg-main-content-664609  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination664609(){\n\t\tlet tsvgPaginationInterval664609 = setInterval(tsvgSetPagination664609, 100);\n\t\tfunction tsvgSetPagination664609() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-664609').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-664609').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate664609();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval664609);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination664609();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate664609();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-35 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:7;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-686009\"  id=\"tsvg-section-686009\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-686009{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-686009{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-686009 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-686009 main.tsvg-main-content-686009 > figure > ul,\n\t\t#tsvg-section-686009 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-686009 .tsvg-main-content-686009 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-686009 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-686009-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-686009  #TS_VGallery_pagination686009 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-686009 main.tsvg-main-content-686009[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-686009 main.tsvg-main-content-686009[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-686009 main.tsvg-main-content-686009[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-686009 main.tsvg-main-content-686009[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-686009 main.tsvg-main-content-686009[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-686009 main.tsvg-main-content-686009[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-686009 main.tsvg-main-content-686009[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-686009 main.tsvg-main-content-686009[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-686009 main.tsvg-main-content-686009[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-686009 main.tsvg-main-content-686009[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-686009 main.tsvg-main-content-686009[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-686009 .tsvg-main-content-686009 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_686009:2;\n\t\t--tsvg_g_bd_w_686009:2px;\n\t\t--tsvg_g_bd_c_686009:rgb(255, 255, 255);\n\t\t--tsvg_g_sh_686009:15px;\n\t\t--tsvg_g_sh_c_686009:#d3d3d3;\n\t\t--tsvg_g_border_Radius_686009:0%;\n\t\t--tsvg_g_place_between_686009:10px;\n\t\t--tsvg_hoo_c_686009:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_686009:15px;\n\t\t--tsvg_vto_ff_686009:Arial;\n\t\t--tsvg_vto_c_686009:#ededed;\n\t\t--tsvg_vto_b_bd_w_686009:1px;\n\t\t--tsvg_vto_bd_c_686009:#ffffff;\n\t\t--tsvg_vto_t_bd_w_686009:0px;\n\t\t--tsvg_vto_t_bd_c_686009:#000000;\n\t\t--tsvg_lo_fs_686009:8px;\n\t\t--tsvg_lo_ff_686009:Aldhabi;\n\t\t--tsvg_lo_c_686009:#ffffff;\n\t\t--tsvg_lo_bd_w_686009:5px;\n\t\t--tsvg_lo_bd_c_686009:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_686009:0px;\n\t\t--tsvg_lo_bg_c_686009:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_686009:#ffffff;\n\t\t--tsvg_lo_h_bd_c_686009:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_686009:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_686009:708;\n\t\t--tsvg_popup_po_v_h_686009:449;\n\t\t--tsvg_popup_po_o_c_686009:rgb(0, 63, 45);\n\t\t--tsvg_popup_po_vbc_c_686009:rgb(0, 0, 0);\n\t\t--tsvg_popup_psi_s_686009:36;\n\t\t--tsvg_popup_psi_c_686009:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_hbr_c_686009:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_br_w_686009:3;\n\t\t--tsvg_popup_pt_w_686009:95;\n\t\t--tsvg_popup_pt_h_686009:65;\n\t\t--tsvg_popup_pt_c_i_c686009:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_fs_686009:22px;\n\t\t--tsvg_popup_ci_ff_686009:Gabriola;\n\t\t--tsvg_popup_ci_c_686009:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_csi_s_686009:30;\n\t\t--tsvg_popup_ci_csi_c_686009:rgb(202, 209, 211);\n\t}\n\t#tsvg-section-686009    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-686009   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-686009 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_686009);\n\t  \tfont-family: var(--tsvg_vto_ff_686009);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_686009);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_686009)  var(--tsvg_vto_bd_c_686009) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_686009) solid var(--tsvg_vto_t_bd_c_686009) !important;\n\t}\n\t.tsvg-fancy-block-686009 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-686009 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-686009 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-686009  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_686009) !important;\n\t\tline-height: var(--tsvg_lo_fs_686009) !important;\n\t\tfont-family: var(--tsvg_lo_ff_686009) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_686009) !important;\n\t\tborder: var(--tsvg_lo_bd_w_686009) solid var(--tsvg_lo_bd_c_686009)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_686009) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_686009) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-686009  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_686009) !important;\n\t\tline-height: var(--tsvg_lo_fs_686009) !important;\n\t\tfont-family: var(--tsvg_lo_ff_686009) !important;\n\t\tcolor: var(--tsvg_lo_c_686009) !important;\n\t\tborder: var(--tsvg_lo_bd_w_686009) solid var(--tsvg_lo_bd_c_686009)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_686009) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_686009) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-686009  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_686009) !important;\n\t\tline-height: var(--tsvg_lo_fs_686009) !important;\n\t\tfont-family: var(--tsvg_lo_ff_686009) !important;\n\t\tcolor: var(--tsvg_lo_c_686009) !important;\n\t\tborder: var(--tsvg_lo_bd_w_686009) solid var(--tsvg_lo_bd_c_686009)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_686009) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_686009);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-686009:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-686009 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_686009) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_686009) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_686009) !important;\n\t}\n\t#tsvg-section-686009  .tsvg-fancy-block-686009 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_686009) *  var(--tsvg_g_img_w_686009)) ) \/ var(--tsvg_g_img_w_686009))!important;\n\t\tborder:  var(--tsvg_g_bd_w_686009) solid  var(--tsvg_g_bd_c_686009) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_686009)  var(--tsvg_g_sh_c_686009);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_686009);\n\t\tmargin:  var(--tsvg_g_place_between_686009) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-686009  .tsvg-fancy-block-686009  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-686009  .tsvg-fancy-block-686009  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-686009  .tsvg-fancy-block-686009  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-686009 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-686009 {\n\t\t\tmargin: var(--tsvg_g_place_between_686009) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-686009[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_686009: 2;\n\t}\n\t.tsvg-main-content-686009[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_686009: 1;\n\t}\n\t.tsvg-fancy-block-686009 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_686009)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_686009);\n\t  font-family : var(--tsvg_popup_ci_ff_686009);\n\t  color : var(--tsvg_popup_ci_c_686009);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-686009 a[href=''], .tsvg-fancy-blocks-list-686009 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-686009\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"rgb(0, 63, 45)\" data-tsvg-BgC=\"rgb(0, 0, 0)\" data-tsvg-HBC=\"rgb(202, 209, 211)\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-686009 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"false\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"rgb(202, 209, 211)\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-chevron-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-chevron-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-686009\"  data-tsvg-S=\"36\"  data-tsvg-C=\"rgb(202, 209, 211)\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"rgb(202, 209, 211)\"  data-tsvg-TIC=\"rgb(202, 209, 211)\"  data-tsvg-Color=\"rgb(202, 209, 211)\"  data-tsvg-PT=\"false\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-686009\" data-tsvg-id=\"92\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-686009\" data-href=\"https:\/\/www.youtube.com\/embed\/8KSMzXyT1Qk\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup686009\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103159\/LCAMD1.jpeg\" data-title=\"DigiVerse LCAM+ Demo 1 - Asset Creation\" data-tsvgid=\"92\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103159\/LCAMD1.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDigiVerse LCAM+ Demo 1 - Asset Creation\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-686009\" data-tsvg-id=\"93\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-686009\" data-href=\"https:\/\/www.youtube.com\/embed\/D2mfldROGx8\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup686009\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103216\/LCAMD2.jpeg\" data-title=\"DigiVerse LCAM+ Demo 2 - Asset Validation\" data-tsvgid=\"93\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103216\/LCAMD2.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDigiVerse LCAM+ Demo 2 - Asset Validation\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-686009\" data-tsvg-id=\"94\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-686009\" data-href=\"https:\/\/www.youtube.com\/embed\/mKTKuQR1J_E\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup686009\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103233\/LCAMD3.jpeg\" data-title=\"DigiVerse LCAM+ Demo 3 - Decommission Asset\" data-tsvgid=\"94\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103233\/LCAMD3.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDigiVerse LCAM+ Demo 3 - Decommission Asset\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-686009\" data-tsvg-id=\"95\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-686009\" data-href=\"https:\/\/www.youtube.com\/embed\/UiUR1AsPHow\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup686009\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103250\/LCAMD4.jpeg\" data-title=\"DigiVerse LCAM+ Demo 4 - Asset Condition Survey\" data-tsvgid=\"95\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/04\/25103250\/LCAMD4.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDigiVerse LCAM+ Demo 4 - Asset Condition Survey\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval686009 = null,\n\ttsvgFancyJsFolder686009 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction686009 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox686009 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder686009,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-686009[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe686009(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls686009(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-686009[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe686009 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls686009 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-686009\").html5lightbox686009({},'686009');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-686009').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse686009 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse686009 = tsvgFancyHoverInverse686009 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-686009 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse686009});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval686009);\n\t\t}\n\t},\n\ttsvgFancyReference686009 = (\n\t\tfunction tsvgFancySameCall686009() {\n\t\t\ttsvgFancyInterval686009 = setInterval(tsvgFancyIntervalFunction686009, 1000);\n\t\t\treturn tsvgFancySameCall686009;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-686009 *::after, #tsvg-section-686009 *::before, #tsvg-section-686009 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-686009 *::after, #tsvg-section-686009 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-686009[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-686009[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-686009 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-686009 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-686009[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-686009[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_686009:#555;\n\t\t--tsvg_s_bc_686009:#ddd;\n\t\t--tsvg_s_h_c_686009:#cf095c;\n\t\t--tsvg_s_h_bc_686009:#cf095c;\n\t\t--tsvg_s_ac_c_686009:#cf095c;\n\t\t--tsvg_s_ac_bc_686009:#cf095c;\n\t\t--tsvg_s_fs_686009:18px;\n\t\t--tsvg_s_ff_686009:Amaranth;\n\t\t--tsvg_s_b_c_686009:#ddd;\n\t\t--tsvg_s_b_s_686009:2px;\n\t\t--tsvg_s_pl_fs_686009:14px;\n\t\t--tsvg_s_l_c_686009:#444;\n\t\t--tsvg_s_l_bc_686009:#fff;\n\t\t--tsvg_s_l_fs_686009:20px;\n\t\t--tsvg_s_l_ff_686009:Amaranth;\n\t\t--tsvg_s_l_bc_2_686009:#ff1f71;\n\t\t--tsvg_s_l_h_c_686009:#fff;\n\t\t--tsvg_s_l_h_bc_686009:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_686009:#FBC638;\n\t}\n\tsection.tsvg-section-686009 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-686009  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_686009)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-686009 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_686009)!important;\n\t}\n\tsection.tsvg-section-686009 .tsvg-pagination-pages>li>a,section.tsvg-section-686009 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-686009 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_686009) ;\n\t\tbackground-color: var(--tsvg_s_bc_686009);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_686009) !important;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_686009);\n\t}\n\t.tsvg-section-686009 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_686009);\n\t\tcolor:var(--tsvg_s_c_686009) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_686009) !important;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_686009) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_686009);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_686009);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_686009);\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-686009  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_686009);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-686009   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-686009  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_686009) !important;\n\t   background:  var(--tsvg_s_l_bc_686009);\n\t   font-family:  var(--tsvg_s_l_ff_686009)!important;\n\t   font-size:  var(--tsvg_s_l_fs_686009);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-686009  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_686009);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_686009);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_686009);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_686009);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_686009);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_686009);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-686009 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-686009  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-686009 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-686009  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-686009 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"686009\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad686009 = 'false';\n\tfunction tsvgPaginationCreate686009(tsvgPaginationData686009,tsvgFrom686009, tsvgTo686009) {\n\t\tlet tsvgShowData686009 = tsvgPaginationData686009.slice(tsvgFrom686009, tsvgTo686009);\n\t\tlet tsvgThemeName686009 = jQuery(tsvgPaginationData686009).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData686009, function (index, value) {\n\t\t\tlet tsvgAnimDelay686009 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad686009 == 'true'){\n\t\t\t\ttsvgAnimDelay686009 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay686009+'s','-webkit-animation-delay': tsvgAnimDelay686009+'s','animation-delay': tsvgAnimDelay686009+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName686009 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData686009.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval686009= setInterval(tsvgGridUpdate686009, 100);\n\t\t\t\t\tfunction tsvgGridUpdate686009() {\n\t\t\t\t\t\tif( tsvgGridPagination686009(tsvgPaginationData686009) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval686009);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-686009').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-686009 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-pages li,.tsvg-section-686009 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate686009() {\n\t\tlet tsvgPaginationData686009 = jQuery('.tsvg-main-content-686009  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData686009.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-686009').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-686009 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-686009 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-686009 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-686009 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-686009 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-686009 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-686009').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-686009 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-686009  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-686009  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-686009 .tsvg-pagination-pages li,.tsvg-section-686009 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-686009').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-686009 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-686009  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-686009  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-686009  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-686009 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-686009  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-686009').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-686009')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-686009').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-686009').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-686009  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-686009')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-686009  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-686009  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-686009 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-686009  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-686009  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-686009  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-686009  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-686009  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-686009  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-686009  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-686009')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-686009  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-686009  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-686009  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-686009  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-686009  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-686009  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-686009  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-686009  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-686009 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-686009  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate686009(tsvgPaginationData686009,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-686009 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-686009 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-686009').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-686009  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-686009').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-686009').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-686009 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-686009').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-686009 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-686009 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-686009').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-686009  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad686009 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-686009').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-686009').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate686009(jQuery('.tsvg-main-content-686009  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate686009(jQuery('.tsvg-section-686009  .tsvg-main-content-686009  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination686009(){\n\t\tlet tsvgPaginationInterval686009 = setInterval(tsvgSetPagination686009, 100);\n\t\tfunction tsvgSetPagination686009() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-686009').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-686009').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate686009();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval686009);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination686009();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate686009();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-36 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:9;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><section class=\"tsvg-section-844934\"  id=\"tsvg-section-844934\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-844934{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-844934{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-844934 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-844934 main.tsvg-main-content-844934 > figure > ul,\n\t\t#tsvg-section-844934 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-844934 .tsvg-main-content-844934 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-844934 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-844934-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-844934  #TS_VGallery_pagination844934 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-844934 main.tsvg-main-content-844934[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-844934 main.tsvg-main-content-844934[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-844934 main.tsvg-main-content-844934[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-844934 main.tsvg-main-content-844934[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-844934 main.tsvg-main-content-844934[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-844934 main.tsvg-main-content-844934[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-844934 main.tsvg-main-content-844934[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-844934 main.tsvg-main-content-844934[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-844934 main.tsvg-main-content-844934[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-844934 main.tsvg-main-content-844934[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-844934 main.tsvg-main-content-844934[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-844934 .tsvg-main-content-844934 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_844934:2;\n\t\t--tsvg_g_bd_w_844934:2px;\n\t\t--tsvg_g_bd_c_844934:rgb(255, 255, 255);\n\t\t--tsvg_g_sh_844934:15px;\n\t\t--tsvg_g_sh_c_844934:#d3d3d3;\n\t\t--tsvg_g_border_Radius_844934:0%;\n\t\t--tsvg_g_place_between_844934:10px;\n\t\t--tsvg_hoo_c_844934:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_844934:15px;\n\t\t--tsvg_vto_ff_844934:Arial;\n\t\t--tsvg_vto_c_844934:#ededed;\n\t\t--tsvg_vto_b_bd_w_844934:1px;\n\t\t--tsvg_vto_bd_c_844934:#ffffff;\n\t\t--tsvg_vto_t_bd_w_844934:0px;\n\t\t--tsvg_vto_t_bd_c_844934:#000000;\n\t\t--tsvg_lo_fs_844934:8px;\n\t\t--tsvg_lo_ff_844934:Aldhabi;\n\t\t--tsvg_lo_c_844934:#ffffff;\n\t\t--tsvg_lo_bd_w_844934:5px;\n\t\t--tsvg_lo_bd_c_844934:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_844934:0px;\n\t\t--tsvg_lo_bg_c_844934:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_844934:#ffffff;\n\t\t--tsvg_lo_h_bd_c_844934:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_844934:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_844934:708;\n\t\t--tsvg_popup_po_v_h_844934:449;\n\t\t--tsvg_popup_po_o_c_844934:rgb(0, 63, 45);\n\t\t--tsvg_popup_po_vbc_c_844934:rgb(0, 0, 0);\n\t\t--tsvg_popup_psi_s_844934:36;\n\t\t--tsvg_popup_psi_c_844934:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_hbr_c_844934:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_br_w_844934:3;\n\t\t--tsvg_popup_pt_w_844934:95;\n\t\t--tsvg_popup_pt_h_844934:65;\n\t\t--tsvg_popup_pt_c_i_c844934:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_fs_844934:22px;\n\t\t--tsvg_popup_ci_ff_844934:Gabriola;\n\t\t--tsvg_popup_ci_c_844934:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_csi_s_844934:30;\n\t\t--tsvg_popup_ci_csi_c_844934:rgb(202, 209, 211);\n\t}\n\t#tsvg-section-844934    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-844934   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-844934 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_844934);\n\t  \tfont-family: var(--tsvg_vto_ff_844934);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_844934);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_844934)  var(--tsvg_vto_bd_c_844934) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_844934) solid var(--tsvg_vto_t_bd_c_844934) !important;\n\t}\n\t.tsvg-fancy-block-844934 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-844934 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-844934 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-844934  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_844934) !important;\n\t\tline-height: var(--tsvg_lo_fs_844934) !important;\n\t\tfont-family: var(--tsvg_lo_ff_844934) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_844934) !important;\n\t\tborder: var(--tsvg_lo_bd_w_844934) solid var(--tsvg_lo_bd_c_844934)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_844934) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_844934) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-844934  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_844934) !important;\n\t\tline-height: var(--tsvg_lo_fs_844934) !important;\n\t\tfont-family: var(--tsvg_lo_ff_844934) !important;\n\t\tcolor: var(--tsvg_lo_c_844934) !important;\n\t\tborder: var(--tsvg_lo_bd_w_844934) solid var(--tsvg_lo_bd_c_844934)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_844934) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_844934) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-844934  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_844934) !important;\n\t\tline-height: var(--tsvg_lo_fs_844934) !important;\n\t\tfont-family: var(--tsvg_lo_ff_844934) !important;\n\t\tcolor: var(--tsvg_lo_c_844934) !important;\n\t\tborder: var(--tsvg_lo_bd_w_844934) solid var(--tsvg_lo_bd_c_844934)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_844934) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_844934);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-844934:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-844934 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_844934) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_844934) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_844934) !important;\n\t}\n\t#tsvg-section-844934  .tsvg-fancy-block-844934 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_844934) *  var(--tsvg_g_img_w_844934)) ) \/ var(--tsvg_g_img_w_844934))!important;\n\t\tborder:  var(--tsvg_g_bd_w_844934) solid  var(--tsvg_g_bd_c_844934) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_844934)  var(--tsvg_g_sh_c_844934);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_844934);\n\t\tmargin:  var(--tsvg_g_place_between_844934) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-844934  .tsvg-fancy-block-844934  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-844934  .tsvg-fancy-block-844934  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-844934  .tsvg-fancy-block-844934  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-844934 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-844934 {\n\t\t\tmargin: var(--tsvg_g_place_between_844934) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-844934[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_844934: 2;\n\t}\n\t.tsvg-main-content-844934[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_844934: 1;\n\t}\n\t.tsvg-fancy-block-844934 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_844934)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_844934);\n\t  font-family : var(--tsvg_popup_ci_ff_844934);\n\t  color : var(--tsvg_popup_ci_c_844934);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-844934 a[href=''], .tsvg-fancy-blocks-list-844934 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-844934\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"rgb(0, 63, 45)\" data-tsvg-BgC=\"rgb(0, 0, 0)\" data-tsvg-HBC=\"rgb(202, 209, 211)\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-844934 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"false\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"rgb(202, 209, 211)\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-chevron-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-chevron-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-844934\"  data-tsvg-S=\"36\"  data-tsvg-C=\"rgb(202, 209, 211)\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"rgb(202, 209, 211)\"  data-tsvg-TIC=\"rgb(202, 209, 211)\"  data-tsvg-Color=\"rgb(202, 209, 211)\"  data-tsvg-PT=\"false\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-844934\" data-tsvg-id=\"2\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-844934\" data-href=\"https:\/\/www.youtube.com\/embed\/Ls0-u8wYmpQ\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup844934\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171614\/Thumbnail-1.jpeg\" data-title=\"Chapter 1 - How to login\" data-tsvgid=\"2\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171614\/Thumbnail-1.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 1 - How to login\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-844934\" data-tsvg-id=\"3\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-844934\" data-href=\"https:\/\/www.youtube.com\/embed\/JPUAXBdL6Vk\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup844934\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171618\/thumbnail-2.jpeg\" data-title=\"Chapter 2 - How to logout\" data-tsvgid=\"3\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171618\/thumbnail-2.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 2 - How to logout\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-844934\" data-tsvg-id=\"4\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-844934\" data-href=\"https:\/\/www.youtube.com\/embed\/Cy1w0kfPaDU\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup844934\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171623\/Thumbnail-3.jpeg\" data-title=\"Chapter 3 - How to change language\" data-tsvgid=\"4\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24171623\/Thumbnail-3.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 3 - How to change language\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-844934\" data-tsvg-id=\"17\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-844934\" data-href=\"https:\/\/www.youtube.com\/embed\/GSl6L9KHcEw\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup844934\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/27211555\/Thumbnail-5.jpeg\" data-title=\"Chapter 4 - How to turn on offline mode\" data-tsvgid=\"17\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/27211555\/Thumbnail-5.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 4 - How to turn on offline mode\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-844934\" data-tsvg-id=\"21\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-844934\" data-href=\"https:\/\/www.youtube.com\/embed\/Q-0bgxDD5GI\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup844934\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04172207\/Thumbnail-7.jpeg\" data-title=\"Chapter 5 - How to pause an inspection\" data-tsvgid=\"21\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04172207\/Thumbnail-7.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 5 - How to pause an inspection\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-844934\" data-tsvg-id=\"22\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-844934\" data-href=\"https:\/\/www.youtube.com\/embed\/0AXljI5pE_M\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup844934\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04172321\/Thumbnail-9.jpeg\" data-title=\"Chapter 6 - How to sync DigiVerse app\" data-tsvgid=\"22\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04172321\/Thumbnail-9.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 6 - How to sync DigiVerse app\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-844934\" data-tsvg-id=\"27\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-844934\" data-href=\"https:\/\/www.youtube.com\/embed\/TId9vLfTAfo\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup844934\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/05\/29144634\/Thumbnail-10.jpeg\" data-title=\"Chapter 7 - How to Search Work Orders\" data-tsvgid=\"27\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/05\/29144634\/Thumbnail-10.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 7 - How to Search Work Orders\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-844934\" data-tsvg-id=\"28\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-844934\" data-href=\"https:\/\/www.youtube.com\/embed\/D0U4wum_1FM\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup844934\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/05\/29144642\/Thumbnail-11.jpeg\" data-title=\"Chapter 8 - How to Markup Images\" data-tsvgid=\"28\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/05\/29144642\/Thumbnail-11.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 8 - How to Markup Images\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-844934\" data-tsvg-id=\"35\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-844934\" data-href=\"https:\/\/www.youtube.com\/embed\/xyhLg2hxFmA\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup844934\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/08\/29144552\/Thumbnail-14.jpeg\" data-title=\"Chapter 9 - How to take asset photos\" data-tsvgid=\"35\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/08\/29144552\/Thumbnail-14.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tChapter 9 - How to take asset photos\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval844934 = null,\n\ttsvgFancyJsFolder844934 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction844934 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox844934 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder844934,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-844934[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe844934(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls844934(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-844934[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe844934 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls844934 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-844934\").html5lightbox844934({},'844934');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-844934').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse844934 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse844934 = tsvgFancyHoverInverse844934 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-844934 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse844934});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval844934);\n\t\t}\n\t},\n\ttsvgFancyReference844934 = (\n\t\tfunction tsvgFancySameCall844934() {\n\t\t\ttsvgFancyInterval844934 = setInterval(tsvgFancyIntervalFunction844934, 1000);\n\t\t\treturn tsvgFancySameCall844934;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-844934 *::after, #tsvg-section-844934 *::before, #tsvg-section-844934 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-844934 *::after, #tsvg-section-844934 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-844934[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-844934[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-844934 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-844934 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-844934[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-844934[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_844934:#555;\n\t\t--tsvg_s_bc_844934:#ddd;\n\t\t--tsvg_s_h_c_844934:#cf095c;\n\t\t--tsvg_s_h_bc_844934:#cf095c;\n\t\t--tsvg_s_ac_c_844934:#cf095c;\n\t\t--tsvg_s_ac_bc_844934:#cf095c;\n\t\t--tsvg_s_fs_844934:18px;\n\t\t--tsvg_s_ff_844934:Amaranth;\n\t\t--tsvg_s_b_c_844934:#ddd;\n\t\t--tsvg_s_b_s_844934:2px;\n\t\t--tsvg_s_pl_fs_844934:14px;\n\t\t--tsvg_s_l_c_844934:#444;\n\t\t--tsvg_s_l_bc_844934:#fff;\n\t\t--tsvg_s_l_fs_844934:20px;\n\t\t--tsvg_s_l_ff_844934:Amaranth;\n\t\t--tsvg_s_l_bc_2_844934:#ff1f71;\n\t\t--tsvg_s_l_h_c_844934:#fff;\n\t\t--tsvg_s_l_h_bc_844934:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_844934:#FBC638;\n\t}\n\tsection.tsvg-section-844934 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-844934  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_844934)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-844934 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_844934)!important;\n\t}\n\tsection.tsvg-section-844934 .tsvg-pagination-pages>li>a,section.tsvg-section-844934 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-844934 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_844934) ;\n\t\tbackground-color: var(--tsvg_s_bc_844934);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_844934) !important;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_844934);\n\t}\n\t.tsvg-section-844934 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_844934);\n\t\tcolor:var(--tsvg_s_c_844934) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_844934) !important;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_844934) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_844934);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_844934);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_844934);\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-844934  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_844934);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-844934   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-844934  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_844934) !important;\n\t   background:  var(--tsvg_s_l_bc_844934);\n\t   font-family:  var(--tsvg_s_l_ff_844934)!important;\n\t   font-size:  var(--tsvg_s_l_fs_844934);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-844934  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_844934);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_844934);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_844934);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_844934);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_844934);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_844934);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-844934 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-844934  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-844934 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-844934  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-844934 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"844934\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad844934 = 'false';\n\tfunction tsvgPaginationCreate844934(tsvgPaginationData844934,tsvgFrom844934, tsvgTo844934) {\n\t\tlet tsvgShowData844934 = tsvgPaginationData844934.slice(tsvgFrom844934, tsvgTo844934);\n\t\tlet tsvgThemeName844934 = jQuery(tsvgPaginationData844934).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData844934, function (index, value) {\n\t\t\tlet tsvgAnimDelay844934 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad844934 == 'true'){\n\t\t\t\ttsvgAnimDelay844934 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay844934+'s','-webkit-animation-delay': tsvgAnimDelay844934+'s','animation-delay': tsvgAnimDelay844934+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName844934 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData844934.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval844934= setInterval(tsvgGridUpdate844934, 100);\n\t\t\t\t\tfunction tsvgGridUpdate844934() {\n\t\t\t\t\t\tif( tsvgGridPagination844934(tsvgPaginationData844934) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval844934);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-844934').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-844934 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-pages li,.tsvg-section-844934 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate844934() {\n\t\tlet tsvgPaginationData844934 = jQuery('.tsvg-main-content-844934  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData844934.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-844934').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-844934 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-844934 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-844934 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-844934 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-844934 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-844934 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-844934').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-844934 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-844934  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-844934  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-844934 .tsvg-pagination-pages li,.tsvg-section-844934 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-844934').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-844934 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-844934  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-844934  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-844934  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-844934 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-844934  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-844934').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-844934')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-844934').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-844934').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-844934  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-844934')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-844934  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-844934  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-844934 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-844934  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-844934  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-844934  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-844934  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-844934  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-844934  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-844934  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-844934')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-844934  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-844934  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-844934  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-844934  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-844934  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-844934  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-844934  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-844934  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-844934 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-844934  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate844934(tsvgPaginationData844934,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-844934 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-844934 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-844934').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-844934  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-844934').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-844934').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-844934 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-844934').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-844934 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-844934 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-844934').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-844934  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad844934 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-844934').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-844934').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate844934(jQuery('.tsvg-main-content-844934  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate844934(jQuery('.tsvg-section-844934  .tsvg-main-content-844934  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination844934(){\n\t\tlet tsvgPaginationInterval844934 = setInterval(tsvgSetPagination844934, 100);\n\t\tfunction tsvgSetPagination844934() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-844934').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-844934').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate844934();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval844934);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination844934();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate844934();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-37 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:10;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-19\"><h3 style=\"font-size: 18px; color: rgb(0, 63, 45); --fontSize: 18; line-height: 1.2; --minFontSize: 18;\" data-fusion-font=\"true\" data-fontsize=\"18\" data-lineheight=\"21.6px\" class=\"fusion-responsive-typography-calculated\">eCEI Demos<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-38 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:12;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-20\"><h3 style=\"font-size: 18px; color: #003f2d;\" data-fusion-font=\"true\">RIC Videos<\/h3>\n<\/div><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"--awb-height:20px;--awb-amount:20px;--awb-sep-color:#003f2d;border-color:#003f2d;border-top-width:2px;\"><\/div><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-39 fusion_builder_column_1_1 1_1 fusion-flex-column fusion-flex-align-self-center\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:11;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-center fusion-content-layout-column\"><section class=\"tsvg-section-541409\"  id=\"tsvg-section-541409\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-541409{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-541409{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-541409 {\n\t\twidth: 100%!important;\n\t\tmax-width: 100%!important;\n\t\tdisplay:flex;\n\t\tflex-direction: column;\n\t\theight: auto;\n\t\tposition: relative;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t\t\t#tsvg-section-541409 main.tsvg-main-content-541409 > figure > ul,\n\t\t#tsvg-section-541409 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-541409 .tsvg-main-content-541409 > figure > ul{\n\t\tpadding: unset !important;\n\t}\n\t.tsvg-pagination-pages > li{\n\t\tmargin-bottom: 6px !important;\n\t}\n\t.tsvg-section-541409 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-541409-wrap *) {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t\tmax-width: 100%;\n\t}\n   \t#tsvg-section-541409  #TS_VGallery_pagination541409 li {\n\t\tborder: none !important;\n\t\tlist-style: none !important;\n\t\tdisplay: inline-block !important;\n\t\tpadding: 0 !important\n\t}\n\t\t#tsvg-section-541409 main.tsvg-main-content-541409[data-p-lm='fadeIn'] >figure> ul>li{\n\t\topacity: 0;\n\t\tanimation: old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-moz-animation:  old-fadeIn 0.65s ease  0s forwards;\n\t\t-webkit-transform: none !important;\n\t\t-moz-transform: none !important;\n\t\ttransform: none !important;\n\t}\n\t#tsvg-section-541409 main.tsvg-main-content-541409[data-p-lm='moveUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: translateY(200px);\n\t\t-moz-transform: translateY(200px);\n\t\ttransform: translateY(200px);\n\t\tanimation: old-moveUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-moveUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-moveUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-541409 main.tsvg-main-content-541409[data-p-lm='scaleUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform: scale(0.6);\n\t\t-moz-transform: scale(0.6);\n\t\ttransform: scale(0.6);\n\t\tanimation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-webkit-animation: old-scaleUp 0.65s ease  0s forwards;\n\t\t-moz-animation: old-scaleUp 0.65s ease  0s forwards;\n\t}\n\t#tsvg-section-541409 main.tsvg-main-content-541409[data-p-lm='fallPerspective'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\t-moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\ttransform: translateZ(400px) translateY(300px) rotateX(-90deg);\n\t\tanimation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspectives;\n\t\t-webkit-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t\t-moz-animation:  0.8s ease-in-out 0.2s 1 normal forwards running  old-fallPerspective;\n\t}\n\t#tsvg-section-541409 main.tsvg-main-content-541409[data-p-lm='fly'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d!important;\n\t\t-moz-transform-style: preserve-3d!important;\n\t\ttransform-style: preserve-3d!important;\n\t\t-webkit-transform-origin: 50% 50% -300px!important;\n\t\t-moz-transform-origin: 50% 50% -300px!important;\n\t\ttransform-origin: 50% 50% -300px!important;\n\t\t-webkit-transform: rotateX(-180deg);\n\t\t-moz-transform: rotateX(-180deg);\n\t\ttransform: rotateX(-180deg);\n\t\tanimation: old-fly 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-fly 0.8s ease  0s forwards;\n\t\t-moz-animation: old-fly 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-541409 main.tsvg-main-content-541409[data-p-lm='flip'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform-origin: 0% 0%;\n\t\t-moz-transform-origin: 0% 0%;\n\t\ttransform-origin: 0% 0%;\n\t\t-webkit-transform: rotateX(-80deg);\n\t\t-moz-transform: rotateX(-80deg);\n\t\ttransform: rotateX(-80deg);\n\t\tanimation: old-flip 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-flip 0.8s ease  0s forwards;\n\t\t-moz-animation: old-flip 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-541409 main.tsvg-main-content-541409[data-p-lm='helix'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-webkit-transform-style: preserve-3d;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: rotateY(-180deg);\n\t\t-moz-transform: rotateY(-180deg);\n\t\ttransform: rotateY(-180deg);\n\t\tanimation: old-helix 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-helix 0.8s ease  0s forwards;\n\t\t-moz-animation: old-helix 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-541409 main.tsvg-main-content-541409[data-p-lm='popUp'] >figure> ul>li{\n\t\topacity: 0;\n\t\t-moz-transform-style: preserve-3d;\n\t\ttransform-style: preserve-3d;\n\t\t-webkit-transform: scale(0.4);\n\t\t-moz-transform: scale(0.4);\n\t\ttransform: scale(0.4);\n\t\tanimation: old-popUp 0.8s ease  0s forwards;\n\t\t-webkit-animation: old-popUp 0.8s ease  0s forwards;\n\t\t-moz-animation: old-popUp 0.8s ease  0s forwards;\n\t}\n\t#tsvg-section-541409 main.tsvg-main-content-541409[data-p-lm='animno'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animno 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-541409 main.tsvg-main-content-541409[data-p-lm='animsc'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animsc 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t#tsvg-section-541409 main.tsvg-main-content-541409[data-p-lm='animtr'] >figure> ul>li{\n\t\tdisplay: block;\n\t\topacity: 0;\n\t\tanimation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-webkit-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t\t-moz-animation: animtr 3s cubic-bezier(0.77, 0.35, 0, 1.6)  0s forwards;\n\t}\n\t@media only screen and (max-width: 450px) {\n\t\t#tsvg-section-541409 .tsvg-main-content-541409 > figure > ul{\n\t\t\tpadding: 0 !important;\n\t\t}\n\t}\n\t@-webkit-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@-moz-keyframes animate-height { 0% {transform: scaleY(0); } 100% {transform: scaleY(1); opacity: 1; } }\n\t@keyframes animate-height { 0% {transform: scaleY(0); } 100% { transform: scaleY(1);opacity: 1; } }\n\t@-webkit-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-moz-keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@keyframes old-fadeIn { 0% { } 100% { opacity: 1; } }\n\t@-webkit-keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); opacity: 1; } }\n\t@-moz-keyframes old-moveUp { 0% { } 100% { -moz-transform: translateY(0); opacity: 1; } }\n\t@keyframes old-moveUp { 0% { } 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } }\n\t@-webkit-keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); opacity: 1; } }\n\t@-moz-keyframes old-scaleUp { 0% { } 100% { -moz-transform: scale(1); opacity: 1; } }\n\t@keyframes old-scaleUp { 0% { } 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } }\n\t@-webkit-keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fallPerspective { 0% { } 100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fallPerspective { 0% { } 100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-fly { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-fly { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); opacity: 1; } }\n\t@-moz-keyframes old-flip { 0% { } 100% { -moz-transform: rotateX(0deg); opacity: 1; } }\n\t@keyframes old-flip { 0% { } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); opacity: 1; } }\n\t@-moz-keyframes old-helix { 0% { } 100% { -moz-transform: rotateY(0deg); opacity: 1; } }\n\t@keyframes old-helix { 0% { } 100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; } }\n\t@-webkit-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }\n\t\t100% { -webkit-transform: scale(1); opacity: 1; }\n\t}\n\t@-moz-keyframes old-popUp {\n\t\t0% { }\n\t\t70% { -moz-transform: scale(1.1); opacity: .8; -moz-animation-timing-function: ease-out; }\n\t\t100% { -moz-transform: scale(1); opacity: 1; }\n\t}\n\t@keyframes old-popUp {\n\t\t0% { }\n\t\t70% { transform: scale(1.1); opacity: .8; animation-timing-function: ease-out; }\n\t\t100% { transform: scale(1); opacity: 1; }\n\t}\n\t@-webkit-keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animtr {\n\t\t0% {\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animtr {\n\t\t0% {\n\t\t\t-webkit-transform: translateY(100px);\n\t\t\t-moz-transform: translateY(100px);\n\t\t\ttransform: translateY(100px);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: translateY(0px);\n\t\t\t-moz-transform: translateY(0px);\n\t\t\ttransform: translateY(0px);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animsc {\n\t\t0% {\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animsc {\n\t\t0% {\n\t\t\t-webkit-transform: scale(0.7);\n\t\t\t-moz-transform: scale(0.7);\n\t\t\ttransform: scale(0.7);\n\t\t}\n\t\t50% {\n\t\t\t-webkit-transform: scale(1.2);\n\t\t\t-moz-transform: scale(1.2);\n\t\t\ttransform: scale(1.2);\n\t\t}\n\t\t70% {\n\t\t\t-webkit-transform: scale(1);\n\t\t\t-moz-transform: scale(1);\n\t\t\ttransform: scale(1);\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-moz-keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes animno {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t50% {\n\t\t\topacity: 0.5;\n\t\t}\n\t\t70% {\n\t\t\topacity: 0.7;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t<\/style><style>\n\t:root{\n\t\t--tsvg_g_img_w_541409:2;\n\t\t--tsvg_g_bd_w_541409:2px;\n\t\t--tsvg_g_bd_c_541409:rgb(255, 255, 255);\n\t\t--tsvg_g_sh_541409:15px;\n\t\t--tsvg_g_sh_c_541409:#d3d3d3;\n\t\t--tsvg_g_border_Radius_541409:0%;\n\t\t--tsvg_g_place_between_541409:10px;\n\t\t--tsvg_hoo_c_541409:rgba(0,0,0,0.25);\n\t\t--tsvg_vto_fs_541409:15px;\n\t\t--tsvg_vto_ff_541409:Arial;\n\t\t--tsvg_vto_c_541409:#ededed;\n\t\t--tsvg_vto_b_bd_w_541409:1px;\n\t\t--tsvg_vto_bd_c_541409:#ffffff;\n\t\t--tsvg_vto_t_bd_w_541409:0px;\n\t\t--tsvg_vto_t_bd_c_541409:#000000;\n\t\t--tsvg_lo_fs_541409:8px;\n\t\t--tsvg_lo_ff_541409:Aldhabi;\n\t\t--tsvg_lo_c_541409:#ffffff;\n\t\t--tsvg_lo_bd_w_541409:5px;\n\t\t--tsvg_lo_bd_c_541409:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_border_Radius_541409:0px;\n\t\t--tsvg_lo_bg_c_541409:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_c_541409:#ffffff;\n\t\t--tsvg_lo_h_bd_c_541409:rgba(0,0,0,0.07);\n\t\t--tsvg_lo_h_bg_c_541409:rgba(0,0,0,0.07);\n\t\t--tsvg_popup_po_v_w_541409:708;\n\t\t--tsvg_popup_po_v_h_541409:449;\n\t\t--tsvg_popup_po_o_c_541409:rgb(0, 63, 45);\n\t\t--tsvg_popup_po_vbc_c_541409:rgb(0, 0, 0);\n\t\t--tsvg_popup_psi_s_541409:36;\n\t\t--tsvg_popup_psi_c_541409:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_hbr_c_541409:rgb(202, 209, 211);\n\t\t--tsvg_popup_pt_br_w_541409:3;\n\t\t--tsvg_popup_pt_w_541409:95;\n\t\t--tsvg_popup_pt_h_541409:65;\n\t\t--tsvg_popup_pt_c_i_c541409:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_fs_541409:22px;\n\t\t--tsvg_popup_ci_ff_541409:Gabriola;\n\t\t--tsvg_popup_ci_c_541409:rgb(202, 209, 211);\n\t\t--tsvg_popup_ci_csi_s_541409:30;\n\t\t--tsvg_popup_ci_csi_c_541409:rgb(202, 209, 211);\n\t}\n\t#tsvg-section-541409    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-541409   .tsvg-fancy-blocks-list li { display:inline-block; margin: 5px; background: #fff; position: relative;  }\n\t.tsvg-fancy-blocks-list li a { display: none; position: relative; }\n\t.tsvg-fancy-blocks-list li a { overflow: hidden; }\n\t.tsvg-fancy-blocks-list li .tsvg-fancy-block-hover { position: absolute; top:100%; background: #333; background: rgba(75,75,75,0.7); width: 100%; height: 100%; }\n\t.tsvg-fancy-block:hover .tsvg-fancy-block-link { opacity:1; }\n\t.tsvg-fancy-block-541409 .tsvg-fancy-block-hover-span {\n\t\tword-break: break-word;\n\t  \tposition: relative;\n\t  \tdisplay: block;\n\t  \tpadding: 8px 0;\n\t  \tfont-size: var(--tsvg_vto_fs_541409);\n\t  \tfont-family: var(--tsvg_vto_ff_541409);\n\t  \ttop: 45%;\n\t  \tleft: 50%;\n\t  \twidth: 85%;\n\t  \ttransform: translateY(-50%) translateX(-50%);\n\t  \t-webkit-transform: translateY(-50%) translateX(-50%);\n\t  \t-ms-transform: translateY(-50%) translateX(-50%);\n\t  \t-moz-transform: translateY(-50%) translateX(-50%);\n\t  \t-o-transform: translateY(-50%) translateX(-50%);\n\t  \ttext-transform: uppercase;\n\t  \tfont-weight: normal;\n\t\tline-height:1;\n\t  \tcolor: var(--tsvg_vto_c_541409);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_541409)  var(--tsvg_vto_bd_c_541409) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_541409) solid var(--tsvg_vto_t_bd_c_541409) !important;\n\t}\n\t.tsvg-fancy-block-541409 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-541409 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-541409 [data-tsvg-bottom='dotted']{ border-bottom-style: dotted!important;}\n\t#tsvg-fancy-html5-elem-data-box{\n\t\tmax-height: 100px!important;\n\t}\n\t.tsvg-fancy-block-541409  .tsvg-fancy-block-link[data-tsvg-title='center'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 50%;\n\t\tfont-size: var(--tsvg_lo_fs_541409) !important;\n\t\tline-height: var(--tsvg_lo_fs_541409) !important;\n\t\tfont-family: var(--tsvg_lo_ff_541409) !important;\n\t\ttransform: translateX(-50%);\n\t\t-webkit-transform: translateX(-50%);\n\t\t-ms-transform: translateX(-50%);\n\t\t-moz-transform: translateX(-50%);\n\t\t-o-transform: translateX(-50%);\n\t\tcolor: var(--tsvg_lo_c_541409) !important;\n\t\tborder: var(--tsvg_lo_bd_w_541409) solid var(--tsvg_lo_bd_c_541409)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_541409) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_541409) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-541409  .tsvg-fancy-block-link[data-tsvg-title='left'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tleft: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_541409) !important;\n\t\tline-height: var(--tsvg_lo_fs_541409) !important;\n\t\tfont-family: var(--tsvg_lo_ff_541409) !important;\n\t\tcolor: var(--tsvg_lo_c_541409) !important;\n\t\tborder: var(--tsvg_lo_bd_w_541409) solid var(--tsvg_lo_bd_c_541409)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_541409) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_541409) !important;\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-541409  .tsvg-fancy-block-link[data-tsvg-title='right'] {\n\t\tposition: absolute !important;\n\t\tbottom: 5px;\n\t\tright: 5px;\n\t\tfont-size: var(--tsvg_lo_fs_541409) !important;\n\t\tline-height: var(--tsvg_lo_fs_541409) !important;\n\t\tfont-family: var(--tsvg_lo_ff_541409) !important;\n\t\tcolor: var(--tsvg_lo_c_541409) !important;\n\t\tborder: var(--tsvg_lo_bd_w_541409) solid var(--tsvg_lo_bd_c_541409)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_541409) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_541409);\n\t\tpadding: 2px 5px;\n\t\tbox-sizing: border-box;\n\t\ttransition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-webkit-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-ms-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\t-moz-transition: background 0.4s, color 0.4s, border-color 0.4s linear;\n\t\ttext-decoration: none;\n\t\tbox-shadow: none !important;\n\t\t-moz-box-shadow: none !important;\n\t\t-webkit-box-shadow: none !important;\n\t\tz-index: 999;\n\t}\n\t.tsvg-fancy-block-541409:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-541409 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_541409) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_541409) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_541409) !important;\n\t}\n\t#tsvg-section-541409  .tsvg-fancy-block-541409 {\n\t\tpadding: 0px;\n\t\toverflow: hidden;\n\t\tperspective: 800px;\n\t\t-webkit-perspective: 800px;\n\t\t-ms-perspective: 800px;\n\t\t-moz-perspective: 800px;\n\t\t-o-perspective: 800px;\n\t\twidth: 100%;\n\t\tmax-width:calc( calc(100% - calc(2 * var(--tsvg_g_place_between_541409) *  var(--tsvg_g_img_w_541409)) ) \/ var(--tsvg_g_img_w_541409))!important;\n\t\tborder:  var(--tsvg_g_bd_w_541409) solid  var(--tsvg_g_bd_c_541409) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_541409)  var(--tsvg_g_sh_c_541409);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_541409);\n\t\tmargin:  var(--tsvg_g_place_between_541409) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-541409  .tsvg-fancy-block-541409  figure{\n\t  \twidth: 100%;\n\t  \theight: 0;\n\t  \tpadding-bottom: 56.25%;\n\t  \tposition: relative;\n\t  \tmargin:0;\n\t\tdisplay: inline-block;\n\t}\n\t#tsvg-section-541409  .tsvg-fancy-block-541409  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-541409  .tsvg-fancy-block-541409  img{\n\t\tposition: absolute;\n\t\tdisplay: block !important; \/* lazy load *\/\n\t\ttop: 0%;\n\t\tleft: 0%;\n\t\twidth: 100%;\n\t\theight: 100% !important;\n\t}\n\t.tsvg-fancy-block-541409 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-541409 {\n\t\t\tmargin: var(--tsvg_g_place_between_541409) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-541409[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_541409: 2;\n\t}\n\t.tsvg-main-content-541409[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_541409: 1;\n\t}\n\t.tsvg-fancy-block-541409 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_541409)!important;\n\t}\n\t#tsvg-fancy-html5-elem-data-box{\n\t  overflow:hidden auto;\n\t}\n\t#tsvg-fancy-html5-text{ \n\t  font-size : var(--tsvg_popup_ci_fs_541409);\n\t  font-family : var(--tsvg_popup_ci_ff_541409);\n\t  color : var(--tsvg_popup_ci_c_541409);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-541409 a[href=''], .tsvg-fancy-blocks-list-541409 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-541409\" data-tsvg-autoplay=\"false\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"rgb(0, 63, 45)\" data-tsvg-BgC=\"rgb(0, 0, 0)\" data-tsvg-HBC=\"rgb(202, 209, 211)\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"95\" data-tsvg-IH=\"65\" data-tsvg-ShVAutoPl=\"false\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-541409 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"true\"  data-tsvg-ShPT=\"false\" data-tsvg-ShSlPlIc=\"false\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Gabriola\"  data-tsvg-C=\"rgb(202, 209, 211)\"  data-tsvg-LI=\"ts-vgallery ts-vgallery-chevron-left\"  data-tsvg-RI=\"ts-vgallery ts-vgallery-chevron-right\"  >\n\t\t\t\t<ul class=\"tsvg-ul-content tsvg-fancy-blocks-list tsvg-fancy-blocks-list-541409\"  data-tsvg-S=\"36\"  data-tsvg-C=\"rgb(202, 209, 211)\" data-tsvg-DI=\"ts-vgallery ts-vgallery-times\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"rgb(202, 209, 211)\"  data-tsvg-TIC=\"rgb(202, 209, 211)\"  data-tsvg-Color=\"rgb(202, 209, 211)\"  data-tsvg-PT=\"false\" data-tsvg-PD=\"\">\n\t\t\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-541409\" data-tsvg-id=\"6\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-541409\" data-href=\"https:\/\/www.youtube.com\/embed\/rBU6rN9j85w\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup541409\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24172103\/thumbnail-4.jpeg\" data-title=\"Demo-1 Performing an inspection\" data-tsvgid=\"6\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/02\/24172103\/thumbnail-4.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-1 Performing an inspection\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-541409\" data-tsvg-id=\"19\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-541409\" data-href=\"https:\/\/www.youtube.com\/embed\/CAfviZG0ops\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup541409\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/03\/03215319\/Thumbnail-6.jpeg\" data-title=\"Demo-2 Putting inspection on hold\" data-tsvgid=\"19\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/03\/03215319\/Thumbnail-6.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-2 Putting inspection on hold\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-541409\" data-tsvg-id=\"23\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-541409\" data-href=\"https:\/\/www.youtube.com\/embed\/9t24Dye7nmc\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup541409\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04174027\/Thumbnail-8.jpeg\" data-title=\"Demo-3 Contacting DigiVerse Support\" data-tsvgid=\"23\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/04\/04174027\/Thumbnail-8.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-3 Contacting DigiVerse Support\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-541409\" data-tsvg-id=\"31\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-541409\" data-href=\"https:\/\/www.youtube.com\/embed\/lKe-3g0ncTU\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup541409\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/06\/05113931\/Thumbnail-12.jpeg\" data-title=\"Demo-4 Inspecting Asset with missing info\" data-tsvgid=\"31\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/06\/05113931\/Thumbnail-12.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-4 Inspecting Asset with missing info\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-541409\" data-tsvg-id=\"33\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-541409\" data-href=\"https:\/\/www.youtube.com\/embed\/Y5SPdFH4yvs\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup541409\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/06\/12200423\/Thumbnail-13.jpeg\" data-title=\"Demo-5 Multiple Inspections with single retailer&apos;s sign\" data-tsvgid=\"33\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2023\/06\/12200423\/Thumbnail-13.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-5 Multiple Inspections with single retailer&#039;s sign\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t\n\t\t\t<li class=\"tsvg-li-content tsvg-fancy-block tsvg-fancy-block-541409\" data-tsvg-id=\"80\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-541409\" data-href=\"https:\/\/www.youtube.com\/embed\/6mi7q8jlBVg\" data-width=\"708\" data-height=\"449\" data-group=\"mygroup541409\" data-thumbnail=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/02\/23170912\/Thumbnail-15.jpeg\" data-title=\"Demo-6 How to add labour hours and parts and materials\" data-tsvgid=\"80\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"http:\/\/Demo%206%20-%20How%20to%20add%20Labour%20Hours%20and%20Parts%20and%20Materials\" target=\"_self\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\"><\/a>\n\t\t\t\t\t<img class=\"lazyload\" decoding=\"async\" width=\"\" height=\"\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/media.3point3labs.com\/wp-content\/uploads\/2024\/02\/23170912\/Thumbnail-15.jpeg\" alt=\"img\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-hover\">\n\t\t\t\t\t\t<span class=\"tsvg-fancy-block-hover-span\" data-tsvg-bottom=\"solid\" data-tsvg-show=\"false\">\n\t\t\t\t\t\t\tDemo-6 How to add labour hours and parts and materials\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/figure>\n\t\t\t<\/li>\n\t\t\t  \n\t\t\t\t<\/ul>\n\t\t\t<\/figure>\n\t\t<\/main>\n\t\t<script>\n\tlet tsvgFancyInterval541409 = null,\n\ttsvgFancyJsFolder541409 = \"https:\/\/www.3point3labs.com\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction541409 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox541409 = function (options, id) {\n\t\t\t\t\tlet inst = this,\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id),\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id),\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\"),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id),\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\"),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id),\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id),\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id),\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\"),\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\tinst.options = $.extend(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfreelink: \"\",\n\t\t\t\t\t\t\tdefaultvideovolume: 1,\n\t\t\t\t\t\t\tautoclose: false,\n\t\t\t\t\t\t\tinsideiframe: false,\n\t\t\t\t\t\t\tautoplay: Totalsoft_FG_ShVAutoPl,\n\t\t\t\t\t\t\tloopvideo: false,\n\t\t\t\t\t\t\thtml5player: true,\n\t\t\t\t\t\t\tresponsive: true,\n\t\t\t\t\t\t\tnativehtml5controls: false,\n\t\t\t\t\t\t\tvideohidecontrols: false,\n\t\t\t\t\t\t\tnativecontrolsonfirefox: true,\n\t\t\t\t\t\t\tnativecontrolsonie: true,\n\t\t\t\t\t\t\timagekeepratio: true,\n\t\t\t\t\t\t\tuseflashonie9: true,\n\t\t\t\t\t\t\tuseflashonie10: true,\n\t\t\t\t\t\t\tuseflashonie11: false,\n\t\t\t\t\t\t\tgoogleanalyticsaccount: \"\",\n\t\t\t\t\t\t\tarrowloop: true,\n\t\t\t\t\t\t\tshownavigation: TotalSoft_VG_FG_ShN,\n\t\t\t\t\t\t\tthumbwidth: parseInt(Totalsoft_FG_PThumb_IW),\n\t\t\t\t\t\t\tthumbheight: parseInt(Totalsoft_FG_PThumb_IH),\n\t\t\t\t\t\t\tthumbgap: 4,\n\t\t\t\t\t\t\tthumbtopmargin: 12,\n\t\t\t\t\t\t\tthumbbottommargin: 12,\n\t\t\t\t\t\t\tthumbborder: Totalsoft_FG_PThumb_HBW,\n\t\t\t\t\t\t\tthumbbordercolor: \"transparent\",\n\t\t\t\t\t\t\tthumbhighlightbordercolor: Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\t\tthumbopacity: 1,\n\t\t\t\t\t\t\tnavbuttonwidth: 32,\n\t\t\t\t\t\t\toverlaybgcolor: Totalsoft_FG_POv_C,\n\t\t\t\t\t\t\toverlayopacity: 1,\n\t\t\t\t\t\t\tbgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\tbordersize: 8,\n\t\t\t\t\t\t\tborderradius: 0,\n\t\t\t\t\t\t\tbordermargin: 32,\n\t\t\t\t\t\t\tbordertopmargin: 32,\n\t\t\t\t\t\t\tbordertopmarginsmall: 48,\n\t\t\t\t\t\t\tbarautoheight: true,\n\t\t\t\t\t\t\tbarheight: 80,\n\t\t\t\t\t\t\tresponsivebarheight: false,\n\t\t\t\t\t\t\tsmallscreenheight: 415,\n\t\t\t\t\t\t\tbarheightonsmallheight: 64,\n\t\t\t\t\t\t\tnotkeepratioonsmallheight: false,\n\t\t\t\t\t\t\tloadingwidth: 64,\n\t\t\t\t\t\t\tloadingheight: 64,\n\t\t\t\t\t\t\tresizespeed: 400,\n\t\t\t\t\t\t\tfadespeed: 400,\n\t\t\t\t\t\t\tjsfolder: tsvgFancyJsFolder541409,\n\t\t\t\t\t\t\tskinsfoldername: \"Images\/HTML5Player\/\",\n\t\t\t\t\t\t\tloadingimage: \"lightbox-loading.gif\",\n\t\t\t\t\t\t\tnextimage: \"lightbox-next.png\",\n\t\t\t\t\t\t\tprevimage: \"lightbox-prev.png\",\n\t\t\t\t\t\t\tcloseimage: \"lightbox-close.png\",\n\t\t\t\t\t\t\tplayvideoimage: \"lightbox-playvideo.png\",\n\t\t\t\t\t\t\ttitlebgimage: \"lightbox-titlebg.png\",\n\t\t\t\t\t\t\tnavarrowsprevimage: \"lightbox-navprev.png\",\n\t\t\t\t\t\t\tnavarrowsnextimage: \"lightbox-navnext.png\",\n\t\t\t\t\t\t\tnavarrowsalwaysshowontouch: true,\n\t\t\t\t\t\t\tnavarrowsbottomscreenwidth: 479,\n\t\t\t\t\t\t\tcloseonoverlay: true,\n\t\t\t\t\t\t\talwaysshownavarrows: false,\n\t\t\t\t\t\t\tshowplaybutton: TotalSoft_VG_FG_ShSlPlIc,\n\t\t\t\t\t\t\tplayimage: \"lightbox-play.png\",\n\t\t\t\t\t\t\tpauseimage: \"lightbox-pause.png\",\n\t\t\t\t\t\t\tfullscreenmode: false,\n\t\t\t\t\t\t\tfullscreencloseimage: \"lightbox-close-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreennextimage: \"lightbox-next-fullscreen.png\",\n\t\t\t\t\t\t\tfullscreenprevimage: \"lightbox-prev-fullscreen.png\",\n\t\t\t\t\t\t\tvideobgcolor: Totalsoft_FG_PV_BgC,\n\t\t\t\t\t\t\thtml5videoposter: \"\",\n\t\t\t\t\t\t\tshowtitle: TotalSoft_VG_FG_ShPT,\n\t\t\t\t\t\t\ttitlestyle: \"bottom\",\n\t\t\t\t\t\t\ttitleinsidecss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\ttitlebottomcss: \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\",\n\t\t\t\t\t\t\tshowdescription: true,\n\t\t\t\t\t\t\tdescriptioninsidecss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tdescriptionbottomcss: \"overflow:hidden; line-height:1.3; margin:4px 0px 0px; padding: 0px;\",\n\t\t\t\t\t\t\tshowtitleprefix: true,\n\t\t\t\t\t\t\ttitleprefix: \"%NUM \/ %TOTAL\",\n\t\t\t\t\t\t\tautoslide: false,\n\t\t\t\t\t\t\tslideinterval: 5e3,\n\t\t\t\t\t\t\tshowtimer: true,\n\t\t\t\t\t\t\ttimerposition: \"bottom\",\n\t\t\t\t\t\t\ttimerheight: 2,\n\t\t\t\t\t\t\ttimercolor: \"#dc572e\",\n\t\t\t\t\t\t\ttimeropacity: 1,\n\t\t\t\t\t\t\tinitvimeo: true,\n\t\t\t\t\t\t\tinityoutube: true,\n\t\t\t\t\t\t\tinitsocial: true,\n\t\t\t\t\t\t\tshowsocial: false,\n\t\t\t\t\t\t\tsocialposition: \"position:absolute;top:100%;right:0;\",\n\t\t\t\t\t\t\tsocialdirection: \"horizontal\",\n\t\t\t\t\t\t\tsocialbuttonsize: 32,\n\t\t\t\t\t\t\tsocialbuttonfontsize: 18,\n\t\t\t\t\t\t\tsocialrotateeffect: true,\n\t\t\t\t\t\t\tshowfacebook: true,\n\t\t\t\t\t\t\tshowtwitter: true,\n\t\t\t\t\t\t\tshowpinterest: true,\n\t\t\t\t\t\t\timagepercentage: 75,\n\t\t\t\t\t\t\tsidetobottomscreenwidth: 479,\n\t\t\t\t\t\t\terrorwidth: 280,\n\t\t\t\t\t\t\terrorheight: 48,\n\t\t\t\t\t\t\terrorcss: \"text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;\",\n\t\t\t\t\t\t\tenabletouchswipe: true,\n\t\t\t\t\t\t\tsupportesckey: true,\n\t\t\t\t\t\t\tsupportarrowkeys: true,\n\t\t\t\t\t\t\tversion: \"3.3\",\n\t\t\t\t\t\t\tstamp: true,\n\t\t\t\t\t\t\tfreemark: \"72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110\",\n\t\t\t\t\t\t\twatermark: \"\",\n\t\t\t\t\t\t\twatermarklink: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\toptions\n\t\t\t\t\t);\n\t\t\t\t\tif (typeof html5lightbox_options != \"undefined\" && html5lightbox_options) {\n\t\t\t\t\t\t$.extend(inst.options, html5lightbox_options);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif ($(\"div#html5lightbox_general_options\").length) {\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$(\"div#html5lightbox_general_options\").data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tinst.options[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tlet DEFAULT_WIDTH = 960,\n\t\t\t\t\t\tDEFAULT_HEIGHT = 540,\n\t\t\t\t\t\tELEM_TYPE = 0,\n\t\t\t\t\t\tELEM_HREF = 1,\n\t\t\t\t\t\tELEM_TITLE = 2,\n\t\t\t\t\t\tELEM_GROUP = 3,\n\t\t\t\t\t\tELEM_WIDTH = 4,\n\t\t\t\t\t\tELEM_HEIGHT = 5,\n\t\t\t\t\t\tELEM_HREF_WEBM = 6,\n\t\t\t\t\t\tELEM_HREF_OGG = 7,\n\t\t\t\t\t\tELEM_THUMBNAIL = 8,\n\t\t\t\t\t\tELEM_DESCRIPTION = 9,\n\t\t\t\t\t\tELEM_ID = 10;\n\t\t\t\t\tinst.options.types = [\"IMAGE\", \"FLASH\", \"VIDEO\", \"YOUTUBE\", \"VIMEO\", \"PDF\", \"MP3\", \"WEB\", \"FLV\", \"DAILYMOTION\", \"DIV\", \"WISTIA\", \"RUMBLE\"];\n\t\t\t\t\tinst.options.htmlfolder = window.location.href.substr(0, window.location.href.lastIndexOf(\"\/\") + 1);\n\t\t\t\t\tinst.options.skinsfolder = inst.options.skinsfoldername;\n\t\t\t\t\tif (inst.options.skinsfolder.length > 0 && inst.options.skinsfolder[inst.options.skinsfolder.length - 1] != \"\/\") {\n\t\t\t\t\t\tinst.options.skinsfolder += \"\/\";\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.skinsfolder.charAt(0) != \"\/\" && inst.options.skinsfolder.substring(0, 5) != \"http:\" && inst.options.skinsfolder.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\tinst.options.skinsfolder = inst.options.jsfolder + inst.options.skinsfolder;\n\t\t\t\t\t}\n\t\t\t\t\tlet i,\n\t\t\t\t\t\tl,\n\t\t\t\t\t\tmark = \"\",\n\t\t\t\t\t\td0 = \"hmtamgli5cboxh.iclolms\",\n\t\t\t\t\t\tbytes = inst.options.freemark.split(\",\");\n\t\t\t\t\tfor (i = 0;bytes.length > i; i++) {\n\t\t\t\t\t\tmark += String.fromCharCode(bytes[i]);\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.freemark = mark;\n\t\t\t\t\tfor (i = 1; 5 >= i ; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, i) + d0.slice(i + 1);\n\t\t\t\t\t}\n\t\t\t\t\tl = d0.length;\n\t\t\t\t\tfor (i = 0; 5 > i; i++) {\n\t\t\t\t\t\td0 = d0.slice(0, l - 9 + i) + d0.slice(l - 8 + i);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.htmlfolder.indexOf(d0) != -1) {\n\t\t\t\t\t\tinst.options.stamp = false;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.flashInstalled = false;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (navigator.mimeTypes[\"application\/x-shockwave-flash\"]) {\n\t\t\t\t\t\t\tinst.options.flashInstalled = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.html5VideoSupported = ! !document.createElement(\"video\").canPlayType;\n\t\t\t\t\tinst.options.isChrome = navigator.userAgent.match(\/Chrome\/i) != null;\n\t\t\t\t\tinst.options.isFirefox = navigator.userAgent.match(\/Firefox\/i) != null;\n\t\t\t\t\tinst.options.isOpera = navigator.userAgent.match(\/Opera\/i) != null || navigator.userAgent.match(\/OPR\\\/\/i) != null;\n\t\t\t\t\tinst.options.isSafari = navigator.userAgent.match(\/Safari\/i) != null;\n\t\t\t\t\tinst.options.isIE11 = navigator.userAgent.match(\/Trident\\\/7\/) != null && navigator.userAgent.match(\/rv:11\/) != null;\n\t\t\t\t\tinst.options.isIE = navigator.userAgent.match(\/MSIE\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE10 = navigator.userAgent.match(\/MSIE 10\/i) != null && !this.options.isOpera;\n\t\t\t\t\tinst.options.isIE9 = navigator.userAgent.match(\/MSIE 9\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE8 = navigator.userAgent.match(\/MSIE 8\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE7 = navigator.userAgent.match(\/MSIE 7\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE6 = navigator.userAgent.match(\/MSIE 6\/i) != null && !inst.options.isOpera;\n\t\t\t\t\tinst.options.isIE678 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8;\n\t\t\t\t\tinst.options.isIE6789 = inst.options.isIE6 || inst.options.isIE7 || inst.options.isIE8 || inst.options.isIE9;\n\t\t\t\t\tinst.options.isAndroid = navigator.userAgent.match(\/Android\/i) != null;\n\t\t\t\t\tinst.options.isIPad = navigator.userAgent.match(\/iPad\/i) != null;\n\t\t\t\t\tinst.options.isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tinst.options.isIOS = inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isMobile = inst.options.isAndroid || inst.options.isIPad || inst.options.isIPhone;\n\t\t\t\t\tinst.options.isIOSLess5 = inst.options.isIPad && inst.options.isIPhone && (navigator.userAgent.match(\/OS 4\/i) != null || navigator.userAgent.match(\/OS 3\/i) != null);\n\t\t\t\t\tinst.options.supportCSSPositionFixed = !inst.options.isIE6 && !inst.options.isIOSLess5;\n\t\t\t\t\tinst.options.iequirksmode = inst.options.isIE6789 && document.compatMode != \"CSS1Compat\";\n\t\t\t\t\tinst.options.isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\tinst.options.autoplay = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.isFirefox && inst.options.nativecontrolsonfirefox) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tif ((inst.options.isIE6789 || inst.options.isIE10 || inst.options.isIE11) && inst.options.nativecontrolsonie) {\n\t\t\t\t\t\tinst.options.nativehtml5controls = true;\n\t\t\t\t\t}\n\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\tinst.options.thumbgap += 2 * inst.options.thumbborder;\n\t\t\t\t\tinst.options.resizeTimeout = -1;\n\t\t\t\t\tinst.slideTimeout = null;\n\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\tinst.options.curElem = -1;\n\t\t\t\t\tinst.defaultoptions = $.extend({}, inst.options);\n\t\t\t\t\tif (inst.options.googleanalyticsaccount && !window._gaq) {\n\t\t\t\t\t\twindow._gaq = window._gaq || [];\n\t\t\t\t\t\twindow._gaq.push([\"_setAccount\", inst.options.googleanalyticsaccount]);\n\t\t\t\t\t\twindow._gaq.push([\"_trackPageview\"]);\n\t\t\t\t\t\t$.getScript(\"\");\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.initvimeo) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.inityoutube) {\n\t\t\t\t\t\tvar tag = document.createElement(\"script\");\n\t\t\t\t\t\ttag.src = \"\";\n\t\t\t\t\t\tvar firstScriptTag = document.getElementsByTagName(\"script\")[0];\n\t\t\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n\t\t\t\t\t}\n\t\t\t\t\tinst.showing = false;\n\t\t\t\t\tinst.supportKeyboard = function () {\n\t\t\t\t\t\t$(document).keyup(\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (!inst.showing) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.supportesckey && e.keyCode == 27) {\n\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t} else if (inst.options.supportarrowkeys)\n\t\t\t\t\t\t\t\t\tif (e.keyCode == 39) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (e.keyCode == 37) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.supportKeyboard();\n\t\t\t\t\tinst.init = function () {\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tTotalsoft_FG_POv_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_o_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PV_BgC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_po_vbc_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_hbr_c_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_HBW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_br_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IW = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_w_' + id);\n\t\t\t\t\t\tTotalsoft_FG_PThumb_IH = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_h_' + id);\n\t\t\t\t\t\tTotalsoft_FG_ShVAutoPl = jQuery(\".tsvg-main-content-\" + id).attr(\"data-tsvg-ShVAutoPl\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShN = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShPT = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShPT\");\n\t\t\t\t\t\tTotalSoft_VG_FG_ShSlPlIc = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShSlPlIc\");\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_fs_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_FF = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_ff_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_PT_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-LI\");\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-RI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_S = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_C = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_psi_c_' + id);\n\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-DI\");\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_s_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_csi_c_' + id);\n\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_pt_c_i_c' + id);\n\t\t\t\t\t\tTS_VG_FG_Color = window.getComputedStyle(document.documentElement).getPropertyValue('--tsvg_popup_ci_c_' + id);\n\t\t\t\t\t\tTS_VG_FG_Show_Nav = jQuery(\".tsvg-fancy-blocks-container-\" + id).attr(\"data-tsvg-ShN\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PT = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PT\");\n\t\t\t\t\t\tTotalSoft_GV_FG_PD = jQuery(\".tsvg-fancy-blocks-list-\" + id).attr(\"data-tsvg-PD\");\n\t\t\t\t\t\tinst.options.thumbwidth = parseInt(Totalsoft_FG_PThumb_IW);\n\t\t\t\t\t\tinst.options.thumbheight = parseInt(Totalsoft_FG_PThumb_IH);\n\t\t\t\t\t\tinst.options.autoplay = Totalsoft_FG_ShVAutoPl;\n\t\t\t\t\t\tinst.options.shownavigation = TotalSoft_VG_FG_ShN;\n\t\t\t\t\t\tinst.options.thumbborder = Totalsoft_FG_PThumb_HBW;\n\t\t\t\t\t\tinst.options.overlaybgcolor = Totalsoft_FG_POv_C;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.bgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showplaybutton = TotalSoft_VG_FG_ShSlPlIc;\n\t\t\t\t\t\tinst.options.videobgcolor = Totalsoft_FG_PV_BgC;\n\t\t\t\t\t\tinst.options.showtitle = TotalSoft_VG_FG_ShPT;\n\t\t\t\t\t\tinst.options.thumbhighlightbordercolor = Totalsoft_FG_PThumb_HBC,\n\t\t\t\t\t\tinst.options.titleinsidecss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.options.titlebottomcss = \"color:\" + TotalSoft_VG_FG_PT_C + \"; font-size:\" + TotalSoft_VG_FG_PT_FS + \"px; font-family:\" + TotalSoft_VG_FG_PT_FF + \"; overflow:hidden; text-align:left;\";\n\t\t\t\t\t\tinst.readData();\n\t\t\t\t\t\tinst.createMarkup();\n\t\t\t\t\t\tinst.initSlide();\n\t\t\t\t\t};\n\t\t\t\t\tinst.readData = function () {\n\t\t\t\t\t\tinst.elemArray = new Array();\n\t\t\t\t\t\tinst.each(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (this.nodeName.toLowerCase() != \"a\" && this.nodeName.toLowerCase() != \"area\" && this.nodeName.toLowerCase() != \"figure\") {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t\tvar fileType = \"mediatype\" in $this.data() ? $this.data(\"mediatype\") : inst.checkType($this.data(\"href\"));\n\t\t\t\t\t\t\t\tif (0 > fileType ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.elemArray.push(\n\t\t\t\t\t\t\t\t\tnew Array(fileType, $this.data(\"href\"), $this.data(\"title\"), $this.data(\"group\"), $this.data(\"width\"), $this.data(\"height\"), $this.data(\"webm\"), $this.data(\"ogg\"), $this.data(\"thumbnail\"), $this.find(\".tsvg-fancy-block-desc\").html(),$this.data(\"tsvgid\"))\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.createMarkup = function () {\n\t\t\t\t\t\tinst.options.barheightoriginal = inst.options.barheight;\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.titlecss) {\n\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlestyle == \"inside\" ? inst.options.titleinsidecss : inst.options.titlebottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.descriptioncss) {\n\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.titlestyle == \"inside\" ? inst.options.descriptioninsidecss : inst.options.descriptionbottomcss;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.titlecss = $.trim(inst.options.titlecss);\n\t\t\t\t\t\tif (inst.options.titlecss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlecss.charAt(inst.options.titlecss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.titlecss = inst.options.titlecss.substring(0, inst.options.titlecss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.descriptioncss = $.trim(inst.options.descriptioncss);\n\t\t\t\t\t\tif (inst.options.descriptioncss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.descriptioncss.charAt(inst.options.descriptioncss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.descriptioncss = inst.options.descriptioncss.substring(0, inst.options.descriptioncss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.errorcss = $.trim(inst.options.errorcss);\n\t\t\t\t\t\tif (inst.options.errorcss.length > 1) {\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(0) == \"{\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.errorcss.charAt(inst.options.errorcss.length - 1) == \"}\") {\n\t\t\t\t\t\t\t\tinst.options.errorcss = inst.options.errorcss.substring(0, inst.options.errorcss.length - 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar styleCss = \".tsvg-fancy-html5-hide {display:none !important;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-text {}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-description {\" + inst.options.descriptioncss + \"}\";\n\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-error {\" + inst.options.errorcss + \"}\";\n\t\t\t\t\t\tif (inst.options.navarrowsalwaysshowontouch || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) { #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-touch {top:100%;left:0;margin:0;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-touch {top:100%;right:0;margin:0;} }\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:none;}\";\n\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\tinst.options.navarrowsbottomscreenwidth +\n\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-fullscreen {display:none;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-prev-bottom-fullscreen {display:block;} #tsvg-fancy-html5box-html5-lightbox .tsvg-fancy-html5-next-bottom-fullscreen {display:block;} }\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:\" + inst.options.imagepercentage + \"%;height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tstyleCss += \"#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {height:100%;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:\" + String(100 - inst.options.imagepercentage) + \"%;min-height:100%;}\";\n\t\t\t\t\t\t\tstyleCss +=\n\t\t\t\t\t\t\t\t\"@media (max-width: \" +\n\t\t\t\t\t\t\t\tinst.options.sidetobottomscreenwidth +\n\t\t\t\t\t\t\t\t\"px) {#tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-wrap {width:100%;height:auto;} #tsvg-fancy-html5box-html5-lightbox #tsvg-fancy-html5-elem-data-box {width:100%;height:auto;min-height:0;}}\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstyleCss += \".tsvg-fancy-html5-rotate { border-radius:50%; -webkit-transition:-webkit-transform .4s ease-in; transition: transform .4s ease-in; } .tsvg-fancy-html5-rotate:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }\";\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css' data-creator='tsvg-fancy-html5box-html5-lightbox'>\" + styleCss + \"<\/style>\");\n\t\t\t\t\t\tinst.$lightbox = $(\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5box-html5-lightbox' style='display:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-overlay' style='display:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:\" +\n\t\t\t\t\t\t\tinst.options.overlaybgcolor +\n\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\tinst.options.overlayopacity +\n\t\t\t\t\t\t\t\";filter:alpha(opacity=\" +\n\t\t\t\t\t\t\tMath.round(inst.options.overlayopacity * 100) +\n\t\t\t\t\t\t\t\");'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-lightbox-box' style='display:block;position:relative;margin:0px auto;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-box' style='display:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-elem-wrap' style='display:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:\" +\n\t\t\t\t\t\t\tinst.options.bgcolor +\n\t\t\t\t\t\t\t\";'>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-loading' style='display:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\\\"\" +\n\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\tinst.options.loadingimage +\n\t\t\t\t\t\t\t\"\\\") no-repeat center center;'><\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-error' class='tsvg-fancy-html5-error' style='display:none;position:absolute;padding:\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;width:\" +\n\t\t\t\t\t\t\tinst.options.errorwidth +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tinst.options.errorheight +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"The requested content cannot be loaded.<br\/>Please try again later.\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image' style='display:none;position:relative;top:0px;left:0px;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t(inst.options.iequirksmode ? \"margin\" : \"padding\") +\n\t\t\t\t\t\t\t\":\" +\n\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\"px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-watermark' style='display:none;position:absolute;left:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;top:\" +\n\t\t\t\t\t\t\tString(inst.options.bordersize + 2) +\n\t\t\t\t\t\t\t\"px;'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.positionFixed = inst.options.supportCSSPositionFixed && inst.options.responsive && !inst.options.iequirksmode;\n\t\t\t\t\t\tinst.$lightbox.css({ position: inst.options.positionFixed ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\tinst.$lightbox.appendTo(\"body\");\n\t\t\t\t\t\tinst.$lightboxBox = $(\"#tsvg-fancy-html5-lightbox-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elem = $(\"#tsvg-fancy-html5-elem-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$elemWrap = $(\"#tsvg-fancy-html5-elem-wrap\", inst.$lightbox);\n\t\t\t\t\t\tinst.$loading = $(\"#tsvg-fancy-html5-loading\", inst.$lightbox);\n\t\t\t\t\t\tinst.$error = $(\"#tsvg-fancy-html5-error\", inst.$lightbox);\n\t\t\t\t\t\tinst.$image = $(\"#tsvg-fancy-html5-image\", inst.$lightbox);\n\t\t\t\t\t\tvar elemText = \"<div id='tsvg-fancy-html5-elem-data-box' style='display:none;box-sizing:border-box;'><div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><\/div><\/div>\";\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$elem.prepend(elemText);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elem.append(elemText);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elemData = $(\"#tsvg-fancy-html5-elem-data-box\", inst.$lightbox);\n\t\t\t\t\t\tinst.$text = $(\"#tsvg-fancy-html5-text\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.borderradius > 0) {\n\t\t\t\t\t\t\tinst.$elem.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ \"border-radius\": inst.options.borderradius + \"px\", \"-moz-border-radius\": inst.options.borderradius + \"px\", \"-webkit-border-radius\": inst.options.borderradius + \"px\" });\n\t\t\t\t\t\t\t} else if (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-top-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-top-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-top-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-left-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-top-bottom-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-left-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"border-bottom-right-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-moz-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t\t\"-webkit-bottom-right-border-radius\": inst.options.borderradius + \"px\",\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"right\" || inst.options.titlestyle == \"left\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", float: \"left\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", overflow: \"hidden\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.$elemWrap.css({ position: \"relative\", overflow: \"hidden\" });\n\t\t\t\t\t\t\t\tinst.$elemData.css({ position: \"relative\", float: \"left\", padding: inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ position: \"absolute\", margin: inst.options.bordersize + \"px\", bottom: 0, left: 0, \"background-color\": \"#333\", \"background-color\": \"rgba(51, 51, 51, 0.6)\" });\n\t\t\t\t\t\t\tinst.$text.css({ padding: inst.options.bordersize + \"px \" + 2 * inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemData.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: inst.options.barautoheight ? \"auto\" : inst.options.barheight + \"px\",\n\t\t\t\t\t\t\t\t\tpadding: \"0 0 \" + inst.options.bordersize + \"px\" + \" 0\",\n\t\t\t\t\t\t\t\t\t\"background-color\": inst.options.bgcolor,\n\t\t\t\t\t\t\t\t\t\"text-align\": \"left\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$text.css({ margin: \"0 \" + inst.options.bordersize + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-fullscreen' style='cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-fullscreen' style='cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\".tsvg-fancy-html5-next-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\".tsvg-fancy-html5-prev-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreennextimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-bottom-fullscreen' style='cursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreenprevimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$nextbottom = $(\".tsvg-fancy-html5-next-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prevbottom = $(\".tsvg-fancy-html5-prev-bottom-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$nextbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$prevbottom.click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$lightbox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close-fullscreen' style='display:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;'><img src='\" +\n\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\tinst.options.fullscreencloseimage +\n\t\t\t\t\t\t\t\t\"'><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close-fullscreen\", inst.$lightbox);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$elemWrap.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-next' style='display:none;cursor:pointer;position:absolute;right:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-prev' style='display:none;cursor:pointer;position:absolute;left:\" +\n\t\t\t\t\t\t\t\tinst.options.bordersize +\n\t\t\t\t\t\t\t\t\"px;top:50%;margin-top:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$next = $(\"#tsvg-fancy-html5-next\", inst.$lightbox);\n\t\t\t\t\t\t\tinst.$prev = $(\"#tsvg-fancy-html5-prev\", inst.$lightbox);\n\t\t\t\t\t\t\tif ((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-next-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_RI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-prev-touch' style='display:block;cursor:pointer;position:absolute;'><i class='\" +\n\t\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_LI +\n\t\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_S +\n\t\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_C +\n\t\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$nexttouch = $(\".tsvg-fancy-html5-next-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$prevtouch = $(\".tsvg-fancy-html5-prev-touch\", inst.$lightbox);\n\t\t\t\t\t\t\t\tinst.$nexttouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$prevtouch.click(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.append(\n\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-close' style='display:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;'><i class='\" +\n\t\t\t\t\t\t\t\tTotalsoft_VG_FG_SL_DI +\n\t\t\t\t\t\t\t\t\"' style='font-size:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIS +\n\t\t\t\t\t\t\t\t\"px;color:\" +\n\t\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_DIC +\n\t\t\t\t\t\t\t\t\"'><\/i><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$close = $(\"#tsvg-fancy-html5-close\", inst.$lightbox);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showsocial) {\n\t\t\t\t\t\t\tvar socialCode = '<div id=\"tsvg-fancy-html5-social\" style=\"display:none;' + inst.options.socialposition + '\">';\n\t\t\t\t\t\t\tvar socialBtnCSS = \"display:\" + (inst.options.socialdirection == \"horizontal\" ? \"inline-block\" : \"block\") + \";margin:4px;\";\n\t\t\t\t\t\t\tvar socialCSS =\n\t\t\t\t\t\t\t\t\"display:table-cell;width:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonsize +\n\t\t\t\t\t\t\t\t\"px;font-size:\" +\n\t\t\t\t\t\t\t\tinst.options.socialbuttonfontsize +\n\t\t\t\t\t\t\t\t\"px;border-radius:50%;color:#fff;vertical-align:middle;text-align:center;cursor:pointer;padding:0;\";\n\t\t\t\t\t\t\tif (inst.options.showfacebook) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-facebook\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#3b5998;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showtwitter) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-twitter\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#03b3ee;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showpinterest) {\n\t\t\t\t\t\t\t\tsocialCode +=\n\t\t\t\t\t\t\t\t\t'<div class=\"tsvg-fancy-html5-social-btn' +\n\t\t\t\t\t\t\t\t\t(inst.options.socialrotateeffect ? \" tsvg-fancy-html5-rotate\" : \"\") +\n\t\t\t\t\t\t\t\t\t' tsvg-fancy-html5-social-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialBtnCSS +\n\t\t\t\t\t\t\t\t\t'\"><div class=\"icon-pinterest\" style=\"' +\n\t\t\t\t\t\t\t\t\tsocialCSS +\n\t\t\t\t\t\t\t\t\t'background-color:#c92228;\"><\/div><\/div>';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsocialCode += \"<\/div>\";\n\t\t\t\t\t\t\tinst.$lightboxBox.append(socialCode);\n\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-social-btn\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar shareUrl = window.location.href + (0 > window.location.href.indexOf(\"?\") ? \"?\" : \"&\") + \"html5lightboxshare=\" + encodeURIComponent(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\tvar shareTitle = inst.currentElem[ELEM_TITLE];\n\t\t\t\t\t\t\t\t\tvar shareMedia = inst.currentElem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(inst.currentElem[ELEM_HREF]);\n\t\t\t\t\t\t\t\t\t} else if (inst.currentElem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\t\tshareMedia = \"https:\/\/img.youtube.com\/vi\/\" + inst.getYoutubeId(inst.currentElem[ELEM_HREF]) + \"\/0.jpg\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvar lightboxLink = $('.tsvg-html5lightbox-541409[href=\"' + inst.currentElem[ELEM_HREF] + '\"]');\n\t\t\t\t\t\t\t\t\t\tif (lightboxLink.length > 0)\n\t\t\t\t\t\t\t\t\t\t\tif (lightboxLink.data(\"shareimage\") && lightboxLink.data(\"shareimage\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"shareimage\"));\n\t\t\t\t\t\t\t\t\t\t\t} else if (lightboxLink.data(\"thumbnail\") && lightboxLink.data(\"thumbnail\").length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxLink.data(\"thumbnail\"));\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar lightboxImg = $(\"img\", lightboxLink);\n\t\t\t\t\t\t\t\t\t\t\t\tif (lightboxImg.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tshareMedia = inst.absoluteUrl(lightboxImg.attr(\"src\"));\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar isVideo =\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 2 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 3 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 4 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 8 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 9 ||\n\t\t\t\t\t\t\t\t\t\tinst.currentElem[ELEM_TYPE] == 11;\n\t\t\t\t\t\t\t\t\tif ($(this).hasClass(\"tsvg-fancy-html5-social-facebook\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=\" + encodeURIComponent(shareUrl) + \"&t=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-twitter\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\"https:\/\/twitter.com\/share?url=\" + encodeURIComponent(shareUrl) + \"&text=\" + encodeURIComponent(shareTitle), \"_blank\");\n\t\t\t\t\t\t\t\t\t} else if ($(this).hasClass(\"tsvg-fancy-html5-social-pinterest\")) {\n\t\t\t\t\t\t\t\t\t\twindow.open(\n\t\t\t\t\t\t\t\t\t\t\t\"https:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareMedia) +\n\t\t\t\t\t\t\t\t\t\t\t\"&url=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareUrl) +\n\t\t\t\t\t\t\t\t\t\t\t\"&description=\" +\n\t\t\t\t\t\t\t\t\t\t\tencodeURIComponent(shareTitle) +\n\t\t\t\t\t\t\t\t\t\t\t\"&is_video=\" +\n\t\t\t\t\t\t\t\t\t\t\t(isVideo ? \"true\" : \"false\"),\n\t\t\t\t\t\t\t\t\t\t\t\"_blank\"\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$watermark = $(\"#tsvg-fancy-html5-watermark\", inst.$lightbox);\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.html(\"<a href='\" + inst.options.freelink + \"' style='text-decoration:none;' title='jQuery Lightbox'><\/a>\");\n\t\t\t\t\t\t} else if (inst.options.watermark) {\n\t\t\t\t\t\t\tvar html = \"<img src='\" + inst.options.watermark + \"' style='border:none;' \/>\";\n\t\t\t\t\t\t\tif (inst.options.watermarklink) {\n\t\t\t\t\t\t\t\thtml = \"<a href='\" + inst.options.watermarklink + \"' target='_blank'>\" + html + \"<\/a>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$watermark.html(html);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.closeonoverlay) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).click(inst.finish);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$close.click(inst.finish);\n\t\t\t\t\t\tinst.$next.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.nextArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.$prev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.prevArrowClicked();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).resize(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(inst.options.resizeTimeout);\n\t\t\t\t\t\t\t\tinst.options.resizeTimeout = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).scroll(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.scrollBox();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(window).bind(\n\t\t\t\t\t\t\t\"orientationchange\",\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tif (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.isIPhone) {\n\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif (inst.options.windowInnerHeight != window.innerHeight) {\n\t\t\t\t\t\t\t\t\t\tinst.options.windowInnerHeight = window.innerHeight;\n\t\t\t\t\t\t\t\t\t\tinst.resizeWindow();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t500\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.enabletouchswipe) {\n\t\t\t\t\t\t\tinst.enableSwipe();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.slideTimer = function (interval, callback, updatecallback) {\n\t\t\t\t\t\tlet timerInstance = this,\n\t\t\t\t\t\t\tupdateinterval = 50,\n\t\t\t\t\t\t\tupdateTimerId = null,\n\t\t\t\t\t\t\trunningTime = 0,\n\t\t\t\t\t\t\tpaused = false,\n\t\t\t\t\t\t\tstarted = false,\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\ttimerInstance.timeout = interval;\n\t\t\t\t\t\tthis.pause = function () {\n\t\t\t\t\t\t\tif (started) {\n\t\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.resume = function (forceresume) {\n\t\t\t\t\t\t\tif (startedandpaused && !forceresume) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tstartedandpaused = false;\n\t\t\t\t\t\t\tif (started && paused) {\n\t\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.stop = function () {\n\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\tupdatecallback(-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = false;\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.start = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = false;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tupdateTimerId = setInterval(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\trunningTime += updateinterval;\n\t\t\t\t\t\t\t\t\tif (runningTime > timerInstance.timeout) {\n\t\t\t\t\t\t\t\t\t\tclearInterval(updateTimerId);\n\t\t\t\t\t\t\t\t\t\tif (callback) {\n\t\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (updatecallback) {\n\t\t\t\t\t\t\t\t\t\tupdatecallback(runningTime \/ timerInstance.timeout);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tupdateinterval\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.startandpause = function () {\n\t\t\t\t\t\t\trunningTime = 0;\n\t\t\t\t\t\t\tpaused = true;\n\t\t\t\t\t\t\tstarted = true;\n\t\t\t\t\t\t\tstartedandpaused = true;\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn this;\n\t\t\t\t\t};\n\t\t\t\t\tinst.updateTimer = function (percent) {\n\t\t\t\t\t\tvar w = Math.round(percent * 100);\n\t\t\t\t\t\tif (w > 100) {\n\t\t\t\t\t\t\tw = 100;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 > w ) {\n\t\t\t\t\t\t\tw = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-timer\", inst.$lightbox).css({ display: \"block\", width: w + \"%\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.initSlide = function () {\n\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\tinst.slideTimeout = inst.slideTimer(\n\t\t\t\t\t\t\tinst.options.slideinterval,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tinst.options.showtimer\n\t\t\t\t\t\t\t\t? function (percent) {\n\t\t\t\t\t\t\t\t\tinst.updateTimer(percent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (inst.options.autoslide) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.nextArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastarrowclicked && window[inst.options.onlastarrowclicked] && typeof window[inst.options.onlastarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t};\n\t\t\t\t\tinst.prevArrowClicked = function () {\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstarrowclicked && window[inst.options.onfirstarrowclicked] && typeof window[inst.options.onfirstarrowclicked] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstarrowclicked]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcNextPrevElem = function () {\n\t\t\t\t\t\tinst.options.nextElem = -1;\n\t\t\t\t\t\tinst.options.prevElem = -1;\n\t\t\t\t\t\tinst.options.inGroup = false;\n\t\t\t\t\t\tinst.options.groupIndex = 0;\n\t\t\t\t\t\tinst.options.groupCount = 0;\n\t\t\t\t\t\tvar group = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (i == inst.options.curElem) {\n\t\t\t\t\t\t\t\t\tinst.options.groupIndex = inst.options.groupCount;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.options.groupCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar j,\n\t\t\t\t\t\t\tcurGroup = inst.elemArray[inst.options.curElem][ELEM_GROUP];\n\t\t\t\t\t\tif (curGroup != undefined && curGroup != null) {\n\t\t\t\t\t\t\tfor (j = inst.options.curElem + 1;inst.elemArray.length > j; j++) {\n\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem) {\n\t\t\t\t\t\t\t\tfor (j = 0; inst.options.curElem > j ; j++) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.nextElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.nextElem >= 0) {\n\t\t\t\t\t\t\t\tfor (j = inst.options.curElem - 1; j >= 0; j--) {\n\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\t\tfor (j = inst.elemArray.length - 1; j > inst.options.curElem; j--) {\n\t\t\t\t\t\t\t\t\t\tif (inst.matchGroup(curGroup, inst.elemArray[j][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\t\t\t\tinst.options.prevElem = j;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.nextElem >= 0 || inst.options.prevElem >= 0) {\n\t\t\t\t\t\t\tinst.options.inGroup = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcBoxPosition = function (initW, initH) {\n\t\t\t\t\t\tvar boxW = initW + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar boxH = initH + 2 * inst.options.bordersize;\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar boxT = Math.round((winH - inst.options.navheight) \/ 2 - boxH \/ 2);\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tboxT -= Math.round(inst.options.barheight \/ 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tif (topmargin > boxT) {\n\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.insideiframe && window.self != window.top) {\n\t\t\t\t\t\t\tif (parent.window.jQuery && parent.window.jQuery(\"#\" + inst.options.iframeid).length) {\n\t\t\t\t\t\t\t\tvar iframetop = parent.window.jQuery(\"#\" + inst.options.iframeid).offset().top;\n\t\t\t\t\t\t\t\tvar parentscroll = parent.window.document.body.scrollTop;\n\t\t\t\t\t\t\t\tboxT = topmargin;\n\t\t\t\t\t\t\t\tboxT += parentscroll > iframetop ? parentscroll - iframetop : 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn [boxW, boxH, boxT];\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideNavArrows = function () {\n\t\t\t\t\t\tvar showPrev = false;\n\t\t\t\t\t\tvar showNext = false;\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowPrev = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.arrowloop || (!inst.options.arrowloop && inst.options.curElem >  inst.options.prevElem )) {\n\t\t\t\t\t\t\t\tshowNext = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showPrev) {\n\t\t\t\t\t\t\tinst.$prev.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$prev.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$prevbottom) {\n\t\t\t\t\t\t\t\tinst.$prevbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$prevtouch) {\n\t\t\t\t\t\t\t\tinst.$prevtouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (showNext) {\n\t\t\t\t\t\t\tinst.$next.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.removeClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$next.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\tif (inst.$nextbottom) {\n\t\t\t\t\t\t\t\tinst.$nextbottom.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.$nexttouch) {\n\t\t\t\t\t\t\t\tinst.$nexttouch.addClass(\"tsvg-fancy-html5-hide\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.clickHandler = function (event) {\n\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\tvar dataoptions = {};\n\t\t\t\t\t\tif (jQuery(event.target).prop(\"tagName\") == 'A') {\n\t\t\t\t\t\t\tlet link = jQuery(event.target).attr('href');\n\t\t\t\t\t\t\tif (jQuery(event.target).attr('target') == '_blank') {\n\t\t\t\t\t\t\t\twindow.open(link);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\twindow.location.assign(link)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$.each(\n\t\t\t\t\t\t\t$this.data(),\n\t\t\t\t\t\t\tfunction (key, value) {\n\t\t\t\t\t\t\t\tdataoptions[key.toLowerCase()] = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions, dataoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_ID] == $this.data(\"tsvgid\")) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tif (inst.options.iequirksmode) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ top: boxT });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadThumbnail = function (src, index) {\n\t\t\t\t\t\tlet inst_img_elem = document.createElement('img');\n\t\t\t\t\t\t\tinst_img_elem.src = src;\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('load', function () {\n\t\t\t\t\t\t\t\tif (inst.options.thumbwidth \/ inst.options.thumbheight >= inst_img_elem.naturalWidth \/ inst_img_elem.naturalHeight ) {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"width:100%;\")\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tinst_img_elem.setAttribute(\"style\",\"height:100%;\")\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").eq(index).html(inst_img_elem);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tinst_img_elem.addEventListener('error', function () {\n\t\t\t\t\t\t\t\tconsole.log('error')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t};\n\t\t\t\t\tinst.matchGroup = function (curGroup, elemGroup) {\n\t\t\t\t\t\tif (!curGroup || !elemGroup) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar curs = curGroup.split(\":\");\n\t\t\t\t\t\tvar elems = elemGroup.split(\":\");\n\t\t\t\t\t\tvar result = false;\n\t\t\t\t\t\tfor (var i in curs) {\n\t\t\t\t\t\t\tif ($.inArray(curs[i], elems) > -1) {\n\t\t\t\t\t\t\t\tresult = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showNavigation = function () {\n\t\t\t\t\t\tif (!inst.options.shownavigation) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.currentElem || !inst.currentElem[ELEM_GROUP]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar i;\n\t\t\t\t\t\tvar showNav = false;\n\t\t\t\t\t\tvar group = inst.currentElem[ELEM_GROUP];\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\tshowNav = true;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!showNav) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.navheight = inst.options.thumbheight + inst.options.thumbtopmargin + inst.options.thumbbottommargin;\n\t\t\t\t\t\tif ($(\".tsvg-fancy-html5-nav\").length > 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar check_bool = $('.tsvg-fancy-blocks-container').attr('data-tsvg-shn');\n\t\t\t\t\t\tif (check_bool === 'false') {\n\t\t\t\t\t\t\treturn\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"body\").append(\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav' style='display:block;position:fixed;bottom:0;left:0;width:100%;height:\" +\n\t\t\t\t\t\t\tinst.options.navheight +\n\t\t\t\t\t\t\t\"px;z-index:9999999;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-container' style='position:relative;margin:\" +\n\t\t\t\t\t\t\tinst.options.thumbtopmargin +\n\t\t\t\t\t\t\t\"px auto \" +\n\t\t\t\t\t\t\tinst.options.thumbbottommargin +\n\t\t\t\t\t\t\t\"px;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-prev' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;left:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-left' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-mask' style='display:block;position:relative;margin:0 auto;overflow:hidden;'>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-list'><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-next' style='display:block;position:absolute;cursor:pointer;width:\" +\n\t\t\t\t\t\t\tinst.options.navbuttonwidth +\n\t\t\t\t\t\t\t\"px;height:100%;right:0;top:0;'><i class='ts-vgallery ts-vgallery-angle-right' style='position:absolute;top:50%;left:50%;font-size:40px;transform:translateY(-50%) translateX(-50%);-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);color:\" +\n\t\t\t\t\t\t\tTotalSoft_VG_FG_SL_TIC +\n\t\t\t\t\t\t\t\"'><\/i><\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (TS_VG_FG_Show_Nav == \"true\") {\n\t\t\t\t\t\t\tvar index = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (i = 0; inst.elemArray.length > i ; i++) {\n\t\t\t\t\t\t\tif (inst.matchGroup(group, inst.elemArray[i][ELEM_GROUP])) {\n\t\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_THUMBNAIL] && inst.elemArray[i][ELEM_THUMBNAIL].length > 0) {\n\t\t\t\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").append(\n\t\t\t\t\t\t\t\t\t\t\"<div class='tsvg-fancy-html5-nav-thumb' data-arrayindex='\" +\n\t\t\t\t\t\t\t\t\t\ti +\n\t\t\t\t\t\t\t\t\t\t\"' style='float:left;overflow:hidden;cursor:pointer;opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbopacity +\n\t\t\t\t\t\t\t\t\t\t\";margin: 0 \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbgap \/ 2 +\n\t\t\t\t\t\t\t\t\t\t\"px;width:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbwidth +\n\t\t\t\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbheight +\n\t\t\t\t\t\t\t\t\t\t\"px;border:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbborder +\n\t\t\t\t\t\t\t\t\t\t\"px solid \" +\n\t\t\t\t\t\t\t\t\t\tinst.options.thumbbordercolor +\n\t\t\t\t\t\t\t\t\t\t\";'>'<\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tthis.loadThumbnail(inst.elemArray[i][ELEM_THUMBNAIL], index)\n\t\t\t\t\t\t\t\t\tindex++;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: 1 });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbhighlightbordercolor });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ opacity: inst.options.thumbopacity });\n\t\t\t\t\t\t\t\t$(this).css({ border: inst.options.thumbborder + \"px solid \" + inst.options.thumbbordercolor });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-thumb\").click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar index = $(this).data(\"arrayindex\");\n\t\t\t\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(index);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.options.totalwidth = index * (inst.options.thumbgap + inst.options.thumbwidth + 2 * inst.options.thumbborder);\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\")\n\t\t\t\t\t\t\t.css({ display: \"block\", position: \"relative\", \"margin-left\": 0, width: inst.options.totalwidth + \"px\" })\n\t\t\t\t\t\t\t.append(\"<div style='clear:both;'><\/div>\");\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t$navPrev.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) + maskWidth;\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\tmarginLeft = 0;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >= marginLeft ) {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navNext.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$navNext.click(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tvar $navList = $(\".tsvg-fancy-html5-nav-list\");\n\t\t\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\t\t\tvar maskWidth = winWidth - 2 * inst.options.navbuttonwidth;\n\t\t\t\t\t\t\t\tvar marginLeft = parseInt($navList.css(\"margin-left\")) - maskWidth;\n\t\t\t\t\t\t\t\tif (maskWidth - inst.options.totalwidth >=  marginLeft) {\n\t\t\t\t\t\t\t\t\tmarginLeft = maskWidth - inst.options.totalwidth;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (marginLeft >= 0) {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center left\" });\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$navPrev.css({ \"background-position\": \"center right\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t$navList.animate({ \"margin-left\": marginLeft });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadElem = function (elem) {\n\t\t\t\t\t\tinst.currentElem = elem;\n\t\t\t\t\t\tinst.showing = true;\n\t\t\t\t\t\tinst.showNavigation();\n\t\t\t\t\t\tinst.$elem.unbind(\"mouseenter\").unbind(\"mouseleave\").unbind(\"mousemove\");\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tif (inst.options.onshowitem && window[inst.options.onshowitem] && typeof window[inst.options.onshowitem] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.onshowitem](elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\t\tvar imgLoader = new Image();\n\t\t\t\t\t\t\t\t$(imgLoader).load(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showImage(elem, imgLoader.width, imgLoader.height);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t$(imgLoader).error(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showError();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\timgLoader.src = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\t\tinst.showSWF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\t\tinst.showVideo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\tinst.showYoutubeVimeo(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tinst.showPDF(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\t\tinst.showMP3(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\t\tinst.showWeb(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\t\tinst.showDiv(elem);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.googleanalyticsaccount && window._gaq) {\n\t\t\t\t\t\t\twindow._gaq.push([\"_trackEvent\", \"Lightbox\", \"Open\", elem[ELEM_HREF]]);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadCurElem = function () {\n\t\t\t\t\t\tinst.loadElem(inst.elemArray[inst.options.curElem]);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showError = function () {\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tinst.options.errorwidth,\n\t\t\t\t\t\t\tinst.options.errorheight,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$error.show();\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcTextWidth = function (objW) {\n\t\t\t\t\t\treturn objW - 36;\n\t\t\t\t\t};\n\t\t\t\t\t(inst.showTitle = function (w, t, description) {\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar text = \"\";\n\t\t\t\t\t\tif (inst.options.showtitle) {\n\t\t\t\t\t\t\tif (t && t.length > 0) {\n\t\t\t\t\t\t\t\ttext += t;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup) {\n\t\t\t\t\t\t\tif (inst.options.showtitleprefix) {\n\t\t\t\t\t\t\t\ttext = inst.options.titleprefix.replace(\"%NUM\", inst.options.groupIndex + 1).replace(\"%TOTAL\", inst.options.groupCount) + \" \" + text;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\").css(\"display\", \"none\");\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:inline-block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;'>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.showplaybutton && TotalSoft_VG_FG_ShSlPlIc == \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:inline-block;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:block;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:inline-block;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-elem-data-box\")\n\t\t\t\t\t\t\t\t\t.css(\"display\", \"inline-block\")\n\t\t\t\t\t\t\t\t\t.html(\n\t\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-text' style='display:block;overflow:hidden;float:left;'><div id='tsvg-fancy-html5-playpause' style='display:none;cursor:pointer;vertical-align:middle;'><div id='tsvg-fancy-html5-play' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.playimage +\n\t\t\t\t\t\t\t\t\t\t\"' style='vertical-align: top !important;'><\/div><div id='tsvg-fancy-html5-pause' style='display:none;'><img src='\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.skinsfolder +\n\t\t\t\t\t\t\t\t\t\tinst.options.pauseimage +\n\t\t\t\t\t\t\t\t\t\t\"'><\/div><\/div> <span class='tsvg-fancy-popup-text' style='display:none;padding-left:10px;color:\" +\n\t\t\t\t\t\t\t\t\t\tTS_VG_FG_Color +\n\t\t\t\t\t\t\t\t\t\t\"; '>\" +\n\t\t\t\t\t\t\t\t\t\ttext +\n\t\t\t\t\t\t\t\t\t\t\"<\/span><div class='tsvg-fancy-popup-desc'>\" +\n\t\t\t\t\t\t\t\t\t\tdescription +\n\t\t\t\t\t\t\t\t\t\t\"<\/div><\/div>\"\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT == \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"inline-block\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-desc\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_GV_FG_PT != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\".tsvg-fancy-popup-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (TotalSoft_VG_FG_ShSlPlIc != \"true\" && TotalSoft_GV_FG_PT != \"true\" && TotalSoft_GV_FG_PD != \"true\") {\n\t\t\t\t\t\t\t\tjQuery(\"#tsvg-fancy-html5-text\").css(\"display\", \"none\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.showdescription && description && description.length > 0) {\n\t\t\t\t\t\t\tinst.$text.html(text);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.inGroup && inst.options.showplaybutton) {\n\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).click(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-play\", inst.$lightbox).show();\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-pause\", inst.$lightbox).hide();\n\t\t\t\t\t\t\t\t\tif (inst.slideTimeout) {\n\t\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\t\tinst.autosliding = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-social\", inst.$lightbox).show();\n\t\t\t\t\t});\n\t\t\t\t\t(inst.showImage = function (elem, imgW, imgH) {\n\t\t\t\t\t\tvar elemW, elemH;\n\t\t\t\t\t\tif (elem[ELEM_WIDTH]) {\n\t\t\t\t\t\t\telemW = elem[ELEM_WIDTH];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = imgW;\n\t\t\t\t\t\t\telem[ELEM_WIDTH] = imgW;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (elem[ELEM_HEIGHT]) {\n\t\t\t\t\t\t\telemH = elem[ELEM_HEIGHT];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemH = imgH;\n\t\t\t\t\t\t\telem[ELEM_HEIGHT] = imgH;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, inst.options.imagekeepratio);\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tsizeObj.w,\n\t\t\t\t\t\t\tsizeObj.h,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tvar timercode =\n\t\t\t\t\t\t\t\t\t!inst.options.showtimer || !inst.options.inGroup\n\t\t\t\t\t\t\t\t\t\t? \"\"\n\t\t\t\t\t\t\t\t\t\t: \"<div id='tsvg-fancy-html5-timer' style='display:none;position:absolute;\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerposition +\n\t\t\t\t\t\t\t\t\t\t\":0;left:0;width:0;height:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timerheight +\n\t\t\t\t\t\t\t\t\t\t\"px;background-color:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timercolor +\n\t\t\t\t\t\t\t\t\t\t\";opacity:\" +\n\t\t\t\t\t\t\t\t\t\tinst.options.timeropacity +\n\t\t\t\t\t\t\t\t\t\t\";'><\/div>\";\n\t\t\t\t\t\t\t\tinst.$image.show();\n\t\t\t\t\t\t\t\tinst.$image.html(\n\t\t\t\t\t\t\t\t\t\"<div id='tsvg-fancy-html5-image-container' style='display:block;position:relative;width:100%;height:100%;\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"\" : \"overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;\") +\n\t\t\t\t\t\t\t\t\t\"'><img src='\" +\n\t\t\t\t\t\t\t\t\telem[ELEM_HREF] +\n\t\t\t\t\t\t\t\t\t\"' width='100%' height='\" +\n\t\t\t\t\t\t\t\t\t(inst.options.imagekeepratio ? \"100%\" : \"auto\") +\n\t\t\t\t\t\t\t\t\t\"' \/>\" +\n\t\t\t\t\t\t\t\t\ttimercode +\n\t\t\t\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tinst.$elem.fadeIn(\n\t\t\t\t\t\t\t\t\tinst.options.fadespeed,\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t\t\tinst.showSWF = function (elem) {\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-swf' style='display:block;width:100%;height:100%;'><\/div>\").show();\n\t\t\t\t\t\t\t\tinst.embedFlash($(\"#tsvg-html5lightbox-swf\"), elem[ELEM_HREF], \"window\", { width: dataW, height: dataH });\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showVideo = function (elem) {\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;background-color:\" + inst.options.videobgcolor + \";'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar isHTML5 = false;\n\t\t\t\t\t\t\t\tif (inst.options.isIE678 || elem[ELEM_TYPE] == 8 || (inst.options.isIE9 && inst.options.useflashonie9) || (inst.options.isIE10 && inst.options.useflashonie10) || (inst.options.isIE11 && inst.options.useflashonie11)) {\n\t\t\t\t\t\t\t\t\tisHTML5 = false;\n\t\t\t\t\t\t\t\t} else if (inst.options.isMobile) {\n\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t} else if ((inst.options.html5player || !inst.options.flashInstalled) && inst.options.html5VideoSupported) {\n\t\t\t\t\t\t\t\t\tif ((!inst.options.isFirefox && !inst.options.isOpera) || ((inst.options.isFirefox || inst.options.isOpera) && (elem[ELEM_HREF_OGG] || elem[ELEM_HREF_WEBM]))) {\n\t\t\t\t\t\t\t\t\t\tisHTML5 = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (isHTML5) {\n\t\t\t\t\t\t\t\t\tvar videoSrc = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (inst.options.isFirefox || inst.options.isOpera || !videoSrc) {\n\t\t\t\t\t\t\t\t\t\tvideoSrc = elem[ELEM_HREF_WEBM] ? elem[ELEM_HREF_WEBM] : elem[ELEM_HREF_OGG];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedHTML5Video($(\"#tsvg-html5lightbox-video\"), videoSrc, inst.options.autoplay, inst.options.loopvideo);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tvar videoFile = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\t\tif (videoFile.charAt(0) != \"\/\" && videoFile.substring(0, 5) != \"http:\" && videoFile.substring(0, 6) != \"https:\") {\n\t\t\t\t\t\t\t\t\t\tvideoFile = inst.options.htmlfolder + videoFile;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tinst.embedFlash(\n\t\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\"),\n\t\t\t\t\t\t\t\t\t\tinst.options.jsfolder + \"html5boxplayer.swf\",\n\t\t\t\t\t\t\t\t\t\t\"transparent\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\twidth: dataW,\n\t\t\t\t\t\t\t\t\t\t\theight: dataH,\n\t\t\t\t\t\t\t\t\t\t\tjsobjectname: \"html5Lightbox\",\n\t\t\t\t\t\t\t\t\t\t\thidecontrols: inst.options.videohidecontrols ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\thideplaybutton: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tvideofile: videoFile,\n\t\t\t\t\t\t\t\t\t\t\thdfile: \"\",\n\t\t\t\t\t\t\t\t\t\t\tishd: \"0\",\n\t\t\t\t\t\t\t\t\t\t\tdefaultvolume: inst.options.defaultvideovolume,\n\t\t\t\t\t\t\t\t\t\t\tautoplay: inst.options.autoplay ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\tloop: inst.options.loopvideo ? \"1\" : \"0\",\n\t\t\t\t\t\t\t\t\t\t\terrorcss: \".html5box-error\" + inst.options.errorcss,\n\t\t\t\t\t\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.loadNext = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeParams = function (href) {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tif (0 > href.indexOf(\"?\") ) {\n\t\t\t\t\t\t\treturn result;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar params = href.substring(href.indexOf(\"?\") + 1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0;params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2 && value[0].toLowerCase() != \"v\") {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = value[1];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getYoutubeId = function (href) {\n\t\t\t\t\t\tvar youtubeId = \"\";\n\t\t\t\t\t\tvar regExp = \/^.*((youtu.be\\\/)|(v\\\/)|(\\\/u\\\/\\w\\\/)|(embed\\\/)|(shorts\\\/)|(watch\\??v?=?))([^#\\&\\?]*).*\/;\n\t\t\t\t\t\tvar match = href.match(regExp);\n\t\t\t\t\t\tif (match && match[match.length -1].length == 11) {\n\t\t\t\t\t\t\tyoutubeId = match[match.length -1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn youtubeId;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareYoutubeHref = function (href) {\n\t\t\t\t\t\tlet\tyoutubeId = inst.getYoutubeId(href),\n\t\t\t\t\t\t\tprotocol = \"https:\",\n\t\t\t\t\t\t\tresult = protocol + \"\/\/www.youtube.com\/embed\/\" + youtubeId,\n\t\t\t\t\t\t\tparams = this.getYoutubeParams(href),\n\t\t\t\t\t\t\tfirst = true;\n\t\t\t\t\t\tfor (var key in params) {\n\t\t\t\t\t\t\tif (first) {\n\t\t\t\t\t\t\t\tresult += \"?\";\n\t\t\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresult += \"&\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult += key + \"=\" + params[key];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.prepareDailymotionHref = function (href) {\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\tvar protocol = \"https:\";\n\t\t\t\t\t\t\tvar id = href.match(\/(dai\\.ly\\\/)([a-zA-Z0-9\\-\\_]+)\/)[2];\n\t\t\t\t\t\t\thref = protocol + \"\" + id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn href;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showYoutubeVimeo = function (elem) {\n\t\t\t\t\t\tvar tsvg_autoplay = jQuery('.tsvg-main-content-' + id).attr('data-tsvg-autoplay');\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, true);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-video' style='display:block;width:100%;height:100%;overflow:hidden;'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar href = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tvar youtubeid = \"\";\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3) {\n\t\t\t\t\t\t\t\t\tyoutubeid = inst.getYoutubeId(href);\n\t\t\t\t\t\t\t\t\thref = inst.prepareYoutubeHref(href);\n\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&mute=1\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=0&mute=0\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 9) {\n\t\t\t\t\t\t\t\t\thref = inst.prepareDailymotionHref(href);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.autoplay) {\n\t\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 4) {\n\t\t\t\t\t\t\t\t\t\tif (href.indexOf('player.vimeo.com\/video\/') > -1) {\n\t\t\t\t\t\t\t\t\t\t\tif (tsvg_autoplay == \"true\") {\n\t\t\t\t\t\t\t\t\t\t\t\thref += \"?autoplay=1&muted=1\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (inst.options.loopvideo) {\n\t\t\t\t\t\t\t\t\thref += 0 > href.indexOf(\"?\") ? \"?\" : \"&\";\n\t\t\t\t\t\t\t\t\tswitch (elem[ELEM_TYPE]) {\n\t\t\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1&amp;playlist=\" + youtubeid;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\t\t\t\t\thref += \"loop=1\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\tcase 11:\n\t\t\t\t\t\t\t\t\t\t\thref += \"endVideoBehavior=loop\";\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && Totalsoft_FG_ShVAutoPl == \"true\") {\n\t\t\t\t\t\t\t\t\tif (0 > href.indexOf(\"?\")) {\n\t\t\t\t\t\t\t\t\t\thref += \"?wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t\t\t\thref += \"&wmode=transparent&rel=0&iv_load_policy=3\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (inst.options.videohidecontrols) {\n\t\t\t\t\t\t\t\t\t\thref += \"&controls=0&showinfo=0\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\thref += \"&mute=1&enablejsapi=1&origin=\" + document.location.protocol + \"\/\/\" + document.location.hostname;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (href.indexOf('.mp4') > -1) {\n\t\t\t\t\t\t\t\t\tlet autoplay_bool = tsvg_autoplay == \"true\" ? \"autoplay muted\" : \"\";\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html('<video controls=\"\" ' + autoplay_bool + ' name=\"media\" width=\"100%\" height=\"100%\"><source src=\"' + href + '\" type=\"video\/mp4\"><\/video>');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-video\").html(\"<iframe id='html5boxiframevideo' width='100%' height='100%' src='\" + href + \"' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (elem[ELEM_TYPE] == 3 && typeof YT === \"object\" && typeof YT.Player === \"function\") {\n\t\t\t\t\t\t\t\t\tnew YT.Player(\n\t\t\t\t\t\t\t\t\t\t\"html5boxiframevideo\",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\t\t\t\t\t\tonStateChange: function (event) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (event.data == YT.PlayerState.ENDED) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else if (elem[ELEM_TYPE] == 4 && typeof $f === \"function\") {\n\t\t\t\t\t\t\t\t\tvar vimeoIframe = $(\"#html5boxiframevideo\")[0];\n\t\t\t\t\t\t\t\t\tvar vimeoPlayer = $f(vimeoIframe);\n\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\"ready\",\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tvimeoPlayer.addEvent(\n\t\t\t\t\t\t\t\t\t\t\t\t\"finish\",\n\t\t\t\t\t\t\t\t\t\t\t\tfunction (id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showPDF = function (elem) { };\n\t\t\t\t\tinst.showMP3 = function (elem) { };\n\t\t\t\t\tinst.showDiv = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-div' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"overflow:auto;\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\tvar divID = elem[ELEM_HREF];\n\t\t\t\t\t\t\t\tif ($(divID).length > 0) {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html($(divID).html());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-div\").html(\"<div class='tsvg-fancy-html5-error'>The specified div ID does not exist.<\/div>\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.showWeb = function (elem) {\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tvar dataW = elem[ELEM_WIDTH] ? elem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\tvar dataH = elem[ELEM_HEIGHT] ? elem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: dataW, h: dataH }, false);\n\t\t\t\t\t\tvar tsvgRumbleCheck = elem[ELEM_HREF].indexOf('rumble.com\/') > -1 ? 'sandbox=\"allow-scripts\"' : '';\n\t\t\t\t\t\tdataW = sizeObj.w;\n\t\t\t\t\t\tdataH = sizeObj.h;\n\t\t\t\t\t\tinst.resizeLightbox(\n\t\t\t\t\t\t\tdataW,\n\t\t\t\t\t\t\tdataH,\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\t\t\tinst.showTitle(sizeObj.w, elem[ELEM_TITLE], elem[ELEM_DESCRIPTION]);\n\t\t\t\t\t\t\t\tinst.$image.html(\"<div id='tsvg-html5lightbox-web' style='display:block;width:100%;height:100%;\" + (inst.options.isIOS ? \"-webkit-overflow-scrolling:touch;overflow-y:scroll;\" : \"\") + \"'><\/div>\").show();\n\t\t\t\t\t\t\t\t$(\"#tsvg-html5lightbox-web\").html(\"<iframe id='tsvg-html5lightbox-web-iframe' width='100%' height='100%' src='\" + elem[ELEM_HREF] + \"' frameborder='0' \"+ tsvgRumbleCheck +\" ><\/iframe>\");\n\t\t\t\t\t\t\t\tinst.$elem.show();\n\t\t\t\t\t\t\t\tinst.showData();\n\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t\t\t\tinst.slideTimeout.start();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.scrollBox = function () { };\n\t\t\t\t\tinst.resizeWindow = function () {\n\t\t\t\t\t\tif (!inst.currentElem) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\tif (inst.options.responsivebarheight) {\n\t\t\t\t\t\t\tif (inst.options.smallscreenheight >= winH) {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightonsmallheight;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tinst.options.barheight = inst.options.barheightoriginal;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" && inst.options.barautoheight != \"auto\") {\n\t\t\t\t\t\t\t\tinst.$elemData.css({ height: inst.options.barheight + \"px\", \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar elemW, elemH, keepratio;\n\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 7 || inst.currentElem[ELEM_TYPE] == 10) {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : winWidth;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : winH - inst.options.navheight;\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\telemW = inst.currentElem[ELEM_WIDTH] ? inst.currentElem[ELEM_WIDTH] : DEFAULT_WIDTH;\n\t\t\t\t\t\t\telemH = inst.currentElem[ELEM_HEIGHT] ? inst.currentElem[ELEM_HEIGHT] : DEFAULT_HEIGHT;\n\t\t\t\t\t\t\tif (inst.currentElem[ELEM_TYPE] == 0) {\n\t\t\t\t\t\t\t\tkeepratio = inst.options.imagekeepratio;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tkeepratio = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar sizeObj = inst.calcElemSize({ w: elemW, h: elemH }, keepratio);\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(sizeObj.w, sizeObj.h);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ width: sizeObj.w + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (0 >= $(\".tsvg-fancy-html5-nav\").length ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav-list\").css({ \"margin-left\": 0 });\n\t\t\t\t\t\tvar $navMask = $(\".tsvg-fancy-html5-nav-mask\");\n\t\t\t\t\t\tvar $navPrev = $(\".tsvg-fancy-html5-nav-prev\");\n\t\t\t\t\t\tvar $navNext = $(\".tsvg-fancy-html5-nav-next\");\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\tif (winWidth >= inst.options.totalwidth ) {\n\t\t\t\t\t\t\t$navMask.css({ width: inst.options.totalwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.hide();\n\t\t\t\t\t\t\t$navNext.hide();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$navMask.css({ width: winWidth - 2 * inst.options.navbuttonwidth + \"px\" });\n\t\t\t\t\t\t\t$navPrev.show();\n\t\t\t\t\t\t\t$navNext.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.calcElemSize = function (sizeObj, keepratio) {\n\t\t\t\t\t\tif (!inst.options.responsive) {\n\t\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar winWidth = $(window).width();\n\t\t\t\t\t\twinWidth = winWidth ? winWidth : $(document).width();\n\t\t\t\t\t\tvar winH = window.innerHeight ? window.innerHeight : $(window).height();\n\t\t\t\t\t\twinH = winH ? winH : $(document).height();\n\t\t\t\t\t\tif ((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && winWidth > inst.options.sidetobottomscreenwidth) {\n\t\t\t\t\t\t\tsizeObj.w = (sizeObj.w * 100) \/ inst.options.imagepercentage;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar topmargin = inst.options.navarrowsbottomscreenwidth > $(window).width() ? inst.options.bordertopmarginsmall : inst.options.bordertopmargin;\n\t\t\t\t\t\tvar h0 = winH - inst.options.navheight - 2 * inst.options.bordersize - 2 * topmargin;\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\th0 -= inst.options.barheight;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (((inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") && inst.options.sidetobottomscreenwidth >= winWidth ) || (inst.options.notkeepratioonsmallheight && inst.options.smallscreenheight >= winH)) {\n\t\t\t\t\t\t\tkeepratio = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.h > h0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.w = Math.round((sizeObj.w * h0) \/ sizeObj.h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.h = h0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar w0 = winWidth - 2 * inst.options.bordersize - 2 * inst.options.bordermargin;\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t(inst.options.fullscreenmode && winWidth > inst.options.navarrowsbottomscreenwidth) ||\n\t\t\t\t\t\t\t(((inst.options.isTouch && inst.options.navarrowsalwaysshowontouch) || inst.options.alwaysshownavarrows) && winWidth > inst.options.navarrowsbottomscreenwidth)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tw0 -= 64;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (sizeObj.w > w0) {\n\t\t\t\t\t\t\tif (keepratio) {\n\t\t\t\t\t\t\t\tsizeObj.h = Math.round((sizeObj.h * w0) \/ sizeObj.w);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsizeObj.w = w0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn sizeObj;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showData = function () {\n\t\t\t\t\t\tif (inst.$text.text().length > 0) {\n\t\t\t\t\t\t\tinst.$elemData.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ height: \"auto\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.$text.text().length > 0 && inst.options.titlestyle == \"bottom\") {\n\t\t\t\t\t\t\tinst.$elemData.css({ \"max-height\": inst.options.barheight + \"px\" });\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-overlay\", inst.$lightbox).css({ height: Math.max($(window).height(), $(document).height()) });\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxopened\");\n\t\t\t\t\t};\n\t\t\t\t\tinst.resizeLightbox = function (elemW, elemH, bAnimate, onFinish) {\n\t\t\t\t\t\tinst.hideNavArrows();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(elemW, elemH);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\tif (inst.options.curElem >= inst.options.nextElem) {\n\t\t\t\t\t\t\tif (inst.options.onlastitem && window[inst.options.onlastitem] && typeof window[inst.options.onlastitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onlastitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.prevElem >= inst.options.curElem) {\n\t\t\t\t\t\t\tif (inst.options.onfirstitem && window[inst.options.onfirstitem] && typeof window[inst.options.onfirstitem] == \"function\") {\n\t\t\t\t\t\t\t\twindow[inst.options.onfirstitem](inst.currentElem);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode && (!inst.options.isTouch || !inst.options.navarrowsalwaysshowontouch) && !inst.options.alwaysshownavarrows) {\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseenter mousemove\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.prevElem >= 0) || (!inst.options.arrowloop && inst.options.prevElem >= 0 && inst.options.curElem > inst.options.prevElem )) {\n\t\t\t\t\t\t\t\t\t\tinst.$prev.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif ((inst.options.arrowloop && inst.options.nextElem >= 0) || (!inst.options.arrowloop && inst.options.nextElem >= 0 && inst.options.nextElem > inst.options.curElem)) {\n\t\t\t\t\t\t\t\t\t\tinst.$next.fadeIn();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tinst.$elem.bind(\n\t\t\t\t\t\t\t\t\"mouseleave\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.$next.fadeOut();\n\t\t\t\t\t\t\t\t\tinst.$prev.fadeOut();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$lightboxBox.width() && boxH == inst.$lightboxBox.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.animate({ width: boxW }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tvar speed = bAnimate ? inst.options.resizespeed : 0;\n\t\t\t\t\t\t\tif (boxW == inst.$elemWrap.width() && boxH == inst.$elemWrap.height()) {\n\t\t\t\t\t\t\t\tspeed = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\", \"min-width\": boxW - 15 });\n\t\t\t\t\t\t\tinst.$elemWrap.animate({ width: boxW, \"min-width\": boxW - 15 }, speed).animate(\n\t\t\t\t\t\t\t\t{ height: boxH, \"min-height\": boxH - 15 },\n\t\t\t\t\t\t\t\tspeed,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tinst.onAnimateFinish(onFinish);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.onAnimateFinish = function (onFinish) {\n\t\t\t\t\t\tinst.$loading.show();\n\t\t\t\t\t\tinst.$watermark.show();\n\t\t\t\t\t\tinst.$close.show();\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": inst.options.bgcolor });\n\t\t\t\t\t\tonFinish();\n\t\t\t\t\t};\n\t\t\t\t\tinst.reset = function () {\n\t\t\t\t\t\tif (inst.options.stamp) {\n\t\t\t\t\t\t\tinst.$watermark.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.showing = false;\n\t\t\t\t\t\tinst.$image.empty();\n\t\t\t\t\t\tinst.$text.empty();\n\t\t\t\t\t\tinst.$error.hide();\n\t\t\t\t\t\tinst.$loading.hide();\n\t\t\t\t\t\tinst.$image.hide();\n\t\t\t\t\t\tif (inst.options.titlestyle == \"bottom\" || inst.options.titlestyle == \"inside\") {\n\t\t\t\t\t\t\tinst.$elemData.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!inst.options.fullscreenmode) {\n\t\t\t\t\t\t\tinst.$close.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.$elem.css({ \"background-color\": \"\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.resetNavigation = function () {\n\t\t\t\t\t\tinst.options.navheight = 0;\n\t\t\t\t\t\t$(\".tsvg-fancy-html5-nav\").remove();\n\t\t\t\t\t};\n\t\t\t\t\tinst.finish = function () {\n\t\t\t\t\t\tif ($(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).length) {\n\t\t\t\t\t\t\t$(\"#tsvg-fancy-html5-lightbox-video\", inst.$lightbox).attr(\"src\", \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"head\")\n\t\t\t\t\t\t\t.find(\"style\")\n\t\t\t\t\t\t\t.each(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tif ($(this).data(\"creator\") == \"tsvg-fancy-html5box-html5-lightbox\") {\n\t\t\t\t\t\t\t\t\t\t$(this).remove();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.resetNavigation();\n\t\t\t\t\t\tinst.$lightbox.remove();\n\t\t\t\t\t\t$(\"#tsvg-fancy-html5box-html5-lightbox\").remove();\n\t\t\t\t\t\tinst.showObjects();\n\t\t\t\t\t\tif (inst.options.oncloselightbox && window[inst.options.oncloselightbox] && typeof window[inst.options.oncloselightbox] == \"function\") {\n\t\t\t\t\t\t\twindow[inst.options.oncloselightbox](inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.onLightboxClosed && typeof inst.onLightboxClosed == \"function\") {\n\t\t\t\t\t\t\tinst.onLightboxClosed(inst.currentElem);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.pauseSlide = function () { };\n\t\t\t\t\tinst.playSlide = function () { };\n\t\t\t\t\tinst.gotoSlide = function (slide) {\n\t\t\t\t\t\tif (slide == -1) {\n\t\t\t\t\t\t\tif (0 > inst.options.nextElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.nextElem;\n\t\t\t\t\t\t} else if (slide == -2) {\n\t\t\t\t\t\t\tif (0 > inst.options.prevElem ) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tinst.options.curElem = inst.options.prevElem;\n\t\t\t\t\t\t} else if (slide >= 0) {\n\t\t\t\t\t\t\tinst.options.curElem = slide;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\tinst.slideTimeout.stop();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t};\n\t\t\t\t\tinst.enableSwipe = function () {\n\t\t\t\t\t\tinst.$elem.html5lightboxTouchSwipe541409(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpreventWebBrowser: false,\n\t\t\t\t\t\t\t\tswipeLeft: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tswipeRight: function () {\n\t\t\t\t\t\t\t\t\tinst.gotoSlide(-2);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.hideObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"hidden\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.showObjects = function () {\n\t\t\t\t\t\t$(\"select, embed, object\").css({ visibility: \"visible\" });\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedHTML5Video = function ($container, src, autoplay, loopvideo) {\n\t\t\t\t\t\tlet embedVideoPoster = (inst.options.html5videoposter && inst.options.html5videoposter.length > 0 ? \"poster='\" + inst.options.html5videoposter + \"'\" : \"\"),\n\t\t\t\t\t\t\tembedVideoControls = (inst.options.nativehtml5controls && !inst.options.videohidecontrols ? \" controls='controls'\" : \"\");\n\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\"<div style='display:block;width:100%;height:100%;position:relative;'><video id='tsvg-fancy-html5-lightbox-video' width='100%' height='100%'\" + embedVideoPoster + (autoplay ? \" autoplay\" : \"\") + (loopvideo ? \" loop\" : \"\") + embedVideoControls + \" src='\" + src + \"'><\/div>\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (!inst.options.nativehtml5controls) {\n\t\t\t\t\t\t\t$(\"video\", $container).data(\"src\", src);\n\t\t\t\t\t\t\t$(\"video\", $container).lightboxHTML5VideoControls541409(inst.options.skinsfolder, inst, inst.options.videohidecontrols, false, inst.options.defaultvideovolume);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(\"video\", $container)\n\t\t\t\t\t\t\t.unbind(\"ended\")\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\t\"ended\",\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videofinished\");\n\t\t\t\t\t\t\t\t\tif (inst.autosliding) {\n\t\t\t\t\t\t\t\t\t\tinst.gotoSlide(-1);\n\t\t\t\t\t\t\t\t\t} else if (inst.options.autoclose) {\n\t\t\t\t\t\t\t\t\t\tinst.finish();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t};\n\t\t\t\t\tinst.embedFlash = function ($container, src, wmode, flashVars) {\n\t\t\t\t\t\tif (inst.options.flashInstalled) {\n\t\t\t\t\t\t\tvar htmlOptions = { pluginspage: \"\", quality: \"high\", allowFullScreen: \"true\", allowScriptAccess: \"always\", type: \"application\/x-shockwave-flash\" };\n\t\t\t\t\t\t\thtmlOptions.width = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.height = \"100%\";\n\t\t\t\t\t\t\thtmlOptions.src = src;\n\t\t\t\t\t\t\thtmlOptions.flashVars = $.param(flashVars);\n\t\t\t\t\t\t\thtmlOptions.wmode = wmode;\n\t\t\t\t\t\t\tvar htmlString = \"\";\n\t\t\t\t\t\t\tfor (var key in htmlOptions) {\n\t\t\t\t\t\t\t\thtmlString += key + \"=\" + htmlOptions[key] + \" \";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$container.html(\"<embed \" + htmlString + \"\/>\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$container.html(\n\t\t\t\t\t\t\t\t\"<div class='tsvg-html5lightbox-flash-error' style='display:block; position:relative;text-align:center; width:100%; left:0px; top:40%;'><div class='tsvg-fancy-html5-error'><div>The required Adobe Flash Player plugin is not installed<\/div><br\/><div style='display:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;'><a href=''><img src='' alt='Get Adobe Flash player' width='112' height='33'><\/img><\/a><\/div><\/div>\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tinst.checkType = function (href) {\n\t\t\t\t\t\tif (!href) {\n\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(jpg|gif|png|bmp|jpeg)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(swf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\.(mp4|m4v|ogv|ogg|webm)(.*)?$\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(youtube\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(youtu\\.be)\/i)) {\n\t\t\t\t\t\t\treturn 3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(vimeo\\.com)\/i)) {\n\t\t\t\t\t\t\treturn 4;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(dailymotion\\.com)\/i) || href.match(\/\\:\\\/\\\/.*(dai\\.ly)\/i)) {\n\t\t\t\t\t\t\treturn 9;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(pdf)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 5;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(mp3)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 6;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/[^\\.]\\.(flv)\\s*$\/i)) {\n\t\t\t\t\t\t\treturn 8;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\#\\w+\/i)) {\n\t\t\t\t\t\t\treturn 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (href.match(\/\\:\\\/\\\/.*(wistia)\/i)) {\n\t\t\t\t\t\t\treturn 11;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 7;\n\t\t\t\t\t};\n\t\t\t\t\tinst.getURLParams = function () {\n\t\t\t\t\t\tvar result = {};\n\t\t\t\t\t\tvar params = window.location.search.substring(1).split(\"&\");\n\t\t\t\t\t\tfor (var i = 0; params.length > i ; i++) {\n\t\t\t\t\t\t\tvar value = params[i].split(\"=\");\n\t\t\t\t\t\t\tif (value && value.length == 2) {\n\t\t\t\t\t\t\t\tresult[value[0].toLowerCase()] = unescape(value[1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t};\n\t\t\t\t\tinst.absoluteUrl = function (href) {\n\t\t\t\t\t\tvar link = document.createElement(\"a\");\n\t\t\t\t\t\tlink.href = href;\n\t\t\t\t\t\treturn link.protocol + \"\/\/\" + link.host + link.pathname + link.search + link.hash;\n\t\t\t\t\t};\n\t\t\t\t\tinst.showLightbox = function (type, href, title, width, height, webm, ogg, thumbnail, description) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadElem(new Array(type, href, title, null, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.addItem = function (href, title, group, width, height, webm, ogg, thumbnail, description, mediatype) {\n\t\t\t\t\t\ttype = mediatype && mediatype >= 0 ? mediatype : inst.checkType(href);\n\t\t\t\t\t\tinst.elemArray.push(new Array(type, href, title, group, width, height, webm, ogg, thumbnail, description));\n\t\t\t\t\t};\n\t\t\t\t\tinst.showItem = function (href) {\n\t\t\t\t\t\tinst.options = $.extend(inst.options, inst.defaultoptions);\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.lightboxshow\");\n\t\t\t\t\t\tinst.init();\n\t\t\t\t\t\tif (0 >= inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.hideObjects();\n\t\t\t\t\t\tfor (var i = 0; inst.elemArray.length > i; i++) {\n\t\t\t\t\t\t\tif (inst.elemArray[i][ELEM_HREF] == href) {\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (i == inst.elemArray.length) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.options.curElem = i;\n\t\t\t\t\t\tinst.calcNextPrevElem();\n\t\t\t\t\t\tinst.reset();\n\t\t\t\t\t\tinst.$lightbox.show();\n\t\t\t\t\t\tvar boxPos = inst.calcBoxPosition(inst.options.loadingwidth, inst.options.loadingheight);\n\t\t\t\t\t\tvar boxW = boxPos[0];\n\t\t\t\t\t\tvar boxH = boxPos[1];\n\t\t\t\t\t\tvar boxT = boxPos[2];\n\t\t\t\t\t\tinst.$lightboxBox.css({ \"margin-top\": boxT });\n\t\t\t\t\t\tif (!inst.options.positionFixed) {\n\t\t\t\t\t\t\tinst.$lightboxBox.css(\"margin-top\", $(window).scrollTop() + inst.options.bordertopmargin);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (inst.options.titlestyle == \"left\" || inst.options.titlestyle == \"right\") {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinst.$lightboxBox.css({ width: boxW, height: \"auto\" });\n\t\t\t\t\t\t\tinst.$elemWrap.css({ width: boxW, height: boxH });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinst.loadCurElem();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t\tinst.unbind(\"click\").click(inst.clickHandler);\n\t\t\t\t\tinst.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar self = $(this);\n\t\t\t\t\t\t\tif (self.data(\"autoopen\")) {\n\t\t\t\t\t\t\t\tsetTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\tself.click();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tself.data(\"autoopendelay\") ? self.data(\"autoopendelay\") : 0\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tvar urlParams = inst.getURLParams();\n\t\t\t\t\tif (\"html5lightboxshare\" in urlParams) {\n\t\t\t\t\t\tvar shareUrl = decodeURIComponent(urlParams[\"html5lightboxshare\"]);\n\t\t\t\t\t\tvar shareLink = $('.tsvg-html5lightbox-541409[href=\"' + shareUrl + '\"]');\n\t\t\t\t\t\tif (shareLink.length > 0) {\n\t\t\t\t\t\t\tshareLink.click();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn inst;\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightboxTouchSwipe541409 = function (options) {\n\t\t\t\t\tvar defaults = { preventWebBrowser: false, swipeLeft: null, swipeRight: null, swipeTop: null, swipeBottom: null };\n\t\t\t\t\tif (options) {\n\t\t\t\t\t\t$.extend(defaults, options);\n\t\t\t\t\t}\n\t\t\t\t\treturn this.each(\n\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\tvar startX = -1,\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\tvar curX = -1,\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\tfunction touchStart(event) {\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tstartX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tstartY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchMove(event) {\n\t\t\t\t\t\t\t\tif (defaults.preventWebBrowser) {\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tvar e = event.originalEvent;\n\t\t\t\t\t\t\t\tif (e.targetTouches.length >= 1) {\n\t\t\t\t\t\t\t\t\tcurX = e.targetTouches[0].pageX;\n\t\t\t\t\t\t\t\t\tcurY = e.targetTouches[0].pageY;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchEnd(event) {\n\t\t\t\t\t\t\t\tif (curX > 0 || curY > 0) {\n\t\t\t\t\t\t\t\t\ttriggerHandler();\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\ttouchCancel(event);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction touchCancel(event) {\n\t\t\t\t\t\t\t\tstartX = -1;\n\t\t\t\t\t\t\t\tstartY = -1;\n\t\t\t\t\t\t\t\tcurX = -1;\n\t\t\t\t\t\t\t\tcurY = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfunction triggerHandler() {\n\t\t\t\t\t\t\t\tif (Math.abs(curX - startX) > Math.abs(curY - startY)) {\n\t\t\t\t\t\t\t\t\tif (curX > startX) {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeRight) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeRight.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tif (defaults.swipeLeft) {\n\t\t\t\t\t\t\t\t\t\t\tdefaults.swipeLeft.call();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (curY > startY) {\n\t\t\t\t\t\t\t\t\tif (defaults.swipeBottom) {\n\t\t\t\t\t\t\t\t\t\tdefaults.swipeBottom.call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (defaults.swipeTop) {\n\t\t\t\t\t\t\t\t\tdefaults.swipeTop.call();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t$(this).bind(\"touchstart\", touchStart);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchmove\", touchMove);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchend\", touchEnd);\n\t\t\t\t\t\t\t\t$(this).bind(\"touchcancel\", touchCancel);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t(function ($) {\n\t\t\t\t$.fn.lightboxHTML5VideoControls541409 = function (skinFolder, parentInst, hidecontrols, hideplaybutton, defaultvolume) {\n\t\t\t\t\tvar isTouch = \"ontouchstart\" in window;\n\t\t\t\t\tvar eStart = isTouch ? \"touchstart\" : \"mousedown\";\n\t\t\t\t\tvar eMove = isTouch ? \"touchmove\" : \"mousemove\";\n\t\t\t\t\tvar eCancel = isTouch ? \"touchcancel\" : \"mouseup\";\n\t\t\t\t\tvar eClick = \"click\";\n\t\t\t\t\tvar BUTTON_SIZE = 32;\n\t\t\t\t\tvar BAR_HEIGHT = isTouch ? 48 : 36;\n\t\t\t\t\tvar hideControlsTimerId = null;\n\t\t\t\t\tvar hideVolumeBarTimeoutId = null;\n\t\t\t\t\tvar sliderDragging = false;\n\t\t\t\t\tvar isFullscreen = false;\n\t\t\t\t\tvar userActive = true;\n\t\t\t\t\tvar isIPhone = navigator.userAgent.match(\/iPod\/i) != null || navigator.userAgent.match(\/iPhone\/i) != null;\n\t\t\t\t\tvar isHd = $(this).data(\"ishd\");\n\t\t\t\t\tvar hd = $(this).data(\"hd\");\n\t\t\t\t\tvar src = $(this).data(\"src\");\n\t\t\t\t\tvar $videoObj = $(this);\n\t\t\t\t\t$videoObj.get(0).removeAttribute(\"controls\");\n\t\t\t\t\tif (isIPhone) {\n\t\t\t\t\t\tvar h = $videoObj.height() - BAR_HEIGHT;\n\t\t\t\t\t\t$videoObj.css({ height: h });\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoPlay = $(\"<div class='html5boxVideoPlay'><\/div>\");\n\t\t\t\t\tif (!isIPhone) {\n\t\t\t\t\t\t$videoObj.after($videoPlay);\n\t\t\t\t\t\t$videoPlay\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: \"50%\",\n\t\t\t\t\t\t\t\t\tleft: \"50%\",\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\twidth: 64,\n\t\t\t\t\t\t\t\t\theight: 64,\n\t\t\t\t\t\t\t\t\t\"margin-left\": -32,\n\t\t\t\t\t\t\t\t\t\"margin-top\": -32,\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playvideo.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"center center\",\n\t\t\t\t\t\t\t\t\t\"background-repeat\": \"no-repeat\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar $videoFullscreenBg = $(\"<div class='html5boxVideoFullscreenBg'><\/div>\");\n\t\t\t\t\tvar $videoControls = $(\n\t\t\t\t\t\t\"<div class='html5boxVideoControls'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVideoControlsBg'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlayPause'>\" +\n\t\t\t\t\t\t\"<div class='html5boxPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxPause'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeCurrent'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxFullscreen'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxHD'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolume'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeButton'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBar'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarBg'>\" +\n\t\t\t\t\t\t\"<div class='html5boxVolumeBarActive'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxTimeTotal'>--:--<\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeeker'>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerBuffer'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerPlay'><\/div>\" +\n\t\t\t\t\t\t\"<div class='html5boxSeekerHandler'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\" +\n\t\t\t\t\t\t\"<div style='clear:both;'><\/div>\" +\n\t\t\t\t\t\t\"<\/div>\"\n\t\t\t\t\t);\n\t\t\t\t\t$videoObj.after($videoControls);\n\t\t\t\t\t$videoObj.after($videoFullscreenBg);\n\t\t\t\t\t$videoFullscreenBg.css({ display: \"none\", position: \"fixed\", left: 0, top: 0, bottom: 0, right: 0, \"z-index\": 2147483647 });\n\t\t\t\t\t$videoControls.css({ display: \"block\", position: \"absolute\", width: \"100%\", height: BAR_HEIGHT, left: 0, bottom: 0, right: 0, \"max-width\": \"640px\", margin: \"0 auto\" });\n\t\t\t\t\tvar userActivate = function () {\n\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t};\n\t\t\t\t\t$videoObj\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\tsetInterval(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif (userActive) {\n\t\t\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\t\t\tuserActive = false;\n\t\t\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t\t\thideControlsTimerId = setTimeout(\n\t\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t\tif (!$videoObj.get(0).paused) {\n\t\t\t\t\t\t\t\t\t\t\t\t$videoControls.fadeOut();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t5e3\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t250\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$(\".html5boxVideoControlsBg\", $videoControls).css({ display: \"block\", position: \"absolute\", width: \"100%\", height: \"100%\", left: 0, top: 0, \"background-color\": \"#000000\", opacity: 0.7, filter: \"alpha(opacity=70)\" });\n\t\t\t\t\t$(\".html5boxPlayPause\", $videoControls).css({ display: \"block\", position: \"relative\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2), float: \"left\" });\n\t\t\t\t\tvar $videoBtnPlay = $(\".html5boxPlay\", $videoControls);\n\t\t\t\t\tvar $videoBtnPause = $(\".html5boxPause\", $videoControls);\n\t\t\t\t\t$videoBtnPlay\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top left\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom left\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top left\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoBtnPause\n\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_playpause.png\" + \"')\",\n\t\t\t\t\t\t\t\t\"background-position\": \"top right\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"bottom right\" });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": \"top right\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\tvar $videoTimeCurrent = $(\".html5boxTimeCurrent\", $videoControls);\n\t\t\t\t\tvar $videoTimeTotal = $(\".html5boxTimeTotal\", $videoControls);\n\t\t\t\t\tvar $videoSeeker = $(\".html5boxSeeker\", $videoControls);\n\t\t\t\t\tvar $videoSeekerPlay = $(\".html5boxSeekerPlay\", $videoControls);\n\t\t\t\t\tvar $videoSeekerBuffer = $(\".html5boxSeekerBuffer\", $videoControls);\n\t\t\t\t\tvar $videoSeekerHandler = $(\".html5boxSeekerHandler\", $videoControls);\n\t\t\t\t\t$videoTimeCurrent.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"left\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoTimeTotal.css(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\"line-height\": BAR_HEIGHT + \"px\",\n\t\t\t\t\t\t\t\"font-weight\": \"normal\",\n\t\t\t\t\t\t\t\"font-size\": \"12px\",\n\t\t\t\t\t\t\tmargin: \"0 8px\",\n\t\t\t\t\t\t\t\"font-family\": \"Arial, Helvetica, sans-serif\",\n\t\t\t\t\t\t\tcolor: \"#fff\",\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\t$videoSeeker\n\t\t\t\t\t\t.css({ display: \"block\", cursor: \"pointer\", overflow: \"hidden\", position: \"relative\", height: \"10px\", \"background-color\": \"#222\", margin: Math.floor((BAR_HEIGHT - 10) \/ 2) + \"px 4px\" })\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t$videoSeeker.bind(\n\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\tvar pos = e0.pageX - $videoSeeker.offset().left;\n\t\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).currentTime = (pos * $videoObj.get(0).duration) \/ $videoSeeker.width();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t$videoSeeker.unbind(eMove);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t$videoSeekerBuffer.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#444\" });\n\t\t\t\t\t$videoSeekerPlay.css({ display: \"block\", position: \"absolute\", left: 0, top: 0, height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\tif (!isIPhone && ($videoObj.get(0).requestFullscreen || $videoObj.get(0).webkitRequestFullScreen || $videoObj.get(0).mozRequestFullScreen || $videoObj.get(0).webkitEnterFullScreen || $videoObj.get(0).msRequestFullscreen)) {\n\t\t\t\t\t\tvar switchScreen = function (fullscreen) {\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).requestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).requestFullscreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).mozRequestFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).mozRequestFullScreen();\n\t\t\t\t\t\t\t\t} else if ($videoObj.get(0).webkitEnterFullScreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).webkitEnterFullScreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($videoObj.get(0).msRequestFullscreen) {\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).msRequestFullscreen();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (document.cancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.cancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.mozCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.mozCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitCancelFullScreen) {\n\t\t\t\t\t\t\t\tdocument.webkitCancelFullScreen();\n\t\t\t\t\t\t\t} else if (document.webkitExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.webkitExitFullscreen();\n\t\t\t\t\t\t\t} else if (document.msExitFullscreen) {\n\t\t\t\t\t\t\t\tdocument.msExitFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar switchScreenCSS = function (fullscreen) {\n\t\t\t\t\t\t\t$videoControls.css({ position: fullscreen ? \"fixed\" : \"absolute\" });\n\t\t\t\t\t\t\tvar backgroundPosY = $videoFullscreen.css(\"background-position\") ? $videoFullscreen.css(\"background-position\").split(\" \")[1] : $videoFullscreen.css(\"background-position-y\");\n\t\t\t\t\t\t\t$videoFullscreen.css({ \"background-position\": (fullscreen ? \"right\" : \"left\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t$videoFullscreenBg.css({ display: fullscreen ? \"block\" : \"none\" });\n\t\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\t\t$(document).bind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": 2147483647 });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$(document).unbind(\"mousemove\", userActivate);\n\t\t\t\t\t\t\t\t$videoControls.css({ \"z-index\": \"\" });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"fullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.fullscreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.fullscreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"mozfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.mozFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.mozFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdocument.addEventListener(\n\t\t\t\t\t\t\t\"webkitfullscreenchange\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = document.webkitIsFullScreen;\n\t\t\t\t\t\t\t\tswitchScreenCSS(document.webkitIsFullScreen);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitbeginfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = true;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoObj.get(0).addEventListener(\n\t\t\t\t\t\t\t\"webkitendfullscreen\",\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tisFullscreen = false;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfalse\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$(\"head\").append(\"<style type='text\/css'>video::-webkit-media-controls { display:none !important; }<\/style>\");\n\t\t\t\t\t\tvar $videoFullscreen = $(\".html5boxFullscreen\", $videoControls);\n\t\t\t\t\t\t$videoFullscreen\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_fullscreen.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"left top\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisFullscreen = !isFullscreen;\n\t\t\t\t\t\t\t\t\tswitchScreen(isFullscreen);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tif (hd) {\n\t\t\t\t\t\tvar $videoHD = $(\".html5boxHD\", $videoControls);\n\t\t\t\t\t\t$videoHD\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\tfloat: \"right\",\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tmargin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_hd.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": (isHd ? \"right\" : \"left\") + \" center\",\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tisHd = !isHd;\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": (isHd ? \"right\" : \"left\") + \" center\" });\n\t\t\t\t\t\t\t\t\tparentInst.isHd = isHd;\n\t\t\t\t\t\t\t\t\tvar isPaused = $videoObj.get(0).isPaused;\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).setAttribute(\"src\", (isHd ? hd : src) + \"#t=\" + $videoObj.get(0).currentTime);\n\t\t\t\t\t\t\t\t\tif (!isPaused) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).play();\n\t\t\t\t\t\t\t\t\t} else if (!isIPhone) {\n\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).pause();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\t$videoObj.get(0).volume = defaultvolume;\n\t\t\t\t\tvar volumeSaved = defaultvolume == 0 ? 1 : defaultvolume;\n\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t$videoObj.get(0).volume = volume \/ 2 + 0.1;\n\t\t\t\t\tif ($videoObj.get(0).volume === volume \/ 2 + 0.1) {\n\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\tvar $videoVolume = $(\".html5boxVolume\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeButton = $(\".html5boxVolumeButton\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBar = $(\".html5boxVolumeBar\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarBg = $(\".html5boxVolumeBarBg\", $videoControls);\n\t\t\t\t\t\tvar $videoVolumeBarActive = $(\".html5boxVolumeBarActive\", $videoControls);\n\t\t\t\t\t\t$videoVolume.css({ display: \"block\", position: \"relative\", float: \"right\", width: BUTTON_SIZE + \"px\", height: BUTTON_SIZE + \"px\", margin: Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2) }).hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t$videoVolumeBar.show();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tclearTimeout(hideVolumeBarTimeoutId);\n\t\t\t\t\t\t\t\thideVolumeBarTimeoutId = setTimeout(\n\t\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t\t$videoVolumeBar.hide();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t1e3\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeButton\n\t\t\t\t\t\t\t.css(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplay: \"block\",\n\t\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\t\t\twidth: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\theight: BUTTON_SIZE + \"px\",\n\t\t\t\t\t\t\t\t\tcursor: \"pointer\",\n\t\t\t\t\t\t\t\t\t\"background-image\": \"url('\" + skinFolder + \"html5boxplayer_volume.png\" + \"')\",\n\t\t\t\t\t\t\t\t\t\"background-position\": \"top \" + (volume > 0 ? \"left\" : \"right\"),\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.hover(\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" bottom\" });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar backgroundPosX = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[0] : $(this).css(\"background-position-x\");\n\t\t\t\t\t\t\t\t\t$(this).css({ \"background-position\": backgroundPosX + \" top\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teClick,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\tvar volume = $videoObj.get(0).volume;\n\t\t\t\t\t\t\t\t\tif (volume > 0) {\n\t\t\t\t\t\t\t\t\t\tvolumeSaved = volume;\n\t\t\t\t\t\t\t\t\t\tvolume = 0;\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tvolume = volumeSaved;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tvar backgroundPosY = $(this).css(\"background-position\") ? $(this).css(\"background-position\").split(\" \")[1] : $(this).css(\"background-position-y\");\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": (volume > 0 ? \"left\" : \"right\") + \" \" + backgroundPosY });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = volume;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(volume * 100) + \"%\" });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBar.css(\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplay: \"none\",\n\t\t\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\t\t\tleft: 4,\n\t\t\t\t\t\t\t\tbottom: \"100%\",\n\t\t\t\t\t\t\t\twidth: 24,\n\t\t\t\t\t\t\t\theight: 80,\n\t\t\t\t\t\t\t\t\"margin-bottom\": Math.floor((BAR_HEIGHT - BUTTON_SIZE) \/ 2),\n\t\t\t\t\t\t\t\t\"background-color\": \"#000000\",\n\t\t\t\t\t\t\t\topacity: 0.7,\n\t\t\t\t\t\t\t\tfilter: \"alpha(opacity=70)\",\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$videoVolumeBarBg.css({ display: \"block\", position: \"relative\", width: 10, height: 68, margin: 7, cursor: \"pointer\", \"background-color\": \"#222\" });\n\t\t\t\t\t\t$videoVolumeBarActive.css({ display: \"block\", position: \"absolute\", bottom: 0, left: 0, width: \"100%\", height: \"100%\", \"background-color\": \"#fcc500\" });\n\t\t\t\t\t\t$videoVolumeBarBg\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teStart,\n\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.bind(\n\t\t\t\t\t\t\t\t\t\teMove,\n\t\t\t\t\t\t\t\t\t\tfunction (e) {\n\t\t\t\t\t\t\t\t\t\t\tvar e0 = isTouch ? e.originalEvent.touches[0] : e;\n\t\t\t\t\t\t\t\t\t\t\tvar vol = 1 - (e0.pageY - $videoVolumeBarBg.offset().top) \/ $videoVolumeBarBg.height();\n\t\t\t\t\t\t\t\t\t\t\tvol = vol > 1 ? 1 : 0 > vol ? 0 : vol;\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeBarActive.css({ height: Math.round(vol * 100) + \"%\" });\n\t\t\t\t\t\t\t\t\t\t\t$videoVolumeButton.css({ \"background-position\": \"left \" + (vol > 0 ? \"top\" : \"bottom\") });\n\t\t\t\t\t\t\t\t\t\t\t$videoObj.get(0).volume = vol;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t.bind(\n\t\t\t\t\t\t\t\teCancel,\n\t\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\t\t$videoVolumeBarBg.unbind(eMove);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tvar calcTimeFormat = function (seconds) {\n\t\t\t\t\t\tvar h0 = Math.floor(seconds \/ 3600);\n\t\t\t\t\t\tvar h = 10 > h0 ? \"0\" + h0 : h0;\n\t\t\t\t\t\tvar m0 = Math.floor((seconds - h0 * 3600) \/ 60);\n\t\t\t\t\t\tvar m = 10 > m0 ? \"0\" + m0 : m0;\n\t\t\t\t\t\tvar s0 = Math.floor(seconds - (h0 * 3600 + m0 * 60));\n\t\t\t\t\t\tvar s = 10 > s0 ? \"0\" + s0 : s0;\n\t\t\t\t\t\tvar r = m + \":\" + s;\n\t\t\t\t\t\tif (h0 > 0) {\n\t\t\t\t\t\t\tr = h + \":\" + r;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t};\n\t\t\t\t\tif (hideplaybutton) {\n\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t}\n\t\t\t\t\tif (hidecontrols) {\n\t\t\t\t\t\t$videoControls.hide();\n\t\t\t\t\t}\n\t\t\t\t\tvar onVideoPlay = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoBtnPlay.hide();\n\t\t\t\t\t\t\t$videoBtnPause.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoPause = function () {\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoEnded = function () {\n\t\t\t\t\t\t$(window).trigger(\"html5lightbox.videoended\");\n\t\t\t\t\t\tif (!hideplaybutton) {\n\t\t\t\t\t\t\t$videoPlay.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!hidecontrols) {\n\t\t\t\t\t\t\t$videoControls.show();\n\t\t\t\t\t\t\tclearTimeout(hideControlsTimerId);\n\t\t\t\t\t\t\t$videoBtnPlay.show();\n\t\t\t\t\t\t\t$videoBtnPause.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoUpdate = function () {\n\t\t\t\t\t\tvar curTime = $videoObj.get(0).currentTime;\n\t\t\t\t\t\tif (curTime) {\n\t\t\t\t\t\t\t$videoTimeCurrent.text(calcTimeFormat(curTime));\n\t\t\t\t\t\t\tvar duration = $videoObj.get(0).duration;\n\t\t\t\t\t\t\tif (duration) {\n\t\t\t\t\t\t\t\t$videoTimeTotal.text(calcTimeFormat(duration));\n\t\t\t\t\t\t\t\tif (!sliderDragging) {\n\t\t\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t\t\tvar pos = Math.round((sliderW * curTime) \/ duration);\n\t\t\t\t\t\t\t\t\t$videoSeekerPlay.css({ width: pos });\n\t\t\t\t\t\t\t\t\t$videoSeekerHandler.css({ left: pos });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tvar onVideoProgress = function () {\n\t\t\t\t\t\tif ($videoObj.get(0).buffered && $videoObj.get(0).buffered.length > 0 && !isNaN($videoObj.get(0).buffered.end(0)) && !isNaN($videoObj.get(0).duration)) {\n\t\t\t\t\t\t\tvar sliderW = $videoSeeker.width();\n\t\t\t\t\t\t\t$videoSeekerBuffer.css({ width: Math.round((sliderW * $videoObj.get(0).buffered.end(0)) \/ $videoObj.get(0).duration) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\ttry {\n\t\t\t\t\t\t$videoObj.bind(\"play\", onVideoPlay);\n\t\t\t\t\t\t$videoObj.bind(\"pause\", onVideoPause);\n\t\t\t\t\t\t$videoObj.bind(\"ended\", onVideoEnded);\n\t\t\t\t\t\t$videoObj.bind(\"timeupdate\", onVideoUpdate);\n\t\t\t\t\t\t$videoObj.bind(\"progress\", onVideoProgress);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t})(jQuery);\n\t\t\t\t\t\tjQuery(\".tsvg-html5lightbox-541409\").html5lightbox541409({},'541409');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-541409').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse541409 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse541409 = tsvgFancyHoverInverse541409 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-541409 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse541409});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval541409);\n\t\t}\n\t},\n\ttsvgFancyReference541409 = (\n\t\tfunction tsvgFancySameCall541409() {\n\t\t\ttsvgFancyInterval541409 = setInterval(tsvgFancyIntervalFunction541409, 1000);\n\t\t\treturn tsvgFancySameCall541409;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\n\t#tsvg-section-541409 *::after, #tsvg-section-541409 *::before, #tsvg-section-541409 * {\n\t\t-webkit-box-sizing: border-box;\n\t\t-moz-box-sizing: border-box;\n\t\tbox-sizing: border-box;\n\t}\n\t#tsvg-section-541409 *::after, #tsvg-section-541409 *::before {\n\t\tline-height: 1 !important;\t\n\t}\n\t.tsvg-main-content-541409[data-pagination='pagination']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-main-content-541409[data-pagination='load-more']   figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content,.tsvg-pagination-pages-wrapper[data-pagination='all'],.tsvg-pagination-disabled-item{\n\t\tdisplay: none!important;\n\t}\n\tsection.tsvg-section-541409 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\n\t\tdisplay: flex !important;\n\t\ttransition : all 3s;\n\t\tposition: relative;\n\t}\n\tsection.tsvg-section-541409 .tsvg-pagination-page-item a:focus{\n\t  \toutline:none!important;\n\t  \tbox-shadow:unset!important;\n\t}\n\t\t\t.tsvg-main-content-541409[data-pagination='pagination']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show,.tsvg-main-content-541409[data-pagination='load-more']  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content.tsvg-layout-item-show{\n\t\t\tdisplay: inline-block!important;\n\t\t}\n\t\t:root{\n\t\t--tsvg_s_c_541409:#555;\n\t\t--tsvg_s_bc_541409:#ddd;\n\t\t--tsvg_s_h_c_541409:#cf095c;\n\t\t--tsvg_s_h_bc_541409:#cf095c;\n\t\t--tsvg_s_ac_c_541409:#cf095c;\n\t\t--tsvg_s_ac_bc_541409:#cf095c;\n\t\t--tsvg_s_fs_541409:18px;\n\t\t--tsvg_s_ff_541409:Amaranth;\n\t\t--tsvg_s_b_c_541409:#ddd;\n\t\t--tsvg_s_b_s_541409:2px;\n\t\t--tsvg_s_pl_fs_541409:14px;\n\t\t--tsvg_s_l_c_541409:#444;\n\t\t--tsvg_s_l_bc_541409:#fff;\n\t\t--tsvg_s_l_fs_541409:20px;\n\t\t--tsvg_s_l_ff_541409:Amaranth;\n\t\t--tsvg_s_l_bc_2_541409:#ff1f71;\n\t\t--tsvg_s_l_h_c_541409:#fff;\n\t\t--tsvg_s_l_h_bc_541409:#6225E6;\n\t\t--tsvg_s_l_h_bc_2_541409:#FBC638;\n\t}\n\tsection.tsvg-section-541409 .tsvg-pagination-pages-wrapper{\n\t   display: flex;\n\t   justify-content: center;\n\t}\n\tsection.tsvg-section-541409  .tsvg-pagination-pages{\n\t\tfont-family: var(--tsvg_s_ff_541409)!important;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tposition: relative;\n\t\tpadding-left: 0;\n\t\tpadding: 20px 0!important;\n\t\tmargin: 20px 0;\n\t\tborder-radius: 4px;\n\t\tflex-direction: row;\n\t\toverflow-x: auto;\n\t\toverflow-y: hidden;\n\t\tmax-width: 100%;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\talign-content: center;\n\t\ttext-align: center;\n\t\twidth: unset !important;\n\t\toverflow: hidden !important;\n\t}\n\tsection.tsvg-section-541409 .tsvg-pagination-pages>li {\n\t\tdisplay: inline;\n\t\tfont-family: var(--tsvg_s_ff_541409)!important;\n\t}\n\tsection.tsvg-section-541409 .tsvg-pagination-pages>li>a,section.tsvg-section-541409 .tsvg-pagination-pages>li>span {\n\t\tposition: relative;\n\t\tfloat: left;\n\t\tpadding: 6px 12px;\n\t\tmargin-left: -1px;\n\t\tline-height: 1.42857143;\n\t\tcolor: #337ab7 ;\n\t\ttext-decoration: none;\n\t\tbackground-color: #fff ;\n\t\tborder: 1px solid #ddd;\n\t}\n\t.tsvg-pagination-page-link{\n\t  \tpadding: 0 8px !important;\n\t}\n\t.tsvg-main-content-541409 figure .tsvg-load{\n\t\t-webkit-transition: height 3s ease-out;\n\t\t-moz-transition: height 3s ease-out;\n\t\t-o-transition: height 3s ease-out;\n\t\t-ms-transition: height 3s ease-out;\n\t\ttransition: height 3s ease-out;\n\t}\n\t\/* ef1 *\/\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item a.tsvg-pagination-page-link{\n\t\tdisplay: flex !important;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tcolor: var(--tsvg_s_c_541409) ;\n\t\tbackground-color: var(--tsvg_s_bc_541409);\n\t\tfont-weight: 500 !important;\n\t\tmin-height: 35px;\n\t\tmin-width: 35px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tpadding: 0px;\n\t\tmargin: 0 8px;\n\t\tborder-radius: 10px;\n\t\tborder: none !important;\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\ttransition: all 0.4s ease 0s;\n\t\tbox-shadow: none !important;\n\t\ttext-align:center !important;\n\t\tfont-family: inherit;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item:not(li.tsvg-pagination-page-item[data-item-number=\"next\"],li.tsvg-pagination-page-item[data-item-number=\"prev\"]) a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_fs_541409) !important;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"next\"] a.tsvg-pagination-page-link,\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-item[data-item-number=\"prev\"] a.tsvg-pagination-page-link{\n\t\tfont-size: var(--tsvg_s_pl_fs_541409);\n\t}\n\t.tsvg-section-541409 .tsvg-pagination-page-link span{\n\t\theight: unset !important;\n\t\twidth: unset !important;\n\t\tmargin-right: unset !important;\n\t\ttext-transform: none !important;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li:first-child a.tsvg-pagination-page-link span,\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li:last-child a.tsvg-pagination-page-link span{\n\t\tfont-size: var(--tsvg_s_pl_fs_541409);\n\t\tcolor:var(--tsvg_s_c_541409) !important;\n\t\tfont-weight: 600 !important;\n\t\tborder: unset !important;\n\t\tbackground: unset !important;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link span:hover{\n\t\tcolor:var(--tsvg_s_h_c_541409) !important;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover{\n\t\tcolor:var(--tsvg_s_h_c_541409) !important;\n\t\tbackground-color: transparent !important;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover,\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link{\n\t\tcolor:var(--tsvg_s_ac_c_541409);\n\t\tbackground-color: transparent;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:before,\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\tcontent: '';\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 2px solid var(--tsvg_s_b_c_541409);\n\t\tborder-radius: 50%;\n\t\topacity: 0;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tz-index: -1;\n\t\ttransition: all 0.4s ease 0s;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:after{\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\tborder: none !important;\n\t\ttransform: scale(0);\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:before,\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:before{\n\t\topacity: 1;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li a.tsvg-pagination-page-link:hover:after{\n\t  background-color:var(--tsvg_s_h_bc_541409);\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:hover:after,\n\t.tsvg-section-541409  .tsvg-pagination-pages[data-ef='ef-1'] li.tsvg-pagination-page-active a.tsvg-pagination-page-link:after{\n\t  background-color:var(--tsvg_s_ac_bc_541409);\n\t}\n\t@media only screen and (max-width: 480px){\n\t\t.tsvg-pagination-pages[data-ef='ef-1']{\n\t\t\tfont-size: 0;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t.tsvg-pagination-pages[data-ef='ef-1'] li{\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t}\n\t#tsvg-section-541409   .tsvg-pagination-pages-wrapper .tsvg-load-more-content{\n\t\toutline:0;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content,\n\t.tsvg-section-541409  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:hover{\n\t   color:  var(--tsvg_s_l_c_541409) !important;\n\t   background:  var(--tsvg_s_l_bc_541409);\n\t   font-family:  var(--tsvg_s_l_ff_541409)!important;\n\t   font-size:  var(--tsvg_s_l_fs_541409);\n\t   font-weight: 500;\n\t\tmargin: 20px 0;\n\t   text-transform: uppercase;\n\t   letter-spacing: 1px;\n\t   padding: 11px 25px 10px;\n\t   border: none;\n\t   border-radius: 30px;\n\t   box-shadow: 0 15px 35px rgba(0,0,0,0.2);\n\t   position: relative;\n\t   z-index: 1;\n\t   transition: all 0.3s ease 0s;\n\t   text-decoration: none;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:before,\n\t.tsvg-section-541409  .tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t\tcontent: \"\";\n\t\tbackground: var(--tsvg_s_l_bc_2_541409);\n\t\twidth: 30px;\n\t\theight: 7px;\n\t\tborder-radius: 10px 10px;\n\t\tbox-shadow: 0 0 5px var(--tsvg_s_l_bc_2_541409);\n\t\ttransform: translateX(-50%);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: -4px;\n\t\tmargin:0;\n\t\topacity:1;\n\t\toutline:0;\n\t\tz-index: -1;\n\t\ttransition: all 0.3s;\n\t}\n\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content:after{\n\t \ttop: auto!important;\n\t \tbottom: -4px;\n\t}\n\t@media only screen and (max-width: 767px){\n\t\t.tsvg-pagination-pages-wrapper[data-load-vw='ef-1'] .tsvg-load-more-content{ margin-bottom: 30px; }\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"],.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]{\n\t  \tpadding:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t\tpadding-left:20px;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item {\n\t  \tpadding-bottom:0!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"]>.tsvg_position_item {\n\t  \twidth: 47%;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] >.tsvg_position_item>img,.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages-wrapper\"] >.tsvg_position_item>img {\n\t  \tposition: unset!important;\n\t  \tleft: unset!important;\n\t  \ttop: unset!important;\n\t  \tbottom: unset!important;\n\t  \tright: unset!important;\n\t}\n\t.tsvg_position_select[data-change-elem=\".tsvg-pagination-pages\"] .tsvg_position_item.tsvg_active:before {\n\t \ttop: 50%;\n\t \ttransform: translate(0, -50%);\n\t \tmargin:0;\n\t \tleft: 0;\n\t}\n\t.tsvg-pagination-pages .tsvg-pagination-page-item .tsvg-pagination-page-link .ts-vgallery {\n\t\tline-height: 1.4;\n\t} \n\t@-webkit-keyframes line {\n\t \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t \t}\n\t \t40% {\n\t\t\ttransform: translateY(-20px);\n\t \t}\n\t \t65% {\n\t\t\ttransform: translateY(0);\n\t \t}\n\t \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t \t}\n\t}\n\t@keyframes line {\n\t  \t5%, 10% {\n\t\t\ttransform: translateY(-30px);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: translateY(-20px);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: translateY(0);\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: translateY(30px);\n\t  \t}\n\t}\n\t@-webkit-keyframes svg {\n\t \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t \t}\n\t \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_541409);\n\t \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_541409);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@keyframes svg {\n\t  \t0%, 20% {\n\t\t\tstroke-dasharray: 0;\n\t\t\tstroke-dashoffset: 0;\n\t  \t}\n\t  \t21%, 89% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 26px;\n\t\t\tstroke-width: 3px;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_541409);\n\t  \t}\n\t  \t100% {\n\t\t\tstroke-dasharray: 26px;\n\t\t\tstroke-dashoffset: 0;\n\t\t\tmargin: -10px 0 0 -10px;\n\t\t\tstroke:var(--tsvg_s_l_c_541409);\n\t  \t}\n\t  \t12% {\n\t\t\topacity: 1;\n\t  \t}\n\t  \t20%, 89% {\n\t\t\topacity: 0;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\topacity: 1;\n\t  \t}\n\t}\n\t@-webkit-keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@keyframes background {\n\t  \t10% {\n\t\t\ttransform: scaleY(0);\n\t  \t}\n\t  \t40% {\n\t\t\ttransform: scaleY(0.15);\n\t  \t}\n\t  \t65% {\n\t\t\ttransform: scaleY(0.5);\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t75% {\n\t\t\tborder-radius: 0 0 50% 50%;\n\t  \t}\n\t  \t90%, 100% {\n\t\t\tborder-radius: 0;\n\t  \t}\n\t  \t75%, 100% {\n\t\t\ttransform: scaleY(1);\n\t  \t}\n\t}\n\t@media (max-width: 450px) {\n\t \tbody .container .button {\n\t\t\tmargin: 12px;\n\t \t}\n\t}\n\t.tsvg-section-541409 .tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button span,.tsvg-pagination-pages-wrapper[data-pagination='load-more'] .tsvg-load-more-content-button i{\n\t  display:none;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\n\t  display:none;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\n\t  display:none;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-541409  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\t.tsvg-section-541409 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-541409  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\n\t  display:inline-block;\n\t}\n\ta.tsvg-pagination-page-link{\n\t  \tdisplay:inline-block!important;\n\t}\n\t#tsvg-section-541409 .tsvg-layout-item-show-none{\n\t\tvisibility: hidden !important;\n\t}\n<\/style>\n\n\t\t<nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"541409\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\n\t\t\t<ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\"  data-next-item=\"Next\" data-prev-item=\"Prev\" data-prev-icon=\"ts-vgallery ts-vgallery-ban\" data-next-icon=\"ts-vgallery ts-vgallery-ban\" data-load-icon=\"ts-vgallery ts-vgallery-ban\" data-load-text=\"Load More ...\">\n\t\t\t<\/ul>\n\t\t<\/nav>\n\t\t<script>\n\tlet tsvgPaginationLoad541409 = 'false';\n\tfunction tsvgPaginationCreate541409(tsvgPaginationData541409,tsvgFrom541409, tsvgTo541409) {\n\t\tlet tsvgShowData541409 = tsvgPaginationData541409.slice(tsvgFrom541409, tsvgTo541409);\n\t\tlet tsvgThemeName541409 = jQuery(tsvgPaginationData541409).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\n\t\tjQuery.each( tsvgShowData541409, function (index, value) {\n\t\t\tlet tsvgAnimDelay541409 = 0.3 * (index + 1);\t\n\t\t\tif(tsvgPaginationLoad541409 == 'true'){\n\t\t\t\ttsvgAnimDelay541409 = 0.9 * (index + 1);\t\n\t\t\t}\n\t\t   \tjQuery(this).css({'-moz-animation-delay': tsvgAnimDelay541409+'s','-webkit-animation-delay': tsvgAnimDelay541409+'s','animation-delay': tsvgAnimDelay541409+'s'});\n\t\t\tjQuery(this).addClass('tsvg-layout-item-show');\n\t\t\tif( tsvgThemeName541409 == 'Grid Video Gallery' ) {\n            \tjQuery(this).addClass('tsvg-layout-item-show-none');\n\t\t\t\tif(tsvgShowData541409.length - 1 === index){\n\t\t\t\t\tlet tsvgGridUpdateInterval541409= setInterval(tsvgGridUpdate541409, 100);\n\t\t\t\t\tfunction tsvgGridUpdate541409() {\n\t\t\t\t\t\tif( tsvgGridPagination541409(tsvgPaginationData541409) === true ){\n\t\t\t\t\t\t\tclearInterval(tsvgGridUpdateInterval541409);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tif( jQuery('.tsvg-main-content-541409').attr(\"data-pagination\") == 'load-more' && !jQuery('.tsvg-main-content-541409 figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show').length){\n\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-pages li,.tsvg-section-541409 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\t}\n\t}\n\tfunction tsvgPaginationGenerate541409() {\n\t\tlet tsvgPaginationData541409 = jQuery('.tsvg-main-content-541409  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content'),\n\t\t\ttsvgItemsLength = tsvgPaginationData541409.length,\n\t\t\ttsvgNumberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-541409').attr('data-item-number')),\n\t\t\ttsvgPaginationItemsLenth,\n\t\t\ttsvgPaginationResultLength,\n\t\t\ttsvgShowFrom,\n\t\t\ttsvgShowTo,\n\t\t\ttsvgPageNumber = 1,\n\t\t\ttsvgNextText = jQuery('.tsvg-section-541409 .tsvg-pagination-pages').attr('data-next-item'),\n\t\t\ttsvgPrevText = jQuery('.tsvg-section-541409 .tsvg-pagination-pages').attr('data-prev-item'),\n\t\t\ttsvgPrevIcon = jQuery('.tsvg-section-541409 .tsvg-pagination-pages').attr('data-prev-icon'),\n\t\t\ttsvgNextIcon = jQuery('.tsvg-section-541409 .tsvg-pagination-pages').attr('data-next-icon'),\n\t\t\ttsvgLoadIcon = jQuery('.tsvg-section-541409 .tsvg-pagination-pages').attr('data-load-icon'), \n\t\t\ttsvgLoadText = jQuery('.tsvg-section-541409 .tsvg-pagination-pages').attr('data-load-text'),\n\t\t\ttsvgMaxHeight =jQuery('.tsvg-main-content-541409').height(), \n\t\t\ttsvgCurrentPosition = 1,\n\t\t\ttsvgPageView = jQuery('.tsvg-section-541409 .tsvg-pagination-pages').attr('data-vw');\n\t\tjQuery('.tsvg-main-content-541409  figure.tsvg-figure-content ul.tsvg-ul-content').removeClass('tsvg-load');\n\t\tjQuery('.tsvg-main-content-541409  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\tjQuery('.tsvg-section-541409 .tsvg-pagination-pages li,.tsvg-section-541409 .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\n\t\tif( jQuery('.tsvg-main-content-541409').attr(\"data-pagination\") == 'pagination'){\n\t\t\ttsvgPaginationItemsLenth = Math.ceil(tsvgItemsLength \/ tsvgNumberItemsPerPage);\n\t\t\ttsvgPaginationResultLength = tsvgPaginationItemsLenth = tsvgPaginationItemsLenth < 1 ? 1 : tsvgPaginationItemsLenth;\n\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-prev\" data-item-number=\"prev\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span >${tsvgPrevText}<\/span> <i class=\"${tsvgPrevIcon}\"><\/i><\/a><\/li>`)\n\t\t\tfor (let i = 0; i < tsvgPaginationResultLength; i++) {\n\t\t\t\tlet tsvgItemNumber = i + 1;\n\t\t\t\tjQuery('.tsvg-section-541409 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgItemNumber}\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgItemNumber}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView == 'vw-4'){ jQuery('.tsvg-section-541409  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\n\t\t\tif(tsvgPageView == 'vw-2' && tsvgPaginationItemsLenth > 7){\n\t\t\t\tif((tsvgPaginationResultLength + 1) < tsvgPaginationItemsLenth) jQuery('.tsvg-section-541409  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tif(tsvgPageView=='vw-3'&& tsvgPaginationItemsLenth>4){\n\t\t\t\tif((tsvgPaginationResultLength+1) < tsvgPaginationItemsLenth)jQuery('.tsvg-section-541409  .tsvg-pagination-pages').append('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>')\n\t\t\t\tjQuery('.tsvg-section-541409 .tsvg-pagination-pages').append(`<li data-item-number=\"${tsvgPaginationItemsLenth}\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">${tsvgPaginationItemsLenth}<\/a><\/li>`)\n\t\t\t}\n\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-pages').append(`<li class=\"tsvg-pagination-page-item tsvg-pagination-page-item-next\" data-item-number=\"next\"><a href=\"javascript:void(0)\" class=\"tsvg-pagination-page-link\"  ><span>${tsvgNextText}<\/span><i class=\"${tsvgNextIcon}\"><\/i><\/a><\/li>`)\n\t\t\tjQuery('.tsvg-section-541409  ul.tsvg-pagination-pages li').not('.page-null').on(\"click\",function (e) {\n\t\t\t\tif( jQuery(this).hasClass('tsvg-pagination-page-active')){\n\t\t\t\t\treturn false;\n\t\t\t  \t}\n\t\t\t  \ttsvgMaxHeight = jQuery('.tsvg-main-content-541409').height();\n\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-541409')[0];\n\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tlet tsvgEffectOpenType =  jQuery('.tsvg-main-content-541409').attr('data-item-open');\n\t\t\t\tif(tsvgEffectOpenType!='effect-1'){\n\t\t\t\t  \tjQuery('.tsvg-main-content-541409').css({'min-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t\t\t}\n\t\t\t\tjQuery('.tsvg-main-content-541409  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').removeClass('tsvg-layout-item-show');\n\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\n\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\n\t\t\t\tjQuery(this).addClass('tsvg-pagination-page-active');\n\t\t\t\ttsvgPageNumber = jQuery(this).attr('data-item-number');\n\t\t\t\tif (tsvgPageNumber == '1') {\n\t\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t} else{\n\t\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\tif (+tsvgPageNumber == tsvgPaginationItemsLenth) {\n\t\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t}\n\t\t\t\ttsvgShowFrom = tsvgNumberItemsPerPage * (tsvgPageNumber - 1);\n\t\t\t\ttsvgShowTo = tsvgShowFrom + tsvgNumberItemsPerPage;\n\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\n\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\n\t\t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-541409')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-541409  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t\t\t\t\tlet tsvgLastElement = jQuery('.tsvg-section-541409  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\n\t\t\t\t\tlet tsvgPrevPosition = tsvgCurrentPosition - 1;\n\t\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t\t\t\t\tlet tsvgFirstItemPosition =  parseInt(jQuery(\".tsvg-section-541409 .tsvg-pagination-page-number\").first().attr('data-item-number'));\n\t\t\t\t\tif(tsvgFirstItemPosition>1&&tsvgLastElement){\n\t\t\t\t\t\tjQuery(\".tsvg-section-541409  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))-1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-541409  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-541409  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-541409  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t\t\t\t\tif((parseInt(jQuery(\".tsvg-section-541409  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-541409  .tsvg-pagination-pages\").find('.page-null').remove();\n\t\t\t\t\tif(tsvgLastElement){ } else { jQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-541409  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active') } \n\t\t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t\t\t\t\tjQuery(`.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"${tsvgPrevPosition}\"]`).click()\n\t\t\t\t})\n\t  \t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\n\t  \t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\n\t  \t\t\t\tif(jQuery(this).parent().find('.tsvg-pagination-page-active').length) {\n\t\t\t\t\t\tconst tsvgMain = jQuery('.tsvg-section-541409')[0]\n\t\t\t\t\t\tconst tsvgHeaderOffset = 200;\n\t\t\t\t\t\tconst tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\n\t\t\t\t\t\tconst tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\n\t\t\t\t\t\twindow.scrollTo({\n\t\t\t\t\t\t  \ttop: tsvgOffsetPosition,\n\t\t\t\t\t\t  \tbehavior: \"smooth\"\n\t\t\t\t\t\t});\n\t  \t\t\t\t}\n\t \t\t\t\ttsvgCurrentPosition = parseInt(jQuery('.tsvg-section-541409  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\n\t \t\t\t\tlet tsvgNextPosition = tsvgCurrentPosition + 1;\n\t \t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\n\t \t\t\t\tlet tsvgLastItemPosition =  parseInt(jQuery(\".tsvg-section-541409  .tsvg-pagination-page-number\").last().attr('data-item-number'));\n\t \t\t\t\tif(((tsvgPaginationItemsLenth-1)>tsvgLastItemPosition && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))||((tsvgPaginationItemsLenth-1)>=tsvgLastItemPosition && (tsvgPageView=='vw-4' || tsvgPageView=='vw-5'))){\n\t\t  \t\t\t\tjQuery(\".tsvg-section-541409  .tsvg-pagination-page-number\").each(function(){\n\t\t\t\t\t\t\tlet tsvgItemPosition =  parseInt(jQuery(this).attr('data-item-number'))+1;\n\t\t\t\t\t\t\tjQuery(this).attr('data-item-number',tsvgItemPosition).find('a').text(tsvgItemPosition)\n\t\t  \t\t\t\t});\n\t \t\t\t\t}\n\t \t\t\t\tif(tsvgPaginationItemsLenth > (parseInt(jQuery(\".tsvg-section-541409  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-541409  .tsvg-pagination-pages\").find('.page-null').length && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3') )jQuery(\".tsvg-section-541409  .tsvg-pagination-page-number\").last().after('<li data-item-number=\" \" class=\"tsvg-pagination-page-item page-null  \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">...<\/a><\/li>') \n\t \t\t\t\tif((parseInt(jQuery(\".tsvg-section-541409  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= tsvgPaginationItemsLenth && (tsvgPageView=='vw-2' || tsvgPageView=='vw-3'))jQuery(\".tsvg-section-541409  .tsvg-pagination-pages\").find('.page-null').remove();\n\t \t\t\t\tif (tsvgCurrentPosition == '1') {\n\t\t  \t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t} else{\n\t\t\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\n\t\t\t\t\t}\n\t  \t\t\t\tif (+tsvgCurrentPosition == tsvgPaginationItemsLenth) {\n\t\t\t\t\t\t  jQuery('.tsvg-section-541409 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}else{\n\t\t\t\t\t\t  jQuery('.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\n\t  \t\t\t\t}\n\t  \t\t\t\tjQuery(`.tsvg-section-541409  .tsvg-pagination-page-item[data-item-number=\"${tsvgNextPosition}\"]`).click();\n\t  \t\t\t})\n\t\t\t\ttsvgPaginationCreate541409(tsvgPaginationData541409,tsvgShowFrom, tsvgShowTo)\n\t  \t\t\tif(tsvgEffectOpenType=='effect-1' && jQuery('.tsvg-main-content-541409 figure>ul>li').length>1){\n\t\t  \t\t\tjQuery('.tsvg-section-541409 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\n\t\t  \t\t\tjQuery('.tsvg-section-541409').attr('style','transition:unset; margin-bottom:140px;');\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-section-541409  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\n\t\t\t\t\t\tjQuery('.tsvg-section-541409').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\n\t\t  \t\t\t}, 1000);\n\t  \t\t\t}else{\n\t\t  \t\t\tsetTimeout(() => {\n\t\t\t\t\t\tjQuery('.tsvg-main-content-541409').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\n\t\t  \t\t\t}, 1000);\n\t\t  \t\t}\n\t\t\t})\n\t\t\tjQuery('.tsvg-section-541409 .tsvg-pagination-page-number:nth-child(2)').click();\n\t\t}else if( jQuery('.tsvg-main-content-541409').attr(\"data-pagination\")=='load-more'){\n\t\t\tjQuery('.tsvg-section-541409 .tsvg-pagination-pages-wrapper').append(`<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>${tsvgLoadText}<\/span><i class=\"${tsvgLoadIcon}\"><\/i><\/a>`);\n\t\t\tjQuery('.tsvg-section-541409 .tsvg-load-more-content-button').click(function (e) {\n\t\t \t\tlet tsvgMaxHeight =jQuery('.tsvg-main-content-541409').height(); \n\t\t \t\tlet tsvgMainLength = jQuery('.tsvg-main-content-541409  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').length;\n\t\t\t\ttsvgPaginationLoad541409 = 'false';\n\t\t  \t\tjQuery('.tsvg-main-content-541409').css({'max-height': tsvgMaxHeight+'px','transition':'unset'});\n\t\t  \t\tsetTimeout(() => {\n\t\t\t\t  \tjQuery('.tsvg-main-content-541409').css({'transition':'max-height 3s  ease-in-out','max-height':tsvgMainLength+'000vh'});\n\t\t\t\t}, 100);\n\t\t  \t\ttsvgPaginationCreate541409(jQuery('.tsvg-main-content-541409  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage);\n\t\t\t});\n\t\t\ttsvgPaginationCreate541409(jQuery('.tsvg-section-541409  .tsvg-main-content-541409  figure.tsvg-figure-content ul.tsvg-ul-content li.tsvg-li-content').not('.tsvg-layout-item-show'),0, tsvgNumberItemsPerPage)\n\t  \t}\n\t}\n\tfunction tsvgNewPagination541409(){\n\t\tlet tsvgPaginationInterval541409 = setInterval(tsvgSetPagination541409, 100);\n\t\tfunction tsvgSetPagination541409() {\n\t\t\tif( typeof(jQuery) != \"undefined\" && jQuery != null ){\n\t\t\t\tif( jQuery('.tsvg-main-content-541409').attr(\"data-pagination\") == 'pagination' || jQuery('.tsvg-main-content-541409').attr(\"data-pagination\") == 'load-more'){\n\t\t\t\t\ttsvgPaginationGenerate541409();\n\t\t\t\t}\n\t\t\t\tclearInterval(tsvgPaginationInterval541409);\n\t\t\t}\n\t\t}\n\t}\n\ttsvgNewPagination541409();\n\tfunction tsvgPaginationGenerate(){\n\t\ttsvgPaginationGenerate541409();\n\t}\n<\/script><\/section><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-40 fusion_builder_column_1_1 1_1 fusion-flex-column fusion-flex-align-self-center\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:13;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-center fusion-content-layout-column\"><\/div><\/div><\/div><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":14395,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-14694","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.3point3labs.com\/index.php\/wp-json\/wp\/v2\/pages\/14694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.3point3labs.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.3point3labs.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.3point3labs.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.3point3labs.com\/index.php\/wp-json\/wp\/v2\/comments?post=14694"}],"version-history":[{"count":35,"href":"https:\/\/www.3point3labs.com\/index.php\/wp-json\/wp\/v2\/pages\/14694\/revisions"}],"predecessor-version":[{"id":15243,"href":"https:\/\/www.3point3labs.com\/index.php\/wp-json\/wp\/v2\/pages\/14694\/revisions\/15243"}],"up":[{"embeddable":true,"href":"https:\/\/www.3point3labs.com\/index.php\/wp-json\/wp\/v2\/pages\/14395"}],"wp:attachment":[{"href":"https:\/\/www.3point3labs.com\/index.php\/wp-json\/wp\/v2\/media?parent=14694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}