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

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

"); u='
';f(this).append(u);f(this).css({position:i.position,top:i.top,left:i.left});f("#"+i.hid).css({"text-indent":"-9999px"});i.html5&&window.setTimeout(function(A){A.volume(i.volume);A.jPlayerReady()},100,f(this));return f(this)},setFile:function(g,i){var n={mp3:g,ogg:i};f(this).trigger("jPlayer.setFile",n);return f(this)},play:function(){f(this).trigger("jPlayer.play");return f(this)},pause:function(){f(this).trigger("jPlayer.pause");return f(this)},stop:function(){f(this).trigger("jPlayer.stop"); return f(this)},playHead:function(g){f(this).trigger("jPlayer.playHead",g);return f(this)},playHeadTime:function(g){f(this).trigger("jPlayer.playHeadTime",g);return f(this)},volume:function(g){f(this).trigger("jPlayer.volume",g);return f(this)},jPlayerId:function(g,i){if(i!=null)if(eval("$(this)."+g)!=null){f(this).data("jPlayer.cssId."+g,i);var n=f(this).data("jPlayer.config").id;eval('var myHandler = function(e) { $("#'+n+'").'+g+"(e); return false; }");f("#"+i).click(myHandler).hover(f(this).jPlayerRollOver, f(this).jPlayerRollOut).data("jPlayerId",n);n=f("#"+i).css("display");f(this).data("jPlayer.cssDisplay."+g,n);g=="pause"&&f("#"+i).css("display","none")}else alert("Unknown function assigned in: jPlayerId( fn="+g+", id="+i+" )");else{i=f(this).data("jPlayer.cssId."+g);if(i!=null)return i;else{alert("Unknown function id requested: jPlayerId( fn="+g+" )");return false}}return f(this)},loadBar:function(g){var i=f(this).data("jPlayer.cssId.loadBar");if(i!=null){var n=f("#"+i).offset();g=g.pageX-n.left; i=f("#"+i).width();f(this).playHead(100*g/i)}},playBar:function(g){f(this).loadBar(g)},onProgressChange:function(g){f.fn["jPlayerOnProgressChange"+f(this).data("jPlayer.config").i]=g;return f(this)},jPlayerOnProgressChange:function(g,i,n,v,u){var A=f(this).data("jPlayer.cssId.loadBar");A!=null&&f("#"+A).width(g+"%");A=f(this).data("jPlayer.cssId.playBar");A!=null&&f("#"+A).width(i+"%");f(this)["jPlayerOnProgressChange"+f(this).data("jPlayer.config").i](g,i,n,v,u);f(this).jPlayerForceUpdate();return true}, jPlayerController:function(g,i){var n=0,v=0,u=0,A=0,D=0;if(g.data("jPlayer.config").audio.readyState>=1){n=g.data("jPlayer.config").audio.currentTime*1E3;v=g.data("jPlayer.config").audio.duration*1E3;u=100*n/v;A=g.data("jPlayer.config").audio.buffered?100*g.data("jPlayer.config").audio.buffered.end()/g.data("jPlayer.config").audio.duration:100;D=g.data("jPlayer.config").audio.buffered?100*g.data("jPlayer.config").audio.currentTime/g.data("jPlayer.config").audio.buffered.end():u}if(i)g.jPlayerOnProgressChange(A, 0,0,0,v);else{g.jPlayerOnProgressChange(A,D,u,n,v);if(g.data("jPlayer.config").audio.ended){clearInterval(g.data("jPlayer.interval.jPlayerController"));g.jPlayerOnSoundComplete()}}},volumeMin:function(){f(this).volume(0);return f(this)},volumeMax:function(){f(this).volume(100);return f(this)},volumeBar:function(g){var i=f(this).data("jPlayer.cssId.volumeBar");if(i!=null){var n=f("#"+i).offset();g=g.pageX-n.left;i=f("#"+i).width();f(this).volume(100*g/i)}},volumeBarValue:function(g){f(this).volumeBar(g)}, jPlayerVolume:function(g){var i=f(this).data("jPlayer.cssId.volumeBarValue");if(i!=null){f("#"+i).width(g+"%");f(this).jPlayerForceUpdate();return true}},onSoundComplete:function(g){f.fn["jPlayerOnSoundComplete"+f(this).data("jPlayer.config").i]=g;return f(this)},jPlayerOnSoundComplete:function(){f(this).trigger("jPlayer.setButtons",false);f(this)["jPlayerOnSoundComplete"+f(this).data("jPlayer.config").i]();return true},jPlayerBufferState:function(g){var i=f(this).data("jPlayer.cssId.loadBar");if(i!= null){var n=f(this).data("jPlayer.config").cssPrefix;g?f("#"+i).addClass(n+"_buffer"):f("#"+i).removeClass(n+"_buffer");return true}else return false},bufferMsg:function(){},jPlayerBufferMsg:function(g){var i=f(this).data("jPlayer.cssId.bufferMsg");if(i!=null){f("#"+i).html(g);return true}else return false},jPlayerForceUpdate:function(){var g=f(this).data("jPlayer.config").hid;f("#"+g).html(Math.random())},jPlayerRollOver:function(){var g=f(this).data("jPlayerId");g=f("#"+g).data("jPlayer.config").cssPrefix; f(this).addClass(g+"_hover")},jPlayerRollOut:function(){var g=f(this).data("jPlayerId");g=f("#"+g).data("jPlayer.config").cssPrefix;f(this).removeClass(g+"_hover")},jPlayerReady:function(){f(this)["jPlayerReady"+f(this).data("jPlayer.config").i]()},jPlayerGetInfo:function(g){return f(this).data("jPlayer.config")[g]}},function(g){f.fn[g]=this})})(jQuery); (function(f){f.prompt=function(g,i){i=f.extend({},f.prompt.defaults,i);f.prompt.currentPrefix=i.prefix;var n=f.browser.msie&&f.browser.version<7,v=f(document.body),u=f(window),A='
';if(i.useiframe&&(f("object, applet").length>0||n))A+='';else{n&&f("select").css("visibility","hidden");A+='
'}A+='
X
';A+="
";var D=f(A).appendTo(v),B=D.children("#"+i.prefix),Q=D.children("#"+i.prefix+"fade");if(g.constructor==String)g={state0:{html:g,buttons:i.buttons,focus:i.focus,submit:i.submit}};var V="";f.each(g,function(M,L){L=f.extend({},f.prompt.defaults.state,L);g[M]=L;V+='"});B.find("#"+i.prefix+"states").html(V).children("."+i.prefix+"_state:first").css("display","block");B.find("."+i.prefix+"buttons:empty").css("display","none");f.each(g,function(M,L){var E= B.find("#"+i.prefix+"_state_"+M);E.children("."+i.prefix+"buttons").children("button").click(function(){var O=E.children("."+i.prefix+"message"),J=L.buttons[f(this).text()],H={};f.each(B.find("#"+i.prefix+"states :input").serializeArray(),function(G,U){if(H[U.name]===undefined)H[U.name]=U.value;else if(typeof H[U.name]==Array)H[U.name].push(U.value);else H[U.name]=[H[U.name],U.value]});var P=L.submit(J,O,H);if(P===undefined||P)X(true,J,O,H)});E.find("."+i.prefix+"buttons button:eq("+L.focus+")").addClass(i.prefix+ "defaultbutton")});var c=function(){D.css({top:u.scrollTop()})},S=function(){if(i.persistent){var M=0;D.addClass(i.prefix+"warning");var L=setInterval(function(){D.toggleClass(i.prefix+"warning");if(M++>1){clearInterval(L);D.removeClass(i.prefix+"warning")}},100)}else X()},aa=function(M){var L=window.event?event.keyCode:M.keyCode;L==27&&X();if(L==9){var E=f(":input:enabled:visible",D),O=M.shiftKey&&M.target==E[0];if(!M.shiftKey&&M.target==E[E.length-1]||O){setTimeout(function(){if(E){var J=E[O=== true?E.length-1:0];J&&J.focus()}},10);return false}}},T=function(){D.css({position:n?"absolute":"fixed",height:u.height(),width:"100%",top:n?u.scrollTop():0,left:0,right:0,bottom:0});Q.css({position:"absolute",height:u.height(),width:"100%",top:0,left:0,right:0,bottom:0});B.css({position:"absolute",top:i.top,left:"50%",marginLeft:B.outerWidth()/2*-1})},X=function(M,L,E,O){B.remove();n&&v.unbind("scroll",c);u.unbind("resize",T);Q.fadeOut(i.overlayspeed,function(){Q.unbind("click",S);Q.remove();M&& i.callback(L,E,O);D.unbind("keypress",aa);D.remove();n&&!i.useiframe&&f("select").css("visibility","visible")})};T();Q.css({zIndex:i.zIndex,display:"none",opacity:i.opacity});B.css({zIndex:i.zIndex+1,display:"none"});D.css({zIndex:i.zIndex});n&&u.scroll(c);Q.click(S);u.resize(T);D.bind("keydown keypress",aa);B.find("."+i.prefix+"close").click(X);Q.fadeIn(i.overlayspeed);B[i.show](i.promptspeed,i.loaded);B.find("#"+i.prefix+"states ."+i.prefix+"_state:first ."+i.prefix+"defaultbutton").focus();i.timeout> 0&&setTimeout(f.prompt.close,i.timeout);return D};f.prompt.defaults={prefix:"jqi",buttons:{Ok:true},loaded:function(){},submit:function(){return true},callback:function(){},opacity:0.6,zIndex:999,overlayspeed:"slow",promptspeed:"fast",show:"fadeIn",focus:0,useiframe:false,top:"15%",persistent:true,timeout:0,state:{html:"",buttons:{Ok:true},focus:0,submit:function(){return true}}};f.prompt.currentPrefix=f.prompt.defaults.prefix;f.prompt.setDefaults=function(g){f.prompt.defaults=f.extend({},f.prompt.defaults, g)};f.prompt.setStateDefaults=function(g){f.prompt.defaults.state=f.extend({},f.prompt.defaults.state,g)};f.prompt.getStateContent=function(g){return f("#"+f.prompt.currentPrefix+"_state_"+g)};f.prompt.getCurrentState=function(){return f("."+f.prompt.currentPrefix+"_state:visible")};f.prompt.getCurrentStateName=function(){return f.prompt.getCurrentState().attr("id").replace(f.prompt.currentPrefix+"_state_","")};f.prompt.goToState=function(g){f("."+f.prompt.currentPrefix+"_state").slideUp("slow"); f("#"+f.prompt.currentPrefix+"_state_"+g).slideDown("slow",function(){f(this).find("."+f.prompt.currentPrefix+"defaultbutton").focus()})};f.prompt.nextState=function(){var g=f("."+f.prompt.currentPrefix+"_state:visible").next();f("."+f.prompt.currentPrefix+"_state").slideUp("slow");g.slideDown("slow",function(){g.find("."+f.prompt.currentPrefix+"defaultbutton").focus()})};f.prompt.prevState=function(){var g=f("."+f.prompt.currentPrefix+"_state:visible").prev();f("."+f.prompt.currentPrefix+"_state").slideUp("slow"); g.slideDown("slow",function(){g.find("."+f.prompt.currentPrefix+"defaultbutton").focus()})};f.prompt.close=function(){f("#"+f.prompt.currentPrefix+"box").fadeOut("fast",function(){f(this).remove()})}})(jQuery);var cur_post_id=false; function init_player(){width=860;height=600;parameters="location='/radio/posluchaj',menubar=0,height="+height+",width="+width+",toolbar=0,scrollbars=0,status=0,resizable=1,left="+(screen.width-width)/2+",screenX="+(screen.width-width)/2+",top="+(screen.height-(height+110))/2+",screenY="+(screen.height-(height+110))/2;window.open("/radio/posluchaj","toksport_player",parameters).focus();return false} function comm_show(f,g){$("#comm").removeClass("alert-error");$("#comm").removeClass("alert-ok");$("#comm").removeClass("alert-info");$("#comm").addClass("alert-"+g);$("#comm .intxt").html(f);$("#comm").animate({opacity:1,bottom:5},500,"linear",function(){timeout_info=setTimeout(comm_hide,3E3)})}function comm_hide(){$("#comm").animate({opacity:0,bottom:-45},500,"linear",function(){timeout_info=setTimeout(comm_hide,3E3)})} function comm_view(){_Komunikat_Tekst!=false&&_Komunikat_Typ!=false&&comm_show(_Komunikat_Tekst,_Komunikat_Typ)} function survey_vote(f,g){$.post("/sonda/glosuj",{sid:f,aid:g},function(i){i.status==-1&&comm_show("Podane parametry nie s\u0105 prawid\u0142owe","error");i.status==-2&&comm_show("Sonda zosta\u0142a zako\u0144czona.","error");i.status==-3&&comm_show("G\u0142os ju\u017c wcze\u015bniej zosta\u0142 oddany.","error");i.status==1&&comm_show("G\u0142os zosta\u0142 oddany poprawnie.","ok");$("#answers"+f+" .progress .in").css({width:0});if(i.rezultaty){for(r=0;r"+i.rezultaty[r].procent+"%")}$("#answers"+f+" .nrm").hide();$("#answers"+f+" .hd").show()}},"json");return false}function forum_quote_post(f){$("#form-forum-reply #comment").val("[quote]"+$("#p"+f+" .cnt").html()+"[/quote]\n");$("#form-forum-reply #comment").focus();return false} function forum_delete_post(f){cur_post_id=f;$.prompt("Czy napewno chcesz usun\u0105\u0107 ten post?Operacja nie b\u0119dzie odwracalna",{callback:forum_delete_post_callback,buttons:{Tak:true,Nie:false},focus:1});return false}function reload_this(){document.location.reload()} function forum_delete_post_callback(f){f==true&&$.post("/forum/usun/"+cur_post_id,{},function(g){if(g.c==1){$("#p"+g.id).animate({opacity:0,height:0},1E3,"linear",function(){$("#p"+g.id).hide()});comm_show("Operacja wykonana poprawnie.","ok");setTimeout(reload_this,2E3)}g.c==-1&&comm_show("Brak uprawnie\u0144 do usuni\u0119cia.","error");g.c==-2&&comm_show("W\u0105tek posiada inne posty.","error")},"json");cur_post_id=false} (function(f){function g(n){var v,u,A=[];for(u=0;u'+T[H]+"";O.html(P);M=!!T.length}});else for(H=0;H