<!DOCTYPE html>
<html dir='ltr' lang='id-indonesia' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
<link href='https://www.blogger.com/static/v1/widgets/2549344219-widget_css_bundle.css' rel='stylesheet' type='text/css'/>
<meta charset='UTF-8'/>
<meta content='width=device-width, initial-scale = 1.0, maximum-scale=2.0, user-scalable=yes' name='viewport'/>
<link href='https://fonts.googleapis.com/css?family=Arvo:400,400italic,700,700italic' rel='stylesheet' type='text/css'/>
<link href='https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css' rel='stylesheet'/>
<link href='http://wikimedia.epizy.com/jasaflora.id/jasa-tukang-taman' rel='canonical'/>
<link href='https://www.jasaflora.id/favicon.ico' rel='icon' type='image/x-icon'/>
<title>JASA TUKANG TAMAN TERPERCAYA</title>
<meta content='Mengerjakan pembuatan taman dan renovasi taman rumah, Hotel, Perkantoran, Pergudangan, dan tempat-tempat wisata. Jasa tukang taman. Spesialis taman. Pakar taman. Pemborong taman. Kontraktor taman' name='description'/>
<meta content='Jasa tukang taman. Spesialis taman. Pakar taman. Pemborong taman. Kontraktor taman' name='keywords'/>
<script type='application/ld+json'>{
"@context": "http://schema.org",
"@type": "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "jasaflora.id/jasa-tukang-taman"
},
"headline": "Jasa tukang taman",
"description": "Mengerjakan pembuatan taman dan renovasi taman rumah, Hotel, Perkantoran, Pergudangan, dan tempat-tempat wisata. Jasa tukang taman. Spesialis taman. Pakar taman. Pemborong taman. Kontraktor taman",
"datePublished": "2020-02-05T19:27:02",
"dateModified": "2020-02-05T19:27:02",
"image": {
"@type": "ImageObject","url": "https://2.bp.blogspot.com/-osRswyPEuSg/XiVwuEig4CI/AAAAAAAAAx8/3gIcnS3bN6U2VL29HG-7DTdv8ROf0W0jwCLcBGAsYHQ/s1600/Jasatamanjasaflora.id-1.jpg",
"height": 460,
"width": 950},"publisher": {
"@type": "Organization",
"name": "Jasa tukang taman",
"logo": {
"@type": "ImageObject",
"url": "https://2.bp.blogspot.com/-osRswyPEuSg/XiVwuEig4CI/AAAAAAAAAx8/3gIcnS3bN6U2VL29HG-7DTdv8ROf0W0jwCLcBGAsYHQ/s1600/Jasatamanjasaflora.id-1.jpg",
"width": 950,
"height": 460
}
},"author": {
"@type": "Person",
"name": "jasa tukang taman"
}
}</script>
<meta content='Artikel' property='og:type'/>
<meta content='summary' name='twitter:card'/>
<style id='page-skin-1' type='text/css'><!--
body#layout ul{list-style-type:none;list-style:none}
body#layout ul li{list-style-type:none;list-style:none}
body#layout #headerbwrap {height:auto;}
body#layout #content {}
body#layout #contentnbt {float:none;max-width:100%;}
body#layout #slidecontainer {display:block;}
body#layout #servicesnbt {display:none;}
.section,.widget{margin:0;padding:0;}
.entry-content img,
.widget img {
max-width: 100%;
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image,
img {
max-width: 100%;
height: auto;
}
* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
max-width: 100% !important;
}
.size-auto,.size-full,.size-large,.size-medium,.size-thumbnail{max-width:100%;height:auto;}
.entry-content pre{border:1px solid #ededed;color:#666;font-size:12px;font-size:0.857142857rem;line-height:1.714285714;margin:24px 0;margin:1.714285714rem 0;overflow:auto;padding:24px;padding:1.714285714rem;}
.entry-content table{border-bottom:1px solid #ededed;color:#757575;font-size:12px;font-size:0.857142857rem;line-height:2;margin:0 0 24px;margin:0 0 1.714285714rem;width:100%;}
.entry-content dl{margin:0 24px;margin:0 1.714285714rem;}
.entry-content dt{font-weight:bold;line-height:1.714285714;}
.entry-content dd{line-height:1.714285714;margin-bottom:24px;margin-bottom:1.714285714rem;}
.entry-content table caption{font-size:16px;font-size:1.142857143rem;margin:24px 0;margin:1.714285714rem 0;}
.entry-content td{border-top:1px solid #ededed;padding:6px 10px 6px 0;}
p{margin-top:-10px;}
ol{margin:10px;padding:0;}
ul{margin:5px;padding:0;}
#slidecontainer{width:100%;height:auto;float:left;clear:left;margin-left:0%;margin-top:0;}
.camera_wrap a,.camera_wrap img,.camera_wrap ol,.camera_wrap ul,.camera_wrap li,.camera_wrap table,.camera_wrap tbody,.camera_wrap tfoot,.camera_wrap thead,.camera_wrap tr,.camera_wrap th,.camera_wrap td
.camera_thumbs_wrap a,.camera_thumbs_wrap img,.camera_thumbs_wrap ol,.camera_thumbs_wrap ul,.camera_thumbs_wrap li,.camera_thumbs_wrap table,.camera_thumbs_wrap tbody,.camera_thumbs_wrap tfoot,.camera_thumbs_wrap thead,.camera_thumbs_wrap tr,.camera_thumbs_wrap th,.camera_thumbs_wrap td{background:none;border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline;list-style:none;}
.camera_wrap{display:none;float:left;position:relative;z-index:0;margin-bottom:0!important;}
.camera_wrap img{max-width:none!important;}
.camera_fakehover{height:100%;min-height:60px;position:relative;width:100%;z-index:1;}
.camera_wrap{width:100%;}
.camera_src{display:none;}
.cameraCont,.cameraContents{height:100%;position:relative;width:100%;z-index:1;}
.cameraSlide{bottom:0;left:0;position:absolute;right:0;top:0;width:100%;}
.cameraContent{bottom:0;display:none;left:0;position:absolute;right:0;top:0;width:100%;}
.camera_target{bottom:0;height:100%;left:0;overflow:hidden;position:absolute;right:0;text-align:left;top:0;width:100%;z-index:0;}
.camera_overlayer{bottom:0;height:100%;left:0;overflow:hidden;position:absolute;right:0;top:0;width:100%;z-index:0;}
.camera_target_content{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:2;}
.camera_target_content .camera_link{display:block;height:100%;text-decoration:none;}
.camera_bar{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:3;}
.camera_thumbs_wrap.camera_left .camera_bar,.camera_thumbs_wrap.camera_right .camera_bar{height:100%;position:absolute;width:auto;}
.camera_thumbs_wrap.camera_bottom .camera_bar,.camera_thumbs_wrap.camera_top .camera_bar{height:auto;position:absolute;width:100%;}
.camera_nav_cont{height:65px;overflow:hidden;position:absolute;right:9px;top:15px;width:120px;z-index:4;}
.camera_caption{bottom:0;display:block;position:absolute;width:100%;}
.camera_caption > div{padding:10px 20px;}
.camerarelative{overflow:hidden;position:relative;}
.imgFake{cursor:pointer;}
.camera_prevThumbs{bottom:4px;cursor:pointer;left:0;position:absolute;top:4px;visibility:hidden;width:30px;z-index:10;}
.camera_prevThumbs div{display:block;height:40px;margin-top:-20px;position:absolute;top:50%;width:30px;}
.camera_nextThumbs{bottom:4px;cursor:pointer;position:absolute;right:0;top:4px;visibility:hidden;width:30px;z-index:10;}
.camera_nextThumbs div{display:block;height:40px;margin-top:-20px;position:absolute;top:50%;width:30px;}
.camera_command_wrap .hideNav{display:none;}
.camera_command_wrap{left:0;position:relative;right:0;z-index:4;}
.camera_pag{margin-top:-50px;}
.camera_wrap .camera_pag .camera_pag_ul{list-style:none;margin:0;padding:0;text-align:right;margin-right:10px;}
.camera_wrap .camera_pag .camera_pag_ul li{-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;cursor:pointer;display:inline-block;height:16px;margin:20px 5px;position:relative;text-align:left;text-indent:-9999px;width:16px;}
.camera_commands_emboss .camera_pag .camera_pag_ul li{-moz-box-shadow:0 1px 0 rgba(255,255,255,1),inset 0 1px 1px rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 0 rgba(255,255,255,1),inset 0 1px 1px rgba(0,0,0,0.2);box-shadow:0 1px 0 rgba(255,255,255,1),inset 0 1px 1px rgba(0,0,0,0.2);}
.camera_wrap .camera_pag .camera_pag_ul li > span{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:8px;left:4px;overflow:hidden;position:absolute;top:4px;width:8px;}
.camera_commands_emboss .camera_pag .camera_pag_ul li:hover > span{-moz-box-shadow:0 1px 0 rgba(255,255,255,1),inset 0 1px 1px rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 0 rgba(255,255,255,1),inset 0 1px 1px rgba(0,0,0,0.2);box-shadow:0 1px 0 rgba(255,255,255,1),inset 0 1px 1px rgba(0,0,0,0.2);}
.camera_wrap .camera_pag .camera_pag_ul li.cameracurrent > span{-moz-box-shadow:0;-webkit-box-shadow:0;box-shadow:0;}
.camera_pag_ul li img{display:none;position:absolute;}
.camera_pag_ul .thumb_arrow{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;top:0;left:50%;margin-left:-4px;position:absolute;}
.camera_prev,.camera_next,.camera_commands{cursor:pointer;height:40px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:2;}
.camera_prev{left:0;text-align:center;}
.camera_prev > span{display:block;height:40px;width:40px;}
.camera_prev:before{display:inline-block;-webkit-font-smoothing:antialiased;font:normal 32px/1 'FontAwesome';line-height:40px;content:'\f177';color:#333;}
.camera_next{right:0;text-align:center;}
.camera_next > span{display:block;height:40px;width:40px;}
.camera_next:before{display:inline-block;-webkit-font-smoothing:antialiased;font:normal 32px/1 'FontAwesome';line-height:40px;content:'\f178';color:#333;}
.camera_commands{right:41px;}
.camera_commands > .camera_play{height:40px;width:40px;}
.camera_commands > .camera_stop{display:block;height:40px;width:40px;}
.camera_wrap .camera_pag .camera_pag_ul li{-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;cursor:pointer;display:inline-block;height:16px;margin:20px 5px;position:relative;text-indent:-9999px;width:16px;}
.camera_thumbs_cont{-webkit-border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-moz-border-radius-bottomleft:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;overflow:hidden;position:relative;width:100%;}
.camera_commands_emboss .camera_thumbs_cont{-moz-box-shadow:0 1px 0 rgba(255,255,255,1),inset 0 1px 1px rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 0 rgba(255,255,255,1),inset 0 1px 1px rgba(0,0,0,0.2);box-shadow:0 1px 0 rgba(255,255,255,1),inset 0 1px 1px rgba(0,0,0,0.2);}
.camera_thumbs_cont > div{float:left;width:100%;}
.camera_thumbs_cont ul{overflow:hidden;padding:3px 4px 8px;position:relative;text-align:center;}
.camera_thumbs_cont ul li{display:inline;padding:0 4px;}
.camera_thumbs_cont ul li > img{border:1px solid;cursor:pointer;margin-top:5px;vertical-align:bottom;}
.camera_clear{display:block;clear:both;}
.showIt{display:none;}
.camera_clear{clear:both;display:block;height:1px;margin:-1px 0 25px;position:relative;}
.camera_caption{bottom:0;}
.camera_caption > div{background:#000;background:rgba(0,0,0,0.8);}
.camera_effected{font-size:18px;color:#fff;background:#000;background:rgba(0,0,0,0.5);display:inline-block;padding:12px;position:absolute;bottom:0;font-family:'Arvo',arial,helvetica,sans-serif;font-weight:400;}
.camera_wrap .camera_pag .camera_pag_ul li{background:#fff;}
.camera_wrap .camera_pag .camera_pag_ul li:hover > span{background:#fff;}
.camera_wrap .camera_pag .camera_pag_ul li.cameracurrent > span{background:#fff;}
.camera_pag_ul li img{border:4px solid #e6e6e6;-moz-box-shadow:0 3px 6px rgba(0,0,0,.5);-webkit-box-shadow:0 3px 6px rgba(0,0,0,.5);box-shadow:0 3px 6px rgba(0,0,0,.5);}
.camera_pag_ul .thumb_arrow{border-top-color:#e6e6e6;}
.camera_prevThumbs,.camera_nextThumbs,.camera_prev,.camera_next,.camera_commands,.camera_thumbs_cont{background:#fff;background:rgba(255,255,255,0.5);}
.camera_wrap .camera_pag .camera_pag_ul li{background:#006677;background:#006677;}
.camera_thumbs_cont ul li > img{border-color:1px solid #000;}
body,html{height:100%;min-height:100%;}
body{background-color: #ffffff ;color:#111;font-family:'Tinos',arial,helvetica,tahoma,sans-serif;font-size:14px;font-weight:300;margin:0;padding:0;line-height:25px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
h1, h2, h3{color:#000;margin:0;padding: 0px 0px 15px;margin-top:-2px;text-transform:none;font-weight:400; text-align: center;font-size:16px;font-family:'Arvo',arial,helvetica,sans-serif;}
h4{color:#000;margin:0;padding:0;margin-top:20px;text-transform:none;font-weight:400;font-size:16px;font-family:'Arvo',arial,helvetica,sans-serif;}
h5{color:#000;margin:0;padding:0;margin-top:20px;text-transform:none;font-weight:400;font-size:12px;font-family:'Arvo',arial,helvetica,sans-serif;}
p{margin-top:15px;}
img{border:none;padding:0;}
img a{border:none;}
img.left{float:left;border:none;padding:6px 0 0 0;}
img.right{float:right;border:none;padding:0 0 0 6px;}
blockquote{border-left:1px solid #ccc;margin:15px;padding:0 12px 0 12px;font-style:italic;}
code{font-family:"Courier New",Courier,monospace;}
a{color:#006677;text-decoration:none;}
a:hover{text-decoration:none;}
#containernbt{width:100%;float:left;clear:left;overflow:hidden;}
#outerwrappernbt{max-width:1100px;margin:0 auto;padding-left:0px;padding-right:0px;}
#wrappernbt{width:100%;float:left;clear:left;margin-top:0px;background-color:#fff;border:2px;background-color:#fff;}
#inwrappernbt{width:97%;float:left;clear:left;padding: 3px 0px 0px 0px;background:#fff;margin:1.5%;}
#headernbt{width:100%;float:left;clear:left;}
#logonbt{width:100%;float:left;margin-top:10px;text-align:center;}
#logonbt a{color:#a3978e;text-decoration:none;}
#logonbt h1 a,#logonbt h1{font-weight:300;font-size:14px;color:#fff;text-transform:uppercase;text-decoration:none;font-family:'Arvo',arial,helvetica,sans-serif;line-height:36px;margin-top:0;text-align:center;}
#site-descriptionnbt{color:#fff;margin:0;padding:0;font-family:'Arvo',arial,helvetica,sans-serif;font-weight:300;font-size:16px;}
#servicesnbt {
width: 100%;
float: left;
clear: left;
margin-top: 20px;
}
.servicespostnbt {
width: 44%;
float: left;
margin: 0;
margin-left: 4%;
padding-bottom: 40px;
-webkit-transition: all 3s ease;
-moz-transition: all 3s ease;
-o-transition: all 3s ease;
-ms-transition: all 3s ease;
transition: all 3s ease;
}
.servicespostnbt.entry-title {
font-weight: 400;
color: #06677;
font-size: 16px;
margin-top: -10px;
margin-bottom: -10px;
padding: 0;
text-transform: uppercase;
}
.post, img {
margin:0;
padding:0;
width: 100%;
clear: left;
text-align: center;
margin-bottom: -10px;
}
.entry-content {
}
.post ul {}
.post li {
margin-left: 15px;
}
.entry-content p {
margin: 8px 0;
}
.belowpostnbt {
width: 100%;
float: left;
clear: both;
height: 50px;
}
.postdatenbt {
font-weight: 400;
color: #F6C934;
font-family: 'Arvo', arial, helvetica, sans-serif;
font-size: 14px;
text-transform: none;
text-decoration: none;
width: 100%;
float: left;
}
.more-linkwrapnbt {
float:right;
}
a.more-linknbt {
font-size: 14px;
color: #333;
text-decoration: none;
padding: 6px 22px;
border: solid 2px #4AB8BA;
margin-top: 10px;
float: left;
display: block;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
}
ul {
margin: 5px;
}
@media only screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px) {
html{-webkit-text-size-adjust:none;}
body{text-align:justify;}
.mnav{float:left;width:100%;margin-top:0;margin-bottom:20px;}
.camera_effected{font-size:15px;}
.servicespostnbt{margin:0 auto;float:none;clear:none;margin-bottom:30px;width:90%;margin-left:5%;}
#rightbarnbt{float:left;clear:left;margin-left:0;width:100%;margin-bottom:25px;margin-top:12px;}
#rightbarnbt .widget{width:90%;padding:4.5%;}
#contentnbt{width:100%;}
.more-linkwrapnbt {float:none;}
}
.sticky-footer {
display: block;
height: 58px;
background: #006677;
position: fixed;
bottom: 0px;
left: 0px;
width: 100%;
z-index: 3;
}
.sticky-footer .one-fourth {
width: 25%;
float: left;
color: #fff;
text-align: center;
height: 58px;
position: relative;
cursor: pointer;
}
.sticky-search,
.sticky-filters,
.sticky-map,
.sticky-radius {
width: 25px;
height: 25px;
margin: auto;
margin-top: 8px;
}
.sticky-footer .one-fourth p {
font-size: 10px;
margin-top: -4px;
}
.CSS_LIGHTBOX .CSS_LAYOUT_COMPONENT {
background-color: #fff;
color: #fff;
}
#rahasia {
display: none;
}
--></style>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js' type='text/javascript'></script>
<script type='text/javascript'>
jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("<input/>",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
</script>
</head>
<body class='homenbt'>
<div id='containernbt'>
<div id='outerwrappernbt'>
<div id='headernbt'>
<div id='logonbt'>
<div class='headersec no-items section' id='headersec'></div>
</div>
</div>
<div id='wrappernbt'>
<div id='inwrappernbt'>
<div id='slidecontainer'>
<div class='camera_wrap' id='camera_wrap_1'>
<div alt='gambar 1' data-link='' data-src='https://2.bp.blogspot.com/-osRswyPEuSg/XiVwuEig4CI/AAAAAAAAAx8/3gIcnS3bN6U2VL29HG-7DTdv8ROf0W0jwCLcBGAsYHQ/s1600/Jasatamanjasaflora.id-1.jpg?s='>
<div class='fadeIn camera_effected'>
Jasa tukang taman terpercaya
</div>
</div>
<div alt='gambar 2' data-link='' data-src='https://2.bp.blogspot.com/-PdGuQpFYsEM/XiVwu3VYorI/AAAAAAAAAyE/XCkqa3q5HkwcJNWcjlIs6jXOXocQnIHuwCLcBGAsYHQ/s1600/Jasatamanjasaflora.id-3.jpg?s='>
<div class='fadeIn camera_effected'>
Jasa tukang taman terpercaya
</div>
</div>
<div alt='gambar 3' data-link='' data-src='https://3.bp.blogspot.com/-DrpA_3u92Ag/XiVwu8CIgCI/AAAAAAAAAyA/0lf0zP4cQRkAnTfNXtNNFFOfAy6vnvZxwCLcBGAsYHQ/s1600/Jasatamanjasaflora.id-2.jpg?s='>
<div class='fadeIn camera_effected'>
Jasa tukang taman terpercaya
</div>
</div>
</div>
</div>
<div id='servicesnbt'>
<div class='servicespostnbt'>
<h1 class='entry-title'><a href='https://jasaflora.id' title='Jasa tukang taman terpercaya'>Jasa tukang taman terpercaya</a></h1><img alt='jasaflora.id' class='wp-post-image' height='160' src='https://2.bp.blogspot.com/-osRswyPEuSg/XiVwuEig4CI/AAAAAAAAAx8/3gIcnS3bN6U2VL29HG-7DTdv8ROf0W0jwCLcBGAsYHQ/s1600/Jasatamanjasaflora.id-1.jpg' width='300'/>
<div class='belowpostnbt'><a class='more-linknbt'> ⭐⭐⭐⭐✰    <span style='color: #006677;'>Fenny ➤ Jasaflora.id</span></a></div>
<br/><br/><br/>
Taman adalah seni dengan gagasan tingkat tinggi dan keragaman merupakan alasan dasar terciptanya sebuah seni. Mulai dari pembentukan pola hingga ragam material sofscape dan hardskape. Jasa tukang taman terpercaya dengan layanan terbaik dan ramah. Selalu memberikan ide kreatif dan inovatif. Kami memiliki pengalaman kerja sejak tahun 2009. Dan didukung oleh team handal dan berpengalaman yang siap melayani Anda kapanpun dan dimanapun.<br/>
<div class='belowpostnbt'><a class='more-linknbt'> 😊👍 <span style='color: #006677;'>196</span></a>
</div></div>
<div class='servicespostnbt'>
<h2 class='entry-title'><a href='https://jasaflora.id' title='Jasa tukang taman terpercaya'>Jasa tukang taman terpercaya</a></h2><img alt='jasaflora.id' class='wp-post-image' height='160' src='https://2.bp.blogspot.com/-PdGuQpFYsEM/XiVwu3VYorI/AAAAAAAAAyE/XCkqa3q5HkwcJNWcjlIs6jXOXocQnIHuwCLcBGAsYHQ/s1600/Jasatamanjasaflora.id-3.jpg' width='300'/>
<div class='belowpostnbt'><a class='more-linknbt'> ⭐⭐⭐⭐⭐  <span style='color: #006677;'>Ashifa ➤ Jasaflora.id</span></a></div>
<br/><br/><br/>
Kami berusaha sangat keras untuk menjangkau Anda sekalian yang ingin membuat taman atau merenovasi taman rumah dengan di bantu team ahli yang berada di Provinsi Jawa timur seperti di Surabaya, Malang, Sidoarjo, Jombang, Pasuruan, Jember, Gresik, Lamongan, Tuban dan di Bojonegoro. Info selengkapnya bisa langsung menghubungi call center kami di bawah.<br/>
<div class='belowpostnbt'><a class='more-linknbt'> 😊👍 <span style='color: #006677;'>203</span></a>
</div></div>
</div>
</div>
</div>
<div id='rahasia'>
<h3>
<div class='org'>jasa tukang taman</div>
<div class='adr'>
<span class='lokal'>Wanar</span>
<span class='Kecamatan'>Pucuk</span>
<span class='Kabupten'>Lamongan</span>
<span class='Provinsi'>Jawa timur</span>
<span class='Kode Pos'>62257</span>
<span class='nama negara'>Indonesia</span>
</div>
</h3>
</div>
<div id='footernbt'>
<b:if cond='data:blog.isMobileRequest == "true"'>
<div class='sticky-footer'>
<div class='one-fourth' id='filters'><a href='/'><img alt='jasaflora.id' class='sticky-filters' src='https://1.bp.blogspot.com/-Sp1IxHIR0Fk/XhTHSUxkCBI/AAAAAAAAADs/DK8hmr_fgYshtCKTIjNHrZJ-bSzR2LrJACLcBGAsYHQ/s1600/Galery.png'/></a>
<p><a href='/' style='color:#fff;' title='jasa tukang taman'>All GALERY</a></p>
</div>
<div class='one-fourth' id='map'><a href='/'><img alt='jasaflora.id' class='sticky-map' src='https://1.bp.blogspot.com/-huEo442nVfk/XhTHSSeHOhI/AAAAAAAAADw/hNZ8-uqV5HoCKcszdAHd2lgr97JUscNSACLcBGAsYHQ/s1600/Jasa%2Blain.png'/></a>
<p><a href='/' style='color:#fff;' title='jasa tukang taman'>JASA LAINYA</a></p>
</div>
<div class='one-fourth' id='search'><a href='https://m.jasaflora.id/telepon'><img alt='jasaflora.id' class='sticky-search' src='https://1.bp.blogspot.com/-AWyvOYFLado/XhTHSS3-qcI/AAAAAAAAADo/46P-qz63P6ccfW0yO-E1r5sleYoKMSCBACLcBGAsYHQ/s1600/Telepon.png'/></a>
<p><a href='https://m.jasaflora.id/telepon' style='color:#fff;' title='jasa tukang taman'>HUBUNGI</a></p>
</div>
<div class='one-fourth' id='radius'><a href='https://m.jasaflora.id/whatsapp'><img alt='jasaflora.id' class='sticky-radius' src='https://1.bp.blogspot.com/-syijcgZJ61s/XhTHTnbheDI/AAAAAAAAAD0/o-58EjdUIe4mZyH5skJsoOyYsCzN2TXXwCLcBGAsYHQ/s1600/Whatsapp.png'/></a>
<p><a href='https://m.jasaflora.id/whatsapp' style='color:#fff;' title='jasa tukang taman'>WHATSAPP</a></p>
</div>
</div>
</b:if>
</div>
</div>
</div>
<script type='text/javascript'>
function redirectCU(e) {
if (e.ctrlKey && e.which == 85) {
window.location.replace("http://jasaflora.id");
return false;
}
}
document.onkeydown = redirectCU;
function redirectKK(e) {
if (e.which == 3) {
window.location.replace("http://jasaflora.id");
return false;
}
}
document.oncontextmenu = redirectKK;
</script>
</div>
</div>
</div>
<script type='text/javascript'>
jQuery.easing['jswing'] = jQuery.easing['swing'];
jQuery.extend( jQuery.easing,
{
def: 'easeOutQuad',
swing: function (x, t, b, c, d) {
return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
},
easeInQuad: function (x, t, b, c, d) {
return c*(t/=d)*t + b;
},
easeOutQuad: function (x, t, b, c, d) {
return -c *(t/=d)*(t-2) + b;
},
easeInOutQuad: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t + b;
return -c/2 * ((--t)*(t-2) - 1) + b;
},
easeInCubic: function (x, t, b, c, d) {
return c*(t/=d)*t*t + b;
},
easeOutCubic: function (x, t, b, c, d) {
return c*((t=t/d-1)*t*t + 1) + b;
},
easeInOutCubic: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t + b;
return c/2*((t-=2)*t*t + 2) + b;
},
easeInQuart: function (x, t, b, c, d) {
return c*(t/=d)*t*t*t + b;
},
easeOutQuart: function (x, t, b, c, d) {
return -c * ((t=t/d-1)*t*t*t - 1) + b;
},
easeInOutQuart: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
return -c/2 * ((t-=2)*t*t*t - 2) + b;
},
easeInQuint: function (x, t, b, c, d) {
return c*(t/=d)*t*t*t*t + b;
},
easeOutQuint: function (x, t, b, c, d) {
return c*((t=t/d-1)*t*t*t*t + 1) + b;
},
easeInOutQuint: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
return c/2*((t-=2)*t*t*t*t + 2) + b;
},
easeInSine: function (x, t, b, c, d) {
return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
},
easeOutSine: function (x, t, b, c, d) {
return c * Math.sin(t/d * (Math.PI/2)) + b;
},
easeInOutSine: function (x, t, b, c, d) {
return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
},
easeInExpo: function (x, t, b, c, d) {
return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
},
easeOutExpo: function (x, t, b, c, d) {
return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
},
easeInOutExpo: function (x, t, b, c, d) {
if (t==0) return b;
if (t==d) return b+c;
if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
},
easeInCirc: function (x, t, b, c, d) {
return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
},
easeOutCirc: function (x, t, b, c, d) {
return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
},
easeInOutCirc: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
},
easeInElastic: function (x, t, b, c, d) {
var s=1.70158;var p=0;var a=c;
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
if (a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
},
easeOutElastic: function (x, t, b, c, d) {
var s=1.70158;var p=0;var a=c;
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
if (a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
},
easeInOutElastic: function (x, t, b, c, d) {
var s=1.70158;var p=0;var a=c;
if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
if (a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
},
easeInBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
return c*(t/=d)*t*((s+1)*t - s) + b;
},
easeOutBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
},
easeInOutBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
},
easeInBounce: function (x, t, b, c, d) {
return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
},
easeOutBounce: function (x, t, b, c, d) {
if ((t/=d) < (1/2.75)) {
return c*(7.5625*t*t) + b;
} else if (t < (2/2.75)) {
return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
} else if (t < (2.5/2.75)) {
return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
} else {
return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
}
},
easeInOutBounce: function (x, t, b, c, d) {
if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
}
});
</script>
<script type='text/javascript'>
jQuery.easing['jswing'] = jQuery.easing['swing'];
jQuery.extend( jQuery.easing,
{
def: 'easeOutQuad',
swing: function (x, t, b, c, d) {
return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
},
easeInQuad: function (x, t, b, c, d) {
return c*(t/=d)*t + b;
},
easeOutQuad: function (x, t, b, c, d) {
return -c *(t/=d)*(t-2) + b;
},
easeInOutQuad: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t + b;
return -c/2 * ((--t)*(t-2) - 1) + b;
},
easeInCubic: function (x, t, b, c, d) {
return c*(t/=d)*t*t + b;
},
easeOutCubic: function (x, t, b, c, d) {
return c*((t=t/d-1)*t*t + 1) + b;
},
easeInOutCubic: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t + b;
return c/2*((t-=2)*t*t + 2) + b;
},
easeInQuart: function (x, t, b, c, d) {
return c*(t/=d)*t*t*t + b;
},
easeOutQuart: function (x, t, b, c, d) {
return -c * ((t=t/d-1)*t*t*t - 1) + b;
},
easeInOutQuart: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
return -c/2 * ((t-=2)*t*t*t - 2) + b;
},
easeInQuint: function (x, t, b, c, d) {
return c*(t/=d)*t*t*t*t + b;
},
easeOutQuint: function (x, t, b, c, d) {
return c*((t=t/d-1)*t*t*t*t + 1) + b;
},
easeInOutQuint: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
return c/2*((t-=2)*t*t*t*t + 2) + b;
},
easeInSine: function (x, t, b, c, d) {
return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
},
easeOutSine: function (x, t, b, c, d) {
return c * Math.sin(t/d * (Math.PI/2)) + b;
},
easeInOutSine: function (x, t, b, c, d) {
return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
},
easeInExpo: function (x, t, b, c, d) {
return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
},
easeOutExpo: function (x, t, b, c, d) {
return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
},
easeInOutExpo: function (x, t, b, c, d) {
if (t==0) return b;
if (t==d) return b+c;
if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
},
easeInCirc: function (x, t, b, c, d) {
return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
},
easeOutCirc: function (x, t, b, c, d) {
return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
},
easeInOutCirc: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
},
easeInElastic: function (x, t, b, c, d) {
var s=1.70158;var p=0;var a=c;
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
if (a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
},
easeOutElastic: function (x, t, b, c, d) {
var s=1.70158;var p=0;var a=c;
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
if (a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
},
easeInOutElastic: function (x, t, b, c, d) {
var s=1.70158;var p=0;var a=c;
if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
if (a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
},
easeInBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
return c*(t/=d)*t*((s+1)*t - s) + b;
},
easeOutBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
},
easeInOutBack: function (x, t, b, c, d, s) {
if (s == undefined) s = 1.70158;
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
},
easeInBounce: function (x, t, b, c, d) {
return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
},
easeOutBounce: function (x, t, b, c, d) {
if ((t/=d) < (1/2.75)) {
return c*(7.5625*t*t) + b;
} else if (t < (2/2.75)) {
return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
} else if (t < (2.5/2.75)) {
return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
} else {
return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
}
},
easeInOutBounce: function (x, t, b, c, d) {
if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
}
});
</script>
<script type='text/javascript'>
;(function($){$.fn.camera = function(opts, callback) {
var defaults = {
alignment : 'center',
autoAdvance : true,
mobileAutoAdvance : true,
barDirection : 'leftToRight',
barPosition : 'bottom',
cols : 6,
easing : 'easeInOutExpo',
mobileEasing : '',
fx : 'random',
mobileFx : '',
gridDifference : 1000,
height : '50%',
imagePath : 'images/',
hover : true,
loader : 'pie',
loaderColor : '#ffffff',
loaderBgColor : '#000000',
loaderOpacity : .8,
loaderPadding : 2,
loaderStroke : 7,
minHeight : '200px',
navigation : true,
navigationHover : true,
mobileNavHover : true,
opacityOnGrid : false,
overlayer : false,
pagination : true,
playPause : false,
pauseOnClick : true,
pieDiameter : 38,
piePosition : 'rightTop',
portrait : false,
rows : 4,
slicedCols : 12,
slicedRows : 8,
slideOn : 'random',
thumbnails : false,
time : 2700,
transPeriod : 1500,
onEndTransition : function() { },
onLoaded : function() { },
onStartLoading : function() { },
onStartTransition : function() { }
};
function isMobile() {
if( navigator.userAgent.match(/Android/i) ||
navigator.userAgent.match(/webOS/i) ||
navigator.userAgent.match(/iPad/i) ||
navigator.userAgent.match(/iPhone/i) ||
navigator.userAgent.match(/iPod/i)
){
return true;
}
}
var opts = $.extend({}, defaults, opts);
var wrap = $(this).addClass('camera_wrap');
wrap.wrapInner(
'<div class="camera_src" />'
).wrapInner(
'<div class="camera_fakehover" />'
);
var fakeHover = $('.camera_fakehover',wrap);
fakeHover.append(
'<div class="camera_target"></div>'
);
if(opts.overlayer == true){
fakeHover.append(
'<div class="camera_overlayer"></div>'
)
}
fakeHover.append(
'<div class="camera_target_content"></div>'
);
var loader;
if(opts.loader=='pie' && $.browser.msie && $.browser.version < 9){
loader = 'bar';
} else {
loader = opts.loader;
}
if(loader == 'pie'){
fakeHover.append(
'<div class="camera_pie"></div>'
)
} else if (loader == 'bar') {
fakeHover.append(
'<div class="camera_bar"></div>'
)
} else {
fakeHover.append(
'<div class="camera_bar" style="display:none"></div>'
)
}
if(opts.playPause==true){
fakeHover.append(
'<div class="camera_commands"></div>'
)
}
if(opts.navigation==true){
fakeHover.append(
'<div class="camera_prev"><span></span></div>'
).append(
'<div class="camera_next"><span></span></div>'
);
}
if(opts.thumbnails==true){
wrap.append(
'<div class="camera_thumbs_cont" />'
);
}
if(opts.thumbnails==true && opts.pagination!=true){
$('.camera_thumbs_cont',wrap).wrap(
'<div />'
).wrap(
'<div class="camera_thumbs" />'
).wrap(
'<div />'
).wrap(
'<div class="camera_command_wrap" />'
);
}
if(opts.pagination==true){
wrap.append(
'<div class="camera_pag"></div>'
);
}
wrap.append(
'<div class="camera_loader"></div>'
);
$('.camera_caption',wrap).each(function(){
$(this).wrapInner('<div />');
});
var pieID = 'pie_'+wrap.index(),
elem = $('.camera_src',wrap),
target = $('.camera_target',wrap),
content = $('.camera_target_content',wrap),
pieContainer = $('.camera_pie',wrap),
barContainer = $('.camera_bar',wrap),
prevNav = $('.camera_prev',wrap),
nextNav = $('.camera_next',wrap),
commands = $('.camera_commands',wrap),
pagination = $('.camera_pag',wrap),
thumbs = $('.camera_thumbs_cont',wrap);
var w,
h;
var allImg = new Array();
$('> div', elem).each( function() {
allImg.push($(this).attr('data-src'));
});
var allLinks = new Array();
$('> div', elem).each( function() {
if($(this).attr('data-link')){
allLinks.push($(this).attr('data-link'));
} else {
allLinks.push('');
}
});
var allTargets = new Array();
$('> div', elem).each( function() {
if($(this).attr('data-target')){
allTargets.push($(this).attr('data-target'));
} else {
allTargets.push('');
}
});
var allPor = new Array();
$('> div', elem).each( function() {
if($(this).attr('data-portrait')){
allPor.push($(this).attr('data-portrait'));
} else {
allPor.push('');
}
});
var allAlign= new Array();
$('> div', elem).each( function() {
if($(this).attr('data-alignment')){
allAlign.push($(this).attr('data-alignment'));
} else {
allAlign.push('');
}
});
var allThumbs = new Array();
$('> div', elem).each( function() {
if($(this).attr('data-thumb')){
allThumbs.push($(this).attr('data-thumb'));
} else {
allThumbs.push('');
}
});
var amountSlide = allImg.length;
$(content).append('<div class="cameraContents" />');
var loopMove;
for (loopMove=0;loopMove<amountSlide;loopMove++)
{
$('.cameraContents',content).append('<div class="cameraContent" />');
if(allLinks[loopMove]!=''){
var dataBox = $('> div ',elem).eq(loopMove).attr('data-box');
if(typeof dataBox !== 'undefined' && dataBox !== false && dataBox != '') {
dataBox = 'data-box="'+$('> div ',elem).eq(loopMove).attr('data-box')+'"';
} else {
dataBox = '';
}
$('.camera_target_content .cameraContent:eq('+loopMove+')',wrap).append('<a class="camera_link" href="'+allLinks[loopMove]+'" '+dataBox+' target="'+allTargets[loopMove]+'"></a>');
}
}
$('.camera_caption',wrap).each(function(){
var ind = $(this).parent().index(),
cont = wrap.find('.cameraContent').eq(ind);
$(this).appendTo(cont);
});
target.append('<div class="cameraCont" />');
var cameraCont = $('.cameraCont',wrap);
var loop;
for (loop=0;loop<amountSlide;loop++)
{
cameraCont.append('<div class="cameraSlide cameraSlide_'+loop+'" />');
var div = $('> div:eq('+loop+')',elem);
target.find('.cameraSlide_'+loop).clone(div);
}
function thumbnailVisible() {
var wTh = $(thumbs).width();
$('li', thumbs).removeClass('camera_visThumb');
$('li', thumbs).each(function(){
var pos = $(this).position(),
ulW = $('ul', thumbs).outerWidth(),
offUl = $('ul', thumbs).offset().left,
offDiv = $('> div',thumbs).offset().left,
ulLeft = offDiv-offUl;
if(ulLeft>0){
$('.camera_prevThumbs',camera_thumbs_wrap).removeClass('hideNav');
} else {
$('.camera_prevThumbs',camera_thumbs_wrap).addClass('hideNav');
}
if((ulW-ulLeft)>wTh){
$('.camera_nextThumbs',camera_thumbs_wrap).removeClass('hideNav');
} else {
$('.camera_nextThumbs',camera_thumbs_wrap).addClass('hideNav');
}
var left = pos.left,
right = pos.left+($(this).width());
if(right-ulLeft<=wTh && left-ulLeft>=0){
$(this).addClass('camera_visThumb');
}
});
}
$(window).bind('load resize pageshow',function(){
thumbnailPos();
thumbnailVisible();
});
cameraCont.append('<div class="cameraSlide cameraSlide_'+loop+'" />');
var started;
wrap.show();
var w = target.width();
var h = target.height();
var setPause;
$(window).bind('resize pageshow',function(){
if(started == true) {
resizeImage();
}
$('ul', thumbs).animate({'margin-top':0},0,thumbnailPos);
if(!elem.hasClass('paused')){
elem.addClass('paused');
if($('.camera_stop',camera_thumbs_wrap).length){
$('.camera_stop',camera_thumbs_wrap).hide()
$('.camera_play',camera_thumbs_wrap).show();
if(loader!='none'){
$('#'+pieID).hide();
}
} else {
if(loader!='none'){
$('#'+pieID).hide();
}
}
clearTimeout(setPause);
setPause = setTimeout(function(){
elem.removeClass('paused');
if($('.camera_play',camera_thumbs_wrap).length){
$('.camera_play',camera_thumbs_wrap).hide();
$('.camera_stop',camera_thumbs_wrap).show();
if(loader!='none'){
$('#'+pieID).fadeIn();
}
} else {
if(loader!='none'){
$('#'+pieID).fadeIn();
}
}
},1500);
}
});
function resizeImage(){
var res;
function resizeImageWork(){
w = wrap.width();
if(opts.height.indexOf('%')!=-1) {
var startH = Math.round(w / (100/parseFloat(opts.height)));
if(opts.minHeight != '' && startH < parseFloat(opts.minHeight)){
h = parseFloat(opts.minHeight);
} else {
h = startH;
}
wrap.css({height:h});
} else if (opts.height=='auto') {
h = wrap.height();
} else {
h = parseFloat(opts.height);
wrap.css({height:h});
}
$('.camerarelative',target).css({'width':w,'height':h});
$('.imgLoaded',target).each(function(){
var t = $(this),
wT = t.attr('width'),
hT = t.attr('height'),
imgLoadIn = t.index(),
mTop,
mLeft,
alignment = t.attr('data-alignment'),
portrait = t.attr('data-portrait');
if(typeof alignment === 'undefined' || alignment === false || alignment === ''){
alignment = opts.alignment;
}
if(typeof portrait === 'undefined' || portrait === false || portrait === ''){
portrait = opts.portrait;
}
if(portrait==false||portrait=='false'){
if((wT/hT)<(w/h)) {
var r = w / wT;
var d = (Math.abs(h - (hT*r)))*0.5;
switch(alignment){
case 'topLeft':
mTop = 0;
break;
case 'topCenter':
mTop = 0;
break;
case 'topRight':
mTop = 0;
break;
case 'centerLeft':
mTop = '-'+d+'px';
break;
case 'center':
mTop = '-'+d+'px';
break;
case 'centerRight':
mTop = '-'+d+'px';
break;
case 'bottomLeft':
mTop = '-'+d*2+'px';
break;
case 'bottomCenter':
mTop = '-'+d*2+'px';
break;
case 'bottomRight':
mTop = '-'+d*2+'px';
break;
}
t.css({
'height' : hT*r,
'margin-left' : 0,
'margin-top' : mTop,
'position' : 'absolute',
'visibility' : 'visible',
'width' : w
});
}
else {
var r = h / hT;
var d = (Math.abs(w - (wT*r)))*0.5;
switch(alignment){
case 'topLeft':
mLeft = 0;
break;
case 'topCenter':
mLeft = '-'+d+'px';
break;
case 'topRight':
mLeft = '-'+d*2+'px';
break;
case 'centerLeft':
mLeft = 0;
break;
case 'center':
mLeft = '-'+d+'px';
break;
case 'centerRight':
mLeft = '-'+d*2+'px';
break;
case 'bottomLeft':
mLeft = 0;
break;
case 'bottomCenter':
mLeft = '-'+d+'px';
break;
case 'bottomRight':
mLeft = '-'+d*2+'px';
break;
}
t.css({
'height' : h,
'margin-left' : mLeft,
'margin-top' : 0,
'position' : 'absolute',
'visibility' : 'visible',
'width' : wT*r
});
}
} else {
if((wT/hT)<(w/h)) {
var r = h / hT;
var d = (Math.abs(w - (wT*r)))*0.5;
switch(alignment){
case 'topLeft':
mLeft = 0;
break;
case 'topCenter':
mLeft = d+'px';
break;
case 'topRight':
mLeft = d*2+'px';
break;
case 'centerLeft':
mLeft = 0;
break;
case 'center':
mLeft = d+'px';
break;
case 'centerRight':
mLeft = d*2+'px';
break;
case 'bottomLeft':
mLeft = 0;
break;
case 'bottomCenter':
mLeft = d+'px';
break;
case 'bottomRight':
mLeft = d*2+'px';
break;
}
t.css({
'height' : h,
'margin-left' : mLeft,
'margin-top' : 0,
'position' : 'absolute',
'visibility' : 'visible',
'width' : wT*r
});
}
else {
var r = w / wT;
var d = (Math.abs(h - (hT*r)))*0.5;
switch(alignment){
case 'topLeft':
mTop = 0;
break;
case 'topCenter':
mTop = 0;
break;
case 'topRight':
mTop = 0;
break;
case 'centerLeft':
mTop = d+'px';
break;
case 'center':
mTop = d+'px';
break;
case 'centerRight':
mTop = d+'px';
break;
case 'bottomLeft':
mTop = d*2+'px';
break;
case 'bottomCenter':
mTop = d*2+'px';
break;
case 'bottomRight':
mTop = d*2+'px';
break;
}
t.css({
'height' : hT*r,
'margin-left' : 0,
'margin-top' : mTop,
'position' : 'absolute',
'visibility' : 'visible',
'width' : w
});
}
}
});
}
if (started == true) {
clearTimeout(res);
res = setTimeout(resizeImageWork,200);
} else {
resizeImageWork();
}
started = true;
}
var u,
setT;
var clickEv,
autoAdv,
navHover,
commands,
pagination;
var videoHover,
videoPresent;
if(isMobile() && opts.mobileAutoAdvance!=''){
autoAdv = opts.mobileAutoAdvance;
} else {
autoAdv = opts.autoAdvance;
}
if(autoAdv==false){
elem.addClass('paused');
}
if(isMobile() && opts.mobileNavHover!=''){
navHover = opts.mobileNavHover;
} else {
navHover = opts.navigationHover;
}
if(elem.length!=0){
var selector = $('.cameraSlide',target);
selector.wrapInner('<div class="camerarelative" />');
var navSlide;
var barDirection = opts.barDirection;
var camera_thumbs_wrap = wrap;
$('iframe',fakeHover).each(function(){
var t = $(this);
var src = t.attr('src');
t.attr('data-src',src);
var divInd = t.parent().index('.camera_src > div');
$('.camera_target_content .cameraContent:eq('+divInd+')',wrap).append(t);
});
function imgFake() {
$('iframe',fakeHover).each(function(){
$('.camera_caption',fakeHover).show();
var t = $(this);
var cloneSrc = t.attr('data-src');
t.attr('src',cloneSrc);
var imgFakeUrl = opts.imagePath+'blank.gif';
var imgFake = new Image();
imgFake.src = imgFakeUrl;
if(opts.height.indexOf('%')!=-1) {
var startH = Math.round(w / (100/parseFloat(opts.height)));
if(opts.minHeight != '' && startH < parseFloat(opts.minHeight)){
h = parseFloat(opts.minHeight);
} else {
h = startH;
}
} else if (opts.height=='auto') {
h = wrap.height();
} else {
h = parseFloat(opts.height);
}
t.after($(imgFake).attr({'class':'imgFake','width':w,'height':h}));
var clone = t.clone();
t.remove();
$(imgFake).bind('click',function(){
if($(this).css('position')=='absolute') {
$(this).remove();
if(cloneSrc.indexOf('vimeo') != -1 || cloneSrc.indexOf('youtube') != -1) {
if(cloneSrc.indexOf('?') != -1){
autoplay = '&autoplay=1';
} else {
autoplay = '?autoplay=1';
}
} else if(cloneSrc.indexOf('dailymotion') != -1) {
if(cloneSrc.indexOf('?') != -1){
autoplay = '&autoPlay=1';
} else {
autoplay = '?autoPlay=1';
}
}
clone.attr('src',cloneSrc+autoplay);
videoPresent = true;
} else {
$(this).css({position:'absolute',top:0,left:0,zIndex:10}).after(clone);
clone.css({position:'absolute',top:0,left:0,zIndex:9});
}
});
});
}
imgFake();
if(opts.hover==true){
if(!isMobile()){
fakeHover.hover(function(){
elem.addClass('hovered');
},function(){
elem.removeClass('hovered');
});
}
}
if(navHover==true){
$(prevNav,wrap).animate({opacity:0},0);
$(nextNav,wrap).animate({opacity:0},0);
$(commands,wrap).animate({opacity:0},0);
if(isMobile()){
fakeHover.live('vmouseover',function(){
$(prevNav,wrap).animate({opacity:1},200);
$(nextNav,wrap).animate({opacity:1},200);
$(commands,wrap).animate({opacity:1},200);
});
fakeHover.live('vmouseout',function(){
$(prevNav,wrap).delay(500).animate({opacity:0},200);
$(nextNav,wrap).delay(500).animate({opacity:0},200);
$(commands,wrap).delay(500).animate({opacity:0},200);
});
} else {
fakeHover.hover(function(){
$(prevNav,wrap).animate({opacity:1},200);
$(nextNav,wrap).animate({opacity:1},200);
$(commands,wrap).animate({opacity:1},200);
},function(){
$(prevNav,wrap).animate({opacity:0},200);
$(nextNav,wrap).animate({opacity:0},200);
$(commands,wrap).animate({opacity:0},200);
});
}
}
$('.camera_stop',camera_thumbs_wrap).live('click',function(){
autoAdv = false;
elem.addClass('paused');
if($('.camera_stop',camera_thumbs_wrap).length){
$('.camera_stop',camera_thumbs_wrap).hide()
$('.camera_play',camera_thumbs_wrap).show();
if(loader!='none'){
$('#'+pieID).hide();
}
} else {
if(loader!='none'){
$('#'+pieID).hide();
}
}
});
$('.camera_play',camera_thumbs_wrap).live('click',function(){
autoAdv = true;
elem.removeClass('paused');
if($('.camera_play',camera_thumbs_wrap).length){
$('.camera_play',camera_thumbs_wrap).hide();
$('.camera_stop',camera_thumbs_wrap).show();
if(loader!='none'){
$('#'+pieID).show();
}
} else {
if(loader!='none'){
$('#'+pieID).show();
}
}
});
if(opts.pauseOnClick==true){
$('.camera_target_content',fakeHover).mouseup(function(){
autoAdv = false;
elem.addClass('paused');
$('.camera_stop',camera_thumbs_wrap).hide()
$('.camera_play',camera_thumbs_wrap).show();
$('#'+pieID).hide();
});
}
$('.cameraContent, .imgFake',fakeHover).hover(function(){
videoHover = true;
},function(){
videoHover = false;
});
$('.cameraContent, .imgFake',fakeHover).bind('click',function(){
if(videoPresent == true && videoHover == true) {
autoAdv = false;
$('.camera_caption',fakeHover).hide();
elem.addClass('paused');
$('.camera_stop',camera_thumbs_wrap).hide()
$('.camera_play',camera_thumbs_wrap).show();
$('#'+pieID).hide();
}
});
}
function shuffle(arr) {
for(
var j, x, i = arr.length; i;
j = parseInt(Math.random() * i),
x = arr[--i], arr[i] = arr[j], arr[j] = x
);
return arr;
}
function isInteger(s) {
return Math.ceil(s) == Math.floor(s);
}
if (loader != 'pie') {
barContainer.append('<span class="camera_bar_cont" />');
$('.camera_bar_cont',barContainer)
.animate({opacity:opts.loaderOpacity},0)
.css({'position':'absolute', 'left':0, 'right':0, 'top':0, 'bottom':0, 'background-color':opts.loaderBgColor})
.append('<span id="'+pieID+'" />');
$('#'+pieID).animate({opacity:0},0);
var canvas = $('#'+pieID);
canvas.css({'position':'absolute', 'background-color':opts.loaderColor});
switch(opts.barPosition){
case 'left':
barContainer.css({right:'auto',width:opts.loaderStroke});
break;
case 'right':
barContainer.css({left:'auto',width:opts.loaderStroke});
break;
case 'top':
barContainer.css({bottom:'auto',height:opts.loaderStroke});
break;
case 'bottom':
barContainer.css({top:'auto',height:opts.loaderStroke});
break;
}
switch(barDirection){
case 'leftToRight':
canvas.css({'left':0, 'right':0, 'top':opts.loaderPadding, 'bottom':opts.loaderPadding});
break;
case 'rightToLeft':
canvas.css({'left':0, 'right':0, 'top':opts.loaderPadding, 'bottom':opts.loaderPadding});
break;
case 'topToBottom':
canvas.css({'left':opts.loaderPadding, 'right':opts.loaderPadding, 'top':0, 'bottom':0});
break;
case 'bottomToTop':
canvas.css({'left':opts.loaderPadding, 'right':opts.loaderPadding, 'top':0, 'bottom':0});
break;
}
} else {
pieContainer.append('<canvas id="'+pieID+'"></canvas>');
var G_vmlCanvasManager;
var canvas = document.getElementById(pieID);
canvas.setAttribute("width", opts.pieDiameter);
canvas.setAttribute("height", opts.pieDiameter);
var piePosition;
switch(opts.piePosition){
case 'leftTop' :
piePosition = 'left:0; top:0;';
break;
case 'rightTop' :
piePosition = 'right:0; top:0;';
break;
case 'leftBottom' :
piePosition = 'left:0; bottom:0;';
break;
case 'rightBottom' :
piePosition = 'right:0; bottom:0;';
break;
}
canvas.setAttribute("style", "position:absolute; z-index:1002; "+piePosition);
var rad;
var radNew;
if (canvas && canvas.getContext) {
var ctx = canvas.getContext("2d");
ctx.rotate(Math.PI*(3/2));
ctx.translate(-opts.pieDiameter,0);
}
}
if(loader=='none' || autoAdv==false) {
$('#'+pieID).hide();
$('.camera_canvas_wrap',camera_thumbs_wrap).hide();
}
if($(pagination).length) {
$(pagination).append('<ul class="camera_pag_ul" />');
var li;
for (li = 0; li < amountSlide; li++){
$('.camera_pag_ul',wrap).append('<li class="pag_nav_'+li+'" style="position:relative; z-index:1002"><span><span>'+li+'</span></span></li>');
}
$('.camera_pag_ul li',wrap).hover(function(){
$(this).addClass('camera_hover');
if($('.camera_thumb',this).length){
var wTh = $('.camera_thumb',this).outerWidth(),
hTh = $('.camera_thumb',this).outerHeight(),
wTt = $(this).outerWidth();
$('.camera_thumb',this).show().css({'top':'-'+hTh+'px','left':'-'+(wTh-wTt)/2+'px'}).animate({'opacity':1,'margin-top':'-3px'},200);
$('.thumb_arrow',this).show().animate({'opacity':1,'margin-top':'-3px'},200);
}
},function(){
$(this).removeClass('camera_hover');
$('.camera_thumb',this).animate({'margin-top':'-20px','opacity':0},200,function(){
$(this).css({marginTop:'5px'}).hide();
});
$('.thumb_arrow',this).animate({'margin-top':'-20px','opacity':0},200,function(){
$(this).css({marginTop:'5px'}).hide();
});
});
}
if($(thumbs).length) {
var thumbUrl;
if(!$(pagination).length) {
$(thumbs).append('<div />');
$(thumbs).before('<div class="camera_prevThumbs hideNav"><div></div></div>').before('<div class="camera_nextThumbs hideNav"><div></div></div>');
$('> div',thumbs).append('<ul />');
$.each(allThumbs, function(i, val) {
if($('> div', elem).eq(i).attr('data-thumb')!='') {
var thumbUrl = $('> div', elem).eq(i).attr('data-thumb'),
newImg = new Image();
newImg.src = thumbUrl;
$('ul',thumbs).append('<li class="pix_thumb pix_thumb_'+i+'" />');
$('li.pix_thumb_'+i,thumbs).append($(newImg).attr('class','camera_thumb'));
}
});
} else {
$.each(allThumbs, function(i, val) {
if($('> div', elem).eq(i).attr('data-thumb')!='') {
var thumbUrl = $('> div', elem).eq(i).attr('data-thumb'),
newImg = new Image();
newImg.src = thumbUrl;
$('li.pag_nav_'+i,pagination).append($(newImg).attr('class','camera_thumb').css({'position':'absolute'}).animate({opacity:0},0));
$('li.pag_nav_'+i+' > img',pagination).after('<div class="thumb_arrow" />');
$('li.pag_nav_'+i+' > .thumb_arrow',pagination).animate({opacity:0},0);
}
});
wrap.css({marginBottom:$(pagination).outerHeight()});
}
} else if(!$(thumbs).length && $(pagination).length) {
wrap.css({marginBottom:$(pagination).outerHeight()});
}
var firstPos = true;
function thumbnailPos() {
if($(thumbs).length && !$(pagination).length) {
var wTh = $(thumbs).outerWidth(),
owTh = $('ul > li',thumbs).outerWidth(),
pos = $('li.cameracurrent', thumbs).length ? $('li.cameracurrent', thumbs).position() : '',
ulW = ($('ul > li', thumbs).length * $('ul > li', thumbs).outerWidth()),
offUl = $('ul', thumbs).offset().left,
offDiv = $('> div', thumbs).offset().left,
ulLeft;
if(offUl<0){
ulLeft = '-'+ (offDiv-offUl);
} else {
ulLeft = offDiv-offUl;
}
if(firstPos == true) {
$('ul', thumbs).width($('ul > li', thumbs).length * $('ul > li', thumbs).outerWidth());
if($(thumbs).length && !$(pagination).lenght) {
wrap.css({marginBottom:$(thumbs).outerHeight()});
}
thumbnailVisible();
$('ul', thumbs).width($('ul > li', thumbs).length * $('ul > li', thumbs).outerWidth());
if($(thumbs).length && !$(pagination).lenght) {
wrap.css({marginBottom:$(thumbs).outerHeight()});
}
}
firstPos = false;
var left = $('li.cameracurrent', thumbs).length ? pos.left : '',
right = $('li.cameracurrent', thumbs).length ? pos.left+($('li.cameracurrent', thumbs).outerWidth()) : '';
if(left<$('li.cameracurrent', thumbs).outerWidth()) {
left = 0;
}
if(right-ulLeft>wTh){
if((left+wTh)<ulW){
$('ul', thumbs).animate({'margin-left':'-'+(left)+'px'},500,thumbnailVisible);
} else {
$('ul', thumbs).animate({'margin-left':'-'+($('ul', thumbs).outerWidth()-wTh)+'px'},500,thumbnailVisible);
}
} else if(left-ulLeft<0) {
$('ul', thumbs).animate({'margin-left':'-'+(left)+'px'},500,thumbnailVisible);
} else {
$('ul', thumbs).css({'margin-left':'auto', 'margin-right':'auto'});
setTimeout(thumbnailVisible,100);
}
}
}
if($(commands).length) {
$(commands).append('<div class="camera_play"></div>').append('<div class="camera_stop"></div>');
if(autoAdv==true){
$('.camera_play',camera_thumbs_wrap).hide();
$('.camera_stop',camera_thumbs_wrap).show();
} else {
$('.camera_stop',camera_thumbs_wrap).hide();
$('.camera_play',camera_thumbs_wrap).show();
}
}
function canvasLoader() {
rad = 0;
var barWidth = $('.camera_bar_cont',camera_thumbs_wrap).width(),
barHeight = $('.camera_bar_cont',camera_thumbs_wrap).height();
if (loader != 'pie') {
switch(barDirection){
case 'leftToRight':
$('#'+pieID).css({'right':barWidth});
break;
case 'rightToLeft':
$('#'+pieID).css({'left':barWidth});
break;
case 'topToBottom':
$('#'+pieID).css({'bottom':barHeight});
break;
case 'bottomToTop':
$('#'+pieID).css({'top':barHeight});
break;
}
} else {
ctx.clearRect(0,0,opts.pieDiameter,opts.pieDiameter);
}
}
canvasLoader();
$('.moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom',fakeHover).each(function(){
$(this).css('visibility','hidden');
});
opts.onStartLoading.call(this);
nextSlide();
function nextSlide(navSlide){
elem.addClass('camerasliding');
videoPresent = false;
var vis = parseFloat($('div.cameraSlide.cameracurrent',target).index());
if(navSlide>0){
var slideI = navSlide-1;
} else if (vis == amountSlide-1) {
var slideI = 0;
} else {
var slideI = vis+1;
}
var slide = $('.cameraSlide:eq('+slideI+')',target);
var slideNext = $('.cameraSlide:eq('+(slideI+1)+')',target).addClass('cameranext');
if( vis != slideI+1 ) {
slideNext.hide();
}
$('.cameraContent',fakeHover).fadeOut(600);
$('.camera_caption',fakeHover).show();
$('.camerarelative',slide).append($('> div ',elem).eq(slideI).find('> div.camera_effected'));
$('.camera_target_content .cameraContent:eq('+slideI+')',wrap).append($('> div ',elem).eq(slideI).find('> div'));
if(!$('.imgLoaded',slide).length){
var imgUrl = allImg[slideI];
var imgLoaded = new Image();
imgLoaded.src = imgUrl +"?"+ new Date().getTime();
slide.css('visibility','hidden');
slide.prepend($(imgLoaded).attr('class','imgLoaded').css('visibility','hidden'));
var wT, hT;
if (!$(imgLoaded).get(0).complete || wT == '0' || hT == '0' || typeof wT === 'undefined' || wT === false || typeof hT === 'undefined' || hT === false) {
$('.camera_loader',wrap).delay(500).fadeIn(400);
imgLoaded.onload = function() {
wT = imgLoaded.naturalWidth;
hT = imgLoaded.naturalHeight;
$(imgLoaded).attr('data-alignment',allAlign[slideI]).attr('data-portrait',allPor[slideI]);
$(imgLoaded).attr('width',wT);
$(imgLoaded).attr('height',hT);
target.find('.cameraSlide_'+slideI).hide().css('visibility','visible');
resizeImage();
nextSlide(slideI+1);
};
}
} else {
if( allImg.length > (slideI+1) && !$('.imgLoaded',slideNext).length ){
var imgUrl2 = allImg[(slideI+1)];
var imgLoaded2 = new Image();
imgLoaded2.src = imgUrl2 +"?"+ new Date().getTime();
slideNext.prepend($(imgLoaded2).attr('class','imgLoaded').css('visibility','hidden'));
imgLoaded2.onload = function() {
wT = imgLoaded2.naturalWidth;
hT = imgLoaded2.naturalHeight;
$(imgLoaded2).attr('data-alignment',allAlign[slideI+1]).attr('data-portrait',allPor[slideI+1]);
$(imgLoaded2).attr('width',wT);
$(imgLoaded2).attr('height',hT);
resizeImage();
};
}
opts.onLoaded.call(this);
if($('.camera_loader',wrap).is(':visible')){
$('.camera_loader',wrap).fadeOut(400);
} else {
$('.camera_loader',wrap).css({'visibility':'hidden'});
$('.camera_loader',wrap).fadeOut(400,function(){
$('.camera_loader',wrap).css({'visibility':'visible'});
});
}
var rows = opts.rows,
cols = opts.cols,
couples = 1,
difference = 0,
dataSlideOn,
time,
transPeriod,
fx,
easing,
randomFx = new Array('simpleFade','curtainTopLeft','curtainTopRight','curtainBottomLeft','curtainBottomRight','curtainSliceLeft','curtainSliceRight','blindCurtainTopLeft','blindCurtainTopRight','blindCurtainBottomLeft','blindCurtainBottomRight','blindCurtainSliceBottom','blindCurtainSliceTop','stampede','mosaic','mosaicReverse','mosaicRandom','mosaicSpiral','mosaicSpiralReverse','topLeftBottomRight','bottomRightTopLeft','bottomLeftTopRight','topRightBottomLeft','scrollLeft','scrollRight','scrollTop','scrollBottom','scrollHorz');
marginLeft = 0,
marginTop = 0,
opacityOnGrid = 0;
if(opts.opacityOnGrid==true){
opacityOnGrid = 0;
} else {
opacityOnGrid = 1;
}
var dataFx = $(' > div',elem).eq(slideI).attr('data-fx');
if(isMobile()&&opts.mobileFx!=''&&opts.mobileFx!='default'){
fx = opts.mobileFx;
} else {
if(typeof dataFx !== 'undefined' && dataFx!== false && dataFx!== 'default'){
fx = dataFx;
} else {
fx = opts.fx;
}
}
if(fx=='random') {
fx = shuffle(randomFx);
fx = fx[0];
} else {
fx = fx;
if(fx.indexOf(',')>0){
fx = fx.replace(/ /g,'');
fx = fx.split(',');
fx = shuffle(fx);
fx = fx[0];
}
}
dataEasing = $(' > div',elem).eq(slideI).attr('data-easing');
mobileEasing = $(' > div',elem).eq(slideI).attr('data-mobileEasing');
if(isMobile()&&opts.mobileEasing!=''&&opts.mobileEasing!='default'){
if(typeof mobileEasing !== 'undefined' && mobileEasing!== false && mobileEasing!== 'default') {
easing = mobileEasing;
} else {
easing = opts.mobileEasing;
}
} else {
if(typeof dataEasing !== 'undefined' && dataEasing!== false && dataEasing!== 'default') {
easing = dataEasing;
} else {
easing = opts.easing;
}
}
dataSlideOn = $(' > div',elem).eq(slideI).attr('data-slideOn');
if(typeof dataSlideOn !== 'undefined' && dataSlideOn!== false){
slideOn = dataSlideOn;
} else {
if(opts.slideOn=='random'){
var slideOn = new Array('next','prev');
slideOn = shuffle(slideOn);
slideOn = slideOn[0];
} else {
slideOn = opts.slideOn;
}
}
var dataTime = $(' > div',elem).eq(slideI).attr('data-time');
if(typeof dataTime !== 'undefined' && dataTime!== false && dataTime!== ''){
time = parseFloat(dataTime);
} else {
time = opts.time;
}
var dataTransPeriod = $(' > div',elem).eq(slideI).attr('data-transPeriod');
if(typeof dataTransPeriod !== 'undefined' && dataTransPeriod!== false && dataTransPeriod!== ''){
transPeriod = parseFloat(dataTransPeriod);
} else {
transPeriod = opts.transPeriod;
}
if(!$(elem).hasClass('camerastarted')){
fx = 'simpleFade';
slideOn = 'next';
easing = '';
transPeriod = 400;
$(elem).addClass('camerastarted')
}
switch(fx){
case 'simpleFade':
cols = 1;
rows = 1;
break;
case 'curtainTopLeft':
if(opts.slicedCols == 0) {
cols = opts.cols;
} else {
cols = opts.slicedCols;
}
rows = 1;
break;
case 'curtainTopRight':
if(opts.slicedCols == 0) {
cols = opts.cols;
} else {
cols = opts.slicedCols;
}
rows = 1;
break;
case 'curtainBottomLeft':
if(opts.slicedCols == 0) {
cols = opts.cols;
} else {
cols = opts.slicedCols;
}
rows = 1;
break;
case 'curtainBottomRight':
if(opts.slicedCols == 0) {
cols = opts.cols;
} else {
cols = opts.slicedCols;
}
rows = 1;
break;
case 'curtainSliceLeft':
if(opts.slicedCols == 0) {
cols = opts.cols;
} else {
cols = opts.slicedCols;
}
rows = 1;
break;
case 'curtainSliceRight':
if(opts.slicedCols == 0) {
cols = opts.cols;
} else {
cols = opts.slicedCols;
}
rows = 1;
break;
case 'blindCurtainTopLeft':
if(opts.slicedRows == 0) {
rows = opts.rows;
} else {
rows = opts.slicedRows;
}
cols = 1;
break;
case 'blindCurtainTopRight':
if(opts.slicedRows == 0) {
rows = opts.rows;
} else {
rows = opts.slicedRows;
}
cols = 1;
break;
case 'blindCurtainBottomLeft':
if(opts.slicedRows == 0) {
rows = opts.rows;
} else {
rows = opts.slicedRows;
}
cols = 1;
break;
case 'blindCurtainBottomRight':
if(opts.slicedRows == 0) {
rows = opts.rows;
} else {
rows = opts.slicedRows;
}
cols = 1;
break;
case 'blindCurtainSliceTop':
if(opts.slicedRows == 0) {
rows = opts.rows;
} else {
rows = opts.slicedRows;
}
cols = 1;
break;
case 'blindCurtainSliceBottom':
if(opts.slicedRows == 0) {
rows = opts.rows;
} else {
rows = opts.slicedRows;
}
cols = 1;
break;
case 'stampede':
difference = '-'+transPeriod;
break;
case 'mosaic':
difference = opts.gridDifference;
break;
case 'mosaicReverse':
difference = opts.gridDifference;
break;
case 'mosaicRandom':
break;
case 'mosaicSpiral':
difference = opts.gridDifference;
couples = 1.7;
break;
case 'mosaicSpiralReverse':
difference = opts.gridDifference;
couples = 1.7;
break;
case 'topLeftBottomRight':
difference = opts.gridDifference;
couples = 6;
break;
case 'bottomRightTopLeft':
difference = opts.gridDifference;
couples = 6;
break;
case 'bottomLeftTopRight':
difference = opts.gridDifference;
couples = 6;
break;
case 'topRightBottomLeft':
difference = opts.gridDifference;
couples = 6;
break;
case 'scrollLeft':
cols = 1;
rows = 1;
break;
case 'scrollRight':
cols = 1;
rows = 1;
break;
case 'scrollTop':
cols = 1;
rows = 1;
break;
case 'scrollBottom':
cols = 1;
rows = 1;
break;
case 'scrollHorz':
cols = 1;
rows = 1;
break;
}
var cycle = 0;
var blocks = rows*cols;
var leftScrap = w-(Math.floor(w/cols)*cols);
var topScrap = h-(Math.floor(h/rows)*rows);
var addLeft;
var addTop;
var tAppW = 0;
var tAppH = 0;
var arr = new Array();
var delay = new Array();
var order = new Array();
while(cycle < blocks){
arr.push(cycle);
delay.push(cycle);
cameraCont.append('<div class="cameraappended" style="display:none; overflow:hidden; position:absolute; z-index:1000" />');
var tApp = $('.cameraappended:eq('+cycle+')',target);
if(fx=='scrollLeft' || fx=='scrollRight' || fx=='scrollTop' || fx=='scrollBottom' || fx=='scrollHorz'){
selector.eq(slideI).clone().show().appendTo(tApp);
} else {
if(slideOn=='next'){
selector.eq(slideI).clone().show().appendTo(tApp);
} else {
selector.eq(vis).clone().show().appendTo(tApp);
}
}
if(cycle%cols<leftScrap){
addLeft = 1;
} else {
addLeft = 0;
}
if(cycle%cols==0){
tAppW = 0;
}
if(Math.floor(cycle/cols)<topScrap){
addTop = 1;
} else {
addTop = 0;
}
tApp.css({
'height': Math.floor((h/rows)+addTop+1),
'left': tAppW,
'top': tAppH,
'width': Math.floor((w/cols)+addLeft+1)
});
$('> .cameraSlide', tApp).css({
'height': h,
'margin-left': '-'+tAppW+'px',
'margin-top': '-'+tAppH+'px',
'width': w
});
tAppW = tAppW+tApp.width()-1;
if(cycle%cols==cols-1){
tAppH = tAppH + tApp.height() - 1;
}
cycle++;
}
switch(fx){
case 'curtainTopLeft':
break;
case 'curtainBottomLeft':
break;
case 'curtainSliceLeft':
break;
case 'curtainTopRight':
arr = arr.reverse();
break;
case 'curtainBottomRight':
arr = arr.reverse();
break;
case 'curtainSliceRight':
arr = arr.reverse();
break;
case 'blindCurtainTopLeft':
break;
case 'blindCurtainBottomLeft':
arr = arr.reverse();
break;
case 'blindCurtainSliceTop':
break;
case 'blindCurtainTopRight':
break;
case 'blindCurtainBottomRight':
arr = arr.reverse();
break;
case 'blindCurtainSliceBottom':
arr = arr.reverse();
break;
case 'stampede':
arr = shuffle(arr);
break;
case 'mosaic':
break;
case 'mosaicReverse':
arr = arr.reverse();
break;
case 'mosaicRandom':
arr = shuffle(arr);
break;
case 'mosaicSpiral':
var rows2 = rows/2, x, y, z, n=0;
for (z = 0; z < rows2; z++){
y = z;
for (x = z; x < cols - z - 1; x++) {
order[n++] = y * cols + x;
}
x = cols - z - 1;
for (y = z; y < rows - z - 1; y++) {
order[n++] = y * cols + x;
}
y = rows - z - 1;
for (x = cols - z - 1; x > z; x--) {
order[n++] = y * cols + x;
}
x = z;
for (y = rows - z - 1; y > z; y--) {
order[n++] = y * cols + x;
}
}
arr = order;
break;
case 'mosaicSpiralReverse':
var rows2 = rows/2, x, y, z, n=blocks-1;
for (z = 0; z < rows2; z++){
y = z;
for (x = z; x < cols - z - 1; x++) {
order[n--] = y * cols + x;
}
x = cols - z - 1;
for (y = z; y < rows - z - 1; y++) {
order[n--] = y * cols + x;
}
y = rows - z - 1;
for (x = cols - z - 1; x > z; x--) {
order[n--] = y * cols + x;
}
x = z;
for (y = rows - z - 1; y > z; y--) {
order[n--] = y * cols + x;
}
}
arr = order;
break;
case 'topLeftBottomRight':
for (var y = 0; y < rows; y++)
for (var x = 0; x < cols; x++) {
order.push(x + y);
}
delay = order;
break;
case 'bottomRightTopLeft':
for (var y = 0; y < rows; y++)
for (var x = 0; x < cols; x++) {
order.push(x + y);
}
delay = order.reverse();
break;
case 'bottomLeftTopRight':
for (var y = rows; y > 0; y--)
for (var x = 0; x < cols; x++) {
order.push(x + y);
}
delay = order;
break;
case 'topRightBottomLeft':
for (var y = 0; y < rows; y++)
for (var x = cols; x > 0; x--) {
order.push(x + y);
}
delay = order;
break;
}
$.each(arr, function(index, value) {
if(value%cols<leftScrap){
addLeft = 1;
} else {
addLeft = 0;
}
if(value%cols==0){
tAppW = 0;
}
if(Math.floor(value/cols)<topScrap){
addTop = 1;
} else {
addTop = 0;
}
switch(fx){
case 'simpleFade':
height = h;
width = w;
opacityOnGrid = 0;
break;
case 'curtainTopLeft':
height = 0,
width = Math.floor((w/cols)+addLeft+1),
marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px';
break;
case 'curtainTopRight':
height = 0,
width = Math.floor((w/cols)+addLeft+1),
marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px';
break;
case 'curtainBottomLeft':
height = 0,
width = Math.floor((w/cols)+addLeft+1),
marginTop = Math.floor((h/rows)+addTop+1)+'px';
break;
case 'curtainBottomRight':
height = 0,
width = Math.floor((w/cols)+addLeft+1),
marginTop = Math.floor((h/rows)+addTop+1)+'px';
break;
case 'curtainSliceLeft':
height = 0,
width = Math.floor((w/cols)+addLeft+1);
if(value%2==0){
marginTop = Math.floor((h/rows)+addTop+1)+'px';
} else {
marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px';
}
break;
case 'curtainSliceRight':
height = 0,
width = Math.floor((w/cols)+addLeft+1);
if(value%2==0){
marginTop = Math.floor((h/rows)+addTop+1)+'px';
} else {
marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px';
}
break;
case 'blindCurtainTopLeft':
height = Math.floor((h/rows)+addTop+1),
width = 0,
marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px';
break;
case 'blindCurtainTopRight':
height = Math.floor((h/rows)+addTop+1),
width = 0,
marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
break;
case 'blindCurtainBottomLeft':
height = Math.floor((h/rows)+addTop+1),
width = 0,
marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px';
break;
case 'blindCurtainBottomRight':
height = Math.floor((h/rows)+addTop+1),
width = 0,
marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
break;
case 'blindCurtainSliceBottom':
height = Math.floor((h/rows)+addTop+1),
width = 0;
if(value%2==0){
marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px';
} else {
marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
}
break;
case 'blindCurtainSliceTop':
height = Math.floor((h/rows)+addTop+1),
width = 0;
if(value%2==0){
marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px';
} else {
marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
}
break;
case 'stampede':
height = 0;
width = 0;
marginLeft = (w*0.2)*(((index)%cols)-(cols-(Math.floor(cols/2))))+'px';
marginTop = (h*0.2)*((Math.floor(index/cols)+1)-(rows-(Math.floor(rows/2))))+'px';
break;
case 'mosaic':
height = 0;
width = 0;
break;
case 'mosaicReverse':
height = 0;
width = 0;
marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
marginTop = Math.floor((h/rows)+addTop+1)+'px';
break;
case 'mosaicRandom':
height = 0;
width = 0;
marginLeft = Math.floor((w/cols)+addLeft+1)*0.5+'px';
marginTop = Math.floor((h/rows)+addTop+1)*0.5+'px';
break;
case 'mosaicSpiral':
height = 0;
width = 0;
marginLeft = Math.floor((w/cols)+addLeft+1)*0.5+'px';
marginTop = Math.floor((h/rows)+addTop+1)*0.5+'px';
break;
case 'mosaicSpiralReverse':
height = 0;
width = 0;
marginLeft = Math.floor((w/cols)+addLeft+1)*0.5+'px';
marginTop = Math.floor((h/rows)+addTop+1)*0.5+'px';
break;
case 'topLeftBottomRight':
height = 0;
width = 0;
break;
case 'bottomRightTopLeft':
height = 0;
width = 0;
marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
marginTop = Math.floor((h/rows)+addTop+1)+'px';
break;
case 'bottomLeftTopRight':
height = 0;
width = 0;
marginLeft = 0;
marginTop = Math.floor((h/rows)+addTop+1)+'px';
break;
case 'topRightBottomLeft':
height = 0;
width = 0;
marginLeft = Math.floor((w/cols)+addLeft+1)+'px';
marginTop = 0;
break;
case 'scrollRight':
height = h;
width = w;
marginLeft = -w;
break;
case 'scrollLeft':
height = h;
width = w;
marginLeft = w;
break;
case 'scrollTop':
height = h;
width = w;
marginTop = h;
break;
case 'scrollBottom':
height = h;
width = w;
marginTop = -h;
break;
case 'scrollHorz':
height = h;
width = w;
if(vis==0 && slideI==amountSlide-1) {
marginLeft = -w;
} else if(vis<slideI || (vis==amountSlide-1 && slideI==0)) {
marginLeft = w;
} else {
marginLeft = -w;
}
break;
}
var tApp = $('.cameraappended:eq('+value+')',target);
if(typeof u !== 'undefined'){
clearInterval(u);
clearTimeout(setT);
setT = setTimeout(canvasLoader,transPeriod+difference);
}
if($(pagination).length){
$('.camera_pag li',wrap).removeClass('cameracurrent');
$('.camera_pag li',wrap).eq(slideI).addClass('cameracurrent');
}
if($(thumbs).length){
$('li', thumbs).removeClass('cameracurrent');
$('li', thumbs).eq(slideI).addClass('cameracurrent');
$('li', thumbs).not('.cameracurrent').find('img').animate({opacity:.5},0);
$('li.cameracurrent img', thumbs).animate({opacity:1},0);
$('li', thumbs).hover(function(){
$('img',this).stop(true,false).animate({opacity:1},150);
},function(){
if(!$(this).hasClass('cameracurrent')){
$('img',this).stop(true,false).animate({opacity:.5},150);
}
});
}
var easedTime = parseFloat(transPeriod)+parseFloat(difference);
function cameraeased() {
$(this).addClass('cameraeased');
if($('.cameraeased',target).length>=0){
$(thumbs).css({visibility:'visible'});
}
if($('.cameraeased',target).length==blocks){
thumbnailPos();
$('.moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom',fakeHover).each(function(){
$(this).css('visibility','hidden');
});
selector.eq(slideI).show().css('z-index','999').removeClass('cameranext').addClass('cameracurrent');
selector.eq(vis).css('z-index','1').removeClass('cameracurrent');
$('.cameraContent',fakeHover).eq(slideI).addClass('cameracurrent');
if (vis >= 0) {
$('.cameraContent',fakeHover).eq(vis).removeClass('cameracurrent');
}
opts.onEndTransition.call(this);
if($('> div', elem).eq(slideI).attr('data-video')!='hide' && $('.cameraContent.cameracurrent .imgFake',fakeHover).length ){
$('.cameraContent.cameracurrent .imgFake',fakeHover).click();
}
var lMoveIn = selector.eq(slideI).find('.fadeIn').length;
var lMoveInContent = $('.cameraContent',fakeHover).eq(slideI).find('.moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom').length;
if (lMoveIn!=0){
$('.cameraSlide.cameracurrent .fadeIn',fakeHover).each(function(){
if($(this).attr('data-easing')!=''){
var easeMove = $(this).attr('data-easing');
} else {
var easeMove = easing;
}
var t = $(this);
if(typeof t.attr('data-outerWidth') === 'undefined' || t.attr('data-outerWidth') === false || t.attr('data-outerWidth') === '') {
var wMoveIn = t.outerWidth();
t.attr('data-outerWidth',wMoveIn);
} else {
var wMoveIn = t.attr('data-outerWidth');
}
if(typeof t.attr('data-outerHeight') === 'undefined' || t.attr('data-outerHeight') === false || t.attr('data-outerHeight') === '') {
var hMoveIn = t.outerHeight();
t.attr('data-outerHeight',hMoveIn);
} else {
var hMoveIn = t.attr('data-outerHeight');
}
var pos = t.position();
var left = pos.left;
var top = pos.top;
var tClass = t.attr('class');
var ind = t.index();
var hRel = t.parents('.camerarelative').outerHeight();
var wRel = t.parents('.camerarelative').outerWidth();
if(tClass.indexOf("fadeIn") != -1) {
t.animate({opacity:0},0).css('visibility','visible').delay((time/lMoveIn)*(0.1*(ind-1))).animate({opacity:1},(time/lMoveIn)*0.15,easeMove);
} else {
t.css('visibility','visible');
}
});
}
$('.cameraContent.cameracurrent',fakeHover).show();
if (lMoveInContent!=0){
$('.cameraContent.cameracurrent .moveFromLeft, .cameraContent.cameracurrent .moveFromRight, .cameraContent.cameracurrent .moveFromTop, .cameraContent.cameracurrent .moveFromBottom, .cameraContent.cameracurrent .fadeIn, .cameraContent.cameracurrent .fadeFromLeft, .cameraContent.cameracurrent .fadeFromRight, .cameraContent.cameracurrent .fadeFromTop, .cameraContent.cameracurrent .fadeFromBottom',fakeHover).each(function(){
if($(this).attr('data-easing')!=''){
var easeMove = $(this).attr('data-easing');
} else {
var easeMove = easing;
}
var t = $(this);
var pos = t.position();
var left = pos.left;
var top = pos.top;
var tClass = t.attr('class');
var ind = t.index();
var thisH = t.outerHeight();
if(tClass.indexOf("moveFromLeft") != -1) {
t.css({'left':'-'+(w)+'px','right':'auto'});
t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left},(time/lMoveInContent)*0.15,easeMove);
} else if(tClass.indexOf("moveFromRight") != -1) {
t.css({'left':w+'px','right':'auto'});
t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left},(time/lMoveInContent)*0.15,easeMove);
} else if(tClass.indexOf("moveFromTop") != -1) {
t.css({'top':'-'+h+'px','bottom':'auto'});
t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'top':pos.top},(time/lMoveInContent)*0.15,easeMove,function(){
t.css({top:'auto',bottom:0});
});
} else if(tClass.indexOf("moveFromBottom") != -1) {
t.css({'top':h+'px','bottom':'auto'});
t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'top':pos.top},(time/lMoveInContent)*0.15,easeMove);
} else if(tClass.indexOf("fadeFromLeft") != -1) {
t.animate({opacity:0},0).css({'left':'-'+(w)+'px','right':'auto'});
t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left,opacity:1},(time/lMoveInContent)*0.15,easeMove);
} else if(tClass.indexOf("fadeFromRight") != -1) {
t.animate({opacity:0},0).css({'left':(w)+'px','right':'auto'});
t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left,opacity:1},(time/lMoveInContent)*0.15,easeMove);
} else if(tClass.indexOf("fadeFromTop") != -1) {
t.animate({opacity:0},0).css({'top':'-'+(h)+'px','bottom':'auto'});
t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'top':pos.top,opacity:1},(time/lMoveInContent)*0.15,easeMove,function(){
t.css({top:'auto',bottom:0});
});
} else if(tClass.indexOf("fadeFromBottom") != -1) {
t.animate({opacity:0},0).css({'bottom':'-'+thisH+'px'});
t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'bottom':'0',opacity:1},(time/lMoveInContent)*0.15,easeMove);
} else if(tClass.indexOf("fadeIn") != -1) {
t.animate({opacity:0},0).css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({opacity:1},(time/lMoveInContent)*0.15,easeMove);
} else {
t.css('visibility','visible');
}
});
}
$('.cameraappended',target).remove();
elem.removeClass('camerasliding');
selector.eq(vis).hide();
var barWidth = $('.camera_bar_cont',camera_thumbs_wrap).width(),
barHeight = $('.camera_bar_cont',camera_thumbs_wrap).height(),
radSum;
if (loader != 'pie') {
radSum = 0.05;
} else {
radSum = 0.005;
}
$('#'+pieID).animate({opacity:opts.loaderOpacity},200);
u = setInterval(
function(){
if(elem.hasClass('stopped')){
clearInterval(u);
}
if (loader != 'pie') {
if(rad<=1.002 && !elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')){
rad = (rad+radSum);
} else if (rad<=1 && (elem.hasClass('stopped') || elem.hasClass('paused') || elem.hasClass('stopped') || elem.hasClass('hovered'))){
rad = rad;
} else {
if(!elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')) {
clearInterval(u);
imgFake();
$('#'+pieID).animate({opacity:0},200,function(){
clearTimeout(setT);
setT = setTimeout(canvasLoader,easedTime);
nextSlide();
opts.onStartLoading.call(this);
});
}
}
switch(barDirection){
case 'leftToRight':
$('#'+pieID).animate({'right':barWidth-(barWidth*rad)},(time*radSum),'linear');
break;
case 'rightToLeft':
$('#'+pieID).animate({'left':barWidth-(barWidth*rad)},(time*radSum),'linear');
break;
case 'topToBottom':
$('#'+pieID).animate({'bottom':barHeight-(barHeight*rad)},(time*radSum),'linear');
break;
case 'bottomToTop':
$('#'+pieID).animate({'bottom':barHeight-(barHeight*rad)},(time*radSum),'linear');
break;
}
} else {
radNew = rad;
ctx.clearRect(0,0,opts.pieDiameter,opts.pieDiameter);
ctx.globalCompositeOperation = 'destination-over';
ctx.beginPath();
ctx.arc((opts.pieDiameter)/2, (opts.pieDiameter)/2, (opts.pieDiameter)/2-opts.loaderStroke,0,Math.PI*2,false);
ctx.lineWidth = opts.loaderStroke;
ctx.strokeStyle = opts.loaderBgColor;
ctx.stroke();
ctx.closePath();
ctx.globalCompositeOperation = 'source-over';
ctx.beginPath();
ctx.arc((opts.pieDiameter)/2, (opts.pieDiameter)/2, (opts.pieDiameter)/2-opts.loaderStroke,0,Math.PI*2*radNew,false);
ctx.lineWidth = opts.loaderStroke-(opts.loaderPadding*2);
ctx.strokeStyle = opts.loaderColor;
ctx.stroke();
ctx.closePath();
if(rad<=1.002 && !elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')){
rad = (rad+radSum);
} else if (rad<=1 && (elem.hasClass('stopped') || elem.hasClass('paused') || elem.hasClass('hovered'))){
rad = rad;
} else {
if(!elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')) {
clearInterval(u);
imgFake();
$('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},200,function(){
clearTimeout(setT);
setT = setTimeout(canvasLoader,easedTime);
nextSlide();
opts.onStartLoading.call(this);
});
}
}
}
},time*radSum
);
}
}
if(fx=='scrollLeft' || fx=='scrollRight' || fx=='scrollTop' || fx=='scrollBottom' || fx=='scrollHorz'){
opts.onStartTransition.call(this);
easedTime = 0;
tApp.delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).css({
'display' : 'block',
'height': height,
'margin-left': marginLeft,
'margin-top': marginTop,
'width': width
}).animate({
'height': Math.floor((h/rows)+addTop+1),
'margin-top' : 0,
'margin-left' : 0,
'width' : Math.floor((w/cols)+addLeft+1)
},(transPeriod-difference),easing,cameraeased);
selector.eq(vis).delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).animate({
'margin-left': marginLeft*(-1),
'margin-top': marginTop*(-1)
},(transPeriod-difference),easing,function(){
$(this).css({'margin-top' : 0,'margin-left' : 0});
});
} else {
opts.onStartTransition.call(this);
easedTime = parseFloat(transPeriod)+parseFloat(difference);
if(slideOn=='next'){
tApp.delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).css({
'display' : 'block',
'height': height,
'margin-left': marginLeft,
'margin-top': marginTop,
'width': width,
'opacity' : opacityOnGrid
}).animate({
'height': Math.floor((h/rows)+addTop+1),
'margin-top' : 0,
'margin-left' : 0,
'opacity' : 1,
'width' : Math.floor((w/cols)+addLeft+1)
},(transPeriod-difference),easing,cameraeased);
} else {
selector.eq(slideI).show().css('z-index','999').addClass('cameracurrent');
selector.eq(vis).css('z-index','1').removeClass('cameracurrent');
$('.cameraContent',fakeHover).eq(slideI).addClass('cameracurrent');
$('.cameraContent',fakeHover).eq(vis).removeClass('cameracurrent');
tApp.delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).css({
'display' : 'block',
'height': Math.floor((h/rows)+addTop+1),
'margin-top' : 0,
'margin-left' : 0,
'opacity' : 1,
'width' : Math.floor((w/cols)+addLeft+1)
}).animate({
'height': height,
'margin-left': marginLeft,
'margin-top': marginTop,
'width': width,
'opacity' : opacityOnGrid
},(transPeriod-difference),easing,cameraeased);
}
}
});
}
}
if($(prevNav).length){
$(prevNav).click(function(){
if(!elem.hasClass('camerasliding')){
var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index());
clearInterval(u);
imgFake();
$('#'+pieID+', .camera_canvas_wrap',wrap).animate({opacity:0},0);
canvasLoader();
if(idNum!=0){
nextSlide(idNum);
} else {
nextSlide(amountSlide);
}
opts.onStartLoading.call(this);
}
});
}
if($(nextNav).length){
$(nextNav).click(function(){
if(!elem.hasClass('camerasliding')){
var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index());
clearInterval(u);
imgFake();
$('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0);
canvasLoader();
if(idNum==amountSlide-1){
nextSlide(1);
} else {
nextSlide(idNum+2);
}
opts.onStartLoading.call(this);
}
});
}
if(isMobile()){
fakeHover.bind('swipeleft',function(event){
if(!elem.hasClass('camerasliding')){
var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index());
clearInterval(u);
imgFake();
$('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0);
canvasLoader();
if(idNum==amountSlide-1){
nextSlide(1);
} else {
nextSlide(idNum+2);
}
opts.onStartLoading.call(this);
}
});
fakeHover.bind('swiperight',function(event){
if(!elem.hasClass('camerasliding')){
var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index());
clearInterval(u);
imgFake();
$('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0);
canvasLoader();
if(idNum!=0){
nextSlide(idNum);
} else {
nextSlide(amountSlide);
}
opts.onStartLoading.call(this);
}
});
}
if($(pagination).length){
$('.camera_pag li',wrap).click(function(){
if(!elem.hasClass('camerasliding')){
var idNum = parseFloat($(this).index());
var curNum = parseFloat($('.cameraSlide.cameracurrent',target).index());
if(idNum!=curNum) {
clearInterval(u);
imgFake();
$('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0);
canvasLoader();
nextSlide(idNum+1);
opts.onStartLoading.call(this);
}
}
});
}
if($(thumbs).length) {
$('.pix_thumb img',thumbs).click(function(){
if(!elem.hasClass('camerasliding')){
var idNum = parseFloat($(this).parents('li').index());
var curNum = parseFloat($('.cameracurrent',target).index());
if(idNum!=curNum) {
clearInterval(u);
imgFake();
$('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0);
$('.pix_thumb',thumbs).removeClass('cameracurrent');
$(this).parents('li').addClass('cameracurrent');
canvasLoader();
nextSlide(idNum+1);
thumbnailPos();
opts.onStartLoading.call(this);
}
}
});
$('.camera_thumbs_cont .camera_prevThumbs',camera_thumbs_wrap).hover(function(){
$(this).stop(true,false).animate({opacity:1},250);
},function(){
$(this).stop(true,false).animate({opacity:.7},250);
});
$('.camera_prevThumbs',camera_thumbs_wrap).click(function(){
var sum = 0,
wTh = $(thumbs).outerWidth(),
offUl = $('ul', thumbs).offset().left,
offDiv = $('> div', thumbs).offset().left,
ulLeft = offDiv-offUl;
$('.camera_visThumb',thumbs).each(function(){
var tW = $(this).outerWidth();
sum = sum+tW;
});
if(ulLeft-sum>0){
$('ul', thumbs).animate({'margin-left':'-'+(ulLeft-sum)+'px'},500,thumbnailVisible);
} else {
$('ul', thumbs).animate({'margin-left':0},500,thumbnailVisible);
}
});
$('.camera_thumbs_cont .camera_nextThumbs',camera_thumbs_wrap).hover(function(){
$(this).stop(true,false).animate({opacity:1},250);
},function(){
$(this).stop(true,false).animate({opacity:.7},250);
});
$('.camera_nextThumbs',camera_thumbs_wrap).click(function(){
var sum = 0,
wTh = $(thumbs).outerWidth(),
ulW = $('ul', thumbs).outerWidth(),
offUl = $('ul', thumbs).offset().left,
offDiv = $('> div', thumbs).offset().left,
ulLeft = offDiv-offUl;
$('.camera_visThumb',thumbs).each(function(){
var tW = $(this).outerWidth();
sum = sum+tW;
});
if(ulLeft+sum+sum<ulW){
$('ul', thumbs).animate({'margin-left':'-'+(ulLeft+sum)+'px'},500,thumbnailVisible);
} else {
$('ul', thumbs).animate({'margin-left':'-'+(ulW-wTh)+'px'},500,thumbnailVisible);
}
});
}
}
})(jQuery);
;(function($){$.fn.cameraStop = function() {
var wrap = $(this),
elem = $('.camera_src',wrap),
pieID = 'pie_'+wrap.index();
elem.addClass('stopped');
if($('.camera_showcommands').length) {
var camera_thumbs_wrap = $('.camera_thumbs_wrap',wrap);
} else {
var camera_thumbs_wrap = wrap;
}
}
})(jQuery);
;(function($){$.fn.cameraPause = function() {
var wrap = $(this);
var elem = $('.camera_src',wrap);
elem.addClass('paused');
}
})(jQuery);
;(function($){$.fn.cameraResume = function() {
var wrap = $(this);
var elem = $('.camera_src',wrap);
if(typeof autoAdv === 'undefined' || autoAdv!==true){
elem.removeClass('paused');
}
}
})(jQuery);
</script>
<script type='text/javascript'>
(function (jQuery) {
"use strict";
var methods = (function () {
var c = {
bcClass: 'sf-breadcrumb',
menuClass: 'sf-js-enabled',
anchorClass: 'sf-with-ul',
menuArrowClass: 'sf-arrows'
},
ios = (function () {
var ios = /iPhone|iPad|iPod/i.test(navigator.userAgent);
if (ios) {
jQuery(window).load(function () {
jQuery('body').children().on('click', jQuery.noop);
});
}
return ios;
})(),
wp7 = (function () {
var style = document.documentElement.style;
return ('behavior' in style && 'fill' in style && /iemobile/i.test(navigator.userAgent));
})(),
toggleMenuClasses = function (jQuerymenu, o) {
var classes = c.menuClass;
if (o.cssArrows) {
classes += ' ' + c.menuArrowClass;
}
jQuerymenu.toggleClass(classes);
},
setPathToCurrent = function (jQuerymenu, o) {
return jQuerymenu.find('li.' + o.pathClass).slice(0, o.pathLevels)
.addClass(o.hoverClass + ' ' + c.bcClass)
.filter(function () {
return (jQuery(this).children(o.popUpSelector).hide().show().length);
}).removeClass(o.pathClass);
},
toggleAnchorClass = function (jQueryli) {
jQueryli.children('a').toggleClass(c.anchorClass);
},
toggleTouchAction = function (jQuerymenu) {
var touchAction = jQuerymenu.css('ms-touch-action');
touchAction = (touchAction === 'pan-y') ? 'auto' : 'pan-y';
jQuerymenu.css('ms-touch-action', touchAction);
},
applyHandlers = function (jQuerymenu, o) {
var targets = 'li:has(' + o.popUpSelector + ')';
if (jQuery.fn.hoverIntent && !o.disableHI) {
jQuerymenu.hoverIntent(over, out, targets);
}
else {
jQuerymenu
.on('mouseenter.superfish', targets, over)
.on('mouseleave.superfish', targets, out);
}
var touchevent = 'MSPointerDown.superfish';
if (!ios) {
touchevent += ' touchend.superfish';
}
if (wp7) {
touchevent += ' mousedown.superfish';
}
jQuerymenu
.on('focusin.superfish', 'li', over)
.on('focusout.superfish', 'li', out)
.on(touchevent, 'a', o, touchHandler);
},
touchHandler = function (e) {
var jQuerythis = jQuery(this),
jQueryul = jQuerythis.siblings(e.data.popUpSelector);
if (jQueryul.length > 0 && jQueryul.is(':hidden')) {
jQuerythis.one('click.superfish', false);
if (e.type === 'MSPointerDown') {
jQuerythis.trigger('focus');
} else {
jQuery.proxy(over, jQuerythis.parent('li'))();
}
}
},
over = function () {
var jQuerythis = jQuery(this),
o = getOptions(jQuerythis);
clearTimeout(o.sfTimer);
jQuerythis.siblings().superfish('hide').end().superfish('show');
},
out = function () {
var jQuerythis = jQuery(this),
o = getOptions(jQuerythis);
if (ios) {
jQuery.proxy(close, jQuerythis, o)();
}
else {
clearTimeout(o.sfTimer);
o.sfTimer = setTimeout(jQuery.proxy(close, jQuerythis, o), o.delay);
}
},
close = function (o) {
o.retainPath = (jQuery.inArray(this[0], o.jQuerypath) > -1);
this.superfish('hide');
if (!this.parents('.' + o.hoverClass).length) {
o.onIdle.call(getMenu(this));
if (o.jQuerypath.length) {
jQuery.proxy(over, o.jQuerypath)();
}
}
},
getMenu = function (jQueryel) {
return jQueryel.closest('.' + c.menuClass);
},
getOptions = function (jQueryel) {
return getMenu(jQueryel).data('sf-options');
};
return {
hide: function (instant) {
if (this.length) {
var jQuerythis = this,
o = getOptions(jQuerythis);
if (!o) {
return this;
}
var not = (o.retainPath === true) ? o.jQuerypath : '',
jQueryul = jQuerythis.find('li.' + o.hoverClass).add(this).not(not).removeClass(o.hoverClass).children(o.popUpSelector),
speed = o.speedOut;
if (instant) {
jQueryul.show();
speed = 0;
}
o.retainPath = false;
o.onBeforeHide.call(jQueryul);
jQueryul.stop(true, true).animate(o.animationOut, speed, function () {
var jQuerythis = jQuery(this);
o.onHide.call(jQuerythis);
});
}
return this;
},
show: function () {
var o = getOptions(this);
if (!o) {
return this;
}
var jQuerythis = this.addClass(o.hoverClass),
jQueryul = jQuerythis.children(o.popUpSelector);
o.onBeforeShow.call(jQueryul);
jQueryul.stop(true, true).animate(o.animation, o.speed, function () {
o.onShow.call(jQueryul);
});
return this;
},
destroy: function () {
return this.each(function () {
var jQuerythis = jQuery(this),
o = jQuerythis.data('sf-options'),
jQueryhasPopUp;
if (!o) {
return false;
}
jQueryhasPopUp = jQuerythis.find(o.popUpSelector).parent('li');
clearTimeout(o.sfTimer);
toggleMenuClasses(jQuerythis, o);
toggleAnchorClass(jQueryhasPopUp);
toggleTouchAction(jQuerythis);
jQuerythis.off('.superfish').off('.hoverIntent');
jQueryhasPopUp.children(o.popUpSelector).attr('style', function (i, style) {
return style.replace(/display[^;]+;?/g, '');
});
o.jQuerypath.removeClass(o.hoverClass + ' ' + c.bcClass).addClass(o.pathClass);
jQuerythis.find('.' + o.hoverClass).removeClass(o.hoverClass);
o.onDestroy.call(jQuerythis);
jQuerythis.removeData('sf-options');
});
},
init: function (op) {
return this.each(function () {
var jQuerythis = jQuery(this);
if (jQuerythis.data('sf-options')) {
return false;
}
var o = jQuery.extend({}, jQuery.fn.superfish.defaults, op),
jQueryhasPopUp = jQuerythis.find(o.popUpSelector).parent('li');
o.jQuerypath = setPathToCurrent(jQuerythis, o);
jQuerythis.data('sf-options', o);
toggleMenuClasses(jQuerythis, o);
toggleAnchorClass(jQueryhasPopUp);
toggleTouchAction(jQuerythis);
applyHandlers(jQuerythis, o);
jQueryhasPopUp.not('.' + c.bcClass).superfish('hide', true);
o.onInit.call(this);
});
}
};
})();
jQuery.fn.superfish = function (method, args) {
if (methods[method]) {
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
}
else if (typeof method === 'object' || ! method) {
return methods.init.apply(this, arguments);
}
else {
return jQuery.error('Method ' + method + ' does not exist on jQuery.fn.superfish');
}
};
jQuery.fn.superfish.defaults = {
popUpSelector: 'ul,.sf-mega',
hoverClass: 'sfHover',
pathClass: 'overrideThisToUse',
pathLevels: 1,
delay: 800,
animation: {height: 'show'},
animationOut: {opacity: 'hide'},
speed: 'high',
speedOut: 'fast',
cssArrows: true,
disableHI: false,
onInit: jQuery.noop,
onBeforeShow: jQuery.noop,
onShow: jQuery.noop,
onBeforeHide: jQuery.noop,
onHide: jQuery.noop,
onIdle: jQuery.noop,
onDestroy: jQuery.noop
};
jQuery.fn.extend({
hideSuperfishUl: methods.hide,
showSuperfishUl: methods.show
});
})(jQuery);
jQuery(function(){
jQuery('ul.sf-menu').superfish();
});
</script>
<script type='text/javascript'>
(function($){
$.fn.mobileMenu = function(options) {
var defaults = {
defaultText: 'Navigate to...',
className: 'select-menu',
containerClass: 'select-menu-container',
subMenuClass: 'sub-menu',
subMenuDash: '–'
},
settings = $.extend( defaults, options ),
el = $(this);
this.each(function(){
el.find('ul').addClass(settings.subMenuClass);
$('<div />',{
'class' : settings.containerClass
}).insertAfter( el );
$('<select />',{
'class' : settings.className
}).appendTo( '.' + settings.containerClass );
$('<option />', {
"value" : '#',
"text" : settings.defaultText
}).appendTo( '.' + settings.className );
el.find('a').each(function(){
var $this = $(this),
optText = ' ' + $this.text(),
optSub = $this.parents( '.' + settings.subMenuClass ),
len = optSub.length,
dash;
if( $this.parents('ul').hasClass( settings.subMenuClass ) ) {
dash = Array( len+1 ).join( settings.subMenuDash );
optText = dash + optText;
}
$('<option />', {
"value" : this.href,
"html" : optText,
"selected" : (this.href == window.location.href)
}).appendTo( '.' + settings.className );
});
$('.' + settings.className).change(function(){
var locations = $(this).val();
if( locations !== '#' ) {
window.location.href = $(this).val();
};
});
});
return this;
};
})(jQuery);
</script>
<script type='text/javascript'>
jQuery(document).ready(function() {
jQuery('.menu-nbt-menu-container').mobileMenu({
defaultText: 'Menu',
className: 'menu-primary-responsive',
containerClass: 'menu-primary-responsive-container',
subMenuDash: '–'
});
});
</script>
<script type='text/javascript'>
jQuery(document).ready(function() {
jQuery('#camera_wrap_1').camera();
});
</script>
<script type='text/javascript'>
var uri = window.location.toString(); if (uri.indexOf("%3D","%3D") > 0) {var clean_uri = uri.substring(0, uri.indexOf("%3D")); window.history.replaceState({}, document.title, clean_uri);}var uri = window.location.toString();if (uri.indexOf("%3D%3D","%3D%3D") > 0) {var clean_uri = uri.substring(0, uri.indexOf("%3D%3D")); window.history.replaceState({}, document.title, clean_uri);}
var uri = window.location.toString(); if (uri.indexOf("&i=1","&i=1") > 0) {var clean_uri = uri.substring(0, uri.indexOf("&i=1")); window.history.replaceState({}, document.title, clean_uri);}
var uri = window.location.toString();if (uri.indexOf("?i=1","?i=1") > 0) {var clean_uri = uri.substring(0, uri.indexOf("?i=1")); window.history.replaceState({}, document.title, clean_uri);}
</script>
</body>
</html>