﻿(function($) { $.fn.newsrotator = function(options) { 
var newsContainer = this; 
var defaults = { fade: 1, timeout: 9000, xmlFile: '/news.xml' }; 
var opts = $.extend(defaults, options); 
properties.fadeSpeed = opts.fade; 
properties.timeout = opts.timeout; 
var html = "<div class='newsNav' id='newsNav'><span id='newsToggle'>Pause</span><span id='newsPrev'>&laquo;</span>"; 
$.get(opts.xmlFile, function(xml) { 
    $(xml).find('item').each(function(i, elem) { 
        var itm = $(elem); 
        var curItem = new newsItem(itm.attr('order'), itm.find('guid').text(), itm.find('title').text(), itm.find('url').text(), itm.find("date").text(), itm.find('img').text(), itm.find('summary').text()); 
        properties.newsList[i] = curItem; 
        html = html.concat("<a href=\"", curItem.url, "\" title=\"", curItem.title, "\" rev=\"", i + 1, "\">", i + 1, "</a>") 
    }); 
    
    if (properties.newsList.length < 2) { return } 
    html += "<span id='newsNext'>&raquo;</span></div>"; 
    $('.newsNav').replaceWith(html); 
    $("#newsToggle").click(function() { 
    var btn = $(this); 
    if (btn.text() == "Pause") { 
        clearTimeout(timer); 
        btn.text("Resume") } 
    else { 
        fadeNews(); 
        btn.text("Pause") } }); 
        $("#newsPrev").click(function() 
            { clearTimeout(timer); 
            properties.curNews -= 2; 
            if (properties.curNews < 0) properties.curNews = properties.newsList.length + properties.curNews; 
            properties.backFrame.className = "show"; 
            $(properties.backFrame).html(properties.newsList[properties.curNews].tohtml()); 
            properties.frontFrame.className = ""; 
            properties.frontFrame.removeAttribute('style'); 
            fadeNews() }); 
        $("#newsNext").click(function() { 
            clearTimeout(timer); 
            fadeNews() }); 
        $(".newsNav a").click(function(e) { 
                clearTimeout(timer); 
                var lnk = $(e.target); 
                properties.curNews = lnk.text() - 1; 
                properties.backFrame.className = "show"; 
                $(properties.backFrame).html(properties.newsList[properties.curNews].tohtml());
                
               // var testdiv = $("newsNav");
               //  $(properties.backFrame).html(html);  
  
 

                
                properties.frontFrame.className = ""; 
                properties.frontFrame.removeAttribute('style'); 
                fadeNews(); 
                return false 
         }); 
            if (newsContainer.length == 1) newsContainer.append(document.createElement('div')); 
            var divs = $('.newsFrame div'); 
            properties.frontFrame = divs[1]; 
            properties.backFrame = divs[0]; 
            $(".newsNav a[rev=1]").addClass("selected"); toggleNews() }) }; 
            var toggleNews = function() { 
                if (++properties.curNews >= properties.newsList.length) properties.curNews = 0; 
                var temp = properties.frontFrame; 
                properties.frontFrame = properties.backFrame; 
                properties.backFrame = temp; 
                properties.frontFrame.className = ""; 
                properties.frontFrame.removeAttribute('style'); 
                properties.backFrame.className = "show"; 
                $(properties.backFrame).html(properties.newsList[properties.curNews].tohtml()); 
              
                timer = setTimeout(fadeNews, properties.timeout) }; 
                var fadeNews = function() { 
                    $(properties.backFrame).fadeIn(properties.fadeSpeed, toggleNews); 
                    var curlnk = $(".newsNav a[rev=" + (properties.curNews + 1) + "]"); 
                    curlnk.addClass("selected"); 
                    curlnk.siblings().removeClass("selected") }; 
                    var properties = { newsList: [], curNews: 0, frontFrame: null, backFrame: null, fadeSpeed: 1, timeout: 1000 }; 
                    var timer = null; 
                    var newsItem = function(position, guid, title, url, date, img, summary) { 
                        this.position = position; 
                        this.guid = guid; 
                        this.title = title; 
                        this.url = url; 
                        this.date = date; 
                        this.img = img; 
                        this.summary = summary; 
                        this.tohtml = function ToHtml() { 
                            if (!this.html) {   
                              
                           
                                this.html = "<a class=\"sf_newsImage\" href=\"" + this.url + "\"><img src=\"" + this.img + "\" alt=\"" + this.title + "\" /></a>"; 
                                this.html += "<h3>" + this.title + "</h3>"; 
                                this.html += "<p><strong> " + this.date + "</strong><br />" + this.summary + "<br />" 
                                if(!this.url == ""){
                                    this.html += "<a href=\"" + this.url + "\">Read More &raquo;</a></p>";
                                }

                               
                            } 
                            return this.html 
                        } 
                     } })(jQuery); 
