/* Okler Themes - Style Switcher - 2.9.0 - 2014-03-19 */ var styleSwitcher = { initialized: !1, options: { color: "#CCC", gradient: "true" }, initialize: function () { var a = this; this.initialized || (jQuery.styleSwitcherCachedScript = function (a, b) { return b = $.extend(b || {}, { dataType: "script", cache: !0, url: a }), jQuery.ajax(b) }, $("head").append($('').attr("href", "master/style-switcher/style-switcher.css")), $("head").append($('').attr("href", "master/less/skin.less")), $("head").append($('').attr("href", "master/style-switcher/colorpicker/css/colorpicker.css")), $.styleSwitcherCachedScript("master/style-switcher/colorpicker/js/colorpicker.js").done(function () { less = { env: "development" }, $.styleSwitcherCachedScript("master/less/less.js").done(function () { a.build(), a.events(), null != $.cookie("colorGradient") && (a.options.gradient = $.cookie("colorGradient")), null != $.cookie("skin") ? a.setColor($.cookie("skin")) : a.container.find("ul[data-type=colors] li:first a").click(), null != $.cookie("layout") && a.setLayoutStyle($.cookie("layout")), null != $.cookie("pattern") && a.setPattern($.cookie("pattern")), null == $.cookie("initialized") && (a.container.find("h4 a").click(), $.cookie("initialized", !0)), a.initialized = !0 }) }), $.styleSwitcherCachedScript("master/style-switcher/cssbeautify/cssbeautify.js").done(function () {})) }, build: function () { var a = this, b = $("
").attr("id", "styleSwitcher").addClass("style-switcher visible-lg").append($("

").html("Style Switcher").append($("").attr("href", "#").append($("").addClass("icon icon-cogs"))), $("
").addClass("style-switcher-mode").append($("
").addClass("options-links mode").append($("").attr("href", "#").attr("data-mode", "basic").addClass("active").html("Basic"), $("").attr("href", "#").attr("data-mode", "advanced").html("Advanced"))), $("
").addClass("style-switcher-wrap").append($("
").html("Colors"), $("