/*
# This file is part of the Dumbword Framework
# Copyright (c) 2004-2011 Oleg Botvenko <oleg.bovenko@gmail.com> All rights reserved
# This file or any part of it can't be used any way
# without owner explicit permission

# Этот файл является частью программной платформы Dumbword
# (c) 2004-2011 Олег Ботвенко <oleg.bovenko@gmail.com> Все права защищены
# Этот файл или любая его часть не могут быть использованы
# никаким образом без явного разрешения правообладателя
*/
Event=(function(){var a=0;function c(f){f=f||window.event;if(f.isFixed){return f}f.isFixed=true;f.preventDefault=f.preventDefault||function(){this.returnValue=false};f.stopPropagation=f.stopPropagaton||function(){this.cancelBubble=true};if(!f.target){f.target=f.srcElement}if(!f.relatedTarget&&f.fromElement){f.relatedTarget=f.fromElement==f.target?f.toElement:f.fromElement}if(f.pageX==null&&f.clientX!=null){var e=document.documentElement,d=document.body;f.pageX=f.clientX+(e&&e.scrollLeft||d&&d.scrollLeft||0)-(e.clientLeft||0);f.pageY=f.clientY+(e&&e.scrollTop||d&&d.scrollTop||0)-(e.clientTop||0)}if(!f.which&&f.button){f.which=(f.button&1?1:(f.button&2?3:(f.button&4?2:0)))}return f}function b(i){i=c(i);var d=this.events[i.type];for(var h in d){var f=d[h];var e=f.call(this,i);if(e===false){i.preventDefault();i.stopPropagation()}}}return{add:function(f,e,d){if(f.setInterval&&(f!=window&&!f.frameElement)){f=window}if(!d.guid){d.guid=++a}if(!f.events){f.events={};f.handle=function(g){if(typeof Event!=="undefined"){return b.call(f,g)}}}if(!f.events[e]){f.events[e]={};if(f.addEventListener){f.addEventListener(e,f.handle,false)}else{if(f.attachEvent){f.attachEvent("on"+e,f.handle)}}}f.events[e][d.guid]=d},remove:function(h,g,f){var d=h.events&&h.events[g];if(!d){return}delete d[f.guid];for(var i in d){return}if(h.removeEventListener){h.removeEventListener(g,h.handle,false)}else{if(h.detachEvent){h.detachEvent("on"+g,h.handle)}}delete h.events[g];for(var i in h.events){return}try{delete h.handle;delete h.events}catch(j){h.removeAttribute("handle");h.removeAttribute("events")}},trigger:function(i,f){var d=i.events&&i.events[f];if(!d){return}for(var h in d){var e=d[h];e.call(i)}},docReady:function(d){if(!window.readyList){window.readyList=[]}if(!window.readyList.length){bindReady(function(){for(var e=0;e<window.readyList.length;e++){window.readyList[e]()}})}window.readyList.push(d)}}}());function bindReady(b){var c=false;function a(){if(c){return}c=true;b()}if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);a()},false)}else{if(document.attachEvent){if(document.documentElement.doScroll&&window==window.top){function d(){if(c){return}try{document.documentElement.doScroll("left");a()}catch(f){setTimeout(d,0)}}d()}document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);a()}})}}if(window.addEventListener){window.addEventListener("load",a,false)}else{if(window.attachEvent){window.attachEvent("onload",a)}}}function hasClass(b,a){return new RegExp("(^|\\s)"+a+"(\\s|$)").test(b.className)}function addClass(b,a){if(!hasClass(b,a)){b.className+=" "+a}}function removeClass(c,b){var a=RegExp("(^|\\s)"+b+"(\\s|$)");c.className=c.className.replace(a,("$1".length!=0&&"$2".length!=0)?" ":"")}function replaceClass(d,a,c){var b=RegExp("(^|\\s)("+a+")(\\s|$)");d.className=d.className.replace(b,"$1"+c+"$3")}function getCookie(e){function c(i){var h=document.cookie.indexOf(";",i);if(h==-1){h=document.cookie.length}return unescape(document.cookie.substring(i,h))}var b=e+"=";var g=b.length;var a=document.cookie.length;var f=0;while(f<a){var d=f+g;if(document.cookie.substring(f,d)==b){return c(d)}f=document.cookie.indexOf(" ",f)+1;if(f==0){break}}return null}function setCookie(b,d,a,f,c,e){document.cookie=b+"="+escape(d)+((a)?"; expires="+a.toGMTString():"")+((f)?"; path="+f:"")+((c)?"; domain="+c:"")+((e)?"; secure":"")}function unsetCookie(a,c,b){if(getCookie(a)){document.cookie=a+"="+((c)?"; path="+c:"")+((b)?"; domain="+b:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT"}}function playSound(c){var d=$("#notify_sound");var b=c+".swf";if($.browser.msie){var a='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="" height=""><param name="movie" value="'+b+'"><param name="quality" value="high"></object>';d.html(a)}else{var a='<object type="application/x-shockwave-flash" data="'+b+'" width="" height=""><embed src="'+b+'" width="1" height="1" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed></object>';d.html(a)}}String.prototype.trim=function(){var c=this.toString();var a=" \n\r\t\f\x0b\xa0\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u2028\u2029\u3000";for(var b=0;b<c.length;b++){if(a.indexOf(c.charAt(b))===-1){c=c.substring(b);break}}for(b=c.length-1;b>=0;b--){if(a.indexOf(c.charAt(b))===-1){c=c.substring(0,b+1);break}}return a.indexOf(c.charAt(0))===-1?c:""};(function(a){a.fn.mCustomScrollbar=function(m,j,r,l,o,f,i,q){var c=a(this).attr("id");var g=a("#"+c+" .customScrollBox");var h=a("#"+c+" .customScrollBox .container");var d=a("#"+c+" .customScrollBox .content");var b=a("#"+c+" .dragger_container");var p=a("#"+c+" .dragger");var e=a("#"+c+" .scrollUpBtn");var k=a("#"+c+" .scrollDownBtn");n();function n(){if(m=="horizontal"){var H=g.width();if(h.width()>H){p.css("display","block");b.css("display","block");k.css("display","inline-block");e.css("display","inline-block");var C=d.width();var M=p.width();var F=b.width();function A(){if(o=="auto"){var O=Math.round(C-((C-H)*1.3));if(O<=M){p.css("width",M+"px")}else{if(O>=F){p.css("width",F-10+"px")}else{p.css("width",O+"px")}}}}A();var x=0;var G=p.width();p.draggable({axis:"x",containment:"parent",drag:function(O,P){v()},stop:function(O,P){z()}});b.click(function(R){var Q=a(this);var O=(R.pageX-Q.offset().left);if(O<p.position().left||O>(p.position().left+p.width())){var P=O+p.width();if(P<b.width()){p.css("left",O);v()}else{p.css("left",b.width()-p.width());v()}}});a(function(O){if(f=="yes"){g.bind("mousewheel",function(Q,R){var P=Math.abs(R*10);p.css("left",p.position().left-(R*P));v();if(p.position().left<0){p.css("left",0);h.stop();v()}if(p.position().left>b.width()-p.width()){p.css("left",b.width()-p.width());h.stop();v()}return false})}});if(i=="yes"){k.mouseup(function(){J()}).mousedown(function(){s("down")});e.mouseup(function(){J()}).mousedown(function(){s("up")});k.click(function(O){O.preventDefault()});e.click(function(O){O.preventDefault()});btnsScrollTimerX=0;function s(P){if(P=="down"){var O=b.width()-p.width();var Q=Math.abs(p.position().left-O)*(100/q);p.stop().animate({left:O},Q,"linear")}else{var O=0;var Q=Math.abs(p.position().left-O)*(100/q);p.stop().animate({left:-O},Q,"linear")}clearInterval(btnsScrollTimerX);btnsScrollTimerX=setInterval(v,20)}function J(){clearInterval(btnsScrollTimerX);p.stop()}}var E=(C-H)/(F-G);function v(){var P=p.position().left;var O=-P*E;var Q=h.position().left-O;h.stop().animate({left:"-="+Q},j,r)}}else{p.css("left",0).css("display","none");h.css("left",0);b.css("display","none");k.css("display","none");e.css("display","none")}}else{var D=g.height();if(h.height()>D){p.css("display","block");b.css("display","block");k.css("display","inline-block");e.css("display","inline-block");var C=d.height();var L=p.height();var t=b.height();function B(){if(o=="auto"){var O=Math.round(C-((C-D)*1.3));if(O<=L){p.css("height",L+"px").css("line-height",L+"px")}else{if(O>=t){p.css("height",t-10+"px").css("line-height",t-10+"px")}else{p.css("height",O+"px").css("line-height",O+"px")}}}}B();var u=0;var y=p.height();p.draggable({axis:"y",containment:"parent",drag:function(O,P){N()},stop:function(O,P){z()}});b.click(function(R){var Q=a(this);var O=(R.pageY-Q.offset().top);if(O<p.position().top||O>(p.position().top+p.height())){var P=O+p.height();if(P<b.height()){p.css("top",O);N()}else{p.css("top",b.height()-p.height());N()}}});a(function(O){if(f=="yes"){g.bind("mousewheel",function(Q,R){var P=Math.abs(R*10);p.css("top",p.position().top-(R*P));N();if(p.position().top<0){p.css("top",0);h.stop();N()}if(p.position().top>b.height()-p.height()){p.css("top",b.height()-p.height());h.stop();N()}return false})}});if(i=="yes"){k.mouseup(function(){w()}).mousedown(function(){K("down")});e.mouseup(function(){w()}).mousedown(function(){K("up")});k.click(function(O){O.preventDefault()});e.click(function(O){O.preventDefault()});btnsScrollTimer=0;function K(P){if(P=="down"){var O=b.height()-p.height();var Q=Math.abs(p.position().top-O)*(100/q);p.stop().animate({top:O},Q,"linear")}else{var O=0;var Q=Math.abs(p.position().top-O)*(100/q);p.stop().animate({top:-O},Q,"linear")}clearInterval(btnsScrollTimer);btnsScrollTimer=setInterval(N,20)}function w(){clearInterval(btnsScrollTimer);p.stop()}}if(l<1){l=1}var E=(C-(D/l))/(t-y);function N(){var O=p.position().top;var Q=-O*E;var P=h.position().top-Q;h.stop().animate({top:"-="+P},j,r)}}else{p.css("top",0).css("display","none");h.css("top",0);b.css("display","none");k.css("display","none");e.css("display","none")}}p.mouseup(function(){z()}).mousedown(function(){I()});function I(){p.addClass("dragger_pressed")}function z(){p.removeClass("dragger_pressed")}}a(window).resize(function(){if(m=="horizontal"){if(p.position().left>b.width()-p.width()){p.css("left",b.width()-p.width())}}else{if(p.position().top>b.height()-p.height()){p.css("top",b.height()-p.height())}}if(f=="yes"){g.unbind("mousewheel")}n()})}})(jQuery);jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});/* Copyright (c) 2009 Brandon Aaron (http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
 *
 * Version: 3.0.2
 * 
 * Requires: 1.2.2+
 */
(function(c){var a=["DOMMouseScroll","mousewheel"];c.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var d=a.length;d;){this.addEventListener(a[--d],b,false)}}else{this.onmousewheel=b}},teardown:function(){if(this.removeEventListener){for(var d=a.length;d;){this.removeEventListener(a[--d],b,false)}}else{this.onmousewheel=null}}};c.fn.extend({mousewheel:function(d){return d?this.bind("mousewheel",d):this.trigger("mousewheel")},unmousewheel:function(d){return this.unbind("mousewheel",d)}});function b(f){var d=[].slice.call(arguments,1),g=0,e=true;f=c.event.fix(f||window.event);f.type="mousewheel";if(f.wheelDelta){g=f.wheelDelta/120}if(f.detail){g=-f.detail/3}d.unshift(f,g);return c.event.handle.apply(this,d)}})(jQuery);/*!
 * jQuery Form Plugin
 * version: 2.52 (07-DEC-2010)
 * @requires jQuery v1.3.2 or later
 *
 * Examples and documentation at: http://malsup.com/jquery/form/
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
(function($){$.fn.ajaxSubmit=function(options){if(!this.length){log("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof options=="function"){options={success:options}}var action=this.attr("action");var url=(typeof action==="string")?$.trim(action):"";if(url){url=(url.match(/^([^#]+)/)||[])[1]}url=url||window.location.href||"";options=$.extend(true,{url:url,type:this.attr("method")||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},options);var veto={};this.trigger("form-pre-serialize",[this,options,veto]);if(veto.veto){log("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(options.beforeSerialize&&options.beforeSerialize(this,options)===false){log("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var n,v,a=this.formToArray(options.semantic);if(options.data){options.extraData=options.data;for(n in options.data){if(options.data[n] instanceof Array){for(var k in options.data[n]){a.push({name:n,value:options.data[n][k]})}}else{v=options.data[n];v=$.isFunction(v)?v():v;a.push({name:n,value:v})}}}if(options.beforeSubmit&&options.beforeSubmit(a,this,options)===false){log("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[a,this,options,veto]);if(veto.veto){log("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var q=$.param(a);if(options.type.toUpperCase()=="GET"){options.url+=(options.url.indexOf("?")>=0?"&":"?")+q;options.data=null}else{options.data=q}var $form=this,callbacks=[];if(options.resetForm){callbacks.push(function(){$form.resetForm()})}if(options.clearForm){callbacks.push(function(){$form.clearForm()})}if(!options.dataType&&options.target){var oldSuccess=options.success||function(){};callbacks.push(function(data){var fn=options.replaceTarget?"replaceWith":"html";$(options.target)[fn](data).each(oldSuccess,arguments)})}else{if(options.success){callbacks.push(options.success)}}options.success=function(data,status,xhr){var context=options.context||options;for(var i=0,max=callbacks.length;i<max;i++){callbacks[i].apply(context,[data,status,xhr||$form,$form])}};var fileInputs=$("input:file",this).length>0;var mp="multipart/form-data";var multipart=($form.attr("enctype")==mp||$form.attr("encoding")==mp);if(options.iframe!==false&&(fileInputs||options.iframe||multipart)){if(options.closeKeepAlive){$.get(options.closeKeepAlive,fileUpload)}else{fileUpload()}}else{$.ajax(options)}this.trigger("form-submit-notify",[this,options]);return this;function fileUpload(){var form=$form[0];if($(":input[name=submit],:input[id=submit]",form).length){alert('Error: Form elements must not have name or id of "submit".');return}var s=$.extend(true,{},$.ajaxSettings,options);s.context=s.context||s;var id="jqFormIO"+(new Date().getTime()),fn="_"+id;window[fn]=function(){var f=$io.data("form-plugin-onload");if(f){f();window[fn]=undefined;try{delete window[fn]}catch(e){}}};var $io=$('<iframe id="'+id+'" name="'+id+'" src="'+s.iframeSrc+'" onload="window[\'_\'+this.id]()" />');var io=$io[0];$io.css({position:"absolute",top:"-1000px",left:"-1000px"});var xhr={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;$io.attr("src",s.iframeSrc)}};var g=s.global;if(g&&!$.active++){$.event.trigger("ajaxStart")}if(g){$.event.trigger("ajaxSend",[xhr,s])}if(s.beforeSend&&s.beforeSend.call(s.context,xhr,s)===false){if(s.global){$.active--}return}if(xhr.aborted){return}var cbInvoked=false;var timedOut=0;var sub=form.clk;if(sub){var n=sub.name;if(n&&!sub.disabled){s.extraData=s.extraData||{};s.extraData[n]=sub.value;if(sub.type=="image"){s.extraData[n+".x"]=form.clk_x;s.extraData[n+".y"]=form.clk_y}}}function doSubmit(){var t=$form.attr("target"),a=$form.attr("action");form.setAttribute("target",id);if(form.getAttribute("method")!="POST"){form.setAttribute("method","POST")}if(form.getAttribute("action")!=s.url){form.setAttribute("action",s.url)}if(!s.skipEncodingOverride){$form.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"})}if(s.timeout){setTimeout(function(){timedOut=true;cb()},s.timeout)}var extraInputs=[];try{if(s.extraData){for(var n in s.extraData){extraInputs.push($('<input type="hidden" name="'+n+'" value="'+s.extraData[n]+'" />').appendTo(form)[0])}}$io.appendTo("body");$io.data("form-plugin-onload",cb);form.submit()}finally{form.setAttribute("action",a);if(t){form.setAttribute("target",t)}else{$form.removeAttr("target")}$(extraInputs).remove()}}if(s.forceSync){doSubmit()}else{setTimeout(doSubmit,10)}var data,doc,domCheckCount=50;function cb(){if(cbInvoked){return}$io.removeData("form-plugin-onload");var ok=true;try{if(timedOut){throw"timeout"}doc=io.contentWindow?io.contentWindow.document:io.contentDocument?io.contentDocument:io.document;var isXml=s.dataType=="xml"||doc.XMLDocument||$.isXMLDoc(doc);log("isXml="+isXml);if(!isXml&&window.opera&&(doc.body==null||doc.body.innerHTML=="")){if(--domCheckCount){log("requeing onLoad callback, DOM not available");setTimeout(cb,250);return}}cbInvoked=true;xhr.responseText=doc.documentElement?doc.documentElement.innerHTML:null;xhr.responseXML=doc.XMLDocument?doc.XMLDocument:doc;xhr.getResponseHeader=function(header){var headers={"content-type":s.dataType};return headers[header]};var scr=/(json|script)/.test(s.dataType);if(scr||s.textarea){var ta=doc.getElementsByTagName("textarea")[0];if(ta){xhr.responseText=ta.value}else{if(scr){var pre=doc.getElementsByTagName("pre")[0];var b=doc.getElementsByTagName("body")[0];if(pre){xhr.responseText=pre.textContent}else{if(b){xhr.responseText=b.innerHTML}}}}}else{if(s.dataType=="xml"&&!xhr.responseXML&&xhr.responseText!=null){xhr.responseXML=toXml(xhr.responseText)}}data=$.httpData(xhr,s.dataType)}catch(e){log("error caught:",e);ok=false;xhr.error=e;$.handleError(s,xhr,"error",e)}if(xhr.aborted){log("upload aborted");ok=false}if(ok){s.success.call(s.context,data,"success",xhr);if(g){$.event.trigger("ajaxSuccess",[xhr,s])}}if(g){$.event.trigger("ajaxComplete",[xhr,s])}if(g&&!--$.active){$.event.trigger("ajaxStop")}if(s.complete){s.complete.call(s.context,xhr,ok?"success":"error")}setTimeout(function(){$io.removeData("form-plugin-onload");$io.remove();xhr.responseXML=null},100)}function toXml(s,doc){if(window.ActiveXObject){doc=new ActiveXObject("Microsoft.XMLDOM");doc.async="false";doc.loadXML(s)}else{doc=(new DOMParser()).parseFromString(s,"text/xml")}return(doc&&doc.documentElement&&doc.documentElement.tagName!="parsererror")?doc:null}}};$.fn.ajaxForm=function(options){if(this.length===0){var o={s:this.selector,c:this.context};if(!$.isReady&&o.s){log("DOM not ready, queuing ajaxForm");$(function(){$(o.s,o.c).ajaxForm(options)});return this}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this}return this.ajaxFormUnbind().bind("submit.form-plugin",function(e){if(!e.isDefaultPrevented()){e.preventDefault();$(this).ajaxSubmit(options)}}).bind("click.form-plugin",function(e){var target=e.target;var $el=$(target);if(!($el.is(":submit,input:image"))){var t=$el.closest(":submit");if(t.length==0){return}target=t[0]}var form=this;form.clk=target;if(target.type=="image"){if(e.offsetX!=undefined){form.clk_x=e.offsetX;form.clk_y=e.offsetY}else{if(typeof $.fn.offset=="function"){var offset=$el.offset();form.clk_x=e.pageX-offset.left;form.clk_y=e.pageY-offset.top}else{form.clk_x=e.pageX-target.offsetLeft;form.clk_y=e.pageY-target.offsetTop}}}setTimeout(function(){form.clk=form.clk_x=form.clk_y=null},100)})};$.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")};$.fn.formToArray=function(semantic){var a=[];if(this.length===0){return a}var form=this[0];var els=semantic?form.getElementsByTagName("*"):form.elements;if(!els){return a}var i,j,n,v,el,max,jmax;for(i=0,max=els.length;i<max;i++){el=els[i];n=el.name;if(!n){continue}if(semantic&&form.clk&&el.type=="image"){if(!el.disabled&&form.clk==el){a.push({name:n,value:$(el).val()});a.push({name:n+".x",value:form.clk_x},{name:n+".y",value:form.clk_y})}continue}v=$.fieldValue(el,true);if(v&&v.constructor==Array){for(j=0,jmax=v.length;j<jmax;j++){a.push({name:n,value:v[j]})}}else{if(v!==null&&typeof v!="undefined"){a.push({name:n,value:v})}}}if(!semantic&&form.clk){var $input=$(form.clk),input=$input[0];n=input.name;if(n&&!input.disabled&&input.type=="image"){a.push({name:n,value:$input.val()});a.push({name:n+".x",value:form.clk_x},{name:n+".y",value:form.clk_y})}}return a};$.fn.formSerialize=function(semantic){return $.param(this.formToArray(semantic))};$.fn.fieldSerialize=function(successful){var a=[];this.each(function(){var n=this.name;if(!n){return}var v=$.fieldValue(this,successful);if(v&&v.constructor==Array){for(var i=0,max=v.length;i<max;i++){a.push({name:n,value:v[i]})}}else{if(v!==null&&typeof v!="undefined"){a.push({name:this.name,value:v})}}});return $.param(a)};$.fn.fieldValue=function(successful){for(var val=[],i=0,max=this.length;i<max;i++){var el=this[i];var v=$.fieldValue(el,successful);if(v===null||typeof v=="undefined"||(v.constructor==Array&&!v.length)){continue}v.constructor==Array?$.merge(val,v):val.push(v)}return val};$.fieldValue=function(el,successful){var n=el.name,t=el.type,tag=el.tagName.toLowerCase();if(successful===undefined){successful=true}if(successful&&(!n||el.disabled||t=="reset"||t=="button"||(t=="checkbox"||t=="radio")&&!el.checked||(t=="submit"||t=="image")&&el.form&&el.form.clk!=el||tag=="select"&&el.selectedIndex==-1)){return null}if(tag=="select"){var index=el.selectedIndex;if(index<0){return null}var a=[],ops=el.options;var one=(t=="select-one");var max=(one?index+1:ops.length);for(var i=(one?index:0);i<max;i++){var op=ops[i];if(op.selected){var v=op.value;if(!v){v=(op.attributes&&op.attributes.value&&!(op.attributes.value.specified))?op.text:op.value}if(one){return v}a.push(v)}}return a}return $(el).val()};$.fn.clearForm=function(){return this.each(function(){$("input,select,textarea",this).clearFields()})};$.fn.clearFields=$.fn.clearInputs=function(){return this.each(function(){var t=this.type,tag=this.tagName.toLowerCase();if(t=="text"||t=="password"||tag=="textarea"){this.value=""}else{if(t=="checkbox"||t=="radio"){this.checked=false}else{if(tag=="select"){this.selectedIndex=-1}}}})};$.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset()}})};$.fn.enable=function(b){if(b===undefined){b=true}return this.each(function(){this.disabled=!b})};$.fn.selected=function(select){if(select===undefined){select=true}return this.each(function(){var t=this.type;if(t=="checkbox"||t=="radio"){this.checked=select}else{if(this.tagName.toLowerCase()=="option"){var $sel=$(this).parent("select");if(select&&$sel[0]&&$sel[0].type=="select-one"){$sel.find("option").selected(false)}this.selected=select}}})};function log(){if($.fn.ajaxSubmit.debug){var msg="[jquery.form] "+Array.prototype.join.call(arguments,"");if(window.console&&window.console.log){window.console.log(msg)}else{if(window.opera&&window.opera.postError){window.opera.postError(msg)}}}}})(jQuery);

(function($){$.jGrowl=function(m,o){if($('#jGrowl').size()==0)$('<div id="jGrowl"></div>').addClass($.jGrowl.defaults.position).appendTo('body');$('#jGrowl').jGrowl(m,o);};$.fn.jGrowl=function(m,o){if($.isFunction(this.each)){var args=arguments;return this.each(function(){var self=this;if($(this).data('jGrowl.instance')==undefined){$(this).data('jGrowl.instance',new $.fn.jGrowl());$(this).data('jGrowl.instance').startup(this);}
if($.isFunction($(this).data('jGrowl.instance')[m])){$(this).data('jGrowl.instance')[m].apply($(this).data('jGrowl.instance'),$.makeArray(args).slice(1));}else{$(this).data('jGrowl.instance').create(m,o);}});};};$.extend($.fn.jGrowl.prototype,{defaults:{pool:0,header:'',group:'',sticky:false,position:'top-right',glue:'after',theme:'default',corners:'10px',check:250,life:3000,speed:'normal',easing:'swing',closer:true,closeTemplate:'&times;',closerTemplate:'<div>[ close all ]</div>',log:function(e,m,o){},beforeOpen:function(e,m,o){},open:function(e,m,o){},beforeClose:function(e,m,o){},close:function(e,m,o){},animateOpen:{opacity:'show'},animateClose:{opacity:'hide'}},notifications:[],element:null,interval:null,create:function(message,o){var o=$.extend({},this.defaults,o);this.notifications[this.notifications.length]={message:message,options:o};o.log.apply(this.element,[this.element,message,o]);},render:function(notification){var self=this;var message=notification.message;var o=notification.options;var notification=$('<div class="jGrowl-notification'+((o.group!=undefined&&o.group!='')?' '+o.group:'')+'"><div class="close">'+o.closeTemplate+'</div><div class="header">'+o.header+'</div><div class="message">'+message+'</div></div>').data("jGrowl",o).addClass(o.theme).children('div.close').bind("click.jGrowl",function(){$(this).parent().trigger('jGrowl.close');}).parent();(o.glue=='after')?$('div.jGrowl-notification:last',this.element).after(notification):$('div.jGrowl-notification:first',this.element).before(notification);$(notification).bind("mouseover.jGrowl",function(){$(this).data("jGrowl").pause=true;}).bind("mouseout.jGrowl",function(){$(this).data("jGrowl").pause=false;}).bind('jGrowl.beforeOpen',function(){o.beforeOpen.apply(self.element,[self.element,message,o]);}).bind('jGrowl.open',function(){o.open.apply(self.element,[self.element,message,o]);}).bind('jGrowl.beforeClose',function(){o.beforeClose.apply(self.element,[self.element,message,o]);}).bind('jGrowl.close',function(){$(this).trigger('jGrowl.beforeClose').animate(o.animateClose,o.speed,o.easing,function(){$(this).remove();o.close.apply(self.element,[self.element,message,o]);});}).trigger('jGrowl.beforeOpen').animate(o.animateOpen,o.speed,o.easing,function(){$(this).data("jGrowl").created=new Date();}).trigger('jGrowl.open');if($.fn.corner!=undefined)$(notification).corner(o.corners);if($('div.jGrowl-notification:parent',this.element).size()>1&&$('div.jGrowl-closer',this.element).size()==0&&this.defaults.closer!=false){$(this.defaults.closerTemplate).addClass('jGrowl-closer').addClass(this.defaults.theme).appendTo(this.element).animate(this.defaults.animateOpen,this.defaults.speed,this.defaults.easing).bind("click.jGrowl",function(){$(this).siblings().children('div.close').trigger("click.jGrowl");if($.isFunction(self.defaults.closer))self.defaults.closer.apply($(this).parent()[0],[$(this).parent()[0]]);});};},update:function(){$(this.element).find('div.jGrowl-notification:parent').each(function(){if($(this).data("jGrowl")!=undefined&&$(this).data("jGrowl").created!=undefined&&($(this).data("jGrowl").created.getTime()+$(this).data("jGrowl").life)<(new Date()).getTime()&&$(this).data("jGrowl").sticky!=true&&($(this).data("jGrowl").pause==undefined||$(this).data("jGrowl").pause!=true)){$(this).trigger('jGrowl.close');}});if(this.notifications.length>0&&(this.defaults.pool==0||$(this.element).find('div.jGrowl-notification:parent').size()<this.defaults.pool)){this.render(this.notifications.shift());}
if($(this.element).find('div.jGrowl-notification:parent').size()<2){$(this.element).find('div.jGrowl-closer').animate(this.defaults.animateClose,this.defaults.speed,this.defaults.easing,function(){$(this).remove();});};},startup:function(e){this.element=$(e).addClass('jGrowl').append('<div class="jGrowl-notification"></div>');this.interval=setInterval(function(){jQuery(e).data('jGrowl.instance').update();},this.defaults.check);if($.browser.msie&&parseInt($.browser.version)<7&&!window["XMLHttpRequest"])$(this.element).addClass('ie6');},shutdown:function(){$(this.element).removeClass('jGrowl').find('div.jGrowl-notification').remove();clearInterval(this.interval);}});$.jGrowl.defaults=$.fn.jGrowl.prototype.defaults;})(jQuery);(function(b){var a=function(k,r){var h=b.extend({},b.fn.nivoSlider.defaults,r);var n={currentSlide:0,currentImage:"",totalSlides:0,randAnim:"",running:false,paused:false,stop:false};var e=b(k);e.data("nivo:vars",n);e.css("position","relative");e.addClass("nivoSlider");var f=e.children();f.each(function(){var u=b(this);var t="";if(!u.is("img")){if(u.is("a")){u.addClass("nivo-imageLink");t=u}u=u.find("img:first")}var s=u.width();if(s==0){s=u.attr("width")}var i=u.height();if(i==0){i=u.attr("height")}if(s>e.width()){e.width(s)}if(i>e.height()){e.height(i)}if(t!=""){t.css("display","none")}u.css("display","none");n.totalSlides++});if(h.startSlide>0){if(h.startSlide>=n.totalSlides){h.startSlide=n.totalSlides-1}n.currentSlide=h.startSlide}if(b(f[n.currentSlide]).is("img")){n.currentImage=b(f[n.currentSlide])}else{n.currentImage=b(f[n.currentSlide]).find("img:first")}if(b(f[n.currentSlide]).is("a")){b(f[n.currentSlide]).css("display","block")}e.css("background",'url("'+n.currentImage.attr("src")+'") no-repeat');for(var l=0;l<h.slices;l++){var p=Math.round(e.width()/h.slices);if(l==h.slices-1){e.append(b('<div class="nivo-slice"></div>').css({left:(p*l)+"px",width:(e.width()-(p*l))+"px"}))}else{e.append(b('<div class="nivo-slice"></div>').css({left:(p*l)+"px",width:p+"px"}))}}e.append(b('<div class="nivo-caption"><p></p></div>').css({display:"none",opacity:h.captionOpacity}));if(n.currentImage.attr("title")!=""){var o=n.currentImage.attr("title");if(o.substr(0,1)=="#"){o=b(o).html()}b(".nivo-caption p",e).html(o);b(".nivo-caption",e).fadeIn(h.animSpeed)}var d=0;if(!h.manualAdvance&&f.length>1){d=setInterval(function(){q(e,f,h,false)},h.pauseTime)}if(h.directionNav){e.append('<div class="nivo-directionNav"><a class="nivo-prevNav">Prev</a><a class="nivo-nextNav">Next</a></div>');if(h.directionNavHide){b(".nivo-directionNav",e).hide();e.hover(function(){b(".nivo-directionNav",e).show()},function(){b(".nivo-directionNav",e).hide()})}b("a.nivo-prevNav",e).live("click",function(){if(n.running){return false}clearInterval(d);d="";n.currentSlide-=2;q(e,f,h,"prev")});b("a.nivo-nextNav",e).live("click",function(){if(n.running){return false}clearInterval(d);d="";q(e,f,h,"next")})}if(h.controlNav){var m=b('<div class="nivo-controlNav"></div>');e.append(m);for(var l=0;l<f.length;l++){if(h.controlNavThumbs){var g=f.eq(l);if(!g.is("img")){g=g.find("img:first")}if(h.controlNavThumbsFromRel){m.append('<a class="nivo-control" rel="'+l+'"><img src="'+g.attr("rel")+'" alt="" /></a>')}else{m.append('<a class="nivo-control" rel="'+l+'"><img src="'+g.attr("src").replace(h.controlNavThumbsSearch,h.controlNavThumbsReplace)+'" alt="" /></a>')}}else{m.append('<a class="nivo-control" rel="'+l+'">'+(l+1)+"</a>")}}b(".nivo-controlNav a:eq("+n.currentSlide+")",e).addClass("active");b(".nivo-controlNav a",e).live("click",function(){if(n.running){return false}if(b(this).hasClass("active")){return false}clearInterval(d);d="";e.css("background",'url("'+n.currentImage.attr("src")+'") no-repeat');n.currentSlide=b(this).attr("rel")-1;q(e,f,h,"control")})}if(h.keyboardNav){b(window).keypress(function(i){if(i.keyCode=="37"){if(n.running){return false}clearInterval(d);d="";n.currentSlide-=2;q(e,f,h,"prev")}if(i.keyCode=="39"){if(n.running){return false}clearInterval(d);d="";q(e,f,h,"next")}})}if(h.pauseOnHover){e.hover(function(){n.paused=true;clearInterval(d);d=""},function(){n.paused=false;if(d==""&&!h.manualAdvance){d=setInterval(function(){q(e,f,h,false)},h.pauseTime)}})}e.bind("nivo:animFinished",function(){n.running=false;b(f).each(function(){if(b(this).is("a")){b(this).css("display","none")}});if(b(f[n.currentSlide]).is("a")){b(f[n.currentSlide]).css("display","block")}if(d==""&&!n.paused&&!h.manualAdvance){d=setInterval(function(){q(e,f,h,false)},h.pauseTime)}h.afterChange.call(this)});var c=function(u,t){var v=b(".nivo-slice",u);var s=0;v.each(function(){var w=b(this);var i=Math.round(u.width()/t.slices);if(s==t.slices-1){w.css("width",(u.width()-(i*s))+"px")}else{w.css("width",i+"px")}s++})};var q=function(s,t,w,z){var A=s.data("nivo:vars");if(A&&(A.currentSlide==A.totalSlides-1)){w.lastSlide.call(this)}if((!A||A.stop)&&!z){return false}w.beforeChange.call(this);if(!z){s.css("background",'url("'+A.currentImage.attr("src")+'") no-repeat')}else{if(z=="prev"){s.css("background",'url("'+A.currentImage.attr("src")+'") no-repeat')}if(z=="next"){s.css("background",'url("'+A.currentImage.attr("src")+'") no-repeat')}}A.currentSlide++;if(A.currentSlide==A.totalSlides){A.currentSlide=0;w.slideshowEnd.call(this)}if(A.currentSlide<0){A.currentSlide=(A.totalSlides-1)}if(b(t[A.currentSlide]).is("img")){A.currentImage=b(t[A.currentSlide])}else{A.currentImage=b(t[A.currentSlide]).find("img:first")}if(w.controlNav){b(".nivo-controlNav a",s).removeClass("active");b(".nivo-controlNav a:eq("+A.currentSlide+")",s).addClass("active")}if(A.currentImage.attr("title")!=""){var B=A.currentImage.attr("title");if(B.substr(0,1)=="#"){B=b(B).html()}if(b(".nivo-caption",s).css("display")=="block"){b(".nivo-caption p",s).fadeOut(w.animSpeed,function(){b(this).html(B);b(this).fadeIn(w.animSpeed)})}else{b(".nivo-caption p",s).html(B)}b(".nivo-caption",s).fadeIn(w.animSpeed)}else{b(".nivo-caption",s).fadeOut(w.animSpeed)}var y=0;b(".nivo-slice",s).each(function(){var i=Math.round(s.width()/w.slices);b(this).css({height:"0px",opacity:"0",background:'url("'+A.currentImage.attr("src")+'") no-repeat -'+((i+(y*i))-i)+"px 0%"});y++});if(w.effect=="random"){var C=new Array("sliceDownRight","sliceDownLeft","sliceUpRight","sliceUpLeft","sliceUpDown","sliceUpDownLeft","fold","fade","slideInRight","slideInLeft");A.randAnim=C[Math.floor(Math.random()*(C.length+1))];if(A.randAnim==undefined){A.randAnim="fade"}}if(w.effect.indexOf(",")!=-1){var C=w.effect.split(",");A.randAnim=C[Math.floor(Math.random()*(C.length))];if(A.randAnim==undefined){A.randAnim="fade"}}A.running=true;if(w.effect=="sliceDown"||w.effect=="sliceDownRight"||A.randAnim=="sliceDownRight"||w.effect=="sliceDownLeft"||A.randAnim=="sliceDownLeft"){var u=0;var y=0;c(s,w);var E=b(".nivo-slice",s);if(w.effect=="sliceDownLeft"||A.randAnim=="sliceDownLeft"){E=b(".nivo-slice",s)._reverse()}E.each(function(){var i=b(this);i.css({top:"0px"});if(y==w.slices-1){setTimeout(function(){i.animate({height:"100%",opacity:"1.0"},w.animSpeed,"",function(){s.trigger("nivo:animFinished")})},(100+u))}else{setTimeout(function(){i.animate({height:"100%",opacity:"1.0"},w.animSpeed)},(100+u))}u+=50;y++})}else{if(w.effect=="sliceUp"||w.effect=="sliceUpRight"||A.randAnim=="sliceUpRight"||w.effect=="sliceUpLeft"||A.randAnim=="sliceUpLeft"){var u=0;var y=0;c(s,w);var E=b(".nivo-slice",s);if(w.effect=="sliceUpLeft"||A.randAnim=="sliceUpLeft"){E=b(".nivo-slice",s)._reverse()}E.each(function(){var i=b(this);i.css({bottom:"0px"});if(y==w.slices-1){setTimeout(function(){i.animate({height:"100%",opacity:"1.0"},w.animSpeed,"",function(){s.trigger("nivo:animFinished")})},(100+u))}else{setTimeout(function(){i.animate({height:"100%",opacity:"1.0"},w.animSpeed)},(100+u))}u+=50;y++})}else{if(w.effect=="sliceUpDown"||w.effect=="sliceUpDownRight"||A.randAnim=="sliceUpDown"||w.effect=="sliceUpDownLeft"||A.randAnim=="sliceUpDownLeft"){var u=0;var y=0;var D=0;c(s,w);var E=b(".nivo-slice",s);if(w.effect=="sliceUpDownLeft"||A.randAnim=="sliceUpDownLeft"){E=b(".nivo-slice",s)._reverse()}E.each(function(){var i=b(this);if(y==0){i.css("top","0px");y++}else{i.css("bottom","0px");y=0}if(D==w.slices-1){setTimeout(function(){i.animate({height:"100%",opacity:"1.0"},w.animSpeed,"",function(){s.trigger("nivo:animFinished")})},(100+u))}else{setTimeout(function(){i.animate({height:"100%",opacity:"1.0"},w.animSpeed)},(100+u))}u+=50;D++})}else{if(w.effect=="fold"||A.randAnim=="fold"){var u=0;var y=0;c(s,w);b(".nivo-slice",s).each(function(){var i=b(this);var v=i.width();i.css({top:"0px",height:"100%",width:"0px"});if(y==w.slices-1){setTimeout(function(){i.animate({width:v,opacity:"1.0"},w.animSpeed,"",function(){s.trigger("nivo:animFinished")})},(100+u))}else{setTimeout(function(){i.animate({width:v,opacity:"1.0"},w.animSpeed)},(100+u))}u+=50;y++})}else{if(w.effect=="fade"||A.randAnim=="fade"){var x=b(".nivo-slice:first",s);x.css({height:"100%",width:s.width()+"px"});x.animate({opacity:"1.0"},(w.animSpeed*2),"",function(){s.trigger("nivo:animFinished")})}else{if(w.effect=="slideInRight"||A.randAnim=="slideInRight"){var x=b(".nivo-slice:first",s);x.css({height:"100%",width:"0px",opacity:"1"});x.animate({width:s.width()+"px"},(w.animSpeed*2),"",function(){s.trigger("nivo:animFinished")})}else{if(w.effect=="slideInLeft"||A.randAnim=="slideInLeft"){var x=b(".nivo-slice:first",s);x.css({height:"100%",width:"0px",opacity:"1",left:"",right:"0px"});x.animate({width:s.width()+"px"},(w.animSpeed*2),"",function(){x.css({left:"0px",right:""});s.trigger("nivo:animFinished")})}}}}}}}};var j=function(i){if(this.console&&typeof console.log!="undefined"){console.log(i)}};this.stop=function(){if(!b(k).data("nivo:vars").stop){b(k).data("nivo:vars").stop=true;j("Stop Slider")}};this.start=function(){if(b(k).data("nivo:vars").stop){b(k).data("nivo:vars").stop=false;j("Start Slider")}};h.afterLoad.call(this)};b.fn.nivoSlider=function(c){return this.each(function(){var d=b(this);if(d.data("nivoslider")){return}var e=new a(this,c);d.data("nivoslider",e)})};b.fn.nivoSlider.defaults={effect:"random",slices:15,animSpeed:500,pauseTime:3000,startSlide:0,directionNav:true,directionNavHide:true,controlNav:true,controlNavThumbs:false,controlNavThumbsFromRel:false,controlNavThumbsSearch:".jpg",controlNavThumbsReplace:"_thumb.jpg",keyboardNav:true,pauseOnHover:true,manualAdvance:false,captionOpacity:0.8,beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){},lastSlide:function(){},afterLoad:function(){}};b.fn._reverse=[].reverse})(jQuery);