(function($) { $.fn.ajaxmenu = function(options) { var menu = $(this); var defaults = { menuFile: "", callback: null }; var opts = $.extend(defaults, options); if (!opts.menuFile) return; menu.fadeOut("fast", function() { menu.load(opts.menuFile, function() { menu.fadeIn("fast", opts.callback) }) }) } })(jQuery); (function($) { $.fn.superfish = function(d) { var e = $.fn.superfish, c = e.c, $arrow = $(['<span class="', c.arrowClass, '"> &#187;</span>'].join('')), over = function() { var a = $(this), menu = getMenu(a); clearTimeout(menu.sfTimer); a.showSuperfishUl().siblings().hideSuperfishUl() }, out = function() { var a = $(this), menu = getMenu(a), o = e.op; clearTimeout(menu.sfTimer); menu.sfTimer = setTimeout(function() { o.retainPath = ($.inArray(a[0], o.$path) > -1); a.hideSuperfishUl(); if (o.$path.length && a.parents(['li.', o.hoverClass].join('')).length < 1) { over.call(o.$path) } }, o.delay) }, getMenu = function(a) { var b = a.parents(['ul.', c.menuClass, ':first'].join(''))[0]; e.op = e.o[b.serial]; return b }, addArrow = function(a) { a.addClass(c.anchorClass).append($arrow.clone()) }; return this.each(function() { var s = this.serial = e.o.length; var o = $.extend({}, e.defaults, d); o.$path = $('li.' + o.pathClass, this).slice(0, o.pathLevels).each(function() { $(this).addClass([o.hoverClass, c.bcClass].join(' ')).filter('li:has(ul)').removeClass(o.pathClass) }); e.o[s] = e.op = o; $('li:has(ul)', this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over, out).each(function() { if (o.autoArrows) addArrow($('>a:first-child', this)) }).not('.' + c.bcClass).hideSuperfishUl(); var b = $('a', this); b.each(function(i) { var a = b.eq(i).parents('li'); b.eq(i).focus(function() { over.call(a) }).blur(function() { out.call(a) }) }); o.onInit.call(this) }).each(function() { var a = [c.menuClass]; if (e.op.dropShadows && !($.browser.msie && $.browser.version < 7)) a.push(c.shadowClass); $(this).addClass(a.join(' ')) }) }; var f = $.fn.superfish; f.o = []; f.op = {}; f.IE7fix = function() { var o = f.op; if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity != undefined) this.toggleClass(f.c.shadowClass + '-off') }; f.c = { bcClass: 'sf-breadcrumb', menuClass: 'sf-js-enabled', anchorClass: 'sf-with-ul', arrowClass: 'sf-sub-indicator', shadowClass: 'sf-shadow' }; f.defaults = { hoverClass: 'sfHover', pathClass: 'overideThisToUse', pathLevels: 1, delay: 800, animation: { opacity: 'show' }, speed: 'normal', autoArrows: true, dropShadows: true, disableHI: false, onInit: function() { }, onBeforeShow: function() { }, onShow: function() { }, onHide: function() { } }; $.fn.extend({ hideSuperfishUl: function() { var o = f.op, not = (o.retainPath === true) ? o.$path : ''; o.retainPath = false; var a = $(['li.', o.hoverClass].join(''), this).add(this).not(not).removeClass(o.hoverClass).find('>ul').hide().css('visibility', 'hidden'); o.onHide.call(a); return this }, showSuperfishUl: function() { var o = f.op, sh = f.c.shadowClass + '-off', $ul = this.addClass(o.hoverClass).find('>ul:hidden').css('visibility', 'visible'); f.IE7fix.call($ul); o.onBeforeShow.call($ul); $ul.animate(o.animation, o.speed, function() { f.IE7fix.call($ul); o.onShow.call($ul) }); return this } }) })(jQuery);
(function($) { $.fn.hoverIntent = function(f, g) { var cfg = { sensitivity: 7, interval: 100, timeout: 0 }; cfg = $.extend(cfg, g ? { over: f, out: g} : f); var cX, cY, pX, pY; var track = function(ev) { cX = ev.pageX; cY = ev.pageY }; var compare = function(ev, ob) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); if ((Math.abs(pX - cX) + Math.abs(pY - cY)) < cfg.sensitivity) { $(ob).unbind("mousemove", track); ob.hoverIntent_s = 1; return cfg.over.apply(ob, [ev]) } else { pX = cX; pY = cY; ob.hoverIntent_t = setTimeout(function() { compare(ev, ob) }, cfg.interval) } }; var delay = function(ev, ob) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); ob.hoverIntent_s = 0; return cfg.out.apply(ob, [ev]) }; var handleHover = function(e) { var p = (e.type == "mouseover" ? e.fromElement : e.toElement) || e.relatedTarget; while (p && p != this) { try { p = p.parentNode } catch (e) { p = this } } if (p == this) { return false } var ev = jQuery.extend({}, e); var ob = this; if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t) } if (e.type == "mouseover") { pX = ev.pageX; pY = ev.pageY; $(ob).bind("mousemove", track); if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout(function() { compare(ev, ob) }, cfg.interval) } } else { $(ob).unbind("mousemove", track); if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout(function() { delay(ev, ob) }, cfg.timeout) } } }; return this.mouseover(handleHover).mouseout(handleHover) } })(jQuery);
(function($) { $.fn.tabSlideOut = function(callerSettings) { var settings = $.extend({ tabHandle: '.handle', speed: 300, action: 'click', tabLocation: 'left', topPos: '200px', leftPos: '20px', fixedPosition: false, positioning: 'absolute', pathToTabImage: null, imageHeight: null, imageWidth: null, onLoadSlideOut: false }, callerSettings || {}); settings.tabHandle = $(settings.tabHandle); var obj = this; if (settings.fixedPosition === true) { settings.positioning = 'fixed' } else { settings.positioning = 'absolute' } if (document.all && !window.opera && !window.XMLHttpRequest) { settings.positioning = 'absolute' } if (settings.pathToTabImage != null) { settings.tabHandle.css({ 'background': 'url(' + settings.pathToTabImage + ') no-repeat', 'width': settings.imageWidth, 'height': settings.imageHeight }) } settings.tabHandle.css({ 'display': 'block', 'textIndent': '-99999px', 'outline': 'none', 'position': 'absolute' }); obj.css({ 'line-height': '1', 'position': settings.positioning }); var properties = { containerWidth: parseInt(obj.outerWidth(), 10) + 'px', containerHeight: parseInt(obj.outerHeight(), 10) + 'px', tabWidth: parseInt(settings.tabHandle.outerWidth(), 10) + 'px', tabHeight: parseInt(settings.tabHandle.outerHeight(), 10) + 'px' }; if (settings.tabLocation === 'top' || settings.tabLocation === 'bottom') { obj.css({ 'left': settings.leftPos }); settings.tabHandle.css({ 'right': 0 }) } if (settings.tabLocation === 'top') { obj.css({ 'top': '-' + properties.containerHeight }); settings.tabHandle.css({ 'bottom': '-' + properties.tabHeight }) } if (settings.tabLocation === 'bottom') { obj.css({ 'bottom': '-' + properties.containerHeight, 'position': 'fixed' }); settings.tabHandle.css({ 'top': '-' + properties.tabHeight }) } if (settings.tabLocation === 'left' || settings.tabLocation === 'right') { obj.css({ 'height': properties.containerHeight, 'top': settings.topPos }); settings.tabHandle.css({ 'top': 0 }) } if (settings.tabLocation === 'left') { obj.css({ 'left': '-' + properties.containerWidth }); settings.tabHandle.css({ 'right': '-' + properties.tabWidth }) } if (settings.tabLocation === 'right') { obj.css({ 'right': '-' + properties.containerWidth }); settings.tabHandle.css({ 'left': '-' + properties.tabWidth }); $('html').css('overflow-x', 'hidden') } settings.tabHandle.click(function(event) { event.preventDefault() }); var slideIn = function() { if (settings.tabLocation === 'top') { obj.animate({ top: '-' + properties.containerHeight }, settings.speed).removeClass('open') } else if (settings.tabLocation === 'left') { obj.animate({ left: '-' + properties.containerWidth }, settings.speed).removeClass('open') } else if (settings.tabLocation === 'right') { obj.animate({ right: '-' + properties.containerWidth }, settings.speed).removeClass('open') } else if (settings.tabLocation === 'bottom') { obj.animate({ bottom: '-' + properties.containerHeight }, settings.speed).removeClass('open') } }; var slideOut = function() { if (settings.tabLocation == 'top') { obj.animate({ top: '-3px' }, settings.speed).addClass('open') } else if (settings.tabLocation == 'left') { obj.animate({ left: '-3px' }, settings.speed).addClass('open') } else if (settings.tabLocation == 'right') { obj.animate({ right: '-3px' }, settings.speed).addClass('open') } else if (settings.tabLocation == 'bottom') { obj.animate({ bottom: '-3px' }, settings.speed).addClass('open') } }; var clickScreenToClose = function() { obj.click(function(event) { event.stopPropagation() }); $(document).click(function() { slideIn() }) }; var clickAction = function() { settings.tabHandle.click(function(event) { if (obj.hasClass('open')) { slideIn() } else { slideOut() } }); clickScreenToClose() }; var hoverAction = function() { obj.hover(function() { slideOut() }, function() { slideIn() }); settings.tabHandle.click(function(event) { if (obj.hasClass('open')) { slideIn() } }); clickScreenToClose() }; var slideOutOnLoad = function() { slideIn(); setTimeout(slideOut, 500) }; if (settings.action === 'click') { clickAction() } if (settings.action === 'hover') { hoverAction() } if (settings.onLoadSlideOut) { slideOutOnLoad() } } })(jQuery);
(function($) { var dropShadowZindex = 1; $.fn.dropShadow = function(options) { var opt = $.extend({ left: 4, top: 4, blur: 2, opacity: .5, color: "black", swap: false }, options); var jShadows = $([]); this.not(".dropShadow").each(function() { var jthis = $(this); var shadows = []; var blur = (opt.blur <= 0) ? 0 : opt.blur; var opacity = (blur == 0) ? opt.opacity : opt.opacity / (blur * 8); var zOriginal = (opt.swap) ? dropShadowZindex : dropShadowZindex + 1; var zShadow = (opt.swap) ? dropShadowZindex + 1 : dropShadowZindex; var shadowId; if (this.id) { shadowId = this.id + "_dropShadow" } else { shadowId = "ds" + (1 + Math.floor(9999 * Math.random())) } $.data(this, "shadowId", shadowId); $.data(this, "shadowOptions", options); jthis.attr("shadowId", shadowId).css("zIndex", zOriginal); if (jthis.css("position") != "absolute") { jthis.css({ position: "relative", zoom: 1 }) } bgColor = jthis.css("backgroundColor"); if (bgColor == "rgba(0, 0, 0, 0)") bgColor = "transparent"; if (bgColor != "transparent" || jthis.css("backgroundImage") != "none" || this.nodeName == "SELECT" || this.nodeName == "INPUT" || this.nodeName == "TEXTAREA") { shadows[0] = $("<div></div>").css("background", opt.color) } else { shadows[0] = jthis.clone().removeAttr("id").removeAttr("name").removeAttr("shadowId").css("color", opt.color) } shadows[0].addClass("dropShadow").css({ height: jthis.outerHeight(), left: blur, opacity: opacity, position: "absolute", top: blur, width: jthis.outerWidth(), zIndex: zShadow }); var layers = (8 * blur) + 1; for (i = 1; i < layers; i++) { shadows[i] = shadows[0].clone() } var i = 1; var j = blur; while (j > 0) { shadows[i].css({ left: j * 2, top: 0 }); shadows[i + 1].css({ left: j * 4, top: j * 2 }); shadows[i + 2].css({ left: j * 2, top: j * 4 }); shadows[i + 3].css({ left: 0, top: j * 2 }); shadows[i + 4].css({ left: j * 3, top: j }); shadows[i + 5].css({ left: j * 3, top: j * 3 }); shadows[i + 6].css({ left: j, top: j * 3 }); shadows[i + 7].css({ left: j, top: j }); i += 8; j-- } var divShadow = $("<div></div>").attr("id", shadowId).addClass("dropShadow").css({ left: jthis.position().left + opt.left - blur, marginTop: jthis.css("marginTop"), marginRight: jthis.css("marginRight"), marginBottom: jthis.css("marginBottom"), marginLeft: jthis.css("marginLeft"), position: "absolute", top: jthis.position().top + opt.top - blur, zIndex: zShadow }); for (i = 0; i < layers; i++) { divShadow.append(shadows[i]) } jthis.after(divShadow); jShadows = jShadows.add(divShadow); $(window).resize(function() { try { divShadow.css({ left: jthis.position().left + opt.left - blur, top: jthis.position().top + opt.top - blur }) } catch (e) { } }); dropShadowZindex += 2 }); return this.pushStack(jShadows) }; $.fn.redrawShadow = function() { this.removeShadow(); return this.each(function() { var shadowOptions = $.data(this, "shadowOptions"); $(this).dropShadow(shadowOptions) }) }; $.fn.removeShadow = function() { return this.each(function() { var shadowId = $(this).shadowId(); $("div#" + shadowId).remove() }) }; $.fn.shadowId = function() { return $.data(this[0], "shadowId") }; $(function() { var noPrint = "<style type='text/css' media='print'>"; noPrint += ".dropShadow{visibility:hidden;}</style>"; $("head").append(noPrint) }) })(jQuery);
eval(function(p, a, c, k, e, r) { e = function(c) { return (c < a ? '' : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) r[e(c)] = k[c] || e(c); k = [function(e) { return r[e] } ]; e = function() { return '\\w+' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p } ('(1t($){$.2L.2M=1t(Z){1t 2q(a,b,c){7 d=1w(a.1K(1,2),16);7 e=1w(a.1K(3,2),16);7 f=1w(a.1K(5,2),16);7 g=1w(b.1K(1,2),16);7 h=1w(b.1K(3,2),16);7 i=1w(b.1K(5,2),16);18(c>1||c<0)c=1;7 j=1b.2d((d*c)+(g*(1-c)));18(j>1X)j=1X;18(j<0)j=0;7 k=1b.2d((e*c)+(h*(1-c)));18(k>1X)k=1X;18(k<0)k=0;7 l=1b.2d((f*c)+(i*(1-c)));18(l>1X)l=1X;18(l<0)l=0;1o"#"+1Q(j)+1Q(k)+1Q(l)}1t 1Q(a){22=a/16;2e=a%16;22=22-(2e/16);2r=2f(22);2s=2f(2e);1o 2r+\'\'+2s}1t 2f(x){18((x>=0)&&(x<=9)){1o x}1h{1L(x){1e 10:1o"A";1e 11:1o"B";1e 12:1o"C";1e 13:1o"D";1e 14:1o"E";1e 15:1o"F"};1o"F"}}1t 23(x,y,r){7 a=0;7 b=24 25(1);7 c=24 25(1);7 d=0;7 e="";7 f=1b.1M((1b.1r(r,2)-1b.1r(x,2)));18((f>=y)&&(f<(y+1))){e="2N";b[d]=0;c[d]=f-y;d=d+1};7 f=1b.1M((1b.1r(r,2)-1b.1r(y+1,2)));18((f>=x)&&(f<(x+1))){e=e+"2O";b[d]=f-x;c[d]=1;d=d+1};7 f=1b.1M((1b.1r(r,2)-1b.1r(x+1,2)));18((f>=y)&&(f<(y+1))){e=e+"2P";b[d]=1;c[d]=f-y;d=d+1};7 f=1b.1M((1b.1r(r,2)-1b.1r(y,2)));18((f>=x)&&(f<(x+1))){e=e+"2Q";b[d]=f-x;c[d]=0};1L(e){1e"2R":a=1b.26(c[0],c[1])+((1b.1Y(c[0],c[1])-1b.26(c[0],c[1]))/2);1i;1e"2S":a=1-(((1-b[0])*(1-c[1]))/2);1i;1e"2T":a=1b.26(b[0],b[1])+((1b.1Y(b[0],b[1])-1b.26(b[0],b[1]))/2);1i;1e"2U":a=(c[0]*b[1])/2;1i;2V:a=1};1o a}1t 2g(a){2W{7 b=2h(a);7 c=1w(b[0]);7 d=1w(b[1]);7 f=1w(b[2]);7 g="#"+1Q(c)+1Q(d)+1Q(f)}2X(e){2Y("2Z 31 32 33 34 35 36 37 38 39 2i 1t 2g")};1o g}1t 2h(a){7 b=a.1R(4,a.27(")"));7 c=b.3a(", ");1o c}1t 2j(a){7 b="2t";18(a!=""&&a!="2t"){18(a.1K(0,3)=="3b"&&a.1K(0,4)!="2u"){b=2g(a)}1h 18(a.2v==4){b="#"+a.1R(1,2)+a.1R(1,2)+a.1R(2,3)+a.1R(2,3)+a.1R(3,4)+a.1R(3,4)}1h{b=a}};1o b};1t 1x(a){1o 1w(((a!="2k"&&a.27("%")==-1&&a!=""&&a.27("1a")!==-1)?a.3c(0,a.27("1a")):0))}1t 1N(a,b,c,d,e,f,g,h,i,j,k,l,m,n){7 o=$(a);7 p=1D.1E("1F");$(p).17({1f:f,1G:"1O",1d:"1y","1S-1T":"1O",1I:"1U"});7 q=1b.1Y(n.1m?n.1m.19:0,n.1p?n.1p.19:0);18(h==-1&&i!=""){18(q>0)$(p).17("1c-1d","-"+((m-j-l)+b)+"1a -"+((o.1f()+q-l)-c)+"1a");1h $(p).17("1c-1d","-"+((m-j-l)+b)+"1a -"+((o.1f())-c)+"1a");$(p).17({"1c-28":i,"1c-1s":o.17("1c-1s"),"1c-1V":d})}1h{18(!k)$(p).17("1c-1V",d).1P(\'29\');1h $(p).17("1c-1V",d)};18(e!=1n)2w(p,e);$(p).17({1z:c+"1a",1g:b+"1a"});1o p};1t 2w(a,b){b=(b==1n)?3d.3e:b;18($.2l.3f&&a.3g!="3h"){7 c=2h(a.1u.2m);7 d=1w(c[0]);7 e=1w(c[1]);7 f=1w(c[2]);a.1u.2m="2u("+d+", "+e+", "+f+", "+b/1n+")"}1h 18(1Z(a.1u.2n)!="2a"){a.1u.2n=b/1n}1h 18(1Z(a.1u.2x)!="2a"){a.1u.2x=b/1n}1h 18(1Z(a.1u.2y)!="2a"){a.1u.2y="3i(2n:"+b+")"}1h 18(1Z(a.1u.2z)!="2a"){a.1u.2z=b/1n}}1t 2A(a,b){7 c=$(a);7 d=c.17("3j");7 e=20;7 f=20;7 g=24 25();7 h=20;7 l=1x(c.17("1f"))?1x(c.17("1f")):a.3k;7 m=1x(c.17("1G"))?1x(c.17("1G")):a.3l;7 n=1x(c.17("2B"))?1x(c.17("2B")):0;7 o=1x(c.17("3m"));7 p=1x(c.17("3n"));7 q=1x(c.17("3o"));7 r=1x(c.17("3p"));7 s=2j(c.17("2m"));7 u=(d!="3q"&&d!="3r")?d:"";7 v=2j(c.17("3s"));7 w=n+"1a"+" 3t "+v;7 x=1b.1Y(b.1m?b.1m.19:0,b.1p?b.1p.19:0);7 y=1b.1Y(b.1k?b.1k.19:0,b.1v?b.1v.19:0);c.1P(\'2C\').17({"1J":"0","3u":a.1u.3v,\'1I\':\'2D\'});18(a.1u.1d!="1y")c.17("1d","2b");18(($.2l.3w)){18($.2l.3x==6&&a.1u.1G=="2k"&&a.1u.1f=="2k")c.17("1G","1n%");c.17("2E","1");$("*",c).17("2E","3y")}1W(7 t=0;t<2;t++){1L(t){1e 0:18(b.1m||b.1p){7 A=1D.1E("1F");e=a.1j(A);$(e).17({1G:"1n%","1S-1T":"1O",1I:"1U",1d:"1y","1J-1g":n,"1J-1q":n,1f:x+"1a",1z:0-x+"1a",1g:0-n+"1a"}).1P(\'3z\')};1i;1e 1:18(b.1k||b.1v){7 A=1D.1E("1F");f=a.1j(A);$(f).17({1G:"1n%","1S-1T":"1O",1I:"1U",1d:"1y","1J-1g":n,"1J-1q":n,1f:y,1A:0-y+"1a",1g:0-n+"1a"}).1P(\'3A\')};1i}};18(b.2F==21){7 B=1D.1E("1F");7 C=1D.1E("1F");7 D=1D.1E("1F");$(C).17({1B:"0","1J-1A":p,"1J-1z":o,"1J-1g":q,"1J-1q":r,\'1I\':\'2D\'}).1P(\'29 3B\');$(B).17({1d:"2b",\'3C\':"1g",1G:"1n%","1B-1z":"-"+1b.1C(x-n)+"1a","1B-1A":"-"+1b.1C(y-n)+"1a"}).1P="3D";$(D).17("3E","3F");C.1j(B);C.1j(D);c.3G(C)};18(e)c.17("1l-1z",0);18(f)c.17("1l-1A",0);7 E=["1p","1m","1v","1k"];1W(7 i 2i E){18(i>-1<4){7 F=E[i];18(!b[F]){18(((F=="1p"||F=="1m")&&e!=20)||((F=="1v"||F=="1k")&&f!=20)){7 G=1D.1E("1F");$(G).17({1d:"2b","1S-1T":"1O",1I:"1U"});18(u=="")$(G).17("1c-1V",s);1h $(G).17("1c-28",u).17("1c-1V",s);1L(F){1e"1m":$(G).17({1f:x-n,"1B-1q":b.1p.19-(n*2),"1l-1g":w,"1l-1z":w,1g:-n+"1a","1c-1s":c.17("1c-1s"),"1c-1d":n+"1a 1H"});1i;1e"1p":$(G).17({1f:x-n,"1B-1g":b.1m.19-(n*2),"1l-1q":w,"1l-1z":w,1g:n+"1a","1c-1s":c.17("1c-1s"),"1c-1d":"-"+(x+n)+"1a 1H"});1i;1e"1k":18(x>0)$(G).17({1f:y-n,"1B-1q":b.1v.19-(n*2),"1l-1g":w,"1l-1A":w,1g:-n+"1a","1c-1s":c.17("1c-1s"),"1c-1d":"1H -"+(c.1f()+x-n+1)+"1a"});1h $(G).17({1f:y-n,"1B-1q":b.1v.19-(n*2),"1l-1g":w,"1l-1A":w,1g:-n+"1a","1c-1s":c.17("1c-1s"),"1c-1d":"1H -"+(c.1f())+"1a"});1i;1e"1v":18(x>0)$(G).17({1f:y-n,"1B-1g":b.1k.19-(n*2),"1l-1q":w,"1l-1A":w,1g:n+"1a","1c-1s":c.17("1c-1s"),"1c-1d":"-"+b.1k.19+n+"1a -"+(c.1f()+x-n+1)+"1a"});1h $(G).17({1f:y-n,"1B-1g":b.1k.19-(n*2),"1l-1q":w,"1l-1A":w,1g:n+"1a","1c-1s":c.17("1c-1s"),"1c-1d":"-"+b.1k.19+n+"1a -"+(c.1f())+"1a"});1i}}}1h{18(g[b[F].19]){7 G=g[b[F].19].2G(21)}1h{7 G=1D.1E("3H");$(G).17({1f:b[F].19,1G:b[F].19,1d:"1y","1S-1T":"1O",1I:"1U"});7 H=1w(b[F].19-n);1W(7 I=0,j=b[F].19;I<j;I++){18((I+1)>=H)7 J=-1;1h 7 J=(1b.2H(1b.1M(1b.1r(H,2)-1b.1r((I+1),2)))-1);18(H!=j){18((I)>=H)7 K=-1;1h 7 K=1b.2I(1b.1M(1b.1r(H,2)-1b.1r(I,2)));18((I+1)>=j)7 L=-1;1h 7 L=(1b.2H(1b.1M(1b.1r(j,2)-1b.1r((I+1),2)))-1)};18((I)>=j)7 M=-1;1h 7 M=1b.2I(1b.1M(1b.1r(j,2)-1b.1r(I,2)));18(J>-1)G.1j(1N(a,I,0,s,1n,(J+1),G,-1,u,b[F].19,0,n,m,b));18(H!=j){1W(7 N=(J+1);N<K;N++){18(b.2c){18(u!=""){7 O=(23(I,N,H)*1n);18(O<30){G.1j(1N(a,I,N,v,1n,1,G,0,u,b[F].19,1,n,m,b))}1h{G.1j(1N(a,I,N,v,1n,1,G,-1,u,b[F].19,1,n,m,b))}}1h{7 P=2q(s,v,23(I,N,H));G.1j(1N(a,I,N,P,1n,1,G,0,u,b[F].19,F,1,n,m,b))}}};18(b.2c){18(L>=K){18(K==-1)K=0;G.1j(1N(a,I,K,v,1n,(L-K+1),G,0,u,0,1,n,m,b))}}1h{18(L>=J){G.1j(1N(a,I,(J+1),v,1n,(L-J),G,0,u,0,1,n,m,b))}};7 Q=v}1h{7 Q=s;7 L=J};18(b.2c){1W(7 N=(L+1);N<M;N++){G.1j(1N(a,I,N,Q,(23(I,N,j)*1n),1,G,((n>0)?0:-1),u,b[F].19,1,n,m,b))}}};g[b[F].19]=G.2G(21)};18(F!="1v"){1W(7 t=0,k=G.2J.2v;t<k;t++){7 R=G.2J[t];7 S=1x($(R).17("1z"));7 T=1x($(R).17("1g"));7 U=1x($(R).17("1f"));18(F=="1m"||F=="1k"){$(R).17("1g",b[F].19-T-1+"1a")};18(F=="1p"||F=="1m"){$(R).17("1z",b[F].19-U-S+"1a")};1L(F){1e"1p":$(R).17("1c-1d","-"+1b.1C((m-b[F].19+n)+T)+"1a -"+1b.1C(b[F].19-U-S-n)+"1a");1i;1e"1m":$(R).17("1c-1d","-"+1b.1C((b[F].19-T-1)-n)+"1a -"+1b.1C(b[F].19-U-S-n)+"1a");1i;1e"1k":18(x>0)$(R).17("1c-1d","-"+1b.1C((b[F].19-T-1)-n)+"1a -"+1b.1C((c.1f()+x-n+1))+"1a");1h $(R).17("1c-1d","-"+1b.1C((b[F].19-T-1)-n)+"1a -"+1b.1C((c.1f()))+"1a");1i}}}};18(G){1L(F){1e"1m":18($(G).17("1d")=="1y")$(G).17("1z","0");18($(G).17("1d")=="1y")$(G).17("1g","0");18(e)e.1j(G);1i;1e"1p":18($(G).17("1d")=="1y")$(G).17("1z","0");18($(G).17("1d")=="1y")$(G).17("1q","0");18(e)e.1j(G);1i;1e"1k":18($(G).17("1d")=="1y")$(G).17("1A","0");18(G.1u.1d=="1y")$(G).17("1g","0");18(f)f.1j(G);1i;1e"1v":18($(G).17("1d")=="1y")$(G).17("1A","0");18($(G).17("1d")=="1y")$(G).17("1q","0");18(f)f.1j(G);1i}}}};7 V=24 25();V["t"]=1b.1C(b.1m.19-b.1p.19);V["b"]=1b.1C(b.1k.19-b.1v.19);1W(z 2i V){18(z=="t"||z=="b"){18(V[z]){7 W=((b[z+"l"].19<b[z+"r"].19)?z+"l":z+"r");7 X=1D.1E("1F");$(X).17({1f:V[z],1G:b[W].19+"1a",1d:"1y","1S-1T":"1O",1I:"1U","1c-1V":s,"1c-28":u});1L(W){1e"1m":$(X).17({"1A":"0","1g":"0","1l-1g":w,"1c-1d":"1H -"+(b[W].19-n)});e.1j(X);1i;1e"1p":$(X).17({"1A":"0","1q":"0","1l-1q":w,"1c-1d":"1H -"+(b[W].19-n)+"1a"});e.1j(X);1i;1e"1k":$(X).17({"1z":"0","1g":"0","1l-1g":w,"1c-1d":"1H -"+(c.1f()+b[W].19-n)});f.1j(X);1i;1e"1v":$(X).17({"1z":"0","1q":"0","1l-1q":w,"1c-1d":"1H -"+(c.1f()+b[W].19-n)});f.1j(X);1i}};7 Y=1D.1E("1F");$(Y).17({1d:"2b","1S-1T":"1O",1I:"1U","1c-1V":s,"1c-28":u,"1c-1s":c.17("1c-1s")});1L(z){1e"t":18(e){18(b.1m.19&&b.1p.19){$(Y).17({1f:x-n+"1a","1B-1g":b.1m.19-n+"1a","1B-1q":b.1p.19-n+"1a","1l-1z":w}).1P(\'29\');18(u!="")$(Y).17("1c-1d","-"+(x+n)+"1a 1H");e.1j(Y)};c.17("1c-1d","1H -"+(x-n+1)+"1a")};1i;1e"b":18(f){18(b.1k.19&&b.1v.19){$(Y).17({1f:y-n+"1a","1B-1g":b.1k.19-n+"1a","1B-1q":b.1v.19-n+"1a","1l-1A":w});18(u!=""&&x>0)$(Y).17("1c-1d","-"+(b.1k.19-n)+"1a -"+(c.1f()+x-n+1)+"1a");1h $(Y).17("1c-1d","-"+(b.1k.19-n)+"1a -"+(c.1f())+"1a").1P(\'29\');f.1j(Y)}};1i}}};c.2K(e);c.2K(f)}7 2o={1m:{19:8},1p:{19:8},1k:{19:8},1v:{19:8},2c:21,2F:21,3I:["1F"]};18(Z&&1Z(Z)!=\'3J\')$.3K(2o,Z);1o 2p.3L(1t(){18(!$(2p).3M(\'.2C\')){2A(2p,2o)}})}})(3N);', 62, 236, '|||||||var||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||css|if|radius|px|Math|background|position|case|height|left|else|break|appendChild|bl|border|tl|100|return|tr|right|pow|repeat|function|style|br|parseInt|strip_px|absolute|top|bottom|margin|abs|document|createElement|div|width|0px|overflow|padding|substr|switch|sqrt|drawPixel|1px|addClass|IntToHex|substring|font|size|hidden|color|for|255|max|typeof|null|true|base|pixelFraction|new|Array|min|indexOf|image|hasBackgroundColor|undefined|relative|antiAlias|round|rem|MakeHex|rgb2Hex|rgb2Array|in|format_colour|auto|browser|backgroundColor|opacity|bb|this|BlendColour|baseS|remS|transparent|rgba|length|setOpacity|MozOpacity|filter|KHTMLOpacity|applyCorners|borderTopWidth|hasCorners|visible|zoom|autoPad|cloneNode|floor|ceil|childNodes|prepend|fn|corner|Left|Top|Right|Bottom|LeftRight|TopRight|TopBottom|LeftBottom|default|try|catch|alert|There||was|an|error|converting|the|RGB|value|to|Hexadecimal|split|rgb|slice|99|999|safari|tagName|IFRAME|alpha|backgroundImage|scrollHeight|scrollWidth|paddingTop|paddingBottom|paddingLeft|paddingRight|none|initial|borderTopColor|solid|borderColor|borderColour|msie|version|normal|topContainer|bottomContainer|content_container|float|autoPadDiv|clear|both|wrapInner|DIV|validTags|string|extend|each|is|jQuery'.split('|'), 0, {}))