(function(){function b(a,e){e.src?d.ajax({url:e.src,async:!1,dataType:"script"}):d.globalEval(e.text||e.textContent||e.innerHTML||"");e.parentNode&&e.parentNode.removeChild(e)}function c(a,e){return a[0]&&parseInt(d.curCSS(a[0],e,!0),10)||0}function f(){return!1}function g(){return!0}function h(a){var e=RegExp("(^|\\.)"+a.type+"(\\.|$)"),i=!0,b=[];d.each(d.data(this,"events").live||[],function(i,c){if(e.test(c.type)){var f=d(a.target).closest(c.data)[0];f&&b.push({elem:f,fn:c})}});b.sort(function(a, e){return d.data(a.elem,"closest")-d.data(e.elem,"closest")});d.each(b,function(){if(this.fn.call(this.elem,a,this.fn.data)===!1)return i=!1});return i}function j(a,e){return["live",a,e.replace(/\./g,"`").replace(/ /g,"|")].join(".")}function k(){x||(x=!0,document.addEventListener?document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,!1);d.ready()},!1):document.attachEvent&&(document.attachEvent("onreadystatechange",function(){document.readyState=== "complete"&&(document.detachEvent("onreadystatechange",arguments.callee),d.ready())}),document.documentElement.doScroll&&n==n.top&&function(){if(!d.isReady){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}d.ready()}}()),d.event.add(n,"load",d.ready))}function r(a,e){var i={};d.each(B.concat.apply([],B.slice(0,e)),function(){i[this]=a});return i}var n=this,y=n.jQuery,C=n.$,d=n.jQuery=n.$=function(a,e){return new d.fn.init(a,e)},t=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/, L=/^.[^:#\[\.,]*$/;d.fn=d.prototype={init:function(a,e){a=a||document;if(a.nodeType)return this[0]=a,this.length=1,this.context=a,this;if(typeof a==="string"){var i=t.exec(a);if(i&&(i[1]||!e))if(i[1])a=d.clean([i[1]],e);else{var b=document.getElementById(i[3]);if(b&&b.id!=i[3])return d().find(a);i=d(b||[]);i.context=document;i.selector=a;return i}else return d(e).find(a)}else if(d.isFunction(a))return d(document).ready(a);if(a.selector&&a.context)this.selector=a.selector,this.context=a.context;return this.setArray(d.isArray(a)? a:d.makeArray(a))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(a){return a===void 0?Array.prototype.slice.call(this):this[a]},pushStack:function(a,e,i){a=d(a);a.prevObject=this;a.context=this.context;if(e==="find")a.selector=this.selector+(this.selector?" ":"")+i;else if(e)a.selector=this.selector+"."+e+"("+i+")";return a},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},each:function(a,e){return d.each(this,a,e)},index:function(a){return d.inArray(a&& a.jquery?a[0]:a,this)},attr:function(a,e,i){var b=a;if(typeof a==="string")if(e===void 0)return this[0]&&d[i||"attr"](this[0],a);else b={},b[a]=e;return this.each(function(e){for(a in b)d.attr(i?this.style:this,a,d.prop(this,b[a],i,e,a))})},css:function(a,e){if((a=="width"||a=="height")&&parseFloat(e)<0)e=void 0;return this.attr(a,e,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(a));var e="";d.each(a|| this,function(){d.each(this.childNodes,function(){this.nodeType!=8&&(e+=this.nodeType!=1?this.nodeValue:d.fn.text([this]))})});return e},wrapAll:function(a){this[0]&&(a=d(a,this[0].ownerDocument).clone(),this[0].parentNode&&a.insertBefore(this[0]),a.map(function(){for(var a=this;a.firstChild;)a=a.firstChild;return a}).append(this));return this},wrapInner:function(a){return this.each(function(){d(this).contents().wrapAll(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},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(){return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){return this.prevObject||d([])},push:[].push,sort:[].sort,splice:[].splice,find:function(a){if(this.length=== 1){var e=this.pushStack([],"find",a);e.length=0;d.find(a,this[0],e);return e}else return this.pushStack(d.unique(d.map(this,function(e){return d.find(a,e)})),"find",a)},clone:function(a){var e=this.map(function(){if(!d.support.noCloneEvent&&!d.isXMLDoc(this)){var a=this.outerHTML;if(!a)a=this.ownerDocument.createElement("div"),a.appendChild(this.cloneNode(!0)),a=a.innerHTML;return d.clean([a.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else return this.cloneNode(!0)});if(a===!0){var i= this.find("*").andSelf(),b=0;e.find("*").andSelf().each(function(){if(this.nodeName===i[b].nodeName){var a=d.data(i[b],"events"),e;for(e in a)for(var c in a[e])d.event.add(this,e,a[e][c],a[e][c].data);b++}})}return e},filter:function(a){return this.pushStack(d.isFunction(a)&&d.grep(this,function(e,d){return a.call(e,d)})||d.multiFilter(a,d.grep(this,function(a){return a.nodeType===1})),"filter",a)},closest:function(a){var e=d.expr.match.POS.test(a)?d(a):null,i=0;return this.map(function(){for(var b= this;b&&b.ownerDocument;){if(e?e.index(b)>-1:d(b).is(a))return d.data(b,"closest",i),b;b=b.parentNode;i++}})},not:function(a){if(typeof a==="string")if(L.test(a))return this.pushStack(d.multiFilter(a,this,!0),"not",a);else a=d.multiFilter(a,this);var e=a.length&&a[a.length-1]!==void 0&&!a.nodeType;return this.filter(function(){return e?d.inArray(this,a)<0:this!=a})},add:function(a){return this.pushStack(d.unique(d.merge(this.get(),typeof a==="string"?d(a):d.makeArray(a))))},is:function(a){return!!a&& d.multiFilter(a,this).length>0},hasClass:function(a){return!!a&&this.is("."+a)},val:function(a){if(a===void 0){var e=this[0];if(e){if(d.nodeName(e,"option"))return(e.attributes.value||{}).specified?e.value:e.text;if(d.nodeName(e,"select")){var i=e.selectedIndex,b=[],c=e.options,e=e.type=="select-one";if(i<0)return null;for(var f=e?i:0,i=e?i+1:c.length;f=0||d.inArray(this.name,a)>=0;else if(d.nodeName(this,"select")){var e=d.makeArray(a);d("option",this).each(function(){this.selected=d.inArray(this.value,e)>=0||d.inArray(this.text,e)>=0});if(!e.length)this.selectedIndex=-1}else this.value=a})},html:function(a){return a===void 0?this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null:this.empty().append(a)}, replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,+a+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(e,d){return a.call(e,d,e)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(a,e,i){if(this[0]){var c=(this[0].ownerDocument||this[0]).createDocumentFragment(),a=d.clean(a,this[0].ownerDocument|| this[0],c),f=c.firstChild;if(f)for(var g=0,h=this.length;g1||g>0?c.cloneNode(!0):c);a&&d.each(a,b)}return this}};d.fn.init.prototype=d.fn;d.extend=d.fn.extend=function(){var a=arguments[0]||{},e=1,i=arguments.length,b=!1,c;typeof a==="boolean"&&(b=a,a=arguments[1]||{},e=2);typeof a!=="object"&&!d.isFunction(a)&& (a={});i==e&&(a=this,--e);for(;e-1}},swap:function(a,e,d){var b={},c;for(c in e)b[c]=a.style[c],a.style[c]=e[c];d.call(a);for(c in e)a.style[c]=b[c]},css:function(a,e,i,b){if(e=="width"||e=="height"){var c,i={position:"absolute",visibility:"hidden",display:"block"}, f=e=="width"?["Left","Right"]:["Top","Bottom"],g=function(){c=e=="width"?a.offsetWidth:a.offsetHeight;b!=="border"&&d.each(f,function(){b||(c-=parseFloat(d.curCSS(a,"padding"+this,!0))||0);b==="margin"?c+=parseFloat(d.curCSS(a,"margin"+this,!0))||0:c-=parseFloat(d.curCSS(a,"border"+this+"Width",!0))||0})};a.offsetWidth!==0?g():d.swap(a,i,g);return Math.max(0,Math.round(c))}return d.curCSS(a,e,i)},curCSS:function(a,e,i){var b,c=a.style;if(e=="opacity"&&!d.support.opacity)return b=d.attr(c,"opacity"), b==""?"1":b;e.match(/float/i)&&(e=m);if(!i&&c&&c[e])b=c[e];else if(E.getComputedStyle)e.match(/float/i)&&(e="float"),e=e.replace(/([A-Z])/g,"-$1").toLowerCase(),(a=E.getComputedStyle(a,null))&&(b=a.getPropertyValue(e)),e=="opacity"&&b==""&&(b="1");else if(a.currentStyle&&(b=e.replace(/\-(\w)/g,function(a,e){return e.toUpperCase()}),b=a.currentStyle[e]||a.currentStyle[b],!/^\d+(px)?$/i.test(b)&&/^\d/.test(b)))e=c.left,i=a.runtimeStyle.left,a.runtimeStyle.left=a.currentStyle.left,c.left=b||0,b=c.pixelLeft+ "px",c.left=e,a.runtimeStyle.left=i;return b},clean:function(a,e,b){e=e||document;typeof e.createElement==="undefined"&&(e=e.ownerDocument||e[0]&&e[0].ownerDocument||document);if(!b&&a.length===1&&typeof a[0]==="string"){var c=/^<(\w+)\s*\/?>$/.exec(a[0]);if(c)return[e.createElement(c[1])]}var f=[],c=[],g=e.createElement("div");d.each(a,function(a,b){typeof b==="number"&&(b+="");if(b){if(typeof b==="string"){var b=b.replace(/(<(\w+)[^>]*?)\/>/g,function(a,e,d){return d.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)? a:e+">"}),i=b.replace(/^\s+/,"").substring(0,10).toLowerCase(),c=!i.indexOf("",""]||!i.indexOf("",""]||i.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!i.indexOf("",""]||(!i.indexOf("",""]||!i.indexOf("",""]||!d.support.htmlSerialize&& [1,"div
","
"]||[0,"",""];for(g.innerHTML=c[1]+b+c[2];c[0]--;)g=g.lastChild;if(!d.support.tbody)for(var s=/"&&!s?g.childNodes:[],c=i.length-1;c>=0;--c)d.nodeName(i[c],"tbody")&&!i[c].childNodes.length&&i[c].parentNode.removeChild(i[c]);!d.support.leadingWhitespace&&/^\s/.test(b)&&g.insertBefore(e.createTextNode(b.match(/^\s*/)[0]),g.firstChild);b=d.makeArray(g.childNodes)}b.nodeType?f.push(b): f=d.merge(f,b)}});if(b){for(a=0;f[a];a++)d.nodeName(f[a],"script")&&(!f[a].type||f[a].type.toLowerCase()==="text/javascript")?c.push(f[a].parentNode?f[a].parentNode.removeChild(f[a]):f[a]):(f[a].nodeType===1&&f.splice.apply(f,[a+1,0].concat(d.makeArray(f[a].getElementsByTagName("script")))),b.appendChild(f[a]));return c}return f},attr:function(a,e,b){if(a&&!(a.nodeType==3||a.nodeType==8)){var c=!d.isXMLDoc(a),f=b!==void 0,e=c&&d.props[e]||e;if(a.tagName){var g=/href|src|style/.test(e);if(e in a&& c&&!g){if(f){if(e=="type"&&d.nodeName(a,"input")&&a.parentNode)throw"type property can't be changed";a[e]=b}if(d.nodeName(a,"form")&&a.getAttributeNode(e))return a.getAttributeNode(e).nodeValue;if(e=="tabIndex")return(e=a.getAttributeNode("tabIndex"))&&e.specified?e.value:a.nodeName.match(/(button|input|object|select|textarea)/i)?0:a.nodeName.match(/^(a|area)$/i)&&a.href?0:void 0;return a[e]}if(!d.support.style&&c&&e=="style")return d.attr(a.style,"cssText",b);f&&a.setAttribute(e,""+b);a=!d.support.hrefNormalized&& c&&g?a.getAttribute(e,2):a.getAttribute(e);return a===null?void 0:a}if(!d.support.opacity&&e=="opacity"){if(f)a.zoom=1,a.filter=(a.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(b)+""=="NaN"?"":"alpha(opacity="+b*100+")");return a.filter&&a.filter.indexOf("opacity=")>=0?parseFloat(a.filter.match(/opacity=([^)]*)/)[1])/100+"":""}e=e.replace(/-([a-z])/ig,function(a,e){return e.toUpperCase()});f&&(a[e]=b);return a[e]}},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var e= [];if(a!=null){var b=a.length;if(b==null||typeof a==="string"||d.isFunction(a)||a.setInterval)e[0]=a;else for(;b;)e[--b]=a[b]}return e},inArray:function(a,e){for(var d=0,b=e.length;d0?this.clone(!0):this).get();d.fn[e].apply(d(f[g]),j);c=c.concat(j)}return this.pushStack(c,a,b)}});d.each({removeAttr:function(a){d.attr(this,a,"");this.nodeType== 1&&this.removeAttribute(a)},addClass:function(a){d.className.add(this,a)},removeClass:function(a){d.className.remove(this,a)},toggleClass:function(a,e){typeof e!=="boolean"&&(e=!d.className.has(this,a));d.className[e?"add":"remove"](this,a)},remove:function(a){if(!a||d.filter(a,[this]).length)d("*",this).add([this]).each(function(){d.event.remove(this);d.removeData(this)}),this.parentNode&&this.parentNode.removeChild(this)},empty:function(){for(d(this).children().remove();this.firstChild;)this.removeChild(this.firstChild)}}, function(a,e){d.fn[a]=function(){return this.each(e,arguments)}});var o="jQuery"+ +new Date,z=0,K={};d.extend({cache:{},data:function(a,e,b){var a=a==n?K:a,c=a[o];c||(c=a[o]=++z);e&&!d.cache[c]&&(d.cache[c]={});b!==void 0&&(d.cache[c][e]=b);return e?d.cache[c][e]:c},removeData:function(a,e){var a=a==n?K:a,b=a[o];if(e){if(d.cache[b]){delete d.cache[b][e];e="";for(e in d.cache[b])break;e||d.removeData(a)}}else{try{delete a[o]}catch(c){a.removeAttribute&&a.removeAttribute(o)}delete d.cache[b]}},queue:function(a, e,b){if(a){var e=(e||"fx")+"queue",c=d.data(a,e);!c||d.isArray(b)?c=d.data(a,e,d.makeArray(b)):b&&c.push(b)}return c},dequeue:function(a,e){var b=d.queue(a,e),c=b.shift();if(!e||e==="fx")c=b[0];c!==void 0&&c.call(a)}});d.fn.extend({data:function(a,e){var b=a.split(".");b[1]=b[1]?"."+b[1]:"";if(e===void 0){var c=this.triggerHandler("getData"+b[1]+"!",[b[0]]);c===void 0&&this.length&&(c=d.data(this[0],a));return c===void 0&&b[1]?this.data(b[0]):c}else return this.trigger("setData"+b[1]+"!",[b[0],e]).each(function(){d.data(this, a,e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})},queue:function(a,e){typeof a!=="string"&&(e=a,a="fx");if(e===void 0)return d.queue(this[0],a);return this.each(function(){var b=d.queue(this,a,e);a=="fx"&&b.length==1&&b[0].call(this)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})}});(function(){function a(a,e,b,d,c,f){for(var c=a=="previousSibling"&&!f,i=0,g=d.length;i0){q=h;break}}h=h[a]}d[i]= q}}}var b=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,c=0,f=Object.prototype.toString,g=function(a,e,d,c){d=d||[];e=e||document;if(e.nodeType!==1&&e.nodeType!==9)return[];if(!a||typeof a!=="string")return d;var s=[],w,k,r,o=!0;for(b.lastIndex=0;(w=b.exec(a))!==null;)if(s.push(w[1]),w[2]){r=RegExp.rightContext;break}if(s.length>1&&j.exec(a))if(s.length===2&&h.relative[s[0]])w=A(s[0]+s[1],e);else for(w=h.relative[s[0]]?[e]:g(s.shift(), e);s.length;)a=s.shift(),h.relative[a]&&(a+=s.shift()),w=A(a,w);else{w=c?{expr:s.pop(),set:n(c)}:g.find(s.pop(),s.length===1&&e.parentNode?e.parentNode:e,q(e));w=g.filter(w.expr,w.set);for(s.length>0?k=n(w):o=!1;s.length;){var m=s.pop(),u=m;h.relative[m]?u=s.pop():m="";u==null&&(u=e);h.relative[m](k,u,q(e))}}k||(k=w);if(!k)throw"Syntax error, unrecognized expression: "+(m||a);if(f.call(k)==="[object Array]")if(o)if(e.nodeType===1)for(a=0;k[a]!=null;a++)k[a]&&(k[a]===!0||k[a].nodeType===1&&p(e,k[a]))&& d.push(w[a]);else for(a=0;k[a]!=null;a++)k[a]&&k[a].nodeType===1&&d.push(w[a]);else d.push.apply(d,k);else n(k,d);if(r&&(g(r,e,d,c),l&&(hasDuplicate=!1,d.sort(l),hasDuplicate)))for(a=1;a":function(a,e,d){var b=typeof e==="string";if(b&&!/\W/.test(e))for(var e=d?e:e.toUpperCase(),d=0,c=a.length;d=0)?d||b.push(i):d&&(e[f]=!1));return!1},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a,e){for(var d=0;e[d]===!1;d++);return e[d]&&q(e[d])?a[1]:a[1].toUpperCase()},CHILD:function(a){if(a[1]=="nth"){var e=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a[2]=="even"&&"2n"||a[2]=="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=e[1]+(e[2]||1)-0;a[3]=e[3]-0}a[0]=c++;return a},ATTR:function(a,e,d,b,c,f){e=a[1].replace(/\\/g, "");!f&&h.attrMap[e]&&(a[1]=h.attrMap[e]);a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,e,d,c,f){if(a[1]==="not")if(a[3].match(b).length>1||/^\w/.test(a[3]))a[3]=g(a[3],null,null,e);else return a=g.filter(a[3],e,d,1^f),d||c.push.apply(c,a),!1;else if(h.match.POS.test(a[0])||h.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){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,e,d){return!!g(d[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.type},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"=== a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toUpperCase()==="BUTTON"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,e){return e===0},last:function(a,e,d,b){return e===b.length-1},even:function(a,e){return e%2===0},odd:function(a,e){return e%2===1},lt:function(a,e,d){return ed[3]-0},nth:function(a,e,d){return d[3]-0==e},eq:function(a,e,d){return d[3]- 0==e}},filter:{PSEUDO:function(a,e,d,b){var c=e[1],f=h.filters[c];if(f)return f(a,d,e,b);else if(c==="contains")return(a.textContent||a.innerText||"").indexOf(e[3])>=0;else if(c==="not"){e=e[3];d=0;for(b=e.length;d=0}},ID:function(a,e){return a.nodeType===1&&a.getAttribute("id")===e},TAG:function(a,e){return e==="*"&&a.nodeType===1||a.nodeName===e},CLASS:function(a,e){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(a,e){var d=e[1],d=h.attrHandle[d]?h.attrHandle[d](a): a[d]!=null?a[d]:a.getAttribute(d),b=d+"",c=e[2],f=e[4];return d==null?c==="!=":c==="="?b===f:c==="*="?b.indexOf(f)>=0:c==="~="?(" "+b+" ").indexOf(f)>=0:!f?b&&d!==!1:c==="!="?b!=f:c==="^="?b.indexOf(f)===0:c==="$="?b.substr(b.length-f.length)===f:c==="|="?b===f||b.substr(0,f.length+1)===f+"-":!1},POS:function(a,e,d,b){var c=h.setFilters[e[2]];if(c)return c(a,d,e,b)}}},j=h.match.POS,k;for(k in h.match)h.match[k]=RegExp(h.match[k].source+/(?![^\[]*\])(?![^\(]*\))/.source);var n=function(a,e){a=Array.prototype.slice.call(a); if(e)return e.push.apply(e,a),e;return a};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(r){n=function(a,e){var d=e||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var b=0,c=a.length;b";var d=document.documentElement; d.insertBefore(a,d.firstChild);if(document.getElementById(e))h.find.ID=function(a,e,d){if(typeof e.getElementById!=="undefined"&&!d)return(e=e.getElementById(a[1]))?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:void 0:[]},h.filter.ID=function(a,e){var d=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&d&&d.nodeValue===e};d.removeChild(a)})();(function(){var a=document.createElement("div");a.appendChild(document.createComment("")); if(a.getElementsByTagName("*").length>0)h.find.TAG=function(a,e){var d=e.getElementsByTagName(a[1]);if(a[1]==="*"){for(var b=[],c=0;d[c];c++)d[c].nodeType===1&&b.push(d[c]);d=b}return d};a.innerHTML="";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")h.attrHandle.href=function(a){return a.getAttribute("href",2)}})();document.querySelectorAll&&function(){var a=g,e=document.createElement("div");e.innerHTML="

"; if(!(e.querySelectorAll&&e.querySelectorAll(".TEST").length===0))g=function(e,d,b,c){d=d||document;if(!c&&d.nodeType===9&&!q(d))try{return n(d.querySelectorAll(e),b)}catch(f){}return a(e,d,b,c)},g.find=a.find,g.filter=a.filter,g.selectors=a.selectors,g.matches=a.matches}();document.getElementsByClassName&&document.documentElement.getElementsByClassName&&function(){var a=document.createElement("div");a.innerHTML="
";if(a.getElementsByClassName("e").length!== 0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==1))h.order.splice(1,0,"CLASS"),h.find.CLASS=function(a,e,d){if(typeof e.getElementsByClassName!=="undefined"&&!d)return e.getElementsByClassName(a[1])}}();var p=document.compareDocumentPosition?function(a,e){return a.compareDocumentPosition(e)&16}:function(a,e){return a!==e&&(a.contains?a.contains(e):!0)},q=function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&q(a.ownerDocument)},A=function(a, e){for(var d=[],b="",c,f=e.nodeType?[e]:e;c=h.match.PSEUDO.exec(a);)b+=c[0],a=a.replace(h.match.PSEUDO,"");a=h.relative[a]?a+"*":a;c=0;for(var i=f.length;c0||a.offsetHeight>0};g.selectors.filters.animated=function(a){return d.grep(d.timers,function(e){return a=== e.elem}).length};d.multiFilter=function(a,e,d){d&&(a=":not("+a+")");return g.matches(a,e)};d.dir=function(a,e){for(var d=[],b=a[e];b&&b!=document;)b.nodeType==1&&d.push(b),b=b[e];return d};d.nth=function(a,e,d){for(var e=e||1,b=0;a;a=a[d])if(a.nodeType==1&&++b==e)break;return a};d.sibling=function(a,e){for(var d=[];a;a=a.nextSibling)a.nodeType==1&&a!=e&&d.push(a);return d}})();d.event={add:function(a,e,b,c){if(!(a.nodeType==3||a.nodeType==8)){a.setInterval&&a!=n&&(a=n);if(!b.guid)b.guid=this.guid++; if(c!==void 0)b=this.proxy(b),b.data=c;var f=d.data(a,"events")||d.data(a,"events",{}),g=d.data(a,"handle")||d.data(a,"handle",function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(arguments.callee.elem,arguments):void 0});g.elem=a;d.each(e.split(/\s+/),function(e,h){var k=h.split("."),h=k.shift();b.type=k.slice().sort().join(".");var j=f[h];d.event.specialAll[h]&&d.event.specialAll[h].setup.call(a,c,k);if(!j&&(j=f[h]={},!d.event.special[h]||d.event.special[h].setup.call(a, c,k)===!1))a.addEventListener?a.addEventListener(h,g,!1):a.attachEvent&&a.attachEvent("on"+h,g);j[b.guid]=b;d.event.global[h]=!0});a=null}},guid:1,global:{},remove:function(a,e,b){if(!(a.nodeType==3||a.nodeType==8)){var c=d.data(a,"events"),f;if(c){if(e===void 0||typeof e==="string"&&e.charAt(0)==".")for(var g in c)this.remove(a,g+(e||""));else{if(e.type)b=e.handler,e=e.type;d.each(e.split(/\s+/),function(e,g){var h=g.split("."),g=h.shift(),k=RegExp("(^|\\.)"+h.slice().sort().join(".*\\.")+"(\\.|$)"); if(c[g]){if(b)delete c[g][b.guid];else for(var j in c[g])k.test(c[g][j].type)&&delete c[g][j];d.event.specialAll[g]&&d.event.specialAll[g].teardown.call(a,h);for(f in c[g])break;if(!f){if(!d.event.special[g]||d.event.special[g].teardown.call(a,h)===!1)a.removeEventListener?a.removeEventListener(g,d.data(a,"handle"),!1):a.detachEvent&&a.detachEvent("on"+g,d.data(a,"handle"));f=null;delete c[g]}}})}for(f in c)break;if(!f){if(e=d.data(a,"handle"))e.elem=null;d.removeData(a,"events");d.removeData(a,"handle")}}}}, trigger:function(a,e,b,c){var f=a.type||a;if(!c){a=typeof a==="object"?a[o]?a:d.extend(d.Event(f),a):d.Event(f);if(f.indexOf("!")>=0)a.type=f=f.slice(0,-1),a.exclusive=!0;b||(a.stopPropagation(),this.global[f]&&d.each(d.cache,function(){this.events&&this.events[f]&&d.event.trigger(a,e,this.handle.elem)}));if(!b||b.nodeType==3||b.nodeType==8)return;a.result=void 0;a.target=b;e=d.makeArray(e);e.unshift(a)}a.currentTarget=b;var g=d.data(b,"handle");g&&g.apply(b,e);if((!b[f]||d.nodeName(b,"a")&&f=="click")&& b["on"+f]&&b["on"+f].apply(b,e)===!1)a.result=!1;if(!c&&b[f]&&!a.isDefaultPrevented()&&!(d.nodeName(b,"a")&&f=="click")){this.triggered=!0;try{b[f]()}catch(h){}}this.triggered=!1;a.isPropagationStopped()||(b=b.parentNode||b.ownerDocument)&&d.event.trigger(a,e,b,!0)},handle:function(a){var e,b,a=arguments[0]=d.event.fix(a||n.event);a.currentTarget=this;b=a.type.split(".");a.type=b.shift();e=!b.length&&!a.exclusive;var c=RegExp("(^|\\.)"+b.slice().sort().join(".*\\.")+"(\\.|$)");b=(d.data(this,"events")|| {})[a.type];for(var f in b){var g=b[f];if(e||c.test(g.type)){a.handler=g;a.data=g.data;g=g.apply(this,arguments);if(g!==void 0)a.result=g,g===!1&&(a.preventDefault(),a.stopPropagation());if(a.isImmediatePropagationStopped())break}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), fix:function(a){if(a[o])return a;for(var e=a,a=d.Event(e),b=this.props.length,c;b;)c=this.props[--b],a[c]=e[c];if(!a.target)a.target=a.srcElement||document;if(a.target.nodeType==3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement==a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null)e=document.documentElement,b=document.body,a.pageX=a.clientX+(e&&e.scrollLeft||b&&b.scrollLeft||0)-(e.clientLeft||0),a.pageY=a.clientY+(e&&e.scrollTop||b&&b.scrollTop|| 0)-(e.clientTop||0);if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},proxy:function(a,e){e=e||function(){return a.apply(this,arguments)};e.guid=a.guid=a.guid||e.guid||this.guid++;return e},special:{ready:{setup:k,teardown:function(){}}},specialAll:{live:{setup:function(a,e){d.event.add(this,e[0],h)},teardown:function(a){if(a.length){var e= 0,b=RegExp("(^|\\.)"+a[0]+"(\\.|$)");d.each(d.data(this,"events").live||{},function(){b.test(this.type)&&e++});e<1&&d.event.remove(this,a[0],h)}}}}};d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type):this.type=a;this.timeStamp=+new Date;this[o]=!0};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=g;var a=this.originalEvent;if(a)a.preventDefault&&a.preventDefault(),a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped= g;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=g;this.stopPropagation()},isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f};var P=function(a){for(var e=a.relatedTarget;e&&e!=this;)try{e=e.parentNode}catch(b){e=this}if(e!=this)a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,e){d.event.special[e]= {setup:function(){d.event.add(this,a,P,e)},teardown:function(){d.event.remove(this,a,P)}}});d.fn.extend({bind:function(a,e,b){return a=="unload"?this.one(a,e,b):this.each(function(){d.event.add(this,a,b||e,b&&e)})},one:function(a,e,b){var c=d.event.proxy(b||e,function(a){d(this).unbind(a,c);return(b||e).apply(this,arguments)});return this.each(function(){d.event.add(this,a,c,b&&e)})},unbind:function(a,e){return this.each(function(){d.event.remove(this,a,e)})},trigger:function(a,e){return this.each(function(){d.event.trigger(a, e,this)})},triggerHandler:function(a,e){if(this[0]){var b=d.Event(a);b.preventDefault();b.stopPropagation();d.event.trigger(b,e,this[0]);return b.result}},toggle:function(a){for(var e=arguments,b=1;b=0)var g=a.slice(f,a.length),a=a.slice(0,f);f="GET";b&&(d.isFunction(b)? (c=b,b=null):typeof b==="object"&&(b=d.param(b),f="POST"));var h=this;d.ajax({url:a,type:f,dataType:"html",data:b,complete:function(a,b){if(b=="success"||b=="notmodified")h.html(g?d("
").append(a.responseText.replace(//g,"")).find(g):a.responseText);c&&h.each(c,[a.responseText,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&& !this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a){return{name:b.name,value:a}}):{name:b.name,value:c}}).get()}});d.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}});var F=+new Date;d.extend({get:function(a,b,c,f){d.isFunction(b)&&(c=b,b=null);return d.ajax({type:"GET", url:a,data:b,success:c,dataType:f})},getScript:function(a,b){return d.get(a,null,b,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},post:function(a,b,c,f){d.isFunction(b)&&(c=b,b={});return d.ajax({type:"POST",url:a,data:b,success:c,dataType:f})},ajaxSetup:function(a){d.extend(d.ajaxSettings,a)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,xhr:function(){return n.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"): new XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(a){function b(){a.success&&a.success(k,h);a.global&&d.event.trigger("ajaxSuccess",[q,a])}function c(){a.complete&&a.complete(q,h);a.global&&d.event.trigger("ajaxComplete",[q,a]);a.global&&!--d.active&&d.event.trigger("ajaxStop")}var a=d.extend(!0,a,d.extend(!0,{},d.ajaxSettings, a)),f,g=/=\?(&|$)/g,h,k,j=a.type.toUpperCase();if(a.data&&a.processData&&typeof a.data!=="string")a.data=d.param(a.data);if(a.dataType=="jsonp"){if(j=="GET")a.url.match(g)||(a.url+=(a.url.match(/\?/)?"&":"?")+(a.jsonp||"callback")+"=?");else if(!a.data||!a.data.match(g))a.data=(a.data?a.data+"&":"")+(a.jsonp||"callback")+"=?";a.dataType="json"}if(a.dataType=="json"&&(a.data&&a.data.match(g)||a.url.match(g))){f="jsonp"+F++;if(a.data)a.data=(a.data+"").replace(g,"="+f+"$1");a.url=a.url.replace(g,"="+ f+"$1");a.dataType="script";n[f]=function(a){k=a;b();c();n[f]=void 0;try{delete n[f]}catch(d){}m&&m.removeChild(o)}}if(a.dataType=="script"&&a.cache==null)a.cache=!1;if(a.cache===!1&&j=="GET"){var g=+new Date,r=a.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+g+"$2");a.url=r+(r==a.url?(a.url.match(/\?/)?"&":"?")+"_="+g:"")}if(a.data&&j=="GET")a.url+=(a.url.match(/\?/)?"&":"?")+a.data,a.data=null;a.global&&!d.active++&&d.event.trigger("ajaxStart");g=/^(\w+:)?\/\/([^\/?#]+)/.exec(a.url);if(a.dataType=="script"&& j=="GET"&&g&&(g[1]&&g[1]!=location.protocol||g[2]!=location.host)){var m=document.getElementsByTagName("head")[0],o=document.createElement("script");o.src=a.url;if(a.scriptCharset)o.charset=a.scriptCharset;if(!f){var l=!1;o.onload=o.onreadystatechange=function(){if(!l&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete"))l=!0,b(),c(),o.onload=o.onreadystatechange=null,m.removeChild(o)}}m.appendChild(o)}else{var p=!1,q=a.xhr();a.username?q.open(j,a.url,a.async,a.username,a.password): q.open(j,a.url,a.async);try{a.data&&q.setRequestHeader("Content-Type",a.contentType),a.ifModified&&q.setRequestHeader("If-Modified-Since",d.lastModified[a.url]||"Thu, 01 Jan 1970 00:00:00 GMT"),q.setRequestHeader("X-Requested-With","XMLHttpRequest"),q.setRequestHeader("Accept",a.dataType&&a.accepts[a.dataType]?a.accepts[a.dataType]+", */*":a.accepts._default)}catch(A){}if(a.beforeSend&&a.beforeSend(q,a)===!1)return a.global&&!--d.active&&d.event.trigger("ajaxStop"),q.abort(),!1;a.global&&d.event.trigger("ajaxSend", [q,a]);var S=function(g){if(q.readyState==0)M&&(clearInterval(M),M=null,a.global&&!--d.active&&d.event.trigger("ajaxStop"));else if(!p&&q&&(q.readyState==4||g=="timeout")){p=!0;M&&(clearInterval(M),M=null);h=g=="timeout"?"timeout":!d.httpSuccess(q)?"error":a.ifModified&&d.httpNotModified(q,a.url)?"notmodified":"success";if(h=="success")try{k=d.httpData(q,a.dataType,a)}catch(j){h="parsererror"}if(h=="success"){var A;try{A=q.getResponseHeader("Last-Modified")}catch(l){}a.ifModified&&A&&(d.lastModified[a.url]= A);f||b()}else d.handleError(a,q,h);c();g&&q.abort();a.async&&(q=null)}};if(a.async){var M=setInterval(S,13);a.timeout>0&&setTimeout(function(){q&&!p&&S("timeout")},a.timeout)}try{q.send(a.data)}catch(U){d.handleError(a,q,null,U)}a.async||S();return q}},handleError:function(a,b,c,f){a.error&&a.error(b,c,f);a.global&&d.event.trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol=="file:"||a.status>=200&&a.status<300||a.status==304||a.status==1223}catch(b){}return!1}, httpNotModified:function(a,b){try{var c=a.getResponseHeader("Last-Modified");return a.status==304||c==d.lastModified[b]}catch(f){}return!1},httpData:function(a,b,c){var f=a.getResponseHeader("content-type"),a=(f=b=="xml"||!b&&f&&f.indexOf("xml")>=0)?a.responseXML:a.responseText;if(f&&a.documentElement.tagName=="parsererror")throw"parsererror";c&&c.dataFilter&&(a=c.dataFilter(a,b));typeof a==="string"&&(b=="script"&&d.globalEval(a),b=="json"&&(a=n.eval("("+a+")")));return a},param:function(a){function b(a, d){c[c.length]=encodeURIComponent(a)+"="+encodeURIComponent(d)}var c=[];if(d.isArray(a)||a.jquery)d.each(a,function(){b(this.name,this.value)});else for(var f in a)d.isArray(a[f])?d.each(a[f],function(){b(f,this)}):b(f,d.isFunction(a[f])?a[f]():a[f]);return c.join("&").replace(/%20/g,"+")}});var N={},H,B=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b){if(a)return this.animate(r("show", 3),a,b);else{for(var c=0,f=this.length;c").appendTo("body");h=j.css("display");h==="none"&&(h="block");j.remove();N[g]=h}d.data(this[c],"olddisplay",h)}}c=0;for(f=this.length;c=0;a--)if(c[a].elem==this){if(b)c[a](!0);c.splice(a,1)}});b||this.dequeue();return this}});d.each({slideDown:r("show", 1),slideUp:r("hide",1),slideToggle:r("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){d.fn[a]=function(a,d){return this.animate(b,a,d)}});d.extend({speed:function(a,b,c){var f=typeof a==="object"?a:{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};f.duration=d.fx.off?0:typeof f.duration==="number"?f.duration:d.fx.speeds[f.duration]||d.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==!1&&d(this).dequeue();d.isFunction(f.old)&& f.old.call(this)};return f},easing:{linear:function(a,b,d,c){return d+c*a},swing:function(a,b,d,c){return(-Math.cos(a*Math.PI)/2+0.5)*c+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(d.fx.step[this.prop]||d.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!= null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(d.css(this.elem,this.prop,a)))&&a>-1E4?a:parseFloat(d.curCSS(this.elem,this.prop))||0},custom:function(a,b,c){function f(a){return g.step(a)}this.startTime=+new Date;this.start=a;this.end=b;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=0;var g=this;f.elem=this.elem;f()&&d.timers.push(f)&&!H&&(H=setInterval(function(){for(var a=d.timers,b=0;b=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();var a= this.options.curAnim[this.prop]=!0,c;for(c in this.options.curAnim)this.options.curAnim[c]!==!0&&(a=!1);if(a){if(this.options.display!=null&&(this.elem.style.overflow=this.options.overflow,this.elem.style.display=this.options.display,d.css(this.elem,"display")=="none"))this.elem.style.display="block";this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var f in this.options.curAnim)d.attr(this.elem.style,f,this.options.orig[f]);this.options.complete.call(this.elem)}return!1}else c= b-this.startTime,this.state=c/this.options.duration,this.pos=d.easing[this.options.easing||(d.easing.swing?"swing":"linear")](this.state,c,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}};d.extend(d.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.attr(a.elem.style,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}});d.fn.offset=document.documentElement.getBoundingClientRect? function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return d.offset.bodyOffset(this[0]);var a=this[0].getBoundingClientRect(),b=this[0].ownerDocument,c=b.body,b=b.documentElement;return{top:a.top+(self.pageYOffset||d.boxModel&&b.scrollTop||c.scrollTop)-(b.clientTop||c.clientTop||0),left:a.left+(self.pageXOffset||d.boxModel&&b.scrollLeft||c.scrollLeft)-(b.clientLeft||c.clientLeft||0)}}:function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return d.offset.bodyOffset(this[0]); d.offset.initialized||d.offset.initialize();var a=this[0],b=a.offsetParent,c=a.ownerDocument,f,g=c.documentElement,h=c.body,c=c.defaultView;f=c.getComputedStyle(a,null);for(var j=a.offsetTop,k=a.offsetLeft;(a=a.parentNode)&&a!==h&&a!==g;){f=c.getComputedStyle(a,null);j-=a.scrollTop;k-=a.scrollLeft;if(a===b){j+=a.offsetTop;k+=a.offsetLeft;if(d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!/^t(able|d|h)$/i.test(a.tagName)))j+=parseInt(f.borderTopWidth,10)||0,k+=parseInt(f.borderLeftWidth, 10)||0;b=a.offsetParent}d.offset.subtractsBorderForOverflowNotVisible&&f.overflow!=="visible"&&(j+=parseInt(f.borderTopWidth,10)||0,k+=parseInt(f.borderLeftWidth,10)||0)}if(f.position==="relative"||f.position==="static")j+=h.offsetTop,k+=h.offsetLeft;f.position==="fixed"&&(j+=Math.max(g.scrollTop,h.scrollTop),k+=Math.max(g.scrollLeft,h.scrollLeft));return{top:j,left:k}};d.offset={initialize:function(){if(!this.initialized){var a=document.body,b=document.createElement("div"),c,d,f,g=a.style.marginTop; c={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(d in c)b.style[d]=c[d];b.innerHTML='
';a.insertBefore(b,a.firstChild);c=b.firstChild;d=c.firstChild;f=c.nextSibling.firstChild.firstChild; this.doesNotAddBorder=d.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;c.style.overflow="hidden";c.style.position="relative";this.subtractsBorderForOverflowNotVisible=d.offsetTop===-5;a.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=a.offsetTop===0;a.style.marginTop=g;a.removeChild(b);this.initialized=!0}},bodyOffset:function(a){d.offset.initialized||d.offset.initialize();var b=a.offsetTop,c=a.offsetLeft;d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseInt(d.curCSS(a, "marginTop",!0),10)||0,c+=parseInt(d.curCSS(a,"marginLeft",!0),10)||0);return{top:b,left:c}}};d.fn.extend({position:function(){var a;if(this[0]){a=this.offsetParent();var b=this.offset(),d=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();b.top-=c(this,"marginTop");b.left-=c(this,"marginLeft");d.top+=c(a,"borderTopWidth");d.left+=c(a,"borderLeftWidth");a={top:b.top-d.top,left:b.left-d.left}}return a},offsetParent:function(){for(var a=this[0].offsetParent||document.body;a&&!/^body|html$/i.test(a.tagName)&& d.css(a,"position")=="static";)a=a.offsetParent;return d(a)}});d.each(["Left","Top"],function(a,b){var c="scroll"+b;d.fn[c]=function(b){if(!this[0])return null;return b!==void 0?this.each(function(){this==n||this==document?n.scrollTo(!a?b:d(n).scrollLeft(),a?b:d(n).scrollTop()):this[c]=b}):this[0]==n||this[0]==document?self[a?"pageYOffset":"pageXOffset"]||d.boxModel&&document.documentElement[c]||document.body[c]:this[0][c]}});d.each(["Height","Width"],function(a,b){var c=b.toLowerCase();d.fn["inner"+ b]=function(){return this[0]?d.css(this[0],c,!1,"padding"):null};d.fn["outer"+b]=function(a){return this[0]?d.css(this[0],c,!1,a?"margin":"border"):null};var f=b.toLowerCase();d.fn[f]=function(a){return this[0]==n?document.compatMode=="CSS1Compat"&&document.documentElement["client"+b]||document.body["client"+b]:this[0]==document?Math.max(document.documentElement["client"+b],document.body["scroll"+b],document.documentElement["scroll"+b],document.body["offset"+b],document.documentElement["offset"+b]): a===void 0?this.length?d.css(this[0],f):null:this.css(f,typeof a==="string"?a:a+"px")}})})();jQuery.easing.jswing=jQuery.easing.swing; jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(b,c,f,g,h){return jQuery.easing[jQuery.easing.def](b,c,f,g,h)},easeInQuad:function(b,c,f,g,h){return g*(c/=h)*c+f},easeOutQuad:function(b,c,f,g,h){return-g*(c/=h)*(c-2)+f},easeInOutQuad:function(b,c,f,g,h){if((c/=h/2)<1)return g/2*c*c+f;return-g/2*(--c*(c-2)-1)+f},easeInCubic:function(b,c,f,g,h){return g*(c/=h)*c*c+f},easeOutCubic:function(b,c,f,g,h){return g*((c=c/h-1)*c*c+1)+f},easeInOutCubic:function(b,c,f,g,h){if((c/=h/2)<1)return g/ 2*c*c*c+f;return g/2*((c-=2)*c*c+2)+f},easeInQuart:function(b,c,f,g,h){return g*(c/=h)*c*c*c+f},easeOutQuart:function(b,c,f,g,h){return-g*((c=c/h-1)*c*c*c-1)+f},easeInOutQuart:function(b,c,f,g,h){if((c/=h/2)<1)return g/2*c*c*c*c+f;return-g/2*((c-=2)*c*c*c-2)+f},easeInQuint:function(b,c,f,g,h){return g*(c/=h)*c*c*c*c+f},easeOutQuint:function(b,c,f,g,h){return g*((c=c/h-1)*c*c*c*c+1)+f},easeInOutQuint:function(b,c,f,g,h){if((c/=h/2)<1)return g/2*c*c*c*c*c+f;return g/2*((c-=2)*c*c*c*c+2)+f},easeInSine:function(b, c,f,g,h){return-g*Math.cos(c/h*(Math.PI/2))+g+f},easeOutSine:function(b,c,f,g,h){return g*Math.sin(c/h*(Math.PI/2))+f},easeInOutSine:function(b,c,f,g,h){return-g/2*(Math.cos(Math.PI*c/h)-1)+f},easeInExpo:function(b,c,f,g,h){return c==0?f:g*Math.pow(2,10*(c/h-1))+f},easeOutExpo:function(b,c,f,g,h){return c==h?f+g:g*(-Math.pow(2,-10*c/h)+1)+f},easeInOutExpo:function(b,c,f,g,h){if(c==0)return f;if(c==h)return f+g;if((c/=h/2)<1)return g/2*Math.pow(2,10*(c-1))+f;return g/2*(-Math.pow(2,-10*--c)+2)+f}, easeInCirc:function(b,c,f,g,h){return-g*(Math.sqrt(1-(c/=h)*c)-1)+f},easeOutCirc:function(b,c,f,g,h){return g*Math.sqrt(1-(c=c/h-1)*c)+f},easeInOutCirc:function(b,c,f,g,h){if((c/=h/2)<1)return-g/2*(Math.sqrt(1-c*c)-1)+f;return g/2*(Math.sqrt(1-(c-=2)*c)+1)+f},easeInElastic:function(b,c,f,g,h){var b=1.70158,j=0,k=g;if(c==0)return f;if((c/=h)==1)return f+g;j||(j=h*0.3);k0)for(var b=0;b0){var f=t(c);if(f)if(D(B[b].swfVersion)&&!(l.wk&&l.wk<312)){if(u(c,!0),d)e.success=!0,e.ref=j(c),d(e)}else if(B[b].expressInstall&&k()){e={};e.data=B[b].expressInstall;e.width=f.getAttribute("width")||"0";e.height=f.getAttribute("height")||"0";if(f.getAttribute("class"))e.styleclass=f.getAttribute("class");if(f.getAttribute("align"))e.align=f.getAttribute("align");for(var g={},f=f.getElementsByTagName("param"),h=f.length,i=0;i');f.outerHTML='"+h+"";a[a.length]=b.id;e=t(b.id)}else{i=m.createElement(z);i.setAttribute("type",K);for(var j in b)b[j]!=Object.prototype[j]&&(j.toLowerCase()=="styleclass"?i.setAttribute("class",b[j]):j.toLowerCase()!="classid"&&i.setAttribute(j,b[j]));for(g in c)c[g]!=Object.prototype[g]&&g.toLowerCase()!= "movie"&&(b=i,h=g,j=c[g],d=m.createElement("param"),d.setAttribute("name",h),d.setAttribute("value",j),b.appendChild(d));f.parentNode.replaceChild(i,f);e=i}}return e}function d(a){var b=t(a);if(b&&b.nodeName=="OBJECT")l.ie&&l.win?(b.style.display="none",function(){if(b.readyState==4){var c=t(a);if(c){for(var d in c)typeof c[d]=="function"&&(c[d]=null);c.parentNode.removeChild(c)}}else setTimeout(arguments.callee,10)}()):b.parentNode.removeChild(b)}function t(a){var b=null;try{b=m.getElementById(a)}catch(c){}return b} function L(a,b,c){a.attachEvent(b,c);e[e.length]=[a,b,c]}function D(a){var b=l.pv,a=a.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return b[0]>a[0]||b[0]==a[0]&&b[1]>a[1]||b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]?!0:!1}function E(a,b,c,d){if(!l.ie||!l.mac){var e=m.getElementsByTagName("head")[0];if(e){c=c&&typeof c=="string"?c:"screen";d&&(R=G=null);if(!G||R!=c)d=m.createElement("style"),d.setAttribute("type","text/css"),d.setAttribute("media",c),G=e.appendChild(d), l.ie&&l.win&&typeof m.styleSheets!=o&&m.styleSheets.length>0&&(G=m.styleSheets[m.styleSheets.length-1]),R=c;l.ie&&l.win?G&&typeof G.addRule==z&&G.addRule(a,b):G&&typeof m.createTextNode!=o&&G.appendChild(m.createTextNode(a+" {"+b+"}"))}}}function u(a,b){if(T){var c=b?"visible":"hidden";J&&t(a)?t(a).style.visibility=c:E("#"+a,"visibility:"+c)}}function v(a){return/[\\\"<>\.;]/.exec(a)!=null&&typeof encodeURIComponent!=o?encodeURIComponent(a):a}var o="undefined",z="object",K="application/x-shockwave-flash", P="SWFObjectExprInst",x=window,m=document,F=navigator,N=!1,H=[function(){N?g():h()}],B=[],a=[],e=[],i,s,O,I,J=!1,Q=!1,G,R,T=!0,l=function(){var a=typeof m.getElementById!=o&&typeof m.getElementsByTagName!=o&&typeof m.createElement!=o,b=F.userAgent.toLowerCase(),c=F.platform.toLowerCase(),d=c?/win/.test(c):/win/.test(b),c=c?/mac/.test(c):/mac/.test(b),b=/webkit/.test(b)?parseFloat(b.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,e=!+"\u000b1",f=[0,0,0],g=null;if(typeof F.plugins!=o&&typeof F.plugins["Shockwave Flash"]== z){if((g=F.plugins["Shockwave Flash"].description)&&!(typeof F.mimeTypes!=o&&F.mimeTypes[K]&&!F.mimeTypes[K].enabledPlugin))N=!0,e=!1,g=g.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),f[0]=parseInt(g.replace(/^(.*)\..*$/,"$1"),10),f[1]=parseInt(g.replace(/^.*\.(.*)\s.*$/,"$1"),10),f[2]=/[a-zA-Z]/.test(g)?parseInt(g.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}else if(typeof x.ActiveXObject!=o)try{var h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(h&&(g=h.GetVariable("$version")))e=!0,g=g.split(" ")[1].split(","), f=[parseInt(g[0],10),parseInt(g[1],10),parseInt(g[2],10)]}catch(i){}return{w3:a,pv:f,wk:b,ie:e,win:d,mac:c}}();(function(){l.w3&&((typeof m.readyState!=o&&m.readyState=="complete"||typeof m.readyState==o&&(m.getElementsByTagName("body")[0]||m.body))&&b(),J||(typeof m.addEventListener!=o&&m.addEventListener("DOMContentLoaded",b,!1),l.ie&&l.win&&(m.attachEvent("onreadystatechange",function(){m.readyState=="complete"&&(m.detachEvent("onreadystatechange",arguments.callee),b())}),x==top&&function(){if(!J){try{m.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee, 0);return}b()}}()),l.wk&&function(){J||(/loaded|complete/.test(m.readyState)?b():setTimeout(arguments.callee,0))}(),f(b)))})();(function(){l.ie&&l.win&&window.attachEvent("onunload",function(){for(var b=e.length,c=0;c
');c=b("#"+f.aid).get();c={id:b(this).attr("id"),swf:f.swfPath+(f.swfPath!=""?"/":"")+"Jplayer.swf",fid:f.cssPrefix+"_flash_"+b.jPlayerCount,aid:f.cssPrefix+"_audio_"+b.jPlayerCount,hid:f.cssPrefix+"_force_"+b.jPlayerCount, i:b.jPlayerCount,canPlayMP3:Boolean(c[0].canPlayType?"no"!=c[0].canPlayType("audio/mpeg"):!1),canPlayOGG:Boolean(c[0].canPlayType?"no"!=c[0].canPlayType("audio/ogg"):!1),audio:c[0]};b.extend(f,c);b.fn["jPlayerReady"+f.i]=f.ready;b.extend(f,{html5:Boolean(f.oggSupport?f.canPlayOGG?!0:f.canPlayMP3:f.canPlayMP3)});b(this).data("jPlayer.config",f);var c={setButtons:function(c,f){var g=b(this).data("jPlayer.cssId.play"),h=b(this).data("jPlayer.cssId.pause");b(this).data("jPlayer.config");if(g!=null&&h!= null)if(f){var j=b(this).data("jPlayer.cssDisplay.pause");b("#"+g).css("display","none");b("#"+h).css("display",j)}else j=b(this).data("jPlayer.cssDisplay.play"),b("#"+g).css("display",j),b("#"+h).css("display","none")}},g={setFile:function(c,f){var g=b(this).data("jPlayer.config").fid;b(this).data("jPlayer.getMovie")(g).fl_setFile_mp3(f.mp3);b(this).trigger("jPlayer.setButtons",!1)},play:function(){var c=b(this).data("jPlayer.config").fid;b(this).data("jPlayer.getMovie")(c).fl_play_mp3()&&b(this).trigger("jPlayer.setButtons", !0)},pause:function(){var c=b(this).data("jPlayer.config").fid;b(this).data("jPlayer.getMovie")(c).fl_pause_mp3()&&b(this).trigger("jPlayer.setButtons",!1)},stop:function(){var c=b(this).data("jPlayer.config").fid;b(this).data("jPlayer.getMovie")(c).fl_stop_mp3()&&b(this).trigger("jPlayer.setButtons",!1)},playHead:function(c,f){var g=b(this).data("jPlayer.config").fid;b(this).data("jPlayer.getMovie")(g).fl_play_head_mp3(f)&&b(this).trigger("jPlayer.setButtons",!0)},playHeadTime:function(c,f){var g= b(this).data("jPlayer.config").fid;b(this).data("jPlayer.getMovie")(g).fl_play_head_time_mp3(f)&&b(this).trigger("jPlayer.setButtons",!0)},volume:function(c,f){var g=b(this).data("jPlayer.config").fid;b(this).data("jPlayer.getMovie")(g).fl_volume_mp3(f)}},h={setFile:function(c,f){b("#"+b(this).data("jPlayer.config").aid).remove();b(this).prepend('');var g=b("#"+b(this).data("jPlayer.config").aid).get();b(this).data("jPlayer.config").audio= g[0];b(this).data("jPlayer.config").oggSupport&&b(this).data("jPlayer.config").canPlayOGG?b(this).data("jPlayer.config").audio.src=f.ogg:b(this).data("jPlayer.config").audio.src=f.mp3;b(this).trigger("jPlayer.setButtons",!1)},play:function(){b(this).data("jPlayer.config").audio.play();b(this).trigger("jPlayer.setButtons",!0);clearInterval(b(this).data("jPlayer.interval.jPlayerController"));b(this).data("jPlayer.interval.jPlayerController",window.setInterval(b(this).jPlayerController,50,b(this),!1))}, pause:function(){b(this).data("jPlayer.config").audio.pause();b(this).trigger("jPlayer.setButtons",!1);clearInterval(b(this).data("jPlayer.interval.jPlayerController"))},stop:function(){b(this).data("jPlayer.config").audio.currentTime=0;b(this).trigger("jPlayer.pause");b(this).jPlayerController(b(this),!0)},playHead:function(c,f){b(this).data("jPlayer.config").audio.currentTime=b(this).data("jPlayer.config").audio.buffered?f*b(this).data("jPlayer.config").audio.buffered.end()/100:f*b(this).data("jPlayer.config").audio.duration/ 100;b(this).trigger("jPlayer.play")},playHeadTime:function(c,f){b(this).data("jPlayer.config").audio.currentTime=f/1E3;b(this).trigger("jPlayer.play")},volume:function(c,f){b(this).data("jPlayer.config").audio.volume=f/100;b(this).jPlayerVolume(f)}};f.html5?b.extend(c,h):b.extend(c,g);for(var j in c)g="jPlayer."+j,b(this).unbind(g),b(this).bind(g,c[j]);b(this).data("jPlayer.getMovie",function(b){return document[b]});j=function(b){var c=!1,f;if(window.ActiveXObject)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+ b),c=!0}catch(g){}else navigator.plugins&&navigator.mimeTypes.length>0&&(f=navigator.plugins["Shockwave Flash"])&&navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1")>=b&&(c=!0);return c};if(!f.html5)if(j(8))if(b.browser.msie){c='';c+="";j=[];j[0]='';j[1]='';j[2]='';j[3]='';j[4]='';c=document.createElement(c);for(g=0;gFlash 8 or above is not installed. Get Flash!

");j='
';b(this).append(j);b(this).css({position:f.position, top:f.top,left:f.left});b("#"+f.hid).css({"text-indent":"-9999px"});f.html5&&window.setTimeout(function(b){b.volume(f.volume);b.jPlayerReady()},100,b(this));return b(this)},setFile:function(c,f){var g={mp3:c,ogg:f};b(this).trigger("jPlayer.setFile",g);return b(this)},play:function(){b(this).trigger("jPlayer.play");return b(this)},pause:function(){b(this).trigger("jPlayer.pause");return b(this)},stop:function(){b(this).trigger("jPlayer.stop");return b(this)},playHead:function(c){b(this).trigger("jPlayer.playHead", c);return b(this)},playHeadTime:function(c){b(this).trigger("jPlayer.playHeadTime",c);return b(this)},volume:function(c){b(this).trigger("jPlayer.volume",c);return b(this)},jPlayerId:function(c,f){if(f!=null)if(eval("$(this)."+c)!=null){b(this).data("jPlayer.cssId."+c,f);var g=b(this).data("jPlayer.config").id;eval('var myHandler = function(e) { $("#'+g+'").'+c+"(e); return false; }");b("#"+f).click(myHandler).hover(b(this).jPlayerRollOver,b(this).jPlayerRollOut).data("jPlayerId",g);g=b("#"+f).css("display"); b(this).data("jPlayer.cssDisplay."+c,g);c=="pause"&&b("#"+f).css("display","none")}else alert("Unknown function assigned in: jPlayerId( fn="+c+", id="+f+" )");else return f=b(this).data("jPlayer.cssId."+c),f!=null?f:(alert("Unknown function id requested: jPlayerId( fn="+c+" )"),!1);return b(this)},loadBar:function(c){var f=b(this).data("jPlayer.cssId.loadBar");if(f!=null){var g=b("#"+f).offset(),c=c.pageX-g.left,f=b("#"+f).width();b(this).playHead(100*c/f)}},playBar:function(c){b(this).loadBar(c)}, onProgressChange:function(c){b.fn["jPlayerOnProgressChange"+b(this).data("jPlayer.config").i]=c;return b(this)},jPlayerOnProgressChange:function(c,f,g,h,j){var k=b(this).data("jPlayer.cssId.loadBar");k!=null&&b("#"+k).width(c+"%");k=b(this).data("jPlayer.cssId.playBar");k!=null&&b("#"+k).width(f+"%");b(this)["jPlayerOnProgressChange"+b(this).data("jPlayer.config").i](c,f,g,h,j);b(this).jPlayerForceUpdate();return!0},jPlayerController:function(b,f){var g=0,h=0,j=0,k=0,r=0;b.data("jPlayer.config").audio.readyState>= 1&&(g=b.data("jPlayer.config").audio.currentTime*1E3,h=b.data("jPlayer.config").audio.duration*1E3,j=100*g/h,k=b.data("jPlayer.config").audio.buffered?100*b.data("jPlayer.config").audio.buffered.end()/b.data("jPlayer.config").audio.duration:100,r=b.data("jPlayer.config").audio.buffered?100*b.data("jPlayer.config").audio.currentTime/b.data("jPlayer.config").audio.buffered.end():j);f?b.jPlayerOnProgressChange(k,0,0,0,h):(b.jPlayerOnProgressChange(k,r,j,g,h),b.data("jPlayer.config").audio.ended&&(clearInterval(b.data("jPlayer.interval.jPlayerController")), b.jPlayerOnSoundComplete()))},volumeMin:function(){b(this).volume(0);return b(this)},volumeMax:function(){b(this).volume(100);return b(this)},volumeBar:function(c){var f=b(this).data("jPlayer.cssId.volumeBar");if(f!=null){var g=b("#"+f).offset(),c=c.pageX-g.left,f=b("#"+f).width();b(this).volume(100*c/f)}},volumeBarValue:function(c){b(this).volumeBar(c)},jPlayerVolume:function(c){var f=b(this).data("jPlayer.cssId.volumeBarValue");if(f!=null)return b("#"+f).width(c+"%"),b(this).jPlayerForceUpdate(), !0},onSoundComplete:function(c){b.fn["jPlayerOnSoundComplete"+b(this).data("jPlayer.config").i]=c;return b(this)},jPlayerOnSoundComplete:function(){b(this).trigger("jPlayer.setButtons",!1);b(this)["jPlayerOnSoundComplete"+b(this).data("jPlayer.config").i]();return!0},jPlayerBufferState:function(c){var f=b(this).data("jPlayer.cssId.loadBar");if(f!=null){var g=b(this).data("jPlayer.config").cssPrefix;c?b("#"+f).addClass(g+"_buffer"):b("#"+f).removeClass(g+"_buffer");return!0}else return!1},bufferMsg:function(){}, jPlayerBufferMsg:function(c){var f=b(this).data("jPlayer.cssId.bufferMsg");return f!=null?(b("#"+f).html(c),!0):!1},jPlayerForceUpdate:function(){var c=b(this).data("jPlayer.config").hid;b("#"+c).html(Math.random())},jPlayerRollOver:function(){var c=b(this).data("jPlayerId"),c=b("#"+c).data("jPlayer.config").cssPrefix;b(this).addClass(c+"_hover")},jPlayerRollOut:function(){var c=b(this).data("jPlayerId"),c=b("#"+c).data("jPlayer.config").cssPrefix;b(this).removeClass(c+"_hover")},jPlayerReady:function(){b(this)["jPlayerReady"+ b(this).data("jPlayer.config").i]()},jPlayerGetInfo:function(c){return b(this).data("jPlayer.config")[c]}},function(c){b.fn[c]=this})})(jQuery); (function(b){b.prompt=function(c,f){f=b.extend({},b.prompt.defaults,f);b.prompt.currentPrefix=f.prefix;var g=b.browser.msie&&b.browser.version<7,h=b(document.body),j=b(window),k='
';f.useiframe&&(b("object, applet").length>0||g)?k+='':(g&&b("select").css("visibility","hidden"),k+='
');k+='
X
';k+="
";var r=b(k).appendTo(h),n=r.children("#"+f.prefix),y=r.children("#"+f.prefix+"fade");c.constructor==String&&(c={state0:{html:c,buttons:f.buttons,focus:f.focus,submit:f.submit}});var C="";b.each(c,function(d,g){g=b.extend({},b.prompt.defaults.state,g);c[d]=g;C+='"});n.find("#"+f.prefix+"states").html(C).children("."+f.prefix+"_state:first").css("display","block");n.find("."+f.prefix+"buttons:empty").css("display","none");b.each(c,function(c,d){var g=n.find("#"+ f.prefix+"_state_"+c);g.children("."+f.prefix+"buttons").children("button").click(function(){var c=g.children("."+f.prefix+"message"),h=d.buttons[b(this).text()],j={};b.each(n.find("#"+f.prefix+"states :input").serializeArray(),function(b,c){j[c.name]===void 0?j[c.name]=c.value:typeof j[c.name]==Array?j[c.name].push(c.value):j[c.name]=[j[c.name],c.value]});var k=d.submit(h,c,j);(k===void 0||k)&&E(!0,h,c,j)});g.find("."+f.prefix+"buttons button:eq("+d.focus+")").addClass(f.prefix+"defaultbutton")}); var d=function(){r.css({top:j.scrollTop()})},t=function(){if(f.persistent){var b=0;r.addClass(f.prefix+"warning");var c=setInterval(function(){r.toggleClass(f.prefix+"warning");b++>1&&(clearInterval(c),r.removeClass(f.prefix+"warning"))},100)}else E()},L=function(c){var d=window.event?event.keyCode:c.keyCode;d==27&&E();if(d==9){var f=b(":input:enabled:visible",r),g=c.shiftKey&&c.target==f[0];if(!c.shiftKey&&c.target==f[f.length-1]||g)return setTimeout(function(){if(f){var b=f[g===!0?f.length-1:0]; b&&b.focus()}},10),!1}},D=function(){r.css({position:g?"absolute":"fixed",height:j.height(),width:"100%",top:g?j.scrollTop():0,left:0,right:0,bottom:0});y.css({position:"absolute",height:j.height(),width:"100%",top:0,left:0,right:0,bottom:0});n.css({position:"absolute",top:f.top,left:"50%",marginLeft:n.outerWidth()/2*-1})},E=function(c,k,o,z){n.remove();g&&h.unbind("scroll",d);j.unbind("resize",D);y.fadeOut(f.overlayspeed,function(){y.unbind("click",t);y.remove();c&&f.callback(k,o,z);r.unbind("keypress", L);r.remove();g&&!f.useiframe&&b("select").css("visibility","visible")})};D();y.css({zIndex:f.zIndex,display:"none",opacity:f.opacity});n.css({zIndex:f.zIndex+1,display:"none"});r.css({zIndex:f.zIndex});g&&j.scroll(d);y.click(t);j.resize(D);r.bind("keydown keypress",L);n.find("."+f.prefix+"close").click(E);y.fadeIn(f.overlayspeed);n[f.show](f.promptspeed,f.loaded);n.find("#"+f.prefix+"states ."+f.prefix+"_state:first ."+f.prefix+"defaultbutton").focus();f.timeout>0&&setTimeout(b.prompt.close,f.timeout); return r};b.prompt.defaults={prefix:"jqi",buttons:{Ok:!0},loaded:function(){},submit:function(){return!0},callback:function(){},opacity:0.6,zIndex:999,overlayspeed:"slow",promptspeed:"fast",show:"fadeIn",focus:0,useiframe:!1,top:"15%",persistent:!0,timeout:0,state:{html:"",buttons:{Ok:!0},focus:0,submit:function(){return!0}}};b.prompt.currentPrefix=b.prompt.defaults.prefix;b.prompt.setDefaults=function(c){b.prompt.defaults=b.extend({},b.prompt.defaults,c)};b.prompt.setStateDefaults=function(c){b.prompt.defaults.state= b.extend({},b.prompt.defaults.state,c)};b.prompt.getStateContent=function(c){return b("#"+b.prompt.currentPrefix+"_state_"+c)};b.prompt.getCurrentState=function(){return b("."+b.prompt.currentPrefix+"_state:visible")};b.prompt.getCurrentStateName=function(){return b.prompt.getCurrentState().attr("id").replace(b.prompt.currentPrefix+"_state_","")};b.prompt.goToState=function(c){b("."+b.prompt.currentPrefix+"_state").slideUp("slow");b("#"+b.prompt.currentPrefix+"_state_"+c).slideDown("slow",function(){b(this).find("."+ b.prompt.currentPrefix+"defaultbutton").focus()})};b.prompt.nextState=function(){var c=b("."+b.prompt.currentPrefix+"_state:visible").next();b("."+b.prompt.currentPrefix+"_state").slideUp("slow");c.slideDown("slow",function(){c.find("."+b.prompt.currentPrefix+"defaultbutton").focus()})};b.prompt.prevState=function(){var c=b("."+b.prompt.currentPrefix+"_state:visible").prev();b("."+b.prompt.currentPrefix+"_state").slideUp("slow");c.slideDown("slow",function(){c.find("."+b.prompt.currentPrefix+"defaultbutton").focus()})}; b.prompt.close=function(){b("#"+b.prompt.currentPrefix+"box").fadeOut("fast",function(){b(this).remove()})}})(jQuery);