(function(){function m(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 t(a,b){return a[0]&&parseInt(c.curCSS(a[0],b,true),10)||0}function q(){return false}function w(){return true}function v(a){var b=RegExp("(^|\\.)"+a.type+"(\\.|$)"),e=true,f=[];c.each(c.data(this,"events").live||[],function(k,l){if(b.test(l.type)){var s=c(a.target).closest(l.data)[0];s&&f.push({elem:s,fn:l})}});f.sort(function(k,
l){return c.data(k.elem,"closest")-c.data(l.elem,"closest")});c.each(f,function(){if(this.fn.call(this.elem,a,this.fn.data)===false)return e=false});return e}function B(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"|")].join(".")}function A(){if(!Q){Q=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&&z==z.top&&function(){if(!c.isReady){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}c.ready()}}()}c.event.add(z,"load",c.ready)}}function p(a,b){var e={};c.each(R.concat.apply([],R.slice(0,b)),function(){e[this]=a});return e}var z=this,C=z.jQuery,E=z.$,c=z.jQuery=z.$=function(a,b){return new c.fn.init(a,
b)},H=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,V=/^.[^:#\[\.,]*$/;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 e=H.exec(a);if(e&&(e[1]||!b))if(e[1])a=c.clean([e[1]],b);else{var f=document.getElementById(e[3]);if(f&&f.id!=e[3])return c().find(a);e=c(f||[]);e.context=document;e.selector=a;return e}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,e){a=c(a);a.prevObject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+e;else if(b)a.selector=this.selector+"."+b+"("+e+")";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,e){var f=a;if(typeof a==="string")if(b===void 0)return this[0]&&c[e||"attr"](this[0],a);else{f={};f[a]=b}return this.each(function(k){for(a in f)c.attr(e?this.style:this,a,c.prop(this,f[a],e,k,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(e){return c.find(a,e)})),"find",a)},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var k=this.outerHTML;if(!k){k=this.ownerDocument.createElement("div");k.appendChild(this.cloneNode(true));
k=k.innerHTML}return c.clean([k.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else return this.cloneNode(true)});if(a===true){var e=this.find("*").andSelf(),f=0;b.find("*").andSelf().each(function(){if(this.nodeName===e[f].nodeName){var k=c.data(e[f],"events");for(var l in k)for(var s in k[l])c.event.add(this,l,k[l][s],k[l][s].data);f++}})}return b},filter:function(a){return this.pushStack(c.isFunction(a)&&c.grep(this,function(b,e){return a.call(b,e)})||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,e=0;return this.map(function(){for(var f=this;f&&f.ownerDocument;){if(b?b.index(f)>-1:c(f).is(a)){c.data(f,"closest",e);return f}f=f.parentNode;e++}})},not:function(a){if(typeof a==="string")if(V.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 e=b.selectedIndex,f=[],k=b.options;b=b.type=="select-one";if(e<0)return null;var l=b?e:0;for(e=b?e+1:k.length;l<
e;l++){var s=k[l];if(s.selected){a=c(s).val();if(b)return a;f.push(a)}}return f}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 u=c.makeArray(a);c("option",this).each(function(){this.selected=c.inArray(this.value,u)>=0||c.inArray(this.text,u)>=0});if(!u.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,e){return a.call(b,e,b)}))},andSelf:function(){return this.add(this.prevObject)},
domManip:function(a,b,e){if(this[0]){var f=(this[0].ownerDocument||this[0]).createDocumentFragment();a=c.clean(a,this[0].ownerDocument||this[0],f);var k=f.firstChild;if(k)for(var l=0,s=this.length;l<s;l++)e.call(b&&c.nodeName(this[l],"table")&&c.nodeName(k,"tr")?this[l].getElementsByTagName("tbody")[0]||this[l].appendChild(this[l].ownerDocument.createElement("tbody")):this[l],this.length>1||l>0?f.cloneNode(true):f);a&&c.each(a,m)}return this}};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=
arguments[0]||{},b=1,e=arguments.length,f=false,k;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(e==b){a=this;--b}for(;b<e;b++)if((k=arguments[b])!=null)for(var l in k){var s=a[l],u=k[l];if(a!==u)if(f&&u&&typeof u==="object"&&!u.nodeType)a[l]=c.extend(f,s||(u.length!=null?[]:{}),u);else if(u!==void 0)a[l]=u}return a};var T=/z-?index|font-?weight|opacity|zoom|line-?height/i,K=document.defaultView||{},L=Object.prototype.toString;c.extend({noConflict:function(a){z.$=
E;if(a)z.jQuery=C;return c},isFunction:function(a){return L.call(a)==="[object Function]"},isArray:function(a){return L.call(a)==="[object Array]"},isXMLDoc:function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&c.isXMLDoc(a.ownerDocument)},globalEval:function(a){if(a&&/\S/.test(a)){var b=document.getElementsByTagName("head")[0]||document.documentElement,e=document.createElement("script");e.type="text/javascript";if(c.support.scriptEval)e.appendChild(document.createTextNode(a));
else e.text=a;b.insertBefore(e,b.firstChild);b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},each:function(a,b,e){var f,k=0,l=a.length;if(e)if(l===void 0)for(f in a){if(b.apply(a[f],e)===false)break}else for(;k<l;){if(b.apply(a[k++],e)===false)break}else if(l===void 0)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(e=a[0];k<l&&b.call(e,k,e)!==false;e=a[++k]);return a},prop:function(a,b,e,f,k){if(c.isFunction(b))b=b.call(a,f);return typeof b===
"number"&&e=="curCSS"&&!T.test(k)?b+"px":b},className:{add:function(a,b){c.each((b||"").split(/\s+/),function(e,f){if(a.nodeType==1&&!c.className.has(a.className,f))a.className+=(a.className?" ":"")+f})},remove:function(a,b){if(a.nodeType==1)a.className=b!==void 0?c.grep(a.className.split(/\s+/),function(e){return!c.className.has(b,e)}).join(" "):""},has:function(a,b){return a&&c.inArray(b,(a.className||a).toString().split(/\s+/))>-1}},swap:function(a,b,e){var f={};for(var k in b){f[k]=a.style[k];
a.style[k]=b[k]}e.call(a);for(k in b)a.style[k]=f[k]},css:function(a,b,e,f){if(b=="width"||b=="height"){var k;e={position:"absolute",visibility:"hidden",display:"block"};var l=b=="width"?["Left","Right"]:["Top","Bottom"],s=function(){k=b=="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(l,function(){f||(k-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")k+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else k-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})};a.offsetWidth!==
0?s():c.swap(a,e,s);return Math.max(0,Math.round(k))}return c.curCSS(a,b,e)},curCSS:function(a,b,e){var f,k=a.style;if(b=="opacity"&&!c.support.opacity){f=c.attr(k,"opacity");return f==""?"1":f}if(b.match(/float/i))b=X;if(!e&&k&&k[b])f=k[b];else if(K.getComputedStyle){if(b.match(/float/i))b="float";b=b.replace(/([A-Z])/g,"-$1").toLowerCase();if(a=K.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b=="opacity"&&f=="")f="1"}else if(a.currentStyle){f=b.replace(/\-(\w)/g,function(l,s){return s.toUpperCase()});
f=a.currentStyle[b]||a.currentStyle[f];if(!/^\d+(px)?$/i.test(f)&&/^\d/.test(f)){b=k.left;e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;k.left=f||0;f=k.pixelLeft+"px";k.left=b;a.runtimeStyle.left=e}}return f},clean:function(a,b,e){b=b||document;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||document;if(!e&&a.length===1&&typeof a[0]==="string"){var f=/^<(\w+)\s*\/?>$/.exec(a[0]);if(f)return[b.createElement(f[1])]}var k=[];f=[];var l=b.createElement("div");
c.each(a,function(s,u){if(typeof u==="number")u+="";if(u){if(typeof u==="string"){u=u.replace(/(<(\w+)[^>]*?)\/>/g,function(O,P,h){return h.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?O:P+"></"+h+">"});var F=u.replace(/^\s+/,"").substring(0,10).toLowerCase(),G=!F.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!F.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||F.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!F.indexOf("<tr")&&[2,"<table><tbody>",
"</tbody></table>"]||(!F.indexOf("<td")||!F.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!F.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!c.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];for(l.innerHTML=G[1]+u+G[2];G[0]--;)l=l.lastChild;if(!c.support.tbody){var J=/<tbody/i.test(u);F=!F.indexOf("<table")&&!J?l.firstChild&&l.firstChild.childNodes:G[1]=="<table>"&&!J?l.childNodes:[];for(G=F.length-1;G>=0;--G)c.nodeName(F[G],"tbody")&&
!F[G].childNodes.length&&F[G].parentNode.removeChild(F[G])}!c.support.leadingWhitespace&&/^\s/.test(u)&&l.insertBefore(b.createTextNode(u.match(/^\s*/)[0]),l.firstChild);u=c.makeArray(l.childNodes)}if(u.nodeType)k.push(u);else k=c.merge(k,u)}});if(e){for(a=0;k[a];a++)if(c.nodeName(k[a],"script")&&(!k[a].type||k[a].type.toLowerCase()==="text/javascript"))f.push(k[a].parentNode?k[a].parentNode.removeChild(k[a]):k[a]);else{k[a].nodeType===1&&k.splice.apply(k,[a+1,0].concat(c.makeArray(k[a].getElementsByTagName("script"))));
e.appendChild(k[a])}return f}return k},attr:function(a,b,e){if(!(!a||a.nodeType==3||a.nodeType==8)){var f=!c.isXMLDoc(a),k=e!==void 0;b=f&&c.props[b]||b;if(a.tagName){var l=/href|src|style/.test(b);if(b in a&&f&&!l){if(k){if(b=="type"&&c.nodeName(a,"input")&&a.parentNode)throw"type property can't be changed";a[b]=e}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&&f&&b=="style")return c.attr(a.style,"cssText",e);k&&a.setAttribute(b,""+e);a=!c.support.hrefNormalized&&f&&l?a.getAttribute(b,2):a.getAttribute(b);return a===null?void 0:a}if(!c.support.opacity&&b=="opacity"){if(k){a.zoom=1;a.filter=(a.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(e)+""=="NaN"?"":"alpha(opacity="+e*100+")")}return a.filter&&a.filter.indexOf("opacity=")>=0?parseFloat(a.filter.match(/opacity=([^)]*)/)[1])/
100+"":""}b=b.replace(/-([a-z])/ig,function(s,u){return u.toUpperCase()});if(k)a[b]=e;return a[b]}},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var b=[];if(a!=null){var e=a.length;if(e==null||typeof a==="string"||c.isFunction(a)||a.setInterval)b[0]=a;else for(;e;)b[--e]=a[e]}return b},inArray:function(a,b){for(var e=0,f=b.length;e<f;e++)if(b[e]===a)return e;return-1},merge:function(a,b){var e=0,f,k=a.length;if(c.support.getAll)for(;(f=b[e++])!=null;)a[k++]=f;else for(;(f=
b[e++])!=null;)if(f.nodeType!=8)a[k++]=f;return a},unique:function(a){var b=[],e={};try{for(var f=0,k=a.length;f<k;f++){var l=c.data(a[f]);if(!e[l]){e[l]=true;b.push(a[f])}}}catch(s){b=a}return b},grep:function(a,b,e){for(var f=[],k=0,l=a.length;k<l;k++)!e!=!b(a[k],k)&&f.push(a[k]);return f},map:function(a,b){for(var e=[],f=0,k=a.length;f<k;f++){var l=b(a[f],f);if(l!=null)e[e.length]=l}return e.concat.apply([],e)}});var S=navigator.userAgent.toLowerCase();c.browser={version:(S.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||
[0,"0"])[1],safari:/webkit/.test(S),opera:/opera/.test(S),msie:/msie/.test(S)&&!/opera/.test(S),mozilla:/mozilla/.test(S)&&!/(compatible|webkit)/.test(S)};c.each({parent:function(a){return a.parentNode},parents:function(a){return c.dir(a,"parentNode")},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},siblings:function(a){return c.sibling(a.parentNode.firstChild,
a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(e){var f=c.map(this,b);if(e&&typeof e=="string")f=c.multiFilter(e,f);return this.pushStack(c.unique(f),a,e)}});c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(e){for(var f=[],k=c(e),l=0,s=k.length;l<
s;l++){var u=(l>0?this.clone(true):this).get();c.fn[b].apply(c(k[l]),u);f=f.concat(u)}return this.pushStack(f,a,e)}});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 N="jQuery"+ +new Date,da=0,U={};c.extend({cache:{},data:function(a,b,e){a=a==z?U:a;var f=a[N];f||(f=a[N]=++da);if(b&&!c.cache[f])c.cache[f]={};if(e!==void 0)c.cache[f][b]=e;return b?c.cache[f][b]:f},removeData:function(a,b){a=a==z?U:a;var e=a[N];if(b){if(c.cache[e]){delete c.cache[e][b];
b="";for(b in c.cache[e])break;b||c.removeData(a)}}else{try{delete a[N]}catch(f){a.removeAttribute&&a.removeAttribute(N)}delete c.cache[e]}},queue:function(a,b,e){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!f||c.isArray(e))f=c.data(a,b,c.makeArray(e));else e&&f.push(e)}return f},dequeue:function(a,b){var e=c.queue(a,b),f=e.shift();if(!b||b==="fx")f=e[0];f!==void 0&&f.call(a)}});c.fn.extend({data:function(a,b){var e=a.split(".");e[1]=e[1]?"."+e[1]:"";if(b===void 0){var f=this.triggerHandler("getData"+
e[1]+"!",[e[0]]);if(f===void 0&&this.length)f=c.data(this[0],a);return f===void 0&&e[1]?this.data(e[0]):f}else return this.trigger("setData"+e[1]+"!",[e[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 e=c.queue(this,a,b);a=="fx"&&e.length==1&&e[0].call(this)})},dequeue:function(a){return this.each(function(){c.dequeue(this,
a)})}});(function(){function a(d,g,i,j,n,o){n=0;for(var y=j.length;n<y;n++){var x=j[n];if(x){if(d=="previousSibling"&&!o&&x.nodeType===1){x.sizcache=i;x.sizset=n}x=x[d];for(var D=false;x;){if(x.sizcache===i){D=j[x.sizset];break}if(x.nodeType===1&&!o){x.sizcache=i;x.sizset=n}if(x.nodeName===g){D=x;break}x=x[d]}j[n]=D}}}function b(d,g,i,j,n,o){n=0;for(var y=j.length;n<y;n++){var x=j[n];if(x){if(d=="previousSibling"&&!o&&x.nodeType===1){x.sizcache=i;x.sizset=n}x=x[d];for(var D=false;x;){if(x.sizcache===
i){D=j[x.sizset];break}if(x.nodeType===1){if(!o){x.sizcache=i;x.sizset=n}if(typeof g!=="string"){if(x===g){D=true;break}}else if(l.filter(g,[x]).length>0){D=x;break}}x=x[d]}j[n]=D}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,f=0,k=Object.prototype.toString,l=function(d,g,i,j){i=i||[];g=g||document;if(g.nodeType!==1&&g.nodeType!==9)return[];if(!d||typeof d!=="string")return i;var n=[],o,y,x,D=true;for(e.lastIndex=0;(o=
e.exec(d))!==null;){n.push(o[1]);if(o[2]){x=RegExp.rightContext;break}}if(n.length>1&&u.exec(d))if(n.length===2&&s.relative[n[0]])o=r(n[0]+n[1],g);else for(o=s.relative[n[0]]?[g]:l(n.shift(),g);n.length;){d=n.shift();if(s.relative[d])d+=n.shift();o=r(d,o)}else{o=j?{expr:n.pop(),set:G(j)}:l.find(n.pop(),n.length===1&&g.parentNode?g.parentNode:g,h(g));o=l.filter(o.expr,o.set);if(n.length>0)y=G(o);else D=false;for(;n.length;){var M=n.pop(),I=M;if(s.relative[M])I=n.pop();else M="";if(I==null)I=g;s.relative[M](y,
I,h(g))}}y||(y=o);if(!y)throw"Syntax error, unrecognized expression: "+(M||d);if(k.call(y)==="[object Array]")if(D)if(g.nodeType===1)for(d=0;y[d]!=null;d++){if(y[d]&&(y[d]===true||y[d].nodeType===1&&P(g,y[d])))i.push(o[d])}else for(d=0;y[d]!=null;d++)y[d]&&y[d].nodeType===1&&i.push(o[d]);else i.push.apply(i,y);else G(y,i);if(x){l(x,g,i,j);if(O){hasDuplicate=false;i.sort(O);if(hasDuplicate)for(d=1;d<i.length;d++)i[d]===i[d-1]&&i.splice(d--,1)}}return i};l.matches=function(d,g){return l(d,null,null,
g)};l.find=function(d,g,i){var j,n;if(!d)return[];for(var o=0,y=s.order.length;o<y;o++){var x=s.order[o];if(n=s.match[x].exec(d)){var D=RegExp.leftContext;if(D.substr(D.length-1)!=="\\"){n[1]=(n[1]||"").replace(/\\/g,"");j=s.find[x](n,g,i);if(j!=null){d=d.replace(s.match[x],"");break}}}}j||(j=g.getElementsByTagName("*"));return{set:j,expr:d}};l.filter=function(d,g,i,j){for(var n=d,o=[],y=g,x,D,M=g&&g[0]&&h(g[0]);d&&g.length;){for(var I in s.filter)if((x=s.match[I].exec(d))!=null){var ba=s.filter[I],
W,ea;D=false;if(y==o)o=[];if(s.preFilter[I])if(x=s.preFilter[I](x,y,i,o,j,M)){if(x===true)continue}else D=W=true;if(x)for(var fa=0;(ea=y[fa])!=null;fa++)if(ea){W=ba(ea,x,fa,y);var ga=j^!!W;if(i&&W!=null)if(ga)D=true;else y[fa]=false;else if(ga){o.push(ea);D=true}}if(W!==void 0){i||(y=o);d=d.replace(s.match[I],"");if(!D)return[];break}}if(d==n)if(D==null)throw"Syntax error, unrecognized expression: "+d;else break;n=d}return y};var s=l.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,
CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(d){return d.getAttribute("href")}},
relative:{"+":function(d,g,i){var j=typeof g==="string",n=j&&!/\W/.test(g);j=j&&!n;if(n&&!i)g=g.toUpperCase();i=0;n=d.length;for(var o;i<n;i++)if(o=d[i]){for(;(o=o.previousSibling)&&o.nodeType!==1;);d[i]=j||o&&o.nodeName===g?o||false:o===g}j&&l.filter(g,d,true)},">":function(d,g,i){var j=typeof g==="string";if(j&&!/\W/.test(g)){g=i?g:g.toUpperCase();i=0;for(var n=d.length;i<n;i++){var o=d[i];if(o){j=o.parentNode;d[i]=j.nodeName===g?j:false}}}else{i=0;for(n=d.length;i<n;i++)if(o=d[i])d[i]=j?o.parentNode:
o.parentNode===g;j&&l.filter(g,d,true)}},"":function(d,g,i){var j=f++,n=b;if(!g.match(/\W/)){var o=g=i?g:g.toUpperCase();n=a}n("parentNode",g,j,d,o,i)},"~":function(d,g,i){var j=f++,n=b;if(typeof g==="string"&&!g.match(/\W/)){var o=g=i?g:g.toUpperCase();n=a}n("previousSibling",g,j,d,o,i)}},find:{ID:function(d,g,i){if(typeof g.getElementById!=="undefined"&&!i)return(d=g.getElementById(d[1]))?[d]:[]},NAME:function(d,g){if(typeof g.getElementsByName!=="undefined"){for(var i=[],j=g.getElementsByName(d[1]),
n=0,o=j.length;n<o;n++)j[n].getAttribute("name")===d[1]&&i.push(j[n]);return i.length===0?null:i}},TAG:function(d,g){return g.getElementsByTagName(d[1])}},preFilter:{CLASS:function(d,g,i,j,n,o){d=" "+d[1].replace(/\\/g,"")+" ";if(o)return d;o=0;for(var y;(y=g[o])!=null;o++)if(y)if(n^(y.className&&(" "+y.className+" ").indexOf(d)>=0))i||j.push(y);else if(i)g[o]=false;return false},ID:function(d){return d[1].replace(/\\/g,"")},TAG:function(d,g){for(var i=0;g[i]===false;i++);return g[i]&&h(g[i])?d[1]:
d[1].toUpperCase()},CHILD:function(d){if(d[1]=="nth"){var g=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(d[2]=="even"&&"2n"||d[2]=="odd"&&"2n+1"||!/\D/.test(d[2])&&"0n+"+d[2]||d[2]);d[2]=g[1]+(g[2]||1)-0;d[3]=g[3]-0}d[0]=f++;return d},ATTR:function(d,g,i,j,n,o){g=d[1].replace(/\\/g,"");if(!o&&s.attrMap[g])d[1]=s.attrMap[g];if(d[2]==="~=")d[4]=" "+d[4]+" ";return d},PSEUDO:function(d,g,i,j,n){if(d[1]==="not")if(d[3].match(e).length>1||/^\w/.test(d[3]))d[3]=l(d[3],null,null,g);else{d=l.filter(d[3],g,i,true^n);i||
j.push.apply(j,d);return false}else if(s.match.POS.test(d[0])||s.match.CHILD.test(d[0]))return true;return d},POS:function(d){d.unshift(true);return d}},filters:{enabled:function(d){return d.disabled===false&&d.type!=="hidden"},disabled:function(d){return d.disabled===true},checked:function(d){return d.checked===true},selected:function(d){return d.selected===true},parent:function(d){return!!d.firstChild},empty:function(d){return!d.firstChild},has:function(d,g,i){return!!l(i[3],d).length},header:function(d){return/h\d/i.test(d.nodeName)},
text:function(d){return"text"===d.type},radio:function(d){return"radio"===d.type},checkbox:function(d){return"checkbox"===d.type},file:function(d){return"file"===d.type},password:function(d){return"password"===d.type},submit:function(d){return"submit"===d.type},image:function(d){return"image"===d.type},reset:function(d){return"reset"===d.type},button:function(d){return"button"===d.type||d.nodeName.toUpperCase()==="BUTTON"},input:function(d){return/input|select|textarea|button/i.test(d.nodeName)}},
setFilters:{first:function(d,g){return g===0},last:function(d,g,i,j){return g===j.length-1},even:function(d,g){return g%2===0},odd:function(d,g){return g%2===1},lt:function(d,g,i){return g<i[3]-0},gt:function(d,g,i){return g>i[3]-0},nth:function(d,g,i){return i[3]-0==g},eq:function(d,g,i){return i[3]-0==g}},filter:{PSEUDO:function(d,g,i,j){var n=g[1],o=s.filters[n];if(o)return o(d,i,g,j);else if(n==="contains")return(d.textContent||d.innerText||"").indexOf(g[3])>=0;else if(n==="not"){g=g[3];i=0;for(j=
g.length;i<j;i++)if(g[i]===d)return false;return true}},CHILD:function(d,g){var i=g[1],j=d;switch(i){case "only":case "first":for(;j=j.previousSibling;)if(j.nodeType===1)return false;if(i=="first")return true;j=d;case "last":for(;j=j.nextSibling;)if(j.nodeType===1)return false;return true;case "nth":i=g[2];var n=g[3];if(i==1&&n==0)return true;var o=g[0],y=d.parentNode;if(y&&(y.sizcache!==o||!d.nodeIndex)){var x=0;for(j=y.firstChild;j;j=j.nextSibling)if(j.nodeType===1)j.nodeIndex=++x;y.sizcache=o}j=
d.nodeIndex-n;return i==0?j==0:j%i==0&&j/i>=0}},ID:function(d,g){return d.nodeType===1&&d.getAttribute("id")===g},TAG:function(d,g){return g==="*"&&d.nodeType===1||d.nodeName===g},CLASS:function(d,g){return(" "+(d.className||d.getAttribute("class"))+" ").indexOf(g)>-1},ATTR:function(d,g){var i=g[1];i=s.attrHandle[i]?s.attrHandle[i](d):d[i]!=null?d[i]:d.getAttribute(i);var j=i+"",n=g[2],o=g[4];return i==null?n==="!=":n==="="?j===o:n==="*="?j.indexOf(o)>=0:n==="~="?(" "+j+" ").indexOf(o)>=0:!o?j&&i!==
false:n==="!="?j!=o:n==="^="?j.indexOf(o)===0:n==="$="?j.substr(j.length-o.length)===o:n==="|="?j===o||j.substr(0,o.length+1)===o+"-":false},POS:function(d,g,i,j){var n=s.setFilters[g[2]];if(n)return n(d,i,g,j)}}},u=s.match.POS;for(var F in s.match)s.match[F]=RegExp(s.match[F].source+/(?![^\[]*\])(?![^\(]*\))/.source);var G=function(d,g){d=Array.prototype.slice.call(d);if(g){g.push.apply(g,d);return g}return d};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(J){G=function(d,
g){var i=g||[];if(k.call(d)==="[object Array]")Array.prototype.push.apply(i,d);else if(typeof d.length==="number")for(var j=0,n=d.length;j<n;j++)i.push(d[j]);else for(j=0;d[j];j++)i.push(d[j]);return i}}var O;if(document.documentElement.compareDocumentPosition)O=function(d,g){var i=d.compareDocumentPosition(g)&4?-1:d===g?0:1;if(i===0)hasDuplicate=true;return i};else if("sourceIndex"in document.documentElement)O=function(d,g){var i=d.sourceIndex-g.sourceIndex;if(i===0)hasDuplicate=true;return i};else if(document.createRange)O=
function(d,g){var i=d.ownerDocument.createRange(),j=g.ownerDocument.createRange();i.selectNode(d);i.collapse(true);j.selectNode(g);j.collapse(true);i=i.compareBoundaryPoints(Range.START_TO_END,j);if(i===0)hasDuplicate=true;return i};(function(){var d=document.createElement("form"),g="script"+(new Date).getTime();d.innerHTML="<input name='"+g+"'/>";var i=document.documentElement;i.insertBefore(d,i.firstChild);if(document.getElementById(g)){s.find.ID=function(j,n,o){if(typeof n.getElementById!=="undefined"&&
!o)return(n=n.getElementById(j[1]))?n.id===j[1]||typeof n.getAttributeNode!=="undefined"&&n.getAttributeNode("id").nodeValue===j[1]?[n]:void 0:[]};s.filter.ID=function(j,n){var o=typeof j.getAttributeNode!=="undefined"&&j.getAttributeNode("id");return j.nodeType===1&&o&&o.nodeValue===n}}i.removeChild(d)})();(function(){var d=document.createElement("div");d.appendChild(document.createComment(""));if(d.getElementsByTagName("*").length>0)s.find.TAG=function(g,i){var j=i.getElementsByTagName(g[1]);if(g[1]===
"*"){for(var n=[],o=0;j[o];o++)j[o].nodeType===1&&n.push(j[o]);j=n}return j};d.innerHTML="<a href='#'></a>";if(d.firstChild&&typeof d.firstChild.getAttribute!=="undefined"&&d.firstChild.getAttribute("href")!=="#")s.attrHandle.href=function(g){return g.getAttribute("href",2)}})();document.querySelectorAll&&function(){var d=l,g=document.createElement("div");g.innerHTML="<p class='TEST'></p>";if(!(g.querySelectorAll&&g.querySelectorAll(".TEST").length===0)){l=function(i,j,n,o){j=j||document;if(!o&&j.nodeType===
9&&!h(j))try{return G(j.querySelectorAll(i),n)}catch(y){}return d(i,j,n,o)};l.find=d.find;l.filter=d.filter;l.selectors=d.selectors;l.matches=d.matches}}();document.getElementsByClassName&&document.documentElement.getElementsByClassName&&function(){var d=document.createElement("div");d.innerHTML="<div class='test e'></div><div class='test'></div>";if(d.getElementsByClassName("e").length!==0){d.lastChild.className="e";if(d.getElementsByClassName("e").length!==1){s.order.splice(1,0,"CLASS");s.find.CLASS=
function(g,i,j){if(typeof i.getElementsByClassName!=="undefined"&&!j)return i.getElementsByClassName(g[1])}}}}();var P=document.compareDocumentPosition?function(d,g){return d.compareDocumentPosition(g)&16}:function(d,g){return d!==g&&(d.contains?d.contains(g):true)},h=function(d){return d.nodeType===9&&d.documentElement.nodeName!=="HTML"||!!d.ownerDocument&&h(d.ownerDocument)},r=function(d,g){for(var i=[],j="",n,o=g.nodeType?[g]:g;n=s.match.PSEUDO.exec(d);){j+=n[0];d=d.replace(s.match.PSEUDO,"")}d=
s.relative[d]?d+"*":d;n=0;for(var y=o.length;n<y;n++)l(d,o[n],i);return l.filter(j,i)};c.find=l;c.filter=l.filter;c.expr=l.selectors;c.expr[":"]=c.expr.filters;l.selectors.filters.hidden=function(d){return d.offsetWidth===0||d.offsetHeight===0};l.selectors.filters.visible=function(d){return d.offsetWidth>0||d.offsetHeight>0};l.selectors.filters.animated=function(d){return c.grep(c.timers,function(g){return d===g.elem}).length};c.multiFilter=function(d,g,i){if(i)d=":not("+d+")";return l.matches(d,
g)};c.dir=function(d,g){for(var i=[],j=d[g];j&&j!=document;){j.nodeType==1&&i.push(j);j=j[g]}return i};c.nth=function(d,g,i){for(var j=0;d;d=d[i])if(d.nodeType==1&&++j==(g||1))break;return d};c.sibling=function(d,g){for(var i=[];d;d=d.nextSibling)d.nodeType==1&&d!=g&&i.push(d);return i}})();c.event={add:function(a,b,e,f){if(!(a.nodeType==3||a.nodeType==8)){if(a.setInterval&&a!=z)a=z;if(!e.guid)e.guid=this.guid++;if(f!==void 0){e=this.proxy(e);e.data=f}var k=c.data(a,"events")||c.data(a,"events",{}),
l=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});l.elem=a;c.each(b.split(/\s+/),function(s,u){var F=u.split(".");u=F.shift();e.type=F.slice().sort().join(".");var G=k[u];c.event.specialAll[u]&&c.event.specialAll[u].setup.call(a,f,F);if(!G){G=k[u]={};if(!c.event.special[u]||c.event.special[u].setup.call(a,f,F)===false)if(a.addEventListener)a.addEventListener(u,l,false);else a.attachEvent&&
a.attachEvent("on"+u,l)}G[e.guid]=e;c.event.global[u]=true});a=null}},guid:1,global:{},remove:function(a,b,e){if(!(a.nodeType==3||a.nodeType==8)){var f=c.data(a,"events"),k;if(f){if(b===void 0||typeof b==="string"&&b.charAt(0)==".")for(var l in f)this.remove(a,l+(b||""));else{if(b.type){e=b.handler;b=b.type}c.each(b.split(/\s+/),function(s,u){var F=u.split(".");u=F.shift();var G=RegExp("(^|\\.)"+F.slice().sort().join(".*\\.")+"(\\.|$)");if(f[u]){if(e)delete f[u][e.guid];else for(var J in f[u])G.test(f[u][J].type)&&
delete f[u][J];c.event.specialAll[u]&&c.event.specialAll[u].teardown.call(a,F);for(k in f[u])break;if(!k){if(!c.event.special[u]||c.event.special[u].teardown.call(a,F)===false)if(a.removeEventListener)a.removeEventListener(u,c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+u,c.data(a,"handle"));k=null;delete f[u]}}})}for(k in f)break;if(!k){if(b=c.data(a,"handle"))b.elem=null;c.removeData(a,"events");c.removeData(a,"handle")}}}},trigger:function(a,b,e,f){var k=a.type||a;if(!f){a=typeof a===
"object"?a[N]?a:c.extend(c.Event(k),a):c.Event(k);if(k.indexOf("!")>=0){a.type=k=k.slice(0,-1);a.exclusive=true}if(!e){a.stopPropagation();this.global[k]&&c.each(c.cache,function(){this.events&&this.events[k]&&c.event.trigger(a,b,this.handle.elem)})}if(!e||e.nodeType==3||e.nodeType==8)return;a.result=void 0;a.target=e;b=c.makeArray(b);b.unshift(a)}a.currentTarget=e;var l=c.data(e,"handle");l&&l.apply(e,b);if((!e[k]||c.nodeName(e,"a")&&k=="click")&&e["on"+k]&&e["on"+k].apply(e,b)===false)a.result=
false;if(!f&&e[k]&&!a.isDefaultPrevented()&&!(c.nodeName(e,"a")&&k=="click")){this.triggered=true;try{e[k]()}catch(s){}}this.triggered=false;if(!a.isPropagationStopped())(e=e.parentNode||e.ownerDocument)&&c.event.trigger(a,b,e,true)},handle:function(a){var b,e;a=arguments[0]=c.event.fix(a||z.event);a.currentTarget=this;e=a.type.split(".");a.type=e.shift();b=!e.length&&!a.exclusive;var f=RegExp("(^|\\.)"+e.slice().sort().join(".*\\.")+"(\\.|$)");e=(c.data(this,"events")||{})[a.type];for(var k in e){var l=
e[k];if(b||f.test(l.type)){a.handler=l;a.data=l.data;l=l.apply(this,arguments);if(l!==void 0){a.result=l;if(l===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[N])return a;var b=a;a=c.Event(b);for(var e=this.props.length,f;e;){f=this.props[--e];a[f]=b[f]}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;e=document.body;a.pageX=a.clientX+(b&&b.scrollLeft||e&&e.scrollLeft||0)-(b.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
e&&e.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,e=RegExp("(^|\\.)"+a[0]+"(\\.|$)");c.each(c.data(this,"events").live||{},function(){e.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[N]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=w;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=
w;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=w;this.stopPropagation()},isDefaultPrevented:q,isPropagationStopped:q,isImmediatePropagationStopped:q};var Z=function(a){for(var b=a.relatedTarget;b&&b!=this;)try{b=b.parentNode}catch(e){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,Z,b)},teardown:function(){c.event.remove(this,a,Z)}}});c.fn.extend({bind:function(a,b,e){return a=="unload"?this.one(a,b,e):this.each(function(){c.event.add(this,a,e||b,e&&b)})},one:function(a,b,e){var f=c.event.proxy(e||b,function(k){c(this).unbind(k,f);return(e||b).apply(this,arguments)});return this.each(function(){c.event.add(this,a,f,e&&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 e=c.Event(a);e.preventDefault();e.stopPropagation();c.event.trigger(e,b,this[0]);return e.result}},toggle:function(a){for(var b=arguments,e=1;e<b.length;)c.event.proxy(a,b[e++]);return this.click(c.event.proxy(a,function(f){this.lastToggle=(this.lastToggle||0)%e;f.preventDefault();return b[this.lastToggle++].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b)},ready:function(a){A();c.isReady?a.call(document,
c):c.readyList.push(a);return this},live:function(a,b){var e=c.event.proxy(b);e.guid+=this.selector+a;c(document).bind(B(a,this.selector),this.selector,e);return this},die:function(a,b){c(document).unbind(B(a,this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});c.extend({isReady:false,readyList:[],ready:function(){if(!c.isReady){c.isReady=true;if(c.readyList){c.each(c.readyList,function(){this.call(document,c)});c.readyList=null}c(document).triggerHandler("ready")}}});var Q=false;c.each("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error".split(","),
function(a,b){c.fn[b]=function(e){return e?this.bind(b,e):this.trigger(b)}});c(z).bind("unload",function(){for(var a in c.cache)a!=1&&c.cache[a].handle&&c.event.remove(c.cache[a].handle.elem)});(function(){c.support={};var a=document.documentElement,b=document.createElement("script"),e=document.createElement("div"),f="script"+(new Date).getTime();e.style.display="none";e.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';
var k=e.getElementsByTagName("*"),l=e.getElementsByTagName("a")[0];if(!(!k||!k.length||!l)){c.support={leadingWhitespace:e.firstChild.nodeType==3,tbody:!e.getElementsByTagName("tbody").length,objectAll:!!e.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!e.getElementsByTagName("link").length,style:/red/.test(l.getAttribute("style")),hrefNormalized:l.getAttribute("href")==="/a",opacity:l.style.opacity==="0.5",cssFloat:!!l.style.cssFloat,scriptEval:false,noCloneEvent:true,
boxModel:null};b.type="text/javascript";try{b.appendChild(document.createTextNode("window."+f+"=1;"))}catch(s){}a.insertBefore(b,a.firstChild);if(z[f]){c.support.scriptEval=true;delete z[f]}a.removeChild(b);if(e.attachEvent&&e.fireEvent){e.attachEvent("onclick",function(){c.support.noCloneEvent=false;e.detachEvent("onclick",arguments.callee)});e.cloneNode(true).fireEvent("onclick")}c(function(){var u=document.createElement("div");u.style.width=u.style.paddingLeft="1px";document.body.appendChild(u);
c.boxModel=c.support.boxModel=u.offsetWidth===2;document.body.removeChild(u).style.display="none"})}})();var X=c.support.cssFloat?"cssFloat":"styleFloat";c.props={"for":"htmlFor","class":"className","float":X,cssFloat:X,styleFloat:X,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};c.fn.extend({_load:c.fn.load,load:function(a,b,e){if(typeof a!=="string")return this._load(a);var f=a.indexOf(" ");if(f>=0){var k=a.slice(f,a.length);a=a.slice(0,
f)}f="GET";if(b)if(c.isFunction(b)){e=b;b=null}else if(typeof b==="object"){b=c.param(b);f="POST"}var l=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(s,u){if(u=="success"||u=="notmodified")l.html(k?c("<div/>").append(s.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(k):s.responseText);e&&l.each(e,[s.responseText,u,s])}});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 e=c(this).val();return e==null?null:c.isArray(e)?c.map(e,function(f){return{name:b.name,value:f}}):{name:b.name,value:e}}).get()}});c.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(a,b){c.fn[b]=function(e){return this.bind(b,e)}});var aa=+new Date;
c.extend({get:function(a,b,e,f){if(c.isFunction(b)){e=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:e,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,e){return c.get(a,b,e,"json")},post:function(a,b,e,f){if(c.isFunction(b)){e=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:e,dataType:f})},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 z.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(s,l);a.global&&c.event.trigger("ajaxSuccess",[h,a])}function e(){a.complete&&a.complete(h,l);a.global&&c.event.trigger("ajaxComplete",
[h,a]);a.global&&!--c.active&&c.event.trigger("ajaxStop")}a=c.extend(true,a,c.extend(true,{},c.ajaxSettings,a));var f,k=/=\?(&|$)/g,l,s,u=a.type.toUpperCase();if(a.data&&a.processData&&typeof a.data!=="string")a.data=c.param(a.data);if(a.dataType=="jsonp"){if(u=="GET")a.url.match(k)||(a.url+=(a.url.match(/\?/)?"&":"?")+(a.jsonp||"callback")+"=?");else if(!a.data||!a.data.match(k))a.data=(a.data?a.data+"&":"")+(a.jsonp||"callback")+"=?";a.dataType="json"}if(a.dataType=="json"&&(a.data&&a.data.match(k)||
a.url.match(k))){f="jsonp"+aa++;if(a.data)a.data=(a.data+"").replace(k,"="+f+"$1");a.url=a.url.replace(k,"="+f+"$1");a.dataType="script";z[f]=function(j){s=j;b();e();z[f]=void 0;try{delete z[f]}catch(n){}G&&G.removeChild(J)}}if(a.dataType=="script"&&a.cache==null)a.cache=false;if(a.cache===false&&u=="GET"){k=+new Date;var F=a.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+k+"$2");a.url=F+(F==a.url?(a.url.match(/\?/)?"&":"?")+"_="+k:"")}if(a.data&&u=="GET"){a.url+=(a.url.match(/\?/)?"&":"?")+a.data;a.data=
null}a.global&&!c.active++&&c.event.trigger("ajaxStart");k=/^(\w+:)?\/\/([^\/?#]+)/.exec(a.url);if(a.dataType=="script"&&u=="GET"&&k&&(k[1]&&k[1]!=location.protocol||k[2]!=location.host)){var G=document.getElementsByTagName("head")[0],J=document.createElement("script");J.src=a.url;if(a.scriptCharset)J.charset=a.scriptCharset;if(!f){var O=false;J.onload=J.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;b();e();J.onload=J.onreadystatechange=
null;G.removeChild(J)}}}G.appendChild(J)}else{var P=false,h=a.xhr();a.username?h.open(u,a.url,a.async,a.username,a.password):h.open(u,a.url,a.async);try{a.data&&h.setRequestHeader("Content-Type",a.contentType);if(a.ifModified)h.setRequestHeader("If-Modified-Since",c.lastModified[a.url]||"Thu, 01 Jan 1970 00:00:00 GMT");h.setRequestHeader("X-Requested-With","XMLHttpRequest");h.setRequestHeader("Accept",a.dataType&&a.accepts[a.dataType]?a.accepts[a.dataType]+", */*":a.accepts._default)}catch(r){}if(a.beforeSend&&
a.beforeSend(h,a)===false){a.global&&!--c.active&&c.event.trigger("ajaxStop");h.abort();return false}a.global&&c.event.trigger("ajaxSend",[h,a]);var d=function(j){if(h.readyState==0){if(g){clearInterval(g);g=null;a.global&&!--c.active&&c.event.trigger("ajaxStop")}}else if(!P&&h&&(h.readyState==4||j=="timeout")){P=true;if(g){clearInterval(g);g=null}l=j=="timeout"?"timeout":!c.httpSuccess(h)?"error":a.ifModified&&c.httpNotModified(h,a.url)?"notmodified":"success";if(l=="success")try{s=c.httpData(h,
a.dataType,a)}catch(n){l="parsererror"}if(l=="success"){var o;try{o=h.getResponseHeader("Last-Modified")}catch(y){}if(a.ifModified&&o)c.lastModified[a.url]=o;f||b()}else c.handleError(a,h,l);e();j&&h.abort();if(a.async)h=null}};if(a.async){var g=setInterval(d,13);a.timeout>0&&setTimeout(function(){h&&!P&&d("timeout")},a.timeout)}try{h.send(a.data)}catch(i){c.handleError(a,h,null,i)}a.async||d();return h}},handleError:function(a,b,e,f){a.error&&a.error(b,e,f);a.global&&c.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 false},httpNotModified:function(a,b){try{var e=a.getResponseHeader("Last-Modified");return a.status==304||e==c.lastModified[b]}catch(f){}return false},httpData:function(a,b,e){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";
if(e&&e.dataFilter)a=e.dataFilter(a,b);if(typeof a==="string"){b=="script"&&c.globalEval(a);if(b=="json")a=z.eval("("+a+")")}return a},param:function(a){function b(k,l){e[e.length]=encodeURIComponent(k)+"="+encodeURIComponent(l)}var e=[];if(c.isArray(a)||a.jquery)c.each(a,function(){b(this.name,this.value)});else for(var f in a)c.isArray(a[f])?c.each(a[f],function(){b(f,this)}):b(f,c.isFunction(a[f])?a[f]():a[f]);return e.join("&").replace(/%20/g,"+")}});var ca={},Y,R=[["height","marginTop","marginBottom",
"paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a)return this.animate(p("show",3),a,b);else{for(var e=0,f=this.length;e<f;e++){var k=c.data(this[e],"olddisplay");this[e].style.display=k||"";if(c.css(this[e],"display")==="none"){k=this[e].tagName;var l;if(ca[k])l=ca[k];else{var s=c("<"+k+" />").appendTo("body");l=s.css("display");if(l==="none")l="block";s.remove();ca[k]=l}c.data(this[e],"olddisplay",l)}}e=
0;for(f=this.length;e<f;e++)this[e].style.display=c.data(this[e],"olddisplay")||"";return this}},hide:function(a,b){if(a)return this.animate(p("hide",3),a,b);else{for(var e=0,f=this.length;e<f;e++){var k=c.data(this[e],"olddisplay");!k&&k!=="none"&&c.data(this[e],"olddisplay",c.css(this[e],"display"))}e=0;for(f=this.length;e<f;e++)this[e].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var e=typeof a==="boolean";return c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,
arguments):a==null||e?this.each(function(){var f=e?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(p("toggle",3),a,b)},fadeTo:function(a,b,e){return this.animate({opacity:b},a,e)},animate:function(a,b,e,f){var k=c.speed(b,e,f);return this[k.queue===false?"each":"queue"](function(){var l=c.extend({},k),s,u=this.nodeType==1&&c(this).is(":hidden"),F=this;for(s in a){if(a[s]=="hide"&&u||a[s]=="show"&&!u)return l.complete.call(this);if((s=="height"||s=="width")&&this.style){l.display=
c.css(this,"display");l.overflow=this.style.overflow}}if(l.overflow!=null)this.style.overflow="hidden";l.curAnim=c.extend({},a);c.each(a,function(G,J){var O=new c.fx(F,l,G);if(/toggle|show|hide/.test(J))O[J=="toggle"?u?"show":"hide":J](a);else{var P=J.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),h=O.cur(true)||0;if(P){var r=parseFloat(P[2]),d=P[3]||"px";if(d!="px"){F.style[G]=(r||1)+d;h=(r||1)/O.cur(true)*h;F.style[G]=h+d}if(P[1])r=(P[1]=="-="?-1:1)*r+h;O.custom(h,r,d)}else O.custom(h,J,"")}});return true})},
stop:function(a,b){var e=c.timers;a&&this.queue([]);this.each(function(){for(var f=e.length-1;f>=0;f--)if(e[f].elem==this){b&&e[f](true);e.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:p("show",1),slideUp:p("hide",1),slideToggle:p("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(e,f){return this.animate(b,e,f)}});c.extend({speed:function(a,b,e){var f=typeof a==="object"?a:{complete:e||!e&&b||c.isFunction(a)&&a,duration:a,easing:e&&b||
b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,e,f){return e+f*a},swing:function(a,b,e,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+e}},timers:[],fx:function(a,b,e){this.options=b;this.elem=a;this.prop=e;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,e){function f(l){return k.step(l)}this.startTime=+new Date;
this.start=a;this.end=b;this.unit=e||this.unit||"px";this.now=this.start;this.pos=this.state=0;var k=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!Y)Y=setInterval(function(){for(var l=c.timers,s=0;s<l.length;s++)l[s]()||l.splice(s--,1);if(!l.length){clearInterval(Y);Y=void 0}},13)},show:function(){this.options.orig[this.prop]=c.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=
c.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=+new Date;if(a||b>=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 e in this.options.curAnim)if(this.options.curAnim[e]!==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 f in this.options.curAnim)c.attr(this.elem.style,f,this.options.orig[f]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;this.pos=c.easing[this.options.easing||(c.easing.swing?"swing":"linear")](this.state,e,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,e=b.body;b=b.documentElement;return{top:a.top+
(self.pageYOffset||c.boxModel&&b.scrollTop||e.scrollTop)-(b.clientTop||e.clientTop||0),left:a.left+(self.pageXOffset||c.boxModel&&b.scrollLeft||e.scrollLeft)-(b.clientLeft||e.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,e=a.ownerDocument,f,k=e.documentElement,l=e.body;e=e.defaultView;f=e.getComputedStyle(a,null);for(var s=a.offsetTop,
u=a.offsetLeft;(a=a.parentNode)&&a!==l&&a!==k;){f=e.getComputedStyle(a,null);s-=a.scrollTop;u-=a.scrollLeft;if(a===b){s+=a.offsetTop;u+=a.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(a.tagName))){s+=parseInt(f.borderTopWidth,10)||0;u+=parseInt(f.borderLeftWidth,10)||0}b=a.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&f.overflow!=="visible"){s+=parseInt(f.borderTopWidth,10)||0;u+=parseInt(f.borderLeftWidth,10)||0}f=f}if(f.position===
"relative"||f.position==="static"){s+=l.offsetTop;u+=l.offsetLeft}if(f.position==="fixed"){s+=Math.max(k.scrollTop,l.scrollTop);u+=Math.max(k.scrollLeft,l.scrollLeft)}return{top:s,left:u}};c.offset={initialize:function(){if(!this.initialized){var a=document.body,b=document.createElement("div"),e,f,k,l=a.style.marginTop;e={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(f in e)b.style[f]=e[f];b.innerHTML='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';
a.insertBefore(b,a.firstChild);e=b.firstChild;f=e.firstChild;k=e.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=k.offsetTop===5;e.style.overflow="hidden";e.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;a.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=a.offsetTop===0;a.style.marginTop=l;a.removeChild(b);this.initialized=true}},bodyOffset:function(a){c.offset.initialized||c.offset.initialize();
var b=a.offsetTop,e=a.offsetLeft;if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseInt(c.curCSS(a,"marginTop",true),10)||0;e+=parseInt(c.curCSS(a,"marginLeft",true),10)||0}return{top:b,left:e}}};c.fn.extend({position:function(){var a;if(this[0]){a=this.offsetParent();var b=this.offset(),e=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();b.top-=t(this,"marginTop");b.left-=t(this,"marginLeft");e.top+=t(a,"borderTopWidth");e.left+=t(a,"borderLeftWidth");a={top:b.top-e.top,left:b.left-
e.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 e="scroll"+b;c.fn[e]=function(f){if(!this[0])return null;return f!==void 0?this.each(function(){this==z||this==document?z.scrollTo(!a?f:c(z).scrollLeft(),a?f:c(z).scrollTop()):(this[e]=f)}):this[0]==z||this[0]==document?self[a?"pageYOffset":"pageXOffset"]||c.boxModel&&document.documentElement[e]||
document.body[e]:this[0][e]}});c.each(["Height","Width"],function(a,b){var e=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],e,false,"padding"):null};c.fn["outer"+b]=function(k){return this[0]?c.css(this[0],e,false,k?"margin":"border"):null};var f=b.toLowerCase();c.fn[f]=function(k){return this[0]==z?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]):k===void 0?this.length?c.css(this[0],f):null:this.css(f,typeof k==="string"?k:k+"px")}})})();if(typeof jQuery=="undefined")throw"Unable to load Shadowbox, jQuery library not found";var Shadowbox={};
Shadowbox.lib={adapter:"jquery",getStyle:function(m,t){return jQuery(m).css(t)},setStyle:function(m,t,q){if(typeof t!="object"){var w={};w[t]=q;t=w}jQuery(m).css(t)},get:function(m){return typeof m=="string"?document.getElementById(m):m},remove:function(m){jQuery(m).remove()},getTarget:function(m){return m.target},getPageXY:function(m){return[m.pageX,m.pageY]},preventDefault:function(m){m.preventDefault()},keyCode:function(m){return m.keyCode},addEvent:function(m,t,q){jQuery(m).bind(t,q)},removeEvent:function(m,
t,q){jQuery(m).unbind(t,q)},append:function(m,t){jQuery(m).append(t)}};(function(m){m.fn.shadowbox=function(t){return this.each(function(){var q=m(this),w=m.extend({},t||{},m.metadata?q.metadata():m.meta?q.data():{}),v=this.className||"";w.width=parseInt((v.match(/w:(\d+)/)||[])[1])||w.width;w.height=parseInt((v.match(/h:(\d+)/)||[])[1])||w.height;Shadowbox.setup(q,w)})}})(jQuery);if(typeof Shadowbox=="undefined")throw"Unable to load Shadowbox, no base library adapter found";
(function(){var m={animate:true,animateFade:true,animSequence:"wh",flvPlayer:"flvplayer.swf",modal:false,overlayColor:"#000",overlayOpacity:0.8,flashBgColor:"#000000",autoplayMovies:true,showMovieControls:true,slideshowDelay:0,resizeDuration:0.55,fadeDuration:0.35,displayNav:true,continuous:false,displayCounter:true,counterType:"default",counterLimit:10,viewportPadding:20,handleOversize:"resize",handleException:null,handleUnsupported:"link",initialHeight:160,initialWidth:320,enableKeys:true,onOpen:null,
onFinish:null,onChange:null,onClose:null,skipSetup:false,errors:{fla:{name:"Flash",url:"http://www.adobe.com/products/flashplayer/"},qt:{name:"QuickTime",url:"http://www.apple.com/quicktime/download/"},wmp:{name:"Windows Media Player",url:"http://www.microsoft.com/windows/windowsmedia/"},f4m:{name:"Flip4Mac",url:"http://www.flip4mac.com/wmv_download.htm"}},ext:{img:["png","jpg","jpeg","gif","bmp"],swf:["swf"],flv:["flv"],qt:["dv","mov","moov","movie","mp4"],wmp:["asf","wm","wmv"],qtwmp:["avi","mpg",
"mpeg"],iframe:["asp","aspx","cgi","cfm","htm","html","pl","php","php3","php4","php5","phtml","rb","rhtml","shtml","txt","vbs"]}},t=Shadowbox,q=t.lib,w,v={domain:/:\/\/(.*?)[:\/]/,inline:/#(.+)$/,rel:/^(light|shadow)box/i,gallery:/^(light|shadow)box\[(.*?)\]/i,unsupported:/^unsupported-(\w+)/,param:/\s*([a-z_]*?)\s*=\s*(.+)\s*/,empty:/^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i},B=[],A,p,z,C,E=false,c=false,H,V,T=0,K=navigator.userAgent.toLowerCase(),L={isStrict:document.compatMode==
"CSS1Compat",isOpera:K.indexOf("opera")>-1,isIE:K.indexOf("msie")>-1,isIE7:K.indexOf("msie 7")>-1,isSafari:/webkit|khtml/.test(K),isWindows:K.indexOf("windows")!=-1||K.indexOf("win32")!=-1,isMac:K.indexOf("macintosh")!=-1||K.indexOf("mac os x")!=-1,isLinux:K.indexOf("linux")!=-1};L.isBorderBox=L.isIE&&!L.isStrict;L.isSafari3=L.isSafari&&!!document.evaluate;L.isGecko=K.indexOf("gecko")!=-1&&!L.isSafari;var S=L.isIE&&!L.isIE7,N;if(navigator.plugins&&navigator.plugins.length){K=function(h){for(var r=
false,d=0,g=navigator.plugins.length;d<g;++d)if(navigator.plugins[d].name.indexOf(h)>-1){r=true;break}return r};var da=K("Flip4Mac");N={fla:K("Shockwave Flash"),qt:K("QuickTime"),wmp:!da&&K("Windows Media"),f4m:da}}else{K=function(h){var r=false;try{if(new ActiveXObject(h))r=true}catch(d){}return r};N={fla:K("ShockwaveFlash.ShockwaveFlash"),qt:K("QuickTime.QuickTime"),wmp:K("wmplayer.ocx"),f4m:false}}var U=function(h,r){for(var d in r)h[d]=r[d];return h},Z=function(h){return h&&typeof h.tagName==
"string"&&(h.tagName.toUpperCase()=="A"||h.tagName.toUpperCase()=="AREA")};q.getViewportHeight=function(){var h=window.innerHeight;if((document.compatMode||L.isIE)&&!L.isOpera)h=L.isStrict?document.documentElement.clientHeight:document.body.clientHeight;return h};q.getViewportWidth=function(){var h=window.innerWidth;if(document.compatMode||L.isIE)h=L.isStrict?document.documentElement.clientWidth:document.body.clientWidth;return h};q.createHTML=function(h){var r="<"+h.tag;for(var d in h)d=="tag"||
d=="html"||d=="children"||(r+=d=="cls"?' class="'+h.cls+'"':" "+d+'="'+h[d]+'"');if(v.empty.test(h.tag))r+="/>";else{r+=">";if(d=h.children)for(var g=0,i=d.length;g<i;++g)r+=this.createHTML(d[g]);if(h.html)r+=h.html;r+="</"+h.tag+">"}return r};var Q=function(h,r,d,g,i){var j=parseFloat(q.getStyle(h,r));if(isNaN(j))j=0;if(j==d)typeof i=="function"&&i();else{var n=d-j;var o=(d=r=="opacity")?"":"px",y=function(I){q.setStyle(h,r,j+I*n+o)};if(!m.animate&&!d||d&&!m.animateFade){y(1);typeof i=="function"&&
i()}else{g*=1E3;var x=(new Date).getTime(),D=x+g,M=setInterval(function(){var I=(new Date).getTime();if(I>=D){clearInterval(M);y(1);typeof i=="function"&&i()}else y(1+Math.pow((I-x)/g-1,3))},10)}}},X=function(h){h=h.style;if(L.isIE){if(typeof h.filter=="string"&&/alpha/i.test(h.filter))h.filter=h.filter.replace(/[\w\.]*alpha\(.*?\);?/i,"")}else{h.opacity="";h["-moz-opacity"]="";h["-khtml-opacity"]=""}},aa=function(h){var r=Math.max(h.offsetHeight,h.clientHeight);if(!r){r=parseInt(q.getStyle(h,"height"),
10)||0;L.isBorderBox||(r+=parseInt(q.getStyle(h,"padding-top"),10)+parseInt(q.getStyle(h,"padding-bottom"),10)+parseInt(q.getStyle(h,"border-top-width"),10)+parseInt(q.getStyle(h,"border-bottom-width"),10))}return r},ca=function(h){var r=h.match(v.domain);r=r&&document.domain==r[1];if(h.indexOf("#")>-1&&r)return"inline";var d=h.indexOf("?");if(d>-1)h=h.substring(0,d);if(v.img.test(h))return"img";if(v.swf.test(h))return N.fla?"swf":"unsupported-swf";if(v.flv.test(h))return N.fla?"flv":"unsupported-flv";
if(v.qt.test(h))return N.qt?"qt":"unsupported-qt";if(v.wmp.test(h)){if(N.wmp)return"wmp";if(N.f4m)return"qt";if(L.isMac)return N.qt?"unsupported-f4m":"unsupported-qtf4m";return"unsupported-wmp"}else if(v.qtwmp.test(h)){if(N.qt)return"qt";if(N.wmp)return"wmp";return L.isMac?"unsupported-qt":"unsupported-qtwmp"}else if(!r||v.iframe.test(h))return"iframe";return"unsupported"},Y=function(h){var r;if(Z(this))r=this;else for(r=q.getTarget(h);!Z(r)&&r.parentNode;)r=r.parentNode;if(r){t.open(r);A.length&&
q.preventDefault(h)}},R=function(h,r){var d=q.get("shadowbox_nav_"+h);if(d)d.style.display=r?"":"none"},a=function(h,r){var d=q.get("shadowbox_title"),g=q.get("shadowbox_info"),i=q.get("shadowbox_title_inner"),j=q.get("shadowbox_info_inner"),n=function(){var o=A[p];q.get("shadowbox_title_inner").innerHTML=o.title||"";if(q.get("shadowbox_nav")){var y,x,D,M;if(m.displayNav){o=true;var I=A.length;if(I>1)if(m.continuous)y=M=true;else{y=I-1>p;M=p>0}if(m.slideshowDelay>0&&A.length>1&&(p!=A.length-1||m.continuous)){D=
H!="paused";x=!D}}else o=y=x=D=M=false;R("close",o);R("next",y);R("play",x);R("pause",D);R("previous",M)}if(y=q.get("shadowbox_counter")){x="";if(m.displayCounter&&A.length>1)if(m.counterType=="skip"){D=0;o=I=A.length;M=parseInt(m.counterLimit);if(M<I){o=Math.round(M/2);D=p-o;if(D<0)D+=I;o=p+(M-o);if(o>I)o-=I}for(;D!=o;){if(D==I)D=0;x+='<a onclick="Shadowbox.change('+D+');"';if(D==p)x+=' class="shadowbox_counter_current"';x+=">"+ ++D+"</a>"}}else x=p+1+" "+t.LANG.of+" "+I;y.innerHTML=x}r()};d=aa(d);
g=aa(g)*-1;if(h){Q(i,"margin-top",d,0.35);Q(j,"margin-top",g,0.35,n)}else{q.setStyle(i,"margin-top",d+"px");q.setStyle(j,"margin-top",g+"px");n()}},b=function(h){var r=q.get("shadowbox_title_inner"),d=q.get("shadowbox_info_inner");r.innerHTML!=""&&Q(r,"margin-top",0,0.35);Q(d,"margin-top",0,0.35,h)},e=function(){var h=A[p];if(h){var r=false;if(z){z.remove();r=true}var d=h.player=="inline"?"html":h.player;typeof t[d]!="function"&&t.raise("Unknown player "+h.player);z=new t[d]("shadowbox_content",h);
u(false);G(true);a(r,function(){if(z){if(!r)q.get("shadowbox").style.display="";var g=function(){k(function(){z&&b(function(){if(z){q.get("shadowbox_body_inner").innerHTML=q.createHTML(z.markup(C));G(false,function(){if(z){typeof z.onLoad=="function"&&z.onLoad();m.onFinish&&typeof m.onFinish=="function"&&m.onFinish(A[p]);H!="paused"&&t.play();u(true)}})}})})};if(typeof z.ready!="undefined")var i=setInterval(function(){if(z){if(z.ready){clearInterval(i);i=null;g()}}else{clearInterval(i);i=null}},100);
else g()}});if(A.length>1){h=A[p+1]||A[0];if(h.player=="img")(new Image).src=h.content;h=A[p-1]||A[A.length-1];if(h.player=="img")(new Image).src=h.content}}},f=function(h,r,d){d=d||false;var g=q.get("shadowbox_body"),i=h=parseInt(h),j=r=parseInt(r),n=q.getViewportHeight(),o=q.getViewportWidth(),y=parseInt(q.getStyle(g,"border-left-width"),10)+parseInt(q.getStyle(g,"border-right-width"),10),x=y+2*m.viewportPadding;if(j+x>=o)j=o-x;g=parseInt(q.getStyle(g,"border-top-width"),10)+parseInt(q.getStyle(g,
"border-bottom-width"),10);o=aa(q.get("shadowbox_title"))+aa(q.get("shadowbox_info"));x=g+2*m.viewportPadding+o;if(i+x>=n)i=n-x;var D=false,M=h,I=r,ba=m.handleOversize;if(d&&(ba=="resize"||ba=="drag")){d=(h-i)/h;var W=(r-j)/r;if(ba=="resize"){if(d>W)j=Math.round(r/h*i);else if(W>d)i=Math.round(h/r*j);I=j;M=i}else if(h=A[p])D=h.player=="img"&&(d>0||W>0)}C={height:i+g+o,width:j+y,inner_h:i,inner_w:j,top:(n-(i+x))/2+m.viewportPadding,resize_h:M,resize_w:I,drag:D}},k=function(h){if(z){f(z.height,z.width,
z.resizable);if(h)switch(m.animSequence){case "hw":l(C.inner_h,C.top,true,function(){s(C.width,true,h)});break;case "wh":s(C.width,true,function(){l(C.inner_h,C.top,true,h)});break;case "sync":default:s(C.width,true);l(C.inner_h,C.top,true,h)}else{s(C.width,false);l(C.inner_h,C.top,false);var r=q.get("shadowbox_content");if(r){if(z.resizable&&m.handleOversize=="resize"){r.height=C.resize_h;r.width=C.resize_w}if(A[p].player=="img"&&m.handleOversize=="drag"){parseInt(q.getStyle(r,"top"))+z.height<C.inner_h&&
q.setStyle(r,"top",C.inner_h-z.height+"px");parseInt(q.getStyle(r,"left"))+z.width<C.inner_w&&q.setStyle(r,"left",C.inner_w-z.width+"px")}}}}},l=function(h,r,d,g){h=parseInt(h);var i=q.get("shadowbox_body");d?Q(i,"height",h,m.resizeDuration):q.setStyle(i,"height",h+"px");h=q.get("shadowbox");if(d)Q(h,"top",r,m.resizeDuration,g);else{q.setStyle(h,"top",r+"px");typeof g=="function"&&g()}},s=function(h,r,d){h=parseInt(h);var g=q.get("shadowbox");if(r)Q(g,"width",h,m.resizeDuration,d);else{q.setStyle(g,
"width",h+"px");typeof d=="function"&&d()}},u=function(h){if(m.enableKeys)q[(h?"add":"remove")+"Event"](document,"keydown",F)},F=function(h){var r=q.keyCode(h);q.preventDefault(h);if(r==81||r==88||r==27)t.close();else if(r==37)t.previous();else if(r==39)t.next();else if(r==32)t[typeof H=="number"?"pause":"play"]()},G=function(h,r){var d=q.get("shadowbox_loading");if(h){d.style.display="";typeof r=="function"&&r()}else{var g=A[p].player,i=function(){d.style.display="none";X(d);typeof r=="function"&&
r()};g=="img"||g=="html"?Q(d,"opacity",0,m.fadeDuration,i):i()}},J=function(){q.get("shadowbox_container").style.top=document.documentElement.scrollTop+"px"},O=function(){q.get("shadowbox_overlay").style.height=q.getViewportHeight()+"px"},P=function(h){for(var r,d=h?"hidden":"visible",g=["select","object","embed"],i=0;i<g.length;++i){r=document.getElementsByTagName(g[i]);for(var j=0,n=r.length;j<n;++j)r[j].style.visibility=d}var o=q.get("shadowbox_overlay"),y=q.get("shadowbox_container"),x=q.get("shadowbox");
if(h){q.setStyle(o,{backgroundColor:m.overlayColor,opacity:0});m.modal||q.addEvent(o,"click",t.close);if(S){J();O();q.addEvent(window,"scroll",J)}x.style.display="none";y.style.visibility="visible";Q(o,"opacity",parseFloat(m.overlayOpacity),m.fadeDuration,h)}else{q.removeEvent(o,"click",t.close);S&&q.removeEvent(window,"scroll",J);x.style.display="none";Q(o,"opacity",0,m.fadeDuration,function(){y.style.visibility="hidden";x.style.display="";X(o)})}};Shadowbox.init=function(h){if(!E)if(typeof t.LANG==
"undefined")t.raise("No Shadowbox language loaded");else if(typeof t.SKIN=="undefined")t.raise("No Shadowbox skin loaded");else{U(m,h||{});h=t.SKIN.markup.replace(/\{(\w+)\}/g,function(n,o){return t.LANG[o]});q.append(document.body||document.documentElement,h);if(S){q.setStyle(q.get("shadowbox_container"),"position","absolute");q.get("shadowbox_body").style.zoom=1;if((h=t.SKIN.png_fix)&&h.constructor==Array)for(var r=0;r<h.length;++r){var d=q.get(h[r]);if(d){var g=q.getStyle(d,"background-image").match(/url\("(.*\.png)"\)/);
g&&q.setStyle(d,{backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="+g[1]+",sizingMethod=scale);"})}}}for(var i in m.ext)v[i]=new RegExp(".("+m.ext[i].join("|")+")s*$","i");var j;q.addEvent(window,"resize",function(){if(j){clearTimeout(j);j=null}j=setTimeout(function(){S&&O();k()},50)});m.skipSetup||t.setup();E=true}};Shadowbox.loadSkin=function(h,r){/\/$/.test(r)||(r+="/");h=r+h+"/";document.write('<link rel="stylesheet" type="text/css" href="'+h+
'skin.css">');document.write('<script type="text/javascript" src="'+h+'skin.js"><\/script>')};Shadowbox.loadLanguage=function(h,r){/\/$/.test(r)||(r+="/");document.write('<script type="text/javascript" src="'+r+"shadowbox-"+h+'.js"><\/script>')};Shadowbox.loadPlayer=function(h,r){if(typeof h=="string")h=[h];/\/$/.test(r)||(r+="/");for(var d=0,g=h.length;d<g;++d)document.write('<script type="text/javascript" src="'+r+"shadowbox-"+h[d]+'.js"><\/script>')};Shadowbox.setup=function(h,r){if(h)h.length||
(h=[h]);else{h=[];for(var d=document.getElementsByTagName("a"),g,i=0,j=d.length;i<j;++i)if((g=d[i].getAttribute("rel"))&&v.rel.test(g))h[h.length]=d[i]}i=0;for(j=h.length;i<j;++i){d=h[i];if(typeof d.shadowboxCacheKey=="undefined"){d.shadowboxCacheKey=B.length;q.addEvent(d,"click",Y)}B[d.shadowboxCacheKey]=this.buildCacheObj(d,r)}};Shadowbox.buildCacheObj=function(h,r){var d=h.href;d={el:h,title:h.getAttribute("title"),player:ca(d),options:U({},r||{}),content:d};for(var g,i=["player","title","height",
"width","gallery"],j=0,n=i.length;j<n;++j){g=i[j];if(typeof d.options[g]!="undefined"){d[g]=d.options[g];delete d.options[g]}}if(j=h.getAttribute("rel")){if(g=j.match(v.gallery))d.gallery=escape(g[2]);i=j.split(";");j=0;for(n=i.length;j<n;++j)if(g=i[j].match(v.param))if(g[1]=="options")eval("apply(o.options, "+g[2]+")");else d[g[1]]=g[2]}return d};Shadowbox.applyOptions=function(h){if(h){w=U({},m);m=U(m,h)}};Shadowbox.revertOptions=function(){if(w){m=w;w=null}};Shadowbox.open=function(h,r){this.revertOptions();
if(Z(h))h=typeof h.shadowboxCacheKey=="undefined"||typeof B[h.shadowboxCacheKey]=="undefined"?this.buildCacheObj(h,r):B[h.shadowboxCacheKey];if(h.constructor==Array){A=h;p=0}else{var d=U({},h);if(h.gallery){p=null;A=[];for(var g,i=0,j=B.length;i<j;++i){g=B[i];if(g.gallery){if(g.content==h.content&&g.gallery==h.gallery&&g.title==h.title)p=A.length;g.gallery==h.gallery&&A.push(U({},g))}}if(p==null){A.unshift(d);p=0}}else{A=[d];p=0}}h=A[p];if(h.options||r)this.applyOptions(U(U({},h.options||{}),r||{}));
i=0;for(j=A.length;i<j;++i){d=false;if(A[i].player=="unsupported")d=true;else if(g=v.unsupported.exec(A[i].player))if(m.handleUnsupported=="link"){A[i].player="html";var n,o,y=m.errors;switch(g[1]){case "qtwmp":n="either";o=[y.qt.url,y.qt.name,y.wmp.url,y.wmp.name];break;case "qtf4m":n="shared";o=[y.qt.url,y.qt.name,y.f4m.url,y.f4m.name];break;default:n="single";if(g[1]=="swf"||g[1]=="flv")g[1]="fla";o=[y[g[1]].url,y[g[1]].name]}g=t.LANG.errors[n].replace(/\{(\d+)\}/g,function(x,D){return o[D]});
A[i].content='<div class="shadowbox_message">'+g+"</div>"}else d=true;else if(A[i].player=="inline")if(g=v.inline.exec(A[i].content))if(n=q.get(g[1]))A[i].content=n.innerHTML;else t.raise("Cannot find element with id "+g[1]);else t.raise("Cannot find element id for inline content");if(d){A.splice(i,1);if(i<p)--p;else if(i==p)p=i>0?p-1:i;--i;j=A.length}}if(A.length){m.onOpen&&typeof m.onOpen=="function"&&m.onOpen(h);if(c)e();else{f(m.initialHeight,m.initialWidth);l(C.inner_h,C.top,false);s(C.width,
false);P(e)}c=true}};Shadowbox.change=function(h){if(A){if(!A[h])if(m.continuous)h=h<0?A.length-1:0;else return;if(typeof H=="number"){clearTimeout(H);H=null;T=V=0}p=h;m.onChange&&typeof m.onChange=="function"&&m.onChange(A[p]);e()}};Shadowbox.next=function(){this.change(p+1)};Shadowbox.previous=function(){this.change(p-1)};Shadowbox.play=function(){if(A.length>1&&(p!=A.length-1||m.continuous)){T||(T=m.slideshowDelay*1E3);if(T){V=(new Date).getTime();H=setTimeout(function(){T=V=0;t.next()},T);R("play",
false);R("pause",true)}}};Shadowbox.pause=function(){if(typeof H=="number"){var h=(new Date).getTime();if(T=Math.max(0,T-(h-V))){clearTimeout(H);H="paused"}R("pause",false);R("play",true)}};Shadowbox.close=function(){if(c){u(false);P(false);if(z){z.remove();z=null}typeof H=="number"&&clearTimeout(H);H=null;T=0;m.onClose&&typeof m.onClose=="function"&&m.onClose(A[p]);c=false}};Shadowbox.clearCache=function(){for(var h=0,r=B.length;h<r;++h)if(B[h].el){q.removeEvent(B[h].el,"click",Y);delete B[h].el.shadowboxCacheKey}B=
[]};Shadowbox.getPlugins=function(){return N};Shadowbox.getOptions=function(){return m};Shadowbox.getCurrent=function(){return A[p]};Shadowbox.getVersion=function(){return"2.0"};Shadowbox.getClient=function(){return L};Shadowbox.getContent=function(){return z};Shadowbox.getDimensions=function(){return C};Shadowbox.raise=function(h){if(typeof m.handleException=="function")m.handleException(h);else throw h;}})();
if(typeof Shadowbox=="undefined")throw"Unable to load Shadowbox language file, base library not found.";Shadowbox.LANG={code:"es",of:"de",loading:"cargando",cancel:"Cancelar",next:"Siguiente",previous:"Anterior",play:"Reproducir",pause:"Pausa",close:"Cerrar",errors:{single:'Debes instalar el plugin <a href="{0}">{1}</a> en el navegador para ver este contenido.',shared:'Debes instalar el <a href="{0}">{1}</a> y el <a href="{2}">{3}</a> en el navegador para ver este contenido.',either:'Debes instalar o bien el <a href="{0}">{1}</a> o el <a href="{2}">{3}</a> en el navegador para ver este contenido.'}};
(function(){var m=Shadowbox,t=m.lib,q=m.getClient(),w,v,B,A=function(E,c,H){if(E){w={x:0,y:0,start_x:null,start_y:null};E=["position:absolute","height:"+c+"px","width:"+H+"px","cursor:"+(q.isGecko?"-moz-grab":"move"),"background-color:"+(q.isIE?"#fff;filter:alpha(opacity=0)":"transparent")];t.append(t.get("shadowbox_body_inner"),'<div id="shadowbox_drag_layer" style="'+E.join(";")+'"></div>');t.addEvent(t.get("shadowbox_drag_layer"),"mousedown",p)}else if(E=t.get("shadowbox_drag_layer")){t.removeEvent(E,
"mousedown",p);t.remove(E)}},p=function(E){t.preventDefault(E);E=t.getPageXY(E);w.start_x=E[0];w.start_y=E[1];v=t.get("shadowbox_content");t.addEvent(document,"mousemove",C);t.addEvent(document,"mouseup",z);q.isGecko&&t.setStyle(t.get("shadowbox_drag_layer"),"cursor","-moz-grabbing")},z=function(){t.removeEvent(document,"mousemove",C);t.removeEvent(document,"mouseup",z);q.isGecko&&t.setStyle(t.get("shadowbox_drag_layer"),"cursor","-moz-grab")},C=function(E){var c=m.getContent(),H=m.getDimensions();
E=t.getPageXY(E);var V=E[0]-w.start_x;w.start_x+=V;w.x=Math.max(Math.min(0,w.x+V),H.inner_w-c.width);t.setStyle(v,"left",w.x+"px");E=E[1]-w.start_y;w.start_y+=E;w.y=Math.max(Math.min(0,w.y+E),H.inner_h-c.height);t.setStyle(v,"top",w.y+"px")};Shadowbox.img=function(E,c){this.id=E;this.obj=c;this.resizable=true;this.ready=false;var H=this;B=new Image;B.onload=function(){H.height=H.obj.height?parseInt(H.obj.height,10):B.height;H.width=H.obj.width?parseInt(H.obj.width,10):B.width;H.ready=true;B.onload=
"";B=null};B.src=c.content};Shadowbox.img.prototype={markup:function(E){return{tag:"img",id:this.id,height:E.resize_h,width:E.resize_w,src:this.obj.content,style:"position:absolute"}},onLoad:function(){var E=m.getDimensions();E.drag&&m.getOptions().handleOversize=="drag"&&A(true,E.resize_h,E.resize_w)},remove:function(){var E=t.get(this.id);E&&t.remove(E);A(false);if(B){B.onload="";B=null}}}})();
(function(){var m=Shadowbox.lib;Shadowbox.html=function(t,q){this.id=t;this.obj=q;this.height=this.obj.height?parseInt(this.obj.height,10):300;this.width=this.obj.width?parseInt(this.obj.width,10):500};Shadowbox.html.prototype={markup:function(){return{tag:"div",id:this.id,cls:"html",html:this.obj.content}},remove:function(){var t=m.get(this.id);t&&m.remove(t)}}})();
(function(){var m=Shadowbox,t=m.lib,q=m.getClient();Shadowbox.iframe=function(w,v){this.id=w;this.obj=v;this.height=this.obj.height?parseInt(this.obj.height,10):t.getViewportHeight();this.width=this.obj.width?parseInt(this.obj.width,10):t.getViewportWidth()};Shadowbox.iframe.prototype={markup:function(){var w={tag:"iframe",id:this.id,name:this.id,height:"100%",width:"100%",frameborder:"0",marginwidth:"0",marginheight:"0",scrolling:"auto"};if(q.isIE){w.allowtransparency="true";if(!q.isIE7)w.src='javascript:false;document.write("");'}return w},
onLoad:function(){(q.isIE?t.get(this.id).contentWindow:window.frames[this.id]).location=this.obj.content},remove:function(){var w=t.get(this.id);if(w){t.remove(w);q.isGecko&&delete window.frames[this.id]}}}})();
(function(){var m=Shadowbox,t=m.lib;Shadowbox.swf=function(q,w){this.id=q;this.obj=w;this.resizable=true;this.height=this.obj.height?parseInt(this.obj.height,10):300;this.width=this.obj.width?parseInt(this.obj.width,10):300};Shadowbox.swf.prototype={markup:function(q){return{tag:"object",id:this.id,name:this.id,type:"application/x-shockwave-flash",data:this.obj.content,children:[{tag:"param",name:"movie",value:this.obj.content},{tag:"param",name:"bgcolor",value:m.getOptions().flashBgColor}],height:q.resize_h,
width:q.resize_w}},remove:function(){var q=t.get(this.id);q&&t.remove(q)}}})();
(function(){var m=Shadowbox,t=m.lib;Shadowbox.flv=function(q,w){this.id=q;this.obj=w;this.resizable=true;this.height=this.obj.height?parseInt(this.obj.height,10):300;if(m.getOptions().showMovieControls==true)this.height+=20;this.width=this.obj.width?parseInt(this.obj.width,10):300};Shadowbox.flv.prototype={markup:function(q){var w=q.resize_h;q=q.resize_w;var v=m.getOptions(),B=v.showMovieControls;return{tag:"object",id:this.id,name:this.id,type:"application/x-shockwave-flash",data:v.flvPlayer,children:[{tag:"param",
name:"movie",value:v.flvPlayer},{tag:"param",name:"flashvars",value:["file="+this.obj.content,"height="+w,"width="+q,"autostart="+String(v.autoplayMovies),"displayheight="+(w-(B?20:0)),"showicons="+String(B),"backcolor=0x000000","frontcolor=0xCCCCCC","lightcolor=0x557722"].join("&amp;")},{tag:"param",name:"allowfullscreen",value:"true"}],height:w,width:q}},remove:function(){var q=t.get(this.id);q&&t.remove(q)}}})();
(function(){var m=Shadowbox,t=m.lib,q=m.getClient();Shadowbox.qt=function(w,v){this.id=w;this.obj=v;this.height=this.obj.height?parseInt(this.obj.height,10):300;if(m.getOptions().showMovieControls==true)this.height+=16;this.width=this.obj.width?parseInt(this.obj.width,10):300};Shadowbox.qt.prototype={markup:function(){var w=m.getOptions(),v=String(w.autoplayMovies);w={tag:"object",id:this.id,name:this.id,height:this.height,width:this.width,children:[{tag:"param",name:"src",value:this.obj.content},
{tag:"param",name:"scale",value:"aspect"},{tag:"param",name:"controller",value:String(w.showMovieControls)},{tag:"param",name:"autoplay",value:v}],kioskmode:"true"};if(q.isIE){w.classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B";w.codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"}else{w.type="video/quicktime";w.data=this.obj.content}return w},remove:function(){try{document[this.id].Stop()}catch(w){}var v=t.get(this.id);v&&t.remove(v)}}})();/*
     http://creativecommons.org/licenses/by-nc-sa/3.0/
 @version     SVN: $Id: skin.js 108 2008-07-11 04:19:01Z mjijackson $
*/
if(typeof Shadowbox=="undefined")throw"Unable to load Shadowbox skin, base library not found.";
Shadowbox.SKIN={markup:'<div id="shadowbox_container"><div id="shadowbox_overlay"></div><div id="shadowbox"><div id="shadowbox_title"><div id="shadowbox_title_inner"></div></div><div id="shadowbox_body"><div id="shadowbox_body_inner"></div><div id="shadowbox_loading"><div id="shadowbox_loading_indicator"></div><span><a onclick="Shadowbox.close();">{cancel}</a></span></div></div><div id="shadowbox_info"><div id="shadowbox_info_inner"><div id="shadowbox_counter"></div><div id="shadowbox_nav"><a id="shadowbox_nav_close" title="{close}" onclick="Shadowbox.close()"></a><a id="shadowbox_nav_next" title="{next}" onclick="Shadowbox.next()"></a><a id="shadowbox_nav_play" title="{play}" onclick="Shadowbox.play()"></a><a id="shadowbox_nav_pause" title="{pause}" onclick="Shadowbox.pause()"></a><a id="shadowbox_nav_previous" title="{previous}" onclick="Shadowbox.previous()"></a></div><div class="shadowbox_clear"></div></div></div></div></div>',png_fix:["shadowbox_nav_close",
"shadowbox_nav_next","shadowbox_nav_play","shadowbox_nav_pause","shadowbox_nav_previous"]};(function(m){function t(w,v,B,A){if(!v.busy){var p=w[0].parentNode,z=w[v.currSlide],C=w[v.nextSlide];if(!(p.cycleTimeout===0&&!B)){if(B||!p.cyclePause){v.before.length&&m.each(v.before,function(E,c){c.apply(C,[z,C,v,A])});B=function(){m.browser.msie&&this.style.removeAttribute("filter");m.each(v.after,function(E,c){c.apply(C,[z,C,v,A])})};if(v.nextSlide!=v.currSlide){v.busy=1;m.fn.cycle.custom(z,C,v,B)}B=v.nextSlide+1==w.length;v.nextSlide=B?0:v.nextSlide+1;v.currSlide=B?w.length-1:v.nextSlide-1}if(v.timeout)p.cycleTimeout=
setTimeout(function(){t(w,v,0,!v.rev)},v.timeout)}}}function q(w,v,B){var A=w[0].parentNode,p=A.cycleTimeout;if(p){clearTimeout(p);A.cycleTimeout=0}v.nextSlide=v.currSlide+B;if(v.nextSlide<0)v.nextSlide=w.length-1;else if(v.nextSlide>=w.length)v.nextSlide=0;t(w,v,1,B>=0);return false}m.fn.cycle=function(w){return this.each(function(){w=w||{};this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cyclePause=this.cycleTimeout=0;var v=m(this),B=w.slideExpr?m(w.slideExpr,this):v.children(),A=B.get();
if(A.length<2)window.console&&window.console.log&&window.console.log("terminating; too few slides: "+A.length);else{var p=m.extend({},m.fn.cycle.defaults,w||{},m.metadata?v.metadata():m.meta?v.data():{});p.before=p.before?[p.before]:[];p.after=p.after?[p.after]:[];p.after.unshift(function(){p.busy=0});var z=this.className;p.width=parseInt((z.match(/w:(\d+)/)||[])[1])||p.width;p.height=parseInt((z.match(/h:(\d+)/)||[])[1])||p.height;p.timeout=parseInt((z.match(/t:(\d+)/)||[])[1])||p.timeout;v.css("position")==
"static"&&v.css("position","relative");p.width&&v.width(p.width);p.height&&p.height!="auto"&&v.height(p.height);B.css({position:"absolute",top:0,left:0}).hide().each(function(C){m(this).css("z-index",A.length-C)});m(A[0]).css("opacity",1).show();m.browser.msie&&A[0].style.removeAttribute("filter");p.fit&&p.width&&B.width(p.width);p.fit&&p.height&&p.height!="auto"&&B.height(p.height);p.pause&&v.hover(function(){this.cyclePause=1},function(){this.cyclePause=0});m.fn.cycle.transitions.fade(v,B,p);B.each(function(){var C=
m(this);this.cycleH=p.fit&&p.height?p.height:C.height();this.cycleW=p.fit&&p.width?p.width:C.width()});B.not(":eq(0)").css({opacity:0});p.cssFirst&&m(B[0]).css(p.cssFirst);if(p.timeout){if(p.speed.constructor==String)p.speed={slow:600,fast:200}[p.speed]||400;for(p.sync||(p.speed/=2);p.timeout-p.speed<250;)p.timeout+=p.speed}p.speedIn=p.speed;p.speedOut=p.speed;p.slideCount=A.length;p.currSlide=0;p.nextSlide=1;v=B[0];p.before.length&&p.before[0].apply(v,[v,v,p,true]);p.after.length>1&&p.after[1].apply(v,
[v,v,p,true]);if(p.click&&!p.next)p.next=p.click;p.next&&m(p.next).bind("click",function(){return q(A,p,p.rev?-1:1)});p.prev&&m(p.prev).bind("click",function(){return q(A,p,p.rev?1:-1)});if(p.timeout)this.cycleTimeout=setTimeout(function(){t(A,p,0,!p.rev)},p.timeout+(p.delay||0))}})};m.fn.cycle.custom=function(w,v,B,A){var p=m(w),z=m(v);z.css({opacity:0});var C=function(){z.animate({opacity:1},B.speedIn,B.easeIn,A)};p.animate({opacity:0},B.speedOut,B.easeOut,function(){p.css({display:"none"});B.sync||
C()});B.sync&&C()};m.fn.cycle.transitions={fade:function(w,v,B){v.not(":eq(0)").css("opacity",0);B.before.push(function(){m(this).show()})}};m.fn.cycle.ver=function(){return"Lite-1.0"};m.fn.cycle.defaults={timeout:4E3,speed:1E3,next:null,prev:null,before:null,after:null,height:"auto",sync:1,fit:0,pause:0,delay:0,slideExpr:null}})(jQuery);$(document).ready(function(){Shadowbox.init();$("#cart").get(0)&&$("tr.updatebtn").css("display","none");$(".cycle").each(function(){var m=$("img",this);$(this).empty();$(this).append(m);$(".pagina-carta").get(0)&&$(this).css("height","192px")});$(".cycle").cycle()});function remove_item(m){document.getElementById("updates_"+m).value=0;document.getElementById("cart").submit()}var totalLinea=0;
function updateItem(m,t){tmp=$("#item-"+m+" .line_price").html();partes=tmp.split(" ");if(partes.length<2)partes=tmp.split("&nbsp;");priceformat=$("#item-"+m+" .price").html();escoma=priceformat.indexOf(",")>0;total=parseInt($("#updates_"+m).val())*t;if(total!=NaN){totalstr=total.toFixed(2)+" "+partes[1];if(escoma)totalstr=totalstr.replace(".",",");$("#item-"+m+" .line_price").attr("title",total);$("#item-"+m+" .line_price").html(totalstr);totalLinea=0;$("#cart .line_price").each(function(){totalLinea+=
parseFloat($(this).attr("title"))});totalstr=totalLinea.toFixed(2)+" "+partes[1];if(escoma)totalstr=totalstr.replace(".",",");$("#cart td.subtotal").html(totalstr);var q=$("form#cart");$.ajax({type:"POST",url:q.action,data:q.serialize(),dataType:"html",success:function(){}})}}function mejorsinspam(m,t){window.location="mailto:"+m+"@"+t}function mostrar_email(m,t){var q=document.getElementById("email");if(q&&q.innerHTML)q.innerHTML=m+"@"+t};
