1if (document.getElementsByTagName('canvas').length>0) { 2 (function() { 3 window.requestAnimFrame = (function(callback) { 4 return window.requestAnimationFrame || 5 window.webkitRequestAnimationFrame || 6 window.mozRequestAnimationFrame || 7 window.oRequestAnimationFrame || 8 window.msRequestAnimaitonFrame || 9 function(callback) { 10 window.setTimeout(callback, 1000 / 60); 11 }; 12 })(); 13 14 var canvas = document.getElementById("sig-canvas"); 15 var ctx = canvas.getContext("2d"); 16 ctx.strokeStyle = "#222222"; 17 ctx.lineWidth = 4; 18 19 var drawing = false; 20 var mousePos = { 21 x: 0, 22 y: 0 23 }; 24 var lastPos = mousePos; 25 26 canvas.addEventListener("mousedown", function(e) { 27 drawing = true; 28 lastPos = getMousePos(canvas, e); 29 }, false); 30 31 canvas.addEventListener("mouseup", function(e) { 32 drawing = false; 33 }, false); 34 35 canvas.addEventListener("mousemove", function(e) { 36 mousePos = getMousePos(canvas, e); 37 }, false); 38 39 // Add touch event support for mobile 40 canvas.addEventListener("touchstart", function(e) { 41 42 }, false); 43 44 canvas.addEventListener("touchmove", function(e) { 45 var touch = e.touches[0]; 46 var me = new MouseEvent("mousemove", { 47 clientX: touch.clientX, 48 clientY: touch.clientY 49 }); 50 canvas.dispatchEvent(me); 51 }, false); 52 53 canvas.addEventListener("touchstart", function(e) { 54 mousePos = getTouchPos(canvas, e); 55 var touch = e.touches[0]; 56 var me = new MouseEvent("mousedown", { 57 clientX: touch.clientX, 58 clientY: touch.clientY 59 }); 60 canvas.dispatchEvent(me); 61 }, false); 62 63 canvas.addEventListener("touchend", function(e) { 64 var me = new MouseEvent("mouseup", {}); 65 canvas.dispatchEvent(me); 66 }, false); 67 68 function getMousePos(canvasDom, mouseEvent) { 69 var rect = canvasDom.getBoundingClientRect(); 70 return { 71 x: mouseEvent.clientX - rect.left, 72 y: mouseEvent.clientY - rect.top 73 } 74 } 75 76 function getTouchPos(canvasDom, touchEvent) { 77 var rect = canvasDom.getBoundingClientRect(); 78 return { 79 x: touchEvent.touches[0].clientX - rect.left, 80 y: touchEvent.touches[0].clientY - rect.top 81 } 82 } 83 84 function renderCanvas() { 85 if (drawing) { 86 ctx.moveTo(lastPos.x, lastPos.y); 87 ctx.lineTo(mousePos.x, mousePos.y); 88 ctx.stroke(); 89 lastPos = mousePos; 90 } 91 } 92 93 document.body.addEventListener("touchstart", function(e) { 94 if (e.target == canvas) { 95 e.preventDefault(); 96 } 97 }, false); 98 document.body.addEventListener("touchend", function(e) { 99 if (e.target == canvas) { 100 e.preventDefault(); 101 } 102 }, false); 103 document.body.addEventListener("touchmove", function(e) { 104 if (e.target == canvas) { 105 e.preventDefault(); 106 } 107 }, false); 108 109 (function drawLoop() { 110 requestAnimFrame(drawLoop); 111 renderCanvas(); 112 })(); 113 114 function clearCanvas() { 115 canvas.width = canvas.width; 116 } 117 118 var sigText = document.getElementById("sig-dataUrl"); 119 var clearBtn = document.getElementById("sig-clearBtn"); 120 var submitBtn = document.getElementById("sig-canvas"); 121 clearBtn.addEventListener("click", function(e) { 122 clearCanvas(); 123 }, false); 124 submitBtn.addEventListener("click", function(e) { 125 var dataUrl = canvas.toDataURL(); 126 sigText.value = dataUrl; 127 }, false); 128 129 })(); 130} 131 132if (typeof JACQUELINE_STORAGE == 'undefined') var JACQUELINE_STORAGE = {}; 133JACQUELINE_STORAGE['ajax_url'] = ''; 134JACQUELINE_STORAGE['ajax_nonce'] = ''; 135JACQUELINE_STORAGE['site_url'] = ''; 136JACQUELINE_STORAGE['sc_edit_mode'] = false; 137JACQUELINE_STORAGE['theme_font'] = 'Droid Serif'; 138JACQUELINE_STORAGE['theme_skin'] = 'less'; 139JACQUELINE_STORAGE['theme_skin_color'] = '#323232'; 140JACQUELINE_STORAGE['theme_skin_bg_color'] = '#ffffff'; 141JACQUELINE_STORAGE['slider_height'] = 100; 142JACQUELINE_STORAGE['system_message'] = { 143 message: '', 144 status: '', 145 header: '' 146}; 147JACQUELINE_STORAGE['user_logged_in'] = false; 148JACQUELINE_STORAGE['toc_menu'] = ''; 149JACQUELINE_STORAGE['toc_menu_home'] = false; 150JACQUELINE_STORAGE['toc_menu_top'] = false; 151JACQUELINE_STORAGE['menu_fixed'] = true; 152JACQUELINE_STORAGE['menu_mobile'] = 1024; 153JACQUELINE_STORAGE['menu_slider'] = true; 154JACQUELINE_STORAGE['menu_cache'] = false; 155JACQUELINE_STORAGE['demo_time'] = 0;
156JACQUELINE_STORAGE['media_elements_enabled'] = true; 157JACQUELINE_STORAGE['ajax_search_enabled'] = true; 158JACQUELINE_STORAGE['ajax_search_min_length'] = 3; 159JACQUELINE_STORAGE['ajax_search_delay'] = 200; 160JACQUELINE_STORAGE['css_animation'] = true; 161JACQUELINE_STORAGE['menu_animation_in'] = 'fadeInUp'; 162JACQUELINE_STORAGE['menu_animation_out'] = 'fadeOutDown'; 163JACQUELINE_STORAGE['popup_engine'] = 'magnific'; 164JACQUELINE_STORAGE['email_mask'] = '^([a-zA-Z0-9_\-]+\.)*[a-zA-Z0-9_\-]+@[a-z0-9_\-]+(\.[a-z0-9_\-]+)*\.[a-z]{2,6}$'; 165JACQUELINE_STORAGE['contacts_maxlength'] = 1000; 166JACQUELINE_STORAGE['comments_maxlength'] = 1000; 167JACQUELINE_STORAGE['remember_visitors_settings'] = false; 168JACQUELINE_STORAGE['admin_mode'] = false; 169JACQUELINE_STORAGE['isotope_resize_delta'] = 0.3; 170JACQUELINE_STORAGE['error_message_box'] = null; 171JACQUELINE_STORAGE['viewmore_busy'] = false; 172JACQUELINE_STORAGE['video_resize_inited'] = false; 173JACQUELINE_STORAGE['top_panel_height'] = 0; 174 175if (typeof JACQUELINE_STORAGE == 'undefined') var JACQUELINE_STORAGE = {}; 176JACQUELINE_STORAGE["strings"] = { 177 ajax_error: "Invalid server answer", 178 bookmark_add: "Add the bookmark", 179 bookmark_added: "Current page has been successfully added to the bookmarks. You can see it in the right panel on the tab 'Bookmarks'", 180 bookmark_del: "Delete this bookmark", 181 bookmark_title: "Enter bookmark title", 182 bookmark_exists: "Current page already exists in the bookmarks list", 183 search_error: "Error occurs in AJAX search! Please, type your query and press search icon for the traditional search way.", 184 email_confirm: "On the e-mail address "%s" we sent a confirmation email. Please, open it and click on the link.", 185 reviews_vote: "Thanks for your vote! New average rating is:", 186 reviews_error: "Error saving your vote! Please, try again later.", 187 error_like: "Error saving your like! Please, try again later.", 188 error_global: "Global error text", 189 name_empty: "The name can't be empty", 190 name_long: "Too long name",
191 email_empty: "Too short (or empty) email address", 192 email_long: "Too long email address", 193 email_not_valid: "Invalid email address", 194 subject_empty: "The subject can't be empty", 195 subject_long: "Too long subject", 196 text_empty: "The message text can't be empty", 197 text_long: "Too long message text", 198 send_complete: "Send message complete!", 199 send_error: "Transmit failed!", 200 login_empty: "The Login field can't be empty", 201 login_long: "Too long login field", 202 login_success: "Login success! The page will be reloaded in 3 sec.", 203 login_failed: "Login failed!", 204 password_empty: "The password can't be empty and shorter then 4 characters", 205 password_long: "Too long password", 206 password_not_equal: "The passwords in both fields are not equal", 207 registration_success: "Registration success! Please log in!", 208 registration_failed: "Registration failed!", 209 geocode_error: "Geocode was not successful for the following reason:", 210 googlemap_not_avail: "Google map API not available!", 211 editor_save_success: "Post content saved!", 212 editor_save_error: "Error saving post data!", 213 editor_delete_post: "You really want to delete the current post?", 214 editor_delete_post_header: "Delete post", 215 editor_delete_success: "Post deleted!", 216 editor_delete_error: "Error deleting post!", 217 editor_caption_cancel: "Cancel", 218 editor_caption_close: "Close" 219}; 220 221jQuery(document).ready(function() { 222 if (jQuery(".rev_slider").length > 0) {initRevSlider()}; 223 if (jQuery(".esg-grid").length > 0) {initEssGrid()}; 224 itemsmenu(); 225}); 226 227function initRevSlider() { 228 "use strict"; 229 var ajaxRevslider = function(obj) { 230 231 var content = ""; 232 var data = {}; 233 data.action = 'revslider_ajax_call_front'; 234 data.client_action = 'get_slider_html'; 235 data.token = '7b76f96d4c'; 236 data.type = obj.type; 237 data.id = obj.id; 238 data.aspectratio = obj.aspectratio; 239 240 // SYNC AJAX REQUEST 241 jQuery.ajax({ 242 type: "post", 243 url: "", 244 dataType: 'json', 245 data: data, 246 async: false, 247 success: function(ret, textStatus, XMLHttpRequest) { 248 if (ret.success == true) 249 content = ret.data; 250 }, 251 error: function(e) { 252 console.log(e); 253 } 254 }); 255 256 // FIRST RETURN THE CONTENT WHEN IT IS LOADED !! 257 return content; 258 }; 259 260 // CUSTOM AJAX FUNCTION TO REMOVE THE SLIDER 261 var ajaxRemoveRevslider = function(obj) { 262 return jQuery(obj.selector + " .rev_slider").revkill(); 263 }; 264 265 // EXTEND THE AJAX CONTENT LOADING TYPES WITH TYPE AND FUNCTION 266 var extendessential = setInterval(function() { 267 if (jQuery.fn.tpessential != undefined) { 268 clearInterval(extendessential); 269 if (typeof(jQuery.fn.tpessential.defaults) !== 'undefined') { 270 jQuery.fn.tpessential.defaults.ajaxTypes.push({ 271 type: "revslider", 272 func: ajaxRevslider, 273 killfunc: ajaxRemoveRevslider, 274 openAnimationSpeed: 0.3 275 }); 276 } 277 } 278 }, 30); 279 280 var htmlDiv = document.getElementById("rs-plugin-settings-inline-css"); 281 var htmlDivCss = ".tp-caption.black,.black{color:#000;text-shadow:none}"; 282 if (htmlDiv) { 283 htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss; 284 } else { 285 var htmlDiv = document.createElement("div"); 286 htmlDiv.innerHTML = "<style>" + htmlDivCss + "</style>"; 287 document.getElementsByTagName("head")[0].appendChild(htmlDiv.childNodes[0]); 288 } 289 290 291 292 var setREVStartSize = function() { 293 try { 294 var e = new Object, 295 i = jQuery(window).width(), 296 t = 9999, 297 r = 0, 298 n = 0, 299 l = 0, 300 f = 0, 301 s = 0, 302 h = 0; 303 e.c = jQuery('#rev_slider_1_1'); 304 e.responsiveLevels = [1240, 1240, 778, 480]; 305 e.gridwidth = [1170, 1024, 936, 624]; 306 e.gridheight = [750, 768, 600, 500]; 307 308 e.sliderLayout = "auto"; 309 if (e.responsiveLevels && (jQuery.each(e.responsiveLevels, function(e, f) { 310 f > i && (t = r = f, l = e), i > f && f > r && (r = f, n = e) 311 }), t > r && (l = n)), f = e.gridheight[l] || e.gridheight[0] || e.gridheight, s = e.gridwidth[l] || e.gridwidth[0] || e.gridwidth, h = i / s, h = h >
311 1 ? 1 : h, f = Math.round(h * f), "fullscreen" == e.sliderLayout) { 312 var u = (e.c.width(), jQuery(window).height()); 313 if (void 0 != e.fullScreenOffsetContainer) { 314 var c = e.fullScreenOffsetContainer.split(","); 315 if (c) jQuery.each(c, function(e, i) { 316 u = jQuery(i).length > 0 ? u - jQuery(i).outerHeight(!0) : u 317 }), e.fullScreenOffset.split("%").length > 1 && void 0 != e.fullScreenOffset && e.fullScreenOffset.length > 0 ? u -= jQuery(window).height() * parseInt(e.fullScreenOffset, 0) / 100 : void 0 != e.fullScreenOffset && e.fullScreenOffset.length > 0 && (u -= parseInt(e.fullScreenOffset, 0)) 318 } 319 f = u 320 } else void 0 != e.minHeight && f < e.minHeight && (f = e.minHeight); 321 e.c.closest(".rev_slider_wrapper").css({ 322 height: f 323 }) 324 325 } catch (d) { 326 console.log("Failure at Presize of Slider:" + d) 327 } 328 }; 329 330 setREVStartSize(); 331 332 var tpj = jQuery; 333 334 var revapi1; 335 tpj(document).ready(function() { 336 if (tpj("#rev_slider_1_1").revolution == undefined) { 337 revslider_showDoubleJqueryError("#rev_slider_1_1"); 338 } else { 339 revapi1 = tpj("#rev_slider_1_1").show().revolution({ 340 sliderType: "standard", 341 jsFileLocation: "js/vendor/revslider/", 342 sliderLayout: "auto", 343 dottedOverlay: "none", 344 delay: 9000, 345 navigation: { 346 keyboardNavigation: "off", 347 keyboard_direction: "horizontal", 348 mouseScrollNavigation: "off", 349 mouseScrollReverse: "default", 350 onHoverStop: "off", 351 bullets: { 352 enable: true, 353 hide_onmobile: false, 354 style: "hermes", 355 hide_onleave: true, 356 hide_delay: 200, 357 hide_delay_mobile: 1200, 358 direction: "horizontal", 359 h_align: "center", 360 v_align: "bottom", 361 h_offset: 0, 362 v_offset: 20, 363 space: 10, 364 tmp: '' 365 } 366 }, 367 responsiveLevels: [1240, 1240, 778, 480], 368 visibilityLevels: [1240, 1240, 778, 480], 369 gridwidth: [1170, 1024, 936, 624], 370 gridheight: [750, 768, 600, 500], 371 lazyType: "none", 372 shadow: 0, 373 spinner: "spinner0", 374 stopLoop: "off", 375 stopAfterLoops: -1, 376 stopAtSlide: -1, 377 shuffle: "off", 378 autoHeight: "off", 379 disableProgressBar: "on", 380 hideThumbsOnMobile: "off", 381 hideSliderAtLimit: 0, 382 hideCaptionAtLimit: 0, 383 hideAllCaptionAtLilmit: 0, 384 debugMode: false, 385 fallbacks: { 386 simplifyAll: "off", 387 nextSlideOnWindowFocus: "off", 388 disableFocusListener: false, 389 } 390 }); 391 } 392 }); 393 var htmlDivCss = unescape(".hermes.tp-bullets%20%7B%0A%7D%0A%0A.hermes%20.tp-bullet%20%7B%0A%20%20%20%20overflow%3Ahidden%3B%0A%20%20%20%20border-radius%3A50%25%3B%0A%20%20%20%20width%3A16px%3B%0A%20%20%20%20height%3A16px%3B%0A%20%20%20%20background-color%3A%20rgba%280%2C%200%2C%200%2C%200%29%3B%0A%20%20%20%20box-shadow%3A%20inset%200%200%200%202px%20rgb%28255%2C%20255%2C%20255%29%3B%0A%20%20%20%20-webkit-transition%3A%20background%200.3s%20ease%3B%0A%20%20%20%20transition%3A%20background%200.3s%20ease%3B%0A%20%20%20%20position%3Aabsolute%3B%0A%7D%0A%0A.hermes%20.tp-bullet%3Ahover%20%7B%0A%09%20%20background-color%3A%20rgba%280%2C0%2C0%2C0.21%29%3B%0A%7D%0A.hermes%20.tp-bullet%3Aafter%20%7B%0A%20%20content%3A%20%27%20%27%3B%0A%20%20position%3A%20absolute%3B%0A%20%20bottom%3A%200%3B%0A%20%20height%3A%200%3B%0A%20%20left%3A%200%3B%0A%20%20width%3A%20100%25%3B%0A%20%20background-color%3A%20rgb%28255%2C%20255%2C%20255%29%3B%0A%20%20box-shadow%3A%200%200%201px%20rgb%28255%2C%20255%2C%20255%29%3B%0A%20%20-webkit-transition%3A%20height%200.3s%20ease%3B%0A%20%20transition%3A%20height%200.3s%20ease%3B%0A%7D%0A.hermes%20.tp-bullet.selected%3Aafter%20%7B%0A%20%20height%3A100%25%3B%0A%7D%0A%0A"); 394 var htmlDiv = document.getElementById('rs-plugin-settings-inline-css'); 395 if (htmlDiv) { 396 htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss; 397 } else { 398 var htmlDiv = document.createElement('div'); 399 htmlDiv.innerHTML = '<style>' + htmlDivCss + '</style>'; 400 document.getElementsByTagName('head')[0].appendChild(htmlDiv.childNodes[0]); 401 } 402 403 404 405 var setREVStartSize = function() { 406 try { 407 var e = new Object, 408 i = jQuery(window).width(), 409 t = 9999, 410 r = 0, 411 n = 0, 412 l = 0, 413 f = 0, 414 s = 0, 415 h = 0; 416 e.c = jQuery('#rev_slider_3_1'); 417 e.responsiveLevels = [1240, 1240, 778, 480]; 418 e.gridwidth = [1170, 1366, 800, 600]; 419 e.gridheight = [950, 768, 800, 900]; 420 421 e.sliderLayout = "fullscreen"; 422 e.fullScreenAutoWidth = 'off'; 423 e.fullScreenAlignForce = 'off'; 424 e.fullScreenOffsetContainer = ''; 425 e.fullScreenOffset = ''; 426 if (e.responsiveLevels && (jQuery.each(e.responsiveLevels, function(e, f) { 427 f > i && (t = r = f, l = e), i > f && f > r && (r = f, n = e) 428 }), t > r && (l = n)), f = e.gridheight[l] || e.gridheight[0] || e.gridheight, s = e.gridwidth[l] || e.gridwidth[0] || e.gridwidth, h = i / s, h = h >
428 1 ? 1 : h, f = Math.round(h * f), "fullscreen" == e.sliderLayout) { 429 var u = (e.c.width(), jQuery(window).height()); 430 if (void 0 != e.fullScreenOffsetContainer) { 431 var c = e.fullScreenOffsetContainer.split(","); 432 if (c) jQuery.each(c, function(e, i) { 433 u = jQuery(i).length > 0 ? u - jQuery(i).outerHeight(!0) : u 434 }), e.fullScreenOffset.split("%").length > 1 && void 0 != e.fullScreenOffset && e.fullScreenOffset.length > 0 ? u -= jQuery(window).height() * parseInt(e.fullScreenOffset, 0) / 100 : void 0 != e.fullScreenOffset && e.fullScreenOffset.length > 0 && (u -= parseInt(e.fullScreenOffset, 0)) 435 } 436 f = u 437 } else void 0 != e.minHeight && f < e.minHeight && (f = e.minHeight); 438 e.c.closest(".rev_slider_wrapper").css({ 439 height: f 440 }) 441 442 } catch (d) { 443 console.log("Failure at Presize of Slider:" + d) 444 } 445 }; 446 447 setREVStartSize(); 448 449 var tpj = jQuery; 450 451 var revapi3; 452 tpj(document).ready(function() { 453 if (tpj("#rev_slider_3_1").revolution == undefined) { 454 revslider_showDoubleJqueryError("#rev_slider_3_1"); 455 } else { 456 revapi3 = tpj("#rev_slider_3_1").show().revolution({ 457 sliderType: "standard", 458 jsFileLocation: "js/vendor/revslider/", 459 sliderLayout: "fullscreen", 460 dottedOverlay: "none", 461 delay: 9000, 462 navigation: { 463 keyboardNavigation: "off", 464 keyboard_direction: "horizontal", 465 mouseScrollNavigation: "off", 466 mouseScrollReverse: "default", 467 onHoverStop: "off", 468 bullets: { 469 enable: true, 470 hide_onmobile: false, 471 style: "hermes", 472 hide_onleave: true, 473 hide_delay: 200, 474 hide_delay_mobile: 1200, 475 direction: "horizontal", 476 h_align: "center", 477 v_align: "bottom", 478 h_offset: 0, 479 v_offset: 20, 480 space: 10, 481 tmp: '' 482 } 483 }, 484 responsiveLevels: [1240, 1240, 778, 480], 485 visibilityLevels: [1240, 1240, 778, 480], 486 gridwidth: [1170, 1366, 800, 600], 487 gridheight: [950, 768, 800, 900], 488 lazyType: "none", 489 shadow: 0, 490 spinner: "spinner0", 491 stopLoop: "off", 492 stopAfterLoops: -1, 493 stopAtSlide: -1, 494 shuffle: "off", 495 autoHeight: "off", 496 fullScreenAutoWidth: "off", 497 fullScreenAlignForce: "off", 498 fullScreenOffsetContainer: "", 499 fullScreenOffset: "", 500 disableProgressBar: "on", 501 hideThumbsOnMobile: "off", 502 hideSliderAtLimit: 0, 503 hideCaptionAtLimit: 0, 504 hideAllCaptionAtLilmit: 0, 505 debugMode: false, 506 fallbacks: { 507 simplifyAll: "off", 508 nextSlideOnWindowFocus: "off", 509 disableFocusListener: false, 510 } 511 }); 512 } 513 }); 514 515 var htmlDivCss = unescape(".hermes.tp-bullets%20%7B%0A%7D%0A%0A.hermes%20.tp-bullet%20%7B%0A%20%20%20%20overflow%3Ahidden%3B%0A%20%20%20%20border-radius%3A50%25%3B%0A%20%20%20%20width%3A16px%3B%0A%20%20%20%20height%3A16px%3B%0A%20%20%20%20background-color%3A%20rgba%280%2C%200%2C%200%2C%200%29%3B%0A%20%20%20%20box-shadow%3A%20inset%200%200%200%202px%20rgb%28255%2C%20255%2C%20255%29%3B%0A%20%20%20%20-webkit-transition%3A%20background%200.3s%20ease%3B%0A%20%20%20%20transition%3A%20background%200.3s%20ease%3B%0A%20%20%20%20position%3Aabsolute%3B%0A%7D%0A%0A.hermes%20.tp-bullet%3Ahover%20%7B%0A%09%20%20background-color%3A%20rgba%280%2C0%2C0%2C0.21%29%3B%0A%7D%0A.hermes%20.tp-bullet%3Aafter%20%7B%0A%20%20content%3A%20%27%20%27%3B%0A%20%20position%3A%20absolute%3B%0A%20%20bottom%3A%200%3B%0A%20%20height%3A%200%3B%0A%20%20left%3A%200%3B%0A%20%20width%3A%20100%25%3B%0A%20%20background-color%3A%20rgb%28255%2C%20255%2C%20255%29%3B%0A%20%20box-shadow%3A%200%200%201px%20rgb%28255%2C%20255%2C%20255%29%3B%0A%20%20-webkit-transition%3A%20height%200.3s%20ease%3B%0A%20%20transition%3A%20height%200.3s%20ease%3B%0A%7D%0A.hermes%20.tp-bullet.selected%3Aafter%20%7B%0A%20%20height%3A100%25%3B%0A%7D%0A%0A"); 516 var htmlDiv = document.getElementById('rs-plugin-settings-inline-css'); 517 if (htmlDiv) { 518 htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss; 519 } else { 520 var htmlDiv = document.createElement('div'); 521 htmlDiv.innerHTML = '<style>' + htmlDivCss + '</style>'; 522 document.getElementsByTagName('head')[0].appendChild(htmlDiv.childNodes[0]); 523 } 524 525 526 var setREVStartSize = function() { 527 try { 528 var e = new Object, 529 i = jQuery(window).width(), 530 t = 9999, 531 r = 0, 532 n = 0, 533 l = 0, 534 f = 0, 535 s = 0, 536 h = 0; 537 e.c = jQuery('#rev_slider_4_1'); 538 e.responsiveLevels = [1240, 1240, 778, 480]; 539 e.gridwidth = [1170, 1024, 778, 600]; 540 e.gridheight = [700, 768, 450, 650]; 541 542 e.sliderLayout = "auto"; 543 if (e.responsiveLevels && (jQuery.each(e.responsiveLevels, function(e, f) { 544 f > i && (t = r = f, l = e), i > f && f > r && (r = f, n = e) 545 }), t > r && (l = n)), f = e.gridheight[l] || e.gridheight[0] || e.gridheight, s = e.gridwidth[l] || e.gridwidth[0] || e.gridwidth, h = i / s, h = h >
545 1 ? 1 : h, f = Math.round(h * f), "fullscreen" == e.sliderLayout) { 546 var u = (e.c.width(), jQuery(window).height()); 547 if (void 0 != e.fullScreenOffsetContainer) { 548 var c = e.fullScreenOffsetContainer.split(","); 549 if (c) jQuery.each(c, function(e, i) { 550 u = jQuery(i).length > 0 ? u - jQuery(i).outerHeight(!0) : u 551 }), e.fullScreenOffset.split("%").length > 1 && void 0 != e.fullScreenOffset && e.fullScreenOffset.length > 0 ? u -= jQuery(window).height() * parseInt(e.fullScreenOffset, 0) / 100 : void 0 != e.fullScreenOffset && e.fullScreenOffset.length > 0 && (u -= parseInt(e.fullScreenOffset, 0)) 552 } 553 f = u 554 } else void 0 != e.minHeight && f < e.minHeight && (f = e.minHeight); 555 e.c.closest(".rev_slider_wrapper").css({ 556 height: f 557 }) 558 559 } catch (d) { 560 console.log("Failure at Presize of Slider:" + d) 561 } 562 }; 563 564 setREVStartSize(); 565 566 var tpj = jQuery; 567 568 var revapi4; 569 tpj(document).ready(function() { 570 if (tpj("#rev_slider_4_1").revolution == undefined) { 571 revslider_showDoubleJqueryError("#rev_slider_4_1"); 572 } else { 573 revapi4 = tpj("#rev_slider_4_1").show().revolution({ 574 sliderType: "standard", 575 jsFileLocation: "js/vendor/revslider/", 576 sliderLayout: "auto", 577 dottedOverlay: "none", 578 delay: 9000, 579 navigation: { 580 onHoverStop: "off", 581 }, 582 responsiveLevels: [1240, 1240, 778, 480], 583 visibilityLevels: [1240, 1240, 778, 480], 584 gridwidth: [1170, 1024, 778, 600], 585 gridheight: [700, 768, 450, 650], 586 lazyType: "none", 587 shadow: 0, 588 spinner: "spinner0", 589 stopLoop: "off", 590 stopAfterLoops: -1, 591 stopAtSlide: -1, 592 shuffle: "off", 593 autoHeight: "off", 594 disableProgressBar: "on", 595 hideThumbsOnMobile: "off", 596 hideSliderAtLimit: 0, 597 hideCaptionAtLimit: 0, 598 hideAllCaptionAtLilmit: 0, 599 debugMode: false, 600 fallbacks: { 601 simplifyAll: "off", 602 nextSlideOnWindowFocus: "off", 603 disableFocusListener: false, 604 } 605 }); 606 } 607 }); 608 609}; 610 611 612 613var lamount, aratio ; 614 615function initEssGrid() { 616 "use strict"; 617 function eggbfc(winw, resultoption) { 618 var 619 lasttop = winw, 620 lastbottom = 0, 621 smallest = 9999, 622 largest = 0, 623 samount = 0, 624 lamoung = 0, 625 lastamount = 0, 626 resultid = 0, 627 resultidb = 0, 628 responsiveEntries = [{ 629 width: 1400, 630 amount: 4 631 }, { 632 width: 1170, 633 amount: 4 634 }, { 635 width: 1024, 636 amount: 4 637 }, { 638 width: 960, 639 amount: 4 640 }, { 641 width: 778, 642 amount: 3 643 }, { 644 width: 640, 645 amount: 2 646 }, { 647 width: 480, 648 amount: 1 649 }]; 650 if (responsiveEntries != undefined && responsiveEntries.length > 0) 651 jQuery.each(responsiveEntries, function(index, obj) { 652 var curw = obj.width != undefined ? obj.width : 0, 653 cura = obj.amount != undefined ? obj.amount : 0; 654 if (smallest > curw) { 655 smallest = curw; 656 samount = cura; 657 resultidb = index; 658 } 659 if (largest < curw) { 660 largest = curw; 661 lamount = cura; 662 } 663 if (curw > lastbottom && curw <= lasttop) { 664 lastbottom = curw; 665 lastamount = cura; 666 resultid = index; 667 } 668 }) 669 if (smallest > winw) { 670 lastamount = samount; 671 resultid = resultidb; 672 } 673 var obj = new Object; 674 obj.index = resultid; 675 obj.column = lastamount; 676 if (resultoption == "id") 677 return obj; 678 else 679 return lastamount; 680 } 681 if ("masonry" == "even") { 682 var coh = 0, 683 container = jQuery("#esg-grid-1-1"); 684 var cwidth = container.width(), 685 ar = "1:1", 686 gbfc = eggbfc(jQuery(window).width(), "id"), 687 row = 3; 688 ar = ar.split(":"); 689 aratio = parseInt(ar[0], 0) / parseInt(ar[1], 0); 690 coh = cwidth / aratio; 691 coh = coh / gbfc.column * row; 692 var ul = container.find("ul").first(); 693 ul.css({ 694 display: "block", 695 height: coh + "px" 696 }); 697 } 698 var essapi_1; 699 jQuery(document).ready(function() { 700 essapi_1 = jQuery("#esg-grid-1-1").tpessential({ 701 gridID: 1, 702 layout: "masonry", 703 forceFullWidth: "off", 704 lazyLoad: "off", 705 row: 4, 706 loadMoreAjaxToken: "86b85e54a7", 707 loadMoreAjaxUrl: "http://jacqueline.themerex.net/wp-admin/admin-ajax.php", 708 loadMoreAjaxAction: "Essential_Grid_Front_request_ajax", 709 ajaxContentTarget: "ess-grid-ajax-container-", 710 ajaxScrollToOffset: "0", 711 ajaxCloseButton: "off", 712 ajaxContentSliding: "on", 713 ajaxScrollToOnLoad: "on", 714 ajaxNavButton: "off", 715 ajaxCloseType: "type1", 716 ajaxCloseInner: "false", 717 ajaxCloseStyle: "light", 718 ajaxClosePosition: "tr", 719 space: 30, 720 pageAnimation: "fade", 721 paginationScrollToTop: "off", 722 spinner: "spinner0", 723 lightBoxMode: "single", 724 animSpeed: 1000, 725 delayBasic: 1, 726 mainhoverdelay: 1, 727 filterType: "single", 728 showDropFilter: "hover", 729 filterGroupClass: "esg-fgc-1", 730 googleFonts: ['Open+Sans:300,400,600,700,800', 'Raleway:100,200,300,400,500,600,700,800,900', 'Droid+Serif:400,700'], 731 responsiveEntries: [{ 732 width: 1400, 733 amount: 4 734 }, { 735 width: 1170, 736 amount: 4 737 }, { 738 width: 1024, 739 amount: 4 740 }, { 741 width: 960, 742 amount: 4 743 }, { 744 width: 778, 745 amount: 3 746 }, { 747 width: 640, 748 amount: 2 749 }, { 750 width: 480, 751 amount: 1 752 }] 753 }); 754 755 try { 756 jQuery("#esg-grid-1-1 .esgbox").esgbox({ 757 padding: [0, 0, 0, 0], 758 afterLoad: function() { 759 if (this.element.hasClass("esgboxhtml5")) { 760 var mp = this.element.data("mp4"), 761 ogv = this.element.data("ogv"), 762 webm = this.element.data("webm"); 763 this.content = '<div style="width:100%;height:100%;">
763<video autoplay="true" loop="" class="rowbgimage" poster="" width="100%" height="auto"><source src="' + mp + '" type="video/mp4"><source src="' + webm + '" type="video/webm"><source src="' + ogv + '" type="video/ogg"></video></div>'; 764 var riint = setInterval(function() { 765 jQuery(window).trigger("resize"); 766 }, 100); 767 setTimeout(function() { 768 clearInterval(riint); 769 }, 2500); 770 }; 771 }, 772 beforeShow: function() { 773 this.title = jQuery(this.element).attr('lgtitle'); 774 if (this.title) { 775 this.title = ""; 776 this.title = '<div style="padding:0px 0px 0px 0px">' + this.title + '</div>'; 777 } 778 }, 779 afterShow: function() {}, 780 openEffect: 'fade', 781 closeEffect: 'fade', 782 nextEffect: 'fade', 783 prevEffect: 'fade', 784 openSpeed: 'normal', 785 closeSpeed: 'normal', 786 nextSpeed: 'normal', 787 prevSpeed: 'normal', 788 helpers: { 789 media: {}, 790 title: { 791 type: "" 792 } 793 } 794 }); 795 796 } catch (e) {} 797 798 799 800 if ("even" == "even") { 801 var coh = 0, 802 container = jQuery("#esg-grid-2-1"); 803 var cwidth = container.width(), 804 ar = "1:1", 805 gbfc = eggbfc(jQuery(window).width(), "id"), 806 row = 4; 807 ar = ar.split(":"); 808 aratio = parseInt(ar[0], 0) / parseInt(ar[1], 0); 809 coh = cwidth / aratio; 810 coh = coh / gbfc.column * row; 811 var ul = container.find("ul").first(); 812 ul.css({ 813 display: "block", 814 height: coh + "px" 815 }); 816 } 817 var essapi_2; 818 jQuery(document).ready(function() { 819 essapi_2 = jQuery("#esg-grid-2-1").tpessential({ 820 gridID: 2, 821 layout: "even", 822 forceFullWidth: "off", 823 lazyLoad: "off", 824 row: 4, 825 loadMoreAjaxToken: "cd6392df0f", 826 loadMoreAjaxUrl: "http://jacqueline.themerex.net/wp-admin/admin-ajax.php", 827 loadMoreAjaxAction: "Essential_Grid_Front_request_ajax", 828 ajaxContentTarget: "ess-grid-ajax-container-", 829 ajaxScrollToOffset: "0", 830 ajaxCloseButton: "off", 831 ajaxContentSliding: "on", 832 ajaxScrollToOnLoad: "on", 833 ajaxNavButton: "off", 834 ajaxCloseType: "type1", 835 ajaxCloseInner: "false", 836 ajaxCloseStyle: "light", 837 ajaxClosePosition: "tr", 838 space: 0, 839 pageAnimation: "fade", 840 paginationScrollToTop: "off", 841 spinner: "spinner0", 842 evenGridMasonrySkinPusher: "off", 843 lightBoxMode: "single", 844 animSpeed: 1000, 845 delayBasic: 1, 846 mainhoverdelay: 1, 847 filterType: "single", 848 showDropFilter: "hover", 849 filterGroupClass: "esg-fgc-2", 850 googleFonts: ['Open+Sans:300,400,600,700,800', 'Raleway:100,200,300,400,500,600,700,800,900', 'Droid+Serif:400,700'], 851 aspectratio: "1:1", 852 responsiveEntries: [{ 853 width: 1400, 854 amount: 4 855 }, { 856 width: 1170, 857 amount: 4 858 }, { 859 width: 1024, 860 amount: 4 861 }, { 862 width: 960, 863 amount: 3 864 }, { 865 width: 778, 866 amount: 2 867 }, { 868 width: 640, 869 amount: 2 870 }, { 871 width: 480, 872 amount: 1 873 }] 874 }); 875 try { 876 jQuery("#esg-grid-2-1 .esgbox").esgbox({ 877 padding: [0, 0, 0, 0], 878 afterLoad: function() { 879 if (this.element.hasClass("esgboxhtml5")) { 880 var mp = this.element.data("mp4"), 881 ogv = this.element.data("ogv"), 882 webm = this.element.data("webm"); 883 this.content = '<div style="width:100%;height:100%;"><video autoplay="true" loop="" class="rowbgimage" poster="" width="100%" height="auto"><source src="' + mp + '" type="video/mp4"><source src="' + webm + '" type="video/webm"><source src="' + ogv + '" type="video/ogg"></video></div>'; 884 var riint = setInterval(function() { 885 jQuery(window).trigger("resize"); 886 }, 100); 887 setTimeout(function() { 888 clearInterval(riint); 889 }, 2500); 890 }; 891 }, 892 beforeShow: function() { 893 this.title = jQuery(this.element).attr('lgtitle'); 894 if (this.title) { 895 this.title = ""; 896 this.title = '<div style="padding:0px 0px 0px 0px">' + this.title + '</div>'; 897 } 898 }, 899 afterShow: function() {}, 900 openEffect: 'fade', 901 closeEffect: 'fade', 902 nextEffect: 'fade', 903 prevEffect: 'fade', 904 openSpeed: 'normal', 905 closeSpeed: 'normal', 906 nextSpeed: 'normal', 907 prevSpeed: 'normal', 908 helpers: { 909 media: {}, 910 title: { 911 type: "" 912 } 913 } 914 }); 915 } catch (e) {} 916 }); 917 }); 918 919 920 function eggbfc(winw, resultoption) { 921 var lasttop = winw, 922 lastbottom = 0, 923 smallest = 9999, 924 largest = 0, 925 samount = 0, 926 lamoung = 0, 927 lastamount = 0, 928 resultid = 0, 929 resultidb = 0, 930 responsiveEntries = [{ 931 width: 1400, 932 amount: 4 933 }, { 934 width: 1170, 935 amount: 4 936 }, { 937 width: 1024, 938 amount: 4 939 }, { 940 width: 960, 941 amount: 3 942 }, { 943 width: 778, 944 amount: 2 945 }, { 946 width: 640, 947 amount: 2 948 }, { 949 width: 480, 950 amount: 1 951 }]; 952 if (responsiveEntries != undefined && responsiveEntries.length > 0) 953 jQuery.each(responsiveEntries, function(index, obj) { 954 var curw = obj.width != undefined ? obj.width : 0, 955 cura = obj.amount != undefined ? obj.amount : 0; 956 if (smallest > curw) { 957 smallest = curw; 958 samount = cura; 959 resultidb = index; 960 } 961 if (largest < curw) { 962 largest = curw; 963 lamount = cura; 964 } 965 if (curw > lastbottom && curw <= lasttop) { 966 lastbottom = curw; 967 lastamount = cura; 968 resultid = index; 969 } 970 }) 971 if (smallest > winw) { 972 lastamount = samount; 973 resultid = resultidb; 974 } 975 var obj = new Object; 976 obj.index = resultid; 977 obj.column = lastamount; 978 if (resultoption == "id") 979 return obj;
980 else 981 return lastamount; 982 } 983 if ("cobbles" == "even") { 984 var coh = 0, 985 container = jQuery("#esg-grid-3-1"); 986 var cwidth = container.width(), 987 ar = "1:1", 988 gbfc = eggbfc(jQuery(window).width(), "id"), 989 row = 3; 990 ar = ar.split(":"); 991 aratio = parseInt(ar[0], 0) / parseInt(ar[1], 0); 992 coh = cwidth / aratio; 993 coh = coh / gbfc.column * row; 994 var ul = container.find("ul").first(); 995 ul.css({ 996 display: "block", 997 height: coh + "px" 998 }); 999 } 1000 var essapi_3; 1001 jQuery(document).ready(function() { 1002 essapi_3 = jQuery("#esg-grid-3-1").tpessential({ 1003 gridID: 3, 1004 layout: "cobbles", 1005 forceFullWidth: "off", 1006 lazyLoad: "off", 1007 row: 3, 1008 loadMoreAjaxToken: "312913dafa", 1009 loadMoreAjaxUrl: "http://jacqueline.themerex.net/wp-admin/admin-ajax.php", 1010 loadMoreAjaxAction: "Essential_Grid_Front_request_ajax", 1011 ajaxContentTarget: "ess-grid-ajax-container-", 1012 ajaxScrollToOffset: "0", 1013 ajaxCloseButton: "off", 1014 ajaxContentSliding: "on", 1015 ajaxScrollToOnLoad: "on", 1016 ajaxNavButton: "off", 1017 ajaxCloseType: "type1", 1018 ajaxCloseInner: "false", 1019 ajaxCloseStyle: "light", 1020 ajaxClosePosition: "tr", 1021 space: 30, 1022 pageAnimation: "fade", 1023 paginationScrollToTop: "off", 1024 spinner: "spinner0", 1025 lightBoxMode: "single", 1026 animSpeed: 1000, 1027 delayBasic: 1, 1028 mainhoverdelay: 1, 1029 filterType: "single", 1030 showDropFilter: "hover", 1031 filterGroupClass: "esg-fgc-3", 1032 googleFonts: ['Open+Sans:300,400,600,700,800', 'Raleway:100,200,300,400,500,600,700,800,900', 'Droid+Serif:400,700'], 1033 aspectratio: "1:1", 1034 responsiveEntries: [{ 1035 width: 1400, 1036 amount: 4 1037 }, { 1038 width: 1170, 1039 amount: 4 1040 }, { 1041 width: 1024, 1042 amount: 4 1043 }, { 1044 width: 960, 1045 amount: 3 1046 }, { 1047 width: 778, 1048 amount: 2 1049 }, { 1050 width: 640, 1051 amount: 2 1052 }, { 1053 width: 480, 1054 amount: 1 1055 }] 1056 }); 1057 1058 }); 1059 1060 function eggbfc(winw, resultoption) { 1061 var lasttop = winw, 1062 lastbottom = 0, 1063 smallest = 9999, 1064 largest = 0, 1065 samount = 0, 1066 lamoung = 0, 1067 lastamount = 0, 1068 resultid = 0, 1069 resultidb = 0, 1070 responsiveEntries = [{ 1071 width: 1400, 1072 amount: 3 1073 }, { 1074 width: 1170, 1075 amount: 3 1076 }, { 1077 width: 1024, 1078 amount: 3 1079 }, { 1080 width: 960, 1081 amount: 3 1082 }, { 1083 width: 778, 1084 amount: 3 1085 }, { 1086 width: 640, 1087 amount: 2 1088 }, { 1089 width: 480, 1090 amount: 1 1091 }]; 1092 if (responsiveEntries != undefined && responsiveEntries.length > 0) 1093 jQuery.each(responsiveEntries, function(index, obj) { 1094 var curw = obj.width != undefined ? obj.width : 0, 1095 cura = obj.amount != undefined ? obj.amount : 0; 1096 if (smallest > curw) { 1097 smallest = curw; 1098 samount = cura; 1099 resultidb = index; 1100 } 1101 if (largest < curw) { 1102 largest = curw; 1103 lamount = cura; 1104 } 1105 if (curw > lastbottom && curw <= lasttop) { 1106 lastbottom = curw; 1107 lastamount = cura; 1108 resultid = index; 1109 } 1110 }) 1111 if (smallest > winw) { 1112 lastamount = samount; 1113 resultid = resultidb; 1114 } 1115 var obj = new Object; 1116 obj.index = resultid; 1117 obj.column = lastamount; 1118 if (resultoption == "id") 1119 return obj; 1120 else 1121 return lastamount; 1122 } 1123 if ("even" == "even") { 1124 var coh = 0, 1125 container = jQuery("#esg-grid-4-1"); 1126 var cwidth = container.width(), 1127 ar = "1:1", 1128 gbfc = eggbfc(jQuery(window).width(), "id"), 1129 row = 9; 1130 ar = ar.split(":"); 1131 aratio = parseInt(ar[0], 0) / parseInt(ar[1], 0); 1132 coh = cwidth / aratio; 1133 coh = coh / gbfc.column * row; 1134 var ul = container.find("ul").first(); 1135 ul.css({ 1136 display: "block", 1137 height: coh + "px" 1138 }); 1139 } 1140 var essapi_4; 1141 jQuery(document).ready(function() { 1142 essapi_4 = jQuery("#esg-grid-4-1").tpessential({ 1143 gridID: 4, 1144 layout: "even", 1145 forceFullWidth: "off", 1146 lazyLoad: "off", 1147 row: 9, 1148 loadMoreAjaxToken: "22042c4941", 1149 loadMoreAjaxUrl: "http://jacqueline.themerex.net/wp-admin/admin-ajax.php", 1150 loadMoreAjaxAction: "Essential_Grid_Front_request_ajax", 1151 ajaxContentTarget: "ess-grid-ajax-container-", 1152 ajaxScrollToOffset: "0", 1153 ajaxCloseButton: "off", 1154 ajaxContentSliding: "on", 1155 ajaxScrollToOnLoad: "on", 1156 ajaxNavButton: "off", 1157 ajaxCloseType: "type1", 1158 ajaxCloseInner: "false", 1159 ajaxCloseStyle: "light", 1160 ajaxClosePosition: "tr", 1161 space: 0, 1162 pageAnimation: "fade", 1163 paginationScrollToTop: "off", 1164 spinner: "spinner0",
1165 evenGridMasonrySkinPusher: "off", 1166 lightBoxMode: "single", 1167 animSpeed: 1000, 1168 delayBasic: 1, 1169 mainhoverdelay: 1, 1170 filterType: "single", 1171 showDropFilter: "hover", 1172 filterGroupClass: "esg-fgc-4", 1173 googleFonts: ['Open+Sans:300,400,600,700,800', 'Raleway:100,200,300,400,500,600,700,800,900', 'Droid+Serif:400,700'], 1174 aspectratio: "1:1", 1175 responsiveEntries: [{ 1176 width: 1400, 1177 amount: 3 1178 }, { 1179 width: 1170, 1180 amount: 3 1181 }, { 1182 width: 1024, 1183 amount: 3 1184 }, { 1185 width: 960, 1186 amount: 3 1187 }, { 1188 width: 778, 1189 amount: 3 1190 }, { 1191 width: 640, 1192 amount: 2 1193 }, { 1194 width: 480, 1195 amount: 1 1196 }] 1197 }); 1198 1199 try { 1200 jQuery("#esg-grid-4-1 .esgbox").esgbox({ 1201 padding: [0, 0, 0, 0], 1202 afterLoad: function() { 1203 if (this.element.hasClass("esgboxhtml5")) { 1204 var mp = this.element.data("mp4"), 1205 ogv = this.element.data("ogv"), 1206 webm = this.element.data("webm"); 1207 this.content = '<div style="width:100%;height:100%;"><video autoplay="true" loop="" class="rowbgimage" poster="" width="100%" height="auto"><source src="' + mp + '" type="video/mp4"><source src="' + webm + '" type="video/webm"><source src="' + ogv + '" type="video/ogg"></video></div>'; 1208 var riint = setInterval(function() { 1209 jQuery(window).trigger("resize"); 1210 }, 100); 1211 setTimeout(function() { 1212 clearInterval(riint); 1213 }, 2500); 1214 }; 1215 }, 1216 beforeShow: function() { 1217 this.title = jQuery(this.element).attr('lgtitle'); 1218 if (this.title) { 1219 this.title = ""; 1220 this.title = '<div style="padding:0px 0px 0px 0px">' + this.title + '</div>'; 1221 } 1222 }, 1223 afterShow: function() {}, 1224 openEffect: 'fade', 1225 closeEffect: 'fade', 1226 nextEffect: 'fade', 1227 prevEffect: 'fade', 1228 openSpeed: 'normal', 1229 closeSpeed: 'normal', 1230 nextSpeed: 'normal', 1231 prevSpeed: 'normal', 1232 helpers: { 1233 media: {}, 1234 title: { 1235 type: "" 1236 } 1237 } 1238 }); 1239 1240 } catch (e) {} 1241 1242 }); 1243 1244 1245 function eggbfc(winw, resultoption) { 1246 var lasttop = winw, 1247 lastbottom = 0, 1248 smallest = 9999, 1249 largest = 0, 1250 samount = 0, 1251 lamoung = 0, 1252 lastamount = 0, 1253 resultid = 0, 1254 resultidb = 0, 1255 responsiveEntries = [{ 1256 width: 1400, 1257 amount: 3 1258 }, { 1259 width: 1170, 1260 amount: 3 1261 }, { 1262 width: 1024, 1263 amount: 3 1264 }, { 1265 width: 960, 1266 amount: 3 1267 }, { 1268 width: 778, 1269 amount: 3 1270 }, { 1271 width: 640, 1272 amount: 2 1273 }, { 1274 width: 480, 1275 amount: 1 1276 }]; 1277 if (responsiveEntries != undefined && responsiveEntries.length > 0) 1278 jQuery.each(responsiveEntries, function(index, obj) { 1279 var curw = obj.width != undefined ? obj.width : 0, 1280 cura = obj.amount != undefined ? obj.amount : 0; 1281 if (smallest > curw) { 1282 smallest = curw; 1283 samount = cura; 1284 resultidb = index; 1285 } 1286 if (largest < curw) { 1287 largest = curw; 1288 lamount = cura; 1289 } 1290 if (curw > lastbottom && curw <= lasttop) { 1291 lastbottom = curw; 1292 lastamount = cura; 1293 resultid = index; 1294 } 1295 }) 1296 if (smallest > winw) { 1297 lastamount = samount; 1298 resultid = resultidb; 1299 } 1300 var obj = new Object; 1301 obj.index = resultid; 1302 obj.column = lastamount; 1303 if (resultoption == "id") 1304 return obj; 1305 else 1306 return lastamount; 1307 } 1308 if ("masonry" == "even") { 1309 var coh = 0, 1310 container = jQuery("#esg-grid-5-1"); 1311 var cwidth = container.width(), 1312 ar = "1:1", 1313 gbfc = eggbfc(jQuery(window).width(), "id"), 1314 row = 9; 1315 ar = ar.split(":"); 1316 aratio = parseInt(ar[0], 0) / parseInt(ar[1], 0); 1317 coh = cwidth / aratio; 1318 coh = coh / gbfc.column * row; 1319 var ul = container.find("ul").first(); 1320 ul.css({ 1321 display: "block", 1322 height: coh + "px" 1323 }); 1324 } 1325 var essapi_5; 1326 jQuery(document).ready(function() { 1327 essapi_5 = jQuery("#esg-grid-5-1").tpessential({ 1328 gridID: 5, 1329 layout: "masonry", 1330 forceFullWidth: "off", 1331 lazyLoad: "off", 1332 row: 9, 1333 loadMoreAjaxToken: "22042c4941", 1334 loadMoreAjaxUrl: "http://jacqueline.themerex.net/wp-admin/admin-ajax.php", 1335 loadMoreAjaxAction: "Essential_Grid_Front_request_ajax", 1336 ajaxContentTarget: "ess-grid-ajax-container-", 1337 ajaxScrollToOffset: "0", 1338 ajaxCloseButton: "off", 1339 ajaxContentSliding: "on", 1340 ajaxScrollToOnLoad: "on", 1341 ajaxNavButton: "off", 1342 ajaxCloseType: "type1", 1343 ajaxCloseInner: "false", 1344 ajaxCloseStyle: "light", 1345 ajaxClosePosition: "tr", 1346 space: 30, 1347 pageAnimation: "fade", 1348 paginationScrollToTop: "off", 1349 spinner: "spinner0", 1350 lightBoxMode: "single", 1351 animSpeed: 1000, 1352 delayBasic: 1, 1353 mainhoverdelay: 1, 1354 filterType: "single", 1355 showDropFilter: "hover", 1356 filterGroupClass: "esg-fgc-5", 1357 googleFonts: ['Open+Sans:300,400,600,700,800', 'Raleway:100,200,300,400,500,600,700,800,900', 'Droid+Serif:400,700'], 1358 responsiveEntries: [{ 1359 width: 1400, 1360 amount: 3 1361 }, { 1362 width: 1170, 1363 amount: 3 1364 }, { 1365 width: 1024, 1366 amount: 3 1367 }, { 1368 width: 960, 1369 amount: 3 1370 }, { 1371 width: 778, 1372 amount: 3 1373 }, { 1374 width: 640, 1375 amount: 2 1376 }, { 1377 width: 480, 1378 amount: 1 1379 }] 1380 }); 1381 1382 try { 1383 jQuery("#esg-grid-5-1 .esgbox").esgbox({ 1384 padding: [0, 0, 0, 0], 1385 afterLoad: function() { 1386 if (this.element.hasClass("esgboxhtml5")) { 1387 var mp = this.element.data("mp4"), 1388 ogv = this.element.data("ogv"), 1389 webm = this.element.data("webm"); 1390 this.content = '<div style="width:100%;height:100%;">
1390<video autoplay="true" loop="" class="rowbgimage" poster="" width="100%" height="auto"><source src="' + mp + '" type="video/mp4"><source src="' + webm + '" type="video/webm"><source src="' + ogv + '" type="video/ogg"></video></div>'; 1391 var riint = setInterval(function() { 1392 jQuery(window).trigger("resize"); 1393 }, 100); 1394 setTimeout(function() { 1395 clearInterval(riint); 1396 }, 2500); 1397 }; 1398 }, 1399 beforeShow: function() { 1400 this.title = jQuery(this.element).attr('lgtitle'); 1401 if (this.title) { 1402 this.title = ""; 1403 this.title = '<div style="padding:0px 0px 0px 0px">' + this.title + '</div>'; 1404 } 1405 }, 1406 afterShow: function() {}, 1407 openEffect: 'fade', 1408 closeEffect: 'fade', 1409 nextEffect: 'fade', 1410 prevEffect: 'fade', 1411 openSpeed: 'normal', 1412 closeSpeed: 'normal', 1413 nextSpeed: 'normal', 1414 prevSpeed: 'normal', 1415 helpers: { 1416 media: {}, 1417 title: { 1418 type: "" 1419 } 1420 } 1421 }); 1422 1423 } catch (e) {} 1424 1425 }); 1426 1427 1428 function eggbfc(winw, resultoption) { 1429 var lasttop = winw, 1430 lastbottom = 0, 1431 smallest = 9999, 1432 largest = 0, 1433 samount = 0, 1434 lamoung = 0, 1435 lastamount = 0, 1436 resultid = 0, 1437 resultidb = 0, 1438 responsiveEntries = [{ 1439 width: 1400, 1440 amount: 3 1441 }, { 1442 width: 1170, 1443 amount: 3 1444 }, { 1445 width: 1024, 1446 amount: 3 1447 }, { 1448 width: 960, 1449 amount: 3 1450 }, { 1451 width: 778, 1452 amount: 3 1453 }, { 1454 width: 640, 1455 amount: 2 1456 }, { 1457 width: 480, 1458 amount: 1 1459 }]; 1460 if (responsiveEntries != undefined && responsiveEntries.length > 0) 1461 jQuery.each(responsiveEntries, function(index, obj) { 1462 var curw = obj.width != undefined ? obj.width : 0, 1463 cura = obj.amount != undefined ? obj.amount : 0; 1464 if (smallest > curw) { 1465 smallest = curw; 1466 samount = cura; 1467 resultidb = index; 1468 } 1469 if (largest < curw) { 1470 largest = curw; 1471 lamount = cura; 1472 } 1473 if (curw > lastbottom && curw <= lasttop) { 1474 lastbottom = curw; 1475 lastamount = cura; 1476 resultid = index; 1477 } 1478 }) 1479 if (smallest > winw) { 1480 lastamount = samount; 1481 resultid = resultidb; 1482 } 1483 var obj = new Object; 1484 obj.index = resultid; 1485 obj.column = lastamount; 1486 if (resultoption == "id") 1487 return obj; 1488 else 1489 return lastamount; 1490} 1491if ("cobbles" == "even") { 1492 var coh = 0, 1493 container = jQuery("#esg-grid-6-1"); 1494 var cwidth = container.width(), 1495 ar = "1:1", 1496 gbfc = eggbfc(jQuery(window).width(), "id"), 1497 row = 9; 1498 ar = ar.split(":"); 1499 aratio = parseInt(ar[0], 0) / parseInt(ar[1], 0); 1500 coh = cwidth / aratio; 1501 coh = coh / gbfc.column * row; 1502 var ul = container.find("ul").first(); 1503 ul.css({ 1504 display: "block", 1505 height: coh + "px" 1506 }); 1507} 1508var essapi_6; 1509jQuery(document).ready(function() { 1510 essapi_6 = jQuery("#esg-grid-6-1").tpessential({ 1511 gridID: 6, 1512 layout: "cobbles", 1513 forceFullWidth: "off", 1514 lazyLoad: "off", 1515 row: 9, 1516 loadMoreAjaxToken: "8d6a7d5c1e", 1517 loadMoreAjaxUrl: "http://jacqueline.themerex.net/wp-admin/admin-ajax.php", 1518 loadMoreAjaxAction: "Essential_Grid_Front_request_ajax", 1519 ajaxContentTarget: "ess-grid-ajax-container-", 1520 ajaxScrollToOffset: "0", 1521 ajaxCloseButton: "off", 1522 ajaxContentSliding: "on", 1523 ajaxScrollToOnLoad: "on", 1524 ajaxNavButton: "off", 1525 ajaxCloseType: "type1", 1526 ajaxCloseInner: "false", 1527 ajaxCloseStyle: "light", 1528 ajaxClosePosition: "tr", 1529 space: 10, 1530 pageAnimation: "fade", 1531 paginationScrollToTop: "off", 1532 spinner: "spinner0", 1533 lightBoxMode: "single", 1534 animSpeed: 1000, 1535 delayBasic: 1, 1536 mainhoverdelay: 1, 1537 filterType: "single", 1538 showDropFilter: "hover", 1539 filterGroupClass: "esg-fgc-6", 1540 googleFonts: ['Open+Sans:300,400,600,700,800', 'Raleway:100,200,300,400,500,600,700,800,900', 'Droid+Serif:400,700'], 1541 aspectratio: "1:1", 1542 responsiveEntries: [{ 1543 width: 1400, 1544 amount: 3 1545 }, { 1546 width: 1170, 1547 amount: 3 1548 }, { 1549 width: 1024, 1550 amount: 3 1551 }, { 1552 width: 960, 1553 amount: 3 1554 }, { 1555 width: 778, 1556 amount: 3 1557 }, { 1558 width: 640, 1559 amount: 2 1560 }, { 1561 width: 480, 1562 amount: 1 1563 }] 1564 });
1565 1566 try { 1567 jQuery("#esg-grid-6-1 .esgbox").esgbox({ 1568 padding: [0, 0, 0, 0], 1569 afterLoad: function() { 1570 if (this.element.hasClass("esgboxhtml5")) { 1571 var mp = this.element.data("mp4"), 1572 ogv = this.element.data("ogv"), 1573 webm = this.element.data("webm"); 1574 this.content = '<div style="width:100%;height:100%;"><video autoplay="true" loop="" class="rowbgimage" poster="" width="100%" height="auto"><source src="' + mp + '" type="video/mp4"><source src="' + webm + '" type="video/webm"><source src="' + ogv + '" type="video/ogg"></video></div>'; 1575 var riint = setInterval(function() { 1576 jQuery(window).trigger("resize"); 1577 }, 100); 1578 setTimeout(function() { 1579 clearInterval(riint); 1580 }, 2500); 1581 }; 1582 }, 1583 beforeShow: function() { 1584 this.title = jQuery(this.element).attr('lgtitle'); 1585 if (this.title) { 1586 this.title = ""; 1587 this.title = '<div style="padding:0px 0px 0px 0px">' + this.title + '</div>'; 1588 } 1589 }, 1590 afterShow: function() {}, 1591 openEffect: 'fade', 1592 closeEffect: 'fade', 1593 nextEffect: 'fade', 1594 prevEffect: 'fade', 1595 openSpeed: 'normal', 1596 closeSpeed: 'normal', 1597 nextSpeed: 'normal', 1598 prevSpeed: 'normal', 1599 helpers: { 1600 media: {}, 1601 title: { 1602 type: "" 1603 } 1604 } 1605 }); 1606 1607 } catch (e) {} 1608 1609}); 1610 1611}; 1612 1613function itemsmenu(){ 1614 1615 if (JACQUELINE_STORAGE['menuitems'] === undefined) JACQUELINE_STORAGE['menuitems'] = []; 1616 JACQUELINE_STORAGE['menuitems']['sc_menuitems_874'] = '475,482,483,484,480,479,478,457'; 1617 1618 if (JACQUELINE_STORAGE['menuitems'] === undefined) JACQUELINE_STORAGE['menuitems'] = []; 1619 JACQUELINE_STORAGE['menuitems']['sc_menuitems_276809688'] = '482,484,457'; 1620 1621 if (JACQUELINE_STORAGE['menuitems'] === undefined) JACQUELINE_STORAGE['menuitems'] = []; 1622 JACQUELINE_STORAGE['menuitems']['sc_menuitems_1468493844'] = '475,483,478,457'; 1623 1624 if (JACQUELINE_STORAGE['menuitems'] === undefined) JACQUELINE_STORAGE['menuitems'] = []; 1625 JACQUELINE_STORAGE['menuitems']['sc_menuitems_1484465773'] = '475,483,480,479'; 1626 1627 if (JACQUELINE_STORAGE['menuitems'] === undefined) JACQUELINE_STORAGE['menuitems'] = []; 1628 JACQUELINE_STORAGE['menuitems']['sc_menuitems_683513523'] = '482,480,479,457'; 1629 1630};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.