/*
* jQuery JavaScript Library v1.6.1
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Thu May 12 15:04:36 2011 -0400
*/
(function(d,b){function D(b){return a.isWindow(b)?b:b.nodeType===9?b.defaultView||b.parentWindow:!1}function fb(b){if(!B[b]){var d=a("<"+b+">").appendTo("body"),e=d.css("display");d.remove();if(e==="none"||e===""){f||(f=c.createElement("iframe"),f.frameBorder=f.width=f.height=0),c.body.appendChild(f);if(!o||!f.createElement)o=(f.contentWindow||f.contentDocument).document,o.write("<!doctype><html><body></body></html>");d=o.createElement(b),o.body.appendChild(d),e=a.css(d,"display"),c.body.removeChild(f)}B[b]=e}return B[b]}function n(c,d){var b={};a.each(db.concat.apply([],db.slice(0,d)),function(){b[this]=c});return b}function ec(){u=b}function eb(){setTimeout(ec,0);return u=a.now()}function bc(){try{return new d.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}function cb(){try{return new d.XMLHttpRequest}catch(a){}}function Yb(g,h){g.dataFilter&&(h=g.dataFilter(h,g.dataType));for(var n=g.dataTypes,i={},l,p=n.length,m,c=n[0],j,o,d,e,f,k=1;k<p;k++){if(k===1)for(l in g.converters)typeof l=="string"&&(i[l.toLowerCase()]=g.converters[l]);j=c,c=n[k];if(c==="*")c=j;else if(j!=="*"&&j!==c){o=j+" "+c,d=i[o]||i["* "+c];if(!d){f=b;for(e in i){m=e.split(" ");if(m[0]===j||m[0]==="*"){f=i[m[1]+" "+c];if(f){e=i[e],e===!0?(d=f):f===!0&&(d=e);break}}}}!d&&!f&&a.error("No conversion from "+o.replace(" "," to ")),d!==!0&&(h=d?d(h):f(e(h)))}}return h}function Xb(e,j,f){var h=e.contents,c=e.dataTypes,k=e.responseFields,g,a,d,i;for(a in k)a in f&&(j[k[a]]=f[a]);while(c[0]==="*")c.shift(),g===b&&(g=e.mimeType||j.getResponseHeader("content-type"));if(g)for(a in h)if(h[a]&&h[a].test(g)){c.unshift(a);break}if(c[0]in f)d=c[0];else{for(a in f){if(!c[0]||e.converters[a+" "+c[0]]){d=a;break}i||(i=a)}d=d||i}if(d){d!==c[0]&&c.unshift(d);return f[d]}}function z(c,b,d,e){if(a.isArray(b))a.each(b,function(f,b){d||Bb.test(c)?e(c,b):z(c+"["+(typeof b=="object"||a.isArray(b)?f:"")+"]",b,d,e)});else if(!d&&b!=null&&typeof b=="object")for(var f in b)z(c+"["+f+"]",b[f],d,e);else e(c,b)}function q(e,d,g,h,f,c){f=f||d.dataTypes[0],c=c||{},c[f]=!0;for(var i=e[f],j=0,l=i?i.length:0,k=e===y,a;j<l&&(k||!a);j++)a=i[j](d,g,h),typeof a=="string"&&(!k||c[a]?(a=b):(d.dataTypes.unshift(a),a=q(e,d,g,h,a,c)));(k||!a)&&!c["*"]&&(a=q(e,d,g,h,"*",c));return a}function bb(b){return function(d,e){typeof d!="string"&&(e=d,d="*");if(a.isFunction(e))for(var h=d.toLowerCase().split(W),f=0,j=h.length,c,i,g;f<j;f++)c=h[f],g=/^\+/.test(c),g&&(c=c.substr(1)||"*"),i=b[c]=b[c]||[],i[g?"unshift":"push"](e)}}function N(b,e,d){var f=e==="width"?Vb:Wb,c=e==="width"?b.offsetWidth:b.offsetHeight;if(d==="border")return c;a.each(f,function(){d||(c-=parseFloat(a.css(b,"padding"+this))||0),d==="margin"?(c+=parseFloat(a.css(b,"margin"+this))||0):(c-=parseFloat(a.css(b,"border"+this+"Width"))||0)});return c}function Kb(c,b){b.src?a.ajax({url:b.src,async:!1,dataType:"script"}):a.globalEval((b.text||b.textContent||b.innerHTML||"").replace(Cb,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function T(b){a.nodeName(b,"input")?S(b):b.getElementsByTagName&&a.grep(b.getElementsByTagName("input"),S)}function S(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function s(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function R(c,b){var d;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(c),d=b.nodeName.toLowerCase();if(d==="object")b.outerHTML=c.outerHTML;else if(d!=="input"||c.type!=="checkbox"&&c.type!=="radio"){if(d==="option")b.selected=c.defaultSelected;else if(d==="input"||d==="textarea")b.defaultValue=c.defaultValue}else c.checked&&(b.defaultChecked=b.checked=c.checked),b.value!==c.value&&(b.value=c.value);b.removeAttribute(a.expando)}}function Q(h,g){if(g.nodeType===1&&!!a.hasData(h)){var i=a.expando,e=a.data(h),f=a.data(g,e);if(e=e[i]){var b=e.events;f=f[i]=a.extend({},e);if(b){delete f.handle,f.events={};for(var c in b)for(var d=0,j=b[c].length;d<j;d++)a.event.add(g,c+(b[c][d].namespace?".":"")+b[c][d].namespace,b[c][d],b[c][d].data)}}}}function Eb(b){return a.nodeName(b,"table")?b.getElementsByTagName("tbody")[0]||b.appendChild(b.ownerDocument.createElement("tbody")):b}function ub(c,b,d){b=b||0;if(a.isFunction(b))return a.grep(c,function(a,c){var e=!!b.call(a,c,a);return e===d});if(b.nodeType)return a.grep(c,function(a){return a===b===d});if(typeof b=="string"){var e=a.grep(c,function(a){return a.nodeType===1});if(wc.test(b))return a.filter(b,e,!d);b=a.filter(b,e)}return a.grep(c,function(c){return a.inArray(c,b)>=0===d})}function sb(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function x(a,b){return(a&&a!=="*"?a+".":"")+b.replace(gc,"`").replace(hc,"&")}function oc(b){var q,l,g,c,d,h,e,f,k,s,i,m,n,o=[],r=[],p=a._data(this,"events");if(!(b.liveFired===this||!p||!p.live||b.target.disabled||b.button&&b.type==="click")){b.namespace&&(m=new RegExp("(^|\\.)"+b.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),b.liveFired=this;var j=p.live.slice(0);for(e=0;e<j.length;e++)d=j[e],d.origType.replace(I,"")===b.type?r.push(d.selector):j.splice(e--,1);c=a(b.target).closest(r,b.currentTarget);for(f=0,k=c.length;f<k;f++){i=c[f];for(e=0;e<j.length;e++){d=j[e];if(i.selector===d.selector&&(!m||m.test(d.namespace))&&!i.elem.disabled){h=i.elem,g=null;if(d.preType==="mouseenter"||d.preType==="mouseleave")b.type=d.preType,g=a(b.relatedTarget).closest(d.selector)[0],g&&a.contains(h,g)&&(g=h);(!g||g!==h)&&o.push({elem:h,handleObj:d,level:i.level})}}}for(f=0,k=o.length;f<k;f++){c=o[f];if(l&&c.level>l)break;b.currentTarget=c.elem,b.data=c.handleObj.data,b.handleObj=c.handleObj,n=c.handleObj.origHandler.apply(c.elem,arguments);if(n===!1||b.isPropagationStopped()){l=c.level,n===!1&&(q=!1);if(b.isImmediatePropagationStopped())break}}return q}}function nb(e,f,d){var c=a.extend({},d[0]);c.type=e,c.originalEvent={},c.liveFired=b,a.event.handle.call(f,c),c.isDefaultPrevented()&&d[0].preventDefault()}function v(){return!0}function i(){return!1}function ob(c,d,e){var f=d+"defer",g=d+"queue",h=d+"mark",i=a.data(c,f,b,!0);i&&(e==="queue"||!a.data(c,g,b,!0))&&(e==="mark"||!a.data(c,h,b,!0))&&setTimeout(function(){!a.data(c,g,b,!0)&&!a.data(c,h,b,!0)&&(a.removeData(c,f,!0),i.resolve())},0)}function F(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function mb(d,e,c){if(c===b&&d.nodeType===1){var f="data-"+e.replace(nc,"$1-$2").toLowerCase();c=d.getAttribute(f);if(typeof c=="string"){try{c=c==="true"?!0:c==="false"?!1:c==="null"?null:a.isNaN(c)?mc.test(c)?a.parseJSON(c):c:parseFloat(c)}catch(g){}a.data(d,e,c)}else c=b}return c}var c=d.document,jc=d.navigator,lc=d.location,a=function(){function n(){if(!a.isReady){try{c.documentElement.doScroll("left")}catch(b){setTimeout(n,1);return}a.ready()}}var a=function(b,c){return new a.fn.init(b,c,o)},t=d.jQuery,u=d.$,o,v=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,p=/\S/,q=/^\s+/,r=/\s+$/,w=/\d/,x=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,y=/^[\],:{}\s]*$/,z=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,A=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,B=/(?:^|:|,)(?:\s*\[)+/g,C=/(webkit)[ \/]([\w.]+)/,D=/(opera)(?:.*version)?[ \/]([\w.]+)/,E=/(msie) ([\w.]+)/,F=/(mozilla)(?:.*? rv:([\w.]+))?/,G=jc.userAgent,g,h,e,s=Object.prototype.toString,i=Object.prototype.hasOwnProperty,j=Array.prototype.push,f=Array.prototype.slice,k=String.prototype.trim,l=Array.prototype.indexOf,m={};a.fn=a.prototype={constructor:a,init:function(d,e,i){var f,h,g,j;if(!d)return this;if(d.nodeType){this.context=this[0]=d,this.length=1;return this}if(d==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector=d,this.length=1;return this}if(typeof d=="string"){d.charAt(0)!=="<"||d.charAt(d.length-1)!==">"||d.length<3?(f=v.exec(d)):(f=[null,d,null]);if(f&&(f[1]||!e)){if(f[1]){e=e instanceof a?e[0]:e,j=e?e.ownerDocument||e:c,g=x.exec(d),g?a.isPlainObject(e)?(d=[c.createElement(g[1])],a.fn.attr.call(d,e,!0)):(d=[j.createElement(g[1])]):(g=a.buildFragment([f[1]],[j]),d=(g.cacheable?a.clone(g.fragment):g.fragment).childNodes);return a.merge(this,d)}h=c.getElementById(f[2]);if(h&&h.parentNode){if(h.id!==f[2])return i.find(d);this.length=1,this[0]=h}this.context=c,this.selector=d;return this}return!e||e.jquery?(e||i).find(d):this.constructor(e).find(d)}if(a.isFunction(d))return i.ready(d);d.selector!==b&&(this.selector=d.selector,this.context=d.context);return a.makeArray(d,this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return f.call(this,0)},"get":function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(c,d,e){var b=this.constructor();a.isArray(c)?j.apply(b,c):a.merge(b,c),b.prevObject=this,b.context=this.context,d==="find"?(b.selector=this.selector+(this.selector?" ":"")+e):d&&(b.selector=this.selector+"."+d+"("+e+")");return b},each:function(b,c){return a.each(this,b,c)},ready:function(b){a.bindReady(),h.done(b);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(f.apply(this,arguments),"slice",f.call(arguments).join(","))},map:function(b){return this.pushStack(a.map(this,function(a,c){return b.call(a,c,a)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},a.fn.init.prototype=a.fn,a.extend=a.fn.extend=function(){var h,g,e,d,i,j,c=arguments[0]||{},f=1,l=arguments.length,k=!1;typeof c=="boolean"&&(k=c,c=arguments[1]||{},f=2),typeof c!="object"&&!a.isFunction(c)&&(c={}),l===f&&(c=this,--f);for(;f<l;f++)if((h=arguments[f])!=null)for(g in h){e=c[g],d=h[g];if(c===d)continue;k&&d&&(a.isPlainObject(d)||(i=a.isArray(d)))?(i?(i=!1,j=e&&a.isArray(e)?e:[]):(j=e&&a.isPlainObject(e)?e:{}),c[g]=a.extend(k,j,d)):d!==b&&(c[g]=d)}return c},a.extend({noConflict:function(b){d.$===a&&(d.$=u),b&&d.jQuery===a&&(d.jQuery=t);return a},isReady:!1,readyWait:1,holdReady:function(b){b?a.readyWait++:a.ready(!0)},ready:function(b){if(b===!0&&!--a.readyWait||b!==!0&&!a.isReady){if(!c.body)return setTimeout(a.ready,1);a.isReady=!0;if(b!==!0&&--a.readyWait>0)return;h.resolveWith(c,[a]),a.fn.trigger&&a(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!h){h=a._Deferred();if(c.readyState==="complete")return setTimeout(a.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",e,!1),d.addEventListener("load",a.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",e),d.attachEvent("onload",a.ready);var b=!1;try{b=d.frameElement==null}catch(f){}c.documentElement.doScroll&&b&&n()}}},isFunction:function(b){return a.type(b)==="function"},isArray:Array.isArray||function(b){return a.type(b)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!w.test(a)||isNaN(a)},type:function(a){return a==null?String(a):m[s.call(a)]||"object"},isPlainObject:function(c){if(!c||a.type(c)!=="object"||c.nodeType||a.isWindow(c))return!1;if(c.constructor&&!i.call(c,"constructor")&&!i.call(c.constructor.prototype,"isPrototypeOf"))return!1;var d;for(d in c);return d===b||i.call(c,d)},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=a.trim(b);if(d.JSON&&d.JSON.parse)return d.JSON.parse(b);if(y.test(b.replace(z,"@").replace(A,"]").replace(B,"")))return new Function("return "+b)();a.error("Invalid JSON: "+b)},parseXML:function(e,b,c){d.DOMParser?(c=new DOMParser,b=c.parseFromString(e,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(e)),c=b.documentElement,(!c||!c.nodeName||c.nodeName==="parsererror")&&a.error("Invalid XML: "+e);return b},noop:function(){},globalEval:function(a){a&&p.test(a)&&(d.execScript||function(a){d.eval.call(d,a)})(a)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(c,f,g){var d,e=0,h=c.length,i=h===b||a.isFunction(c);if(g){if(i){for(d in c)if(f.apply(c[d],g)===!1)break}else for(;e<h;)if(f.apply(c[e++],g)===!1)break}else if(i){for(d in c)if(f.call(c[d],d,c[d])===!1)break}else for(;e<h;)if(f.call(c[e],e,c[e++])===!1)break;return c},trim:k?function(a){return a==null?"":k.call(a)}:function(a){return a==null?"":(a+"").replace(q,"").replace(r,"")},makeArray:function(b,e){var c=e||[];if(b!=null){var d=a.type(b);b.length==null||d==="string"||d==="function"||d==="regexp"||a.isWindow(b)?j.call(c,b):a.merge(c,b)}return c},inArray:function(c,b){if(l)return l.call(b,c);for(var a=0,d=b.length;a<d;a++)if(b[a]===c)return a;return-1},merge:function(a,c){var e=a.length,d=0;if(typeof c.length=="number")for(var f=c.length;d<f;d++)a[e++]=c[d];else while(c[d]!==b)a[e++]=c[d++];a.length=e;return a},grep:function(b,f,c){var d=[],e;c=!!c;for(var a=0,g=b.length;a<g;a++)e=!!f(b[a],a),c!==e&&d.push(b[a]);return d},map:function(c,i,j){var d,h,e=[],g=0,f=c.length,k=c instanceof a||f!==b&&typeof f=="number"&&(f>0&&c[0]&&c[f-1]||f===0||a.isArray(c));if(k)for(;g<f;g++)d=i(c[g],g,j),d!=null&&(e[e.length]=d);else for(h in c)d=i(c[h],h,j),d!=null&&(e[e.length]=d);return e.concat.apply([],e)},guid:1,proxy:function(c,d){if(typeof d=="string"){var g=c[d];d=c,c=g}if(!a.isFunction(c))return b;var h=f.call(arguments,2),e=function(){return c.apply(d,h.concat(f.call(arguments)))};e.guid=c.guid=c.guid||e.guid||a.guid++;return e},access:function(c,d,f,g,h,i){var j=c.length;if(typeof d=="object"){for(var k in d)a.access(c,k,d[k],g,h,f);return c}if(f!==b){g=!i&&g&&a.isFunction(f);for(var e=0;e<j;e++)h(c[e],d,g?f.call(c[e],e,h(c[e],d)):f,i);return c}return j?h(c[0],d):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=C.exec(a)||D.exec(a)||E.exec(a)||a.indexOf("compatible")<0&&F.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function b(a,c){return new b.fn.init(a,c)}a.extend(!0,b,this),b.superclass=this,b.fn=b.prototype=this(),b.fn.constructor=b,b.sub=this.sub,b.fn.init=function(e,c){c&&c instanceof a&&!(c instanceof b)&&(c=b(c));return a.fn.init.call(this,e,c,d)},b.fn.init.prototype=b.fn;var d=b(c);return b},browser:{}}),a.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b,a){m["[object "+a+"]"]=a.toLowerCase()}),g=a.uaMatch(G),g.browser&&(a.browser[g.browser]=!0,a.browser.version=g.version),a.browser.webkit&&(a.browser.safari=!0),p.test(" ")&&(q=/^[\s\xA0]+/,r=/[\s\xA0]+$/),o=a(c),c.addEventListener?(e=function(){c.removeEventListener("DOMContentLoaded",e,!1),a.ready()}):c.attachEvent&&(e=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",e),a.ready())});return a}(),E="done fail isResolved isRejected promise then always pipe".split(" "),jb=[].slice;a.extend({_Deferred:function(){var d=[],b,e,f,c={done:function(){if(!f){var j=arguments,e,k,g,i,h;b&&(h=b,b=0);for(e=0,k=j.length;e<k;e++)g=j[e],i=a.type(g),i==="array"?c.done.apply(c,g):i==="function"&&d.push(g);h&&c.resolveWith(h[0],h[1])}return this},resolveWith:function(c,a){if(!f&&!b&&!e){a=a||[],e=1;try{while(d[0])d.shift().apply(c,a)}finally{b=[c,a],e=0}}return this},resolve:function(){c.resolveWith(this,arguments);return this},isResolved:function(){return!!e||!!b},cancel:function(){f=1,d=[];return this}};return c},Deferred:function(e){var b=a._Deferred(),c=a._Deferred(),d;a.extend(b,{then:function(a,c){b.done(a).fail(c);return this},always:function(){return b.done.apply(b,arguments).fail.apply(this,arguments)},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,pipe:function(c,d){return a.Deferred(function(e){a.each({done:[c,"resolve"],fail:[d,"reject"]},function(d,f){var g=f[0],h=f[1],c;a.isFunction(g)?b[d](function(){c=g.apply(this,arguments),c&&a.isFunction(c.promise)?c.promise().then(e.resolve,e.reject):e[h](c)}):b[d](e[h])})}).promise()},promise:function(a){if(a==null){if(d)return d;d=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,e&&e.call(b,b);return b},when:function(e){function h(a){return function(d){c[a]=arguments.length>1?jb.call(arguments,0):d,--g||b.resolveWith(b,jb.call(c,0))}}var c=arguments,d=0,f=c.length,g=f,b=f<=1&&e&&a.isFunction(e.promise)?e:a.Deferred();if(f>1){for(;d<f;d++)c[d]&&a.isFunction(c[d].promise)?c[d].promise().then(h(d),b.reject):--g;g||b.resolveWith(b,c)}else b!==e&&b.resolveWith(b,f?[e]:[]);return b.promise()}}),a.support=function(){var a=c.createElement("div"),k=c.documentElement,m,e,n,o,d,i,b,p,f,q,j,r,l,g,h;a.setAttribute("className","t"),a.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",m=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!m||!m.length||!e)return{};n=c.createElement("select"),o=n.appendChild(c.createElement("option")),d=a.getElementsByTagName("input")[0],b={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:d.value==="on",optSelected:o.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},d.checked=!0,b.noCloneChecked=d.cloneNode(!0).checked,n.disabled=!0,b.optDisabled=!o.disabled;try{delete a.test}catch(s){b.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function k(){b.noCloneEvent=!1,a.detachEvent("onclick",k)}),a.cloneNode(!0).fireEvent("onclick")),d=c.createElement("input"),d.value="t",d.setAttribute("type","radio"),b.radioValue=d.value==="t",d.setAttribute("checked","checked"),a.appendChild(d),p=c.createDocumentFragment(),p.appendChild(a.firstChild),b.checkClone=p.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",f=c.createElement("body"),q={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(g in q)f.style[g]=q[g];f.appendChild(a),k.insertBefore(f,k.firstChild),b.appendChecked=d.checked,b.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,b.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",j=a.getElementsByTagName("td"),h=j[0].offsetHeight===0,j[0].style.display="",j[1].style.display="none",b.reliableHiddenOffsets=h&&j[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(i=c.createElement("div"),i.style.width="0",i.style.marginRight="0",a.appendChild(i),b.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(i,null)||{marginRight:0}).marginRight,10)||0)===0),f.innerHTML="",k.removeChild(f);if(a.attachEvent)for(g in{submit:1,change:1,focusin:1})l="on"+g,h=l in a,h||(a.setAttribute(l,"return;"),h=typeof a[l]=="function"),b[g+"Bubbles"]=h;return b}(),a.boxModel=a.support.boxModel;var mc=/^(?:\{.*\}|\[.*\])$/,nc=/([a-z])([A-Z])/g;a.extend({cache:{},uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(b){b=b.nodeType?a.cache[b[a.expando]]:b[a.expando];return!!b&&!F(b)},data:function(h,e,j,k){if(!!a.acceptData(h)){var g=a.expando,l=typeof e=="string",d,i=h.nodeType,f=i?a.cache:h,c=i?h[a.expando]:h[a.expando]&&a.expando;if((!c||k&&c&&!f[c][g])&&l&&j===b)return;c||(i?(h[a.expando]=c=++a.uuid):(c=a.expando)),f[c]||(f[c]={},i||(f[c].toJSON=a.noop));if(typeof e=="object"||typeof e=="function")k?(f[c][g]=a.extend(f[c][g],e)):(f[c]=a.extend(f[c],e));d=f[c],k&&(d[g]||(d[g]={}),d=d[g]),j!==b&&(d[a.camelCase(e)]=j);return e==="events"&&!d[e]?d[g]&&d[g].events:l?d[a.camelCase(e)]:d}},removeData:function(e,i,j){if(!!a.acceptData(e)){var f=a.expando,g=e.nodeType,b=g?a.cache:e,c=g?e[a.expando]:a.expando;if(!b[c])return;if(i){var h=j?b[c][f]:b[c];if(h){delete h[i];if(!F(h))return}}if(j){delete b[c][f];if(!F(b[c]))return}var k=b[c][f];a.support.deleteExpando||b!=d?delete b[c]:(b[c]=null),k?(b[c]={},g||(b[c].toJSON=a.noop),b[c][f]=k):g&&(a.support.deleteExpando?delete e[a.expando]:e.removeAttribute?e.removeAttribute(a.expando):(e[a.expando]=null))}},_data:function(b,c,d){return a.data(b,c,d,!0)},acceptData:function(b){if(b.nodeName){var c=a.noData[b.nodeName.toLowerCase()];if(c)return c!==!0&&b.getAttribute("classid")===c}return!0}}),a.fn.extend({data:function(e,g){var c=null;if(typeof e=="undefined"){if(this.length){c=a.data(this[0]);if(this[0].nodeType===1)for(var i=this[0].attributes,f,h=0,j=i.length;h<j;h++)f=i[h].name,f.indexOf("data-")===0&&(f=a.camelCase(f.substring(5)),mb(this[0],f,c[f]))}return c}if(typeof e=="object")return this.each(function(){a.data(this,e)});var d=e.split(".");d[1]=d[1]?"."+d[1]:"";if(g===b){c=this.triggerHandler("getData"+d[1]+"!",[d[0]]),c===b&&this.length&&(c=a.data(this[0],e),c=mb(this[0],e,c));return c===b&&d[1]?this.data(d[0]):c}return this.each(function(){var b=a(this),c=[d[0],g];b.triggerHandler("setData"+d[1]+"!",c),a.data(this,e,g),b.triggerHandler("changeData"+d[1]+"!",c)})},removeData:function(b){return this.each(function(){a.removeData(this,b)})}}),a.extend({_mark:function(d,c){d&&(c=(c||"fx")+"mark",a.data(d,c,(a.data(d,c,b,!0)||0)+1,!0))},_unmark:function(e,c,d){e!==!0&&(d=c,c=e,e=!1);if(c){d=d||"fx";var f=d+"mark",g=e?0:(a.data(c,f,b,!0)||1)-1;g?a.data(c,f,g,!0):(a.removeData(c,f,!0),ob(c,d,"mark"))}},queue:function(f,c,d){if(f){c=(c||"fx")+"queue";var e=a.data(f,c,b,!0);d&&(!e||a.isArray(d)?(e=a.data(f,c,a.makeArray(d),!0)):e.push(d));return e||[]}},dequeue:function(c,b){b=b||"fx";var d=a.queue(c,b),e=d.shift(),f;e==="inprogress"&&(e=d.shift()),e&&(b==="fx"&&d.unshift("inprogress"),e.call(c,function(){a.dequeue(c,b)})),d.length||(a.removeData(c,b+"queue",!0),ob(c,b,"queue"))}}),a.fn.extend({queue:function(c,d){typeof c!="string"&&(d=c,c="fx");return d===b?a.queue(this[0],c):this.each(function(){var b=a.queue(this,c,d);c==="fx"&&b[0]!=="inprogress"&&a.dequeue(this,c)})},dequeue:function(b){return this.each(function(){a.dequeue(this,b)})},delay:function(b,c){b=a.fx?a.fx.speeds[b]||b:b,c=c||"fx";return this.queue(c,function(){var d=this;setTimeout(function(){a.dequeue(d,c)},b)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(c,k){function j(){--g||f.resolveWith(d,[d])}typeof c!="string"&&(k=c,c=b),c=c||"fx";var f=a.Deferred(),d=this,e=d.length,g=1,h=c+"defer",l=c+"queue",m=c+"mark",i;while(e--)if(i=a.data(d[e],h,b,!0)||(a.data(d[e],l,b,!0)||a.data(d[e],m,b,!0))&&a.data(d[e],h,a._Deferred(),!0))g++,i.done(j);j();return f.promise()}});var pb=/[\n\t\r]/g,H=/\s+/,qc=/\r/g,rc=/^(?:button|input)$/i,tc=/^(?:button|input|object|select|textarea)$/i,vc=/^a(?:rea)?$/i,qb=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,yc=/\:/,j,tb;a.fn.extend({attr:function(b,c){return a.access(this,b,c,!0,a.attr)},removeAttr:function(b){return this.each(function(){a.removeAttr(this,b)})},prop:function(b,c){return a.access(this,b,c,!0,a.prop)},removeProp:function(c){c=a.propFix[c]||c;return this.each(function(){try{this[c]=b,delete this[c]}catch(a){}})},addClass:function(b){if(a.isFunction(b))return this.each(function(d){var c=a(this);c.addClass(b.call(this,d,c.attr("class")||""))});if(b&&typeof b=="string")for(var e=(b||"").split(H),f=0,h=this.length;f<h;f++){var c=this[f];if(c.nodeType===1)if(!c.className)c.className=b;else{for(var i=" "+c.className+" ",g=c.className,d=0,j=e.length;d<j;d++)i.indexOf(" "+e[d]+" ")<0&&(g+=" "+e[d]);c.className=a.trim(g)}}return this},removeClass:function(c){if(a.isFunction(c))return this.each(function(d){var b=a(this);b.removeClass(c.call(this,d,b.attr("class")))});if(c&&typeof c=="string"||c===b)for(var h=(c||"").split(H),e=0,i=this.length;e<i;e++){var d=this[e];if(d.nodeType===1&&d.className)if(c){for(var f=(" "+d.className+" ").replace(pb," "),g=0,j=h.length;g<j;g++)f=f.replace(" "+h[g]+" "," ");d.className=a.trim(f)}else d.className=""}return this},toggleClass:function(b,c){var d=typeof b,e=typeof c=="boolean";return a.isFunction(b)?this.each(function(e){var d=a(this);d.toggleClass(b.call(this,e,d.attr("class"),c),c)}):this.each(function(){if(d==="string"){var f,i=0,h=a(this),g=c,j=b.split(H);while(f=j[i++])g=e?g:!h.hasClass(f),h[g?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean")this.className&&a._data(this,"__className__",this.className),this.className=this.className||b===!1?"":a._data(this,"__className__")||""})},hasClass:function(b){for(var c=" "+b+" ",a=0,d=this.length;a<d;a++)if((" "+this[a].className+" ").replace(pb," ").indexOf(c)>-1)return!0;return!1},val:function(e){var c,f,d=this[0];if(!arguments.length){if(d){c=a.valHooks[d.nodeName.toLowerCase()]||a.valHooks[d.type];return c&&"get"in c&&(f=c.get(d,"value"))!==b?f:(d.value||"").replace(qc,"")}return b}var g=a.isFunction(e);return this.each(function(f){var h=a(this),d;if(this.nodeType===1){g?(d=e.call(this,f,h.val())):(d=e),d==null?(d=""):typeof d=="number"?(d+=""):a.isArray(d)&&(d=a.map(d,function(a){return a==null?"":a+""})),c=a.valHooks[this.nodeName.toLowerCase()]||a.valHooks[this.type];if(!c||!("set"in c)||c.set(this,d,"value")===b)this.value=d}})}}),a.extend({valHooks:{option:{"get":function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{"get":function(f){var g,c=f.selectedIndex,h=[],d=f.options,e=f.type==="select-one";if(c<0)return null;for(var i=e?c:0,j=e?c+1:d.length;i<j;i++){var b=d[i];if(b.selected&&(a.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!a.nodeName(b.parentNode,"optgroup"))){g=a(b).val();if(e)return g;h.push(g)}}return e&&!h.length&&d.length?a(d[c]).val():h},"set":function(c,d){var b=a.makeArray(d);a(c).find("option").each(function(){this.selected=a.inArray(a(this).val(),b)>=0}),b.length||(c.selectedIndex=-1);return b}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(d,c,e,k){var h=d.nodeType;if(!d||h===3||h===8||h===2)return b;if(k&&c in a.attrFn)return a(d)[c](e);if(!("getAttribute"in d))return a.prop(d,c,e);var g,f,i=h!==1||!a.isXMLDoc(d);c=i&&a.attrFix[c]||c,f=a.attrHooks[c],f||(!qb.test(c)||typeof e!="boolean"&&e!==b&&e.toLowerCase()!==c.toLowerCase()?j&&(a.nodeName(d,"form")||yc.test(c))&&(f=j):(f=tb));if(e!==b){if(e===null){a.removeAttr(d,c);return b}if(f&&"set"in f&&i&&(g=f.set(d,e,c))!==b)return g;d.setAttribute(c,""+e);return e}if(f&&"get"in f&&i)return f.get(d,c);g=d.getAttribute(c);return g===null?b:g},removeAttr:function(c,b){var d;c.nodeType===1&&(b=a.attrFix[b]||b,a.support.getSetAttribute?c.removeAttribute(b):(a.attr(c,b,""),c.removeAttributeNode(c.getAttributeNode(b))),qb.test(b)&&(d=a.propFix[b]||b)in c&&(c[d]=!1))},attrHooks:{type:{"set":function(b,c){if(rc.test(b.nodeName)&&b.parentNode)a.error("type property can't be changed");else if(!a.support.radioValue&&c==="radio"&&a.nodeName(b,"input")){var d=b.value;b.setAttribute("type",c),d&&(b.value=d);return c}}},tabIndex:{"get":function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):tc.test(a.nodeName)||vc.test(a.nodeName)&&a.href?0:b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(d,c,h){var f=d.nodeType;if(!d||f===3||f===8||f===2)return b;var g,e,i=f!==1||!a.isXMLDoc(d);c=i&&a.propFix[c]||c,e=a.propHooks[c];return h!==b?e&&"set"in e&&(g=e.set(d,h,c))!==b?g:(d[c]=h):e&&"get"in e&&(g=e.get(d,c))!==b?g:d[c]},propHooks:{}}),tb={"get":function(d,c){return d[a.propFix[c]||c]?c.toLowerCase():b},"set":function(c,e,b){var d;e===!1?a.removeAttr(c,b):(d=a.propFix[b]||b,d in c&&(c[d]=e),c.setAttribute(b,b.toLowerCase()));return b}},a.attrHooks.value={"get":function(b,c){return j&&a.nodeName(b,"button")?j.get(b,c):b.value},"set":function(b,c,d){if(j&&a.nodeName(b,"button"))return j.set(b,c,d);b.value=c}},a.support.getSetAttribute||(a.attrFix=a.propFix,j=a.attrHooks.name=a.valHooks.button={"get":function(c,d){var a;a=c.getAttributeNode(d);return a&&a.nodeValue!==""?a.nodeValue:b},"set":function(c,a,d){var b=c.getAttributeNode(d);if(b){b.nodeValue=a;return a}}},a.each(["width","height"],function(c,b){a.attrHooks[b]=a.extend(a.attrHooks[b],{"set":function(c,a){if(a===""){c.setAttribute(b,"auto");return a}}})})),a.support.hrefNormalized||a.each(["href","src","width","height"],function(d,c){a.attrHooks[c]=a.extend(a.attrHooks[c],{"get":function(d){var a=d.getAttribute(c,2);return a===null?b:a}})}),a.support.style||(a.attrHooks.style={"get":function(a){return a.style.cssText.toLowerCase()||b},"set":function(a,b){return a.style.cssText=""+b}}),a.support.optSelected||(a.propHooks.selected=a.extend(a.propHooks.selected,{"get":function(b){var a=b.parentNode;a&&(a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex)}})),a.support.checkOn||a.each(["radio","checkbox"],function(){a.valHooks[this]={"get":function(a){return a.getAttribute("value")===null?"on":a.value}}}),a.each(["radio","checkbox"],function(){a.valHooks[this]=a.extend(a.valHooks[this],{"set":function(b,c){if(a.isArray(c))return b.checked=a.inArray(a(b).val(),c)>=0}})});var Cc=Object.prototype.hasOwnProperty,I=/\.(.*)$/,J=/^(?:textarea|input|select)$/i,gc=/\./g,hc=/ /g,ic=/[^\w\s.|`]/g,kc=function(a){return a.replace(ic,"\\$&")};a.event={add:function(c,n,d,p){if(c.nodeType!==3&&c.nodeType!==8){if(d===!1)d=i;else if(!d)return;var k,f;d.handler&&(k=d,d=k.handler),d.guid||(d.guid=a.guid++);var h=a._data(c);if(!h)return;var l=h.events,g=h.handle;l||(h.events=l={}),g||(h.handle=g=function(c){return typeof a!="undefined"&&(!c||a.event.triggered!==c.type)?a.event.handle.apply(g.elem,arguments):b}),g.elem=c,n=n.split(" ");var e,q=0,j;while(e=n[q++]){f=k?a.extend({},k):{handler:d,data:p},e.indexOf(".")>-1?(j=e.split("."),e=j.shift(),f.namespace=j.slice(0).sort().join(".")):(j=[],f.namespace=""),f.type=e,f.guid||(f.guid=d.guid);var o=l[e],m=a.event.special[e]||{};if(!o){o=l[e]=[];if(!m.setup||m.setup.call(c,p,j,g)===!1)c.addEventListener?c.addEventListener(e,g,!1):c.attachEvent&&c.attachEvent("on"+e,g)}m.add&&(m.add.call(c,f),f.handler.guid||(f.handler.guid=d.guid)),o.push(f),a.event.global[e]=!0}c=null}},global:{},remove:function(f,c,k,o){if(f.nodeType!==3&&f.nodeType!==8){k===!1&&(k=i);var t,d,v,e,u=0,p,l,q,m,g,h,r,j=a.hasData(f)&&a._data(f),n=j&&j.events;if(!j||!n)return;c&&c.type&&(k=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(d in n)a.event.remove(f,d+c);return}c=c.split(" ");while(d=c[u++]){r=d,h=null,p=d.indexOf(".")<0,l=[],p||(l=d.split("."),d=l.shift(),q=new RegExp("(^|\\.)"+a.map(l.slice(0).sort(),kc).join("\\.(?:.*\\.)?")+"(\\.|$)")),g=n[d];if(!g)continue;if(!k){for(e=0;e<g.length;e++){h=g[e];if(p||q.test(h.namespace))a.event.remove(f,r,h.handler,e),g.splice(e--,1)}continue}m=a.event.special[d]||{};for(e=o||0;e<g.length;e++){h=g[e];if(k.guid===h.guid){if(p||q.test(h.namespace))o==null&&g.splice(e--,1),m.remove&&m.remove.call(f,h);if(o!=null)break}}if(g.length===0||o!=null&&g.length===1)(!m.teardown||m.teardown.call(f,l)===!1)&&a.removeEvent(f,d,j.handle),t=null,delete n[d]}if(a.isEmptyObject(n)){var s=j.handle;s&&(s.elem=null),delete j.events,delete j.handle,a.isEmptyObject(j)&&a.removeData(f,b,!0)}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,h,f,o){var e=c.type||c,j=[],l;e.indexOf("!")>=0&&(e=e.slice(0,-1),l=!0),e.indexOf(".")>=0&&(j=e.split("."),e=j.shift(),j.sort());if(!!f&&!a.event.customEvent[e]||!!a.event.global[e]){c=typeof c=="object"?c[a.expando]?c:new a.Event(e,c):new a.Event(e),c.type=e,c.exclusive=l,c.namespace=j.join("."),c.namespace_re=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)");if(o||!f)c.preventDefault(),c.stopPropagation();if(!f){a.each(a.cache,function(){var d=a.expando,b=this[d];b&&b.events&&b.events[e]&&a.event.trigger(c,h,b.handle.elem)});return}if(f.nodeType===3||f.nodeType===8)return;c.result=b,c.target=f,h=h?a.makeArray(h):[],h.unshift(c);var g=f,i=e.indexOf(":")<0?"on"+e:"";do{var m=a._data(g,"handle");c.currentTarget=g,m&&m.apply(g,h),i&&a.acceptData(g)&&g[i]&&g[i].apply(g,h)===!1&&(c.result=!1,c.preventDefault()),g=g.parentNode||g.ownerDocument||g===c.target.ownerDocument&&d}while(g&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var k,n=a.event.special[e]||{};if((!n._default||n._default.call(f.ownerDocument,c)===!1)&&(e!=="click"||!a.nodeName(f,"a"))&&a.acceptData(f)){try{i&&f[e]&&(k=f[i],k&&(f[i]=null),a.event.triggered=e,f[e]())}catch(p){}k&&(f[i]=k),a.event.triggered=b}}return c.result}},handle:function(c){c=a.event.fix(c||d.event);var h=((a._data(this,"events")||{})[c.type]||[]).slice(0),j=!c.exclusive&&!c.namespace,i=Array.prototype.slice.call(arguments,0);i[0]=c,c.currentTarget=this;for(var f=0,k=h.length;f<k;f++){var e=h[f];if(j||c.namespace_re.test(e.namespace)){c.handler=e.handler,c.data=e.data,c.handleObj=e;var g=e.handler.apply(this,i);g!==b&&(c.result=g,g===!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(d){if(d[a.expando])return d;var h=d;d=a.Event(h);for(var i=this.props.length,g;i;)g=this.props[--i],d[g]=h[g];d.target||(d.target=d.srcElement||c),d.target.nodeType===3&&(d.target=d.target.parentNode),!d.relatedTarget&&d.fromElement&&(d.relatedTarget=d.fromElement===d.target?d.toElement:d.fromElement);if(d.pageX==null&&d.clientX!=null){var j=d.target.ownerDocument||c,e=j.documentElement,f=j.body;d.pageX=d.clientX+(e&&e.scrollLeft||f&&f.scrollLeft||0)-(e&&e.clientLeft||f&&f.clientLeft||0),d.pageY=d.clientY+(e&&e.scrollTop||f&&f.scrollTop||0)-(e&&e.clientTop||f&&f.clientTop||0)}d.which==null&&(d.charCode!=null||d.keyCode!=null)&&(d.which=d.charCode!=null?d.charCode:d.keyCode),!d.metaKey&&d.ctrlKey&&(d.metaKey=d.ctrlKey),!d.which&&d.button!==b&&(d.which=d.button&1?1:d.button&2?3:d.button&4?2:0);return d},guid:1e8,proxy:a.proxy,special:{ready:{setup:a.bindReady,teardown:a.noop},live:{add:function(b){a.event.add(this,x(b.origType,b.selector),a.extend({},b,{handler:oc,guid:b.handler.guid}))},remove:function(b){a.event.remove(this,x(b.origType,b.selector),b)}},beforeunload:{setup:function(c,d,b){a.isWindow(this)&&(this.onbeforeunload=b)},teardown:function(b,a){this.onbeforeunload===a&&(this.onbeforeunload=null)}}}},a.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)},a.Event=function(b,c){if(!this.preventDefault)return new a.Event(b,c);b&&b.type?(this.originalEvent=b,this.type=b.type,this.isDefaultPrevented=b.defaultPrevented||b.returnValue===!1||b.getPreventDefault&&b.getPreventDefault()?v:i):(this.type=b),c&&a.extend(this,c),this.timeStamp=a.now(),this[a.expando]=!0},a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=v;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():(a.returnValue=!1))},stopPropagation:function(){this.isPropagationStopped=v;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=v,this.stopPropagation()},isDefaultPrevented:i,isPropagationStopped:i,isImmediatePropagationStopped:i};var ib=function(d){var b=d.relatedTarget;d.type=d.data;try{if(b&&b!==c&&!b.parentNode)return;while(b&&b!==this)b=b.parentNode;b!==this&&a.event.handle.apply(this,arguments)}catch(e){}},kb=function(b){b.type=b.data,a.event.handle.apply(this,arguments)};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(b,c){a.event.special[b]={setup:function(d){a.event.add(this,c,d&&d.selector?kb:ib,b)},teardown:function(b){a.event.remove(this,c,b&&b.selector?kb:ib)}}}),a.support.submitBubbles||(a.event.special.submit={setup:function(){if(!a.nodeName(this,"form"))a.event.add(this,"click.specialSubmit",function(d){var b=d.target,c=b.type;(c==="submit"||c==="image")&&a(b).closest("form").length&&nb("submit",this,arguments)}),a.event.add(this,"keypress.specialSubmit",function(b){var c=b.target,d=c.type;(d==="text"||d==="password")&&a(c).closest("form").length&&b.keyCode===13&&nb("submit",this,arguments)});else return!1},teardown:function(){a.event.remove(this,".specialSubmit")}});if(!a.support.changeBubbles){var p,lb=function(b){var d=b.type,c=b.value;d==="radio"||d==="checkbox"?(c=b.checked):d==="select-multiple"?(c=b.selectedIndex>-1?a.map(b.options,function(a){return a.selected}).join("-"):""):a.nodeName(b,"select")&&(c=b.selectedIndex);return c},w=function(d){var c=d.target,e,f;if(!!J.test(c.nodeName)&&!c.readOnly){e=a._data(c,"_change_data"),f=lb(c),(d.type!=="focusout"||c.type!=="radio")&&a._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f)d.type="change",d.liveFired=b,a.event.trigger(d,arguments[1],c)}};a.event.special.change={filters:{focusout:w,beforedeactivate:w,click:function(c){var b=c.target,d=a.nodeName(b,"input")?b.type:"";(d==="radio"||d==="checkbox"||a.nodeName(b,"select"))&&w.call(this,c)},keydown:function(b){var c=b.target,d=a.nodeName(c,"input")?c.type:"";(b.keyCode===13&&!a.nodeName(c,"textarea")||b.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")&&w.call(this,b)},beforeactivate:function(c){var b=c.target;a._data(b,"_change_data",lb(b))}},setup:function(){if(this.type==="file")return!1;for(var b in p)a.event.add(this,b+".specialChange",p[b]);return J.test(this.nodeName)},teardown:function(){a.event.remove(this,".specialChange");return J.test(this.nodeName)}},p=a.event.special.change.filters,p.focus=p.beforeactivate}a.support.focusinBubbles||a.each({focus:"focusin",blur:"focusout"},function(b,d){function f(c){var b=a.event.fix(c);b.type=d,b.originalEvent={},a.event.trigger(b,null,b.target),b.isDefaultPrevented()&&c.preventDefault()}var e=0;a.event.special[d]={setup:function(){e++===0&&c.addEventListener(b,f,!0)},teardown:function(){--e===0&&c.removeEventListener(b,f,!0)}}}),a.each(["bind","one"],function(d,c){a.fn[c]=function(d,e,f){var g;if(typeof d=="object"){for(var i in d)this[c](i,e,d[i],f);return this}if(arguments.length===2||e===!1)f=e,e=b;c==="one"?(g=function(b){a(this).unbind(b,g);return f.apply(this,arguments)},g.guid=f.guid||a.guid++):(g=f);if(d==="unload"&&c!=="one")this.one(d,e,f);else for(var h=0,j=this.length;h<j;h++)a.event.add(this[h],d,g,e);return this}}),a.fn.extend({unbind:function(b,e){if(typeof b=="object"&&!b.preventDefault)for(var d in b)this.unbind(d,b[d]);else for(var c=0,f=this.length;c<f;c++)a.event.remove(this[c],b,e);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(b,c){return this.each(function(){a.event.trigger(b,c,this)})},triggerHandler:function(b,c){if(this[0])return a.event.trigger(b,c,this[0],!0)},toggle:function(b){var c=arguments,e=b.guid||a.guid++,d=0,f=function(f){var e=(a.data(this,"lastToggle"+b.guid)||0)%d;a.data(this,"lastToggle"+b.guid,e+1),f.preventDefault();return c[e].apply(this,arguments)||!1};f.guid=e;while(d<c.length)c[d++].guid=e;return this.click(f)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var G={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};a.each(["live","die"],function(d,c){a.fn[c]=function(e,g,k,h){var d,q=0,m,f,o,l=h||this.selector,j=h?this:a(this.context);if(typeof e=="object"&&!e.preventDefault){for(var p in e)j[c](p,g,e[p],l);return this}if(c==="die"&&!e&&h&&h.charAt(0)==="."){j.unbind(h);return this}if(g===!1||a.isFunction(g))k=g||i,g=b;e=(e||"").split(" ");while((d=e[q++])!=null){m=I.exec(d),f="",m&&(f=m[0],d=d.replace(I,""));if(d==="hover"){e.push("mouseenter"+f,"mouseleave"+f);continue}o=d,G[d]?(e.push(G[d]+f),d=d+f):(d=(G[d]||d)+f);if(c==="live")for(var n=0,r=j.length;n<r;n++)a.event.add(j[n],"live."+x(d,l),{data:g,selector:l,handler:k,origType:d,origHandler:k,preType:o});else j.unbind("live."+x(d,l),k)}return this}}),a.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(c,b){a.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},a.attrFn&&(a.attrFn[b]=!0)}),function(){function r(g,f,h,c,k,i){for(var b=0,j=c.length;b<j;b++){var a=c[b];if(a){var e=!1;a=a[g];while(a){if(a.sizcache===h){e=c[a.sizset];break}if(a.nodeType===1){i||(a.sizcache=h,a.sizset=b);if(typeof f!="string"){if(a===f){e=!0;break}}else if(d.filter(f,[a]).length>0){e=a;break}}a=a[g]}c[b]=e}}}function q(e,g,f,c,j,h){for(var b=0,i=c.length;b<i;b++){var a=c[b];if(a){var d=!1;a=a[e];while(a){if(a.sizcache===f){d=c[a.sizset];break}a.nodeType===1&&!h&&(a.sizcache=f,a.sizset=b);if(a.nodeName.toLowerCase()===g){d=a;break}a=a[e]}c[b]=d}}}var m=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,n=0,o=Object.prototype.toString,i=!1,p=!0,g=/\\/g,j=/\W/;[0,0].sort(function(){p=!1;return 0});var d=function(k,b,i,r){i=i||[],b=b||c;var y=b;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!k||typeof k!="string")return i;var n,l,g,v,j,p,q,h,w=!0,u=d.isXML(b),a=[],x=k;do{m.exec(""),n=m.exec(x);if(n){x=n[3],a.push(n[1]);if(n[2]){v=n[3];break}}}while(n);if(a.length>1&&t.exec(k))if(a.length===2&&e.relative[a[0]])l=s(a[0]+a[1],b);else{l=e.relative[a[0]]?[b]:d(a.shift(),b);while(a.length)k=a.shift(),e.relative[k]&&(k+=a.shift()),l=s(k,l)}else{!r&&a.length>1&&b.nodeType===9&&!u&&e.match.ID.test(a[0])&&!e.match.ID.test(a[a.length-1])&&(j=d.find(a.shift(),b,u),b=j.expr?d.filter(j.expr,j.set)[0]:j.set[0]);if(b){j=r?{expr:a.pop(),"set":f(r)}:d.find(a.pop(),a.length===1&&(a[0]==="~"||a[0]==="+")&&b.parentNode?b.parentNode:b,u),l=j.expr?d.filter(j.expr,j.set):j.set,a.length>0?(g=f(l)):(w=!1);while(a.length)p=a.pop(),q=p,e.relative[p]?(q=a.pop()):(p=""),q==null&&(q=b),e.relative[p](g,q,u)}else g=a=[]}g||(g=l),g||d.error(p||k);if(o.call(g)==="[object Array]")if(!w)i.push.apply(i,g);else if(b&&b.nodeType===1)for(h=0;g[h]!=null;h++)g[h]&&(g[h]===!0||g[h].nodeType===1&&d.contains(b,g[h]))&&i.push(l[h]);else for(h=0;g[h]!=null;h++)g[h]&&g[h].nodeType===1&&i.push(l[h]);else f(g,i);v&&(d(v,y,i,r),d.uniqueSort(i));return i};d.uniqueSort=function(a){if(l){i=p,a.sort(l);if(i)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},d.matches=function(a,b){return d(a,null,null,b)},d.matchesSelector=function(a,b){return d(b,null,null,[a]).length>0},d.find=function(b,d,j){var c;if(!b)return[];for(var f=0,k=e.order.length;f<k;f++){var a,h=e.order[f];if(a=e.leftMatch[h].exec(b)){var i=a[1];a.splice(1,1);if(i.substr(i.length-1)!=="\\"){a[1]=(a[1]||"").replace(g,""),c=e.find[h](a,d,j);if(c!=null){b=b.replace(e.match[h],"");break}}}}c||(c=typeof d.getElementsByTagName!="undefined"?d.getElementsByTagName("*"):[]);return{"set":c,expr:b}},d.filter=function(c,h,n,o){var a,g,p=c,i=[],f=h,s=h&&h[0]&&d.isXML(h[0]);while(c&&h.length){for(var j in e.filter)if((a=e.leftMatch[j].exec(c))!=null&&a[2]){var k,l,t=e.filter[j],q=a[1];g=!1,a.splice(1,1);if(q.substr(q.length-1)==="\\")continue;f===i&&(i=[]);if(e.preFilter[j]){a=e.preFilter[j](a,f,n,i,o,s);if(!a)g=k=!0;else if(a===!0)continue}if(a)for(var m=0;(l=f[m])!=null;m++)if(l){k=t(l,a,m,f);var r=o^!!k;n&&k!=null?r?(g=!0):(f[m]=!1):r&&(i.push(l),g=!0)}if(k!==b){n||(f=i),c=c.replace(e.match[j],"");if(!g)return[];break}}if(c===p)if(g==null)d.error(c);else break;p=c}return f},d.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var e=d.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(c,b){var f=typeof b=="string",g=f&&!j.test(b),h=f&&!g;g&&(b=b.toLowerCase());for(var e=0,i=c.length,a;e<i;e++)if(a=c[e]){while((a=a.previousSibling)&&a.nodeType!==1);c[e]=h||a&&a.nodeName.toLowerCase()===b?a||!1:a===b}h&&d.filter(b,c,!0)},">":function(e,b){var c,f=typeof b=="string",a=0,g=e.length;if(f&&!j.test(b)){b=b.toLowerCase();for(;a<g;a++){c=e[a];if(c){var h=c.parentNode;e[a]=h.nodeName.toLowerCase()===b?h:!1}}}else{for(;a<g;a++)c=e[a],c&&(e[a]=f?c.parentNode:c.parentNode===b);f&&d.filter(b,e,!0)}},"":function(d,a,e){var b,f=n++,c=r;typeof a=="string"&&!j.test(a)&&(a=a.toLowerCase(),b=a,c=q),c("parentNode",a,f,d,b,e)},"~":function(d,a,e){var b,f=n++,c=r;typeof a=="string"&&!j.test(a)&&(a=a.toLowerCase(),b=a,c=q),c("previousSibling",a,f,d,b,e)}},find:{ID:function(c,b,d){if(typeof b.getElementById!="undefined"&&!d){var a=b.getElementById(c[1]);return a&&a.parentNode?[a]:[]}},NAME:function(d,e){if(typeof e.getElementsByName!="undefined"){for(var b=[],c=e.getElementsByName(d[1]),a=0,f=c.length;a<f;a++)c[a].getAttribute("name")===d[1]&&b.push(c[a]);return b.length===0?null:b}},TAG:function(b,a){if(typeof a.getElementsByTagName!="undefined")return a.getElementsByTagName(b[1])}},preFilter:{CLASS:function(b,d,e,f,h,i){b=" "+b[1].replace(g,"")+" ";if(i)return b;for(var c=0,a;(a=d[c])!=null;c++)a&&(h^(a.className&&(" "+a.className+" ").replace(/[\t\n\r]/g," ").indexOf(b)>=0)?e||f.push(a):e&&(d[c]=!1));return!1},ID:function(a){return a[1].replace(g,"")},TAG:function(a){return a[1].replace(g,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||d.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]&&d.error(a[0]);a[0]=n++;return a},ATTR:function(a,d,f,h,i,c){var b=a[1]=a[1].replace(g,"");!c&&e.attrMap[b]&&(a[1]=e.attrMap[b]),a[4]=(a[4]||a[5]||"").replace(g,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,f,g){if(a[1]==="not")if((m.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=d(a[3],null,null,b);else{var h=d.filter(a[3],b,c,!0^g);c||f.push.apply(f,h);return!1}else if(e.match.POS.test(a[0])||e.match.CHILD.test(a[0]))return!0;return a},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,c,b){return!!d(b[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 a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(b,a){return a===0},last:function(c,a,d,b){return a===b.length-1},even:function(b,a){return a%2===0},odd:function(b,a){return a%2===1},lt:function(c,a,b){return a<b[3]-0},gt:function(c,a,b){return a>b[3]-0},nth:function(c,a,b){return b[3]-0===a},eq:function(c,a,b){return b[3]-0===a}},filter:{PSEUDO:function(a,b,i,j){var c=b[1],g=e.filters[c];if(g)return g(a,i,b,j);if(c==="contains")return(a.textContent||a.innerText||d.getText([a])||"").indexOf(b[3])>=0;if(c==="not"){for(var h=b[3],f=0,k=h.length;f<k;f++)if(h[f]===a)return!1;return!0}d.error(c)},CHILD:function(b,c){var g=c[1],a=b;switch(g){case"only":case"first":while(a=a.previousSibling)if(a.nodeType===1)return!1;if(g==="first")return!0;a=b;case"last":while(a=a.nextSibling)if(a.nodeType===1)return!1;return!0;case"nth":var d=c[2],h=c[3];if(d===1&&h===0)return!0;var i=c[0],e=b.parentNode;if(e&&(e.sizcache!==i||!b.nodeIndex)){var j=0;for(a=e.firstChild;a;a=a.nextSibling)a.nodeType===1&&(a.nodeIndex=++j);e.sizcache=i}var f=b.nodeIndex-h;return d===0?f===0:f%d===0&&f/d>=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(f,g){var d=g[1],h=e.attrHandle[d]?e.attrHandle[d](f):f[d]!=null?f[d]:f.getAttribute(d),b=h+"",c=g[2],a=g[4];return h==null?c==="!=":c==="="?b===a:c==="*="?b.indexOf(a)>=0:c==="~="?(" "+b+" ").indexOf(a)>=0:a?c==="!="?b!==a:c==="^="?b.indexOf(a)===0:c==="$="?b.substr(b.length-a.length)===a:c==="|="?b===a||b.substr(0,a.length+1)===a+"-":!1:b&&h!==!1},POS:function(c,a,d,f){var g=a[2],b=e.setFilters[g];if(b)return b(c,d,a,f)}}},t=e.match.POS,u=function(b,a){return"\\"+(a-0+1)};for(var k in e.match)e.match[k]=new RegExp(e.match[k].source+/(?![^\[]*\])(?![^\(]*\))/.source),e.leftMatch[k]=new RegExp(/(^(?:.|\r|\n)*?)/.source+e.match[k].source.replace(/\\(\d+)/g,u));var f=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(v){f=function(a,d){var b=0,c=d||[];if(o.call(a)==="[object Array]")Array.prototype.push.apply(c,a);else if(typeof a.length=="number")for(var e=a.length;b<e;b++)c.push(a[b]);else for(;a[b];b++)c.push(a[b]);return c}}var l,h;c.documentElement.compareDocumentPosition?(l=function(a,b){if(a===b){i=!0;return 0}return!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(b)&4?-1:1}):(l=function(c,d){if(c===d){i=!0;return 0}if(c.sourceIndex&&d.sourceIndex)return c.sourceIndex-d.sourceIndex;var g,l,e=[],f=[],j=c.parentNode,k=d.parentNode,b=j;if(j===k)return h(c,d);if(!j)return-1;if(!k)return 1;while(b)e.unshift(b),b=b.parentNode;b=k;while(b)f.unshift(b),b=b.parentNode;g=e.length,l=f.length;for(var a=0;a<g&&a<l;a++)if(e[a]!==f[a])return h(e[a],f[a]);return a===g?h(c,f[a],-1):h(e[a],d,1)},h=function(b,c,d){if(b===c)return d;var a=b.nextSibling;while(a){if(a===c)return-1;a=a.nextSibling}return 1}),d.getText=function(e){for(var b="",a,c=0;e[c];c++)a=e[c],a.nodeType===3||a.nodeType===4?(b+=a.nodeValue):a.nodeType!==8&&(b+=d.getText(a.childNodes));return b},function(){var a=c.createElement("div"),f="script"+(new Date).getTime(),d=c.documentElement;a.innerHTML="<a name='"+f+"'/>",d.insertBefore(a,d.firstChild),c.getElementById(f)&&(e.find.ID=function(c,d,e){if(typeof d.getElementById!="undefined"&&!e){var a=d.getElementById(c[1]);return a?a.id===c[1]||typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id").nodeValue===c[1]?[a]:b:[]}},e.filter.ID=function(a,c){var b=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&b&&b.nodeValue===c}),d.removeChild(a),d=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(e.find.TAG=function(c,e){var a=e.getElementsByTagName(c[1]);if(c[1]==="*"){for(var d=[],b=0;a[b];b++)a[b].nodeType===1&&d.push(a[b]);a=d}return a}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(e.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var b=d,a=c.createElement("div"),h="__sizzle__";a.innerHTML="<p class='TEST'></p>";if(!a.querySelectorAll||a.querySelectorAll(".TEST").length!==0){d=function(j,a,g,n){a=a||c;if(!n&&!d.isXML(a)){var i=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(j);if(i&&(a.nodeType===1||a.nodeType===9)){if(i[1])return f(a.getElementsByTagName(j),g);if(i[2]&&e.find.CLASS&&a.getElementsByClassName)return f(a.getElementsByClassName(i[2]),g)}if(a.nodeType===9){if(j==="body"&&a.body)return f([a.body],g);if(i&&i[3]){var k=a.getElementById(i[3]);if(!k||!k.parentNode)return f([],g);if(k.id===i[3])return f([k],g)}try{return f(a.querySelectorAll(j),g)}catch(r){}}else if(a.nodeType===1&&a.nodeName.toLowerCase()!=="object"){var q=a,m=a.getAttribute("id"),l=m||h,o=a.parentNode,p=/^\s*[+~]/.test(j);m?(l=l.replace(/'/g,"\\$&")):a.setAttribute("id",l),p&&o&&(a=a.parentNode);try{if(!p||o)return f(a.querySelectorAll("[id='"+l+"'] "+j),g)}catch(s){}finally{m||q.removeAttribute("id")}}}return b(j,a,g,n)};for(var g in b)d[g]=b[g];a=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var g=!b.call(c.createElement("div"),"div"),f=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(h){f=!0}d.matchesSelector=function(c,a){a=a.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!d.isXML(c))try{if(f||!e.match.PSEUDO.test(a)&&!/!=/.test(a)){var h=b.call(c,a);if(h||!g||c.document&&c.document.nodeType!==11)return h}}catch(i){}return d(a,null,null,[c]).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;e.order.splice(1,0,"CLASS"),e.find.CLASS=function(b,a,c){if(typeof a.getElementsByClassName!="undefined"&&!c)return a.getElementsByClassName(b[1])},a=null}}(),c.documentElement.contains?(d.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}):c.documentElement.compareDocumentPosition?(d.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}):(d.contains=function(){return!1}),d.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var s=function(a,b){var f,g=[],h="",i=b.nodeType?[b]:b;while(f=e.match.PSEUDO.exec(a))h+=f[0],a=a.replace(e.match.PSEUDO,"");a=e.relative[a]?a+"*":a;for(var c=0,j=i.length;c<j;c++)d(a,i[c],g);return d.filter(h,g)};a.find=d,a.expr=d.selectors,a.expr[":"]=a.expr.filters,a.unique=d.uniqueSort,a.text=d.getText,a.isXMLDoc=d.isXML,a.contains=d.contains}();var pc=/Until$/,sc=/^(?:parents|prevUntil|prevAll)/,uc=/,/,wc=/^.[^:#\[\.,]*$/,xc=Array.prototype.slice,rb=a.expr.match.POS,zc={children:!0,contents:!0,next:!0,prev:!0};a.fn.extend({find:function(e){var i=this,b,f;if(typeof e!="string")return a(e).filter(function(){for(b=0,f=i.length;b<f;b++)if(a.contains(i[b],this))return!0});var c=this.pushStack("","find",e),h,d,g;for(b=0,f=this.length;b<f;b++){h=c.length,a.find(e,this[b],c);if(b>0)for(d=h;d<c.length;d++)for(g=0;g<h;g++)if(c[g]===c[d]){c.splice(d--,1);break}}return c},has:function(c){var b=a(c);return this.filter(function(){for(var c=0,d=b.length;c<d;c++)if(a.contains(this,b[c]))return!0})},not:function(a){return this.pushStack(ub(this,a,!1),"not",a)},filter:function(a){return this.pushStack(ub(this,a,!0),"filter",a)},is:function(b){return!!b&&(typeof b=="string"?a.filter(b,this).length>0:this.filter(b).length>0)},closest:function(c,g){var e=[],f,h,b=this[0];if(a.isArray(c)){var i,d,j={},k=1;if(b&&c.length){for(f=0,h=c.length;f<h;f++)d=c[f],j[d]||(j[d]=rb.test(d)?a(d,g||this.context):d);while(b&&b.ownerDocument&&b!==g){for(d in j)i=j[d],(i.jquery?i.index(b)>-1:a(b).is(i))&&e.push({selector:d,elem:b,level:k});b=b.parentNode,k++}}return e}var l=rb.test(c)||typeof c!="string"?a(c,g||this.context):0;for(f=0,h=this.length;f<h;f++){b=this[f];while(b){if(l?l.index(b)>-1:a.find.matchesSelector(b,c)){e.push(b);break}b=b.parentNode;if(!b||!b.ownerDocument||b===g||b.nodeType===11)break}}e=e.length>1?a.unique(e):e;return this.pushStack(e,"closest",c)},index:function(b){return!b||typeof b=="string"?a.inArray(this[0],b?a(b):this.parent().children()):a.inArray(b.jquery?b[0]:b,this)},add:function(b,e){var d=typeof b=="string"?a(b,e):a.makeArray(b&&b.nodeType?[b]:b),c=a.merge(this.get(),d);return this.pushStack(sb(d[0])||sb(c[0])?c:a.unique(c))},andSelf:function(){return this.add(this.prevObject)}}),a.each({parent:function(b){var a=b.parentNode;return a&&a.nodeType!==11?a:null},parents:function(b){return a.dir(b,"parentNode")},parentsUntil:function(b,d,c){return a.dir(b,"parentNode",c)},next:function(b){return a.nth(b,2,"nextSibling")},prev:function(b){return a.nth(b,2,"previousSibling")},nextAll:function(b){return a.dir(b,"nextSibling")},prevAll:function(b){return a.dir(b,"previousSibling")},nextUntil:function(b,d,c){return a.dir(b,"nextSibling",c)},prevUntil:function(b,d,c){return a.dir(b,"previousSibling",c)},siblings:function(b){return a.sibling(b.parentNode.firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return a.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:a.makeArray(b.childNodes)}},function(b,c){a.fn[b]=function(f,e){var d=a.map(this,c,f),g=xc.call(arguments);pc.test(b)||(e=f),e&&typeof e=="string"&&(d=a.filter(e,d)),d=this.length>1&&!zc[b]?a.unique(d):d,(this.length>1||uc.test(e))&&sc.test(b)&&(d=d.reverse());return this.pushStack(d,b,g.join(","))}}),a.extend({filter:function(b,c,d){d&&(b=":not("+b+")");return c.length===1?a.find.matchesSelector(c[0],b)?[c[0]]:[]:a.find.matches(b,c)},dir:function(g,d,e){var f=[],c=g[d];while(c&&c.nodeType!==9&&(e===b||c.nodeType!==1||!a(c).is(e)))c.nodeType===1&&f.push(c),c=c[d];return f},nth:function(a,b,c){b=b||1;for(var d=0;a;a=a[c])if(a.nodeType===1&&++d===b)break;return a},sibling:function(a,c){for(var b=[];a;a=a.nextSibling)a.nodeType===1&&a!==c&&b.push(a);return b}});var Ac=/ jQuery\d+="(?:\d+|null)"/g,K=/^\s+/,hb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,vb=/<([\w:]+)/,wb=/<tbody/i,xb=/<|&#?\w+;/,M=/<(?:script|object|embed|option|style)/i,O=/checked\s*(?:[^=]|=\s*.checked.)/i,Ab=/\/(java|ecma)script/i,Cb=/^\s*<!(?:\[CDATA\[|\-\-)/,e={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,"",""]};e.optgroup=e.option,e.tbody=e.tfoot=e.colgroup=e.caption=e.thead,e.th=e.td,a.support.htmlSerialize||(e._default=[1,"div<div>","</div>"]),a.fn.extend({text:function(d){return a.isFunction(d)?this.each(function(c){var b=a(this);b.text(d.call(this,c,b.text()))}):typeof d!="object"&&d!==b?this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(d)):a.text(this)},wrapAll:function(b){if(a.isFunction(b))return this.each(function(c){a(this).wrapAll(b.call(this,c))});if(this[0]){var c=a(b,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&c.insertBefore(this[0]),c.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(b){return a.isFunction(b)?this.each(function(c){a(this).wrapInner(b.call(this,c))}):this.each(function(){var c=a(this),d=c.contents();d.length?d.wrapAll(b):c.append(b)})},wrap:function(b){return this.each(function(){a(this).wrapAll(b)})},unwrap:function(){return this.parent().each(function(){a.nodeName(this,"body")||a(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 b=a(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,"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 b=this.pushStack(this,"after",arguments);b.push.apply(b,a(arguments[0]).toArray());return b}},remove:function(c,e){for(var d=0,b;(b=this[d])!=null;d++)if(!c||a.filter(c,[b]).length)!e&&b.nodeType===1&&(a.cleanData(b.getElementsByTagName("*")),a.cleanData([b])),b.parentNode&&b.parentNode.removeChild(b);return this},empty:function(){for(var c=0,b;(b=this[c])!=null;c++){b.nodeType===1&&a.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(b,c){b=b==null?!1:b,c=c==null?b:c;return this.map(function(){return a.clone(this,b,c)})},html:function(c){if(c===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ac,""):null;if(typeof c=="string"&&!M.test(c)&&(a.support.leadingWhitespace||!K.test(c))&&!e[(vb.exec(c)||["",""])[1].toLowerCase()]){c=c.replace(hb,"<$1></$2>");try{for(var d=0,f=this.length;d<f;d++)this[d].nodeType===1&&(a.cleanData(this[d].getElementsByTagName("*")),this[d].innerHTML=c)}catch(g){this.empty().append(c)}}else a.isFunction(c)?this.each(function(d){var b=a(this);b.html(c.call(this,d,b.html()))}):this.empty().append(c);return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(a.isFunction(b))return this.each(function(d){var c=a(this),e=c.html();c.replaceWith(b.call(this,d,e))});typeof b!="string"&&(b=a(b).detach());return this.each(function(){var c=this.nextSibling,d=this.parentNode;a(this).remove(),c?a(c).before(b):a(d).append(b)})}return this.length?this.pushStack(a(a.isFunction(b)?b():b),"replaceWith",b):this},detach:function(a){return this.remove(a,!0)},domManip:function(f,d,k){var j,g,c,h,e=f[0],l=[];if(!a.support.checkClone&&arguments.length===3&&typeof e=="string"&&O.test(e))return this.each(function(){a(this).domManip(f,d,k,!0)});if(a.isFunction(e))return this.each(function(g){var c=a(this);f[0]=e.call(this,g,d?c.html():b),c.domManip(f,d,k)});if(this[0]){h=e&&e.parentNode,a.support.parentNode&&h&&h.nodeType===11&&h.childNodes.length===this.length?(j={fragment:h}):(j=a.buildFragment(f,this,l)),c=j.fragment,c.childNodes.length===1?(g=c=c.firstChild):(g=c.firstChild);if(g){d=d&&a.nodeName(g,"tr");for(var i=0,m=this.length,n=m-1;i<m;i++)k.call(d?Eb(this[i],g):this[i],j.cacheable||m>1&&i<n?a.clone(c,!0,!0):c)}l.length&&a.each(l,Kb)}return this}}),a.buildFragment=function(b,f,i){var d,g,e,h=f&&f[0]?f[0].ownerDocument||f[0]:c;b.length===1&&typeof b[0]=="string"&&b[0].length<512&&h===c&&b[0].charAt(0)==="<"&&!M.test(b[0])&&(a.support.checkClone||!O.test(b[0]))&&(g=!0,e=a.fragments[b[0]],e&&e!==1&&(d=e)),d||(d=h.createDocumentFragment(),a.clean(b,h,d,i)),g&&(a.fragments[b[0]]=e?d:1);return{fragment:d,cacheable:g}},a.fragments={},a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,c){a.fn[b]=function(i){var f=[],d=a(i),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&d.length===1){d[c](this[0]);return this}for(var e=0,j=d.length;e<j;e++){var h=(e>0?this.clone(!0):this).get();a(d[e])[c](h),f=f.concat(h)}return this.pushStack(f,b,d.selector)}}),a.extend({clone:function(c,g,h){var e=c.cloneNode(!0),d,f,b;if((!a.support.noCloneEvent||!a.support.noCloneChecked)&&(c.nodeType===1||c.nodeType===11)&&!a.isXMLDoc(c)){R(c,e),d=s(c),f=s(e);for(b=0;d[b];++b)R(d[b],f[b])}if(g){Q(c,e);if(h){d=s(c),f=s(e);for(b=0;d[b];++b)Q(d[b],f[b])}}return e},clean:function(r,h,l,m){var n;h=h||c,typeof h.createElement=="undefined"&&(h=h.ownerDocument||h[0]&&h[0].ownerDocument||c);for(var d=[],g,f=0,b;(b=r[f])!=null;f++){typeof b=="number"&&(b+="");if(!b)continue;if(typeof b=="string")if(!xb.test(b))b=h.createTextNode(b);else{b=b.replace(hb,"<$1></$2>");var o=(vb.exec(b)||["",""])[1].toLowerCase(),k=e[o]||e._default,s=k[0],i=h.createElement("div");i.innerHTML=k[1]+b+k[2];while(s--)i=i.lastChild;if(!a.support.tbody){var p=wb.test(b),j=o==="table"&&!p?i.firstChild&&i.firstChild.childNodes:k[1]==="<table>"&&!p?i.childNodes:[];for(g=j.length-1;g>=0;--g)a.nodeName(j[g],"tbody")&&!j[g].childNodes.length&&j[g].parentNode.removeChild(j[g])}!a.support.leadingWhitespace&&K.test(b)&&i.insertBefore(h.createTextNode(K.exec(b)[0]),i.firstChild),b=i.childNodes}var q;if(!a.support.appendChecked)if(b[0]&&typeof(q=b.length)=="number")for(g=0;g<q;g++)T(b[g]);else T(b);b.nodeType?d.push(b):(d=a.merge(d,b))}if(l){n=function(a){return!a.type||Ab.test(a.type)};for(f=0;d[f];f++)if(m&&a.nodeName(d[f],"script")&&(!d[f].type||d[f].type.toLowerCase()==="text/javascript"))m.push(d[f].parentNode?d[f].parentNode.removeChild(d[f]):d[f]);else{if(d[f].nodeType===1){var t=a.grep(d[f].getElementsByTagName("script"),n);d.splice.apply(d,[f+1,0].concat(t))}l.appendChild(d[f])}}return d},cleanData:function(h){for(var c,d,e=a.cache,i=a.expando,j=a.event.special,k=a.support.deleteExpando,g=0,b;(b=h[g])!=null;g++){if(b.nodeName&&a.noData[b.nodeName.toLowerCase()])continue;d=b[a.expando];if(d){c=e[d]&&e[d][i];if(c&&c.events){for(var f in c.events)j[f]?a.event.remove(b,f):a.removeEvent(b,f,c.handle);c.handle&&(c.handle.elem=null)}k?delete b[a.expando]:b.removeAttribute&&b.removeAttribute(a.expando),delete e[d]}}}});var V=/alpha\([^)]*\)/i,Mb=/opacity=([^)]*)/,Ob=/-([a-z])/ig,Qb=/([A-Z]|^ms)/g,X=/^-?\d+(?:px)?$/i,Rb=/^-?\d/,Sb=/^[+\-]=/,Tb=/[^+\-\.\de]+/g,Ub={position:"absolute",visibility:"hidden",display:"block"},Vb=["Left","Right"],Wb=["Top","Bottom"],k,L,r,yb=function(b,a){return a.toUpperCase()};a.fn.css=function(d,c){return arguments.length===2&&c===b?this:a.access(this,d,c,!0,function(c,d,e){return e!==b?a.style(c,d,e):a.css(c,d)})},a.extend({cssHooks:{opacity:{"get":function(a,c){if(c){var b=k(a,"opacity","opacity");return b===""?"1":b}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0,widows:!0,orphans:!0},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(d,f,c,k){if(!!d&&d.nodeType!==3&&d.nodeType!==8&&!!d.style){var i,g,h=a.camelCase(f),j=d.style,e=a.cssHooks[h];f=a.cssProps[h]||h;if(c===b)return e&&"get"in e&&(i=e.get(d,!1,k))!==b?i:j[f];g=typeof c;if(g==="number"&&isNaN(c)||c==null)return;g==="string"&&Sb.test(c)&&(c=+c.replace(Tb,"")+parseFloat(a.css(d,f))),g==="number"&&!a.cssNumber[h]&&(c+="px");if(!e||!("set"in e)||(c=e.set(d,c))!==b)try{j[f]=c}catch(l){}}},css:function(e,c,g){var f,d;c=a.camelCase(c),d=a.cssHooks[c],c=a.cssProps[c]||c,c==="cssFloat"&&(c="float");return d&&"get"in d&&(f=d.get(e,!0,g))!==b?f:k?k(e,c):void 0},swap:function(b,c,e){var d={};for(var a in c)d[a]=b.style[a],b.style[a]=c[a];e.call(b);for(a in c)b.style[a]=d[a]},camelCase:function(a){return a.replace(Ob,yb)}}),a.curCSS=a.css,a.each(["height","width"],function(c,b){a.cssHooks[b]={"get":function(d,f,e){var c;if(f){d.offsetWidth!==0?(c=N(d,b,e)):a.swap(d,Ub,function(){c=N(d,b,e)});if(c<=0){c=k(d,b,b),c==="0px"&&r&&(c=r(d,b,b));if(c!=null)return c===""||c==="auto"?"0px":c}if(c<0||c==null){c=d.style[b];return c===""||c==="auto"?"0px":c}return typeof c=="string"?c:c+"px"}},"set":function(b,a){if(!X.test(a))return a;a=parseFloat(a);if(a>=0)return a+"px"}}}),a.support.opacity||(a.cssHooks.opacity={"get":function(a,b){return Mb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},"set":function(d,e){var b=d.style,f=d.currentStyle;b.zoom=1;var g=a.isNaN(e)?"":"alpha(opacity="+e*100+")",c=f&&f.filter||b.filter||"";b.filter=V.test(c)?c.replace(V,g):c+" "+g}}),a(function(){a.support.reliableMarginRight||(a.cssHooks.marginRight={"get":function(b,d){var c;a.swap(b,{display:"inline-block"},function(){d?(c=k(b,"margin-right","marginRight")):(c=b.style.marginRight)});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(L=function(c,d){var e,f,g;d=d.replace(Qb,"-$1").toLowerCase();if(!(f=c.ownerDocument.defaultView))return b;if(g=f.getComputedStyle(c,null))e=g.getPropertyValue(d),e===""&&!a.contains(c.ownerDocument.documentElement,c)&&(e=a.style(c,d));return e}),c.documentElement.currentStyle&&(r=function(a,d){var f,b=a.currentStyle&&a.currentStyle[d],e=a.runtimeStyle&&a.runtimeStyle[d],c=a.style;!X.test(b)&&Rb.test(b)&&(f=c.left,e&&(a.runtimeStyle.left=a.currentStyle.left),c.left=d==="fontSize"?"1em":b||0,b=c.pixelLeft+"px",c.left=f,e&&(a.runtimeStyle.left=e));return b===""?"auto":b}),k=L||r,a.expr&&a.expr.filters&&(a.expr.filters.hidden=function(b){var c=b.offsetWidth,d=b.offsetHeight;return c===0&&d===0||!a.support.reliableHiddenOffsets&&(b.style.display||a.css(b,"display"))==="none"},a.expr.filters.visible=function(b){return!a.expr.filters.hidden(b)});var zb=/%20/g,Bb=/\[\]$/,P=/\r?\n/g,Db=/#.*$/,Fb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Gb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Hb=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,Ib=/^(?:GET|HEAD)$/,Jb=/^\/\//,U=/\?/,Lb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Nb=/^(?:select|textarea)/i,W=/\s+/,Pb=/([?&])_=[^&]*/,Y=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Z=a.fn.load,y={},ab={},g,h;try{g=lc.href}catch(Bc){g=c.createElement("a"),g.href="",g=g.href}h=Y.exec(g.toLowerCase())||[],a.fn.extend({load:function(d,c,e){if(typeof d!="string"&&Z)return Z.apply(this,arguments);if(!this.length)return this;var f=d.indexOf(" ");if(f>=0){var g=d.slice(f,d.length);d=d.slice(0,f)}var h="GET";c&&(a.isFunction(c)?(e=c,c=b):typeof c=="object"&&(c=a.param(c,a.ajaxSettings.traditional),h="POST"));var i=this;a.ajax({url:d,type:h,dataType:"html",data:c,complete:function(c,d,b){b=c.responseText,c.isResolved()&&(c.done(function(a){b=a}),i.html(g?a("<div>").append(b.replace(Lb,"")).find(g):b)),e&&i.each(e,[b,d,c])}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Nb.test(this.nodeName)||Gb.test(this.type))}).map(function(d,c){var b=a(this).val();return b==null?null:a.isArray(b)?a.map(b,function(a){return{name:c.name,value:a.replace(P,"\r\n")}}):{name:c.name,value:b.replace(P,"\r\n")}}).get()}}),a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,b){a.fn[b]=function(a){return this.bind(b,a)}}),a.each(["get","post"],function(d,c){a[c]=function(g,d,e,f){a.isFunction(d)&&(f=f||e,e=d,d=b);return a.ajax({type:c,url:g,data:d,success:e,dataType:f})}}),a.extend({getScript:function(c,d){return a.get(c,b,d,"script")},getJSON:function(b,c,d){return a.get(b,c,d,"json")},ajaxSetup:function(b,c){c?a.extend(!0,b,a.ajaxSettings,c):(c=b,b=a.extend(!0,a.ajaxSettings,c));for(var d in{context:1,url:1})d in c?(b[d]=c[d]):d in a.ajaxSettings&&(b[d]=a.ajaxSettings[d]);return b},ajaxSettings:{url:g,isLocal:Hb.test(h[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":d.String,"text html":!0,"text json":a.parseJSON,"text xml":a.parseXML}},ajaxPrefilter:bb(y),ajaxTransport:bb(ab),ajax:function(n,i){function r(i,h,p,x){if(e!==2){e=2,v&&clearTimeout(v),j=b,u=x||"",d.readyState=i?4:0;var k,n,l,y=p?Xb(c,d,p):b,q,r;if(i>=200&&i<300||i===304){if(c.ifModified){if(q=d.getResponseHeader("Last-Modified"))a.lastModified[f]=q;if(r=d.getResponseHeader("Etag"))a.etag[f]=r}if(i===304)h="notmodified",k=!0;else try{n=Yb(c,y),h="success",k=!0}catch(z){h="parsererror",l=z}}else{l=h;if(!h||i)h="error",i<0&&(i=0)}d.status=i,d.statusText=h,k?t.resolveWith(g,[n,h,d]):t.rejectWith(g,[d,h,l]),d.statusCode(o),o=b,m&&s.trigger("ajax"+(k?"Success":"Error"),[d,c,k?n:l]),w.resolveWith(g,[d,h]),m&&(s.trigger("ajaxComplete",[d,c]),--a.active||a.event.trigger("ajaxStop"))}}typeof n=="object"&&(i=n,n=b),i=i||{};var c=a.ajaxSetup({},i),g=c.context||c,s=g!==c&&(g.nodeType||g instanceof a)?a(g):a.event,t=a.Deferred(),w=a._Deferred(),o=c.statusCode||{},f,x={},z={},u,p,j,v,k,e=0,m,l,d={readyState:0,setRequestHeader:function(a,c){if(!e){var b=a.toLowerCase();a=z[b]=z[b]||a,x[a]=c}return this},getAllResponseHeaders:function(){return e===2?u:null},getResponseHeader:function(c){var a;if(e===2){if(!p){p={};while(a=Fb.exec(u))p[a[1].toLowerCase()]=a[2]}a=p[c.toLowerCase()]}return a===b?null:a},overrideMimeType:function(a){e||(c.mimeType=a);return this},abort:function(a){a=a||"abort",j&&j.abort(a),r(0,a);return this}};t.promise(d),d.success=d.done,d.error=d.fail,d.complete=w.done,d.statusCode=function(b){if(b){var a;if(e<2)for(a in b)o[a]=[o[a],b[a]];else a=b[d.status],d.then(a,a)}return this},c.url=((n||c.url)+"").replace(Db,"").replace(Jb,h[1]+"//"),c.dataTypes=a.trim(c.dataType||"*").toLowerCase().split(W),c.crossDomain==null&&(k=Y.exec(c.url.toLowerCase()),c.crossDomain=!(!k||k[1]==h[1]&&k[2]==h[2]&&(k[3]||(k[1]==="http:"?80:443))==(h[3]||(h[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=a.param(c.data,c.traditional)),q(y,c,i,d);if(e===2)return!1;m=c.global,c.type=c.type.toUpperCase(),c.hasContent=!Ib.test(c.type),m&&a.active++===0&&a.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(U.test(c.url)?"&":"?")+c.data),f=c.url;if(c.cache===!1){var A=a.now(),B=c.url.replace(Pb,"$1_="+A);c.url=B+(B===c.url?(U.test(c.url)?"&":"?")+"_="+A:"")}}(c.data&&c.hasContent&&c.contentType!==!1||i.contentType)&&d.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(f=f||c.url,a.lastModified[f]&&d.setRequestHeader("If-Modified-Since",a.lastModified[f]),a.etag[f]&&d.setRequestHeader("If-None-Match",a.etag[f])),d.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", */*; q=0.01":""):c.accepts["*"]);for(l in c.headers)d.setRequestHeader(l,c.headers[l]);if(c.beforeSend&&(c.beforeSend.call(g,d,c)===!1||e===2)){d.abort();return!1}for(l in{success:1,error:1,complete:1})d[l](c[l]);j=q(ab,c,i,d);if(!j)r(-1,"No Transport");else{d.readyState=1,m&&s.trigger("ajaxSend",[d,c]),c.async&&c.timeout>0&&(v=setTimeout(function(){d.abort("timeout")},c.timeout));try{e=1,j.send(x,r)}catch(C){status<2?r(-1,C):a.error(C)}}return d},param:function(c,d){var e=[],f=function(c,b){b=a.isFunction(b)?b():b,e[e.length]=encodeURIComponent(c)+"="+encodeURIComponent(b)};d===b&&(d=a.ajaxSettings.traditional);if(a.isArray(c)||c.jquery&&!a.isPlainObject(c))a.each(c,function(){f(this.name,this.value)});else for(var g in c)z(g,c[g],d,f);return e.join("&").replace(zb,"+")}}),a.extend({active:0,lastModified:{},etag:{}});var Zb=a.now(),t=/(\=)\?(&|$)|\?\?/i;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return a.expando+"_"+Zb++}}),a.ajaxPrefilter("json jsonp",function(b,l,k){var h=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(t.test(b.url)||h&&t.test(b.data))){var f,c=b.jsonpCallback=a.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=d[c],e=b.url,g=b.data,j="$1"+c+"$2";b.jsonp!==!1&&(e=e.replace(t,j),b.url===e&&(h&&(g=g.replace(t,j)),b.data===g&&(e+=(/\?/.test(e)?"&":"?")+b.jsonp+"="+c))),b.url=e,b.data=g,d[c]=function(a){f=[a]},k.always(function(){d[c]=i,f&&a.isFunction(i)&&d[c](f[0])}),b.converters["script json"]=function(){f||a.error(c+" was not called");return f[0]},b.dataTypes[0]="json";return"script"}}),a.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(b){a.globalEval(b);return b}}}),a.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),a.ajaxTransport("script",function(d){if(d.crossDomain){var a,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(g,f){a=c.createElement("script"),a.async="async",d.scriptCharset&&(a.charset=d.scriptCharset),a.src=d.url,a.onload=a.onreadystatechange=function(d,c){if(c||!a.readyState||/loaded|complete/.test(a.readyState))a.onload=a.onreadystatechange=null,e&&a.parentNode&&e.removeChild(a),a=b,c||f(200,"success")},e.insertBefore(a,e.firstChild)},abort:function(){a&&a.onload(0,1)}}}});var A=d.ActiveXObject?function(){for(var a in l)l[a](0,1)}:!1,ac=0,l;a.ajaxSettings.xhr=d.ActiveXObject?function(){return!this.isLocal&&cb()||bc()}:cb,function(b){a.extend(a.support,{ajax:!!b,cors:!!b&&"withCredentials"in b})}(a.ajaxSettings.xhr()),a.support.ajax&&a.ajaxTransport(function(c){if(!c.crossDomain||a.support.cors){var e;return{send:function(h,j){var f=c.xhr(),i,g;c.username?f.open(c.type,c.url,c.async,c.username,c.password):f.open(c.type,c.url,c.async);if(c.xhrFields)for(g in c.xhrFields)f[g]=c.xhrFields[g];c.mimeType&&f.overrideMimeType&&f.overrideMimeType(c.mimeType),!c.crossDomain&&!h["X-Requested-With"]&&(h["X-Requested-With"]="XMLHttpRequest");try{for(g in h)f.setRequestHeader(g,h[g])}catch(k){}f.send(c.hasContent&&c.data||null),e=function(o,k){var d,m,n,g,h;try{if(e&&(k||f.readyState===4)){e=b,i&&(f.onreadystatechange=a.noop,A&&delete l[i]);if(k)f.readyState!==4&&f.abort();else{d=f.status,n=f.getAllResponseHeaders(),g={},h=f.responseXML,h&&h.documentElement&&(g.xml=h),g.text=f.responseText;try{m=f.statusText}catch(p){m=""}!d&&c.isLocal&&!c.crossDomain?(d=g.text?200:404):d===1223&&(d=204)}}}catch(q){k||j(-1,q)}g&&j(d,m,g,n)},!c.async||f.readyState===4?e():(i=++ac,A&&(l||(l={},a(d).unload(A)),l[i]=e),f.onreadystatechange=e)},abort:function(){e&&e(0,1)}}}});var B={},f,o,cc=/^(?:toggle|show|hide)$/,dc=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,m,db=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],u,C=d.webkitRequestAnimationFrame||d.mozRequestAnimationFrame||d.oRequestAnimationFrame;a.fn.extend({show:function(e,g,h){var b,c;if(e||e===0)return this.animate(n("show",3),e,g,h);for(var d=0,f=this.length;d<f;d++)b=this[d],b.style&&(c=b.style.display,!a._data(b,"olddisplay")&&c==="none"&&(c=b.style.display=""),c===""&&a.css(b,"display")==="none"&&a._data(b,"olddisplay",fb(b.nodeName)));for(d=0;d<f;d++){b=this[d];if(b.style){c=b.style.display;if(c===""||c==="none")b.style.display=a._data(b,"olddisplay")||""}}return this},hide:function(c,f,g){if(c||c===0)return this.animate(n("hide",3),c,f,g);for(var b=0,d=this.length;b<d;b++)if(this[b].style){var e=a.css(this[b],"display");e!=="none"&&!a._data(this[b],"olddisplay")&&a._data(this[b],"olddisplay",e)}for(b=0;b<d;b++)this[b].style&&(this[b].style.display="none");return this},_toggle:a.fn.toggle,toggle:function(b,c,e){var d=typeof b=="boolean";a.isFunction(b)&&a.isFunction(c)?this._toggle.apply(this,arguments):b==null||d?this.each(function(){var c=d?b:a(this).is(":hidden");a(this)[c?"show":"hide"]()}):this.animate(n("toggle",3),b,c,e);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(b,d,e,f){var c=a.speed(d,e,f);if(a.isEmptyObject(b))return this.each(c.complete,[!1]);b=a.extend({},b);return this[c.queue===!1?"each":"queue"](function(){c.queue===!1&&a._mark(this);var f=a.extend({},c),n=this.nodeType===1,m=n&&a(this).is(":hidden"),g,d,e,o,i,j,h,k,l;f.animatedProperties={};for(e in b){g=a.camelCase(e),e!==g&&(b[g]=b[e],delete b[e]),d=b[g],a.isArray(d)?(f.animatedProperties[g]=d[1],d=b[g]=d[0]):(f.animatedProperties[g]=f.specialEasing&&f.specialEasing[g]||f.easing||"swing");if(d==="hide"&&m||d==="show"&&!m)return f.complete.call(this);n&&(g==="height"||g==="width")&&(f.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],a.css(this,"display")==="inline"&&a.css(this,"float")==="none"&&(a.support.inlineBlockNeedsLayout?(o=fb(this.nodeName),o==="inline"?(this.style.display="inline-block"):(this.style.display="inline",this.style.zoom=1)):(this.style.display="inline-block")))}f.overflow!=null&&(this.style.overflow="hidden");for(e in b)i=new a.fx(this,f,e),d=b[e],cc.test(d)?i[d==="toggle"?m?"show":"hide":d]():(j=dc.exec(d),h=i.cur(),j?(k=parseFloat(j[2]),l=j[3]||(a.cssNumber[e]?"":"px"),l!=="px"&&(a.style(this,e,(k||1)+l),h=(k||1)/i.cur()*h,a.style(this,e,h+l)),j[1]&&(k=(j[1]==="-="?-1:1)*k+h),i.custom(h,k,l)):i.custom(h,d,""));return!0})},stop:function(c,b){c&&this.queue([]),this.each(function(){var c=a.timers,d=c.length;b||a._unmark(!0,this);while(d--)c[d].elem===this&&(b&&c[d](!0),c.splice(d,1))}),b||this.dequeue();return this}}),a.each({slideDown:n("show",1),slideUp:n("hide",1),slideToggle:n("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(b,c){a.fn[b]=function(a,b,d){return this.animate(c,a,b,d)}}),a.extend({speed:function(c,d,e){var b=c&&typeof c=="object"?a.extend({},c):{complete:e||!e&&d||a.isFunction(c)&&c,duration:c,easing:e&&d||d&&!a.isFunction(d)&&d};b.duration=a.fx.off?0:typeof b.duration=="number"?b.duration:b.duration in a.fx.speeds?a.fx.speeds[b.duration]:a.fx.speeds._default,b.old=b.complete,b.complete=function(c){b.queue!==!1?a.dequeue(this):c!==!1&&a._unmark(this),a.isFunction(b.old)&&b.old.call(this)};return b},easing:{linear:function(a,d,b,c){return b+c*a},swing:function(a,d,b,c){return(-Math.cos(a*Math.PI)/2+.5)*c+b}},timers:[],fx:function(b,a,c){this.options=a,this.elem=b,this.prop=c,a.orig=a.orig||{}}}),a.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(a.fx.step[this.prop]||a.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 c,b=a.css(this.elem,this.prop);return isNaN(c=parseFloat(b))?!b||b==="auto"?0:b:c},custom:function(e,f,g){function d(a){return h.step(a)}var h=this,b=a.fx,c;this.startTime=u||eb(),this.start=e,this.end=f,this.unit=g||this.unit||(a.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,d.elem=this.elem,d()&&a.timers.push(d)&&!m&&(C?(m=1,c=function(){m&&(C(c),b.tick())},C(c)):(m=setInterval(b.tick,b.interval)))},show:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(i){var d=u||eb(),f=!0,c=this.elem,b=this.options,g,e;if(i||d>=b.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),b.animatedProperties[this.prop]=!0;for(g in b.animatedProperties)b.animatedProperties[g]!==!0&&(f=!1);if(f){b.overflow!=null&&!a.support.shrinkWrapBlocks&&a.each(["","X","Y"],function(a,d){c.style["overflow"+d]=b.overflow[a]}),b.hide&&a(c).hide();if(b.hide||b.show)for(var h in b.animatedProperties)a.style(c,h,b.orig[h]);b.complete.call(c)}return!1}b.duration==Infinity?(this.now=d):(e=d-this.startTime,this.state=e/b.duration,this.pos=a.easing[b.animatedProperties[this.prop]](this.state,e,0,1,b.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},a.extend(a.fx,{tick:function(){for(var b=a.timers,c=0;c<b.length;++c)b[c]()||b.splice(c--,1);b.length||a.fx.stop()},interval:13,stop:function(){clearInterval(m),m=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){a.style(b.elem,"opacity",b.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)}}}),a.expr&&a.expr.filters&&(a.expr.filters.animated=function(b){return a.grep(a.timers,function(a){return b===a.elem}).length});var fc=/^t(?:able|d|h)$/i,gb=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?(a.fn.offset=function(g){var b=this[0],c;if(g)return this.each(function(b){a.offset.setOffset(this,g,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return a.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(o){}var f=b.ownerDocument,d=f.documentElement;if(!c||!a.contains(d,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var e=f.body,h=D(f),i=d.clientTop||e.clientTop||0,j=d.clientLeft||e.clientLeft||0,k=h.pageYOffset||a.support.boxModel&&d.scrollTop||e.scrollTop,l=h.pageXOffset||a.support.boxModel&&d.scrollLeft||e.scrollLeft,m=c.top+k-i,n=c.left+l-j;return{top:m,left:n}}):(a.fn.offset=function(l){var b=this[0];if(l)return this.each(function(b){a.offset.setOffset(this,l,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return a.offset.bodyOffset(b);a.offset.initialize();var c,i=b.offsetParent,m=b,j=b.ownerDocument,k=j.documentElement,f=j.body,h=j.defaultView,g=h?h.getComputedStyle(b,null):b.currentStyle,d=b.offsetTop,e=b.offsetLeft;while((b=b.parentNode)&&b!==f&&b!==k){if(a.offset.supportsFixedPosition&&g.position==="fixed")break;c=h?h.getComputedStyle(b,null):b.currentStyle,d-=b.scrollTop,e-=b.scrollLeft,b===i&&(d+=b.offsetTop,e+=b.offsetLeft,a.offset.doesNotAddBorder&&(!a.offset.doesAddBorderForTableAndCells||!fc.test(b.nodeName))&&(d+=parseFloat(c.borderTopWidth)||0,e+=parseFloat(c.borderLeftWidth)||0),m=i,i=b.offsetParent),a.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(d+=parseFloat(c.borderTopWidth)||0,e+=parseFloat(c.borderLeftWidth)||0),g=c}if(g.position==="relative"||g.position==="static")d+=f.offsetTop,e+=f.offsetLeft;a.offset.supportsFixedPosition&&g.position==="fixed"&&(d+=Math.max(k.scrollTop,f.scrollTop),e+=Math.max(k.scrollLeft,f.scrollLeft));return{top:d,left:e}}),a.offset={initialize:function(){var d=c.body,e=c.createElement("div"),f,b,j,g,h=parseFloat(a.css(d,"marginTop"))||0,i="<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>";a.extend(e.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),e.innerHTML=i,d.insertBefore(e,d.firstChild),f=e.firstChild,b=f.firstChild,g=f.nextSibling.firstChild.firstChild,this.doesNotAddBorder=b.offsetTop!==5,this.doesAddBorderForTableAndCells=g.offsetTop===5,b.style.position="fixed",b.style.top="20px",this.supportsFixedPosition=b.offsetTop===20||b.offsetTop===15,b.style.position=b.style.top="",f.style.overflow="hidden",f.style.position="relative",this.subtractsBorderForOverflowNotVisible=b.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=d.offsetTop!==h,d.removeChild(e),a.offset.initialize=a.noop},bodyOffset:function(b){var c=b.offsetTop,d=b.offsetLeft;a.offset.initialize(),a.offset.doesNotIncludeMarginInBodyOffset&&(c+=parseFloat(a.css(b,"marginTop"))||0,d+=parseFloat(a.css(b,"marginLeft"))||0);return{top:c,left:d}},setOffset:function(c,b,m){var e=a.css(c,"position");e==="static"&&(c.style.position="relative");var f=a(c),g=f.offset(),k=a.css(c,"top"),l=a.css(c,"left"),n=(e==="absolute"||e==="fixed")&&a.inArray("auto",[k,l])>-1,d={},h={},i,j;n?(h=f.position(),i=h.top,j=h.left):(i=parseFloat(k)||0,j=parseFloat(l)||0),a.isFunction(b)&&(b=b.call(c,m,g)),b.top!=null&&(d.top=b.top-g.top+i),b.left!=null&&(d.left=b.left-g.left+j),"using"in b?b.using.call(c,d):f.css(d)}},a.fn.extend({position:function(){if(!this[0])return null;var e=this[0],b=this.offsetParent(),c=this.offset(),d=gb.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(a.css(e,"marginTop"))||0,c.left-=parseFloat(a.css(e,"marginLeft"))||0,d.top+=parseFloat(a.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(a.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var b=this.offsetParent||c.body;while(b&&!gb.test(b.nodeName)&&a.css(b,"position")==="static")b=b.offsetParent;return b})}}),a.each(["Left","Top"],function(d,e){var c="scroll"+e;a.fn[c]=function(f){var g,e;if(f===b){g=this[0];if(!g)return null;e=D(g);return e?"pageXOffset"in e?e[d?"pageYOffset":"pageXOffset"]:a.support.boxModel&&e.document.documentElement[c]||e.document.body[c]:g[c]}return this.each(function(){e=D(this),e?e.scrollTo(d?a(e).scrollLeft():f,d?f:a(e).scrollTop()):(this[c]=f)})}}),a.each(["Height","Width"],function(e,c){var d=c.toLowerCase();a.fn["inner"+c]=function(){return this[0]?parseFloat(a.css(this[0],d,"padding")):null},a.fn["outer"+c]=function(b){return this[0]?parseFloat(a.css(this[0],d,b?"margin":"border")):null},a.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(a.isFunction(f))return this.each(function(c){var b=a(this);b[d](f.call(this,c,b[d]()))});if(a.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(f===b){var h=a.css(e,d),i=parseFloat(h);return a.isNaN(i)?h:i}return this.css(d,typeof f=="string"?f:f+"px")}}),d.jQuery=d.$=a})(window);var externWin,newWin;function openPopupName(k,a,h,i,l,j,d,e,c,b,g,f){if(!externWin||externWin.closed)externWin=window.open(a,k,"height="+h+",width="+i+",top="+l+",left="+j+",location="+d+",menubar="+e+",resizable="+c+",scrollbars="+b+",status="+g+",toolbar="+f);else{externWin.location=a;externWin.focus()}}function print_mail_to_link(b,a,c){document.write('<A HREF="mailto');document.write(":"+b+"@");document.write(c+'">'+a+"</a>")}function checkSearchTerm(a){if(a.value=="Search")a.value=""}function showProdSection(a){if(document.getElementById(a)&&document.getElementById(a).style.display!="block"){hideProdSection("prodDescription");hideProdSection("prodAccessories");hideProdSection("prodAppNotes");hideProdSection("prodControllers");hideProdSection("prodModes");document.getElementById(a).style.display="block";if(document.getElementById("option_"+a))document.getElementById("option_"+a).className="prodSectionOn"}}function hideProdSection(a){if(document.getElementById(a)){document.getElementById(a).style.display="none";if(document.getElementById("option_"+a))document.getElementById("option_"+a).className="prodSectionOff"}}function showProdSectionSubItem(a,b,c){if(document.getElementById(a+"_"+b).style.display!="block"){for(i=0;i<c;i++)if(i!=b){document.getElementById(a+"_"+i).style.display="none";document.getElementById(a+"Link_"+i).className="prodUlOff"}document.getElementById(a+"_"+b).style.display="block";document.getElementById(a+"Link_"+b).className="prodUlOn"}}function unCheckMe(a){a.selected=false}function unhide(){document.getElementById("moreid").style.display="block";document.getElementById("hidemore").style.display="none"}function hide(){document.getElementById("moreid").style.display="none";document.getElementById("hidemore").style.display="block"}function setAJAXVar(b,a){var c=document.frmTimesheets;url="/includes/AJAXSetVar.aspx?key="+b+"&value="+a;if(window.XMLHttpRequest){req=new XMLHttpRequest;req.open("GET",url,true);req.send(null)}else if(window.ActiveXObject){req=new ActiveXObject("Microsoft.XMLHTTP");if(req){req.open("GET",url,true);req.send()}}}function countChars(c,b,a){b.value=a-c.value.length}function swapDefaultSearch(a){if(a.value=="Search")a.value=""}function toggleSlideShowArrow(b,a){b.setAttribute("src",a)}function initLinkModifications(){if(document.getElementsByTagName)for(var b=document.getElementsByTagName("a"),a=0;a<b.length;a++){var c=b[a].pathname+b[a].search,e=c.match(/(?:doc|eps|exe|jpg|pdf|png|ppt|svg|vsd|xls|zip)($|\&)/);if(e){b[a].onclick&&startListening(b[a],"mousedown",b[a].onclick);startListening(b[a],"mousedown",trackExternalLinks)}var d=c.match(/(?:ask-a-question.aspx.*)($|\&)/);if(d){b[a].href="/frequently-asked-questions/ask-a-question.aspx?placeValuesBeforeTB_=savedValues&TB_iframe=true&height=425&width=600&modal=false";b[a].className="thickbox"}}}function startListening(a,b,c){if(a.addEventListener)a.addEventListener(b,c,false);else a.attachEvent&&a.attachEvent("on"+b,c)}function trackExternalLinks(b){var a=b.srcElement?b.srcElement:this;while(a.tagName!="A")a=a.parentNode;var c=a.pathname.charAt(0)=="/"?a.pathname:"/"+a.pathname;if(a.search&&a.pathname.indexOf(a.search)==-1)c+=a.search;typeof pageTracker=="object"&&pageTracker._trackPageview(c)}function createCookie(e,d,b){if(b){var a=new Date;a.setTime(a.getTime()+b*24*60*60*1e3);var c="; expires="+a.toGMTString()}else var c="";document.cookie=e+"="+d+c+"; path=/"}function readCookie(e){for(var c=e+"=",d=document.cookie.split(";"),b=0;b<d.length;b++){var a=d[b];while(a.charAt(0)==" ")a=a.substring(1,a.length);if(a.indexOf(c)==0)return a.substring(c.length,a.length)}return null}function eraseCookie(a){createCookie(a,"",-1)}$(document).ready(function(){$("input[class='swapImg'], a[class='swapImg'], img[class='swapImg'], a[class='ShareIcon'], img[class='ShareIcon']").mouseover(function(){$(this).attr("src",$(this).attr("src").replace("_up","_over"))}).mouseout(function(){$(this).attr("src",$(this).attr("src").replace("_over","_up"))})});function getProductData(a){var b="/includes/get-product-data.aspx?oID="+a;$.getJSON(b,function(a){document.title=a.ppPageTitle;$("#ppCopyTitle").html(a.ppCopyTitle);$("#BreadcrumbTrail").html(a.ppBreadcrumbTrail);if(a.ppImage.length==0){$("#ppImage").css("padding-right","0px");$("#ppImage").html("")}else{$("#ppImage").css("padding-right","12px");$("#ppImage").html(a.ppImage)}$("#ppTitleTagLineAndIntro").html(a.ppTitleTagLineAndIntro);$("#ppBodyCopyAndConclusion").html(a.ppBodyCopyAndConclusion);$("#ppRelatedDocuments").html(a.ppRelatedDocuments);$("#ppProductPager").html(a.ppProductPager);$("#LeftColHeader").html(a.ppLeftColHeader);$("#LeftNavSectionSubHead").html(a.ppLeftNavSectionSubHead);$("#LeftNavListOfLinks").html(a.ppLeftNavigation)})}$(document).ready(function(){var a=window.location.pathname.toLowerCase().replace("default.aspx","")+"//",c=/\.(zip|exe|pdf|doc*|xls*|ppt*|mp3|mov|avi|wmv)$/i,b=/(catalog_w_|Catalog_W_|fanbrochure|pendantbrochure|youbrochure|energybrochure)/i;$("a").each(function(){if(!$(this).attr("name")){var d=$(this).attr("href");if(d.match(/^https?\:/i)&&!d.match(document.domain))$(this).click(function(){var b=d.replace(/^https?\:\/\//i,"");_gaq.push(["_trackPageview","/outgoing-link/"+a+b])});else if(d.match(/^mailto\:/i))$(this).click(function(){var b=d.replace(/^mailto\:/i,"");_gaq.push(["_trackPageview","/mail-link/"+a+b])});else if(d.match(c))$(this).click(function(){var b=/[.]/.exec(d)?/[^.]+$/.exec(d):undefined,c=d.replace(/^https?\:\/\/(www.)mydomain\.com\//i,"");_gaq.push(["_trackPageview","/file-link"+a+"DownloadFrom/"+b+"//"+c])});else d.match(b)&&$(this).click(function(){var b=d.replace(/^https?\:\/\/(www.)mydomain\.com\//i,"");_gaq.push(["_trackPageview","/file-link"+a+"DownloadFrom/dynamic-pdf//"+b])})}})});(function(){var a=jQuery,c=a.fn.startAnimation?"startAnimation":"animate",f="pause plugin missing.";function d(b){for(var a=1;a<arguments.length;a++)b=b.replace(new RegExp("\\{"+(a-1)+"}","g"),arguments[a]);return b}function b(){arguments[0]="CrossSlide: "+arguments[0];throw new Error(d.apply(null,arguments));}function e(d){var c=1,b=d.replace(/^\s*|\s*$/g,"").split(/\s+/);if(b.length>3)throw new Error;if(b[0]=="center")if(b.length==1)b=["center","center"];else if(b.length==2&&b[1].match(/^[\d.]+x$/i))b=["center","center",b[1]];if(b.length==3)c=parseFloat(b[2].match(/^([\d.]+)x$/i)[1]);var a=b[0]+" "+b[1];return a=="left top"||a=="top left"?{xrel:0,yrel:0,zoom:c}:a=="left center"||a=="center left"?{xrel:0,yrel:.5,zoom:c}:a=="left bottom"||a=="bottom left"?{xrel:0,yrel:1,zoom:c}:a=="center top"||a=="top center"?{xrel:.5,yrel:0,zoom:c}:a=="center center"?{xrel:.5,yrel:.5,zoom:c}:a=="center bottom"||a=="bottom center"?{xrel:.5,yrel:1,zoom:c}:a=="right top"||a=="top right"?{xrel:1,yrel:0,zoom:c}:a=="right center"||a=="center right"?{xrel:1,yrel:.5,zoom:c}:a=="right bottom"||a=="bottom right"?{xrel:1,yrel:1,zoom:c}:{xrel:parseInt(b[0].match(/^(\d+)%$/)[1])/100,yrel:parseInt(b[1].match(/^(\d+)%$/)[1])/100,zoom:c}}a.fn.crossSlide=function(g,f,i){var h=this,k=this.width(),j=this.height();h.length!=1&&b("crossSlide() must be called on exactly 1 element");h.get(0).crossSlideArgs=[g,f,i];f=a.map(f,function(b){return a.extend({},b)});if(!g.easing)g.easing=g.variant?"swing":"linear";if(!i)i=function(){};(function(c){var a=0;function b(d,e){e.onload=function(){a++;f[d].width=e.width;f[d].height=e.height;a==f.length&&c()};e.src=f[d].src;d+1<f.length&&b(d+1,new Image)}b(0,new Image)})(function(){!g.fade&&b("missing fade parameter.");g.speed&&g.sleep&&b("you cannot set both speed and sleep at the same time.");var n=Math.round(g.fade*1e3);if(g.sleep)var r=Math.round(g.sleep*1e3);if(g.speed)var s=g.speed/1e3,t=Math.round(n*s);h.empty().css({overflow:"hidden",padding:0});!/^(absolute|relative|fixed)$/.test(h.css("position"))&&h.css({position:"relative"});(!h.width()||!h.height())&&b("container element does not have its own width and height");g.shuffle&&f.sort(function(){return Math.random()-.5});for(var m=0;m<f.length;++m){var l=f[m];!l.src&&b("missing src parameter in picture {0}.",m+1);if(s){switch(l.dir){case"up":l.from={xrel:.5,yrel:0,zoom:1};l.to={xrel:.5,yrel:1,zoom:1};var x=l.height-j-2*t;break;case"down":l.from={xrel:.5,yrel:1,zoom:1};l.to={xrel:.5,yrel:0,zoom:1};var x=l.height-j-2*t;break;case"left":l.from={xrel:0,yrel:.5,zoom:1};l.to={xrel:1,yrel:.5,zoom:1};var x=l.width-k-2*t;break;case"right":l.from={xrel:1,yrel:.5,zoom:1};l.to={xrel:0,yrel:.5,zoom:1};var x=l.width-k-2*t;break;default:b("missing or malformed dir parameter in picture {0}.",m+1)}x<=0&&b("impossible animation: either picture {0} is too small or div is too large or fade duration too long.",m+1);l.time_ms=Math.round(x/s)}else if(!r){(!l.from||!l.to||!l.time)&&b("missing either speed/sleep option, or from/to/time params in picture {0}.",m+1);try{l.from=e(l.from)}catch(z){b('malformed "from" parameter in picture {0}.',m+1)}try{l.to=e(l.to)}catch(z){b('malformed "to" parameter in picture {0}.',m+1)}!l.time&&b('missing "time" parameter in picture {0}.',m+1);l.time_ms=Math.round(l.time*1e3)}l.from&&a.each([l.from,l.to],function(b,a){a.width=Math.round(l.width*a.zoom);a.height=Math.round(l.height*a.zoom);a.left=Math.round((k-a.width)*a.xrel);a.top=Math.round((j-a.height)*a.yrel)});var u,p;p=u=a(d('<img src="{0}" dataitem="{1}"/>',l.src,l.href));if(l.href)p=a(d('<a href="{0}"></a>',l.href)).append(u);l.onclick&&p.click(l.onclick);l.alt&&u.attr("alt",l.alt);l.rel&&p.attr("rel",l.rel);l.href&&l.target&&p.attr("target",l.target);p.appendTo(h)}delete s;function q(a,c){var b=([0,n/(a.time_ms+2*n),1-n/(a.time_ms+2*n),1])[c];return{left:Math.round(a.from.left+b*(a.to.left-a.from.left)),top:Math.round(a.from.top+b*(a.to.top-a.from.top)),width:Math.round(a.from.width+b*(a.to.width-a.from.width)),height:Math.round(a.from.height+b*(a.to.height-a.from.height))}}var o=h.find("img").css({position:"absolute",visibility:"hidden",top:0,left:0,border:0});o.eq(0).css({visibility:"visible"});!r&&o.eq(0).css(q(f[0],g.variant?0:1));var y=g.loop;function v(d,p){if(d%2==0)if(r)var u=d/2,z=(u-1+f.length)%f.length,D=o.eq(u),w=o.eq(z),t=function(){i(u,D.get(0));w.css("visibility","hidden");setTimeout(p,r)};else var m=d/2,z=(m-1+f.length)%f.length,x=o.eq(m),w=o.eq(z),A=f[m].time_ms,C=q(f[m],g.variant?3:2),t=function(){i(m,x.get(0));w.css("visibility","hidden");x[c](C,A,g.easing,p)};else{var h=Math.floor(d/2),e=Math.ceil(d/2)%f.length,s=o.eq(h),b=o.eq(e),l={},k={visibility:"visible"},j={};if(e>h){k.opacity=0;j.opacity=1;if(g.doubleFade)l.opacity=0}else{l.opacity=0;if(g.doubleFade){k.opacity=0;j.opacity=1}}if(!r){a.extend(k,q(f[e],0));if(!g.variant){a.extend(l,q(f[h],3));a.extend(j,q(f[e],1))}}if(a.isEmptyObject(j))var t=function(){i(e,b.get(0),h,s.get(0));b.css(k);s[c](l,n,"linear",p)};else if(a.isEmptyObject(l))var t=function(){i(e,b.get(0),h,s.get(0));b.css(k);b[c](j,n,"linear",p)};else var t=function(){i(e,b.get(0),h,s.get(0));b.css(k);b[c](j,n,"linear");s[c](l,n,"linear",p)}}if(g.loop&&d==f.length*2-2){var B=t;t=function(){--y&&B()}}return d>0?v(d-1,t):t}var w=v(f.length*2-1,function(){return w()});w()});return h};a.fn.crossSlideFreeze=function(){this.find("img").stop()};a.fn.crossSlideStop=function(){this.find("img").stop().remove()};a.fn.crossSlideRestart=function(){this.find("img").stop().remove();a.fn.crossSlide.apply(this,this.get(0).crossSlideArgs)};a.fn.crossSlidePause=function(){!a.fn.pause&&b(f);this.find("img").pause()};a.fn.crossSlideResume=function(){!a.fn.pause&&b(f);this.find("img").resume()}})();(function(a){a.fn.thumbPopup=function(g){settings=jQuery.extend({popupId:"thumbPopup",popupCSS:{border:"1px solid #000000",background:"#FFFFFF"},imgSmallFlag:"_t",imgLargeFlag:"_l",cursorTopOffset:15,cursorLeftOffset:15,loadingHtml:"<span style='padding: 5px;'>Loading</span>"},g);popup=a("<div />").css(settings.popupCSS).attr("id",settings.popupId).css("position","absolute").appendTo("body").hide();a(this).hover(f).mousemove(b).mouseout(e);function f(d){var c=a(this).attr("src").replace(settings.imgSmallFlag,settings.imgLargeFlag);a(this).data("hovered",true);a("<img />").bind("load",{thumbImage:this},function(c){if(a(c.data.thumbImage).data("hovered")==true){a(popup).empty().append(this);b(c);a(popup).show()}a(c.data.thumbImage).data("cached",true)}).attr("src",c);if(a(this).data("cached")!=true){a(popup).append(a(settings.loadingHtml));a(popup).show()}b(d)}function b(b){var e=c(),f=d();if(e.width+e.scrollLeft<b.pageX+f.width+settings.cursorLeftOffset)a(popup).css("left",b.pageX-f.width-settings.cursorLeftOffset);else a(popup).css("left",b.pageX+settings.cursorLeftOffset);if(e.height+e.scrollTop<b.pageY+f.height+settings.cursorTopOffset)a(popup).css("top",b.pageY-f.height-settings.cursorTopOffset);else a(popup).css("top",b.pageY+settings.cursorTopOffset)}function e(){a(this).data("hovered",false);a(popup).empty().hide()}function c(){return{scrollLeft:a(window).scrollLeft(),scrollTop:a(window).scrollTop(),width:a(window).width(),height:a(window).height()}}function d(){return{width:a(popup).width(),height:a(popup).height()}}return this}})(jQuery);(function(a){var r=a.fn.domManip,d="_tmplitem",q=/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /,b={},f={},e,p={key:0,data:{}},h=0,c=0,l=[];function g(e,d,g,i){var c={data:i||(d?d.data:{}),_wrap:d?d._wrap:null,tmpl:null,parent:d||null,nodes:[],calls:u,nest:w,wrap:x,html:v,update:t};e&&a.extend(c,e,{nodes:[],parent:d});if(g){c.tmpl=g;c._ctnt=c._ctnt||c.tmpl(a,c);c.key=++h;(l.length?f:b)[h]=c}return c}a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(f,d){a.fn[f]=function(n){var g=[],i=a(n),k,h,m,l,j=this.length===1&&this[0].parentNode;e=b||{};if(j&&j.nodeType===11&&j.childNodes.length===1&&i.length===1){i[d](this[0]);g=this}else{for(h=0,m=i.length;h<m;h++){c=h;k=(h>0?this.clone(true):this).get();a.fn[d].apply(a(i[h]),k);g=g.concat(k)}c=0;g=this.pushStack(g,f,i.selector)}l=e;e=null;a.tmpl.complete(l);return g}});a.fn.extend({tmpl:function(d,c,b){return a.tmpl(this[0],d,c,b)},tmplItem:function(){return a.tmplItem(this[0])},template:function(b){return a.template(b,this[0])},domManip:function(d,k,j){if(d[0]&&d[0].nodeType){var f=a.makeArray(arguments),g=d.length,i=0,h;while(i<g&&!(h=a.data(d[i++],"tmplItem")));if(g>1)f[0]=[a.makeArray(d)];if(h&&c)f[2]=function(b){a.tmpl.afterManip(this,b,j)};r.apply(this,f)}else r.apply(this,arguments);c=0;!e&&a.tmpl.complete(b);return this}});a.extend({tmpl:function(d,h,e,c){var j,k=!c;if(k){c=p;d=a.template[d]||a.template(null,d);f={}}else if(!d){d=c.tmpl;b[c.key]=c;c.nodes=[];c.wrapped&&n(c,c.wrapped);return a(i(c,null,c.tmpl(a,c)))}if(!d)return[];if(typeof h==="function")h=h.call(c||{});e&&e.wrapped&&n(e,e.wrapped);j=a.isArray(h)?a.map(h,function(a){return a?g(e,c,d,a):null}):[g(e,c,d,h)];return k?a(i(c,null,j)):j},tmplItem:function(b){var c;if(b instanceof a)b=b[0];while(b&&b.nodeType===1&&!(c=a.data(b,"tmplItem"))&&(b=b.parentNode));return c||p},template:function(c,b){if(b){if(typeof b==="string")b=o(b);else if(b instanceof a)b=b[0]||{};if(b.nodeType)b=a.data(b,"tmpl")||a.data(b,"tmpl",o(b.innerHTML));return typeof c==="string"?(a.template[c]=b):b}return c?typeof c!=="string"?a.template(null,c):a.template[c]||a.template(null,q.test(c)?c:a(c)):null},encode:function(a){return(""+a).split("<").join("&lt;").split(">").join("&gt;").split('"').join("&#34;").split("'").join("&#39;")}});a.extend(a.tmpl,{tag:{tmpl:{_default:{$2:"null"},open:"if($notnull_1){_=_.concat($item.nest($1,$2));}"},wrap:{_default:{$2:"null"},open:"$item.calls(_,$1,$2);_=[];",close:"call=$item.calls();_=call._.concat($item.wrap(call,_));"},each:{_default:{$2:"$index, $value"},open:"if($notnull_1){$.each($1a,function($2){with(this){",close:"}});}"},"if":{open:"if(($notnull_1) && $1a){",close:"}"},"else":{_default:{$1:"true"},open:"}else if(($notnull_1) && $1a){"},html:{open:"if($notnull_1){_.push($1a);}"},"=":{_default:{$1:"$data"},open:"if($notnull_1){_.push($.encode($1a));}"},"!":{open:""}},complete:function(){b={}},afterManip:function(f,b,d){var e=b.nodeType===11?a.makeArray(b.childNodes):b.nodeType===1?[b]:[];d.call(f,b);m(e);c++}});function i(e,g,f){var b,c=f?a.map(f,function(a){return typeof a==="string"?e.key?a.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g,"$1 "+d+'="'+e.key+'" $2'):a:i(a,e,a._ctnt)}):e;if(g)return c;c=c.join("");c.replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/,function(f,c,e,d){b=a(e).get();m(b);if(c)b=j(c).concat(b);if(d)b=b.concat(j(d))});return b?b:j(c)}function j(c){var b=document.createElement("div");b.innerHTML=c;return a.makeArray(b.childNodes)}function o(b){return new Function("jQuery","$item","var $=jQuery,call,_=[],$data=$item.data;with($data){_.push('"+a.trim(b).replace(/([\\'])/g,"\\$1").replace(/[\r\t\n]/g," ").replace(/\$\{([^\}]*)\}/g,"{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,function(m,l,j,d,b,c,e){var i=a.tmpl.tag[j],h,f,g;if(!i)throw"Template command not found: "+j;h=i._default||[];if(c&&!/\w$/.test(b)){b+=c;c=""}if(b){b=k(b);e=e?","+k(e)+")":c?")":"";f=c?b.indexOf(".")>-1?b+c:"("+b+").call($item"+e:b;g=c?f:"(typeof("+b+")==='function'?("+b+").call($item):("+b+"))"}else g=f=h.$1||"null";d=k(d);return"');"+i[l?"close":"open"].split("$notnull_1").join(b?"typeof("+b+")!=='undefined' && ("+b+")!=null":"true").split("$1a").join(g).split("$1").join(f).split("$2").join(d?d.replace(/\s*([^\(]+)\s*(\((.*?)\))?/g,function(d,c,b,a){a=a?","+a+")":b?")":"";return a?"("+c+").call($item"+a:d}):h.$2||"")+"_.push('"})+"');}return _;")}function n(c,b){c._wrap=i(c,true,a.isArray(b)?b:[q.test(b)?b:a(b).html()]).join("")}function k(a){return a?a.replace(/\\'/g,"'").replace(/\\\\/g,"\\"):null}function s(b){var a=document.createElement("div");a.appendChild(b.cloneNode(true));return a.innerHTML}function m(o){var n="_"+c,k,j,l={},e,p,i;for(e=0,p=o.length;e<p;e++){if((k=o[e]).nodeType!==1)continue;j=k.getElementsByTagName("*");for(i=j.length-1;i>=0;i--)m(j[i]);m(k)}function m(j){var p,i=j,k,e,m;if(m=j.getAttribute(d)){while(i.parentNode&&(i=i.parentNode).nodeType===1&&!(p=i.getAttribute(d)));if(p!==m){i=i.parentNode?i.nodeType===11?0:i.getAttribute(d)||0:0;if(!(e=b[m])){e=f[m];e=g(e,b[i]||f[i],null,true);e.key=++h;b[h]=e}c&&o(m)}j.removeAttribute(d)}else if(c&&(e=a.data(j,"tmplItem"))){o(e.key);b[e.key]=e;i=a.data(j.parentNode,"tmplItem");i=i?i.key:0}if(e){k=e;while(k&&k.key!=i){k.nodes.push(j);k=k.parent}delete e._ctnt;delete e._wrap;a.data(j,"tmplItem",e)}function o(a){a=a+n;e=l[a]=l[a]||g(e,b[e.parent.key+n]||e.parent,null,true)}}}function u(a,d,c,b){if(!a)return l.pop();l.push({_:a,tmpl:d,item:this,data:c,options:b})}function w(d,c,b){return a.tmpl(a.template(d),c,b,this)}function x(b,d){var c=b.options||{};c.wrapped=d;return a.tmpl(a.template(b.tmpl),b.data,c,b.item)}function v(d,c){var b=this._wrap;return a.map(a(a.isArray(b)?b.join(""):b).filter(d||"*"),function(a){return c?a.innerText||a.textContent:a.outerHTML||s(a)})}function t(){var b=this.nodes;a.tmpl(null,null,null,this).insertBefore(b[0]);a(b).remove()}})(jQuery);var secs,timerID=null,timerRunning=false,timerPaused=false,delay=1e3;function showSubNav(b,a){timerRunning=false;timerPaused=false;resetNavBlocks();StopTheClock();secs=2;StartTheTimer();document.getElementById(b).style.display="block";document.getElementById(a).className="SubMenuHover"}function StopTheClock(){if(timerRunning){clearTimeout(timerID);timerRunning=false;timerPaused=false;resetNavBlocks()}}function StartTheTimer(){if(secs==0)StopTheClock();else if(!timerPaused){secs=secs-1;timerRunning=true;timerID=self.setTimeout("StartTheTimer()",delay)}}function PauseTheTimer(){timerPaused=true}function RestartTheTimer(){timerPaused=false}var myLinks,myShareLinkDiv;function showShareNav(b,a){myLinks=b;myShareLinkDiv=a;timerRunning=false;timerPaused=false;resetShareBlocks();StopTheShareClock();secs=1.1;StartTheShareTimer();document.getElementById(b).style.display="block";document.getElementById(a).className="BlogActionShareHover"}function StartTheShareTimer(){if(secs==0)StopTheShareClock();else if(!timerPaused){secs=secs-1;timerRunning=true;timerID=self.setTimeout("StartTheShareTimer()",delay)}}function StopTheShareClock(){if(timerRunning){clearTimeout(timerID);timerRunning=false;timerPaused=false;resetShareBlocks()}}function resetShareBlocks(){document.getElementById(myLinks).style.display="none";document.getElementById(myShareLinkDiv).className="BlogActionShare"}(function(a){a.prettyPhoto={version:"3.1.2"};a.fn.prettyPhoto=function(l){l=jQuery.extend({animation_speed:"fast",slideshow:5e3,autoplay_slideshow:false,opacity:.8,show_title:true,allow_resize:true,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:false,wmode:"opaque",autoplay:true,modal:false,deeplinking:true,overlay_gallery:true,keyboard_shortcuts:true,changepicturecallback:function(){},callback:function(){},ie6_fallback:true,markup:'<div class="pp_pic_holder"> \t\t\t\t\t\t<div class="ppt">&nbsp;</div> \t\t\t\t\t\t<div class="pp_top"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_content_container"> \t\t\t\t\t\t\t<div class="pp_left"> \t\t\t\t\t\t\t<div class="pp_right"> \t\t\t\t\t\t\t\t<div class="pp_content"> \t\t\t\t\t\t\t\t\t<div class="pp_loaderIcon"></div> \t\t\t\t\t\t\t\t\t<div class="pp_fade"> \t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_expand" title="Expand the image">Expand</a> \t\t\t\t\t\t\t\t\t\t<div class="pp_hoverContainer"> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_next" href="#">next</a> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_previous" href="#">previous</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t<div id="pp_full_res"></div> \t\t\t\t\t\t\t\t\t\t<div class="pp_details"> \t\t\t\t\t\t\t\t\t\t\t<div class="pp_nav"> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t\t\t\t\t<p class="currentTextHolder">0/0</p> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t\t<p class="pp_description"></p> \t\t\t\t\t\t\t\t\t\t\t{pp_social} \t\t\t\t\t\t\t\t\t\t\t<a class="pp_close" href="#">Close</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_bottom"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t</div> \t\t\t\t\t<div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery"> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t<div> \t\t\t\t\t\t\t\t\t<ul> \t\t\t\t\t\t\t\t\t\t{gallery} \t\t\t\t\t\t\t\t\t</ul> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t</div>',image_markup:'<img id="fullResImage" src="{path}" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline">{content}</div>',custom_markup:"",social_tools:'<div class="pp_social"><div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"><\/script></div><div class="facebook"><iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href='+location.href+'&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>'},l);var p=this,m=false,e,s,n,t,i,j,g=a(window).height(),h=a(window).width(),k;doresize=true,scroll_pos=x();a(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){o();z()});l.keyboard_shortcuts&&a(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(b){if(typeof $pp_pic_holder!="undefined")if($pp_pic_holder.is(":visible"))switch(b.keyCode){case 37:a.prettyPhoto.changePage("previous");b.preventDefault();break;case 39:a.prettyPhoto.changePage("next");b.preventDefault();break;case 27:!settings.modal&&a.prettyPhoto.close();b.preventDefault()}});a.prettyPhoto.initialize=function(){settings=l;if(settings.theme=="pp_default")settings.horizontal_padding=16;if(settings.ie6_fallback&&a.browser.msie&&parseInt(a.browser.version)==6)settings.theme="light_square";theRel=a(this).attr("rel");galleryRegExp=/\[(?:.*)\]/;isSet=galleryRegExp.exec(theRel)?true:false;pp_images=isSet?jQuery.map(p,function(b){if(a(b).attr("rel").indexOf(theRel)!=-1)return a(b).attr("href")}):a.makeArray(a(this).attr("href"));pp_titles=isSet?jQuery.map(p,function(b){if(a(b).attr("rel").indexOf(theRel)!=-1)return a(b).find("img").attr("alt")?a(b).find("img").attr("alt"):""}):a.makeArray(a(this).find("img").attr("alt"));pp_descriptions=isSet?jQuery.map(p,function(b){if(a(b).attr("rel").indexOf(theRel)!=-1)return a(b).attr("title")?a(b).attr("title"):""}):a.makeArray(a(this).attr("title"));set_position=jQuery.inArray(a(this).attr("href"),pp_images);rel_index=isSet?set_position:a("a[rel^='"+theRel+"']").index(a(this));u(this);settings.allow_resize&&a(window).bind("scroll.prettyphoto",function(){o()});a.prettyPhoto.open();return false};a.prettyPhoto.open=function(c){if(typeof settings=="undefined"){settings=l;if(a.browser.msie&&a.browser.version==6)settings.theme="light_square";pp_images=a.makeArray(arguments[0]);pp_titles=arguments[1]?a.makeArray(arguments[1]):a.makeArray("");pp_descriptions=arguments[2]?a.makeArray(arguments[2]):a.makeArray("");isSet=pp_images.length>1?true:false;set_position=0;u(c.target)}a.browser.msie&&a.browser.version==6&&a("select").css("visibility","hidden");settings.hideflash&&a("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden");A(a(pp_images).size());a(".pp_loaderIcon").show();$ppt.is(":hidden")&&$ppt.css("opacity",0).show();$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity);$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+a(pp_images).size());if(pp_descriptions[set_position]!="")$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position]));else $pp_pic_holder.find(".pp_description").hide();movie_width=parseFloat(b("width",pp_images[set_position]))?b("width",pp_images[set_position]):settings.default_width.toString();movie_height=parseFloat(b("height",pp_images[set_position]))?b("height",pp_images[set_position]):settings.default_height.toString();m=false;if(movie_height.indexOf("%")!=-1){movie_height=parseFloat(a(window).height()*parseFloat(movie_height)/100-150);m=true}if(movie_width.indexOf("%")!=-1){movie_width=parseFloat(a(window).width()*parseFloat(movie_width)/100-150);m=true}$pp_pic_holder.fadeIn(function(){settings.show_title&&pp_titles[set_position]!=""&&typeof pp_titles[set_position]!="undefined"?$ppt.html(unescape(pp_titles[set_position])):$ppt.html("&nbsp;");imgPreloader="";skipInjection=false;switch(q(pp_images[set_position])){case"image":imgPreloader=new Image;nextImage=new Image;if(isSet&&set_position<a(pp_images).size()-1)nextImage.src=pp_images[set_position+1];prevImage=new Image;if(isSet&&pp_images[set_position-1])prevImage.src=pp_images[set_position-1];$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]);imgPreloader.onload=function(){e=f(imgPreloader.width,imgPreloader.height);r()};imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist.");a.prettyPhoto.close()};imgPreloader.src=pp_images[set_position];break;case"youtube":e=f(movie_width,movie_height);movie="http://www.youtube.com/embed/"+b("v",pp_images[set_position]);b("rel",pp_images[set_position])?(movie+="?rel="+b("rel",pp_images[set_position])):(movie+="?rel=1");if(settings.autoplay)movie+="&autoplay=1";toInject=settings.iframe_markup.replace(/{width}/g,e.width).replace(/{height}/g,e.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":e=f(movie_width,movie_height);movie_id=pp_images[set_position];var c=/http:\/\/(www\.)?vimeo.com\/(\d+)/,d=movie_id.match(c);movie="http://player.vimeo.com/video/"+d[2]+"?title=0&amp;byline=0&amp;portrait=0";if(settings.autoplay)movie+="&autoplay=1;";vimeo_width=e.width+"/embed/?moog_width="+e.width;toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,e.height).replace(/{path}/g,movie);break;case"quicktime":e=f(movie_width,movie_height);e.height+=15;e.contentHeight+=15;e.containerHeight+=15;toInject=settings.quicktime_markup.replace(/{width}/g,e.width).replace(/{height}/g,e.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":e=f(movie_width,movie_height);flash_vars=pp_images[set_position];flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length);filename=pp_images[set_position];filename=filename.substring(0,filename.indexOf("?"));toInject=settings.flash_markup.replace(/{width}/g,e.width).replace(/{height}/g,e.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":e=f(movie_width,movie_height);frame_url=pp_images[set_position];frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1);toInject=settings.iframe_markup.replace(/{width}/g,e.width).replace(/{height}/g,e.height).replace(/{path}/g,frame_url);break;case"ajax":doresize=false;e=f(movie_width,movie_height);doresize=true;skipInjection=true;a.get(pp_images[set_position],function(a){toInject=settings.inline_markup.replace(/{content}/g,a);$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;r()});break;case"custom":e=f(movie_width,movie_height);toInject=settings.custom_markup;break;case"inline":myClone=a(pp_images[set_position]).clone().append('<br clear="all" />').css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline"></div></div>').appendTo(a("body")).show();doresize=false;e=f(a(myClone).width(),a(myClone).height());doresize=true;a(myClone).remove();toInject=settings.inline_markup.replace(/{content}/g,a(pp_images[set_position]).html())}if(!imgPreloader&&!skipInjection){$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;r()}});return false};a.prettyPhoto.changePage=function(b){currentGalleryPage=0;if(b=="previous"){set_position--;if(set_position<0)set_position=a(pp_images).size()-1}else if(b=="next"){set_position++;if(set_position>a(pp_images).size()-1)set_position=0}else set_position=b;rel_index=set_position;if(!doresize)doresize=true;a(".pp_contract").removeClass("pp_contract").addClass("pp_expand");w(function(){a.prettyPhoto.open()})};a.prettyPhoto.changeGalleryPage=function(a){if(a=="next"){currentGalleryPage++;if(currentGalleryPage>totalPage)currentGalleryPage=0}else if(a=="previous"){currentGalleryPage--;if(currentGalleryPage<0)currentGalleryPage=totalPage}else currentGalleryPage=a;slide_speed=a=="next"||a=="previous"?settings.animation_speed:0;slide_to=currentGalleryPage*(itemsPerPage*itemWidth);$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)};a.prettyPhoto.startSlideshow=function(){if(typeof k=="undefined"){$pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){a.prettyPhoto.stopSlideshow();return false});k=setInterval(a.prettyPhoto.startSlideshow,settings.slideshow)}else a.prettyPhoto.changePage("next")};a.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){a.prettyPhoto.startSlideshow();return false});clearInterval(k);k=undefined};a.prettyPhoto.close=function(){if($pp_overlay.is(":animated"))return;a.prettyPhoto.stopSlideshow();$pp_pic_holder.stop().find("object,embed").css("visibility","hidden");a("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){a(this).remove()});$pp_overlay.fadeOut(settings.animation_speed,function(){a.browser.msie&&a.browser.version==6&&a("select").css("visibility","visible");settings.hideflash&&a("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible");a(this).remove();a(window).unbind("scroll.prettyphoto");settings.callback();doresize=true;s=false;delete settings})};function r(){a(".pp_loaderIcon").hide();projectedTop=scroll_pos.scrollTop+(g/2-e.containerHeight/2);if(projectedTop<0)projectedTop=0;$ppt.fadeTo(settings.animation_speed,1);$pp_pic_holder.find(".pp_content").animate({height:e.contentHeight,width:e.contentWidth},settings.animation_speed);$pp_pic_holder.animate({top:projectedTop,left:h/2-e.containerWidth/2,width:e.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(e.height).width(e.width);$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed);if(isSet&&q(pp_images[set_position])=="image")$pp_pic_holder.find(".pp_hoverContainer").show();else $pp_pic_holder.find(".pp_hoverContainer").hide();if(e.resized)a("a.pp_expand,a.pp_contract").show();else a("a.pp_expand").hide();settings.autoplay_slideshow&&!k&&!s&&a.prettyPhoto.startSlideshow();settings.deeplinking&&d();settings.changepicturecallback();s=true});y()}function w(b){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden");$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){a(".pp_loaderIcon").show();b()})}function A(b){b>1?a(".pp_nav").show():a(".pp_nav").hide()}function f(b,a){resized=false;v(b,a);imageWidth=b,imageHeight=a;if((j>h||i>g)&&doresize&&settings.allow_resize&&!m){resized=true,fitting=false;while(!fitting){if(j>h){imageWidth=h-200;imageHeight=a/b*imageWidth}else if(i>g){imageHeight=g-200;imageWidth=b/a*imageHeight}else fitting=true;i=imageHeight,j=imageWidth}v(imageWidth,imageHeight);(j>h||i>g)&&f(j,i)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(i),containerWidth:Math.floor(j)+settings.horizontal_padding*2,contentHeight:Math.floor(n),contentWidth:Math.floor(t),resized:resized}}function v(b,c){b=parseFloat(b);c=parseFloat(c);$pp_details=$pp_pic_holder.find(".pp_details");$pp_details.width(b);detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom"));$pp_details=$pp_details.clone().addClass(settings.theme).width(b).appendTo(a("body")).css({position:"absolute",top:-1e4});detailsHeight+=$pp_details.height();detailsHeight=detailsHeight<=34?36:detailsHeight;if(a.browser.msie&&a.browser.version==7)detailsHeight+=8;$pp_details.remove();$pp_title=$pp_pic_holder.find(".ppt");$pp_title.width(b);titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom"));$pp_title=$pp_title.clone().appendTo(a("body")).css({position:"absolute",top:-1e4});titleHeight+=$pp_title.height();$pp_title.remove();n=c+detailsHeight;t=b;i=n+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height();j=b}function q(a){return a.match(/youtube\.com\/watch/i)?"youtube":a.match(/vimeo\.com/i)?"vimeo":a.match(/\b.mov\b/i)?"quicktime":a.match(/\b.swf\b/i)?"flash":a.match(/\biframe=true\b/i)?"iframe":a.match(/\bajax=true\b/i)?"ajax":a.match(/\bcustom=true\b/i)?"custom":a.substr(0,1)=="#"?"inline":"image"}function o(){if(doresize&&typeof $pp_pic_holder!="undefined"){scroll_pos=x();contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width();projectedTop=g/2+scroll_pos.scrollTop-contentHeight/2;if(projectedTop<0)projectedTop=0;if(contentHeight>g)return;$pp_pic_holder.css({top:projectedTop,left:h/2+scroll_pos.scrollLeft-contentwidth/2})}}function x(){return self.pageYOffset?{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}:document.documentElement&&document.documentElement.scrollTop?{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}:document.body?{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}:void 0}function z(){g=a(window).height(),h=a(window).width();typeof $pp_overlay!="undefined"&&$pp_overlay.height(a(document).height()).width(h)}function y(){if(isSet&&settings.overlay_gallery&&q(pp_images[set_position])=="image"&&(settings.ie6_fallback&&!(a.browser.msie&&parseInt(a.browser.version)==6))){itemWidth=52+5;navWidth=settings.theme=="facebook"||settings.theme=="pp_default"?50:30;itemsPerPage=Math.floor((e.containerWidth-100-navWidth)/itemWidth);itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length;totalPage=Math.ceil(pp_images.length/itemsPerPage)-1;if(totalPage==0){navWidth=0;$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()}else $pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show();galleryWidth=itemsPerPage*itemWidth;fullGalleryWidth=pp_images.length*itemWidth;$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected");goToPage=Math.floor(set_position/itemsPerPage)<totalPage?Math.floor(set_position/itemsPerPage):totalPage;a.prettyPhoto.changeGalleryPage(goToPage);$pp_gallery_li.filter(":eq("+set_position+")").addClass("selected")}else $pp_pic_holder.find(".pp_content").unbind("mouseenter mouseleave")}function u(){settings.markup=settings.markup.replace("{pp_social}",settings.social_tools?settings.social_tools:"");a("body").append(settings.markup);$pp_pic_holder=a(".pp_pic_holder"),$ppt=a(".ppt"),$pp_overlay=a("div.pp_overlay");if(isSet&&settings.overlay_gallery){currentGalleryPage=0;toInject="";for(var b=0;b<pp_images.length;b++){if(!pp_images[b].match(/\b(jpg|jpeg|png|gif)\b/gi)){classname="default";img_src=""}else{classname="";img_src=pp_images[b]}toInject+="<li class='"+classname+"'><a href='#'><img src='"+img_src+"' width='50' alt='' /></a></li>"}toInject=settings.gallery_markup.replace(/{gallery}/g,toInject);$pp_pic_holder.find("#pp_full_res").after(toInject);$pp_gallery=a(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li");$pp_gallery.find(".pp_arrow_next").click(function(){a.prettyPhoto.changeGalleryPage("next");a.prettyPhoto.stopSlideshow();return false});$pp_gallery.find(".pp_arrow_previous").click(function(){a.prettyPhoto.changeGalleryPage("previous");a.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()});itemWidth=52+5;$pp_gallery_li.each(function(b){a(this).find("a").click(function(){a.prettyPhoto.changePage(b);a.prettyPhoto.stopSlideshow();return false})})}if(settings.slideshow){$pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>');$pp_pic_holder.find(".pp_nav .pp_play").click(function(){a.prettyPhoto.startSlideshow();return false})}$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme);$pp_overlay.css({opacity:0,height:a(document).height(),width:a(window).width()}).bind("click",function(){!settings.modal&&a.prettyPhoto.close()});a("a.pp_close").bind("click",function(){a.prettyPhoto.close();return false});a("a.pp_expand").bind("click",function(){if(a(this).hasClass("pp_expand")){a(this).removeClass("pp_expand").addClass("pp_contract");doresize=false}else{a(this).removeClass("pp_contract").addClass("pp_expand");doresize=true}w(function(){a.prettyPhoto.open()});return false});$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){a.prettyPhoto.changePage("previous");a.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){a.prettyPhoto.changePage("next");a.prettyPhoto.stopSlideshow();return false});o()}if(!pp_alreadyInitialized&&c()){pp_alreadyInitialized=true;hashIndex=c();hashRel=hashIndex;hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1);hashRel=hashRel.substring(0,hashRel.indexOf("/"));setTimeout(function(){a("a[rel^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)}return this.unbind("click.prettyphoto").bind("click.prettyphoto",a.prettyPhoto.initialize)};function c(){url=location.href;hashtag=url.indexOf("#!")!=-1?decodeURI(url.substring(url.indexOf("#!")+2,url.length)):false;return hashtag}function d(){if(typeof theRel=="undefined")return;location.hash="!"+theRel+"/"+rel_index+"/"}function b(a,e){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var c="[\\?&]"+a+"=([^&#]*)",d=new RegExp(c),b=d.exec(e);return b==null?"":b[1]}})(jQuery);var pp_alreadyInitialized=false
