{"id":1501,"date":"2020-10-21T17:38:52","date_gmt":"2020-10-21T15:38:52","guid":{"rendered":"https:\/\/www.convivialthinking.org\/?page_id=1501"},"modified":"2021-01-06T11:34:36","modified_gmt":"2021-01-06T10:34:36","slug":"arts-and-visuals","status":"publish","type":"page","link":"https:\/\/convivialthinking.org\/index.php\/arts-and-visuals\/","title":{"rendered":"arts and visuals"},"content":{"rendered":"<p style=\"text-align: justify;\">Knowledges, wisdom and creativity should not only be conveyed through our standard means of communication &#8211; written or spoken word. Instead, here we are sharing artistic and visual engagements of and with thinking convivially.<\/p>\n<hr \/>\n<p><strong>Visual<\/strong><\/p>\n<p>Have a look at our collection of brief reflection prompts:<\/p>\n<section class=\"tsvg-section-891933\"  id=\"tsvg-section-891933\" style=\"display:none;\" ><style type=\"text\/css\">\n\t\t\tsection.tsvg-section-891933{\n\t\t\tmargin-bottom:50px;\n\t\t}\n\t\t.tsvg-main-content-891933{\n\t\tmargin-right:unset !important;\n\t\tmargin-left:unset !important;\n\t}\n\t.tsvg-section-891933 {\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-891933 main.tsvg-main-content-891933 > figure > ul,\n\t\t#tsvg-section-891933 nav > ul {\n\t\t\tmargin: 0;\n\t\t}\n\t\t#tsvg-section-891933 .tsvg-main-content-891933 > 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-891933 a{\n\t\ttext-decoration: none!important;\n\t}\n\t.TS_VGallery__Content *:not(.TS_VGallery_tsvg-section-891933-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-891933  #TS_VGallery_pagination891933 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\t#tsvg-section-891933 .tsvg-pagination-pages-wrapper li a {\n\t\t\tbox-shadow:unset;\n\t\t}\n\t\t#tsvg-section-891933 main.tsvg-main-content-891933[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-891933 main.tsvg-main-content-891933[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-891933 main.tsvg-main-content-891933[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-891933 main.tsvg-main-content-891933[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-891933 main.tsvg-main-content-891933[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-891933 main.tsvg-main-content-891933[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-891933 main.tsvg-main-content-891933[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-891933 main.tsvg-main-content-891933[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-891933 main.tsvg-main-content-891933[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-891933 main.tsvg-main-content-891933[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-891933 main.tsvg-main-content-891933[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-891933 .tsvg-main-content-891933 > 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_891933:4;\n\t\t--tsvg_g_bd_w_891933:5px;\n\t\t--tsvg_g_bd_c_891933:#ffffff;\n\t\t--tsvg_g_sh_891933:6px;\n\t\t--tsvg_g_sh_c_891933:#000000;\n\t\t--tsvg_g_border_Radius_891933:0%;\n\t\t--tsvg_g_place_between_891933:10px;\n\t\t--tsvg_hoo_c_891933:rgba(0,148,145,0.3);\n\t\t--tsvg_vto_fs_891933:23px;\n\t\t--tsvg_vto_ff_891933:Gabriola;\n\t\t--tsvg_vto_c_891933:#ffffff;\n\t\t--tsvg_vto_b_bd_w_891933:0px;\n\t\t--tsvg_vto_bd_c_891933:#000000;\n\t\t--tsvg_vto_t_bd_w_891933:4px;\n\t\t--tsvg_vto_t_bd_c_891933:#ffffff;\n\t\t--tsvg_lo_fs_891933:12px;\n\t\t--tsvg_lo_ff_891933:Aldhabi;\n\t\t--tsvg_lo_c_891933:#ffffff;\n\t\t--tsvg_lo_bd_w_891933:3px;\n\t\t--tsvg_lo_bd_c_891933:#009491;\n\t\t--tsvg_lo_border_Radius_891933:0px;\n\t\t--tsvg_lo_bg_c_891933:#009491;\n\t\t--tsvg_lo_h_c_891933:#ffffff;\n\t\t--tsvg_lo_h_bd_c_891933:#00797f;\n\t\t--tsvg_lo_h_bg_c_891933:#00797f;\n\t\t--tsvg_popup_po_v_w_891933:550;\n\t\t--tsvg_popup_po_v_h_891933:350;\n\t\t--tsvg_popup_po_o_c_891933:#000000;\n\t\t--tsvg_popup_po_vbc_c_891933:#ffffff;\n\t\t--tsvg_popup_psi_s_891933:30;\n\t\t--tsvg_popup_psi_c_891933:#009491;\n\t\t--tsvg_popup_pt_hbr_c_891933:#ffffff;\n\t\t--tsvg_popup_pt_br_w_891933:3;\n\t\t--tsvg_popup_pt_w_891933:96;\n\t\t--tsvg_popup_pt_h_891933:72;\n\t\t--tsvg_popup_pt_c_i_c891933:#ffffff;\n\t\t--tsvg_popup_ci_fs_891933:22px;\n\t\t--tsvg_popup_ci_ff_891933:Abadi MT Condensed Light;\n\t\t--tsvg_popup_ci_c_891933:#009491;\n\t\t--tsvg_popup_ci_csi_s_891933:30;\n\t\t--tsvg_popup_ci_csi_c_891933:#009491;\n\t}\n\t#tsvg-section-891933    .tsvg-fancy-blocks-list { text-align:center; list-style: none; position: relative; padding: 0; width:100%; margin:0px !important; }\n\t#tsvg-section-891933   .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-891933 .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_891933);\n\t  \tfont-family: var(--tsvg_vto_ff_891933);\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_891933);\n\t  \tborder-bottom:var(--tsvg_vto_b_bd_w_891933)  var(--tsvg_vto_bd_c_891933) !important;\n\t  \tborder-top: var(--tsvg_vto_t_bd_w_891933) solid var(--tsvg_vto_t_bd_c_891933) !important;\n\t}\n\t.tsvg-fancy-block-891933 [data-tsvg-bottom='solid']{ border-bottom-style: solid!important;}\n\t.tsvg-fancy-block-891933 [data-tsvg-bottom='dashed']{ border-bottom-style: dashed!important;}\n\t.tsvg-fancy-block-891933 [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-891933  .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_891933) !important;\n\t\tline-height: var(--tsvg_lo_fs_891933) !important;\n\t\tfont-family: var(--tsvg_lo_ff_891933) !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_891933) !important;\n\t\tborder: var(--tsvg_lo_bd_w_891933) solid var(--tsvg_lo_bd_c_891933)!important;\n\t\tborder-radius: var(--tsvg_lo_border_Radius_891933) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_891933) !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-891933  .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_891933) !important;\n\t\tline-height: var(--tsvg_lo_fs_891933) !important;\n\t\tfont-family: var(--tsvg_lo_ff_891933) !important;\n\t\tcolor: var(--tsvg_lo_c_891933) !important;\n\t\tborder: var(--tsvg_lo_bd_w_891933) solid var(--tsvg_lo_bd_c_891933)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_891933) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_891933) !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-891933  .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_891933) !important;\n\t\tline-height: var(--tsvg_lo_fs_891933) !important;\n\t\tfont-family: var(--tsvg_lo_ff_891933) !important;\n\t\tcolor: var(--tsvg_lo_c_891933) !important;\n\t\tborder: var(--tsvg_lo_bd_w_891933) solid var(--tsvg_lo_bd_c_891933)!important;\n\t\tborder-radius:  var(--tsvg_lo_border_Radius_891933) !important;\n\t\tbackground: var(--tsvg_lo_bg_c_891933);\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-891933:hover .tsvg-fancy-block-link {\n\t\ttext-decoration: none;\n\t\tdisplay: block;\n\t}\n\t.tsvg-fancy-block-891933 .tsvg-fancy-block-link:hover{\n\t\tcolor: var(--tsvg_lo_h_c_891933) !important;\n\t\tborder-color: var(--tsvg_lo_h_bd_c_891933) !important;\n\t\tbackground: var(--tsvg_lo_h_bg_c_891933) !important;\n\t}\n\t#tsvg-section-891933  .tsvg-fancy-block-891933 {\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_891933) *  var(--tsvg_g_img_w_891933)) ) \/ var(--tsvg_g_img_w_891933))!important;\n\t\tborder:  var(--tsvg_g_bd_w_891933) solid  var(--tsvg_g_bd_c_891933) !important;\n\t\tbox-shadow: 0px 0px  var(--tsvg_g_sh_891933)  var(--tsvg_g_sh_c_891933);\n\t\tborder-radius:  var(--tsvg_g_border_Radius_891933);\n\t\tmargin:  var(--tsvg_g_place_between_891933) !important;\n\t\tfloat: left;\n\t\tline-height:0;\n\t}\n\t#tsvg-section-891933  .tsvg-fancy-block-891933  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-891933  .tsvg-fancy-block-891933  figure .tsvg-fancy-block-desc{\n\t\tdisplay:none !important;\n\t}\n\t#tsvg-section-891933  .tsvg-fancy-block-891933  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-891933 [ data-tsvg-show='false'] {\n\t\tdisplay: none;\n\t}\n\t@media screen and (max-width: 820px) {\n\t\t.tsvg-fancy-block-891933 {\n\t\t\tmargin: var(--tsvg_g_place_between_891933) 0 !important;\n\t\t}\n\t}\n\t.tsvg-main-content-891933[max-width~=\"550px\"]{\n\t\t--tsvg_g_img_w_891933: 2;\n\t}\n\t.tsvg-main-content-891933[max-width~=\"450px\"]{\n\t\t--tsvg_g_img_w_891933: 1;\n\t}\n\t.tsvg-fancy-block-891933 .tsvg-fancy-block-hover {\n\t  background:var(--tsvg_hoo_c_891933)!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_891933);\n\t  font-family : var(--tsvg_popup_ci_ff_891933);\n\t  color : var(--tsvg_popup_ci_c_891933);\n\t  line-height:1.2;\n\t}\n\t.tsvg-fancy-blocks-list-891933 a[href=''], .tsvg-fancy-blocks-list-891933 a[href='#']{\n\t\tdisplay: none !important;\n\t}\n<\/style>\n\n\t\t<main class=\"tsvg-main-content-891933\" data-tsvg-autoplay=\"true\"   data-item-open=\"none\"  data-item-number=\"1\" data-pagination=\"all\" data-p-lm=\"\"  data-tsvg-c=\"#000000\" data-tsvg-BgC=\"#ffffff\" data-tsvg-HBC=\"#ffffff\" data-tsvg-HBW=\"3\" data-tsvg-IW=\"96\" data-tsvg-IH=\"72\" data-tsvg-ShVAutoPl=\"true\">\n\t\t\t<figure class=\"tsvg-figure-content tsvg-fancy-blocks-container-891933 tsvg-fancy-blocks-container\"  data-tsvg-ShN=\"false\"  data-tsvg-ShPT=\"true\" data-tsvg-ShSlPlIc=\"true\"   data-tsvg-FS=\"22\"  data-tsvg-FF=\"Abadi MT Condensed Light\"  data-tsvg-C=\"#009491\"  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-891933\"  data-tsvg-S=\"30\"  data-tsvg-C=\"#009491\" data-tsvg-DI=\"\"   data-tsvg-DIS=\"30\"  data-tsvg-DIC=\"#009491\"  data-tsvg-TIC=\"#ffffff\"  data-tsvg-Color=\"#009491\"  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-891933\" data-tsvg-id=\"1\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-891933\" data-href=\"https:\/\/www.youtube.com\/embed\/Qy7tMAgoT0k\" data-width=\"550\" data-height=\"350\" data-group=\"mygroup891933\" data-thumbnail=\"https:\/\/convivialthinking.org\/wp-content\/uploads\/2020\/11\/Ashish-1-1-300x150.png\" data-title=\"Double Rainbow\" data-tsvgid=\"1\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><p><span class=\"style-scope yt-formatted-string\">Ashish Kothari shares a brief reflection prompt about the need for a rainbow revolution. The double rainbow signifies multiple strands and struggles for justice and dignity in the pluriverse.<\/span><\/p><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_blank\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\">M o r e ...<\/a>\n\t\t\t\t\t<img decoding=\"async\" width=\"\" height=\"\" src=\"https:\/\/convivialthinking.org\/wp-content\/uploads\/2020\/11\/Ashish-1-1-300x150.png\" 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=\"none\" data-tsvg-show=\"true\">\n\t\t\t\t\t\t\tDouble Rainbow\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-891933\" data-tsvg-id=\"2\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-891933\" data-href=\"https:\/\/www.youtube.com\/embed\/IxxHeAUtcS4\" data-width=\"550\" data-height=\"350\" data-group=\"mygroup891933\" data-thumbnail=\"https:\/\/convivialthinking.org\/wp-content\/uploads\/2020\/11\/Double-rainbow-lighter-002-3-300x217.jpg\" data-title=\"Double Rainbow\" 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=\"_blank\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\">M o r e ...<\/a>\n\t\t\t\t\t<img decoding=\"async\" width=\"\" height=\"\" src=\"https:\/\/convivialthinking.org\/wp-content\/uploads\/2020\/11\/Double-rainbow-lighter-002-3-300x217.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=\"none\" data-tsvg-show=\"true\">\n\t\t\t\t\t\t\tDouble Rainbow\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-891933\" data-tsvg-id=\"3\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-891933\" data-href=\"https:\/\/www.youtube.com\/embed\/rNY5qNHfTqU?start=7s\" data-width=\"550\" data-height=\"350\" data-group=\"mygroup891933\" data-thumbnail=\"https:\/\/convivialthinking.org\/wp-content\/uploads\/2020\/11\/Ashish-Pluriverse-300x150.png\" data-title=\"Pluriverse\" data-tsvgid=\"3\">\n\t\t\t\t\t<div class=\"tsvg-fancy-block-desc\"><p><span class=\"style-scope yt-formatted-string\">Ashish Kothari, one of the co-editors of \"Pluriverse: A Post-Development Dictionary\" gives a brief reflection on the book's cover illustration and the meaning of the term 'pluriverse'. <\/span><\/p><\/div>\n\t\t\t\t\t<a class=\"tsvg-fancy-block-link\" href=\"#\" target=\"_blank\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\">M o r e ...<\/a>\n\t\t\t\t\t<img decoding=\"async\" width=\"\" height=\"\" src=\"https:\/\/convivialthinking.org\/wp-content\/uploads\/2020\/11\/Ashish-Pluriverse-300x150.png\" 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=\"none\" data-tsvg-show=\"true\">\n\t\t\t\t\t\t\tPluriverse\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-891933\" data-tsvg-id=\"4\">\n\t\t\t\t<figure class=\"tsvg-block-inner tsvg-html5lightbox-891933\" data-href=\"https:\/\/www.youtube.com\/embed\/IxxHeAUtcS4\" data-width=\"550\" data-height=\"350\" data-group=\"mygroup891933\" data-thumbnail=\"https:\/\/convivialthinking.org\/wp-content\/uploads\/2020\/11\/Pluriverse-coloured-2-@-Ashish-Kothari-002-300x227.jpg\" data-title=\"Pluriverse\" 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=\"_blank\" data-tsvg-title=\"center\" data-tsvg-show=\"yes\">M o r e ...<\/a>\n\t\t\t\t\t<img decoding=\"async\" width=\"\" height=\"\" src=\"https:\/\/convivialthinking.org\/wp-content\/uploads\/2020\/11\/Pluriverse-coloured-2-@-Ashish-Kothari-002-300x227.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=\"none\" data-tsvg-show=\"true\">\n\t\t\t\t\t\t\tPluriverse\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 tsvgFancyInterval891933 = null,\n\ttsvgFancyJsFolder891933 = \"https:\/\/convivialthinking.org\/wp-content\/plugins\/gallery-videos\/public\/\",\n\ttsvgFancyIntervalFunction891933 = function(){\n\t\tif(typeof jQuery === \"function\" && typeof(jQuery) != \"undefined\" && jQuery != null) {\n\t\t\t(function ($) {\n\t\t\t\t$.fn.html5lightbox891933 = 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: tsvgFancyJsFolder891933,\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-891933[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.html5lightboxTouchSwipe891933(\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).lightboxHTML5VideoControls891933(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-891933[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.html5lightboxTouchSwipe891933 = 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.lightboxHTML5VideoControls891933 = 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-891933\").html5lightbox891933({},'891933');\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('.tsvg-section-891933').fadeIn();\n\t\t\t\tvar tsvgFancyHoverInverse891933 = 'Default';\n\t\t\t\ttsvgFancyHoverInverse891933 = tsvgFancyHoverInverse891933 == 'Default' ? false : true;\n\t\t\t\tjQuery('.tsvg-fancy-blocks-list-891933 > li').each(function() {\n\t\t\t\t\tjQuery(this).hoverdir({hoverDelay: 50, inverse:tsvgFancyHoverInverse891933});\n\t\t\t\t});\n\t\t\t});\n\t\t\tclearInterval(tsvgFancyInterval891933);\n\t\t}\n\t},\n\ttsvgFancyReference891933 = (\n\t\tfunction tsvgFancySameCall891933() {\n\t\t\ttsvgFancyInterval891933 = setInterval(tsvgFancyIntervalFunction891933, 1000);\n\t\t\treturn tsvgFancySameCall891933;\n\t\t}()\n\t);\n<\/script><style type=\"text\/css\">\r\n    :after, :before,  * {\r\n        -webkit-box-sizing: border-box;\r\n        -moz-box-sizing: border-box;\r\n        box-sizing: border-box;\r\n    }\r\n    #tsvg-section-891933   .tsvg-pagination-pages-wrapper .tsvg-pagination-disabled-item{\r\n        display: none!important;\r\n    }\r\n    .tsvg-main-content-891933[data-pagination='pagination']  figure ul li,.tsvg-main-content-891933[data-pagination='load-more']  figure ul li,.tsvg-pagination-pages-wrapper[data-pagination='all']  ,.tsvg-pagination-disabled-item{\r\n        display: none!important;\r\n    }\r\n    #tsvg-section-891933 .tsvg-pagination-pages-wrapper[data-pagination='pagination']{\r\n        display: flex!important;\r\n        overflow-y: hidden;\r\n        overflow-x: auto;\r\n    }\r\n    #tsvg-section-891933 .tsvg-pagination-page-item a:focus{\r\n    outline:none!important;\r\n    box-shadow:unset!important;\r\n    }\r\n                                .tsvg-main-content-891933[data-pagination='pagination']  figure ul .tsvg-layout-item-show,.tsvg-main-content-891933[data-pagination='load-more']  figure ul .tsvg-layout-item-show{\r\n            display: inline-block!important;\r\n        }\r\n                    :root{\r\n        --tsvg_p_lm_bc_891933:#ffffff;\r\n        --tsvg_p_lm_c_891933:#000000;\r\n        --tsvg_p_lm_fs_891933:14px;\r\n        --tsvg_p_lm_ff_891933:Arial;\r\n        --tsvg_p_lm_cbc_891933:#aaaaaa;\r\n        --tsvg_p_lm_cc_891933:#ffffff;\r\n        --tsvg_p_lm_hbc_891933:#000000;\r\n        --tsvg_p_lm_hc_891933:#ffffff;\r\n        --tsvg_p_lm_bs_891933:solid;\r\n        --tsvg_p_lm__bdc_891933:rgba(0,148,145,0.01);\r\n    }\r\n    #tsvg-section-891933 .tsvg-pagination-pages-wrapper{\r\n    text-align: center;\r\n    display: flex;\r\n    justify-content: center;\r\n    }\r\n    #tsvg-section-891933  .tsvg-pagination-pages{\r\n        font-family: var(--tsvg_s_ff_891933)!important;\r\n        display: inline-flex;\r\n        align-items: center;\r\n        position: relative;\r\n        padding-left: 0;\r\n        padding: 20px 0!important;\r\n        margin: 20px 0;\r\n        border-radius: 4px;\r\n    }\r\n    #tsvg-section-891933 .tsvg-pagination-pages>li {\r\n        display: inline;\r\n    }\r\n    #tsvg-section-891933 .tsvg-pagination-pages>li>a,#tsvg-section-891933 .tsvg-pagination-pages>li>span {\r\n        position: relative;\r\n        float: left;\r\n        padding: 6px 12px;\r\n        margin-left: -1px;\r\n        line-height: 1.42857143;\r\n        color: #337ab7;\r\n        text-decoration: none;\r\n        background-color: #fff;\r\n        border: 1px solid #ddd;\r\n    }\r\n    #tsvg-section-891933 .tsvg-pagination-page-link{\r\n    padding: 0 8px!important;\r\n    }\r\n    #tsvg-section-891933 .tsvg-main-content-891933 figure .tsvg-load{\r\n        -webkit-transition: height 3s ease-out;\r\n        -moz-transition: height 3s ease-out;\r\n        -o-transition: height 3s ease-out;\r\n        -ms-transition: height 3s ease-out;\r\n            transition: height 3s ease-out;\r\n    }\r\n    .tsvg-section-891933 .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{\r\n    display:none;\r\n    }\r\n    .tsvg-section-891933  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='false'] i{\r\n    display:none;\r\n    }\r\n    .tsvg-section-891933  .tsvg-pagination-pages-wrapper[data-pagination='pagination'][data-icon-show='true'] span{\r\n    display:none;\r\n    }\r\n    .tsvg-section-891933  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text'] .tsvg-load-more-content-button span{\r\n    display:inline-block;\r\n    vertical-align: sub;\r\n    }\r\n    .tsvg-section-891933  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='icon'] .tsvg-load-more-content-button i{\r\n    display:inline-block;\r\n    }\r\n    .tsvg-section-891933 .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button span,.tsvg-section-891933  .tsvg-pagination-pages-wrapper[data-pagination='load-more'][data-load-icon='text-icon'] .tsvg-load-more-content-button i{\r\n    display:inline-block;\r\n    }\r\n    #tsvg-section-891933 a.tsvg-pagination-page-link{\r\n    display:inline-block!important;\r\n    }\r\n    #tsvg-section-891933 .tsvg-pagination-pages-wrapper li {\r\n        border: none !important;\r\n        list-style: none !important;\r\n        display: inline-block !important;\r\n        padding: 0 !important\r\n    }\r\n    #tsvg-section-891933  .tsvg-pagination-pages-wrapper[data-pagination='pagination'] li a {\r\n        background-color:  var(--tsvg_p_lm_bc_891933);\r\n        color:var(--tsvg_p_lm_c_891933);\r\n        font-size: var(--tsvg_p_lm_fs_891933);\r\n        font-family: var(--tsvg_p_lm_ff_891933);\r\n        height: auto !important;\r\n        border: 1px  var(--tsvg_p_lm_bs_891933)  var(--tsvg_p_lm__bdc_891933) !important;\r\n        line-height: 1 !important;\r\n        display: block;\r\n        cursor: pointer;\r\n        padding: 2px 10px;\r\n    }\r\n    #tsvg-section-891933  .tsvg-pagination-pages-wrapper[data-pagination='pagination'] li:not(.tsvg-pagination-page-active) a:hover {\r\n        background-color: var(--tsvg_p_lm_hbc_891933) !important;\r\n        color:  var(--tsvg_p_lm_hc_891933) !important;\r\n    }\r\n    #tsvg-section-891933  .tsvg-pagination-pages-wrapper[data-pagination='pagination'] .tsvg-pagination-page-active a {\r\n        background-color: var(--tsvg_p_lm_cbc_891933);\r\n        color: var(--tsvg_p_lm_cc_891933) !important;\r\n    }\r\n    #tsvg-section-891933  .tsvg-pagination-pages-wrapper[data-pagination='pagination'] {\r\n        text-align: center !important;\r\n    }\r\n    #tsvg-section-891933  .tsvg-pagination-pages-wrapper[data-pagination='load-more'] a {\r\n        background-color:var(--tsvg_p_lm_bc_891933);\r\n        color:var(--tsvg_p_lm_c_891933);\r\n        font-size: var(--tsvg_p_lm_fs_891933);\r\n        font-family: var(--tsvg_p_lm_ff_891933);\r\n        border: 1px  var(--tsvg_p_lm_bs_891933)  var(--tsvg_p_lm__bdc_891933) !important;\r\n        cursor: pointer;\r\n        display: block;\r\n        padding: 3px !important;\r\n        line-height: 1 !important;\r\n    }\r\n    #tsvg-section-891933  .tsvg-pagination-pages-wrapper[data-pagination='load-more'] a:hover {\r\n        background-color:  var(--tsvg_p_lm_hbc_891933);\r\n        color: var(--tsvg_p_lm_hc_891933);\r\n    }\r\n<\/style>\r\n\r\n        <nav class=\"tsvg-pagination-pages-wrapper\" data-short-id=\"891933\" data-short-theme=\"Fancy Gallery\"  data-pagination=\"all\" data-load-vw=\"ef-1\" data-icon-show=\"false\" data-load-icon=\"text\" >\r\n            <ul class=\"tsvg-pagination-pages\" data-ef=\"ef-1\" data-vw=\"vw-1\" data-next-item=\"Next\" data-prev-item=\"Prev\" data-load-text=\"Load More ...\">\r\n            <\/ul>\r\n        <\/nav>\r\n        <script>\r\n    var tsvgPaginationLoad891933 = 'false';\r\n    function tsvgPaginationCreate891933 (tsvgPaginationData891933,tsvgFrom891933, tsvgTo891933) {\r\n        var tsvgShowData891933 = tsvgPaginationData891933.slice(tsvgFrom891933, tsvgTo891933);\r\n\t\tvar short_id = jQuery(tsvgPaginationData891933).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-id');\r\n\t\tvar tsvgThemeName891933 = jQuery(tsvgPaginationData891933).closest('section').find('.tsvg-pagination-pages-wrapper').attr('data-short-theme');\r\n        jQuery.each(tsvgShowData891933, function (index, value) {\r\n\t\t\tlet  tsvg_elem_delay = 0.3 * index;\t\r\n\t\t\tif(tsvgPaginationLoad891933 == 'true'){\r\n\t\t\t\ttsvg_elem_delay = 0.9 * (index+1);\t\r\n\t\t\t}\r\n            jQuery(this).css({'-moz-animation-delay': tsvg_elem_delay+'s','-webkit-animation-delay': tsvg_elem_delay+'s','animation-delay': tsvg_elem_delay+'s'});\r\n            jQuery(this).addClass('tsvg-layout-item-show');\r\n        })\r\n        if(tsvgThemeName891933=='Grid Video Gallery') {\r\n            var interval_pg_fn_891933 = setInterval(upGrid_891933, 100);\r\n            function upGrid_891933() {\r\n                if (typeof(window.Modernizr) != \"undefined\" && window.Modernizr != null && \r\n                    typeof(window.imagesLoaded) != \"undefined\" && window.imagesLoaded != null && \r\n                    typeof(window.CBPGridGallery) != \"undefined\" && window.CBPGridGallery != null){\r\n                        new  CBPGridGallery(document.getElementById(`tsvg-section-${short_id}`));\r\n                        clearInterval(interval_pg_fn_891933);\r\n                    }\r\n            }\r\n        }\r\n        if( jQuery('.tsvg-main-content-'+short_id).attr(\"data-pagination\")=='load-more' && !jQuery('.tsvg-main-content-'+short_id+' figure ul li').not('.tsvg-layout-item-show').length){ jQuery('.tsvg-section-'+short_id+'  .tsvg-pagination-pages li,.tsvg-section-'+short_id+' .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();}\r\n    }\r\n    function tsvgPaginationGenerate891933(id = \"891933\") {\r\n        if (!id) {\r\n\t\t\treturn; \r\n\t\t}\r\n        var tsvgPaginationData891933 = jQuery('.tsvg-main-content-891933 figure>ul>li');\r\n        var itemsLength = tsvgPaginationData891933.length;\r\n        var numberItemsPerPage =  Math.ceil(jQuery('.tsvg-main-content-891933').attr('data-item-number'));\r\n        var paginationItemsLenth;\r\n        var pagina_length;\r\n        var currentPaginationPosition;\r\n        var showFrom;\r\n        var showTo;\r\n        var pageNumber = 1;\r\n        var next_text = jQuery('.tsvg-section-891933  .tsvg-pagination-pages').attr('data-next-item');\r\n\t\tvar prev_text = jQuery('.tsvg-section-891933  .tsvg-pagination-pages').attr('data-prev-item');\r\n\t\tvar prev_icon = '';\r\n\t\tvar next_icon = ''; \r\n\t\tvar load_icon = '';  \r\n\t\tvar load_text = jQuery('.tsvg-section-891933  .tsvg-pagination-pages').attr('data-load-text');\r\n        var max_heigth =jQuery('.tsvg-main-content-891933').height(); \r\n        var currentPosition = 1;\r\n        var page_vw = jQuery('.tsvg-section-891933  .tsvg-pagination-pages').attr('data-vw');\r\n        jQuery('.tsvg-main-content-891933 figure ul').removeClass('tsvg-load');\r\n        jQuery('.tsvg-main-content-891933 figure ul li').removeClass('tsvg-layout-item-show');\r\n        jQuery('.tsvg-section-891933  .tsvg-pagination-pages li,.tsvg-section-891933  .tsvg-pagination-pages-wrapper .tsvg-load-more-content').remove();\r\n        if( jQuery('.tsvg-main-content-891933').attr(\"data-pagination\")=='pagination'){\r\n        paginationItemsLenth = Math.ceil(itemsLength \/ numberItemsPerPage) ;\r\n        pagina_length=paginationItemsLenth=paginationItemsLenth<1?1:paginationItemsLenth;\r\n        jQuery('.tsvg-section-891933  .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 >'+prev_text+'<\/span> <i class=\"'+prev_icon+'\"><\/i><\/a><\/li>')\r\n        if(page_vw=='vw-2'&& paginationItemsLenth>7)pagina_length=7;\r\n        if(page_vw=='vw-3'&& paginationItemsLenth>4)pagina_length=4;\r\n        if(page_vw=='vw-5')pagina_length=1;\r\n        if(page_vw=='vw-4')pagina_length=1;\r\n            for (var i = 0; i < pagina_length; i++) {\r\n                var itemNumber = i + 1;\r\n                jQuery('.tsvg-section-891933 .tsvg-pagination-pages').append('<li data-item-number=\"' + itemNumber + '\" class=\"tsvg-pagination-page-item tsvg-pagination-page-number \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">' + itemNumber + '<\/a><\/li>')\r\n            }\r\n        if(page_vw=='vw-4'){ jQuery('.tsvg-section-891933  .tsvg-pagination-page-number').addClass('tsvg-pagination-disabled-item');}\r\n        if(page_vw=='vw-2'&& paginationItemsLenth>7){\r\n            if(paginationItemsLenth > (pagina_length+1))  jQuery('.tsvg-section-891933  .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>')\r\n            jQuery('.tsvg-section-891933  .tsvg-pagination-pages').append('<li data-item-number=\"' + paginationItemsLenth + '\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">' + paginationItemsLenth + '<\/a><\/li>')\r\n        }\r\n        if(page_vw=='vw-3'&& paginationItemsLenth>4){\r\n            if(paginationItemsLenth > (pagina_length+1)) jQuery('.tsvg-section-891933  .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>')\r\n            jQuery('.tsvg-section-891933 .tsvg-pagination-pages').append('<li data-item-number=\"' + paginationItemsLenth + '\" class=\"tsvg-pagination-page-item \"><a class=\"tsvg-pagination-page-link\" href=\"javascript:void(0)\">' + paginationItemsLenth + '<\/a><\/li>')\r\n        }\r\n        jQuery('.tsvg-section-891933  .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 >'+next_text+'<\/span><i class=\"'+next_icon+'\"><\/i><\/a><\/li>')\r\n        jQuery('.tsvg-section-891933  ul.tsvg-pagination-pages li').not('.page-null').click(function (e) {\r\n          if( jQuery(this).hasClass('tsvg-pagination-page-active')){\r\n              return false;\r\n          }\r\n          max_heigth =jQuery('.tsvg-main-content-891933').height();\r\n        if(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\r\n            const tsvgMain = jQuery('.tsvg-section-891933')[0]\r\n                const tsvgHeaderOffset = 200;\r\n                const tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\r\n                const tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\r\n                window.scrollTo({\r\n                  top: tsvgOffsetPosition,\r\n                  behavior: \"smooth\",\r\n                });\r\n        }\r\n        let effect_open_type =  jQuery('.tsvg-main-content-891933').attr('data-item-open');\r\n        if(effect_open_type!='effect-1'){\r\n          jQuery('.tsvg-main-content-891933').css({'min-height': max_heigth+'px','transition':'unset'});\r\n        }\r\n        jQuery('.tsvg-main-content-891933 figure ul li').removeClass('tsvg-layout-item-show');\r\n        jQuery('.tsvg-section-891933  .tsvg-pagination-pages li').removeClass('tsvg-pagination-page-active')\r\n        jQuery('.tsvg-section-891933  .tsvg-pagination-pages-item[item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item')\r\n        jQuery('.tsvg-section-891933  .tsvg-pagination-pages-item[item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item')\r\n        jQuery(this).addClass('tsvg-pagination-page-active');\r\n        pageNumber = jQuery(this).attr('data-item-number');\r\n        if (pageNumber == '1') {\r\n            jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\r\n        } else{\r\n            jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\r\n        }\r\n        if (+pageNumber == paginationItemsLenth) {\r\n            jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\r\n        }else{\r\n            jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\r\n        }\r\n        showFrom = numberItemsPerPage * (pageNumber - 1);\r\n        showTo = showFrom + numberItemsPerPage;\r\n        tsvgPaginationCreate891933(tsvgPaginationData891933,showFrom, showTo)\r\n        jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"prev\"]').unbind('click')\r\n        jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"prev\"]').click(function () {\r\n        if(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\r\n            const tsvgMain = jQuery('.tsvg-section-891933')[0]\r\n            const tsvgHeaderOffset = 200;\r\n            const tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\r\n            const tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\r\n            window.scrollTo({\r\n              top: tsvgOffsetPosition,\r\n              behavior: \"smooth\",\r\n            });\r\n        }\r\n        currentPosition = parseInt(jQuery('.tsvg-section-891933  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\r\n        var last_element = jQuery('.tsvg-section-891933  li.tsvg-pagination-page-item.tsvg-pagination-page-active').hasClass( \"tsvg-pagination-page-number\" );\r\n        var prevPosiotion = currentPosition - 1;\r\n        jQuery('.tsvg-section-891933  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\r\n        let first_item_position =  parseInt(jQuery(\".tsvg-section-891933 .tsvg-pagination-page-number\").first().attr('data-item-number'));\r\n        if(first_item_position>1&&last_element){\r\n            jQuery(\".tsvg-section-891933  .tsvg-pagination-page-number\").each(function(){\r\n            let item_position =  parseInt(jQuery(this).attr('data-item-number'))-1;\r\n            jQuery(this).attr('data-item-number',item_position).find('a').text(item_position)\r\n            });\r\n        }\r\n        if(paginationItemsLenth > (parseInt(jQuery(\".tsvg-section-891933  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-891933  .tsvg-pagination-pages\").find('.page-null').length && (page_vw=='vw-2' || page_vw=='vw-3'))jQuery(\".tsvg-section-891933  .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>') \r\n        if((parseInt(jQuery(\".tsvg-section-891933  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= paginationItemsLenth && (page_vw=='vw-2' || page_vw=='vw-3'))jQuery(\".tsvg-section-891933  .tsvg-pagination-pages\").find('.page-null').remove();\r\n        if(last_element){\r\n        } else {\r\n          jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"' +  parseInt(jQuery(\".tsvg-section-891933  .tsvg-pagination-page-number\").last().attr('data-item-number')) + '\"]').addClass('tsvg-pagination-page-active')\r\n        } \r\n        if (-currentPosition == 1) {\r\n            jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\r\n        } else{\r\n            jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\r\n        }\r\n        if (+currentPosition == paginationItemsLenth) {\r\n            jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\r\n        }else{\r\n            jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\r\n        }\r\n        jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"' + prevPosiotion + '\"]').click()\r\n      })\r\n      jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"next\"]').unbind('click')\r\n      jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"next\"]').click(function () {\r\n      if(jQuery(this).parent().find('.tsvg-pagination-page-active').length){\r\n        const tsvgMain = jQuery('.tsvg-section-891933')[0]\r\n        const tsvgHeaderOffset = 200;\r\n        const tsvgMainPosition = tsvgMain.getBoundingClientRect().top;\r\n        const tsvgOffsetPosition = tsvgMainPosition + window.pageYOffset - tsvgHeaderOffset;\r\n        window.scrollTo({\r\n          top: tsvgOffsetPosition,\r\n          behavior: \"smooth\",\r\n        });\r\n      }\r\n      currentPosition = parseInt(jQuery('.tsvg-section-891933  li.tsvg-pagination-page-item.tsvg-pagination-page-active').attr('data-item-number'))\r\n      var nextPosition = currentPosition + 1;\r\n      jQuery('.tsvg-section-891933  .tsvg-pagination-page-item').removeClass('tsvg-pagination-page-active')\r\n      let last_item_position =  parseInt(jQuery(\".tsvg-section-891933  .tsvg-pagination-page-number\").last().attr('data-item-number'));\r\n      if(((paginationItemsLenth-1)>last_item_position && (page_vw=='vw-2' || page_vw=='vw-3'))||((paginationItemsLenth-1) >= last_item_position&& (page_vw=='vw-4' || page_vw=='vw-5'))){\r\n          jQuery(\".tsvg-section-891933  .tsvg-pagination-page-number\").each(function(){\r\n              let item_position =  parseInt(jQuery(this).attr('data-item-number'))+1;\r\n              jQuery(this).attr('data-item-number',item_position).find('a').text(item_position)\r\n          });\r\n      }\r\n      if(paginationItemsLenth > (parseInt(jQuery(\".tsvg-section-891933  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) && !jQuery(\".tsvg-section-891933  .tsvg-pagination-pages\").find('.page-null').length && (page_vw=='vw-2' || page_vw=='vw-3') )jQuery(\".tsvg-section-891933  .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>') \r\n      if((parseInt(jQuery(\".tsvg-section-891933  .tsvg-pagination-page-number\").last().attr('data-item-number'))+1) >= paginationItemsLenth && (page_vw=='vw-2' || page_vw=='vw-3'))jQuery(\".tsvg-section-891933  .tsvg-pagination-pages\").find('.page-null').remove();\r\n      if (currentPosition == '1') {\r\n          jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"prev\"]').addClass('tsvg-pagination-disabled-item');\r\n      } else{\r\n          jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"prev\"]').removeClass('tsvg-pagination-disabled-item');\r\n      }\r\n      if (+currentPosition == paginationItemsLenth) {\r\n          jQuery('.tsvg-section-891933 .tsvg-pagination-page-item[data-item-number=\"next\"]').addClass('tsvg-pagination-disabled-item');\r\n      }else{\r\n          jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"next\"]').removeClass('tsvg-pagination-disabled-item');\r\n      }\r\n      jQuery('.tsvg-section-891933  .tsvg-pagination-page-item[data-item-number=\"' + nextPosition + '\"]').click();\r\n      })\r\n      if('Fancy Gallery'=='Grid Video Gallery') {\r\n        var interval_pg_cl_fn_891933 = setInterval(upGrid_cl_891933, 100);\r\n          function upGrid_cl_891933() {\r\n          if (typeof(window.Modernizr) != \"undefined\" && window.Modernizr != null && \r\n                typeof(window.imagesLoaded) != \"undefined\" && window.imagesLoaded != null && \r\n                typeof(window.CBPGridGallery) != \"undefined\" && window.CBPGridGallery != null){\r\n          new  CBPGridGallery(document.getElementById(`tsvg-section-891933`));\r\n            clearInterval(interval_pg_cl_fn_891933);\r\n          }\r\n          }\r\n      }\r\n      if(effect_open_type=='effect-1' && jQuery('.tsvg-main-content-891933 figure>ul>li').length>1){\r\n          jQuery('.tsvg-section-891933 .tsvg-pagination-pages-wrapper').attr('style','transition:unset; transform: translateY(200%);');\r\n          jQuery('.tsvg-section-891933').attr('style','transition:unset; margin-bottom:140px;');\r\n          setTimeout(() => {\r\n            jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper').attr('style','transition: transform 3s  ease-out;transform: translateY(0%);');\r\n            jQuery('.tsvg-section-891933').attr('style','transition: margin 3s  ease-out;margin-bottom:0;');\r\n          }, 1000);\r\n      }else{\r\n          setTimeout(() => {\r\n            jQuery('.tsvg-main-content-891933').css({'transition':'min-height 3s  ease-in-out','min-height':'0px'});\r\n          }, 1000);\r\n\t\t  }\r\n    })\r\n    jQuery('.tsvg-section-891933 .tsvg-pagination-page-number:nth-child(2)').click();\r\n    }\r\n        if( jQuery('.tsvg-main-content-891933').attr(\"data-pagination\")=='load-more'){\r\n        jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper').append('<a href=\"javascript:void(0)\" class=\"tsvg-load-more-content tsvg-load-more-content-button\"><span>'+load_text+'<\/span><i class=\"'+load_icon+'\"><\/i><\/a>');\r\n        if( jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper').attr(\"data-load-vw\")=='ef-4' || jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper').attr(\"data-load-vw\")=='ef-5' ){\r\n            if(!jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper svg').length){\r\n                if(jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper').attr(\"data-load-vw\")=='ef-5'){\r\n                    jQuery('.tsvg-section-891933 .tsvg-pagination-pages-wrapper').find('.tsvg-load-more-content-button').html('<ul><li>'+load_text+'<\/li><\/ul><div><svg viewBox=\"0 0 24 24\"><\/svg><\/div>');\r\n                }else{\r\n                    jQuery('.tsvg-section-891933 .tsvg-pagination-pages-wrapper').find('.tsvg-load-more-content-button').html('<div><svg viewBox=\"0 0 24 24\"><\/svg><\/div>');\r\n                }\r\n                var  svg = document.querySelector('.tsvg-load-more-content-button svg'),\r\n                svgPath = new Proxy({\r\n                    y: null,\r\n                    smoothing: null\r\n                }, {\r\n                    set(target, key, value) {\r\n                        target[key] = value;\r\n                        if(target.y !== null && target.smoothing !== null) {\r\n                            svg.innerHTML = getPath(target.y, target.smoothing, null);\r\n                        }\r\n                        return true;\r\n                    },\r\n                    get(target, key) {\r\n                        return target[key];\r\n                    }\r\n                });\r\n                svgPath.y = 20;\r\n                svgPath.smoothing = 0;\r\n            }\r\n        }\r\n        jQuery('.tsvg-section-891933  .tsvg-load-more-content-button').click(function (e) {\r\n          let max_heigth =jQuery('.tsvg-main-content-891933').height(); \r\n\t\t let main_length = jQuery('.tsvg-main-content-891933 figure ul li').length;\r\n\t\t\ttsvgPaginationLoad891933 = 'false';\r\n\t\t\tif(jQuery(this).closest('.tsvg-pagination-pages-wrapper').attr(\"data-load-vw\")=='ef-3'||jQuery(this).closest('.tsvg-pagination-pages-wrapper').attr(\"data-load-vw\")=='ef-4'||jQuery(this).closest('.tsvg-pagination-pages-wrapper').attr(\"data-load-vw\")=='ef-5'){\r\n\t\t\t\ttsvgPaginationLoad891933 = 'true';\r\n\t\t\t}\r\n          jQuery('.tsvg-main-content-891933').css({'max-height': max_heigth+'px','transition':'unset'});\r\n          setTimeout(() => {\r\n              jQuery('.tsvg-main-content-891933').css({'transition':'max-height 3s  ease-in-out','max-height':main_length+'000vh'});\r\n            }, 100);\r\n          tsvgPaginationCreate891933(jQuery('.tsvg-main-content-891933 figure ul li').not('.tsvg-layout-item-show'),0, numberItemsPerPage);\r\n          if(jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper').attr(\"data-load-vw\")=='ef-3'){\r\n            jQuery('.tsvg-section-891933  .tsvg-load-more-content-button').addClass('animate');\r\n            setTimeout(function(){\r\n                jQuery('.tsvg-section-891933  .tsvg-load-more-content-button').removeClass('animate');\r\n            },700);\r\n          }\r\n            if(!jQuery('.tsvg-section-891933  .tsvg-load-more-content-button').hasClass('loading')&&(jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper').attr(\"data-load-vw\")=='ef-4'||jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper').attr(\"data-load-vw\")=='ef-5')&&jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper svg').length) {\r\n            jQuery('.tsvg-section-891933  .tsvg-load-more-content-button').addClass('loading');\r\n                setTimeout(() => {\r\n                    svg.innerHTML = getPath(0, 0, [\r\n                        [3, 14],\r\n                        [8, 19],\r\n                        [21, 6]\r\n                    ]);\r\n                }, 1000 \/ 2);\r\n                setTimeout(() => {\r\n                    jQuery('.tsvg-section-891933  .tsvg-load-more-content-button').removeClass('loading');\r\n                    if(jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper').attr(\"data-load-vw\")=='ef-5'){\r\n                        jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper').find('.tsvg-load-more-content-button').html('<ul><li><span>'+load_text+'<\/span><i class=\"'+load_icon+'\"><\/i><\/li><\/ul><div><svg viewBox=\"0 0 24 24\"><path d=\"M 4,12 C 4,12 12,20 12,20 C 12,20 20,12 20,12\"><\/path><\/svg><\/div>');\r\n                    }else{\r\n                       jQuery('.tsvg-section-891933  .tsvg-pagination-pages-wrapper').find('.tsvg-load-more-content-button').html('<div><svg viewBox=\"0 0 24 24\"><path d=\"M 4,12 C 4,12 12,20 12,20 C 12,20 20,12 20,12\"><\/path><\/svg><\/div>');\r\n                    }\r\n                }, 2000 );\r\n            }\r\n        })\r\n        tsvgPaginationCreate891933(jQuery('.tsvg-section-891933  .tsvg-main-content-891933 figure ul li').not('.tsvg-layout-item-show'),0, numberItemsPerPage)\r\n      }\r\n    }\r\n    function tsvgNewPagination891933(){\r\n        var interval_pag_fn_891933 = setInterval(setPagina_891933, 100);\r\n        function setPagina_891933() {\r\n        if(  typeof(jQuery) != \"undefined\" && jQuery != null){\r\n            if( jQuery('.tsvg-main-content-891933').attr(\"data-pagination\")=='pagination'){\r\n                tsvgPaginationGenerate891933();\r\n            }\r\n            if( jQuery('.tsvg-main-content-891933').attr(\"data-pagination\")=='load-more'){\r\n                tsvgPaginationGenerate891933();\r\n            }\r\n            clearInterval(interval_pag_fn_891933);\r\n        }\r\n        }\r\n    }\r\n    tsvgNewPagination891933();\r\n\tfunction tsvgPaginationGenerate(){\r\n\t\ttsvgPaginationGenerate891933();\r\n\t}\r\n    function getPoint(point, i, a, smoothing) {\r\n    let cp = (current, previous, next, reverse) => {\r\n            let p = previous || current,\r\n                n = next || current,\r\n                o = {\r\n                    length: Math.sqrt(Math.pow(n[0] - p[0], 2) + Math.pow(n[1] - p[1], 2)),\r\n                    angle: Math.atan2(n[1] - p[1], n[0] - p[0])\r\n                },\r\n                angle = o.angle + (reverse ? Math.PI : 0),\r\n                length = o.length * smoothing;\r\n            return [current[0] + Math.cos(angle) * length, current[1] + Math.sin(angle) * length];\r\n        },\r\n        cps = cp(a[i - 1], a[i - 2], point, false),\r\n        cpe = cp(point, a[i - 1], a[i + 1], true);\r\n    return `C ${cps[0]},${cps[1]} ${cpe[0]},${cpe[1]} ${point[0]},${point[1]}`;\r\n    }\r\n    function getPath(update, smoothing, pointsNew) {\r\n        let points = pointsNew ? pointsNew : [\r\n                [4, 12],\r\n                [12, update],\r\n                [20, 12]\r\n            ],\r\n            d = points.reduce((acc, point, i, a) => i === 0 ? `M ${point[0]},${point[1]}` : `${acc} ${getPoint(point, i, a, smoothing)}`, '');\r\n        return `<path d=\"${d}\" \/>`;\r\n    }\r\n<\/script>\r\n    <\/section>\n<p>More of Ashish Kothari&#8217;s doodles are <a href=\"https:\/\/www.behance.net\/ashishkotharidoodle\">available here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Knowledges, wisdom and creativity should not only be conveyed through our standard means of communication &#8211; written or spoken word. Instead, here we are sharing artistic and visual engagements of and with thinking convivially. Visual Have a look at our collection of brief reflection prompts: More of Ashish Kothari&#8217;s doodles are available here.<\/p>\n","protected":false},"author":207,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-1501","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/convivialthinking.org\/index.php\/wp-json\/wp\/v2\/pages\/1501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/convivialthinking.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/convivialthinking.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/convivialthinking.org\/index.php\/wp-json\/wp\/v2\/users\/207"}],"replies":[{"embeddable":true,"href":"https:\/\/convivialthinking.org\/index.php\/wp-json\/wp\/v2\/comments?post=1501"}],"version-history":[{"count":18,"href":"https:\/\/convivialthinking.org\/index.php\/wp-json\/wp\/v2\/pages\/1501\/revisions"}],"predecessor-version":[{"id":1654,"href":"https:\/\/convivialthinking.org\/index.php\/wp-json\/wp\/v2\/pages\/1501\/revisions\/1654"}],"wp:attachment":[{"href":"https:\/\/convivialthinking.org\/index.php\/wp-json\/wp\/v2\/media?parent=1501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/convivialthinking.org\/index.php\/wp-json\/wp\/v2\/categories?post=1501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/convivialthinking.org\/index.php\/wp-json\/wp\/v2\/tags?post=1501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}