/* jQuery v1.5.2 [http://jquery.com/] */
(function(a,b){function ci(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cf(a){if(!b_[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";b_[a]=c}return b_[a]}function ce(a,b){var c={};d.each(cd.concat.apply([],cd.slice(0,b)),function(){c[this]=a});return c}function b$(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function bZ(){try{return new a.XMLHttpRequest}catch(b){}}function bY(){d(a).unload(function(){for(var a in bW)bW[a](0,1)})}function bS(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h==="string"&&(f[h.toLowerCase()]=a.converters[h]);l=k,k=e[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=f[m]||f["* "+k];if(!n){p=b;for(o in f){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=f[j[1]+" "+k];if(p){o=f[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&d.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bR(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bQ(a,b,c,e){if(d.isArray(b)&&b.length)d.each(b,function(b,f){c||bs.test(a)?e(a,f):bQ(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)});else if(c||b==null||typeof b!=="object")e(a,b);else if(d.isArray(b)||d.isEmptyObject(b))e(a,"");else for(var f in b)bQ(a+"["+f+"]",b[f],c,e)}function bP(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bJ,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bP(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bP(a,c,d,e,"*",g));return l}function bO(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bD),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bq(a,b,c){var e=b==="width"?bk:bl,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function bc(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function bb(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function ba(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function _(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function $(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Q(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});if(L.test(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function P(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function H(a,b){return(a&&a!=="*"?a+".":"")+b.replace(t,"`").replace(u,"&")}function G(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,p=[],q=[],s=d._data(this,"events");if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(r,"")===a.type?q.push(g.selector):t.splice(i--,1);f=d(a.target).closest(q,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&p.push({elem:h,handleObj:g,level:m.level})}}}for(j=0,k=p.length;j<k;j++){f=p[j];if(c&&f.level>c)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,o=f.handleObj.origHandler.apply(f.elem,arguments);if(o===!1||a.isPropagationStopped()){c=f.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function E(a,c,e){var f=d.extend({},e[0]);f.type=a,f.originalEvent={},f.liveFired=b,d.event.handle.call(c,f),f.isDefaultPrevented()&&e[0].preventDefault()}function y(){return!0}function x(){return!1}function i(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function h(a,c,e){if(e===b&&a.nodeType===1){e=a.getAttribute("data-"+c);if(typeof e==="string"){try{e=e==="true"?!0:e==="false"?!1:e==="null"?null:d.isNaN(e)?g.test(e)?d.parseJSON(e):e:parseFloat(e)}catch(f){}d.data(a,c,e)}else e=b}return e}var c=a.document,d=function(){function G(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(G,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a,b,g)},e=a.jQuery,f=a.$,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x,y,z=Object.prototype.toString,A=Object.prototype.hasOwnProperty,B=Array.prototype.push,C=Array.prototype.slice,D=String.prototype.trim,E=Array.prototype.indexOf,F={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery?(e||f).find(a):this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5.2",length:0,size:function(){return this.length},toArray:function(){return C.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var e=this.constructor();d.isArray(a)?B.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.selector=this.selector+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),x.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(C.apply(this,arguments),"slice",C.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:B,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){e=i[c],f=a[c];if(i===f)continue;l&&f&&(d.isPlainObject(f)||(g=d.isArray(f)))?(g?(g=!1,h=e&&d.isArray(e)?e:[]):h=e&&d.isPlainObject(e)?e:{},i[c]=d.extend(l,h,f)):f!==b&&(i[c]=f)}return i},d.extend({noConflict:function(b){a.$=f,b&&(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&&d.readyWait--;if(!d.readyWait||a!==!0&&!d.isReady){if(!c.body)return setTimeout(d.ready,1);d.isReady=!0;if(a!==!0&&--d.readyWait>0)return;x.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=d._Deferred();if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",y,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",y),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&G()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},type:function(a){return a==null?String(a):F[z.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!A.call(a,"constructor")&&!A.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||A.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.head||c.getElementsByTagName("head")[0]||c.documentElement,e=c.createElement("script");d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g<h;)if(c.apply(a[g++],e)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(var j=a[0];g<h&&c.call(j,g,j)!==!1;j=a[++g]){}return a},trim:D?function(a){return a==null?"":D.call(a)}:function(a){return a==null?"":(a+"").replace(j,"").replace(k,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?B.call(c,a):d.merge(c,a)}return c},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length==="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,b,c){var d=[],e;for(var f=0,g=a.length;f<g;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,e){arguments.length===2&&(typeof c==="string"?(e=a,a=e[c],c=b):c&&!d.isFunction(c)&&(e=c,c=b)),!c&&a&&(c=function(){return a.apply(e||this,arguments)}),a&&(c.guid=a.guid=a.guid||c.guid||d.guid++);return c},access:function(a,c,e,f,g,h){var i=a.length;if(typeof c==="object"){for(var j in c)d.access(a,j,c[j],f,g,e);return a}if(e!==b){f=!h&&f&&d.isFunction(e);for(var k=0;k<i;k++)g(a[k],c,f?e.call(a[k],k,g(a[k],c)):e,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){F["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),E&&(d.inArray=function(a,b){return E.call(b,a)}),i.test(" ")&&(j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?y=function(){c.removeEventListener("DOMContentLoaded",y,!1),d.ready()}:c.attachEvent&&(y=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",y),d.ready())});return d}(),e="then done fail isResolved isRejected promise".split(" "),f=[].slice;d.extend({_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=d.type(i),j==="array"?f.done.apply(f,i):j==="function"&&a.push(i);k&&f.resolveWith(k[0],k[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){f=f||[],c=1;try{while(a[0])a.shift().apply(d,f)}finally{b=[d,f],c=0}}return this},resolve:function(){f.resolveWith(this,arguments);return this},isResolved:function(){return c||b},cancel:function(){e=1,a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),f;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a){if(a==null){if(f)return f;f=a={}}var c=e.length;while(c--)a[e[c]]=b[e[c]];return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){function i(a){return function(c){b[a]=arguments.length>1?f.call(arguments,0):c,--g||h.resolveWith(h,f.call(b,0))}}var b=arguments,c=0,e=b.length,g=e,h=e<=1&&a&&d.isFunction(a.promise)?a:d.Deferred();if(e>1){for(;c<e;c++)b[c]&&d.isFunction(b[c].promise)?b[c].promise().then(i(c),h.reject):--g;g||h.resolveWith(h,b)}else h!==a&&h.resolveWith(h,e?[a]:[]);return h.promise()}}),function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=b.getElementsByTagName("input")[0];if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0,reliableMarginRight:!0},i.checked=!0,d.support.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,d.support.optDisabled=!h.disabled;var j=null;d.support.scriptEval=function(){if(j===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(j=!0,delete a[f]):j=!1,b.removeChild(e)}return j};try{delete b.test}catch(k){d.support.deleteExpando=!1}!b.addEventListener&&b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function l(){d.support.noCloneEvent=!1,b.detachEvent("onclick",l)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var m=c.createDocumentFragment();m.appendChild(b.firstChild),d.support.checkClone=m.cloneNode(!0).cloneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(a.style.width="1px",a.style.marginRight="0",d.support.reliableMarginRight=(parseInt(c.defaultView.getComputedStyle(a,null).marginRight,10)||0)===0),b.removeChild(a).style.display="none",a=e=null}});var n=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="function");return d};d.support.submitBubbles=n("submit"),d.support.changeBubbles=n("change"),b=e=f=null}}();var g=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!i(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={},j||(k[l].toJSON=d.noop));if(typeof c==="object"||typeof c==="function")f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c);i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,g=b.nodeType,h=g?d.cache:b,j=g?b[d.expando]:d.expando;if(!h[j])return;if(c){var k=e?h[j][f]:h[j];if(k){delete k[c];if(!i(k))return}}if(e){delete h[j][f];if(!i(h[j]))return}var l=h[j][f];d.support.deleteExpando||h!=a?delete h[j]:h[j]=null,l?(h[j]={},g||(h[j].toJSON=d.noop),h[j][f]=l):g&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var f=this[0].attributes,g;for(var i=0,j=f.length;i<j;i++)g=f[i].name,g.indexOf("data-")===0&&(g=g.substr(5),h(this[0],g,e[g]))}}return e}if(typeof a==="object")return this.each(function(){d.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(c===b){e=this.triggerHandler("getData"+k[1]+"!",[k[0]]),e===b&&this.length&&(e=d.data(this[0],a),e=h(this[0],a,e));return e===b&&k[1]?this.data(k[0]):e}return this.each(function(){var b=d(this),e=[k[0],c];b.triggerHandler("setData"+k[1]+"!",e),d.data(this,a,c),b.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}}),d.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var e=d._data(a,b);if(!c)return e||[];!e||d.isArray(c)?e=d._data(a,b,d.makeArray(c)):e.push(c);return e}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.shift();e==="inprogress"&&(e=c.shift()),e&&(b==="fx"&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)})),c.length||d.removeData(a,b+"queue",!0)}}),d.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===b)return d.queue(this[0],a);return this.each(function(b){var e=d.queue(this,a,c);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var j=/[\n\t\r]/g,k=/\s+/,l=/\r/g,m=/^(?:href|src|style)$/,n=/^(?:button|input)$/i,o=/^(?:button|input|object|select|textarea)$/i,p=/^a(?:rea)?$/i,q=/^(?:radio|checkbox)$/i;d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a,b){return this.each(function(){d.attr(this,a,""),this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.addClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"){var b=(a||"").split(k);for(var c=0,e=this.length;c<e;c++){var f=this[c];if(f.nodeType===1)if(f.className){var g=" "+f.className+" ",h=f.className;for(var i=0,j=b.length;i<j;i++)g.indexOf(" "+b[i]+" ")<0&&(h+=" "+b[i]);f.className=d.trim(h)}else f.className=a}}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.removeClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"||a===b){var c=(a||"").split(k);for(var e=0,f=this.length;e<f;e++){var g=this[e];if(g.nodeType===1&&g.className)if(a){var h=(" "+g.className+" ").replace(j," ");for(var i=0,l=c.length;i<l;i++)h=h.replace(" "+c[i]+" "," ");g.className=d.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(c){var e=d(this);e.toggleClass(a.call(this,c,e.attr("class"),b),b)});return this.each(function(){if(c==="string"){var f,g=0,h=d(this),i=b,j=a.split(k);while(f=j[g++])i=e?i:!h.hasClass(f),h[i?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean")this.className&&d._data(this,"__className__",this.className),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(j," ").indexOf(b)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,i=c.type==="select-one";if(f<0)return null;for(var j=i?f:0,k=i?f+1:h.length;j<k;j++){var m=h[j];if(m.selected&&(d.support.optDisabled?!m.disabled:m.getAttribute("disabled")===null)&&(!m.parentNode.disabled||!d.nodeName(m.parentNode,"optgroup"))){a=d(m).val();if(i)return a;g.push(a)}}if(i&&!g.length&&h.length)return d(h[f]).val();return g}if(q.test(c.type)&&!d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(l,"")}return b}var n=d.isFunction(a);return this.each(function(b){var c=d(this),e=a;if(this.nodeType===1){n&&(e=a.call(this,b,c.val())),e==null?e="":typeof e==="number"?e+="":d.isArray(e)&&(e=d.map(e,function(a){return a==null?"":a+""}));if(d.isArray(e)&&q.test(this.type))this.checked=d.inArray(c.val(),e)>=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=m.test(c);if(c==="selected"&&!d.support.optSelected){var j=a.parentNode;j&&(j.selectedIndex,j.parentNode&&j.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&n.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?a.nodeType===1&&a.removeAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var k=a.getAttributeNode("tabIndex");return k&&k.specified?k.value:o.test(a.nodeName)||p.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var l=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return l===null?b:l}h&&(a[c]=e);return a[c]}});var r=/\.(.*)$/,s=/^(?:textarea|input|select)$/i,t=/\./g,u=/ /g,v=/[^\w\s.|`]/g,w=function(a){return a.replace(v,"\\$&")};d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){try{d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a)}catch(h){}if(f===!1)f=x;else if(!f)return;var i,j;f.handler&&(i=f,f=i.handler),f.guid||(f.guid=d.guid++);var k=d._data(c);if(!k)return;var l=k.events,m=k.handle;l||(k.events=l={}),m||(k.handle=m=function(a){return typeof d!=="undefined"&&d.event.triggered!==a.type?d.event.handle.apply(m.elem,arguments):b}),m.elem=c,e=e.split(" ");var n,o=0,p;while(n=e[o++]){j=i?d.extend({},i):{handler:f,data:g},n.indexOf(".")>-1?(p=n.split("."),n=p.shift(),j.namespace=p.slice(0).sort().join(".")):(p=[],j.namespace=""),j.type=n,j.guid||(j.guid=f.guid);var q=l[n],r=d.event.special[n]||{};if(!q){q=l[n]=[];if(!r.setup||r.setup.call(c,g,p,m)===!1)c.addEventListener?c.addEventListener(n,m,!1):c.attachEvent&&c.attachEvent("on"+n,m)}r.add&&(r.add.call(c,j),j.handler.guid||(j.handler.guid=f.guid)),q.push(j),d.event.global[n]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=x);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in t)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+d.map(m.slice(0).sort(),w).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!e){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))d.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=d.event.special[h]||{};for(j=f||0;j<p.length;j++){q=p[j];if(e.guid===q.guid){if(l||n.test(q.namespace))f==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(f!=null)break}}if(p.length===0||f!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&d.removeEvent(a,h,s.handle),g=null,delete t[h]}if(d.isEmptyObject(t)){var u=s.handle;u&&(u.elem=null),delete s.events,delete s.handle,d.isEmptyObject(s)&&d.removeData(a,b,!0)}}},trigger:function(a,c,e){var f=a.type||a,g=arguments[3];if(!g){a=typeof a==="object"?a[d.expando]?a:d.extend(d.Event(f),a):d.Event(f),f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.events&&e.events[f]&&d.event.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=d._data(e,"handle");h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(r,""),n=d.nodeName(l,"a")&&m==="click",o=d.event.special[m]||{};if((!o._default||o._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=a.type,l[m]())}catch(p){}k&&(l["on"+m]=k),d.event.triggered=b}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.slice(0).sort(),h=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,"events"),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l<m;l++){var n=f[l];if(e||h.test(n.namespace)){c.handler=n.handler,c.data=n.data,c.handleObj=n;var o=n.handler.apply(this,k);o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[d.expando])return a;var e=a;a=d.Event(e);for(var f=this.props.length,g;f;)g=this.props[--f],a[g]=e[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=c.documentElement,i=c.body;a.pageX=a.clientX+(h&&h.scrollLeft||i&&i.scrollLeft||0)-(h&&h.clientLeft||i&&i.clientLeft||0),a.pageY=a.clientY+(h&&h.scrollTop||i&&i.scrollTop||0)-(h&&h.clientTop||i&&i.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,H(a.origType,a.selector),d.extend({},a,{handler:G,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,H(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},d.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?y:x):this.type=a,this.timeStamp=d.now(),this[d.expando]=!0},d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=y;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=y;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=y,this.stopPropagation()},isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x};var z=function(a){var b=a.relatedTarget;try{if(b&&b!==c&&!b.parentNode)return;while(b&&b!==this)b=b.parentNode;b!==this&&(a.type=a.data,d.event.handle.apply(this,arguments))}catch(e){}},A=function(a){a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?A:z,a)},teardown:function(a){d.event.remove(this,b,a&&a.selector?A:z)}}}),d.support.submitBubbles||(d.event.special.submit={setup:function(a,b){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")d.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&d(b).closest("form").length&&E("submit",this,arguments)}),d.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&d(b).closest("form").length&&a.keyCode===13&&E("submit",this,arguments)});else return!1},teardown:function(a){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var B,C=function(a){var b=a.type,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},D=function D(a){var c=a.target,e,f;if(s.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=C(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f)a.type="change",a.liveFired=b,d.event.trigger(a,arguments[1],c)}};d.event.special.change={filters:{focusout:D,beforedeactivate:D,click:function(a){var b=a.target,c=b.type;(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")&&D.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&D.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",C(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in B)d.event.add(this,c+".specialChange",B[c]);return s.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return s.test(this.nodeName)}},B=d.event.special.change.filters,B.focus=B.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function f(a){var c=d.event.fix(a);c.type=b,c.originalEvent={},d.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var e=0;d.event.special[b]={setup:function(){e++===0&&c.addEventListener(a,f,!0)},teardown:function(){--e===0&&c.removeEventListener(a,f,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i<j;i++)d.event.add(this[i],a,h,e);return this}}),d.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var e=0,f=this.length;e<f;e++)d.event.remove(this[e],a,b);else for(var c in a)this.unbind(c,a[c]);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var c=d.Event(a);c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result}},toggle:function(a){var b=arguments,c=1;while(c<b.length)d.proxy(a,b[c++]);return this.click(d.proxy(a,function(e){var f=(d._data(this,"lastToggle"+a.guid)||0)%c;d._data(this,"lastToggle"+a.guid,f+1),e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var F={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,c){d.fn[c]=function(a,e,f,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:d(this.context);if(typeof a==="object"&&!a.preventDefault){for(var o in a)n[c](o,e,a[o],m);return this}d.isFunction(e)&&(f=e,e=b),a=(a||"").split(" ");while((h=a[i++])!=null){j=r.exec(h),k="",j&&(k=j[0],h=h.replace(r,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,h==="focus"||h==="blur"?(a.push(F[h]+k),h=h+k):h=(F[h]||h)+k;if(c==="live")for(var p=0,q=n.length;p<q;p++)d.event.add(n[p],"live."+H(h,m),{data:e,selector:m,handler:f,origType:h,origHandler:f,preType:l});else n.unbind("live."+H(h,m),f)}return this}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){d.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!=="string"){if(i===b){j=!0;break}}else if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(f.call(n)==="[object Array]")if(u)if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&e.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&e.push(j[t]);else e.push.apply(e,n);else p(n,e);o&&(k(o,h,e,g),k.uniqueSort(e));return e};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},k.matches=function(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(f){if(f===!0)continue}else g=o=!0}if(f)for(var s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.replace(l.match[n],"");if(!g)return[];break}}if(a===h)if(g==null)k.error(a);else break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!j.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return"text"===c&&(b===c||b===null)},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType===1)return!1;return!0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(a===b){g=!0;return 0}if(h===i)return s(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return s(e[k],f[k]);return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)k(a,f[g],d);return k.filter(e,d)};d.find=k,d.expr=k.selectors,d.expr[":"]=d.expr.filters,d.unique=k.uniqueSort,d.text=k.getText,d.isXMLDoc=k.isXML,d.contains=k.contains}();var I=/Until$/,J=/^(?:parents|prevUntil|prevAll)/,K=/,/,L=/^.[^:#\[\.,]*$/,M=Array.prototype.slice,N=d.expr.match.POS,O={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this.pushStack("","find",a),c=0;for(var e=0,f=this.length;e<f;e++){c=b.length,d.find(a,this[e],b);if(e>0)for(var g=c;g<b.length;g++)for(var h=0;h<c;h++)if(b[h]===b[g]){b.splice(g--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(Q(this,a,!1),"not",a)},filter:function(a){return this.pushStack(Q(this,a,!0),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++)i=a[e],j[i]||(j[i]=d.expr.match.POS.test(i)?d(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.index(g)>-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=N.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e<f;e++){g=this[e];while(g){if(l?l.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(P(c[0])||P(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=M.call(arguments);I.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!O[a]?d.unique(f):f,(this.length>1||K.test(e))&&J.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e)))g.nodeType===1&&f.push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var R=/ jQuery\d+="(?:\d+|null)"/g,S=/^\s+/,T=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,U=/<([\w:]+)/,V=/<tbody/i,W=/<|&#?\w+;/,X=/<(?:script|object|embed|option|style)/i,Y=/checked\s*(?:[^=]|=\s*.checked.)/i,Z={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};Z.optgroup=Z.option,Z.tbody=Z.tfoot=Z.colgroup=Z.caption=Z.thead,Z.th=Z.td,d.support.htmlSerialize||(Z._default=[1,"div<div>","</div>"]),d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(R,""):null;if(typeof a!=="string"||X.test(a)||!d.support.leadingWhitespace&&S.test(a)||Z[(U.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(T,"<$1></$2>");try{for(var c=0,e=this.length;c<e;c++)this[c].nodeType===1&&(d.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove(),b?d(b).before(a):d(c).append(a)})}return this.length?this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,e){var f,g,h,i,j=a[0],k=[];if(!d.support.checkClone&&arguments.length===3&&typeof j==="string"&&Y.test(j))return this.each(function(){d(this).domManip(a,c,e,!0)});if(d.isFunction(j))return this.each(function(f){var g=d(this);a[0]=j.call(this,f,c?g.html():b),g.domManip(a,c,e)});if(this[0]){i=j&&j.parentNode,d.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?f={fragment:i}:f=d.buildFragment(a,this,k),h=f.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&d.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)e.call(c?$(this[l],g):this[l],f.cacheable||m>1&&l<n?d.clone(h,!0,!0):h)}k.length&&d.each(k,bc)}return this}}),d.buildFragment=function(a,b,e){var f,g,h,i=b&&b[0]?b[0].ownerDocument||b[0]:c;a.length===1&&typeof a[0]==="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!X.test(a[0])&&(d.support.checkClone||!Y.test(a[0]))&&(g=!0,h=d.fragments[a[0]],h&&(h!==1&&(f=h))),f||(f=i.createDocumentFragment(),d.clean(a,i,f,e)),g&&(d.fragments[a[0]]=h?f:1);return{fragment:f,cacheable:g}},d.fragments={},d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],f=d(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&f.length===1){f[b](this[0]);return this}for(var h=0,i=f.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){ba(a,e),f=bb(a),g=bb(e);for(h=0;f[h];++h)ba(f[h],g[h])}if(b){_(a,e);if(c){f=bb(a),g=bb(e);for(h=0;f[h];++h)_(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||c,typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||W.test(i)){if(typeof i==="string"){i=i.replace(T,"<$1></$2>");var j=(U.exec(i)||["",""])[1].toLowerCase(),k=Z[j]||Z._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=V.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]==="<table>"&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&S.test(i)&&m.insertBefore(b.createTextNode(S.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.makeArray(g[h].getElementsByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var bd=/alpha\([^)]*\)/i,be=/opacity=([^)]*)/,bf=/-([a-z])/ig,bg=/([A-Z]|^ms)/g,bh=/^-?\d+(?:px)?$/i,bi=/^-?\d/,bj={position:"absolute",visibility:"hidden",display:"block"},bk=["Left","Right"],bl=["Top","Bottom"],bm,bn,bo,bp=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bm(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bm)return bm(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(bf,bp)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a,c,e){var f;if(c){a.offsetWidth!==0?f=bq(a,b,e):d.swap(a,bj,function(){f=bq(a,b,e)});if(f<=0){f=bm(a,b,b),f==="0px"&&bo&&(f=bo(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!bh.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return be.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=bd.test(f)?f.replace(bd,e):c.filter+" "+e}}),d(function(){d.support.reliableMarginRight||(d.cssHooks.marginRight={get:function(a,b){var c;d.swap(a,{display:"inline-block"},function(){b?c=bm(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bn=function(a,c,e){var f,g,h;e=e.replace(bg,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.style(a,e));return f}),c.documentElement.currentStyle&&(bo=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bh.test(d)&&bi.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bm=bn||bo,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var br=/%20/g,bs=/\[\]$/,bt=/\r?\n/g,bu=/#.*$/,bv=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bw=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bx=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,by=/^(?:GET|HEAD)$/,bz=/^\/\//,bA=/\?/,bB=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bC=/^(?:select|textarea)/i,bD=/\s+/,bE=/([?&])_=[^&]*/,bF=/(^|\-)([a-z])/g,bG=function(a,b,c){return b+c.toUpperCase()},bH=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bI=d.fn.load,bJ={},bK={},bL,bM;try{bL=c.location.href}catch(bN){bL=c.createElement("a"),bL.href="",bL=bL.href}bM=bH.exec(bL.toLowerCase())||[],d.fn.extend({load:function(a,c,e){if(typeof a!=="string"&&bI)return bI.apply(this,arguments);if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}var h="GET";c&&(d.isFunction(c)?(e=c,c=b):typeof c==="object"&&(c=d.param(c,d.ajaxSettings.traditional),h="POST"));var i=this;d.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?d("<div>").append(c.replace(bB,"")).find(g):c)),e&&i.each(e,[c,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bC.test(this.nodeName)||bw.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(bt,"\r\n")}}):{name:b.name,value:c.replace(bt,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,c){d[c]=function(a,e,f,g){d.isFunction(e)&&(g=g||f,f=e,e=b);return d.ajax({type:c,url:a,data:e,success:f,dataType:g})}}),d.extend({getScript:function(a,c){return d.get(a,b,c,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){b?d.extend(!0,a,d.ajaxSettings,b):(b=a,a=d.extend(!0,d.ajaxSettings,b));for(var c in {context:1,url:1})c in b?a[c]=b[c]:c in d.ajaxSettings&&(a[c]=d.ajaxSettings[c]);return a},ajaxSettings:{url:bL,isLocal:bx.test(bM[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bO(bJ),ajaxTransport:bO(bK),ajax:function(a,c){function v(a,c,l,n){if(r!==2){r=2,p&&clearTimeout(p),o=b,m=n||"",u.readyState=a?4:0;var q,t,v,w=l?bR(e,u,l):b,x,y;if(a>=200&&a<300||a===304){if(e.ifModified){if(x=u.getResponseHeader("Last-Modified"))d.lastModified[k]=x;if(y=u.getResponseHeader("Etag"))d.etag[k]=y}if(a===304)c="notmodified",q=!0;else try{t=bS(e,w),c="success",q=!0}catch(z){c="parsererror",v=z}}else{v=c;if(!c||a)c="error",a<0&&(a=0)}u.status=a,u.statusText=c,q?h.resolveWith(f,[t,c,u]):h.rejectWith(f,[u,c,v]),u.statusCode(j),j=b,s&&g.trigger("ajax"+(q?"Success":"Error"),[u,e,q?t:v]),i.resolveWith(f,[u,c]),s&&(g.trigger("ajaxComplete",[u,e]),--d.active||d.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=b),c=c||{};var e=d.ajaxSetup({},c),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof d)?d(f):d.event,h=d.Deferred(),i=d._Deferred(),j=e.statusCode||{},k,l={},m,n,o,p,q,r=0,s,t,u={readyState:0,setRequestHeader:function(a,b){r||(l[a.toLowerCase().replace(bF,bG)]=b);return this},getAllResponseHeaders:function(){return r===2?m:null},getResponseHeader:function(a){var c;if(r===2){if(!n){n={};while(c=bv.exec(m))n[c[1].toLowerCase()]=c[2]}c=n[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){r||(e.mimeType=a);return this},abort:function(a){a=a||"abort",o&&o.abort(a),v(0,a);return this}};h.promise(u),u.success=u.done,u.error=u.fail,u.complete=i.done,u.statusCode=function(a){if(a){var b;if(r<2)for(b in a)j[b]=[j[b],a[b]];else b=a[u.status],u.then(b,b)}return this},e.url=((a||e.url)+"").replace(bu,"").replace(bz,bM[1]+"//"),e.dataTypes=d.trim(e.dataType||"*").toLowerCase().split(bD),e.crossDomain==null&&(q=bH.exec(e.url.toLowerCase()),e.crossDomain=q&&(q[1]!=bM[1]||q[2]!=bM[2]||(q[3]||(q[1]==="http:"?80:443))!=(bM[3]||(bM[1]==="http:"?80:443)))),e.data&&e.processData&&typeof e.data!=="string"&&(e.data=d.param(e.data,e.traditional)),bP(bJ,e,c,u);if(r===2)return!1;s=e.global,e.type=e.type.toUpperCase(),e.hasContent=!by.test(e.type),s&&d.active++===0&&d.event.trigger("ajaxStart");if(!e.hasContent){e.data&&(e.url+=(bA.test(e.url)?"&":"?")+e.data),k=e.url;if(e.cache===!1){var w=d.now(),x=e.url.replace(bE,"$1_="+w);e.url=x+(x===e.url?(bA.test(e.url)?"&":"?")+"_="+w:"")}}if(e.data&&e.hasContent&&e.contentType!==!1||c.contentType)l["Content-Type"]=e.contentType;e.ifModified&&(k=k||e.url,d.lastModified[k]&&(l["If-Modified-Since"]=d.lastModified[k]),d.etag[k]&&(l["If-None-Match"]=d.etag[k])),l.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(t in e.headers)u.setRequestHeader(t,e.headers[t]);if(e.beforeSend&&(e.beforeSend.call(f,u,e)===!1||r===2)){u.abort();return!1}for(t in {success:1,error:1,complete:1})u[t](e[t]);o=bP(bK,e,c,u);if(o){u.readyState=1,s&&g.trigger("ajaxSend",[u,e]),e.async&&e.timeout>0&&(p=setTimeout(function(){u.abort("timeout")},e.timeout));try{r=1,o.send(l,v)}catch(y){status<2?v(-1,y):d.error(y)}}else v(-1,"No Transport");return u},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)bQ(g,a[g],c,f);return e.join("&").replace(br,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bT=d.now(),bU=/(\=)\?(&|$)|\?\?/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bT++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){var f=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.jsonp!=null||b.jsonp!==!1&&(bU.test(b.url)||f&&bU.test(b.data))){var g,h=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2",m=function(){a[h]=i,g&&d.isFunction(i)&&a[h](g[0])};b.jsonp!==!1&&(j=j.replace(bU,l),b.url===j&&(f&&(k=k.replace(bU,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},e.then(m,m),b.converters["script json"]=function(){g||d.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var bV=d.now(),bW,bX;d.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&bZ()||b$()}:bZ,bX=d.ajaxSettings.xhr(),d.support.ajax=!!bX,d.support.cors=bX&&"withCredentials"in bX,bX=b,d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var c;return{send:function(e,f){var g=a.xhr(),h,i;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrFields)for(i in a.xhrFields)g[i]=a.xhrFields[i];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType),!a.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(i in e)g.setRequestHeader(i,e[i])}catch(j){}g.send(a.hasContent&&a.data||null),c=function(e,i){var j,k,l,m,n;try{if(c&&(i||g.readyState===4)){c=b,h&&(g.onreadystatechange=d.noop,delete bW[h]);if(i)g.readyState!==4&&g.abort();else{j=g.status,l=g.getAllResponseHeaders(),m={},n=g.responseXML,n&&n.documentElement&&(m.xml=n),m.text=g.responseText;try{k=g.statusText}catch(o){k=""}j||!a.isLocal||a.crossDomain?j===1223&&(j=204):j=m.text?200:404}}}catch(p){i||f(-1,p)}m&&f(j,k,m,l)},a.async&&g.readyState!==4?(bW||(bW={},bY()),h=bV++,g.onreadystatechange=bW[h]=c):c()},abort:function(){c&&c(0,1)}}}});var b_={},ca=/^(?:toggle|show|hide)$/,cb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cc,cd=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(ce("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)e=this[g],f=e.style.display,!d._data(e,"olddisplay")&&f==="none"&&(f=e.style.display=""),f===""&&d.css(e,"display")==="none"&&d._data(e,"olddisplay",cf(e.nodeName));for(g=0;g<h;g++){e=this[g],f=e.style.display;if(f===""||f==="none")e.style.display=d._data(e,"olddisplay")||""}return this},hide:function(a,b,c){if(a||a===0)return this.animate(ce("hide",3),a,b,c);for(var e=0,f=this.length;e<f;e++){var g=d.css(this[e],"display");g!=="none"&&!d._data(this[e],"olddisplay")&&d._data(this[e],"olddisplay",g)}for(e=0;e<f;e++)this[e].style.display="none";return this},_toggle:d.fn.toggle,toggle:function(a,b,c){var e=typeof a==="boolean";d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(ce("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,e){var f=d.speed(b,c,e);if(d.isEmptyObject(a))return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=d.extend({},f),c,e=this.nodeType===1,g=e&&d(this).is(":hidden"),h=this;for(c in a){var i=d.camelCase(c);c!==i&&(a[i]=a[c],delete a[c],c=i);if(a[c]==="hide"&&g||a[c]==="show"&&!g)return b.complete.call(this);if(e&&(c==="height"||c==="width")){b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){var j=cf(this.nodeName);j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}d.isArray(a[c])&&((b.specialEasing=b.specialEasing||{})[c]=a[c][1],a[c]=a[c][0])}b.overflow!=null&&(this.style.overflow="hidden"),b.curAnim=d.extend({},a),d.each(a,function(c,e){var f=new d.fx(h,b,c);if(ca.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var i=cb.exec(e),j=f.cur();if(i){var k=parseFloat(i[2]),l=i[3]||(d.cssNumber[c]?"":"px");l!=="px"&&(d.style(h,c,(k||1)+l),j=(k||1)/f.cur()*j,d.style(h,c,j+l)),i[1]&&(k=(i[1]==="-="?-1:1)*k+j),f.custom(j,k,l)}else f.custom(j,e,"")}});return!0})},stop:function(a,b){var c=d.timers;a&&this.queue([]),this.each(function(){for(var a=c.length-1;a>=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:ce("show",1),slideUp:ce("hide",1),slideToggle:ce("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=d.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||(d.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!cc&&(cc=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easing[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(cc),cc=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var cg=/^t(?:able|d|h)$/i,ch=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!c||!d.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=f.body,i=ci(f),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||d.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||d.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var c,e=b.offsetParent,f=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(d.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===e&&(l+=b.offsetTop,m+=b.offsetLeft,d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!cg.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),f=e,e=b.offsetParent),d.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;d.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},d.offset={initialize:function(){var a=c.body,b=c.createElement("div"),e,f,g,h,i=parseFloat(d.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.style.position="relative");var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=(e==="absolute"||e==="fixed")&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=ch.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!ch.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.fn[e]=function(c){var f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=ci(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=ci(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.documentElement["offset"+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}}),a.jQuery=a.$=d})(window);
/* jquery.jcarousel.min.js v0.2.7 [http://sorgalla.com/jcarousel/] */
(function(c){var d={vertical:false,rtl:false,start:1,offset:1,size:null,scroll:3,visible:null,animation:"normal",easing:"swing",auto:0,wrap:null,initCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null,itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,buttonNextHTML:"<div></div>",buttonPrevHTML:"<div></div>",buttonNextEvent:"click",buttonPrevEvent:"click",buttonNextCallback:null,buttonPrevCallback:null,itemFallbackDimension:null},b=false;c(window).bind("load.jcarousel",function(){b=true;});c.jcarousel=function(l,g){this.options=c.extend({},d,g||{});this.locked=false;this.autoStopped=false;this.container=null;this.clip=null;this.list=null;this.buttonNext=null;this.buttonPrev=null;this.buttonNextState=null;this.buttonPrevState=null;if(!g||g.rtl===undefined){this.options.rtl=(c(l).attr("dir")||c("html").attr("dir")||"").toLowerCase()=="rtl";}this.wh=!this.options.vertical?"width":"height";this.lt=!this.options.vertical?(this.options.rtl?"right":"left"):"top";var q="",n=l.className.split(" ");for(var k=0;k<n.length;k++){if(n[k].indexOf("jcarousel-skin")!=-1){c(l).removeClass(n[k]);q=n[k];break;}}if(l.nodeName.toUpperCase()=="UL"||l.nodeName.toUpperCase()=="OL"){this.list=c(l);this.container=this.list.parent();if(this.container.hasClass("jcarousel-clip")){if(!this.container.parent().hasClass("jcarousel-container")){this.container=this.container.wrap("<div></div>");}this.container=this.container.parent();}else{if(!this.container.hasClass("jcarousel-container")){this.container=this.list.wrap("<div></div>").parent();}}}else{this.container=c(l);this.list=this.container.find("ul,ol").eq(0);}if(q!==""&&this.container.parent()[0].className.indexOf("jcarousel-skin")==-1){this.container.wrap('<div class=" '+q+'"></div>');}this.clip=this.list.parent();if(!this.clip.length||!this.clip.hasClass("jcarousel-clip")){this.clip=this.list.wrap("<div></div>").parent();}this.buttonNext=c(".jcarousel-next",this.container);if(this.buttonNext.size()===0&&this.options.buttonNextHTML!==null){this.buttonNext=this.clip.after(this.options.buttonNextHTML).next();}this.buttonNext.addClass(this.className("jcarousel-next"));this.buttonPrev=c(".jcarousel-prev",this.container);if(this.buttonPrev.size()===0&&this.options.buttonPrevHTML!==null){this.buttonPrev=this.clip.after(this.options.buttonPrevHTML).next();}this.buttonPrev.addClass(this.className("jcarousel-prev"));this.clip.addClass(this.className("jcarousel-clip")).css({overflow:"hidden",position:"relative"});this.list.addClass(this.className("jcarousel-list")).css({overflow:"hidden",position:"relative",top:0,margin:0,padding:0}).css((this.options.rtl?"right":"left"),0);this.container.addClass(this.className("jcarousel-container")).css({position:"relative"});if(!this.options.vertical&&this.options.rtl){this.container.addClass("jcarousel-direction-rtl").attr("dir","rtl");}var m=this.options.visible!==null?Math.ceil(this.clipping()/this.options.visible):null;var p=this.list.children("li");var r=this;if(p.size()>0){var f=0,h=this.options.offset;p.each(function(){r.format(this,h++);f+=r.dimension(this,m);});this.list.css(this.wh,(f+100)+"px");if(!g||g.size===undefined){this.options.size=p.size();}}this.container.css("display","block");this.buttonNext.css("display","block");this.buttonPrev.css("display","block");this.funcNext=function(){r.next();};this.funcPrev=function(){r.prev();};this.funcResize=function(){r.reload();};if(this.options.initCallback!==null){this.options.initCallback(this,"init");}if(!b&&c.browser.safari){this.buttons(false,false);c(window).bind("load.jcarousel",function(){r.setup();});}else{this.setup();}};var a=c.jcarousel;a.fn=a.prototype={jcarousel:"0.2.7"};a.fn.extend=a.extend=c.extend;a.fn.extend({setup:function(){this.first=null;this.last=null;this.prevFirst=null;this.prevLast=null;this.animating=false;this.timer=null;this.tail=null;this.inTail=false;if(this.locked){return;}this.list.css(this.lt,this.pos(this.options.offset)+"px");var e=this.pos(this.options.start,true);this.prevFirst=this.prevLast=null;this.animate(e,false);c(window).unbind("resize.jcarousel",this.funcResize).bind("resize.jcarousel",this.funcResize);},reset:function(){this.list.empty();this.list.css(this.lt,"0px");this.list.css(this.wh,"10px");if(this.options.initCallback!==null){this.options.initCallback(this,"reset");}this.setup();},reload:function(){if(this.tail!==null&&this.inTail){this.list.css(this.lt,a.intval(this.list.css(this.lt))+this.tail);}this.tail=null;this.inTail=false;if(this.options.reloadCallback!==null){this.options.reloadCallback(this);}if(this.options.visible!==null){var g=this;var h=Math.ceil(this.clipping()/this.options.visible),f=0,e=0;this.list.children("li").each(function(j){f+=g.dimension(this,h);if(j+1<g.first){e=f;}});this.list.css(this.wh,f+"px");this.list.css(this.lt,-e+"px");}this.scroll(this.first,false);},lock:function(){this.locked=true;this.buttons();},unlock:function(){this.locked=false;this.buttons();},size:function(e){if(e!==undefined){this.options.size=e;if(!this.locked){this.buttons();}}return this.options.size;},has:function(g,h){if(h===undefined||!h){h=g;}if(this.options.size!==null&&h>this.options.size){h=this.options.size;}for(var f=g;f<=h;f++){var k=this.get(f);if(!k.length||k.hasClass("jcarousel-item-placeholder")){return false;}}return true;},get:function(e){return c(".jcarousel-item-"+e,this.list);},add:function(l,q){var m=this.get(l),h=0,g=c(q);if(m.length===0){var p,k=a.intval(l);m=this.create(l);while(true){p=this.get(--k);if(k<=0||p.length){if(k<=0){this.list.prepend(m);}else{p.after(m);}break;}}}else{h=this.dimension(m);}if(g.get(0).nodeName.toUpperCase()=="LI"){m.replaceWith(g);m=g;}else{m.empty().append(q);}this.format(m.removeClass(this.className("jcarousel-item-placeholder")),l);var o=this.options.visible!==null?Math.ceil(this.clipping()/this.options.visible):null;var f=this.dimension(m,o)-h;if(l>0&&l<this.first){this.list.css(this.lt,a.intval(this.list.css(this.lt))-f+"px");}this.list.css(this.wh,a.intval(this.list.css(this.wh))+f+"px");return m;},remove:function(f){var g=this.get(f);if(!g.length||(f>=this.first&&f<=this.last)){return;}var h=this.dimension(g);if(f<this.first){this.list.css(this.lt,a.intval(this.list.css(this.lt))+h+"px");}g.remove();this.list.css(this.wh,a.intval(this.list.css(this.wh))-h+"px");},next:function(){if(this.tail!==null&&!this.inTail){this.scrollTail(false);}else{this.scroll(((this.options.wrap=="both"||this.options.wrap=="last")&&this.options.size!==null&&this.last==this.options.size)?1:this.first+this.options.scroll);}},prev:function(){if(this.tail!==null&&this.inTail){this.scrollTail(true);}else{this.scroll(((this.options.wrap=="both"||this.options.wrap=="first")&&this.options.size!==null&&this.first==1)?this.options.size:this.first-this.options.scroll);}},scrollTail:function(e){if(this.locked||this.animating||!this.tail){return;}this.pauseAuto();var f=a.intval(this.list.css(this.lt));f=!e?f-this.tail:f+this.tail;this.inTail=!e;this.prevFirst=this.first;this.prevLast=this.last;this.animate(f);},scroll:function(f,e){if(this.locked||this.animating){return;}this.pauseAuto();this.animate(this.pos(f),e);},pos:function(D,k){var n=a.intval(this.list.css(this.lt));if(this.locked||this.animating){return n;}if(this.options.wrap!="circular"){D=D<1?1:(this.options.size&&D>this.options.size?this.options.size:D);}var z=this.first>D;var F=this.options.wrap!="circular"&&this.first<=1?1:this.first;var I=z?this.get(F):this.get(this.last);var C=z?F:F-1;var G=null,A=0,w=false,H=0,E;while(z?--C>=D:++C<D){G=this.get(C);w=!G.length;if(G.length===0){G=this.create(C).addClass(this.className("jcarousel-item-placeholder"));I[z?"before":"after"](G);if(this.first!==null&&this.options.wrap=="circular"&&this.options.size!==null&&(C<=0||C>this.options.size)){E=this.get(this.index(C));if(E.length){G=this.add(C,E.clone(true));}}}I=G;H=this.dimension(G);if(w){A+=H;}if(this.first!==null&&(this.options.wrap=="circular"||(C>=1&&(this.options.size===null||C<=this.options.size)))){n=z?n+H:n-H;}}var s=this.clipping(),u=[],h=0,t=0;I=this.get(D-1);C=D;while(++h){G=this.get(C);w=!G.length;if(G.length===0){G=this.create(C).addClass(this.className("jcarousel-item-placeholder"));if(I.length===0){this.list.prepend(G);}else{I[z?"before":"after"](G);}if(this.first!==null&&this.options.wrap=="circular"&&this.options.size!==null&&(C<=0||C>this.options.size)){E=this.get(this.index(C));if(E.length){G=this.add(C,E.clone(true));}}}I=G;H=this.dimension(G);try{if(H===0){}}catch(B){}if(this.options.wrap!="circular"&&this.options.size!==null&&C>this.options.size){u.push(G);}else{if(w){A+=H;}}t+=H;if(t>=s){break;}C++;}for(var r=0;r<u.length;r++){u[r].remove();}if(A>0){this.list.css(this.wh,this.dimension(this.list)+A+"px");if(z){n-=A;this.list.css(this.lt,a.intval(this.list.css(this.lt))-A+"px");}}var q=D+h-1;if(this.options.wrap!="circular"&&this.options.size&&q>this.options.size){q=this.options.size;}if(C>q){h=0;C=q;t=0;while(++h){G=this.get(C--);if(!G.length){break;}t+=this.dimension(G);if(t>=s){break;}}}var o=q-h+1;if(this.options.wrap!="circular"&&o<1){o=1;}if(this.inTail&&z){n+=this.tail;this.inTail=false;}this.tail=null;if(this.options.wrap!="circular"&&q==this.options.size&&(q-h+1)>=1){var y=a.margin(this.get(q),!this.options.vertical?"marginRight":"marginBottom");if((t-y)>s){this.tail=t-s-y;}}if(k&&D===this.options.size&&this.tail){n-=this.tail;this.inTail=true;}while(D-->o){n+=this.dimension(this.get(D));}this.prevFirst=this.first;this.prevLast=this.last;this.first=o;this.last=q;return n;},animate:function(h,e){if(this.locked||this.animating){return;}this.animating=true;var f=this;var g=function(){f.animating=false;if(h===0){f.list.css(f.lt,0);}if(!f.autoStopped&&(f.options.wrap=="circular"||f.options.wrap=="both"||f.options.wrap=="last"||f.options.size===null||f.last<f.options.size||(f.last==f.options.size&&f.tail!==null&&!f.inTail))){f.startAuto();}f.buttons();f.notify("onAfterAnimation");if(f.options.wrap=="circular"&&f.options.size!==null){for(var j=f.prevFirst;j<=f.prevLast;j++){if(j!==null&&!(j>=f.first&&j<=f.last)&&(j<1||j>f.options.size)){f.remove(j);}}}};this.notify("onBeforeAnimation");if(!this.options.animation||e===false){this.list.css(this.lt,h+"px");g();}else{var i=!this.options.vertical?(this.options.rtl?{"right":h}:{"left":h}):{"top":h};this.list.animate(i,this.options.animation,this.options.easing,g);}},startAuto:function(f){if(f!==undefined){this.options.auto=f;}if(this.options.auto===0){return this.stopAuto();}if(this.timer!==null){return;}this.autoStopped=false;var e=this;this.timer=window.setTimeout(function(){e.next();},this.options.auto*1000);},stopAuto:function(){this.pauseAuto();this.autoStopped=true;},pauseAuto:function(){if(this.timer===null){return;}window.clearTimeout(this.timer);this.timer=null;},buttons:function(g,f){if(g==null){g=!this.locked&&this.options.size!==0&&((this.options.wrap&&this.options.wrap!="first")||this.options.size===null||this.last<this.options.size);if(!this.locked&&(!this.options.wrap||this.options.wrap=="first")&&this.options.size!==null&&this.last>=this.options.size){g=this.tail!==null&&!this.inTail;}}if(f==null){f=!this.locked&&this.options.size!==0&&((this.options.wrap&&this.options.wrap!="last")||this.first>1);if(!this.locked&&(!this.options.wrap||this.options.wrap=="last")&&this.options.size!==null&&this.first==1){f=this.tail!==null&&this.inTail;}}var e=this;if(this.buttonNext.size()>0){this.buttonNext.unbind(this.options.buttonNextEvent+".jcarousel",this.funcNext);if(g){this.buttonNext.bind(this.options.buttonNextEvent+".jcarousel",this.funcNext);}this.buttonNext[g?"removeClass":"addClass"](this.className("jcarousel-next-disabled")).attr("disabled",g?false:true);if(this.options.buttonNextCallback!==null&&this.buttonNext.data("jcarouselstate")!=g){this.buttonNext.each(function(){e.options.buttonNextCallback(e,this,g);}).data("jcarouselstate",g);}}else{if(this.options.buttonNextCallback!==null&&this.buttonNextState!=g){this.options.buttonNextCallback(e,null,g);}}if(this.buttonPrev.size()>0){this.buttonPrev.unbind(this.options.buttonPrevEvent+".jcarousel",this.funcPrev);if(f){this.buttonPrev.bind(this.options.buttonPrevEvent+".jcarousel",this.funcPrev);}this.buttonPrev[f?"removeClass":"addClass"](this.className("jcarousel-prev-disabled")).attr("disabled",f?false:true);if(this.options.buttonPrevCallback!==null&&this.buttonPrev.data("jcarouselstate")!=f){this.buttonPrev.each(function(){e.options.buttonPrevCallback(e,this,f);}).data("jcarouselstate",f);}}else{if(this.options.buttonPrevCallback!==null&&this.buttonPrevState!=f){this.options.buttonPrevCallback(e,null,f);}}this.buttonNextState=g;this.buttonPrevState=f;},notify:function(e){var f=this.prevFirst===null?"init":(this.prevFirst<this.first?"next":"prev");this.callback("itemLoadCallback",e,f);if(this.prevFirst!==this.first){this.callback("itemFirstInCallback",e,f,this.first);this.callback("itemFirstOutCallback",e,f,this.prevFirst);}if(this.prevLast!==this.last){this.callback("itemLastInCallback",e,f,this.last);this.callback("itemLastOutCallback",e,f,this.prevLast);}this.callback("itemVisibleInCallback",e,f,this.first,this.last,this.prevFirst,this.prevLast);this.callback("itemVisibleOutCallback",e,f,this.prevFirst,this.prevLast,this.first,this.last);},callback:function(j,m,e,k,h,g,f){if(this.options[j]==null||(typeof this.options[j]!="object"&&m!="onAfterAnimation")){return;}var n=typeof this.options[j]=="object"?this.options[j][m]:this.options[j];if(!c.isFunction(n)){return;}var o=this;if(k===undefined){n(o,e,m);}else{if(h===undefined){this.get(k).each(function(){n(o,this,k,e,m);});}else{var p=function(q){o.get(q).each(function(){n(o,this,q,e,m);});};for(var l=k;l<=h;l++){if(l!==null&&!(l>=g&&l<=f)){p(l);}}}}},create:function(e){return this.format("<li></li>",e);},format:function(k,h){k=c(k);var g=k.get(0).className.split(" ");for(var f=0;f<g.length;f++){if(g[f].indexOf("jcarousel-")!=-1){k.removeClass(g[f]);}}k.addClass(this.className("jcarousel-item")).addClass(this.className("jcarousel-item-"+h)).css({"float":(this.options.rtl?"right":"left"),"list-style":"none"}).attr("jcarouselindex",h);return k;},className:function(e){return e+" "+e+(!this.options.vertical?"-horizontal":"-vertical");},dimension:function(i,j){var h=i.jquery!==undefined?i[0]:i;var g=!this.options.vertical?(h.offsetWidth||a.intval(this.options.itemFallbackDimension))+a.margin(h,"marginLeft")+a.margin(h,"marginRight"):(h.offsetHeight||a.intval(this.options.itemFallbackDimension))+a.margin(h,"marginTop")+a.margin(h,"marginBottom");if(j==null||g==j){return g;}var f=!this.options.vertical?j-a.margin(h,"marginLeft")-a.margin(h,"marginRight"):j-a.margin(h,"marginTop")-a.margin(h,"marginBottom");c(h).css(this.wh,f+"px");return this.dimension(h);},clipping:function(){return !this.options.vertical?this.clip[0].offsetWidth-a.intval(this.clip.css("borderLeftWidth"))-a.intval(this.clip.css("borderRightWidth")):this.clip[0].offsetHeight-a.intval(this.clip.css("borderTopWidth"))-a.intval(this.clip.css("borderBottomWidth"));},index:function(e,f){if(f==null){f=this.options.size;}return Math.round((((e-1)/f)-Math.floor((e-1)/f))*f)+1;}});a.extend({defaults:function(e){return c.extend(d,e||{});},margin:function(j,i){if(!j){return 0;}var h=j.jquery!==undefined?j[0]:j;if(i=="marginRight"&&c.browser.safari){var g={"display":"block","float":"none","width":"auto"},f,k;c.swap(h,g,function(){f=h.offsetWidth;});g.marginRight=0;c.swap(h,g,function(){k=h.offsetWidth;});return k-f;}return a.intval(c.css(h,i));},intval:function(e){e=parseInt(e,10);return isNaN(e)?0:e;}});c.fn.jcarousel=function(g){if(typeof g=="string"){var e=c(this).data("jcarousel"),f=Array.prototype.slice.call(arguments,1);return e[g].apply(e,f);}else{return this.each(function(){c(this).data("jcarousel",new a(this,g));});}};})(jQuery);
/* jquery.countdown.min.js [http://keith-wood.name/countdown.html] */
(function($){function Countdown(){this.regional=[];this.regional['']={labels:['Years','Months','Weeks','Days','Hours','Minutes','Seconds'],labels1:['Year','Month','Week','Day','Hour','Minute','Second'],compactLabels:['y','m','w','d'],whichLabels:null,timeSeparator:':',isRTL:false};this._defaults={until:null,since:null,timezone:null,serverSync:null,format:'dHMS',layout:'',compact:false,significant:0,description:'',expiryUrl:'',expiryText:'',alwaysExpire:false,onExpiry:null,onTick:null,tickInterval:1};$.extend(this._defaults,this.regional['']);this._serverSyncs=[]}var w='countdown';var Y=0;var O=1;var W=2;var D=3;var H=4;var M=5;var S=6;$.extend(Countdown.prototype,{markerClassName:'hasCountdown',_timer:setInterval(function(){$.countdown._updateTargets()},980),_timerTargets:[],setDefaults:function(a){this._resetExtraLabels(this._defaults,a);extendRemove(this._defaults,a||{})},UTCDate:function(a,b,c,e,f,g,h,i){if(typeof b=='object'&&b.constructor==Date){i=b.getMilliseconds();h=b.getSeconds();g=b.getMinutes();f=b.getHours();e=b.getDate();c=b.getMonth();b=b.getFullYear()}var d=new Date();d.setUTCFullYear(b);d.setUTCDate(1);d.setUTCMonth(c||0);d.setUTCDate(e||1);d.setUTCHours(f||0);d.setUTCMinutes((g||0)-(Math.abs(a)<30?a*60:a));d.setUTCSeconds(h||0);d.setUTCMilliseconds(i||0);return d},periodsToSeconds:function(a){return a[0]*31557600+a[1]*2629800+a[2]*604800+a[3]*86400+a[4]*3600+a[5]*60+a[6]},_settingsCountdown:function(a,b){if(!b){return $.countdown._defaults}var c=$.data(a,w);return(b=='all'?c.options:c.options[b])},_attachCountdown:function(a,b){var c=$(a);if(c.hasClass(this.markerClassName)){return}c.addClass(this.markerClassName);var d={options:$.extend({},b),_periods:[0,0,0,0,0,0,0]};$.data(a,w,d);this._changeCountdown(a)},_addTarget:function(a){if(!this._hasTarget(a)){this._timerTargets.push(a)}},_hasTarget:function(a){return($.inArray(a,this._timerTargets)>-1)},_removeTarget:function(b){this._timerTargets=$.map(this._timerTargets,function(a){return(a==b?null:a)})},_updateTargets:function(){for(var i=this._timerTargets.length-1;i>=0;i--){this._updateCountdown(this._timerTargets[i])}},_updateCountdown:function(a,b){var c=$(a);b=b||$.data(a,w);if(!b){return}c.html(this._generateHTML(b));c[(this._get(b,'isRTL')?'add':'remove')+'Class']('countdown_rtl');var d=this._get(b,'onTick');if(d){var e=b._hold!='lap'?b._periods:this._calculatePeriods(b,b._show,this._get(b,'significant'),new Date());var f=this._get(b,'tickInterval');if(f==1||this.periodsToSeconds(e)%f==0){d.apply(a,[e])}}var g=b._hold!='pause'&&(b._since?b._now.getTime()<b._since.getTime():b._now.getTime()>=b._until.getTime());if(g&&!b._expiring){b._expiring=true;if(this._hasTarget(a)||this._get(b,'alwaysExpire')){this._removeTarget(a);var h=this._get(b,'onExpiry');if(h){h.apply(a,[])}var i=this._get(b,'expiryText');if(i){var j=this._get(b,'layout');b.options.layout=i;this._updateCountdown(a,b);b.options.layout=j}var k=this._get(b,'expiryUrl');if(k){window.location=k}}b._expiring=false}else if(b._hold=='pause'){this._removeTarget(a)}$.data(a,w,b)},_changeCountdown:function(a,b,c){b=b||{};if(typeof b=='string'){var d=b;b={};b[d]=c}var e=$.data(a,w);if(e){this._resetExtraLabels(e.options,b);extendRemove(e.options,b);this._adjustSettings(a,e);$.data(a,w,e);var f=new Date();if((e._since&&e._since<f)||(e._until&&e._until>f)){this._addTarget(a)}this._updateCountdown(a,e)}},_resetExtraLabels:function(a,b){var c=false;for(var n in b){if(n!='whichLabels'&&n.match(/[Ll]abels/)){c=true;break}}if(c){for(var n in a){if(n.match(/[Ll]abels[0-9]/)){a[n]=null}}}},_adjustSettings:function(a,b){var c;var d=this._get(b,'serverSync');var e=0;var f=null;for(var i=0;i<this._serverSyncs.length;i++){if(this._serverSyncs[i][0]==d){f=this._serverSyncs[i][1];break}}if(f!=null){e=(d?f:0);c=new Date()}else{var g=(d?d.apply(a,[]):null);c=new Date();e=(g?c.getTime()-g.getTime():0);this._serverSyncs.push([d,e])}var h=this._get(b,'timezone');h=(h==null?-c.getTimezoneOffset():h);b._since=this._get(b,'since');if(b._since!=null){b._since=this.UTCDate(h,this._determineTime(b._since,null));if(b._since&&e){b._since.setMilliseconds(b._since.getMilliseconds()+e)}}b._until=this.UTCDate(h,this._determineTime(this._get(b,'until'),c));if(e){b._until.setMilliseconds(b._until.getMilliseconds()+e)}b._show=this._determineShow(b)},_destroyCountdown:function(a){var b=$(a);if(!b.hasClass(this.markerClassName)){return}this._removeTarget(a);b.removeClass(this.markerClassName).empty();$.removeData(a,w)},_pauseCountdown:function(a){this._hold(a,'pause')},_lapCountdown:function(a){this._hold(a,'lap')},_resumeCountdown:function(a){this._hold(a,null)},_hold:function(a,b){var c=$.data(a,w);if(c){if(c._hold=='pause'&&!b){c._periods=c._savePeriods;var d=(c._since?'-':'+');c[c._since?'_since':'_until']=this._determineTime(d+c._periods[0]+'y'+d+c._periods[1]+'o'+d+c._periods[2]+'w'+d+c._periods[3]+'d'+d+c._periods[4]+'h'+d+c._periods[5]+'m'+d+c._periods[6]+'s');this._addTarget(a)}c._hold=b;c._savePeriods=(b=='pause'?c._periods:null);$.data(a,w,c);this._updateCountdown(a,c)}},_getTimesCountdown:function(a){var b=$.data(a,w);return(!b?null:(!b._hold?b._periods:this._calculatePeriods(b,b._show,this._get(b,'significant'),new Date())))},_get:function(a,b){return(a.options[b]!=null?a.options[b]:$.countdown._defaults[b])},_determineTime:function(k,l){var m=function(a){var b=new Date();b.setTime(b.getTime()+a*1000);return b};var n=function(a){a=a.toLowerCase();var b=new Date();var c=b.getFullYear();var d=b.getMonth();var e=b.getDate();var f=b.getHours();var g=b.getMinutes();var h=b.getSeconds();var i=/([+-]?[0-9]+)\s*(s|m|h|d|w|o|y)?/g;var j=i.exec(a);while(j){switch(j[2]||'s'){case's':h+=parseInt(j[1],10);break;case'm':g+=parseInt(j[1],10);break;case'h':f+=parseInt(j[1],10);break;case'd':e+=parseInt(j[1],10);break;case'w':e+=parseInt(j[1],10)*7;break;case'o':d+=parseInt(j[1],10);e=Math.min(e,$.countdown._getDaysInMonth(c,d));break;case'y':c+=parseInt(j[1],10);e=Math.min(e,$.countdown._getDaysInMonth(c,d));break}j=i.exec(a)}return new Date(c,d,e,f,g,h,0)};var o=(k==null?l:(typeof k=='string'?n(k):(typeof k=='number'?m(k):k)));if(o)o.setMilliseconds(0);return o},_getDaysInMonth:function(a,b){return 32-new Date(a,b,32).getDate()},_normalLabels:function(a){return a},_generateHTML:function(c){var d=this._get(c,'significant');c._periods=(c._hold?c._periods:this._calculatePeriods(c,c._show,d,new Date()));var e=false;var f=0;var g=d;var h=$.extend({},c._show);for(var i=Y;i<=S;i++){e|=(c._show[i]=='?'&&c._periods[i]>0);h[i]=(c._show[i]=='?'&&!e?null:c._show[i]);f+=(h[i]?1:0);g-=(c._periods[i]>0?1:0)}var j=[false,false,false,false,false,false,false];for(var i=S;i>=Y;i--){if(c._show[i]){if(c._periods[i]){j[i]=true}else{j[i]=g>0;g--}}}var k=this._get(c,'compact');var l=this._get(c,'layout');var m=(k?this._get(c,'compactLabels'):this._get(c,'labels'));var n=this._get(c,'whichLabels')||this._normalLabels;var o=this._get(c,'timeSeparator');var p=this._get(c,'description')||'';var q=function(a){var b=$.countdown._get(c,'compactLabels'+n(c._periods[a]));return(h[a]?c._periods[a]+(b?b[a]:m[a])+' ':'')};var r=function(a){var b=$.countdown._get(c,'labels'+n(c._periods[a]));return((!d&&h[a])||(d&&j[a])?'<span class="countdown_section"><span class="countdown_amount">'+c._periods[a]+'</span><br/>'+(b?b[a]:m[a])+'</span>':'')};return(l?this._buildLayout(c,h,l,k,d,j):((k?'<span class="countdown_row countdown_amount'+(c._hold?' countdown_holding':'')+'">'+q(Y)+q(O)+q(W)+q(D)+(h[H]?this._minDigits(c._periods[H],2):'')+(h[M]?(h[H]?o:'')+this._minDigits(c._periods[M],2):'')+(h[S]?(h[H]||h[M]?o:'')+this._minDigits(c._periods[S],2):''):'<span class="countdown_row countdown_show'+(d||f)+(c._hold?' countdown_holding':'')+'">'+r(Y)+r(O)+r(W)+r(D)+r(H)+r(M)+r(S))+'</span>'+(p?'<span class="countdown_row countdown_descr">'+p+'</span>':'')))},_buildLayout:function(c,d,e,f,g,h){var j=this._get(c,(f?'compactLabels':'labels'));var k=this._get(c,'whichLabels')||this._normalLabels;var l=function(a){return($.countdown._get(c,(f?'compactLabels':'labels')+k(c._periods[a]))||j)[a]};var m=function(a,b){return Math.floor(a/b)%10};var o={desc:this._get(c,'description'),sep:this._get(c,'timeSeparator'),yl:l(Y),yn:c._periods[Y],ynn:this._minDigits(c._periods[Y],2),ynnn:this._minDigits(c._periods[Y],3),y1:m(c._periods[Y],1),y10:m(c._periods[Y],10),y100:m(c._periods[Y],100),y1000:m(c._periods[Y],1000),ol:l(O),on:c._periods[O],onn:this._minDigits(c._periods[O],2),onnn:this._minDigits(c._periods[O],3),o1:m(c._periods[O],1),o10:m(c._periods[O],10),o100:m(c._periods[O],100),o1000:m(c._periods[O],1000),wl:l(W),wn:c._periods[W],wnn:this._minDigits(c._periods[W],2),wnnn:this._minDigits(c._periods[W],3),w1:m(c._periods[W],1),w10:m(c._periods[W],10),w100:m(c._periods[W],100),w1000:m(c._periods[W],1000),dl:l(D),dn:c._periods[D],dnn:this._minDigits(c._periods[D],2),dnnn:this._minDigits(c._periods[D],3),d1:m(c._periods[D],1),d10:m(c._periods[D],10),d100:m(c._periods[D],100),d1000:m(c._periods[D],1000),hl:l(H),hn:c._periods[H],hnn:this._minDigits(c._periods[H],2),hnnn:this._minDigits(c._periods[H],3),h1:m(c._periods[H],1),h10:m(c._periods[H],10),h100:m(c._periods[H],100),h1000:m(c._periods[H],1000),ml:l(M),mn:c._periods[M],mnn:this._minDigits(c._periods[M],2),mnnn:this._minDigits(c._periods[M],3),m1:m(c._periods[M],1),m10:m(c._periods[M],10),m100:m(c._periods[M],100),m1000:m(c._periods[M],1000),sl:l(S),sn:c._periods[S],snn:this._minDigits(c._periods[S],2),snnn:this._minDigits(c._periods[S],3),s1:m(c._periods[S],1),s10:m(c._periods[S],10),s100:m(c._periods[S],100),s1000:m(c._periods[S],1000)};var p=e;for(var i=Y;i<=S;i++){var q='yowdhms'.charAt(i);var r=new RegExp('\\{'+q+'<\\}(.*)\\{'+q+'>\\}','g');p=p.replace(r,((!g&&d[i])||(g&&h[i])?'$1':''))}$.each(o,function(n,v){var a=new RegExp('\\{'+n+'\\}','g');p=p.replace(a,v)});return p},_minDigits:function(a,b){a=''+a;if(a.length>=b){return a}a='0000000000'+a;return a.substr(a.length-b)},_determineShow:function(a){var b=this._get(a,'format');var c=[];c[Y]=(b.match('y')?'?':(b.match('Y')?'!':null));c[O]=(b.match('o')?'?':(b.match('O')?'!':null));c[W]=(b.match('w')?'?':(b.match('W')?'!':null));c[D]=(b.match('d')?'?':(b.match('D')?'!':null));c[H]=(b.match('h')?'?':(b.match('H')?'!':null));c[M]=(b.match('m')?'?':(b.match('M')?'!':null));c[S]=(b.match('s')?'?':(b.match('S')?'!':null));return c},_calculatePeriods:function(c,d,e,f){c._now=f;c._now.setMilliseconds(0);var g=new Date(c._now.getTime());if(c._since){if(f.getTime()<c._since.getTime()){c._now=f=g}else{f=c._since}}else{g.setTime(c._until.getTime());if(f.getTime()>c._until.getTime()){c._now=f=g}}var h=[0,0,0,0,0,0,0];if(d[Y]||d[O]){var i=$.countdown._getDaysInMonth(f.getFullYear(),f.getMonth());var j=$.countdown._getDaysInMonth(g.getFullYear(),g.getMonth());var k=(g.getDate()==f.getDate()||(g.getDate()>=Math.min(i,j)&&f.getDate()>=Math.min(i,j)));var l=function(a){return(a.getHours()*60+a.getMinutes())*60+a.getSeconds()};var m=Math.max(0,(g.getFullYear()-f.getFullYear())*12+g.getMonth()-f.getMonth()+((g.getDate()<f.getDate()&&!k)||(k&&l(g)<l(f))?-1:0));h[Y]=(d[Y]?Math.floor(m/12):0);h[O]=(d[O]?m-h[Y]*12:0);f=new Date(f.getTime());var n=(f.getDate()==i);var o=$.countdown._getDaysInMonth(f.getFullYear()+h[Y],f.getMonth()+h[O]);if(f.getDate()>o){f.setDate(o)}f.setFullYear(f.getFullYear()+h[Y]);f.setMonth(f.getMonth()+h[O]);if(n){f.setDate(o)}}var p=Math.floor((g.getTime()-f.getTime())/1000);var q=function(a,b){h[a]=(d[a]?Math.floor(p/b):0);p-=h[a]*b};q(W,604800);q(D,86400);q(H,3600);q(M,60);q(S,1);if(p>0&&!c._since){var r=[1,12,4.3482,7,24,60,60];var s=S;var t=1;for(var u=S;u>=Y;u--){if(d[u]){if(h[s]>=t){h[s]=0;p=1}if(p>0){h[u]++;p=0;s=u;t=1}}t*=r[u]}}if(e){for(var u=Y;u<=S;u++){if(e&&h[u]){e--}else if(!e){h[u]=0}}}return h}});function extendRemove(a,b){$.extend(a,b);for(var c in b){if(b[c]==null){a[c]=null}}return a}$.fn.countdown=function(a){var b=Array.prototype.slice.call(arguments,1);if(a=='getTimes'||a=='settings'){return $.countdown['_'+a+'Countdown'].apply($.countdown,[this[0]].concat(b))}return this.each(function(){if(typeof a=='string'){$.countdown['_'+a+'Countdown'].apply($.countdown,[this].concat(b))}else{$.countdown._attachCountdown(this,a)}})};$.countdown=new Countdown()})(jQuery);
/* sIFR v2.0.7 / minified [http://www.mikeindustries.com/blog/sifr] */
var hasFlash=function(){var a=6;if(navigator.appVersion.indexOf("MSIE")!=-1&&navigator.appVersion.indexOf("Windows")>-1){document.write('<script language="VBScript"> \non error resume next \nhasFlash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & '+a+"))) \n<\/script> \n");if(window.hasFlash!=null){return window.hasFlash}}if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){var b=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;return parseInt(b.substr(b.indexOf(".")-2,2),10)>=a}return false}();String.prototype.normalize=function(){return this.replace(/\s+/g," ")};if(Array.prototype.push==null){Array.prototype.push=function(){var i=0,a=this.length,b=arguments.length;while(i<b){this[a++]=arguments[i++]}return this.length}}if(!Function.prototype.apply){Function.prototype.apply=function(a,b){var c=[];var d,e;if(!a){a=window}if(!b){b=[]}for(var i=0;i<b.length;i++){c[i]="b["+i+"]"}e="a.__applyTemp__("+c.join(",")+");";a.__applyTemp__=this;d=eval(e);a.__applyTemp__=null;return d}}function named(a){return new named.Arguments(a)}named.Arguments=function(a){this.oArgs=a};named.Arguments.prototype.constructor=named.Arguments;named.extract=function(a,b){var c,d;var i=a.length;while(i--){d=a[i];if(d!=null&&d.constructor!=null&&d.constructor==named.Arguments){c=a[i].oArgs;break}}if(c==null){return}for(e in c){if(b[e]!=null){b[e](c[e])}}return};var parseSelector=function(){var a=/^([^#.>`]*)(#|\.|\>|\`)(.+)$/;function r(s,t){var u=s.split(/\s*\,\s*/);var v=[];for(var i=0;i<u.length;i++){v=v.concat(b(u[i],t))}return v}function b(c,d,e){c=c.normalize().replace(" ","`");var f=c.match(a);var g,h,i,j,k,n;var l=[];if(f==null){f=[c,c]}if(f[1]==""){f[1]="*"}if(e==null){e="`"}if(d==null){d=document}switch(f[2]){case"#":k=f[3].match(a);if(k==null){k=[null,f[3]]}g=document.getElementById(k[1]);if(g==null||(f[1]!="*"&&!o(g,f[1]))){return l}if(k.length==2){l.push(g);return l}return b(k[3],g,k[2]);case".":if(e!=">"){h=m(d,f[1])}else{h=d.childNodes}for(i=0,n=h.length;i<n;i++){g=h[i];if(g.nodeType!=1){continue}k=f[3].match(a);if(k!=null){if(g.className==null||g.className.match("(\\s|^)"+k[1]+"(\\s|$)")==null){continue}j=b(k[3],g,k[2]);l=l.concat(j)}else{if(g.className!=null&&g.className.match("(\\s|^)"+f[3]+"(\\s|$)")!=null){l.push(g)}}}return l;case">":if(e!=">"){h=m(d,f[1])}else{h=d.childNodes}for(i=0,n=h.length;i<n;i++){g=h[i];if(g.nodeType!=1){continue}if(!o(g,f[1])){continue}j=b(f[3],g,">");l=l.concat(j)}return l;case"`":h=m(d,f[1]);for(i=0,n=h.length;i<n;i++){g=h[i];j=b(f[3],g,"`");l=l.concat(j)}return l;default:if(e!=">"){h=m(d,f[1])}else{h=d.childNodes}for(i=0,n=h.length;i<n;i++){g=h[i];if(g.nodeType!=1){continue}if(!o(g,f[1])){continue}l.push(g)}return l}}function m(d,o){if(o=="*"&&d.all!=null){return d.all}return d.getElementsByTagName(o)}function o(p,q){return q=="*"?true:p.nodeName.toLowerCase().replace("html:","")==q.toLowerCase()}return r}();var sIFR=function(){var a="http://www.w3.org/1999/xhtml";var b=false;var c=false;var d;var ah=[];var al=document;var ak=al.documentElement;var am=window;var au=al.addEventListener;var av=am.addEventListener;var f=function(){var g=navigator.userAgent.toLowerCase();var f={a:g.indexOf("applewebkit")>-1,b:g.indexOf("safari")>-1,c:navigator.product!=null&&navigator.product.toLowerCase().indexOf("konqueror")>-1,d:g.indexOf("opera")>-1,e:al.contentType!=null&&al.contentType.indexOf("xml")>-1,f:true,g:true,h:null,i:null,j:null,k:null};f.l=f.a||f.c;f.m=!f.a&&navigator.product!=null&&navigator.product.toLowerCase()=="gecko";if(f.m&&g.match(/.*gecko\/(\d{8}).*/)){f.j=new Number(g.match(/.*gecko\/(\d{8}).*/)[1])}f.n=g.indexOf("msie")>-1&&!f.d&&!f.l&&!f.m;f.o=f.n&&g.match(/.*mac.*/)!=null;if(f.d&&g.match(/.*opera(\s|\/)(\d+\.\d+)/)){f.i=new Number(g.match(/.*opera(\s|\/)(\d+\.\d+)/)[2])}if(f.n||(f.d&&f.i<7.6)){f.g=false}if(f.a&&g.match(/.*applewebkit\/(\d+).*/)){f.k=new Number(g.match(/.*applewebkit\/(\d+).*/)[1])}if(am.hasFlash&&(!f.n||f.o)){var aj=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;f.h=parseInt(aj.substr(aj.indexOf(".")-2,2),10)}if(g.match(/.*(windows|mac).*/)==null||f.o||f.c||(f.d&&(g.match(/.*mac.*/)!=null||f.i<7.6))||(f.b&&f.h<7)||(!f.b&&f.a&&f.k<312)||(f.m&&f.j<20020523)){f.f=false}if(!f.o&&!f.m&&al.createElementNS){try{al.createElementNS(a,"i").innerHTML=""}catch(e){f.e=true}}f.p=f.c||(f.a&&f.k<312);return f}();function at(){return{bIsWebKit:f.a,bIsSafari:f.b,bIsKonq:f.c,bIsOpera:f.d,bIsXML:f.e,bHasTransparencySupport:f.f,bUseDOM:f.g,nFlashVersion:f.h,nOperaVersion:f.i,nGeckoBuildDate:f.j,nWebKitVersion:f.k,bIsKHTML:f.l,bIsGecko:f.m,bIsIE:f.n,bIsIEMac:f.o,bUseInnerHTMLHack:f.p}}if(am.hasFlash==false||!al.getElementsByTagName||!al.getElementById||(f.e&&(f.p||f.n))){return{UA:at()}}function af(e){if((!k.bAutoInit&&(am.event||e)!=null)||!l(e)){return}b=true;for(var i=0,h=ah.length;i<h;i++){j.apply(null,ah[i])}ah=[]}var k=af;function l(e){if(c==false||k.bIsDisabled==true||((f.e&&f.m||f.l)&&e==null&&b==false)||al.getElementsByTagName("body").length==0){return false}return true}function m(n){if(f.n){return n.replace(new RegExp("%\d{0}","g"),"%25")}return n.replace(new RegExp("%(?!\d)","g"),"%25")}function as(p,q){return q=="*"?true:p.nodeName.toLowerCase().replace("html:","")==q.toLowerCase()}function o(p,q,r,s,t){var u="";var v=p.firstChild;var w,x,y,z;if(s==null){s=0}if(t==null){t=""}while(v){if(v.nodeType==3){z=v.nodeValue.replace("<","&lt;");switch(r){case"lower":u+=z.toLowerCase();break;case"upper":u+=z.toUpperCase();break;default:u+=z}}else{if(v.nodeType==1){if(as(v,"a")&&!v.getAttribute("href")==false){if(v.getAttribute("target")){t+="&sifr_url_"+s+"_target="+v.getAttribute("target")}t+="&sifr_url_"+s+"="+m(v.getAttribute("href")).replace(/&/g,"%26");u+='<a href="asfunction:_root.launchURL,'+s+'">';s++}else{if(as(v,"br")){u+="<br/>"}}if(v.hasChildNodes()){y=o(v,null,r,s,t);u+=y.u;s=y.s;t=y.t}if(as(v,"a")){u+="</a>"}}}w=v;v=v.nextSibling;if(q!=null){x=w.parentNode.removeChild(w);q.appendChild(x)}}return{"u":u,"s":s,"t":t}}function A(B){if(al.createElementNS&&f.g){return al.createElementNS(a,B)}return al.createElement(B)}function C(D,E,z){var p=A("param");p.setAttribute("name",E);p.setAttribute("value",z);D.appendChild(p)}function F(p,G){var H=p.className;if(H==null){H=G}else{H=H.normalize()+(H==""?"":" ")+G}p.className=H}function aq(ar){var a=ak;if(k.bHideBrowserText==false){a=al.getElementsByTagName("body")[0]}if((k.bHideBrowserText==false||ar)&&a){if(a.className==null||a.className.match(/\bsIFR\-hasFlash\b/)==null){F(a,"sIFR-hasFlash")}}}function j(I,J,K,L,M,N,O,P,Q,R,S,r,T){if(!l()){return ah.push(arguments)}aq();named.extract(arguments,{sSelector:function(ap){I=ap},sFlashSrc:function(ap){J=ap},sColor:function(ap){K=ap},sLinkColor:function(ap){L=ap},sHoverColor:function(ap){M=ap},sBgColor:function(ap){N=ap},nPaddingTop:function(ap){O=ap},nPaddingRight:function(ap){P=ap},nPaddingBottom:function(ap){Q=ap},nPaddingLeft:function(ap){R=ap},sFlashVars:function(ap){S=ap},sCase:function(ap){r=ap},sWmode:function(ap){T=ap}});var U=parseSelector(I);if(U.length==0){return false}if(S!=null){S="&"+S.normalize()}else{S=""}if(K!=null){S+="&textcolor="+K}if(M!=null){S+="&hovercolor="+M}if(M!=null||L!=null){S+="&linkcolor="+(L||K)}if(O==null){O=0}if(P==null){P=0}if(Q==null){Q=0}if(R==null){R=0}if(N==null){N="#FFFFFF"}if(T=="transparent"){if(!f.f){T="opaque"}else{N="transparent"}}if(T==null){T=""}var p,V,W,X,Y,Z,aa,ab,ac;var ad=null;for(var i=0,h=U.length;i<h;i++){p=U[i];if(p.className!=null&&p.className.match(/\bsIFR\-replaced\b/)!=null){continue}V=p.offsetWidth-R-P;W=p.offsetHeight-O-Q;aa=A("span");aa.className="sIFR-alternate";ac=o(p,aa,r);Z="txt="+m(ac.u).replace(/\+/g,"%2B").replace(/&/g,"%26").replace(/\"/g,"%22").normalize()+S+"&w="+V+"&h="+W+ac.t;F(p,"sIFR-replaced");if(ad==null||!f.g){if(!f.g){if(!f.n){p.innerHTML=['<embed class="sIFR-flash" type="application/x-shockwave-flash" src="',J,'" quality="best" wmode="',T,'" bgcolor="',N,'" flashvars="',Z,'" width="',V,'" height="',W,'" sifr="true"></embed>'].join("")}else{p.innerHTML=['<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" sifr="true" width="',V,'" height="',W,'" class="sIFR-flash"><param name="movie" value="',J,'"></param><param name="flashvars" value="',Z,'"></param><param name="quality" value="best"></param><param name="wmode" value="',T,'"></param><param name="bgcolor" value="',N,'"></param> </object>'].join("")}}else{if(f.d){ab=A("object");ab.setAttribute("data",J);C(ab,"quality","best");C(ab,"wmode",T);C(ab,"bgcolor",N)}else{ab=A("embed");ab.setAttribute("src",J);ab.setAttribute("quality","best");ab.setAttribute("flashvars",Z);ab.setAttribute("wmode",T);ab.setAttribute("bgcolor",N)}ab.setAttribute("sifr","true");ab.setAttribute("type","application/x-shockwave-flash");ab.className="sIFR-flash";if(!f.l||!f.e){ad=ab.cloneNode(true)}}}else{ab=ad.cloneNode(true)}if(f.g){if(f.d){C(ab,"flashvars",Z)}else{ab.setAttribute("flashvars",Z)}ab.setAttribute("width",V);ab.setAttribute("height",W);ab.style.width=V+"px";ab.style.height=W+"px";p.appendChild(ab)}p.appendChild(aa);if(f.p){p.innerHTML+=""}}if(f.n&&k.bFixFragIdBug){setTimeout(function(){al.title=d},0)}}function ai(){d=al.title}function ae(){if(k.bIsDisabled==true){return}c=true;if(k.bHideBrowserText){aq(true)}if(am.attachEvent){am.attachEvent("onload",af)}else{if(!f.c&&(al.addEventListener||am.addEventListener)){if(f.a&&f.k>=132&&am.addEventListener){am.addEventListener("load",function(){setTimeout("sIFR({})",1)},false)}else{if(al.addEventListener){al.addEventListener("load",af,false)}if(am.addEventListener){am.addEventListener("load",af,false)}}}else{if(typeof am.onload=="function"){var ag=am.onload;am.onload=function(){ag();af()}}else{am.onload=af}}}if(!f.n||am.location.hash==""){k.bFixFragIdBug=false}else{ai()}}k.UA=at();k.bAutoInit=true;k.bFixFragIdBug=true;k.replaceElement=j;k.updateDocumentTitle=ai;k.appendToClassName=F;k.setup=ae;k.debug=function(){aq(true)};k.debug.replaceNow=function(){ae();k()};k.bIsDisabled=false;k.bHideBrowserText=true;return k}();if(typeof sIFR=="function"&&!sIFR.UA.bIsIEMac&&(!sIFR.UA.bIsWebKit||sIFR.UA.nWebKitVersion>=100)){sIFR.setup()};


/* ~~~~~~~~~~~~~~ SWFObject v2.2 [http://code.google.com/p/swfobject/] ~~~~~~~~~~~~~~
	
	
	<div id="uniqueFlashContainerID"></div>
	<script type="text/javascript">
		jQuery(document).ready(function(){
			if( swfobject.hasFlashPlayerVersion("9.0.0") ){
				
				swfobject.addDomLoadEvent(function(){
					swfobject.createSWF(
						{ 
							data	: webRoot + "/flash/main.swf", 
							width	: "774", 
							height	: "480"
						}, { 
							wmode 		: "transparent",
							flashvars 	: 'xmlname=' + webRoot + '/flash/linklist.xml'
						}, "uniqueFlashContainerID" 
					);
				});
				
			}
		});
	</script>
*/
var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()}}function V(){var X=j.getElementsByTagName("body")[0];var aa=C(r);aa.setAttribute("type",q);var Z=X.appendChild(aa);if(Z){var Y=0;(function(){if(typeof Z.GetVariable!=D){var ab=Z.GetVariable("$version");if(ab){ab=ab.split(" ")[1].split(",");M.pv=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}else{if(Y<10){Y++;setTimeout(arguments.callee,10);return}}X.removeChild(aa);Z=null;H()})()}else{H()}}function H(){var ag=o.length;if(ag>0){for(var af=0;af<ag;af++){var Y=o[af].id;var ab=o[af].callbackFn;var aa={success:false,id:Y};if(M.pv[0]>0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad<ac;ad++){if(X[ad].getAttribute("name").toLowerCase()!="movie"){ah[X[ad].getAttribute("name")]=X[ad].getAttribute("value")}}P(ai,ah,Y,ab)}else{p(ae);if(ab){ab(aa)}}}}}else{w(Y,true);if(ab){var Z=z(Y);if(Z&&typeof Z.SetVariable!=D){aa.success=true;aa.ref=Z}ab(aa)}}}}}function z(aa){var X=null;var Y=c(aa);if(Y&&Y.nodeName=="OBJECT"){if(typeof Y.SetVariable!=D){X=Y}else{var Z=Y.getElementsByTagName(r)[0];if(Z){X=Z}}}return X}function A(){return !a&&F("6.0.65")&&(M.win||M.mac)&&!(M.wk&&M.wk<312)}function P(aa,ab,X,Z){a=true;E=Z||null;B={success:false,id:X};var ae=c(X);if(ae){if(ae.nodeName=="OBJECT"){l=g(ae);Q=null}else{l=ae;Q=X}aa.id=R;if(typeof aa.width==D||(!/%$/.test(aa.width)&&parseInt(aa.width,10)<310)){aa.width="310"}if(typeof aa.height==D||(!/%$/.test(aa.height)&&parseInt(aa.height,10)<137)){aa.height="137"}j.title=j.title.slice(0,47)+" - Flash Player Installation";var ad=M.ie&&M.win?"ActiveX":"PlugIn",ac="MMredirectURL="+O.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ad+"&MMdoctitle="+j.title;if(typeof ab.flashvars!=D){ab.flashvars+="&"+ac}else{ab.flashvars=ac}if(M.ie&&M.win&&ae.readyState!=4){var Y=C("div");X+="SWFObjectNew";Y.setAttribute("id",X);ae.parentNode.insertBefore(Y,ae);ae.style.display="none";(function(){if(ae.readyState==4){ae.parentNode.removeChild(ae)}else{setTimeout(arguments.callee,10)}})()}u(aa,ab,X)}}function p(Y){if(M.ie&&M.win&&Y.readyState!=4){var X=C("div");Y.parentNode.insertBefore(X,Y);X.parentNode.replaceChild(g(Y),X);Y.style.display="none";(function(){if(Y.readyState==4){Y.parentNode.removeChild(Y)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.replaceChild(g(Y),Y)}}function g(ab){var aa=C("div");if(M.win&&M.ie){aa.innerHTML=ab.innerHTML}else{var Y=ab.getElementsByTagName(r)[0];if(Y){var ad=Y.childNodes;if(ad){var X=ad.length;for(var Z=0;Z<X;Z++){if(!(ad[Z].nodeType==1&&ad[Z].nodeName=="PARAM")&&!(ad[Z].nodeType==8)){aa.appendChild(ad[Z].cloneNode(true))}}}}}return aa}function u(ai,ag,Y){var X,aa=c(Y);if(M.wk&&M.wk<312){return X}if(aa){if(typeof ai.id==D){ai.id=Y}if(M.ie&&M.win){var ah="";for(var ae in ai){if(ai[ae]!=Object.prototype[ae]){if(ae.toLowerCase()=="data"){ag.movie=ai[ae]}else{if(ae.toLowerCase()=="styleclass"){ah+=' class="'+ai[ae]+'"'}else{if(ae.toLowerCase()!="classid"){ah+=" "+ae+'="'+ai[ae]+'"'}}}}}var af="";for(var ad in ag){if(ag[ad]!=Object.prototype[ad]){af+='<param name="'+ad+'" value="'+ag[ad]+'" />'}}aa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ah+">"+af+"</object>";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab<ac;ab++){I[ab][0].detachEvent(I[ab][1],I[ab][2])}var Z=N.length;for(var aa=0;aa<Z;aa++){y(N[aa])}for(var Y in M){M[Y]=null}M=null;for(var X in swfobject){swfobject[X]=null}swfobject=null})}}();return{registerObject:function(ab,X,aa,Z){if(M.w3&&ab&&X){var Y={};Y.id=ab;Y.swfVersion=X;Y.expressInstall=aa;Y.callbackFn=Z;o[o.length]=Y;w(ab,false)}else{if(Z){Z({success:false,id:ab})}}},getObjectById:function(X){if(M.w3){return z(X)}},embedSWF:function(ab,ah,ae,ag,Y,aa,Z,ad,af,ac){var X={success:false,id:ah};if(M.w3&&!(M.wk&&M.wk<312)&&ab&&ah&&ae&&ag&&Y){w(ah,false);K(function(){ae+="";ag+="";var aj={};if(af&&typeof af===r){for(var al in af){aj[al]=af[al]}}aj.data=ab;aj.width=ae;aj.height=ag;var am={};if(ad&&typeof ad===r){for(var ak in ad){am[ak]=ad[ak]}}if(Z&&typeof Z===r){for(var ai in Z){if(typeof am.flashvars!=D){am.flashvars+="&"+ai+"="+Z[ai]}else{am.flashvars=ai+"="+Z[ai]}}}if(F(Y)){var an=u(aj,am,ah);if(aj.id==ah){w(ah,true)}X.success=true;X.ref=an}else{if(aa&&A()){aj.data=aa;P(aj,am,ah,ac);return}else{w(ah,true)}}if(ac){ac(X)}})}else{if(ac){ac(X)}}},switchOffAutoHideShow:function(){m=false},ua:M,getFlashPlayerVersion:function(){return{major:M.pv[0],minor:M.pv[1],release:M.pv[2]}},hasFlashPlayerVersion:F,createSWF:function(Z,Y,X){if(M.w3){return u(Z,Y,X)}else{return undefined}},showExpressInstall:function(Z,aa,X,Y){if(M.w3&&A()){P(Z,aa,X,Y)}},removeSWF:function(X){if(M.w3){y(X)}},createCSS:function(aa,Z,Y,X){if(M.w3){v(aa,Z,Y,X)}},addDomLoadEvent:K,addLoadEvent:s,getQueryParamValue:function(aa){var Z=j.location.search||j.location.hash;if(Z){if(/\?/.test(Z)){Z=Z.split("?")[1]}if(aa==null){return L(Z)}var Y=Z.split("&");for(var X=0;X<Y.length;X++){if(Y[X].substring(0,Y[X].indexOf("="))==aa){return L(Y[X].substring((Y[X].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(a){var X=c(R);if(X&&l){X.parentNode.replaceChild(l,X);if(Q){w(Q,true);if(M.ie&&M.win){l.style.display="block"}}if(E){E(B)}}a=false}}}}();


/* ~~~~~~~~~~~~~~ jquery.cookies.2.2.0 [http://code.google.com/p/cookies/]  ~~~~~~~~~~~~~~
	
	
	//set
	jQuery.cookies.set( 'sessid', 'dh3tr62fghe' ); //A cookie by the name 'sessid' now exists with the value 'dh3tr62fghe'

	//get
	var sessid = jQuery.cookies.get( 'sessid' ); //Variable 'sessid' now holds the value 'dh3tr62fghe'

	//delete
	jQuery.cookies.del( 'sessid' ); //The cookie named 'sessid' has been deleted.

	//test
	if( jQuery.cookies.test() ){
		//browser is accepting cookies
	}

	//JSON
	var jimData = {
		id : 1, 
		name : 'jim'
	};
	jQuery.cookies.set( 'userdata', jimData ); //A cookie by the name 'userdata' now exists with a serialized copy of jimData

	var userData = jQuery.cookies.get( 'userdata' ); //A variable named 'userData' now holds the unserialized object--should be identical to the variable 'jimData'


	//jQuery Extensions
	jQuery( 'input.store' ).cookify(); //Inputs with class of 'store' are written to a cookie named after the input
	jQuery( 'input.store' ).cookieFill(); //Inputs with class of 'store' are filled with the value of cookies with matching names
	jQuery( 'input.store' ).cookieBind(); //Inputs with class of 'store' are filled with the value of cookies with matching names and whenever they change the cookie will be updated
	
*/
var jaaulde=window.jaaulde||{};jaaulde.utils=jaaulde.utils||{};jaaulde.utils.cookies=(function(){var e,d,c,b,a={expiresAt:null,path:"/",domain:null,secure:false};e=function(g){var h,f;if(typeof g!=="object"||g===null){h=a;}else{h={expiresAt:a.expiresAt,path:a.path,domain:a.domain,secure:a.secure};if(typeof g.expiresAt==="object"&&g.expiresAt instanceof Date){h.expiresAt=g.expiresAt;}else{if(typeof g.hoursToLive==="number"&&g.hoursToLive!==0){f=new Date();f.setTime(f.getTime()+(g.hoursToLive*60*60*1000));h.expiresAt=f;}}if(typeof g.path==="string"&&g.path!==""){h.path=g.path;}if(typeof g.domain==="string"&&g.domain!==""){h.domain=g.domain;}if(g.secure===true){h.secure=g.secure;}}return h;};d=function(f){f=e(f);return((typeof f.expiresAt==="object"&&f.expiresAt instanceof Date?"; expires="+f.expiresAt.toGMTString():"")+"; path="+f.path+(typeof f.domain==="string"?"; domain="+f.domain:"")+(f.secure===true?"; secure":""));};c=function(){var o={},h,g,f,n,k=document.cookie.split(";"),j;for(h=0;h<k.length;h=h+1){g=k[h].split("=");f=g[0].replace(/^\s*/,"").replace(/\s*$/,"");try{n=decodeURIComponent(g[1]);}catch(m){n=g[1];}if(typeof JSON==="object"&&JSON!==null&&typeof JSON.parse==="function"){try{j=n;n=JSON.parse(n);}catch(l){n=j;}}o[f]=n;}return o;};b=function(){};b.prototype.get=function(i){var f,h,g=c();if(typeof i==="string"){f=(typeof g[i]!=="undefined")?g[i]:null;}else{if(typeof i==="object"&&i!==null){f={};for(h in i){if(typeof g[i[h]]!=="undefined"){f[i[h]]=g[i[h]];}else{f[i[h]]=null;}}}else{f=g;}}return f;};b.prototype.filter=function(f){var i,g={},h=c();if(typeof f==="string"){f=new RegExp(f);}for(i in h){if(i.match(f)){g[i]=h[i];}}return g;};b.prototype.set=function(i,g,f){if(typeof f!=="object"||f===null){f={};}if(typeof g==="undefined"||g===null){g="";f.hoursToLive=-8760;}else{if(typeof g!=="string"){if(typeof JSON==="object"&&JSON!==null&&typeof JSON.stringify==="function"){g=JSON.stringify(g);}else{throw new Error("cookies.set() received non-string value and could not serialize.");}}}var h=d(f);document.cookie=i+"="+encodeURIComponent(g)+h;};b.prototype.del=function(i,h){var f={},g;if(typeof h!=="object"||h===null){h={};}if(typeof i==="boolean"&&i===true){f=this.get();}else{if(typeof i==="string"){f[i]=true;}}for(g in f){if(typeof g==="string"&&g!==""){this.set(g,null,h);}}};b.prototype.test=function(){var g=false,f="cT",h="data";this.set(f,h);if(this.get(f)===h){this.del(f);g=true;}return g;};b.prototype.setOptions=function(f){if(typeof f!=="object"){f=null;}a=e(f);};return new b();})();(function(){if(window.jQuery){(function(b){b.cookies=jaaulde.utils.cookies;var a={cookify:function(c){return this.each(function(){var e,g=["name","id"],d,h=b(this),f;for(e in g){if(!isNaN(e)){d=h.attr(g[e]);if(typeof d==="string"&&d!==""){if(h.is(":checkbox, :radio")){if(h.attr("checked")){f=h.val();}}else{if(h.is(":input")){f=h.val();}else{f=h.html();}}if(typeof f!=="string"||f===""){f=null;}b.cookies.set(d,f,c);break;}}}});},cookieFill:function(){return this.each(function(){var h,c,f=["name","id"],d,g=b(this),e;c=function(){h=f.pop();return !!h;};while(c()){d=g.attr(h);if(typeof d==="string"&&d!==""){e=b.cookies.get(d);if(e!==null){if(g.is(":checkbox, :radio")){if(g.val()===e){g.attr("checked","checked");}else{g.removeAttr("checked");}}else{if(g.is(":input")){g.val(e);}else{g.html(e);}}}break;}}});},cookieBind:function(c){return this.each(function(){var d=b(this);d.cookieFill().change(function(){d.cookify(c);});});}};b.each(a,function(c){b.fn[c]=this;});})(window.jQuery);}})();
/* jquery.modalbox-1.2.1-min.js [http://code.google.com/p/jquery-modalbox-plugin/] */
(function(c){var d={minimalTopSpacingOfModalbox:50,draggable:true,killModalboxWithCloseButtonOnly:false,setWidthOfModalLayer:null,customClassName:null,getStaticContentFrom:null,positionLeft:null,positionTop:null,effectType_show_fadingLayer:["fade","fast"],effectType_hide_fadingLayer:["fade","fast"],effectType_show_modalBox:["show"],effectType_hide_modalBox:["hide"],selectorModalboxContainer:"#modalBox",selectorModalboxBodyContainer:"#modalBoxBody",selectorModalboxBodyContentContainer:".modalBoxBodyContent",selectorFadingLayer:"#modalBoxFaderLayer",selectorAjaxLoader:"#modalBoxAjaxLoader",selectorModalboxCloseContainer:"#modalBoxCloseButton",selectorModalboxContentContainer:".modalboxContent",selectorHiddenAjaxInputField:"ajaxhref",selectorPreCacheContainer:"#modalboxPreCacheContainer",selectorImageGallery:".modalgallery",setModalboxLayoutContainer_Begin:'<div class="modalboxStyleContainer_surface_left"><div class="modalboxStyleContainer_surface_right"><div class="modalboxStyleContainerContent"><div class="modalBoxBodyContent">',setModalboxLayoutContainer_End:'</div></div></div></div><div class="modalboxStyleContainer_corner_topLeft"><!-- - --></div><div class="modalboxStyleContainer_corner_topRight"><!-- - --></div><div class="modalboxStyleContainer_corner_bottomLeft"><!-- - --></div><div class="modalboxStyleContainer_corner_bottomRight"><!-- - --></div><div class="modalboxStyleContainer_surface_top"><div class="modalboxStyleContainer_surface_body"><!-- - --></div></div><div class="modalboxStyleContainer_surface_bottom"><div class="modalboxStyleContainer_surface_body"><!-- - --></div></div>',localizedStrings:{messageCloseWindow:"Close Window",messageAjaxLoader:"Please wait",errorMessageIfNoDataAvailable:"<strong>No content available!</strong>",errorMessageXMLHttpRequest:'Error: XML-Http-Request Status "500"',errorMessageTextStatusError:"Error: AJAX Request failed"},setTypeOfFadingLayer:"black",setStylesOfFadingLayer:{white:"background-color:#fff; filter:alpha(opacity=60); -moz-opacity:0.6; opacity:0.6;",black:"background-color:#000; filter:alpha(opacity=40); -moz-opacity:0.4; opacity:0.4;",transparent:"background-color:transparent;",custom:null},directCall:{source:null,data:null,element:null},ajax_type:"POST",ajax_contentType:"application/x-www-form-urlencoded; charset=utf-8",callFunctionBeforeShow:function(){return true;},callFunctionAfterShow:function(){},callFunctionBeforeHide:function(){},callFunctionAfterHide:function(){}};try{d=jQuery.extend({},d,modalboxGlobalDefaults);}catch(b){}var a={init:function(j){var j=jQuery.extend({},d,j);if(j.directCall){if(j.directCall["source"]){g({type:"ajax",source:j.directCall["source"],data:null});}else{if(j.directCall["data"]){g({type:"static",source:null,data:j.directCall["data"]});}else{if(j.directCall["element"]){g({type:"static",source:null,data:jQuery(j.directCall["element"]).html()});}}}}var k=false;jQuery(window).resize(function(){k=true;});if(!k){jQuery(this).die("click").live("click",function(m){h({event:m,element:jQuery(this)});});}function h(p){var p=jQuery.extend({event:null,element:null,doNotOpenModalBoxContent:false,isFormSubmit:false},p||{});if(p.event&&p.element){var m=p.element;if(m.is("input")){var r=m.parents("form").attr("action");var q=m.parents("form").serialize();var o="ajax";p.isFormSubmit=true;p.event.preventDefault();}else{if(jQuery("input[name$='"+j.selectorHiddenAjaxInputField+"']",m).length!=0){var r=jQuery("input[name$='"+j.selectorHiddenAjaxInputField+"']",m).val();var q="";var o="ajax";p.event.preventDefault();}else{if(jQuery(j.selectorModalboxContentContainer,m).length!=0){if(jQuery(j.selectorModalboxContentContainer+" img"+j.selectorImageGallery,m).length!=0){var n=jQuery(j.selectorModalboxContentContainer+" img"+j.selectorImageGallery,m);}var r="";var q=jQuery(j.selectorModalboxContentContainer,m).html();var o="static";p.event.preventDefault();}else{if(j.getStaticContentFrom){var r="";var q=jQuery(j.getStaticContentFrom).html();var o="static";p.event.preventDefault();}else{p.doNotOpenModalBoxContent=true;}}}}if(!p.doNotOpenModalBoxContent){g({type:o,element:m,source:r,data:q,loadingImagePreparer:{currentImageObj:n,finalizeModalBox:false}});}if(p.isFormSubmit){return false;}}}function e(n){var n=jQuery.extend({ar_XMLHttpRequest:null,ar_textStatus:null,ar_errorThrown:null,targetContainer:null,ar_enableDebugging:false},n||{});var o=n.ar_XMLHttpRequest;var r=n.ar_textStatus;var p=n.ar_errorThrown;if(o&&r!="error"){if(o.status==403){var q=o.getResponseHeader("Location");if(typeof q!=="undefined"){location.href=q;}}else{if(o.status==500&&n.targetContainer){m({errorMessage:j.localizedStrings["errorMessageXMLHttpRequest"],targetContainer:n.targetContainer});}}if(n.ar_enableDebugging){console.log("XMLHttpRequest.status: "+o.status);}}else{if(r=="error"){if(n.targetContainer){m({errorMessage:j.localizedStrings["errorMessageTextStatusError"],targetContainer:n.targetContainer});}if(n.ar_enableDebugging){console.log("textStatus: "+r);}}else{}}function m(s){var s=jQuery.extend({errorMessage:null,targetContainer:null},s||{});if(s.errorMessage&&s.targetContainer){var t='<div class="simleModalboxErrorBox"><div class="simleModalboxErrorBoxContent">'+s.errorMessage+"</div></div>";jQuery(s.targetContainer).removeAttr("style").html(t);if(jQuery(s.targetContainer).parents(j.selectorModalboxContainer).length>0){jQuery(j.selectorAjaxLoader).remove();i();}}}}function f(m){var m=jQuery.extend({type:m.type,element:m.element,source:m.source,data:m.data,loadingImagePreparer:{currentImageObj:m.loadingImagePreparer["currentImageObj"],finalizeModalBox:m.loadingImagePreparer["finalizeModalBox"]},nameOfImagePreloaderContainer:"imagePreparerLoader",wrapContainer:'<div class="modalBoxCarouselItemContainer"></div>'},m||{});var n=m.loadingImagePreparer["currentImageObj"];if(n){jQuery(j.selectorModalboxContentContainer).css({display:"block",position:"absolute",left:"-9999px",top:"-9999px"}).removeAttr("style");g({type:m.type,element:m.element,source:m.source,data:m.data,loadingImagePreparer:{currentImageObj:n,finalizeModalBox:true,nameOfImagePreloaderContainer:m.nameOfImagePreloaderContainer}});}}function g(n){var n=jQuery.extend({type:null,element:null,source:null,data:null,loadingImagePreparer:{currentImageObj:null,finalizeModalBox:false,nameOfImagePreloaderContainer:null},prepareCustomWidthOfModalBox:"",setModalboxClassName:""},n||{});function o(){a.close({callFunctionBeforeHide:j.callFunctionBeforeHide,callFunctionAfterHide:j.callFunctionAfterHide});}if(!j.killModalboxWithCloseButtonOnly){jQuery(j.selectorFadingLayer).die("click").live("click",function(){o();});}jQuery(j.selectorModalboxContainer+" .closeModalBox").die("click").live("click",function(){o();});jQuery(j.selectorPreCacheContainer).remove();if(n.loadingImagePreparer["currentImageObj"]&&!n.loadingImagePreparer["finalizeModalBox"]){f({type:n.type,element:n.element,source:n.source,data:n.data,loadingImagePreparer:n.loadingImagePreparer});}else{if(n.type&&j.callFunctionBeforeShow()){if(n.source){n.source=a.addAjaxUrlParameter({currentURL:n.source});}if(n.element){if(jQuery(n.element).hasClass("large")){n.setModalboxClassName+="large";}else{if(jQuery(n.element).hasClass("medium")){n.setModalboxClassName+="medium";}else{if(jQuery(n.element).hasClass("small")){n.setModalboxClassName+="small";}else{if(n.loadingImagePreparer["nameOfImagePreloaderContainer"]){n.setModalboxClassName+="auto modalBoxBodyContentImageContainer";}}}}if(jQuery(n.element).hasClass("emphasis")){n.setModalboxClassName+=" emphasis";}}if(j.customClassName){n.setModalboxClassName+=" "+j.customClassName;}if(j.draggable){n.setModalboxClassName+=" modalboxIsDraggable";}if(j.setWidthOfModalLayer){n.prepareCustomWidthOfModalBox+="width:"+parseInt(j.setWidthOfModalLayer)+"px; ";}if(jQuery(j.selectorModalboxContainer).length==0){jQuery("body").append(a.modalboxBuilder({customStyles:'class="'+n.setModalboxClassName+'" style="'+n.prepareCustomWidthOfModalBox+'"'}));}else{a.clean();}var m=function(){switch(n.type){case"static":jQuery(j.selectorAjaxLoader).hide();jQuery(j.selectorModalboxBodyContentContainer,j.selectorModalboxContainer).html(n.data);i({callFunctionAfterShow:j.callFunctionAfterShow});break;case"ajax":jQuery.ajax({type:j.ajax_type,url:n.source,data:n.data,contentType:j.ajax_contentType,success:function(p,q){jQuery(j.selectorAjaxLoader).fadeOut("fast",function(){jQuery(j.selectorModalboxBodyContentContainer,j.selectorModalboxContainer).html(p);i({callFunctionAfterShow:j.callFunctionAfterShow});});},error:function(p,r,q){e({ar_XMLHttpRequest:p,ar_textStatus:r,ar_errorThrown:q,targetContainer:j.selectorModalboxContainer+" "+j.selectorModalboxBodyContentContainer});}});break;}if(j.draggable){a.dragBox();}};l({callFunctionAfterShow:m});}}}function l(n){var n=jQuery.extend({isResized:false,callFunctionAfterShow:null},n||{});if(jQuery(j.selectorFadingLayer).length==0){if(j.setTypeOfFadingLayer=="white"){var m=j.setStylesOfFadingLayer["white"];}else{if(j.setTypeOfFadingLayer=="black"){var m=j.setStylesOfFadingLayer["black"];}else{if(j.setTypeOfFadingLayer=="custom"&&j.setStylesOfFadingLayer["custom"]){var m=j.setStylesOfFadingLayer["custom"];}else{var m=j.setStylesOfFadingLayer["transparent"];}}}var p=a.cleanupSelectorName({replaceValue:j.selectorFadingLayer});jQuery("body").append('<div id="'+p+'" style="'+m+'"></div>');var o=jQuery(j.selectorFadingLayer);if(j.setTypeOfFadingLayer=="disable"){j.effectType_show_fadingLayer[0]="";}switch(j.effectType_show_fadingLayer[0]){case"fade":o.fadeIn(j.effectType_show_fadingLayer[1],function(){i({isResized:n.isResized,callFunctionAfterShow:n.callFunctionAfterShow});});break;default:o.show();i({isResized:n.isResized,callFunctionAfterShow:n.callFunctionAfterShow});break;}jQuery(window).resize(function(){if(o.is(":visible")){i({isResized:true});}});}else{i({isResized:n.isResized,callFunctionAfterShow:n.callFunctionAfterShow});}}function i(o){var o=jQuery.extend({isResized:false,callFunctionAfterShow:null},o||{});var m=jQuery(j.selectorModalboxContainer);if(jQuery(j.selectorPreCacheContainer).length==0&&m.length!=0){if(jQuery("body a.modalBoxTopLink").length==0){jQuery("body").prepend('<a class="modalBoxTopLink"></a>');}var n=false;var s="absolute";var q=0;var r=m.width();var p=m.height();var u=parseInt(jQuery(window).width()-r)/2;if(u<=0){u=0;}if(j.positionLeft){u=j.positionLeft+"px";}else{u=u+"px";}if(j.positionTop){q=parseInt(jQuery(window).height()-p);if(q>parseInt(j.positionTop)){s="fixed";}q=j.positionTop+"px";}else{q=parseInt(jQuery(window).height()-p-70)/2;if(q<=0){q=j.minimalTopSpacingOfModalbox+"px";n=true;}else{q=q+"px";s="fixed";}}function t(){if(n&&!m.hasClass("modalboxScrollingSuccessfully")){m.addClass("modalboxScrollingSuccessfully");a.scrollTo();}if(!o.isResized){if(o.callFunctionAfterShow){o.callFunctionAfterShow();}}}switch(j.effectType_show_modalBox[0]){case"fade":if(m.hasClass("modalboxFadingSuccessfully")){m.css({position:s,left:u,top:q,display:"block",visibility:"visible"});t();}else{m.css({position:s,left:u,top:q,visibility:"visible"}).fadeIn(j.effectType_show_modalBox[1],function(){jQuery(this).addClass("modalboxFadingSuccessfully");t();});}break;default:m.css({position:s,left:u,top:q,display:"block",visibility:"visible"});t();break;}}}},close:function(e){var e=jQuery.extend({},d,e);if(e.selectorFadingLayer&&e.selectorModalboxContainer){e.callFunctionBeforeHide();var g=jQuery(e.selectorFadingLayer+", "+e.selectorModalboxContainer);if(e.setTypeOfFadingLayer=="disable"){e.effectType_hide_fadingLayer[0]="";}switch(e.effectType_hide_fadingLayer[0]){case"fade":switch(e.effectType_hide_modalBox[0]){case"fade":jQuery(e.selectorModalboxContainer).fadeOut(e.effectType_hide_modalBox[1],function(){jQuery(e.selectorFadingLayer).fadeOut(e.effectType_hide_fadingLayer[1],function(){f(g);});});break;default:jQuery(e.selectorModalboxContainer).hide();jQuery(e.selectorFadingLayer).fadeOut(e.effectType_hide_fadingLayer[1],function(){f(g);});break;}break;default:switch(e.effectType_hide_modalBox[0]){case"fade":jQuery(e.selectorModalboxContainer).fadeOut(e.effectType_hide_modalBox[1],function(){f(g);});break;default:f(g);break;}break;}}function f(h){h.remove();e.callFunctionAfterHide();}},clean:function(e){var e=jQuery.extend({},d,e);if(e.selectorModalboxBodyContentContainer){var f=a.cleanupSelectorName({replaceValue:e.selectorAjaxLoader});jQuery(e.selectorModalboxBodyContentContainer).html('<div id="'+f+'">'+e.localizedStrings["messageAjaxLoader"]+"</div>");}},scrollTo:function(f){var f=jQuery.extend({targetElement:"a.modalBoxTopLink",typeOfAnimation:"swing",animationSpeed:800,callAfterSuccess:function(){}},f||{});if(f.targetElement){if(jQuery.browser.webkit){var e=jQuery("body");}else{var e=jQuery("html");}e.animate({scrollTop:jQuery(f.targetElement).offset().top},f.animationSpeed,f.typeOfAnimation,function(){f.callAfterSuccess();});}},cleanupSelectorName:function(e){var e=jQuery.extend({replaceValue:""},e||{});var f=e.replaceValue;f=f.replace(/[#]/g,"");f=f.replace(/[.]/g,"");return f;},dragBox:function(f){var f=jQuery.extend({dragObject:null,dragObjectPosX:0,dragObjectPosY:0,documentPosX:0,documentPosY:0},f||{});f=jQuery.extend({},d,f);function e(g){f.dragObject=g;f.dragObjectPosX=(f.documentPosX-f.dragObject.offsetLeft);f.dragObjectPosY=(f.documentPosY-f.dragObject.offsetTop);}jQuery(document).mousemove(function(g){f.documentPosX=g.pageX;f.documentPosY=g.pageY;if(f.dragObject){jQuery(f.dragObject).css({left:(f.documentPosX-f.dragObjectPosX)+"px",top:(f.documentPosY-f.dragObjectPosY)+"px"});}});jQuery(f.selectorModalboxContainer+" .modalboxStyleContainer_surface_top, "+f.selectorModalboxContainer+" .modalboxStyleContainer_surface_bottom").unbind("mousedown").bind("mousedown",function(g){if(g.type=="mousedown"){jQuery(f.selectorModalboxContainer).unbind("mousemove mouseup").bind("mousemove mouseup",function(h){var i=jQuery(this);if(i.is(":visible")){if(h.type=="mousemove"){e(this);}else{if(h.type=="mouseup"){f.dragObject=null;i.unbind("mousemove");}}}});}});},addAjaxUrlParameter:function(e){var e=jQuery.extend({currentURL:"",addParameterName:"ajaxContent",addParameterValue:"true"},e||{});var g=e.currentURL;if(g.indexOf(e.addParameterName)!=-1){g=g;}else{if(g.indexOf("?")!=-1){var f="&";}else{var f="?";}g=g+f+e.addParameterName+"="+e.addParameterValue;}return g;},precache:function(e){var e=jQuery.extend({},d,e);if(e.selectorPreCacheContainer){if(jQuery(e.selectorPreCacheContainer).length==0){var h=a.cleanupSelectorName({replaceValue:e.selectorPreCacheContainer});var g=a.modalboxBuilder();var f="";f+='<div id="'+h+'" style="position:absolute; left:-9999px; top:-9999px;">';f+=g;f+="</div>";jQuery("body").append(f);jQuery(e.selectorModalboxContainer).show();}}},modalboxBuilder:function(h){var h=jQuery.extend({customStyles:""},h||{});h=jQuery.extend({},d,h);var g=a.cleanupSelectorName({replaceValue:h.selectorModalboxContainer});var f=a.cleanupSelectorName({replaceValue:h.selectorModalboxBodyContainer});var k=a.cleanupSelectorName({replaceValue:h.selectorModalboxBodyContentContainer});var e=a.cleanupSelectorName({replaceValue:h.selectorModalboxCloseContainer});var j=a.cleanupSelectorName({replaceValue:h.selectorAjaxLoader});var i="";i+='<div id="'+g+'"'+h.customStyles+">";i+='<div id="'+f+'">';i+=h.setModalboxLayoutContainer_Begin;i+='<div class="'+k+'">';i+='<div id="'+j+'">'+h.localizedStrings["messageAjaxLoader"]+"</div>";i+="</div>";i+=h.setModalboxLayoutContainer_End;i+='<div id="'+e+'"><a href="javascript:void(0);" class="closeModalBox"><span class="closeModalBox">'+h.localizedStrings["messageCloseWindow"]+"</span></a></div>";i+="</div>";i+="</div>";return i;}};jQuery.fn.modalBox=function(e){if(a[e]){return a[e].apply(this,Array.prototype.slice.call(arguments,1));}else{if(typeof e==="object"||!e){return a.init.apply(this,arguments);}else{jQuery.error("Method "+e+" does not exist on jQuery.modalBox");}}};jQuery(document).ready(function(){jQuery.fn.modalBox("precache");jQuery(".openmodalbox").modalBox();});})(jQuery);
/* jquery.endless-scroll.min.js v1.3 [http://plugins.jquery.com/project/endless-scroll] */
(function(a){a.fn.endlessScroll=function(c){var f={bottomPixels:50,fireOnce:true,fireDelay:150,loader:"<br />Loading...<br />",data:"",insertAfter:"div:last",resetCounter:function(){return false;},callback:function(){return true;},ceaseFire:function(){return false;}};var c=a.extend(f,c);var d=true;var e=false;var b=0;if(c.ceaseFire.apply(this)===true){d=false;}if(d===true){a(window).scroll(function(){if(a(document).height()-a(window).height()<=a(window).scrollTop()+c.bottomPixels){if((c.fireOnce==false||(c.fireOnce==true&&e!=true))){if(c.resetCounter.apply(this)===true){b=0;}e=true;b++;a(c.insertAfter).after('<div id="endless_scroll_loader">'+c.loader+"</div>");if(typeof c.data=="function"){data=c.data.apply(this);}else{data=c.data;}if(data!==false){a("div#endless_scroll_loader").remove();a(c.insertAfter).after('<div id="endless_scroll_data">'+data+"</div>");a("div#endless_scroll_data").hide().fadeIn();a("div#endless_scroll_data").removeAttr("id");var g=new Array();g[0]=b;c.callback.apply(this,g);if(c.fireDelay!==false||c.fireDelay!==0){a("body").after('<div id="endless_scroll_marker"></div>');a("div#endless_scroll_marker").fadeTo(c.fireDelay,1,function(){a(this).remove();e=false;});}else{e=false;}}}}});}};})(jQuery);
/* jquery.formdesigner-1.0.0-min.js [http://code.google.com/p/jquery-formdesigner-plugin/] */
(function(a){var b={cssSkipParameter:{position:"absolute",left:"-9999px",top:"-9999px",width:"auto",height:"auto"},SelectboxOptions_BorderSpacing:2,SelectboxOptions_MaxHeight:300,SelectboxOptions_OpenOptionListOnHover:false,elementWrapper:".formDesigner",elementWrapperHeader:".formDesignerHeader",elementWrapperOptions:".formDesignerOptions",classNameHover:"formDesignerHover",classNameChecked:"formDesignerChecked",classNameDisabled:"formDesignerDisabled",classNameSkip:"formDesignerSkip",layoutAppendContainer_SelectBox:'<div class="formDesignerHeader"><div class="formDesignerHeaderInner"><div class="formDesignerHeaderText"></div><div class="formDesignerHeaderIcon"><!-- - --></div></div></div><div class="formDesignerOptions"></div>',layoutAppendContainer_InputRadio:'<div class="formDesignerHeader"><div class="formDesignerHeaderInner"><div class="formDesignerHeaderIcon"><!-- - --></div></div></div>',layoutAppendContainer_InputCheckbox:'<div class="formDesignerHeader"><div class="formDesignerHeaderInner"><div class="formDesignerHeaderIcon"><!-- - --></div></div></div>',layoutAppendContainer_InputSubmit:'<div class="formDesignerHeader"><div class="formDesignerHeaderInner"><div class="formDesignerHeaderIcon"><!-- - --></div></div></div>',layoutWrapContainer_SelectBox:'<div class="formDesigner formDesignerSelectBox"></div>',layoutWrapContainer_InputRadio:'<div class="formDesigner formDesignerInputRadio"></div>',layoutWrapContainer_InputCheckbox:'<div class="formDesigner formDesignerInputCheckbox"></div>',layoutWrapContainer_InputSubmit:'<div class="formDesigner formDesignerInputSubmit"></div>',layoutWrapContainer_InputText:'<div class="formDesigner formDesignerInputText"><div class="formDesignerHeader"><div class="formDesignerHeaderInner"><div class="formDesignerHeaderIcon"></div></div></div></div>',layoutWrapContainer_InputPassword:'<div class="formDesigner formDesignerInputPassword"><div class="formDesignerHeader"><div class="formDesignerHeaderInner"><div class="formDesignerHeaderIcon"></div></div></div></div>',layoutWrapContainer_Textarea:'<div class="formDesigner formDesignerTextarea"><div class="formDesignerHeader formDesignerTextareaWrapper_0"><div class="formDesignerTextareaWrapper_1"><div class="formDesignerTextareaWrapper_2"></div></div><div class="formDesignerTextareaWrapper_3"><div class="formDesignerTextareaWrapper_4"><!-- - --></div></div></div></div>',copyClassNamesFromFormElement:true,callFunctionAfterInit:function(){}};jQuery.fn.formDesigner=function(c){var c=jQuery.extend({},b,c);return this.each(function(){var j=jQuery(this);var i=false;if(j.is("form")){i=true;var d=jQuery("select",j);d.css(c.cssSkipParameter).wrap(c.layoutWrapContainer_SelectBox);jQuery("div.formDesignerSelectBox",j).append(c.layoutAppendContainer_SelectBox);var f=jQuery("input[type='radio']",j);f.css(c.cssSkipParameter).wrap(c.layoutWrapContainer_InputRadio);jQuery("div.formDesignerInputRadio",j).append(c.layoutAppendContainer_InputRadio);var g=jQuery("input[type='checkbox']",j);g.css(c.cssSkipParameter).wrap(c.layoutWrapContainer_InputCheckbox);jQuery("div.formDesignerInputCheckbox",j).append(c.layoutAppendContainer_InputCheckbox);var g=jQuery("input[type='submit'], input[type='button']",j);g.css(c.cssSkipParameter).wrap(c.layoutWrapContainer_InputSubmit);jQuery("div.formDesignerInputSubmit",j).append(c.layoutAppendContainer_InputCheckbox);jQuery("input[type='text']",j).wrap(c.layoutWrapContainer_InputText);jQuery("input[type='password']",j).wrap(c.layoutWrapContainer_InputPassword);jQuery("textarea",j).wrap(c.layoutWrapContainer_Textarea);}jQuery(c.elementWrapper,j).each(function(){if(i){var s=jQuery(this);var t=jQuery(".formDesignerHeader",s);var q=jQuery("select",s);var m=jQuery("input[type='radio'], input[type='checkbox']",s);var o=jQuery("input[type='submit'], input[type='button']",s);var v=jQuery("input[type='text']",s);var r=jQuery("input[type='password']",s);var p=jQuery("textarea",s);var x=jQuery(c.elementWrapperHeader,s);if(q.length>0){if(c.SelectboxOptions_OpenOptionListOnHover){var n="";}else{var n=" doNotOpenOnHover";}if(c.copyClassNamesFromFormElement){q.parent(c.elementWrapper).addClass(q.attr("class")+n);}else{q.parent(c.elementWrapper).addClass(n);}jQuery(".formDesignerHeaderText",t).text(jQuery("option:selected",q).text());var l="";jQuery("option",q).each(function(y){var z=jQuery(this);z.attr({"formdesignerindex":y});l+='<a rel="nofollow" href="javascript:void(0);" formdesignerindex="'+y+'">'+z.text()+"</a>";});var k=jQuery(".formDesignerOptions",s);k.append(l);jQuery("a",k).die("click").live("click",function(){var z=jQuery(this);var y=z.attr("formdesignerindex");jQuery("option",q).each(function(A){if(jQuery(this).attr("formdesignerindex")==y){jQuery(this).attr("selected",true);}});jQuery(".formDesignerHeaderText",t).text(z.text());});}if(m.length>0){if(c.copyClassNamesFromFormElement){s.addClass(m.attr("class"));}var u=s.prev("label");var w=s.next("label");if(u.length>0){u.prependTo(s).addClass("formDesignerLabel formDesignerLabelLeft");}else{if(w.length>0){w.appendTo(s).addClass("formDesignerLabel formDesignerLabelRight");}}if(m.attr("checked")&&!x.hasClass(c.classNameChecked)){x.addClass(c.classNameChecked);}if(m.attr("disabled")&&!s.hasClass(c.classNameDisabled)){s.addClass(c.classNameDisabled);}jQuery(".formDesignerHeader",s).die("click").live("click",function(){if(!s.hasClass(c.classNameDisabled)){if(s.hasClass("formDesignerInputCheckbox")){if(x.hasClass(c.classNameChecked)){m.attr("checked",false);}else{m.attr("checked",true);}}else{if(!x.hasClass(c.classNameChecked)){m.attr("checked",true);}}}});}if(o.length>0){if(c.copyClassNamesFromFormElement){s.addClass(o.attr("class"));}jQuery(".formDesignerHeader .formDesignerHeaderIcon",s).text(o.val());if(o.attr("disabled")&&!s.hasClass(c.classNameDisabled)){s.addClass(c.classNameDisabled);}jQuery(".formDesignerHeader",s).die("click").live("click",function(){if(!s.hasClass(c.classNameDisabled)){o.click();}});}if(v.length>0){if(c.copyClassNamesFromFormElement){s.addClass(v.attr("class"));}var u=s.prev("label");var w=s.next("label");if(u.length>0){u.prependTo(s).addClass("formDesignerLabel formDesignerLabelLeft");}else{if(w.length>0){w.appendTo(s).addClass("formDesignerLabel formDesignerLabelRight");}}if(v.attr("disabled")&&!s.hasClass(c.classNameDisabled)){s.addClass(c.classNameDisabled);}}if(r.length>0){if(c.copyClassNamesFromFormElement){s.addClass(r.attr("class"));}var u=s.prev("label");var w=s.next("label");if(u.length>0){u.prependTo(s).addClass("formDesignerLabel formDesignerLabelLeft");}else{if(w.length>0){w.appendTo(s).addClass("formDesignerLabel formDesignerLabelRight");}}if(r.attr("disabled")&&!s.hasClass(c.classNameDisabled)){s.addClass(c.classNameDisabled);}}if(p.length>0){if(c.copyClassNamesFromFormElement){s.addClass(p.attr("class"));}var u=s.prev("label");var w=s.next("label");if(u.length>0){u.prependTo(s).addClass("formDesignerLabel formDesignerLabelLeft");}else{if(w.length>0){w.appendTo(s).addClass("formDesignerLabel formDesignerLabelRight");}}if(p.attr("disabled")&&!s.hasClass(c.classNameDisabled)){s.addClass(c.classNameDisabled);}}}}).hover(function(){var l=jQuery(this);var k=jQuery("select",l);if(k.length>0&&l.hasClass("doNotOpenOnHover")){l.addClass("isSelectAndHovered");}if(!l.hasClass(c.classNameDisabled)){e({obj:l,isSelectAndHovered:l.hasClass("isSelectAndHovered")});}},function(){var l=jQuery(this);var k=jQuery("select",l);if(k.length>0){l.removeClass("isSelectAndHovered");}h({obj:l});}).click(function(){var o=jQuery(this);var m=jQuery(c.elementWrapperHeader,o);var l=jQuery("select",o);var n=jQuery("input[type='radio'], input[type='checkbox']",o);if(l.length>0){if(!m.hasClass(c.classNameHover)||o.hasClass("isSelectAndHovered")){o.removeClass("isSelectAndHovered");m.addClass(c.classNameHover);e({obj:o});}else{h({obj:o});}}if(n.length>0){if(o.hasClass("formDesignerInputCheckbox")){if(n.attr("checked")&&!m.hasClass(c.classNameChecked)){m.addClass(c.classNameChecked);}else{m.removeClass(c.classNameChecked);}}else{if(n.attr("checked")&&!m.hasClass(c.classNameChecked)){var k=n.attr("name");jQuery("input[type='radio'][name='"+k+"'], input[type='checkbox'][name='"+k+"']").next(m).removeClass(c.classNameChecked);m.addClass(c.classNameChecked);}}}});c.callFunctionAfterInit();j.removeClass(c.classNameSkip);function e(m){var m=jQuery.extend({obj:null,isSelectAndHovered:false},m||{});if(m.obj){var q=m.obj;var l=jQuery(c.elementWrapperHeader,q);if(!l.hasClass("active")){l.addClass(c.classNameHover);}if(q.hasClass("formDesignerSelectBox")&&!m.isSelectAndHovered){var o=l.position();var p=l.outerHeight();var k=l.outerWidth();var n=jQuery(c.elementWrapperOptions,q);if(k>n.outerWidth()){n.width(Math.abs(k-c.SelectboxOptions_BorderSpacing));}if(c.SelectboxOptions_MaxHeight<n.outerHeight()){n.height(c.SelectboxOptions_MaxHeight).width(Math.abs(n.width()+18));}n.css({position:"absolute",left:o.left+"px",top:Math.abs((o.top+p)-1)+"px"});}}}function h(k){var k=jQuery.extend({obj:null},k||{});if(k.obj){var l=k.obj;if(!jQuery(c.elementWrapperHeader,l).hasClass("active")){jQuery(c.elementWrapperHeader,l).removeClass(c.classNameHover);}if(l.hasClass("formDesignerSelectBox")){jQuery(c.elementWrapperOptions,l).css(c.cssSkipParameter);}}}});};})(jQuery);
/* jquery.baur.tablist.min.js */
(function(c){var d={selectorTablistTargetContainer:".tablistTargetContainer",selectorTablistContainerContent:".tablistContainerContent",selectorTablistContainerSelected:".tablistContainerSelected",selectorTablistContainerFirstItem:".tablistContainerFirstItem",selectorTablistContainerLastItem:".tablistContainerLastItem",selectorTablistContainerHasNoFirstAndLastItem:".tablistContainerHasNoFirstAndLastItem",selectorTablistPreparedSuccess:".tablistPreparedSuccess",selectorTablistContainerSkip:".tablistContainerSkip",selectorTablistAutoWidth:".tablistAutoWidth",selectorTablistMultitabAddPlaceholder:".tablistMultitabAddPlaceholder",selectorTablistContainerPlaceholder:".tablistContainerPlaceholder",selectorTablistContainerHeaderTextInner:".tablistContainerHeaderTextInner",selectorTablistContainerWrapperRow:".tablistContainerWrapperRow",selectorTablistContainerWrapper:".tablistContainerWrapper",selectorTablistContainer:".tablistContainer",callFunctionAfterSuccess:function(){},debug:false,debugOuputMessagePrefix:"Baur Tablist : "};try{d=jQuery.extend({},d,tablistGlobalDefaults);}catch(b){}var a={init:function(n){var g=this;if(g.length>0){var n=jQuery.extend({},d,n);var k=a.cleanupSelectorName({replaceValue:n.selectorTablistTargetContainer});var e=a.cleanupSelectorName({replaceValue:n.selectorTablistContainerSelected});var f=a.cleanupSelectorName({replaceValue:n.selectorTablistContainerFirstItem});var i=a.cleanupSelectorName({replaceValue:n.selectorTablistContainerLastItem});var h=a.cleanupSelectorName({replaceValue:n.selectorTablistContainerHasNoFirstAndLastItem});var o=a.cleanupSelectorName({replaceValue:n.selectorTablistPreparedSuccess});var j=a.cleanupSelectorName({replaceValue:n.selectorTablistContainerSkip});var l=a.cleanupSelectorName({replaceValue:n.selectorTablistAutoWidth});var m=a.cleanupSelectorName({replaceValue:n.selectorTablistMultitabAddPlaceholder});var p=a.cleanupSelectorName({replaceValue:n.selectorTablistContainer});var q=a.cleanupSelectorName({replaceValue:n.selectorTablistContainerWrapperRow});return g.each(function(){var w=jQuery(this);if(!w.hasClass(o)){if(n.debug){a.debugOutput({error:"1. prepare basic container / 2. unbind old click event / 3. init click event / 4. prepare wrapping container and set dimensions"});a.debugOutput({error:"---------------------"});}if(jQuery(n.selectorTablistTargetContainer,w).length==0){w.append('<div class="'+k+' clearfix"></div>');}var t=jQuery(n.selectorTablistTargetContainer,w);var C=jQuery(n.selectorTablistContainer,w);var y=jQuery(n.selectorTablistContainerWrapper,w);var r=y.width();var B=r;var A=0;C.each(function(D){var E=jQuery(this);if(E.hasClass(e)&&!w.hasClass("foundPreSelectedItems")){w.addClass("foundPreSelectedItems");}E.attr({"tablistContainerContentCount":D});jQuery(n.selectorTablistContainerContent,E).addClass(j).attr({"tablistContainerContentCount":D}).appendTo(t);}).unbind("click").click(function(F){var G=jQuery(this);if(!G.hasClass(e)){var D=jQuery(n.selectorTablistContainerContent,t);var E=D.get(G.attr("tablistContainerContentCount"));C.removeClass(e);G.addClass(e);D.addClass(j);jQuery(E).removeClass(j);x(G);C.each(function(){z(jQuery(this));});}}).each(function(D){var F=jQuery(this);var E=F.width();if(!(B>E)){A++;B=r;}B-=E;var G=q+"_"+A;if(jQuery(n.selectorTablistContainerWrapper+" ."+G,w).length==0){jQuery(n.selectorTablistContainerWrapper,w).append('<div class="'+G+" "+q+' clearfix"></div>');}F.attr({"tablistcontainercurrentrow":A}).appendTo(jQuery(n.selectorTablistContainerWrapper+" ."+G,w));});var u=v();s(jQuery("div[class^='"+q+"_']",y));w.addClass(o).removeClass("tablistVisibleNo");if(n.debug){a.debugOutput({error:"addClass: "+o+", remove class: tablistVisibleNo"});a.debugOutput({error:"---------------------"});}}else{if(n.debug){a.debugOutput({error:"is already initialized"});}}function v(){if(n.debug){a.debugOutput({error:'call "preSelectTab"'});a.debugOutput({error:"---------------------"});}var D=jQuery(n.selectorTablistContainerContent,t);if(w.hasClass("foundPreSelectedItems")){var F=f;var H=jQuery(n.selectorTablistContainer+n.selectorTablistContainerSelected+":first",w);var E=D.get(H.attr("tablistContainerContentCount"));jQuery(n.selectorTablistContainer+n.selectorTablistContainerSelected,w).not(n.selectorTablistContainerSelected+":first").removeClass(e);var G=jQuery(n.selectorTablistContainerWrapper+" div[class^='"+q+"_'] .tablistContainer"+n.selectorTablistContainerSelected+":first",w);}else{var F=f;var H=jQuery(n.selectorTablistContainer+":first",w);var E=D.get(H.attr("tablistContainerContentCount"));var G=jQuery(n.selectorTablistContainerWrapper+" div[class^='"+q+"_']:first .tablistContainer:first",w);G.addClass(e);}x(G);jQuery(E).removeClass(j);return F;}function x(E){if(n.debug){a.debugOutput({error:'call "moveContainerGroup" / currentObj:'});a.debugOutput({error:E});a.debugOutput({error:"---------------------"});}var F=jQuery("div[class^='"+q+"_']",w);var D=E.parent(jQuery(n.selectorTablistContainerWrapperRow));if(!D.hasClass("tablistContainerIsMoved")){F.removeClass(e+" tablistContainerIsMoved");D.addClass(e+" tablistContainerIsMoved").appendTo(jQuery(n.selectorTablistContainerWrapper,w));}}function s(E){if(n.debug){a.debugOutput({error:'call "refreshDimensions" / loopContainerObj:'});a.debugOutput({error:E});a.debugOutput({error:"---------------------"});}var F=((w.hasClass(l)||E.length>1)?true:false);var D=(w.hasClass(m)?true:false);E.each(function(O){var L=jQuery(this);var H=L.width();var R=jQuery(n.selectorTablistContainer,L);var S=H;var J=R.length;var N="tablistContainerWrapperRowElementCount_"+J;var T=(J==1?true:false);if(T||D){var P=0;R.each(function(){P+=jQuery(this).width();});var Q=L.width()-P;var G='<div class="tablistContainer tablistContainerPlaceholder">';G+='<div class="tablistContainerHeader">';G+='<div class="tablistContainerHeaderTextOuther">';G+='<div class="tablistContainerHeaderTextInner">';G+='<div class="tablistContainerHeaderTextIcon"><!-- - --></div>';G+="</div>";G+="</div>";G+="</div>";G+="</div>";L.not(n.selectorTablistContainerSelected).append(G);R=jQuery(n.selectorTablistContainer,L);J=R.length;N="tablistContainerWrapperRowElementCount_"+J;}var K=40;if(w.hasClass("tablistMultitab")){K=80;}if(!L.hasClass(N)){L.addClass(N);}var I=jQuery(n.selectorTablistContainer+":first",L);if(!I.hasClass(u)){var N=u;if(T&&!D){N+=" "+h;}I.addClass(N);}var M=jQuery(n.selectorTablistContainer+":last",L);if(!M.hasClass(u)){M.addClass(i);}R.each(function(){var U=jQuery(this);if(F){S-=U.width();}z(U);}).each(function(){if(F){var X=jQuery(this);var V=jQuery(n.selectorTablistContainerHeaderTextInner,X);var W=V.width();var U=H-K;if(J>1){U=X.width()-K+(S/J);}V.width(U);}});});}function z(D){if(n.debug){a.debugOutput({error:'call "refreshClasses" / currentObj:'});a.debugOutput({error:D});a.debugOutput({error:"---------------------"});}var E="";D.removeClass("tablistContainerHasNextItem tablistContainerHasPrevItem tablistContainerNextItemIsPlaceholder tablistContainerPrevItemIsPlaceholder tablistContainerNextIsSelected tablistContainerPrevIsSelected");if(D.next(n.selectorTablistContainer).length>0){E+=" tablistContainerHasNextItem";}if(D.prev(n.selectorTablistContainer).length>0){E+=" tablistContainerHasPrevItem";}if(D.next(n.selectorTablistContainerPlaceholder).length>0){E+=" tablistContainerNextItemIsPlaceholder";}if(D.prev(n.selectorTablistContainerPlaceholder).length>0){E+=" tablistContainerPrevItemIsPlaceholder";}if(D.next(n.selectorTablistContainerSelected).length>0){E+=" tablistContainerNextIsSelected";}if(D.prev(n.selectorTablistContainerSelected).length>0){E+=" tablistContainerPrevIsSelected";}D.addClass(E);}n.callFunctionAfterSuccess();});}},cleanupSelectorName:function(e){var e=jQuery.extend({replaceValue:""},e||{});e.replaceValue=e.replaceValue.replace(/[#]/g,"");e.replaceValue=e.replaceValue.replace(/[.]/g,"");return e.replaceValue;},debugOutput:function(f){var f=jQuery.extend({error:null,debugOuputMessagePrefix:""},f||{});f=jQuery.extend({},d,f);if(f.error&&(("console" in window)&&("firebug" in console))){e();}function e(){var g=(typeof(f.error)=="object"?f.error:f.debugOuputMessagePrefix+f.error);console.log(g);}}};jQuery.fn.tablist=function(e){if(a[e]){return a[e].apply(this,Array.prototype.slice.call(arguments,1));}else{if(typeof e==="object"||!e){return a.init.apply(this,arguments);}else{jQuery.error("Method "+e+" does not exist on jQuery.tablist");}}};})(jQuery);
/* jquery.baur.mainlayernavi.min.js */
(function(b){var c={tableBegin:'<table cellpadding="0" cellspacing="0" border="0" class="listlayerTable"><tbody><tr><td class="level_1">',tableEnd:"</td></tr></tbody></table>",tableSpacer:'</td><td class="level_1">',localizationStringMore:"mehr...",callFunctionAfterSuccess:function(){},debug:false,debugOuputMessagePrefix:"Baur Main-Layer-Navi: "};var a={init:function(d){var d=jQuery.extend({arrayObj:null},d||{});d=jQuery.extend({},c,d);var e=jQuery(this);a.debugOutput({error:"---------------------------- "+d.debugOuputMessagePrefix+"BEGIN -------------------------------"});a.debugOutput({error:e});if(d.arrayObj){jQuery.each(d.arrayObj,function(f,g){if(g!=""){jQuery.each(g,function(m,o){var n="";var h=(typeof(o["autoSort"])!="undefined"&&o["autoSort"]=="false"?false:true);var p=(typeof(o["menue"])!="undefined"?o["menue"]:"");var l=(typeof(o["element"])!="undefined"?o["element"]:"");var k=(typeof(o["autoSortSplitCount"])!="undefined"?o["autoSortSplitCount"]:14);var j=(typeof(o["autoSortMinSubCount"])!="undefined"?o["autoSortMinSubCount"]:2);if(h){a.debugOutput({error:"~~~ element: "+o["element"]+" / prepareNaviAutoSort ~~~"});n=a.prepareNaviAutoSort({currentLayerArray:p,autoSortSplitCount:k,autoSortMinSubCount:j,debug:d.debug});}else{a.debugOutput({error:"~~~ element: "+o["element"]+" / prepareNaviManually ~~~"});n=a.prepareNaviManually({currentLayerArray:p,debug:d.debug});}jQuery(l).html(n);});}else{a.debugOutput({error:"empty value in <arrayObj>"});}});}else{a.debugOutput({error:"<arrayObj> is null"});}if(e.length>0){a.initEvents({currentObj:e,delayCounter:d.delayCounter,delayTime:d.delayTime});}else{a.debugOutput({error:"no target (thisObj) found"});}d.callFunctionAfterSuccess();a.debugOutput({error:"---------------------------- "+d.debugOuputMessagePrefix+"END -------------------------------"});},prepareNaviAutoSort:function(g){var g=jQuery.extend({currentLayerArray:null,autoSortSplitCount:14,autoSortMinSubCount:2,autoSortDefaultSubMenueMaxCount:60,returnValue:""},g||{});g=jQuery.extend({},c,g);if(g.currentLayerArray){g.currentLayerArray=a.sortObjectBy({object:g.currentLayerArray,field:"position"});a.debugOutput({error:"sorted currentLayerArray:"});a.debugOutput({error:g.currentLayerArray});g.returnValue+=g.tableBegin;var e=0;var d=0;var f=0;jQuery.each(g.currentLayerArray,function(k,n){var m=(typeof(n["currentURL"])!="undefined"?n["currentURL"]:"");var h=(typeof(n["displayName"])!="undefined"?n["displayName"]:"");var j=(!isNaN(parseInt(n["position"]))?parseInt(n["position"]):1);var o=(!isNaN(parseInt(n["blankLinesAfterThis"]))?parseInt(n["blankLinesAfterThis"]):0);var l=(typeof(n["generateLinkMore"])!="undefined"&&n["generateLinkMore"]=="true"?true:false);if(m!=""&&h!=""&&j>0){f++;if(o>0){for(k=0;k<o;k++){f++;}}if(l){f++;}}});jQuery.each(g.currentLayerArray,function(x,E){var B=(typeof(E["target"])!="undefined"?E["target"]:"");var t=(typeof(E["currentURL"])!="undefined"?E["currentURL"]:"");var k=(typeof(E["selectorID"])!="undefined"?E["selectorID"]:"");var r=(typeof(E["selectorClass"])!="undefined"?E["selectorClass"]:"");var m=(typeof(E["displayName"])!="undefined"?E["displayName"]:"");var w=(typeof(E["hideDisplayName"])!="undefined"&&E["hideDisplayName"]=="false"?false:true);var y=(!isNaN(parseInt(E["subMenueMaxCount"]))?parseInt(E["subMenueMaxCount"]):g.autoSortDefaultSubMenueMaxCount);var C=(typeof(E["subMenue"])!="undefined"?E["subMenue"]:"");var v=(typeof(E["displaySubCategories"])!="undefined"&&E["displaySubCategories"]=="false"?false:true);var u=(!isNaN(parseInt(E["position"]))?parseInt(E["position"]):1);var o=(!isNaN(parseInt(E["blankLinesAfterThis"]))?parseInt(E["blankLinesAfterThis"]):0);var q=(typeof(E["generateLinkMore"])!="undefined"&&E["generateLinkMore"]=="true"?true:false);var p="";var z="";var A="";if(t!=""&&m!=""&&u>0){e++;d++;g.returnValue+="<a ";if(B!=""){g.returnValue+=B;}if(k!=""){g.returnValue+=' id="'+k+'"';}if(r!=""){g.returnValue+=' class="'+r+'"';}g.returnValue+=' href="'+t+'"><span class="';if(w){g.returnValue+="skipElement";}g.returnValue+='">'+m+"</span></a>";if(o>0){for(x=0;x<o;x++){e++;d++;var n=(g.debug?"&nbsp;&nbsp;&nbsp;spC: "+g.autoSortSplitCount+" / alC: "+e+" - spacer_1":"&nbsp;");z+='<a class="layernavSubSpacingCell" href="javascript:void:0"><span>'+n+"</span></a>";}}var l=0;var j=0;var h=0;if(q){e++;d++;p='<a class="layernavSub layernavheadlineMore" href="'+t+'"><span class="layernavSub">'+g.localizationStringMore+"</span></a>";}var s=Math.abs(f-d);if(C!=""&&v&&y>0){if(C.length>y){C=C.slice(0,y);}C=a.sortObjectBy({object:C,field:"position"});jQuery.each(C,function(H,J){var I=(typeof(J["currentURL"])!="undefined"?J["currentURL"]:"");var F=(typeof(J["displayName"])!="undefined"?J["displayName"]:"");var G=(!isNaN(parseInt(J["position"]))?parseInt(J["position"]):1);if(I!=""&&F!=""&&G>0){h++;}});jQuery.each(C,function(K,G){var N=(typeof(G["target"])!="undefined"?G["target"]:"");var M=(typeof(G["currentURL"])!="undefined"?G["currentURL"]:"");var F=(typeof(G["selectorID"])!="undefined"?G["selectorID"]:"");var P=(typeof(G["selectorClass"])!="undefined"?G["selectorClass"]:"");var Q=(typeof(G["displayName"])!="undefined"?G["displayName"]:"");var I=(!isNaN(parseInt(G["position"]))?parseInt(G["position"]):1);var J=(!isNaN(parseInt(G["blankLinesAfterThis"]))?parseInt(G["blankLinesAfterThis"]):0);if(M!=""&&Q!=""&&I>0){l++;j++;e++;if(J>0){for(K=0;K<J;K++){l++;j++;e++;h++;var H=(g.debug?"&nbsp;&nbsp;&nbsp;spC: "+g.autoSortSplitCount+" / alC: "+e+" - spacer_2":"&nbsp;");A+='<a class="layernavSubSpacingCell" href="javascript:void:0"><span>111'+H+"</span></a>";}}g.returnValue+="<a ";if(N!=""){g.returnValue+=N;}if(F!=""){g.returnValue+=' id="'+F+'"';}if(P!=""){g.returnValue+=' class="'+P+'"';}g.returnValue+=' href="'+M+'"><span class="'+P+'">'+Q+"</span></a>";var L=Math.abs(h-j);if(L==0&&s!=0&&e<g.autoSortSplitCount){if(J==0){l++;j++;e++;h++;var H=(g.debug?"&nbsp;&nbsp;&nbsp;spC: "+g.autoSortSplitCount+" / alC: "+e+" - spacer_3":"&nbsp;");A+='<a class="layernavSubSpacingCell" href="javascript:void:0"><span>'+H+"</span></a>";}}var O=(((L==0&&s!=0)&&(g.autoSortMinSubCount>=(g.autoSortSplitCount-e)))||((e>=g.autoSortSplitCount)&&((L>=g.autoSortMinSubCount&&l>g.autoSortMinSubCount)||(L==0&&s!=0))));if(O){g.returnValue+=g.tableSpacer;l=0;e=0;A="";}else{if(q){z+=A;}else{g.returnValue+=A;}}}else{a.debugOutput({error:" "});if(Q==""){a.debugOutput({error:"     sub level : displayName is empty. item of subMenueObj: "+K});}if(M==""){a.debugOutput({error:"     sub level / "+Q+": currentURL is empty."});}if(I==0){a.debugOutput({error:"     sub level / "+Q+": position_level_2 is 0."});}}});g.returnValue+=p+z;}else{var D=(e>=g.autoSortSplitCount&&s!=0);if(D){g.returnValue+=g.tableSpacer;e=0;z="";A="";}else{g.returnValue+=z+A;}}}else{a.debugOutput({error:" "});if(m==""){a.debugOutput({error:"  main level : displayName is empty. item of settings.currentLayerArray: "+x});}if(t==""){a.debugOutput({error:"  main level / "+m+": currentURL is empty."});}if(u==0){a.debugOutput({error:"  main level / "+m+": position_level_1 is 0."});}}});g.returnValue+=g.tableEnd;}return g.returnValue;},prepareNaviManually:function(e){var e=jQuery.extend({currentLayerArray:null,manuallySortDefaultSubMenueMaxCount:60,returnValue:""},e||{});e=jQuery.extend({},c,e);if(e.currentLayerArray){e.currentLayerArray=a.sortObjectBy({object:e.currentLayerArray,field:"column"});e.returnValue+=e.tableBegin;var h=[];var d=0;var f=1;var g=parseInt(e.currentLayerArray.length-1);jQuery.each(e.currentLayerArray,function(m,p){d++;var o=(typeof(p["currentURL"])!="undefined"?p["currentURL"]:"");var k=(typeof(p["displayName"])!="undefined"?p["displayName"]:"");var l=(!isNaN(parseInt(p["position"]))?parseInt(p["position"]):1);var n=p["column"];if(o!=""&&k!=""&&l>0){if(n!=f||d==g){f++;if(d==g){h.push(p);}var j=a.sortObjectBy({object:h,field:"position"});h=[];jQuery.each(j,function(D,H){var F=(typeof(H["target"])!="undefined"?H["target"]:"");var y=(typeof(H["currentURL"])!="undefined"?H["currentURL"]:"");var r=(typeof(H["selectorID"])!="undefined"?H["selectorID"]:"");var w=(typeof(H["selectorClass"])!="undefined"?H["selectorClass"]:"");var s=(typeof(H["displayName"])!="undefined"?H["displayName"]:"");var C=(typeof(H["hideDisplayName"])!="undefined"&&H["hideDisplayName"]=="false"?false:true);var E=(!isNaN(parseInt(H["subMenueMaxCount"]))?parseInt(H["subMenueMaxCount"]):e.manuallySortDefaultSubMenueMaxCount);var G=(typeof(H["subMenue"])!="undefined"?H["subMenue"]:"");var A=(typeof(H["displaySubCategories"])!="undefined"&&H["displaySubCategories"]=="false"?false:true);var z=(!isNaN(parseInt(H["position"]))?parseInt(H["position"]):1);var v=(!isNaN(parseInt(H["blankLinesAfterThis"]))?parseInt(H["blankLinesAfterThis"]):0);var x=H["column"];var u=(typeof(H["generateLinkMore"])!="undefined"&&H["generateLinkMore"]=="true"?true:false);if(y!=""&&s!=""&&z>0){e.returnValue+="<a ";if(F!=""){e.returnValue+=F;}if(r!=""){e.returnValue+=' id="'+r+'"';}if(w!=""){e.returnValue+=' class="'+w+'"';}e.returnValue+=' href="'+y+'"><span class="';if(C){e.returnValue+="skipElement";}e.returnValue+='">'+s+"</span></a>";if(G!=""&&A&&E>0){if(G.length>E){G=G.slice(0,E);}G=a.sortObjectBy({object:G,field:"position"});var B=0;var q=parseInt(G.length-1);jQuery.each(G,function(N,J){B++;if(B<=E){var P=(typeof(J["target"])!="undefined"?J["target"]:"");var O=(typeof(J["currentURL"])!="undefined"?J["currentURL"]:"");var I=(typeof(J["selectorID"])!="undefined"?J["selectorID"]:"");var Q=(typeof(J["selectorClass"])!="undefined"?J["selectorClass"]:"");var R=(typeof(J["displayName"])!="undefined"?J["displayName"]:"");var L=(!isNaN(parseInt(J["position"]))?parseInt(J["position"]):1);var M=(!isNaN(parseInt(J["blankLinesAfterThis"]))?parseInt(J["blankLinesAfterThis"]):0);var S=(typeof(J["generateLinkMore"])!="undefined"&&J["generateLinkMore"]=="true"?true:false);if(O!=""&&R!=""&&L>0){e.returnValue+="<a ";if(P!=""){e.returnValue+=P;}if(I!=""){e.returnValue+=' id="'+I+'"';}if(Q!=""){e.returnValue+=' class="'+Q+'"';}e.returnValue+=' href="'+O+'"><span class="'+Q+'">'+R+"</span></a>";if(M>0){if(!S&&!(B>=q)){var K=(e.debug?"&nbsp;&nbsp;&nbsp;blankLine_level_2: "+M+" - spacer_2":"&nbsp;");for(N=0;N<M;N++){e.returnValue+='<a class="layernavSubSpacingCell" href="javascript:void:0"><span>'+K+"</span></a>";}}else{v+=M;}}}else{a.debugOutput({error:" "});if(R==""){a.debugOutput({error:"     sub level : displayName is empty. item of subMenueObj: "+N});}if(O==""){a.debugOutput({error:"     sub level / "+R+": currentURL is empty."});}if(L==0){a.debugOutput({error:"     sub level / "+R+": position_level_2 is 0."});}}}});}if(u){e.returnValue+='<a class="layernavSub layernavheadlineMore" href="'+y+'"><span class="layernavSub">'+e.localizationStringMore+"</span></a>";}if(v>0){var t=(e.debug?"&nbsp;&nbsp;&nbsp;blankLine_level_1: "+v+" - spacer_1":"&nbsp;");for(D=0;D<v;D++){e.returnValue+='<a class="layernavSubSpacingCell" href="javascript:void:0"><span>'+t+"</span></a>";}}}else{a.debugOutput({error:" "});if(s==""){a.debugOutput({error:"  main level : displayName is empty. item of arrayPreparer: "+D});}if(y==""){a.debugOutput({error:"  main level / "+s+": currentURL is empty."});}if(z==0){a.debugOutput({error:"  main level / "+s+": position_level_1 is 0."});}}});if(d!=g){e.returnValue+=e.tableSpacer;}}h.push(p);}});e.returnValue+=e.tableEnd;}return e.returnValue;},initEvents:function(f){var f=jQuery.extend({currentObj:null,delayCounter:0,delayTime:50},f||{});f=jQuery.extend({},c,f);if(f.currentObj){var g=a.mobileBrowserCheck();var d=f.currentObj.width();a.debugOutput({error:"isMobileDevice: "+g});a.debugOutput({error:"getCurrentWidthOfNavlistContainer: "+d});f.currentObj.find("table.listlayerTable").each(function(){jQuery(this).find("tr td.level_1:last").addClass("lastItem");});f.currentObj.find("table.listlayerTableSub").each(function(){jQuery(this).find("tr td.level_2:last").addClass("lastItem");});f.currentObj.find("ul#menu li.level_1").hover(function(){var h=jQuery(this);jQuery("#searchiframe iframe[name=wkquery]").focus();if(f.delayCounter!=0){clearTimeout(f.delayCounter);}f.delayCounter=setTimeout(function(){e(h);},f.delayTime);},function(){if(f.delayCounter!=0){clearTimeout(f.delayCounter);}jQuery("iframe.ie6layerfix").css({width:"0",height:"0"});jQuery(this).removeClass("hoverstatus");}).click(function(h){if(g){h.preventDefault();e(jQuery(this));}}).dblclick(function(h){if(g){h.preventDefault();location.href=jQuery(this).find("a.level_1").attr("href");}});function e(n){n.addClass("hoverstatus");var j=n.find(".listlayer");var l=n.position()["left"];var p=j.width();var m=Math.abs(l+20+p);if(m>d){if(p>d){j.css({left:"0px",visibility:"visible"});}else{var o=Math.abs(l-(m-d))+"px";j.css({left:o,visibility:"visible"});}}else{j.css({left:l+"px",visibility:"visible"});}if(jQuery.browser.msie&&parseInt(jQuery.browser.version)<8){var h=Math.abs(jQuery(".shadowContainerContent",n).width()+30);var k=Math.abs(jQuery(".shadowContainerContent",n).height()+90);j.width(h).addClass("widthIsSet");if(jQuery.browser.msie&&parseInt(jQuery.browser.version)<7){jQuery("iframe.ie6layerfix").css({left:o,width:Math.abs(h+20)+"px",height:Math.abs(k+20)+"px"});}}}}},sortObjectBy:function(e){var e=jQuery.extend({object:null,field:null,reverse:false,primer:parseInt,caseInsensitive:false,returnValue:""},e||{});function f(h,g,j){g=(g)?-1:1;return function(l,k){l=l[h];k=k[h];if(typeof(j)!="undefined"){l=j(l);k=j(k);}if(l<k){return g*-1;}if(l>k){return g*1;}return 0;};}try{if(e.caseInsensitive){e.returnValue=e.object.sort(f(e.field,e.reverse,function(g){return g.toUpperCase();}));}else{e.returnValue=e.object.sort(f(e.field,e.reverse,e.primer));}}catch(d){e.returnValue=e.object;a.debugOutput({error:d});}return e.returnValue;},mobileBrowserCheck:function(f){var f=jQuery.extend({deviceArray:["iphone","ipod","series60","symbian","android","windows ce","blackberry","palm"],browserEngineArray:["webkit","gecko","netfront","presto","trident","msie","windows phone","msiemobile"],userAgent:navigator.userAgent.toLowerCase()},f||{});function d(j){var h="";for(i=0;i<j.length;i++){var g=j[i];if(f.userAgent.search(g)>-1){h=g;break;}}return h;}var e=[d(f.deviceArray),d(f.browserEngineArray)];if(e[0]&&e[1]||e[0]){return true;}return false;},debugOutput:function(d){var d=jQuery.extend({error:null,debugOuputMessagePrefix:""},d||{});d=jQuery.extend({},c,d);if(d.debug&&d.error&&(("console" in window)&&("firebug" in console))){console.log(typeof(d.error)=="object"?d.error:d.debugOuputMessagePrefix+d.error);}}};jQuery.fn.baurmainlayernavi=function(d){if(a[d]){return a[d].apply(this,Array.prototype.slice.call(arguments,1));}else{if(typeof d==="object"||!d){return a.init.apply(this,arguments);}else{jQuery.error("Method "+d+" does not exist on jQuery.baurmainlayernavi");}}};})(jQuery);


/* ~~~~~~~~~~~~~~ jquery.baur.tooltip.min.js ~~~~~~~~~~~~~~
	
	
	------ Example HTML / style default: ------
	<div class="baurTooltip" title="this is content from attribute title">
		Tooltip - default, get content from attribute "title"
	</div>
	<script type="text/javascript">
		jQuery(document).ready(function(){
			jQuery(".baurTooltip").baurtooltip(); // NOTE: set selectors as you like
		});
	</script>
	
	------ Example HTML / style default: ------
	<div class="baurTooltip">
		Tooltip - default, get content from hidden container ".baurTooltipContent"
		<div class="baurTooltipContent">
			style grey including <strong>formatted</strong> HTML Code
		</div>
	</div>
	<script type="text/javascript">
		jQuery(document).ready(function(){
			jQuery(".baurTooltip").baurtooltip(); // NOTE: set selectors as you like
		});
	</script>
	
	------ Example HTML / style default - fixed position: ------
	<div class="baurTooltipFixed">
		Custom content
	</div>
	<script type="text/javascript">
		jQuery(document).ready(function(){
			jQuery(".baurTooltipFixed").baurtooltip({ 
				fixed : true,
				position : ['right', 'bottom', 5, 5],
				pushContent : 'good work!'
			});
		});
	</script>
*/
(function(c){var d={pushContent:null,pushIframe:null,pushContentFromElement:null,reNewContent:false,styleContainer_1:'<div class="baurTooltipStyleContainer_surface_left">'+'<div class="baurTooltipStyleContainer_surface_right">'+'<div class="baurTooltipStyleContainerContent">'+'<div class="baurTooltipStyleContainerContentInner">',styleContainer_2:"</div>"+"</div>"+"</div>"+"</div>"+'<div class="baurTooltipStyleContainer_corner_topLeft"><!-- - --></div>'+'<div class="baurTooltipStyleContainer_corner_topRight"><!-- - --></div>'+'<div class="baurTooltipStyleContainer_corner_bottomLeft"><!-- - --></div>'+'<div class="baurTooltipStyleContainer_corner_bottomRight"><!-- - --></div>'+'<div class="baurTooltipStyleContainer_surface_top">'+'<div class="baurTooltipStyleContainer_surface_body"><!-- - --></div>'+"</div>"+'<div class="baurTooltipStyleContainer_surface_bottom">'+'<div class="baurTooltipStyleContainer_surface_body"><!-- - --></div>'+"</div>",styleContainerCloseButton_1:'<div class="baurTooltipCloseButton">'+'<a class="closebaurTooltip" href="javascript:void(0);">'+'<span class="closebaurTooltip">'+'<span class="closebaurTooltipText">',styleContainerCloseButton_2:"</span>"+"</span>"+"</a>"+"</div>",skinClass:"baurTooltipStyleContainerDefault",selectorTooltip:".baurTooltipDisplayContainer",selectorTooltipIsPositioned:".baurTooltipIsPositioned",selectorTooltipContent:".baurTooltipContent",selectorStatusActive:".baurTooltipStatusActive",selectorFixed:".baurTooltipStyleContainerFixed",selectorFixedTargetContainer:"#baurTooltipStyleContainerFixedTargetContainer",selectorCloseLayer:"#baurTooltipCloseLayer",selectorTooltipContentIsRefreshed:".baurTooltipContentIsRefreshed",position:["right","top",0,0],fixed:false,showTooltipInViewportOnly:false,autoAlign:false,effectTypeShow:["show"],effectTypeHide:["show"],localizedStrings:{fixedHoverTitle:"click here to show tooltip",noTooltipContentAvailable:"No content available.",closeTooltip:"Close Tooltip"},callFunctionBeforeInit:function(){},callFunctionBeforeShow:function(){},callFunctionAfterShow:function(){},callFunctionBeforeHide:function(){},callFunctionAfterHide:function(){},debug:false,debugOuputMessagePrefix:"Baur Tooltip: "};try{d=jQuery.extend({},d,baurtooltipGlobalDefaults);}catch(b){}if(typeof(baurtooltipindexCount)=="undefined"){baurtooltipindexCount=0;}var a={init:function(j){var j=jQuery.extend({},d,j);var i=jQuery(this);if(j.debug){a.debugOutput({error:"---------------------------- "+j.debugOuputMessagePrefix+"BEGIN -------------------------------"});a.debugOutput({error:i});}if(i.length>0){j.callFunctionBeforeInit();if(j.autoAlign){var k=jQuery(window);var e=[k.width(),k.height()];k.resize(function(){e=[k.width(),k.height()];});}var m=a.cleanupSelectorName({replaceValue:j.selectorTooltipIsPositioned});var o=a.cleanupSelectorName({replaceValue:j.selectorTooltipContent});var g=a.cleanupSelectorName({replaceValue:j.selectorStatusActive});var h=a.cleanupSelectorName({replaceValue:j.selectorFixed});var f=a.cleanupSelectorName({replaceValue:j.selectorFixedTargetContainer});var n=a.cleanupSelectorName({replaceValue:j.selectorCloseLayer});var r=a.cleanupSelectorName({replaceValue:j.selectorTooltipContentIsRefreshed});i.each(function(){var y=jQuery(this);if(jQuery(j.selectorTooltip,y).length==0){if(j.fixed){baurtooltipindexCount++;}var t="";var x=y.attr("title");x=(x!=""?x:j.localizedStrings["noTooltipContentAvailable"]);if(j.pushContent){x=j.pushContent;}else{if(j.pushContentFromElement){x=jQuery(j.pushContentFromElement).html();}else{if(j.pushIframe){x="wird geladen...";}else{if(jQuery(j.selectorTooltipContent,y).length>0){t=jQuery(j.selectorTooltipContent,y).attr("class").replace(o,"");x=jQuery(j.selectorTooltipContent,y).html();}else{}}}}var v=a.cleanupSelectorName({replaceValue:j.selectorTooltip})+" "+t+" "+j.skinClass+" "+(j.fixed?h+" ":"");if(j.position[0]=="left"&&j.position[1]=="top"){v+=" baurTooltipAlignLeftTop";}else{if(j.position[0]=="right"&&j.position[1]=="top"){v+=" baurTooltipAlignRightTop";}else{if(j.position[0]=="center"&&j.position[1]=="top"){v+=" baurTooltipAlignCenterTop";}else{if(j.position[0]=="left"&&j.position[1]=="bottom"){v+=" baurTooltipAlignLeftBottom";}else{if(j.position[0]=="right"&&j.position[1]=="bottom"){v+=" baurTooltipAlignRightBottom";}else{if(j.position[0]=="center"&&j.position[1]=="bottom"){v+=" baurTooltipAlignCenterBottom";}else{}}}}}}var w="";if(j.fixed){w='baurtooltipindex="'+baurtooltipindexCount+'"';}var u="<div "+w+' class="'+v+'" style="display:none;">'+j.styleContainer_1+x+j.styleContainer_2+j.styleContainerCloseButton_1+j.localizedStrings["closeTooltip"]+j.styleContainerCloseButton_2+"</div>";if(j.fixed){y.attr({baurtooltipindex:baurtooltipindexCount});jQuery("body").append(u);}else{jQuery(u).insertAfter(y);}}}).die("mouseover mouseout mousemove click").live("mouseover mouseout mousemove click",function(u){var w=jQuery(this);if(j.fixed){var t=jQuery(j.selectorTooltip).filter(function(x){return(parseInt(jQuery(this).attr("baurtooltipindex"))==parseInt(w.attr("baurtooltipindex")));});}else{var t=w.next(j.selectorTooltip);}function v(){s({currentThisObj:w,currentTooltipObj:t});}if(u.type=="mouseover"){if(j.fixed){if(!w.hasClass("baurTooltipTitleIsSet")){w.attr({title:j.localizedStrings["fixedHoverTitle"]}).addClass("baurTooltipTitleIsSet");}}else{l();q({obj:t,callFunctionBeforeSuccess:function(){if(j.pushIframe){v();}},callFunctionAfterSuccess:function(){if(j.reNewContent){v();}}});}}else{if(u.type=="mouseout"){if(!j.fixed){l({obj:t});}w.die("mouseover mousemove click");}else{if(u.type=="mousemove"){if(!j.fixed&&t.is(":visible")){p({obj:t,event:u});}}else{if(u.type=="click"){if(j.fixed){if(t.is(":visible")){l({obj:t});}else{l({obj:jQuery(j.selectorTooltip).filter(function(x){return parseInt(jQuery(this).not(t).attr("baurtooltipindex"));})});q({element:w,obj:t,event:u,callFunctionBeforeSuccess:function(){if(j.pushIframe){v();}},callFunctionAfterSuccess:function(){if(j.reNewContent){v();}}});}}}}}}});jQuery(".baurTooltipCloseButton").unbind("click").bind("click",function(){l({obj:jQuery(this).parent(j.selectorTooltip)});});if(j.fixed){if(jQuery(j.selectorCloseLayer).length!=0){jQuery(j.selectorCloseLayer).remove();}jQuery("body").append('<div id="'+n+'"><!-- - --></div>');jQuery(j.selectorCloseLayer).unbind("click").bind("click",function(){l();});}}else{if(j.debug){a.debugOutput({error:"no target (thisObj) found"});}}if(j.debug){a.debugOutput({error:"---------------------------- "+j.debugOuputMessagePrefix+"END -------------------------------"});a.debugOutput({error:" "});a.debugOutput({error:" "});}function s(t){var t=jQuery.extend({currentThisObj:null,currentTooltipObj:null},t||{});if(!t.currentTooltipObj.hasClass(r)){var u=t.currentThisObj.attr("title");u=(u!=""?u:j.localizedStrings["noTooltipContentAvailable"]);if(j.pushContent){u=j.pushContent;}else{if(j.pushContentFromElement){u=jQuery(j.pushContentFromElement).html();}else{if(j.pushIframe){u=j.pushIframe;}else{if(jQuery(j.selectorTooltipContent,t.currentThisObj).length>0){u=jQuery(j.selectorTooltipContent,t.currentThisObj).html();}else{}}}}t.currentTooltipObj.find(".baurTooltipStyleContainerContentInner").html(u).addClass(r);}}function q(t){var t=jQuery.extend({element:null,obj:null,event:null,callFunctionBeforeSuccess:function(){},callFunctionAfterSuccess:function(){}},t||{});t.callFunctionBeforeSuccess();j.callFunctionBeforeShow();if(j.fixed){p({element:t.element,obj:t.obj,event:t.event});jQuery(j.selectorCloseLayer).css({display:"block"});}if(!t.obj.hasClass(g)){switch(j.effectTypeShow[0]){case"fade":t.obj.fadeIn(j.effectTypeShow[1],function(){t.callFunctionAfterSuccess();j.callFunctionAfterShow();}).addClass(g);break;default:t.obj.show().addClass(g);t.callFunctionAfterSuccess();j.callFunctionAfterShow();break;}}}function l(t){var t=jQuery.extend({obj:null},t||{});j.callFunctionBeforeHide();if(!t.obj){t.obj=jQuery(j.selectorTooltip);}if(j.fixed){jQuery(j.selectorCloseLayer).css({display:"none"});}t.obj.each(function(){var u=jQuery(this);if(u.hasClass(g)&&u.is(":visible")){switch(j.effectTypeHide[0]){case"fade":u.fadeOut(j.effectTypeHide[1],function(){j.callFunctionAfterHide();}).removeClass(g);break;default:u.hide().removeClass(g);j.callFunctionAfterHide();break;}}});}function p(t){var t=jQuery.extend({element:null,obj:null,event:null,posX:0,posY:0},t||{});if(j.fixed&&!t.obj.hasClass(m)){u();}else{if(!j.fixed){u();}else{}}function u(){if(j.autoAlign&&t.obj.hasClass(m)){var w=t.obj.position()["left"];}var v=[t.obj.outerWidth(),t.obj.outerHeight()];switch(j.position[0]){case"left":t.posX=t.event.clientX+j.position[2]-v[0];break;case"center":t.posX=t.event.clientX+j.position[2]-(v[0]/2);break;default:t.posX=t.event.clientX+j.position[2];break;}if(t.event&&!j.fixed){switch(j.position[1]){case"bottom":t.posY=(t.event.clientY+j.position[3]);break;case"center":t.posY=(t.event.clientY+j.position[3])-(v[1]/2);break;default:t.posY=(t.event.clientY+j.position[3])-v[1];break;}}else{if(t.element){var y=t.element.offset();var x=t.element.outerHeight();switch(j.position[1]){case"bottom":t.posY=(y.top+x)+j.position[3];break;case"center":t.posY=(y.top+x)+j.position[3];break;default:t.posY=y.top+j.position[3]-v[1];break;}}}if(j.showTooltipInViewportOnly){if(!(t.posX>=0)){t.posX=0;}if(!(t.posY>=0)){t.posY=0;}}t.obj.css({left:t.posX+"px",top:t.posY+"px",position:(j.fixed?"absolute":"fixed")}).addClass(m);}}},cleanupSelectorName:function(e){var e=jQuery.extend({replaceValue:""},e||{});e.replaceValue=e.replaceValue.replace(/[#]/g,"");e.replaceValue=e.replaceValue.replace(/[.]/g,"");return e.replaceValue;},debugOutput:function(f){var f=jQuery.extend({error:null,debugOuputMessagePrefix:""},f||{});f=jQuery.extend({},d,f);if(f.error&&(("console" in window)&&("firebug" in console))){e();}function e(){var g=(typeof(f.error)=="object"?f.error:f.debugOuputMessagePrefix+f.error);console.log(g);}}};jQuery.fn.baurtooltip=function(e){if(a[e]){return a[e].apply(this,Array.prototype.slice.call(arguments,1));}else{if(typeof e==="object"||!e){return a.init.apply(this,arguments);}else{jQuery.error("Method "+e+" does not exist on jQuery.baurtooltip");}}};})(jQuery);


/* ~~~~~~~~~~~~~~ jquery.baur.simpletimer.min.js ~~~~~~~~~~~~~~
	
	
	------ Example / End of Date only: ------
	var isTimerOn = baurSimpleTimer.init({
		endYear : 2011,
		endMonth : 9,
		endDay : 30
	});
	
	------ Example / Start and End of Date: ------
	var isTimerOn = baurSimpleTimer.init({

		startYear : 2011,
		startMonth : 9,
		startDay : 28,
		
		endYear : 2011,
		endMonth : 9,
		endDay : 30
		
	});
	
	------ Example / Start and End of Date without year: ------
	var isTimerOn = baurSimpleTimer.init({

		startMonth : 9,
		startDay : 28,
		
		endMonth : 9,
		endDay : 30
		
	});
*/
var baurSimpleTimer={defaults:{debug:false,debugOuputMessagePrefix:"[jQuery Baur SimpleTimer] "},getDateObj:function(b){var b=jQuery.extend({jsDate:new Date(),serverSideValidation:false,currentReturnValue:{day:null,month:null,year:null}},b||{});b=jQuery.extend({},baurSimpleTimer.defaults,b);if(b.serverSideValidation){var a=(typeof(uriDynamicTemplateSessionless)!=undefined?uriDynamicTemplateSessionless:"");if(a!=""){a=addUrlSeperator({url:a,addUrlParam:"Template=json/json_getdate"});jQuery.getJSON(a,function(c){jQuery.each(c.date,function(d,e){b.currentReturnValue["day"]=(typeof(e.day)!="undefined"?e.day:"");b.currentReturnValue["month"]=(typeof(e.month)!="undefined"?e.month:"");b.currentReturnValue["year"]=(typeof(e.year)!="undefined"?e.year:"");});});}}else{b.currentReturnValue["day"]=(b.jsDate.getUTCDate());b.currentReturnValue["month"]=Math.abs(b.jsDate.getUTCMonth()+1);b.currentReturnValue["year"]=(b.jsDate.getUTCFullYear());}return b.currentReturnValue;},debugOutput:function(a){var a=jQuery.extend({msg:null},a||{});a=jQuery.extend({},baurSimpleTimer.defaults,a);if(a.debug&&a.msg&&(("console" in window)&&("firebug" in console))){console.log(typeof(a.msg)=="object"?a.msg:a.debugOuputMessagePrefix+a.msg);}},init:function(d){var d=jQuery.extend({startYear:(baurSimpleTimer.getDateObj()["year"]),startMonth:(baurSimpleTimer.getDateObj()["month"]),startDay:(baurSimpleTimer.getDateObj()["day"]),endYear:(baurSimpleTimer.getDateObj()["year"]),endMonth:(baurSimpleTimer.getDateObj()["month"]),endDay:(baurSimpleTimer.getDateObj()["day"])},d||{});d=jQuery.extend({},baurSimpleTimer.defaults,d);var b=baurSimpleTimer.getDateObj()["year"];var e=baurSimpleTimer.getDateObj()["month"];var a=baurSimpleTimer.getDateObj()["day"];baurSimpleTimer.debugOutput({msg:"Datum-Start ("+d.startDay+"-"+d.startMonth+"-"+d.startYear+"), "+"Datum-Ende ("+d.endDay+"-"+d.endMonth+"-"+d.endYear+"), "+"Datum-Heute ("+a+"-"+e+"-"+b+")",debug:d.debug});var f=new Date(b,e,a,0,0,0);var c=Date.parse(f);var f=new Date(d.startYear,d.startMonth,d.startDay,0,0,0);var g=Date.parse(f);var f=new Date(d.endYear,d.endMonth,d.endDay,0,0,0);var h=Date.parse(f);if(g<=c){if(h>=c){return true;}else{baurSimpleTimer.debugOutput({msg:"End-Datum abgelaufen",debug:d.debug});return false;}}else{baurSimpleTimer.debugOutput({msg:"Start-Datum liegt in der Zukunft",debug:d.debug});return false;}}};
