function MarkerLabel_(e) { this.marker_ = e, this.labelDiv_ = document.createElement("div"), this.labelDiv_.style.cssText = "position: absolute; overflow: hidden;", this.eventDiv_ = document.createElement("div"), this.eventDiv_.style.cssText = this.labelDiv_.style.cssText } function MarkerWithLabel(e) { e = e || {}, e.labelContent = e.labelContent || "", e.labelAnchor = e.labelAnchor || new google.maps.Point(0, 0), e.labelClass = e.labelClass || "markerLabels", e.labelStyle = e.labelStyle || {}, e.labelInBackground = e.labelInBackground || !1, "undefined" == typeof e.labelVisible && (e.labelVisible = !0), this.label = new MarkerLabel_(this), google.maps.Marker.apply(this, arguments) } function popUpCenter(e, t, n, o) { wLeft = window.screenLeft ? window.screenLeft : window.screenX, wTop = window.screenTop ? window.screenTop : window.screenY; var i = wLeft + window.innerWidth / 2 - n / 2, r = wTop + window.innerHeight / 2 - o / 2; return window.open(e, t, "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=" + n + ", height=" + o + ", top=" + r + ", left=" + i + ", screenX=" + i + ", screenY=" + r) } function fb_share() { FB.ui({ method: "feed", name: "Kvíz: Svetové čistiace projekty spoločnosti Kärcher", link: link, image: "/images/social.jpg" }) } function fb_share_endGame() { FB.ui({ method: "feed", name: "Kvíz: Svetové čistiace projekty spoločnosti Kärcher", link: link, image: "/images/social.jpg", caption: "Kvíz: Svetové čistiace projekty spoločnosti Kärcher", description: "Dokážete prekonať môj bodový stav? Dosiahol som " + Game.score + ' bodov' }) } if (! function(e, t) { "object" == typeof module && "object" == typeof module.exports ? module.exports = e.document ? t(e, !0) : function(e) { if (!e.document) throw new Error("jQuery requires a window with a document"); return t(e) } : t(e) } ("undefined" != typeof window ? window : this, function(e, t) { function n(e) { var t = e.length, n = ie.type(e); return "function" === n || ie.isWindow(e) ? !1 : 1 === e.nodeType && t ? !0 : "array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e } function o(e, t, n) { if (ie.isFunction(t)) return ie.grep(e, function(e, o) { return !!t.call(e, o, e) !== n }); if (t.nodeType) return ie.grep(e, function(e) { return e === t !== n }); if ("string" == typeof t) { if (pe.test(t)) return ie.filter(t, e, n); t = ie.filter(t, e) } return ie.grep(e, function(e) { return ie.inArray(e, t) >= 0 !== n }) } function i(e, t) { do e = e[t]; while (e && 1 !== e.nodeType); return E } function r(e) { var t = we[e] = {}; return ie.each(e.match(be) || [], function(e, n) { t[n] = !0 }), t } function s() { fe.addEventListener ? (fe.removeEventListener("DOMContentLoaded", a, !1), e.removeEventListener("load", a, !1)) : (fe.detachEvent("onreadystatechange", a), e.detachEvent("onload", a)) } function a() { (fe.addEventListener || "load" === event.type || "complete" === fe.readyState) && (s(), ie.ready()) } function l(e, t, n) { if (void 0 === n && 1 === e.nodeType) { var o = "data-" + t.replace(_e, "-$1").toLowerCase(); if (n = e.getAttribute(o), "string" == typeof n) { try { n = "true" === n ? !0 : "false" === n ? !1 : "null" === n ? null : +n + "" === n ? +n : Te.test(n) ? ie.parseJSON(n) : n } catch (i) {} ie.data(e, t, n) } else n = void 0 } return n } function c(e) { var t; for (t in e) if (("data" !== t || !ie.isEmptyObject(e[t])) && "toJSON" !== t) return !1; return !0 } function u(e, t, n, o) { if (ie.acceptData(e)) { var i, r, s = ie.expando, a = e.nodeType, l = a ? ie.cache : e, c = a ? e[s] : e[s] && s; if (c && l[c] && (o || l[c].data) || void 0 !== n || "string" != typeof t) return c || (c = a ? e[s] = Y.pop() || ie.guid++ : s), l[c] || (l[c] = a ? {} : { toJSON: ie.noop }), ("object" == typeof t || "function" == typeof t) && (o ? l[c] = ie.extend(l[c], t) : l[c].data = ie.extend(l[c].data, t)), r = l[c], o || (r.data || (r.data = {}), r = r.data), void 0 !== n && (r[ie.camelCase(t)] = n), "string" == typeof t ? (i = r[t], null == i && (i = r[ie.camelCase(t)])) : i = r, i } } function d(e, t, n) { if (ie.acceptData(e)) { var o, i, r = e.nodeType, s = r ? ie.cache : e, a = r ? e[ie.expando] : ie.expando; if (s[a]) { if (t && (o = n ? s[a] : s[a].data)) { ie.isArray(t) ? t = t.concat(ie.map(t, ie.camelCase)) : t in o ? t = [t] : (t = ie.camelCase(t), t = t in o ? [t] : t.split(" ")), i = t.length; for (; i--;) delete o[t[i]]; if (n ? !c(o) : !ie.isEmptyObject(o)) return }(n || (delete s[a].data, c(s[a]))) && (r ? ie.cleanData([e], !0) : ne.deleteExpando || s != s.window ? delete s[a] : s[a] = null) } } } function p() { return !0 } function h() { return !1 } function f() { try { return fe.activeElement } catch (e) {} } function m(e) { var t = Pe.split("|"), n = e.createDocumentFragment(); if (n.createElement) for (; t.length;) n.createElement(t.pop()); return n } function g(e, t) { var n, o, i = 0, r = typeof e.getElementsByTagName !== Ce ? e.getElementsByTagName(t || "*") : typeof e.querySelectorAll !== Ce ? e.querySelectorAll(t || "*") : void 0; if (!r) for (r = [], n = e.childNodes || e; null != (o = n[i]); i++) !t || ie.nodeName(o, t) ? r.push(o) : ie.merge(r, g(o, t)); return void 0 === t || t && ie.nodeName(e, t) ? ie.merge([e], r) : r } function v(e) { $e.test(e.type) && (e.defaultChecked = e.checked) } function y(e, t) { return ie.nodeName(e, "table") && ie.nodeName(11 !== t.nodeType ? t : t.firstChild, "tr") ? e.getElementsByTagName("tbody")[0] || e.appendChild(e.ownerDocument.createElement("tbody")) : e } function b(e) { return e.type = (null !== ie.find.attr(e, "type")) + "/" + e.type, e } function w(e) { var t = Ke.exec(e.type); return t ? e.type = t[1] : e.removeAttribute("type"), e } function x(e, t) { for (var n, o = 0; null != (n = e[o]); o++) ie._data(n, "globalEval", !t || ie._data(t[o], "globalEval")) } function k(e, t) { if (1 === t.nodeType && ie.hasData(e)) { var n, o, i, r = ie._data(e), s = ie._data(t, r), a = r.events; if (a) { delete s.handle, s.events = {}; for (n in a) for (o = 0, i = a[n].length; i > o; o++) ie.event.add(t, n, a[n][o]) } s.data && (s.data = ie.extend({}, s.data)) } } function C(e, t) { var n, o, i; if (1 === t.nodeType) { if (n = t.nodeName.toLowerCase(), !ne.noCloneEvent && t[ie.expando]) { i = ie._data(t); for (o in i.events) ie.removeEvent(t, o, i.handle); t.removeAttribute(ie.expando) } "script" === n && t.text !== e.text ? (b(t).text = e.text, w(t)) : "object" === n ? (t.parentNode && (t.outerHTML = e.outerHTML), ne.html5Clone && e.innerHTML && !ie.trim(t.innerHTML) && (t.innerHTML = e.innerHTML)) : "input" === n && $e.test(e.type) ? (t.defaultChecked = t.checked = e.checked, t.value !== e.value && (t.value = e.value)) : "option" === n ? t.defaultSelected = t.selected = e.defaultSelected : ("input" === n || "textarea" === n) && (t.defaultValue = e.defaultValue) } } function T(t, n) { var o, i = ie(n.createElement(t)).appendTo(n.body), r = e.getDefaultComputedStyle && (o = e.getDefaultComputedStyle(i[0])) ? o.display : ie.css(i[0], "display"); return i.detach(), r } function _(e) { var t = fe, n = Ze[e]; return n || (n = T(e, t), "none" !== n && n || (Je = (Je || ie("