') .click(close); var imgContainer = $('.art-lightbox-wrapper'); if (imgContainer.length === 0) { imgContainer = $('
').css('line-height', $(window).height() + "px") .appendTo($("body")); } var img = $(''); img.appendTo(imgContainer); showArrows(); closeBtn.appendTo(imgContainer); showLoader(true); img.load(function () { showLoader(false); }); img.error(function () { showLoader(false); img.attr("src", $(src).attr("src")); }); bindMouse($(".art-lightbox-wrapper .arrow").add(img).add(imgContainer)); } function reload() { images = $(".art-lightbox"); } function move(index) { if (index < 0 || index >= images.length) { return; } showError(false); current = index; $(".art-lightbox-wrapper .art-lightbox-image:not(.active)").remove(); var active = $(".art-lightbox-wrapper .active"); var target = $(''); active.after(target); showArrows(); showLoader(true); bindMouse($(".art-lightbox-wrapper").add(target)); target.load(function () { showLoader(false); active.removeClass("active"); target.addClass("active"); }); target.error(function () { showLoader(false); active.removeClass("active"); target.addClass("active"); target.attr("src", $(images[current]).attr("src")); }); } function showArrows() { if ($(".art-lightbox-wrapper .arrow").length === 0) { $(".art-lightbox-wrapper").append($('
').css("top", $(window).height() / 2 - 40)); $(".art-lightbox-wrapper").append($('
').css("top", $(window).height() / 2 - 40)); } if (current === 0) { $(".art-lightbox-wrapper .arrow.left").addClass("disabled"); } else { $(".art-lightbox-wrapper .arrow.left").removeClass("disabled"); } if (current === images.length - 1) { $(".art-lightbox-wrapper .arrow.right").addClass("disabled"); } else { $(".art-lightbox-wrapper .arrow.right").removeClass("disabled"); } } function showError(enable) { if (enable) { $(".art-lightbox-wrapper").append($('') .css({ "top": $(window).height() / 2 - 60, "left": $(window).width() / 2 - 170 })); } else { $(".art-lightbox-wrapper .lightbox-error").remove(); } } function showLoader(enable) { if (!enable) { $(".art-lightbox-wrapper .loading").remove(); } else { $('
').css({ "top": $(window).height() / 2 - 16, "left": $(window).width() / 2 - 16 }).appendTo($(".art-lightbox-wrapper")); } } var close = function () { $(".art-lightbox-wrapper").remove(); }; function bindMouse(img) { img.unbind("wheel").mousewheel(function (event, delta) { delta = delta > 0 ? 1 : -1; move(current + delta); event.preventDefault(); }); img.mousedown(function (e) { // close on middle button click if (e.which === 2) { close(); } e.preventDefault(); }); } function getFullImgSrc(src) { var fileName = src.substring(0, src.lastIndexOf('.')); var ext = src.substring(src.lastIndexOf('.')); src = fileName + "-large" + ext; return src; } }); })(jQuery); jQuery(function () { 'use strict'; new ThemeLightbox().init(); }); (function($) { 'use strict'; // transition && transitionEnd && browser prefix $.support.transition = (function() { var thisBody = document.body || document.documentElement, thisStyle = thisBody.style, support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined; return support && { event: (function() { var e = "transitionend"; if ($.browser.opera) { var version = parseFloat($.browser.version); e = version >= 12 ? (version < 12.50 ? "otransitionend" : "transitionend") : "oTransitionEnd"; } else if ($.browser.webkit) { e = "webkitTransitionEnd"; } return e; })(), prefix: (function() { var result; $.each($.browser, function(key, value) { if (key === "version") { return true; } return (result = { opera: "-o-", mozilla: "-moz-", webkit: "-webkit-", msie: "-ms-" }[key]) ? false : true; }); return result || ""; })() }; })(); window.BackgroundHelper = function () { var slides = []; var direction = "next"; var motion = "horizontal"; var width = 0; var height = 0; var multiplier = 1; var transitionDuration = ""; this.init = function(motionType, dir, duration) { direction = dir; motion = motionType; slides = []; width = 0; height = 0; multiplier = 1; transitionDuration = duration; }; this.processSlide = function(element, modify) { this.updateSize(element, null); var pos = []; var bgPosition = element.css("background-position"); var positions = bgPosition.split(","); $.each(positions, function (i) { var position = $.trim(this); var point = position.split(" "); if (point.length > 1) { var x = parseInt(point[0], 10); var y = parseInt(point[1], 10); pos.push({ x: x, y: y }); } }); slides.push({ "images": element.css("background-image"), "sizes": element.css("background-size"), "positions": pos }); if (modify) element.css("background-image", "none"); }; this.updateSize = function (element, initialSize) { width = element.outerWidth(false); height = element.outerHeight(); if (initialSize && parseInt(initialSize.width, 10) !== 0) { multiplier = width / initialSize.width; if (motion === "fade") { $.each(element.children(), function (i) { $(this).css("background-position", getCssPositions(slides[i].positions, { x: 0, y: 0 })); }); } } }; this.setBackground = function(element, items) { var bg = []; var sizes = []; $.each(items, function (i, o) { bg.push(o.images); sizes.push(o.sizes); }); element.css({ "background-image": bg.join(", "), "background-size": sizes.join(", "), "background-repeat": "no-repeat" }); }; this.setPosition = function(element, items) { var pos = []; $.each(items, function(i, o) { pos.push(o.positions); }); element.css({ "background-position": pos.join(", ") }); }; this.current = function(index) { return slides[index] || null; }; this.next = function(index) { var next; if (direction === "next") { next = (index + 1) % slides.length; } else { next = index - 1; if (next < 0) { next = slides.length - 1; } } return slides[next]; }; this.items = function(prev, next, move) { var prevItem = { x: 0, y: 0 }; var nextItem = { x: 0, y: 0 }; var isDirectionNext = direction === "next"; if (motion === "horizontal") { nextItem.x = isDirectionNext ? width : -width; nextItem.y = 0; if (move) { prevItem.x += isDirectionNext ? -width : width; nextItem.x += isDirectionNext ? -width : width; } } else if (motion === "vertical") { nextItem.x = 0; nextItem.y = isDirectionNext ? height : -height; if (move) { prevItem.y += isDirectionNext ? -height : height; nextItem.y += isDirectionNext ? -height : height; } } var result = [ ]; if (!!prev) { result.push({ images: prev.images, positions: getCssPositions(prev.positions, prevItem), sizes: prev.sizes }); } if (!!next) { result.push({ images: next.images, positions: getCssPositions(next.positions, nextItem), sizes: next.sizes }); } if (direction === "next") { result.reverse(); } return result; }; this.transition = function(container, on) { container.css($.support.transition.prefix + "transition", on ? transitionDuration + " ease-in-out background-position" : ""); }; function getCssPositions(positions, offset) { var result = []; if (positions === undefined) { return ""; } offset.x = offset.x || 0; offset.y = offset.y || 0; for (var i = 0; i < positions.length; i++) { result.push((positions[i].x * multiplier + offset.x) + "px " + (positions[i].y * multiplier + offset.y) + "px"); } return result.join(", "); } }; var Slider = function (element, settings) { var interval = null; var active = false; var children = element.find(".active").parent().children(); var last = false; var running = false; this.settings = $.extend({ }, { "animation": "horizontal", "direction": "next", "speed": 600, "pause": 2500, "auto": true, "repeat": true, "navigator": null, "clickevents": true, "hover": true, "helper": null }, settings); this.move = function (direction, next) { var activeItem = element.find(".active"), nextItem = next || activeItem[direction](), innerDirection = this.settings.direction === "next" ? "forward" : "back", reset = direction === "next" ? "first" : "last", moving = interval, slider = this, tmp; active = true; if (moving) { this.stop(true); } if (!nextItem.length) { nextItem = element.find(".art-slide-item")[reset](); if (!this.settings.repeat) { last = true; active = false; return; } } if ($.support.transition) { nextItem.addClass(this.settings.direction); tmp = nextItem.get(0).offsetHeight; activeItem.addClass(innerDirection); nextItem.addClass(innerDirection); element.trigger("beforeSlide", children.length); element.one($.support.transition.event, function () { nextItem.removeClass(slider.settings.direction) .removeClass(innerDirection) .addClass("active"); activeItem.removeClass("active") .removeClass(innerDirection); active = false; setTimeout(function () { element.trigger("afterSlide", children.length); }, 0); }); } else { element.trigger("beforeSlide", children.length); activeItem.removeClass("active"); nextItem.addClass("active"); active = false; element.trigger("afterSlide", children.length); } this.navigate(nextItem); if (moving) { this.start(); } }; this.navigate = function (position) { var index = children.index(position); $(this.settings.navigator).children().removeClass("active").eq(index).addClass("active"); }; this.to = function (index) { var activeItem = element.find(".active"), children = activeItem.parent().children(), activeIndex = children.index(activeItem), slider = this; if (index > (children.length - 1) || index < 0) { return; } if (active) { return element.one("afterSlide", function () { slider.to(index); }); } if (activeIndex === index) { return; } this.move(index > activeIndex ? "next" : "prev", $(children[index])); }; this.next = function () { if (!active) { if (last) { this.stop(); return; } this.move("next"); } }; this.prev = function () { if (!active) { if (last) { this.stop(); return; } this.move("prev"); } }; this.start = function (force) { if (!!force) { setTimeout($.proxy(this.next, this), 10); } interval = setInterval($.proxy(this.next, this), this.settings.pause); running = true; }; this.stop = function (pause) { clearInterval(interval); interval = null; running = !!pause; active = false; }; this.active = function () { return running; }; this.moving = function () { return active; }; this.navigate(children.filter(".active")); if (this.settings.clickevents) { $(this.settings.navigator).on("click", "a", { slider: this }, function (event) { var activeIndex = children.index(children.filter(".active")); var index = $(this).parent().children().index($(this)); if (activeIndex !== index) { event.data.slider.to(index); } event.preventDefault(); }); } if (this.settings.hover) { var slider = this; element.add(this.settings.navigator) .add(element.siblings(".art-shapes")).hover(function () { if (element.is(":visible") && !last) { slider.stop(true); } }, function () { if (element.is(":visible") && !last) { slider.start(); } }); } }; $.fn.slider = function (arg) { return this.each(function () { var element = $(this), data = element.data("slider"), options = typeof arg === "object" && arg; if (!data) { data = new Slider(element, options); element.data("slider", data); } if (typeof arg === "string" && data[arg]) { data[arg](); } else if (data.settings.auto && element.is(":visible")) { data.start(); } }); }; })(jQuery); jQuery(window).bind("resize", (function ($) { /*global responsiveDesign */ "use strict"; return function () { if (typeof responsiveDesign !== "undefined" && responsiveDesign.isResponsive) { $("header.art-header .art-shapes").children().css("left", ""); return; } var sheetWidth = $(".art-sheet").width(); var sheetLeft = $(".art-sheet").offset().left; $("header.art-header .art-shapes>*, .Header>.art-textblock, header.art-header>.art-headline, header.art-header>.art-slogan").each(function () { var object = $(this); var objectLeft = sheetWidth * parseFloat(object.attr("data-left") || "0") / 100 + sheetLeft; object.css("left", objectLeft + "px"); }); }; })(jQuery)); jQuery(function ($) { "use strict"; $(window).trigger("resize"); }); jQuery(function ($) { "use strict"; if (!$.browser.msie || parseInt($.browser.version, 10) > 8) return; var path = ""; var scripts = $("script[src*='script.js']"); if (scripts.length > 0) { var src = scripts.last().attr('src'); path = src.substr(0, src.indexOf("script.js")); } processHeaderMultipleBg(path); }); var processHeaderMultipleBg = (function ($) { "use strict"; return (function (path) { var header = $(".art-header"); var bgimages = "".split(","); var bgpositions = "".split(","); for (var i = bgimages.length - 1; i >= 0; i--) { var bgimage = $.trim(bgimages[i]); if (bgimage === "") continue; if (path !== "") { bgimage = bgimage.replace(/(url\(['"]?)/i, "$1" + path); } header.append("
"); } header.css('background-image', "url('https://lh5.googleusercontent.com/-ZSYB92hwiKI/UhEfPBND8pI/AAAAAAAACDc/cyVN6VT9O5Q/s2048/header.png')".replace(/(url\(['"]?)/i, "$1" + path)); header.css('background-position', "center top"); }); })(jQuery); var artInsertSidebarBlocks = (function ($) { return function () { if ($("body#layout").length > 0) return true; $("div.widget").each(function (i, w) { if ($(this).parent('#header').length) { if (!$(this).hasClass('Header')) { $(this).addClass('art-header-widget'); } return true; } if ($(this).children('.art-no-change').length) return true; if (w.id == 'Navbar1') return true; if (w.id == 'Header1') return true; if (w.id == 'Blog1') return true; if (w.id == 'LinkList99') return true; if (w.id == 'LinkList98') return true; if (w.id == 'LinkList97') return true; if (w.id == 'PageList98') return true; if (w.id == 'PageList99') return true; if (w.id == 'Text99') return true; if (w.id == 'BlogArchive99') return true; var widget = $(w); if ((widget.hasClass('Gadget') || widget.hasClass('Followers')) && $.browser.opera) { return true; } var widgetTitle = $("h2", widget).text(); $("h2", widget).remove(); var widgetContent = widget.html(); if (widgetContent.indexOf('googlesyndication.com') > -1) return true; if (widgetContent.indexOf('statcounter.com/counter/counter_xhtml.js') > -1) return true; if (widgetContent.indexOf('bravenet.com/counter/code.php') > -1) return true; var startBlock = '
'; var startBlockHeader = '

'; var endBlockHeader = '

'; var startBlockContent = '
'; var endBlockContent = '
'; var endBlock = '
'; widgetContent = startBlockContent + widgetContent + endBlockContent; if (widgetTitle && true) { widgetContent = startBlockHeader + widgetTitle + endBlockHeader + widgetContent; } $(widget).html(startBlock + widgetContent + endBlock); if (widget.hasClass('Subscribe')) { widget.css({ 'position': 'relative', 'z-index': '2' }) } }); }; })(jQuery); jQuery(function () { artInsertSidebarBlocks(); }); var artCheckNavBar = (function ($) { return function () { if (!true) { $("#navbar").remove(); } }; })(jQuery); var artFixFooterMenu = (function ($) { return function () { if ($("#LinkList98").length) { var widgetText = $("#LinkList98").html(); $("#LinkList98").html("

" + widgetText.replace("| |", "") + "

"); } else { var el = $("#footersection div.widget-content"); if ($.trim(el.html()) == '') { $(".art-footer-default").show(); } } }; })(jQuery); var artFixPostHeaders = (function ($) { return function () { $("div.art-postmetadataheader").each(function (i) { if ($("div, h2", this).length == 0) $(this).css("display", "none"); }); }; })(jQuery); jQuery(function () { artFixPostHeaders(); }); var artHeaderWidget = (function ($) { return function () { if (showHeader == null || showHeader == false) { $("#Header1").css("display", "none"); } }; })(jQuery); jQuery(function () { artHeaderWidget(); }); var artVMenuWidget = (function ($) { return function () { if (showVMenu == null || showVMenu == false) { $("#LinkList97").css("display", "none"); $("#BlogArchive99").css("display", "none"); $("#PageList99").css("display", "none"); } }; })(jQuery); jQuery(function () { artVMenuWidget(); }); var artFixPostFooters = (function ($) { return function () { $("div.art-postmetadatafooter > div.art-postfootericons").each(function (i) { if ($("img, a", this).length == 0) $(this).parent("div.art-postmetadatafooter").css("display", "none"); }); }; })(jQuery); jQuery(function () { artFixPostFooters(); }); var showHomePage = false; var artFixTopCustomMenu = (function ($) { return function () { if ($("#LinkList99").length == 0) { var navSection = $("#crosscol"); if (navSection.length > 0) { if (showHomePage) { if (window.location == homePageLink) var tmpstr = ''; else var tmpstr = ''; navSection.html(''); } else { navSection.html(''); } } } $("#PageList98").hide(); }; })(jQuery); var artFixTopPagesMenu = (function ($) { return function () { $("#LinkList99").hide(); }; })(jQuery); var artDisplayTopMenu = (function ($) { return function (menuitems) { var subList1 = $(""); var subList2 = $(""); var subList3 = $(""); for (var i = 0; i < menuitems.length; i++) { var itemname = menuitems[i][0]; var itemlink = menuitems[i][1]; if (itemlink == "http://./") itemlink = "#"; if (itemname.charAt(0) != "-") { if (subList3.length != 0) { $("li:last", subList2).append(subList3); subList3 = $(""); } if (subList2.length != 0) { $("li:last", subList1).append(subList2); subList2 = $(""); } if (subList1.length != 0) { $("ul.art-hmenu li:last").append(subList1); subList1 = $(""); } if (window.location == itemlink) $("ul.art-hmenu").append('
  • ' + itemname + '
  • '); else $("ul.art-hmenu").append('
  • ' + itemname + '
  • '); } else { if (itemname.charAt(2) == "-") { if (subList3.length == 0) subList3 = $(""); subList3.append('
  • ' + itemname.substr(3, itemname.length) + '
  • '); } else if (itemname.charAt(1) == "-") { if (subList3.length != 0) { $("li:last", subList2).append(subList3); subList3 = $(""); } if (subList2.length == 0) subList2 = $(""); subList2.append('
  • ' + itemname.substr(2, itemname.length) + '
  • '); } else if (itemname.charAt(0) == "-") { if (subList3.length != 0) { $("li:last", subList2).append(subList3); subList3 = $(""); } if (subList2.length != 0) { $("li:last", subList1).append(subList2); subList2 = $(""); } if (subList1.length == 0) subList1 = $(""); subList1.append('
  • ' + itemname.substr(1, itemname.length) + '
  • '); } } } if (subList3.length != 0) { $("li:last", subList2).append(subList3); subList3 = $(""); } if (subList2.length != 0) { $("li:last", subList1).append(subList2); subList2 = $(""); } if (subList1.length != 0) { $("ul.art-hmenu li:last").append(subList1); subList1 = $(""); } }; })(jQuery); var artDisplayVMenu = (function ($) { return function (vmenuitems) { if ($("ul.art-vmenu").children().length > 0) return true; var subList1 = $(""); var subList2 = $(""); var subList3 = $(""); for (var i = 0; i < vmenuitems.length; i++) { var itemname = vmenuitems[i][0]; var itemlink = vmenuitems[i][1]; if (itemlink == "http://./") itemlink = "#"; if (itemname.charAt(0) != "-") { if (subList3.length != 0) { $("li:last", subList2).append(subList3); subList3 = $(""); } if (subList2.length != 0) { $("li:last", subList1).append(subList2); subList2 = $(""); } if (subList1.length != 0) { $("ul.art-vmenu li:last").append(subList1); subList1 = $(""); } if (window.location == itemlink) $("ul.art-vmenu").append('
  • ' + itemname + '
  • '); else $("ul.art-vmenu").append('
  • ' + itemname + '
  • '); } else { if (itemname.charAt(2) == "-") { if (subList3.length == 0) subList3 = $(""); if (window.location == itemlink) subList3.append('
  • ' + itemname.substr(3, itemname.length) + '
  • '); else subList3.append('
  • ' + itemname.substr(3, itemname.length) + '
  • '); } else if (itemname.charAt(1) == "-") { if (subList3.length != 0) { $("li:last", subList2).append(subList3); subList3 = $(""); } if (subList2.length == 0) subList2 = $(""); if (window.location == itemlink) subList2.append('
  • ' + itemname.substr(2, itemname.length) + '
  • '); else subList2.append('
  • ' + itemname.substr(2, itemname.length) + '
  • '); } else if (itemname.charAt(0) == "-") { if (subList3.length != 0) { $("li:last", subList2).append(subList3); subList3 = $(""); } if (subList2.length != 0) { $("li:last", subList1).append(subList2); subList2 = $(""); } if (subList1.length == 0) subList1 = $(""); if (window.location == itemlink) subList1.append('
  • ' + itemname.substr(1, itemname.length) + '
  • '); else subList1.append('
  • ' + itemname.substr(1, itemname.length) + '
  • '); } } } if (subList3.length != 0) { $("li:last", subList2).append(subList3); subList3 = $(""); } if (subList2.length != 0) { $("li:last", subList1).append(subList2); subList2 = $(""); } if (subList1.length != 0) { $("ul.art-vmenu li:last").append(subList1); subList1 = $(""); } if (!true) { $(".art-vmenublockheader").css("display", "none"); } var a = $("ul.art-vmenu a.active"); a.parents('ul.art-vmenu').find("ul, a").removeClass('active'); a.parent().children('ul').addClass('active'); a.parents('ul.art-vmenu ul').addClass('active'); a.parents('ul.art-vmenu li').children('a').addClass('active'); }; })(jQuery); var artFixVMenuArchive = (function ($) { return function () { if ($("#art-vmenu-archive").length > 0) { if (!true) { $(".art-vmenublockheader").css("display", "none"); } $("#art-vmenu-archive a").each(function (i) { if (this.href.replace('#', '') == window.location.href.replace('#', '')) { $(this).addClass("active"); } }); var a = $("#art-vmenu-archive a.active"); a.parents('#art-vmenu-archive').find("ul, a").removeClass('active'); a.parent().children('ul').addClass('active'); a.parents('#art-vmenu-archive ul').addClass('active'); a.parents('#art-vmenu-archive li').children('a').addClass('active'); } }; })(jQuery); jQuery(function ($) { $(".BlogList").each(function (i) { var bl_name = $(this).attr("id"); $("#" + bl_name + "_show-all").click(function () { $("#" + bl_name + "_blogs li").each(function (i) { if ($(this).css("display") == "none") { $(this).css("display", "block"); $(this).attr("class", bl_name + "_blogs_hidden"); $("#" + bl_name + "_show-all").css("display", "none"); $("#" + bl_name + "_show-n").css("display", "block"); } }); }); $("#" + bl_name + "_show-n").click(function () { $("li." + bl_name + "_blogs_hidden").each(function (i) { $(this).css("display", "none"); $(this).attr("class", ""); $("#" + bl_name + "_show-all").css("display", "block"); $("#" + bl_name + "_show-n").css("display", "none"); }); }); }); }); var artFixNavbarPadding = (function ($) { return function () { if ($("#navbar").length) { $("#art-main").css('margin-top', '30px'); if (!$.browser.opera) $("#navbar").css('margin-top', '-30px'); } }; })(jQuery); var artTransformSearchWidget = (function ($) { return function () { if (typeof (google) !== 'undefined' && google != null) { google.setOnLoadCallback(function () { $("form.gsc-search-box").addClass("art-search"); $("input.gsc-search-button").addClass("art-search-button").prependTo("form.gsc-search-box"); if ($("input.gsc-search-button").css("background-image") != "none") { $("input.gsc-search-button").attr("value", ""); } $("input.gsc-input").prependTo("form.gsc-search-box"); $("table.gsc-search-box").remove(); $("table.gsc-branding").insertAfter("form.gsc-search-box"); }); } }; })(jQuery); jQuery(function () { artTransformSearchWidget(); }); jQuery(function ($) { var header = $("header.art-header"); var offset = header.offset(); if (!offset) { return; } if ($("#navbar").length) { offset.top -= 30; } $("#art-header-bg").css({ "top": offset.top + "px" }); }); jQuery(function ($) { var menu = $(".art-nav:not(#art-hmenu-bg)"); var offset = menu.offset(); if (!offset) { return; } if ($("#navbar").length) { offset.top -= 30; } $("#art-hmenu-bg").css({ "height": menu.height() + "px", "top": offset.top + "px" }); }); //]]>
    יום שלישי, 15 באוקטובר 2013

      + expand all

      
             
    The human brain has the capacity to store everything that you experience.
      
      
             
    If your DNA was stretched out it would reach to the moon 6,000 times.
      
      
             
    The brain can stay alive for 4 to 6 minutes without oxygen. After that cells begin die.
      
      

      + expand all

      
             
    The human brain has the capacity to store everything that you experience.
      
      
             
    If your DNA was stretched out it would reach to the moon 6,000 times.
      
      
             
    The brain can stay alive for 4 to 6 minutes without oxygen. After that cells begin die.
      
      

    Dream Accordion

    The World's Best Accordion Slider

    Supports YouTube, Vimeo & HTML Content.

    Google maps

    Google Maps (try it!)

    YouTube Supported

    This is Youtube

    Click anywhere to view the video

    Vimeo Supported

    This is Vimeo

    Click to play

    100% Flexible

    Tons of customization options

    More Slides!

    Shows more slides gradually

    Links & more!

    Supports Real Links!

    Click me: Bing Search

    controls_prev
    controls_toggle
    controls_next
    a

    טופס יצירת קשר

    שם

    אימייל *

    הודעה *