﻿var mnogooDefaultLiteV1 = function (a, b) { function g() { a(".higlights").each(function (b, c) { c = a(c); var d = 30, e = c.attr("class").split(" "), f; if (e.length > 1) { f = e[1].split("-"); if (f.length == 2) { f = f[1]; if (parseInt(f)) d = f } } if (c.text().length > d) { var g = c.text().split(" "), h = ""; c.text(""); for (var i = 0; i < g.length; i++) { if (g[i]) { h += g[i] + " "; if (!g[i + 1] || (h + g[i + 1]).length > d) { c.html(c.html() + "<span>" + h + "</span>"); h = "" } } } } }) } function f() { a("#tabsMost").tabIt() } function e() { a("#galleryHolder").cycle({ fx: "scrollLeft", pager: "#galleryNavigation", timeout: 6e3, pagerAnchorBuilder: function (a, b) { return '<a href="#" class="gallery-dot"> </a>' } }) } function d() { var b = a("#smart-header").cycle({ fx: "fade", pager: "#navigation", slideExpr: "p", pause: true, timeout: 6e3 }); if (b.children().length == 3) { b.children().show(); a("#navigation").hide() } } var c = {}; a(function () { d(); e(); f(); g() }); return c } (jQuery)
