if (!this["console"]) {
    this.console = {}
}
var i = 0,
    tn, cn = ["assert", "count", "debug", "dir", "dirxml", "error", "group", "groupEnd", "info", "profile", "profileEnd", "time", "timeEnd", "trace", "warn", "log"];
while ((tn = cn[i++])) {
    if (!console[tn]) {
        (function () {
            var a = tn + "";
            console[a] = ("log" in console) ?
            function () {
                var b = Array.apply({},
                arguments);
                b.unshift(a + ":");
                console["log"](b.join(" "))
            } : function () {}
        })()
    }
};

/* 2010-05-14 - jQuery v1.4.3pre  Wed Mar 31 14:36:24 2010 -0400 - Copyright (c) 2009 John Resig - Dual licensed under the MIT and GPL licenses. - http://docs.jquery.com/License - Uses Sizzle CSS Selector Engine - Copyright 2009, The Dojo Foundation Released under the MIT, BSD, and GPL Licenses. http://sizzlejs.com/ */
;(function(y,x){function K(){return false}function Q(){return true}function ca(a,b,c){c[0].type=a;return jQuery.event.handle.apply(b,c)}function Ca(a){var b,c,d=[],g=[],i,m,l,n,t,u,v,s;m=jQuery.data(this,"events");if(!(a.liveFired===this||!m||!m.live||a.button&&a.type==="click")){if(a.namespace)s=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var z=m.live.slice(0);for(n=0;n<z.length;n++){m=z[n];m.origType.replace(R,"")===a.type?g.push(m.selector):z.splice(n--,
1)}i=jQuery(a.target).closest(g,a.currentTarget);t=0;for(u=i.length;t<u;t++){v=i[t];for(n=0;n<z.length;n++){m=z[n];if(v.selector===m.selector&&(!s||s.test(m.namespace))){l=v.elem;g=null;if(m.preType==="mouseenter"||m.preType==="mouseleave"){a.type=m.preType;g=jQuery(a.relatedTarget).closest(m.selector)[0]}if(!g||g!==l)d.push({elem:l,handleObj:m,level:v.level})}}}t=0;for(u=d.length;t<u;t++){i=d[t];if(c&&i.level>c)break;a.currentTarget=i.elem;a.data=i.handleObj.data;a.handleObj=i.handleObj;ret=i.handleObj.origHandler.apply(i.elem,
arguments);if(ret===false||a.isPropagationStopped()){c=i.level;if(ret===false)b=false}}return b}}function L(a,b){return(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,"&")}function da(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ea(a,b,c){if(jQuery.isFunction(b))return jQuery.grep(a,function(g,i){return!!b.call(g,i,g)===c});else if(b.nodeType)return jQuery.grep(a,function(g){return g===b===c});else if(typeof b==="string"){var d=jQuery.grep(a,function(g){return g.nodeType===
1});if(Da.test(b))return jQuery.filter(b,d,!c);else b=jQuery.filter(b,d)}return jQuery.grep(a,function(g){return jQuery.inArray(g,b)>=0===c})}function Ea(a){return jQuery.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function fa(a,b){var c=0;b.each(function(){if(this.nodeName===(a[c]&&a[c].nodeName)){var d=jQuery.data(a[c++]),g=jQuery.data(this,d);if(d=d&&d.events){delete g.handle;g.events={};for(var i in d)for(var m in d[i])jQuery.event.add(this,
i,d[i][m],d[i][m].data)}}})}function ga(a,b,c){var d,g,i;b=b&&b[0]?b[0].ownerDocument||b[0]:document;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===document&&!ha.test(a[0])&&(jQuery.support.checkClone||!ia.test(a[0]))){g=true;if(i=jQuery.fragments[a[0]])if(i!==1)d=i}if(!d){d=b.createDocumentFragment();jQuery.clean(a,b,d,c)}if(g)jQuery.fragments[a[0]]=i?d:1;return{fragment:d,cacheable:g}}function Fa(a,b){b.src?jQuery.ajax({url:b.src,async:false,dataType:"script"}):jQuery.globalEval(b.text||
b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function ja(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return d;jQuery.each(b==="width"?Ga:Ha,function(){c||(d-=parseFloat(jQuery.curCSS(a,"padding"+this,true))||0);if(c==="margin")d+=parseFloat(jQuery.curCSS(a,"margin"+this,true))||0;else d-=parseFloat(jQuery.curCSS(a,"border"+this+"Width",true))||0});return d}function S(a,b,c,d){if(jQuery.isArray(b))jQuery.each(b,function(g,i){c||/\[\]$/.test(a)?
d(a,i):S(a+"["+(typeof i==="object"||jQuery.isArray(i)?g:"")+"]",i,c,d)});else!c&&b!=null&&typeof b==="object"?jQuery.each(b,function(g,i){S(a+"["+g+"]",i,c,d)}):d(a,b)}function I(a,b){var c={};jQuery.each(ka.concat.apply([],ka.slice(0,b)),function(){c[this]=a});return c}function T(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}(function(){function a(){if(!b.isReady){try{document.documentElement.doScroll("left")}catch(h){setTimeout(a,1);return}b.ready()}}
var b=function(h,k){return new b.fn.init(h,k)},c=y.jQuery,d=y.$,g,i=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w\-]+)$/,m=/\S/,l=/^\s+/,n=/\s+$/,t=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,u=navigator.userAgent,v=false,s=[],z,B=Object.prototype.toString,E=Object.prototype.hasOwnProperty,f=Array.prototype.push,j=Array.prototype.slice,o=String.prototype.trim,p=Array.prototype.indexOf;b.fn=b.prototype={init:function(h,k){var q,r;if(!h)return this;if(h.nodeType){this.context=this[0]=h;this.length=1;return this}if(h==="body"&&
!k){this.context=document;this[0]=document.body;this.selector="body";this.length=1;return this}if(typeof h==="string")if((q=i.exec(h))&&(q[1]||!k))if(q[1]){r=k?k.ownerDocument||k:document;if(h=t.exec(h))if(b.isPlainObject(k)){h=[document.createElement(h[1])];b.fn.attr.call(h,k,true)}else h=[r.createElement(h[1])];else{h=ga([q[1]],[r]);h=(h.cacheable?h.fragment.cloneNode(true):h.fragment).childNodes}return b.merge(this,h)}else{if(k=document.getElementById(q[2])){if(k.id!==q[2])return g.find(h);this.length=
1;this[0]=k}this.context=document;this.selector=h;return this}else if(!k&&/^\w+$/.test(h)){this.selector=h;this.context=document;h=document.getElementsByTagName(h);return b.merge(this,h)}else return!k||k.jquery?(k||g).find(h):b(k).find(h);else if(b.isFunction(h))return g.ready(h);if(h.selector!==x){this.selector=h.selector;this.context=h.context}return b.makeArray(h,this)},selector:"",jquery:"1.4.3pre",length:0,size:function(){return this.length},toArray:function(){return j.call(this,0)},get:function(h){return h==
null?this.toArray():h<0?this.slice(h)[0]:this[h]},pushStack:function(h,k,q){var r=b();b.isArray(h)?f.apply(r,h):b.merge(r,h);r.prevObject=this;r.context=this.context;if(k==="find")r.selector=this.selector+(this.selector?" ":"")+q;else if(k)r.selector=this.selector+"."+k+"("+q+")";return r},each:function(h,k){return b.each(this,h,k)},ready:function(h){b.bindReady();if(b.isReady)h.call(document,b);else s&&s.push(h);return this},eq:function(h){return h===-1?this.slice(h):this.slice(h,+h+1)},first:function(){return this.eq(0)},
last:function(){return this.eq(-1)},slice:function(){return this.pushStack(j.apply(this,arguments),"slice",j.call(arguments).join(","))},map:function(h){return this.pushStack(b.map(this,function(k,q){return h.call(k,q,k)}))},end:function(){return this.prevObject||b(null)},push:f,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var h=arguments[0]||{},k=1,q=arguments.length,r=false,w,A,C,D;if(typeof h==="boolean"){r=h;h=arguments[1]||{};k=2}if(typeof h!=="object"&&
!b.isFunction(h))h={};if(q===k){h=this;--k}for(;k<q;k++)if((w=arguments[k])!=null)for(A in w){C=h[A];D=w[A];if(h!==D)if(r&&D&&(b.isPlainObject(D)||b.isArray(D))){C=C&&(b.isPlainObject(C)||b.isArray(C))?C:b.isArray(D)?[]:{};h[A]=b.extend(r,C,D)}else if(D!==x)h[A]=D}return h};b.extend({noConflict:function(h){y.$=d;if(h)y.jQuery=c;return b},isReady:false,ready:function(){if(!b.isReady){if(!document.body)return setTimeout(b.ready,13);b.isReady=true;if(s){for(var h,k=0;h=s[k++];)h.call(document,b);s=null}b.fn.triggerHandler&&
b(document).triggerHandler("ready")}},bindReady:function(){if(!v){v=true;if(document.readyState==="complete")return b.ready();if(document.addEventListener){document.addEventListener("DOMContentLoaded",z,false);y.addEventListener("load",b.ready,false)}else if(document.attachEvent){document.attachEvent("onreadystatechange",z);y.attachEvent("onload",b.ready);var h=false;try{h=y.frameElement==null}catch(k){}document.documentElement.doScroll&&h&&a()}}},isFunction:function(h){return B.call(h)==="[object Function]"},
isArray:function(h){return B.call(h)==="[object Array]"},isPlainObject:function(h){if(!h||B.call(h)!=="[object Object]"||h.nodeType||h.setInterval)return false;if(h.constructor&&!E.call(h,"constructor")&&!E.call(h.constructor.prototype,"isPrototypeOf"))return false;var k;for(k in h);return k===x||E.call(h,k)},isEmptyObject:function(h){for(var k in h)return false;return true},error:function(h){throw h;},parseJSON:function(h){if(typeof h!=="string"||!h)return null;h=b.trim(h);if(/^[\],:{}\s]*$/.test(h.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,
"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return y.JSON&&y.JSON.parse?y.JSON.parse(h):(new Function("return "+h))();else b.error("Invalid JSON: "+h)},noop:function(){},globalEval:function(h){if(h&&m.test(h)){var k=document.getElementsByTagName("head")[0]||document.documentElement,q=document.createElement("script");q.type="text/javascript";if(b.support.scriptEval)q.appendChild(document.createTextNode(h));else q.text=h;k.insertBefore(q,
k.firstChild);k.removeChild(q)}},nodeName:function(h,k){return h.nodeName&&h.nodeName.toUpperCase()===k.toUpperCase()},each:function(h,k,q){var r,w=0,A=h.length,C=A===x||b.isFunction(h);if(q)if(C)for(r in h){if(k.apply(h[r],q)===false)break}else for(;w<A;){if(k.apply(h[w++],q)===false)break}else if(C)for(r in h){if(k.call(h[r],r,h[r])===false)break}else for(q=h[0];w<A&&k.call(q,w,q)!==false;q=h[++w]);return h},trim:o?function(h){return h==null?"":o.call(h)}:function(h){return h==null?"":h.toString().replace(l,
"").replace(n,"")},makeArray:function(h,k){k=k||[];if(h!=null)h.length==null||typeof h==="string"||b.isFunction(h)||typeof h!=="function"&&h.setInterval?f.call(k,h):b.merge(k,h);return k},inArray:function(h,k){if(k.indexOf)return k.indexOf(h);for(var q=0,r=k.length;q<r;q++)if(k[q]===h)return q;return-1},merge:function(h,k){var q=h.length,r=0;if(typeof k.length==="number")for(var w=k.length;r<w;r++)h[q++]=k[r];else for(;k[r]!==x;)h[q++]=k[r++];h.length=q;return h},grep:function(h,k,q){var r=[],w;q=
!!q;for(var A=0,C=h.length;A<C;A++){w=!!k(h[A],A);q!==w&&r.push(h[A])}return r},map:function(h,k,q){for(var r=[],w,A=0,C=h.length;A<C;A++){w=k(h[A],A,q);if(w!=null)r[r.length]=w}return r.concat.apply([],r)},guid:1,proxy:function(h,k,q){if(arguments.length===2)if(typeof k==="string"){q=h;h=q[k];k=x}else if(k&&!b.isFunction(k)){q=k;k=x}if(!k&&h)k=function(){return h.apply(q||this,arguments)};if(h)k.guid=h.guid=h.guid||k.guid||b.guid++;return k},access:function(h,k,q,r,w,A){var C=h.length;if(typeof k===
"object"){for(var D in k)b.access(h,D,k[D],r,w,q);return h}if(q!==x){r=!A&&r&&b.isFunction(q);for(D=0;D<C;D++)w(h[D],k,r?q.call(h[D],D,w(h[D],k)):q,A);return h}return C?w(h[0],k):x},now:function(){return(new Date).getTime()},uaMatch:function(h){h=h.toLowerCase();h=/(webkit)[ \/]([\w.]+)/.exec(h)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(h)||/(msie) ([\w.]+)/.exec(h)||!/compatible/.test(h)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(h)||[];return{browser:h[1]||"",version:h[2]||"0"}},browser:{}});u=b.uaMatch(u);
if(u.browser){b.browser[u.browser]=true;b.browser.version=u.version}if(b.browser.webkit)b.browser.safari=true;if(p)b.inArray=function(h,k){return p.call(k,h)};if(!/\s/.test("\u00a0")){l=/^[\s\xA0]+/;n=/[\s\xA0]+$/}g=b(document);if(document.addEventListener)z=function(){document.removeEventListener("DOMContentLoaded",z,false);b.ready()};else if(document.attachEvent)z=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",z);b.ready()}};y.jQuery=y.$=b})();(function(){jQuery.support=
{};var a=document.documentElement,b=document.createElement("script"),c=document.createElement("div"),d="script"+jQuery.now();c.style.display="none";c.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var g=c.getElementsByTagName("*"),i=c.getElementsByTagName("a")[0];if(!(!g||!g.length||!i)){jQuery.support={leadingWhitespace:c.firstChild.nodeType===3,tbody:!c.getElementsByTagName("tbody").length,htmlSerialize:!!c.getElementsByTagName("link").length,
style:/red/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55$/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:c.getElementsByTagName("input")[0].value==="on",optSelected:document.createElement("select").appendChild(document.createElement("option")).selected,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(document.createTextNode("window."+d+"=1;"))}catch(m){}a.insertBefore(b,a.firstChild);
if(y[d]){jQuery.support.scriptEval=true;delete y[d]}a.removeChild(b);if(c.attachEvent&&c.fireEvent){c.attachEvent("onclick",function l(){jQuery.support.noCloneEvent=false;c.detachEvent("onclick",l)});c.cloneNode(true).fireEvent("onclick")}c=document.createElement("div");c.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=document.createDocumentFragment();a.appendChild(c.firstChild);jQuery.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;jQuery(function(){var l=
document.createElement("div");l.style.width=l.style.paddingLeft="1px";document.body.appendChild(l);jQuery.boxModel=jQuery.support.boxModel=l.offsetWidth===2;document.body.removeChild(l).style.display="none"});a=function(l){var n=document.createElement("div");l="on"+l;var t=l in n;if(!t){n.setAttribute(l,"return;");t=typeof n[l]==="function"}return t};jQuery.support.submitBubbles=a("submit");jQuery.support.changeBubbles=a("change");a=b=c=g=i=null}})();jQuery.props={"for":"htmlFor","class":"className",
readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var M="jQuery"+jQuery.now(),Ia=0,la={};jQuery.extend({cache:{},expando:M,noData:{embed:true,object:true,applet:true},data:function(a,b,c){if(!(a.nodeName&&jQuery.noData[a.nodeName.toLowerCase()])){a=a==y?la:a;var d=a[jQuery.expando],g=jQuery.cache;if(!(!d&&typeof b==="string"&&c===x)){if(a.nodeType)d||(a[jQuery.expando]=d=++Ia);else{g=
a;d=jQuery.expando}if(typeof b==="object")g[d]=jQuery.extend(true,{},b);else g[d]||(g[d]={});a=g[d];if(c!==x)a[b]=c;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(!(a.nodeName&&jQuery.noData[a.nodeName.toLowerCase()])){a=a==y?la:a;var c=a[jQuery.expando],d=jQuery.cache,g=a.nodeType,i=g?d[c]:c;if(b){if(i){delete i[b];jQuery.isEmptyObject(i)&&jQuery.removeData(a)}}else{if(jQuery.support.deleteExpando||!g)delete a[jQuery.expando];else a.removeAttribute&&a.removeAttribute(jQuery.expando);
g&&delete d[c]}}}});jQuery.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return jQuery.data(this[0]);else if(typeof a==="object")return this.each(function(){jQuery.data(this,a)});var c=a.split(".");c[1]=c[1]?"."+c[1]:"";if(b===x){var d=this.triggerHandler("getData"+c[1]+"!",[c[0]]);if(d===x&&this.length)d=jQuery.data(this[0],a);return d===x&&c[1]?this.data(c[0]):d}else return this.trigger("setData"+c[1]+"!",[c[0],b]).each(function(){jQuery.data(this,a,b)})},removeData:function(a){return this.each(function(){jQuery.removeData(this,
a)})}});jQuery.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var d=jQuery.data(a,b);if(!c)return d||[];if(!d||jQuery.isArray(c))d=jQuery.data(a,b,jQuery.makeArray(c));else d.push(c);return d}},dequeue:function(a,b){b=b||"fx";var c=jQuery.queue(a,b),d=c.shift();if(d==="inprogress")d=c.shift();if(d){b==="fx"&&c.unshift("inprogress");d.call(a,function(){jQuery.dequeue(a,b)})}}});jQuery.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===x)return jQuery.queue(this[0],a);
return this.each(function(){var c=jQuery.queue(this,a,b);a==="fx"&&c[0]!=="inprogress"&&jQuery.dequeue(this,a)})},dequeue:function(a){return this.each(function(){jQuery.dequeue(this,a)})},delay:function(a,b){a=jQuery.fx?jQuery.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){jQuery.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var ma=/[\n\t]/g,U=/\s+/,Ja=/\r/g,Ka=/href|src|style/,La=/(button|input)/i,Ma=/(button|input|object|select|textarea)/i,
Na=/^(a|area)$/i,na=/radio|checkbox/;jQuery.fn.extend({attr:function(a,b){return jQuery.access(this,a,b,true,jQuery.attr)},removeAttr:function(a){return this.each(function(){jQuery.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(jQuery.isFunction(a))return this.each(function(t){var u=jQuery(this);u.addClass(a.call(this,t,u.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(U),c=0,d=this.length;c<d;c++){var g=this[c];if(g.nodeType===1)if(g.className){for(var i=
" "+g.className+" ",m=g.className,l=0,n=b.length;l<n;l++)if(i.indexOf(" "+b[l]+" ")<0)m+=" "+b[l];g.className=jQuery.trim(m)}else g.className=a}return this},removeClass:function(a){if(jQuery.isFunction(a))return this.each(function(n){var t=jQuery(this);t.removeClass(a.call(this,n,t.attr("class")))});if(a&&typeof a==="string"||a===x)for(var b=(a||"").split(U),c=0,d=this.length;c<d;c++){var g=this[c];if(g.nodeType===1&&g.className)if(a){for(var i=(" "+g.className+" ").replace(ma," "),m=0,l=b.length;m<
l;m++)i=i.replace(" "+b[m]+" "," ");g.className=jQuery.trim(i)}else g.className=""}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b==="boolean";if(jQuery.isFunction(a))return this.each(function(g){var i=jQuery(this);i.toggleClass(a.call(this,g,i.attr("class"),b),b)});return this.each(function(){if(c==="string")for(var g,i=0,m=jQuery(this),l=b,n=a.split(U);g=n[i++];){l=d?l:!m.hasClass(g);m[l?"addClass":"removeClass"](g)}else if(c==="undefined"||c==="boolean"){this.className&&jQuery.data(this,
"__className__",this.className);this.className=this.className||a===false?"":jQuery.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,c=this.length;b<c;b++)if((" "+this[b].className+" ").replace(ma," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===x){var b=this[0];if(b){if(jQuery.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(jQuery.nodeName(b,"select")){var c=b.selectedIndex,d=[],g=b.options;b=b.type==="select-one";if(c<
0)return null;var i=b?c:0;for(c=b?c+1:g.length;i<c;i++){var m=g[i];if(m.selected){a=jQuery(m).val();if(b)return a;d.push(a)}}return d}if(na.test(b.type)&&!jQuery.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Ja,"")}return x}var l=jQuery.isFunction(a);return this.each(function(n){var t=jQuery(this),u=a;if(this.nodeType===1){if(l)u=a.call(this,n,t.val());if(typeof u==="number")u+="";if(jQuery.isArray(u)&&na.test(this.type))this.checked=jQuery.inArray(t.val(),
u)>=0;else if(jQuery.nodeName(this,"select")){var v=jQuery.makeArray(u);jQuery("option",this).each(function(){this.selected=jQuery.inArray(jQuery(this).val(),v)>=0});if(!v.length)this.selectedIndex=-1}else this.value=u}})}});jQuery.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,c,d){if(!a||a.nodeType===3||a.nodeType===8)return x;if(d&&b in jQuery.attrFn)return jQuery(a)[b](c);d=a.nodeType!==1||!jQuery.isXMLDoc(a);var g=c!==x;b=
d&&jQuery.props[b]||b;if(a.nodeType===1){var i=Ka.test(b);if(b in a&&d&&!i){if(g){b==="type"&&La.test(a.nodeName)&&a.parentNode&&jQuery.error("type property can't be changed");a[b]=c}if(jQuery.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:Ma.test(a.nodeName)||Na.test(a.nodeName)&&a.href?0:x;return a[b]}if(!jQuery.support.style&&d&&b==="style"){if(g)a.style.cssText=""+c;return a.style.cssText}g&&
a.setAttribute(b,""+c);a=!jQuery.support.hrefNormalized&&d&&i?a.getAttribute(b,2):a.getAttribute(b);return a===null?x:a}return jQuery.style(a,b,c)}});var R=/\.(.*)$/,Oa=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};jQuery.event={add:function(a,b,c,d){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==y&&!a.frameElement)a=y;if(c===false)c=K;var g,i;if(c.handler){g=c;c=g.handler}if(!c.guid)c.guid=jQuery.guid++;if(i=jQuery.data(a)){var m=i.events=i.events||{},l=i.handle;
if(!l)i.handle=l=function(){return typeof jQuery!=="undefined"&&!jQuery.event.triggered?jQuery.event.handle.apply(l.elem,arguments):x};l.elem=a;b=b.split(" ");for(var n,t=0,u;n=b[t++];){i=g?jQuery.extend({},g):{handler:c,data:d};if(n.indexOf(".")>-1){u=n.split(".");n=u.shift();i.namespace=u.slice(0).sort().join(".")}else{u=[];i.namespace=""}i.type=n;if(!i.guid)i.guid=c.guid;var v=m[n],s=jQuery.event.special[n]||{};if(!v){v=m[n]=[];if(!s.setup||s.setup.call(a,d,u,l)===false)if(a.addEventListener)a.addEventListener(n,
l,false);else a.attachEvent&&a.attachEvent("on"+n,l)}if(s.add){s.add.call(a,i);if(!i.handler.guid)i.handler.guid=c.guid}v.push(i);jQuery.event.global[n]=true}a=null}}},global:{},remove:function(a,b,c,d){if(!(a.nodeType===3||a.nodeType===8)){if(c===false)c=K;var g,i,m=0,l,n,t,u,v,s,z=jQuery.data(a),B=z&&z.events;if(z&&B){if(b&&b.type){c=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(g in B)jQuery.event.remove(a,g+b)}else{for(b=b.split(" ");g=b[m++];){u=g;l=g.indexOf(".")<
0;n=[];if(!l){n=g.split(".");g=n.shift();t=new RegExp("(^|\\.)"+jQuery.map(n.slice(0).sort(),Oa).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(v=B[g])if(c){u=jQuery.event.special[g]||{};for(i=d||0;i<v.length;i++){s=v[i];if(c.guid===s.guid){if(l||t.test(s.namespace)){d==null&&v.splice(i--,1);u.remove&&u.remove.call(a,s)}if(d!=null)break}}if(v.length===0||d!=null&&v.length===1){if(!u.teardown||u.teardown.call(a,n)===false)oa(a,g,z.handle);delete B[g]}}else for(i=0;i<v.length;i++){s=v[i];if(l||t.test(s.namespace)){jQuery.event.remove(a,
u,s.handler,i);v.splice(i--,1)}}}if(jQuery.isEmptyObject(B)){if(b=z.handle)b.elem=null;delete z.events;delete z.handle;jQuery.isEmptyObject(z)&&jQuery.removeData(a)}}}}},trigger:function(a,b,c,d){var g=a.type||a;if(!d){a=typeof a==="object"?a[M]?a:jQuery.extend(jQuery.Event(g),a):jQuery.Event(g);if(g.indexOf("!")>=0){a.type=g=g.slice(0,-1);a.exclusive=true}if(!c){a.stopPropagation();jQuery.event.global[g]&&jQuery.each(jQuery.cache,function(){this.events&&this.events[g]&&jQuery.event.trigger(a,b,this.handle.elem)})}if(!c||
c.nodeType===3||c.nodeType===8)return x;a.result=x;a.target=c;b=jQuery.makeArray(b);b.unshift(a)}a.currentTarget=c;(d=jQuery.data(c,"handle"))&&d.apply(c,b);d=c.parentNode||c.ownerDocument;try{if(!(c&&c.nodeName&&jQuery.noData[c.nodeName.toLowerCase()]))if(c["on"+g]&&c["on"+g].apply(c,b)===false)a.result=false}catch(i){}if(!a.isPropagationStopped()&&d)jQuery.event.trigger(a,b,d,true);else if(!a.isDefaultPrevented()){d=a.target;var m,l=g.replace(/\..*$/,""),n=jQuery.nodeName(d,"a")&&l==="click",t=
jQuery.event.special[l]||{};if((!t._default||t._default.call(c,a)===false)&&!n&&!(d&&d.nodeName&&jQuery.noData[d.nodeName.toLowerCase()])){try{if(d[l]){if(m=d["on"+l])d["on"+l]=null;jQuery.event.triggered=true;d[l]()}}catch(u){}if(m)d["on"+l]=m;jQuery.event.triggered=false}}},handle:function(a){var b,c,d;c=[];var g,i=jQuery.makeArray(arguments);a=i[0]=jQuery.event.fix(a||y.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){d=a.type.split(".");a.type=d.shift();c=d.slice(0).sort();
d=new RegExp("(^|\\.)"+c.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||c.join(".");g=jQuery.data(this,"events");c=(g||{})[a.type];if(g&&c){c=c.slice(0);g=0;for(var m=c.length;g<m;g++){var l=c[g];if(b||d.test(l.namespace)){a.handler=l.handler;a.data=l.data;a.handleObj=l;l=l.handler.apply(this,i);if(l!==x){a.result=l;if(l===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[M])return a;var b=a;a=jQuery.Event(b);for(var c=this.props.length,d;c;){d=this.props[--c];a[d]=b[d]}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;c=document.body;a.pageX=a.clientX+(b&&b.scrollLeft||c&&c.scrollLeft||0)-(b&&b.clientLeft||c&&c.clientLeft||0);a.pageY=
a.clientY+(b&&b.scrollTop||c&&c.scrollTop||0)-(b&&b.clientTop||c&&c.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!==x)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:jQuery.proxy,special:{ready:{setup:jQuery.bindReady,teardown:jQuery.noop},live:{add:function(a){jQuery.event.add(this,L(a.origType,a.selector),jQuery.extend({},a,{handler:Ca,guid:a.handler.guid}))},
remove:function(a){jQuery.event.remove(this,L(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){if(this.setInterval)this.onbeforeunload=c},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var oa=document.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,false)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)};jQuery.Event=function(a){if(!this.preventDefault)return new jQuery.Event(a);if(a&&a.type){this.originalEvent=
a;this.type=a.type}else this.type=a;this.timeStamp=jQuery.now();this[M]=true};jQuery.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Q;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Q;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Q;this.stopPropagation()},isDefaultPrevented:K,
isPropagationStopped:K,isImmediatePropagationStopped:K};var pa=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;jQuery.event.handle.apply(this,arguments)}}catch(c){}},qa=function(a){a.type=a.data;jQuery.event.handle.apply(this,arguments)};jQuery.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){jQuery.event.special[a]={setup:function(c){jQuery.event.add(this,b,c&&c.selector?qa:pa,a)},teardown:function(c){jQuery.event.remove(this,b,c&&
c.selector?qa:pa)}}});if(!jQuery.support.submitBubbles)jQuery.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){jQuery.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;if((c==="submit"||c==="image")&&jQuery(b).closest("form").length)return ca("submit",this,arguments)});jQuery.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;if((c==="text"||c==="password")&&jQuery(b).closest("form").length&&a.keyCode===13)return ca("submit",
this,arguments)})}else return false},teardown:function(){jQuery.event.remove(this,".specialSubmit")}};if(!jQuery.support.changeBubbles){var V=/textarea|input|select/i,W,ra=function(a){var b=a.type,c=a.value;if(b==="radio"||b==="checkbox")c=a.checked;else if(b==="select-multiple")c=a.selectedIndex>-1?jQuery.map(a.options,function(d){return d.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")c=a.selectedIndex;return c},X=function(a,b){var c=a.target,d,g;if(!(!V.test(c.nodeName)||c.readOnly)){d=
jQuery.data(c,"_change_data");g=ra(c);if(a.type!=="focusout"||c.type!=="radio")jQuery.data(c,"_change_data",g);if(!(d===x||g===d))if(d!=null||g){a.type="change";return jQuery.event.trigger(a,b,c)}}};jQuery.event.special.change={filters:{focusout:X,click:function(a){var b=a.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")return X.call(this,a)},keydown:function(a){var b=a.target,c=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c===
"checkbox"||c==="radio")||c==="select-multiple")return X.call(this,a)},beforeactivate:function(a){a=a.target;jQuery.data(a,"_change_data",ra(a))}},setup:function(){if(this.type==="file")return false;for(var a in W)jQuery.event.add(this,a+".specialChange",W[a]);return V.test(this.nodeName)},teardown:function(){jQuery.event.remove(this,".specialChange");return V.test(this.nodeName)}};W=jQuery.event.special.change.filters}document.addEventListener&&jQuery.each({focus:"focusin",blur:"focusout"},function(a,
b){function c(d){d=jQuery.event.fix(d);d.type=b;return jQuery.event.handle.call(this,d)}jQuery.event.special[b]={setup:function(){this.addEventListener(a,c,true)},teardown:function(){this.removeEventListener(a,c,true)}}});jQuery.each(["bind","one"],function(a,b){jQuery.fn[b]=function(c,d,g){if(typeof c==="object"){for(var i in c)this[b](i,d,c[i],g);return this}if(jQuery.isFunction(d)||d===false){g=d;d=x}var m=b==="one"?jQuery.proxy(g,function(n){jQuery(this).unbind(n,m);return g.apply(this,arguments)}):
g;if(c==="unload"&&b!=="one")this.one(c,d,g);else{i=0;for(var l=this.length;i<l;i++)jQuery.event.add(this[i],c,m,d)}return this}});jQuery.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var c in a)this.unbind(c,a[c]);else{c=0;for(var d=this.length;c<d;c++)jQuery.event.remove(this[c],a,b)}return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,
b){return this.each(function(){jQuery.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=jQuery.Event(a);a.preventDefault();a.stopPropagation();jQuery.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,c=1;c<b.length;)jQuery.proxy(a,b[c++]);return this.click(jQuery.proxy(a,function(d){var g=(jQuery.data(this,"lastToggle"+a.guid)||0)%c;jQuery.data(this,"lastToggle"+a.guid,g+1);d.preventDefault();return b[g].apply(this,arguments)||false}))},hover:function(a,
b){return this.mouseenter(a).mouseleave(b||a)}});var sa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};jQuery.each(["live","die"],function(a,b){jQuery.fn[b]=function(c,d,g,i){var m=0,l,n,t=i||this.selector,u=i?this:jQuery(this.context);if(jQuery.isFunction(d)){g=d;d=x}for(c=(c||"").split(" ");(i=c[m++])!=null;){l=R.exec(i);n="";if(l){n=l[0];i=i.replace(R,"")}if(i==="hover")c.push("mouseenter"+n,"mouseleave"+n);else{l=i;if(i==="focus"||i==="blur"){c.push(sa[i]+n);i+=
n}else i=(sa[i]||i)+n;if(b==="live"){n=0;for(var v=u.length;n<v;n++)jQuery.event.add(u[n],"live."+L(i,t),{data:d,selector:t,handler:g,origType:i,origHandler:g,preType:l})}else u.unbind("live."+L(i,t),g)}}return this}});jQuery.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){jQuery.fn[b]=function(c,d){if(d==null){d=c;c=null}return arguments.length>
0?this.bind(b,c,d):this.trigger(b)};if(jQuery.attrFn)jQuery.attrFn[b]=true});y.attachEvent&&!y.addEventListener&&y.attachEvent("onunload",function(){for(var a in jQuery.cache)if(jQuery.cache[a].handle)try{jQuery.event.remove(jQuery.cache[a].handle.elem)}catch(b){}});(function(){function a(f,j,o,p,h,k){h=0;for(var q=p.length;h<q;h++){var r=p[h];if(r){r=r[f];for(var w=false;r;){if(r.sizcache===o){w=p[r.sizset];break}if(r.nodeType===1&&!k){r.sizcache=o;r.sizset=h}if(r.nodeName.toLowerCase()===j){w=r;
break}r=r[f]}p[h]=w}}}function b(f,j,o,p,h,k){h=0;for(var q=p.length;h<q;h++){var r=p[h];if(r){r=r[f];for(var w=false;r;){if(r.sizcache===o){w=p[r.sizset];break}if(r.nodeType===1){if(!k){r.sizcache=o;r.sizset=h}if(typeof j!=="string"){if(r===j){w=true;break}}else if(l.filter(j,[r]).length>0){w=r;break}}r=r[f]}p[h]=w}}}var c=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;/*'*/;var d=0,g=Object.prototype.toString,i=false,m=
true;[0,0].sort(function(){m=false;return 0});var l=function(f,j,o,p){o=o||[];var h=j=j||document;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!f||typeof f!=="string")return o;var k=[],q,r,w,A,C=true,D=l.isXML(j),H=f,F;do{c.exec("");if(q=c.exec(H)){H=q[3];k.push(q[1]);if(q[2]){A=q[3];break}}}while(q);if(k.length>1&&t.exec(f))if(k.length===2&&n.relative[k[0]])r=E(k[0]+k[1],j);else for(r=n.relative[k[0]]?[j]:l(k.shift(),j);k.length;){f=k.shift();if(n.relative[f])f+=k.shift();r=E(f,r)}else{if(!p&&k.length>
1&&j.nodeType===9&&!D&&n.match.ID.test(k[0])&&!n.match.ID.test(k[k.length-1])){q=l.find(k.shift(),j,D);j=q.expr?l.filter(q.expr,q.set)[0]:q.set[0]}if(j){q=p?{expr:k.pop(),set:s(p)}:l.find(k.pop(),k.length===1&&(k[0]==="~"||k[0]==="+")&&j.parentNode?j.parentNode:j,D);r=q.expr?l.filter(q.expr,q.set):q.set;if(k.length>0)w=s(r);else C=false;for(;k.length;){q=F=k.pop();if(n.relative[F])q=k.pop();else F="";if(q==null)q=j;n.relative[F](w,q,D)}}else w=[]}w||(w=r);w||l.error(F||f);if(g.call(w)==="[object Array]")if(C)if(j&&
j.nodeType===1)for(f=0;w[f]!=null;f++){if(w[f]&&(w[f]===true||w[f].nodeType===1&&l.contains(j,w[f])))o.push(r[f])}else for(f=0;w[f]!=null;f++)w[f]&&w[f].nodeType===1&&o.push(r[f]);else o.push.apply(o,w);else s(w,o);if(A){l(A,h,o,p);l.uniqueSort(o)}return o};l.uniqueSort=function(f){if(B){i=m;f.sort(B);if(i)for(var j=1;j<f.length;j++)f[j]===f[j-1]&&f.splice(j--,1)}return f};l.matches=function(f,j){return l(f,null,null,j)};l.find=function(f,j,o){var p;if(!f)return[];for(var h=0,k=n.order.length;h<k;h++){var q=
n.order[h],r;if(r=n.leftMatch[q].exec(f)){var w=r[1];r.splice(1,1);if(w.substr(w.length-1)!=="\\"){r[1]=(r[1]||"").replace(/\\/g,"");p=n.find[q](r,j,o);if(p!=null){f=f.replace(n.match[q],"");break}}}}p||(p=j.getElementsByTagName("*"));return{set:p,expr:f}};l.filter=function(f,j,o,p){for(var h=f,k=[],q=j,r,w,A=j&&j[0]&&l.isXML(j[0]);f&&j.length;){for(var C in n.filter)if((r=n.leftMatch[C].exec(f))!=null&&r[2]){var D=n.filter[C],H,F;F=r[1];w=false;r.splice(1,1);if(F.substr(F.length-1)!=="\\"){if(q===
k)k=[];if(n.preFilter[C])if(r=n.preFilter[C](r,q,o,k,p,A)){if(r===true)continue}else w=H=true;if(r)for(var N=0;(F=q[N])!=null;N++)if(F){H=D(F,r,N,q);var ta=p^!!H;if(o&&H!=null)if(ta)w=true;else q[N]=false;else if(ta){k.push(F);w=true}}if(H!==x){o||(q=k);f=f.replace(n.match[C],"");if(!w)return[];break}}}if(f===h)if(w==null)l.error(f);else break;h=f}return q};l.error=function(f){throw"Syntax error, unrecognized expression: "+f;};var n=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\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(f){return f.getAttribute("href")}},
relative:{"+":function(f,j){var o=typeof j==="string",p=o&&!/\W/.test(j);o=o&&!p;if(p)j=j.toLowerCase();p=0;for(var h=f.length,k;p<h;p++)if(k=f[p]){for(;(k=k.previousSibling)&&k.nodeType!==1;);f[p]=o||k&&k.nodeName.toLowerCase()===j?k||false:k===j}o&&l.filter(j,f,true)},">":function(f,j){var o=typeof j==="string",p,h=0,k=f.length;if(o&&!/\W/.test(j))for(j=j.toLowerCase();h<k;h++){if(p=f[h]){o=p.parentNode;f[h]=o.nodeName.toLowerCase()===j?o:false}}else{for(;h<k;h++)if(p=f[h])f[h]=o?p.parentNode:p.parentNode===
j;o&&l.filter(j,f,true)}},"":function(f,j,o){var p=d++,h=b,k;if(typeof j==="string"&&!/\W/.test(j)){k=j=j.toLowerCase();h=a}h("parentNode",j,p,f,k,o)},"~":function(f,j,o){var p=d++,h=b,k;if(typeof j==="string"&&!/\W/.test(j)){k=j=j.toLowerCase();h=a}h("previousSibling",j,p,f,k,o)}},find:{ID:function(f,j,o){if(typeof j.getElementById!=="undefined"&&!o)return(f=j.getElementById(f[1]))?[f]:[]},NAME:function(f,j){if(typeof j.getElementsByName!=="undefined"){var o=[];j=j.getElementsByName(f[1]);for(var p=
0,h=j.length;p<h;p++)j[p].getAttribute("name")===f[1]&&o.push(j[p]);return o.length===0?null:o}},TAG:function(f,j){return j.getElementsByTagName(f[1])}},preFilter:{CLASS:function(f,j,o,p,h,k){f=" "+f[1].replace(/\\/g,"")+" ";if(k)return f;k=0;for(var q;(q=j[k])!=null;k++)if(q)if(h^(q.className&&(" "+q.className+" ").replace(/[\t\n]/g," ").indexOf(f)>=0))o||p.push(q);else if(o)j[k]=false;return false},ID:function(f){return f[1].replace(/\\/g,"")},TAG:function(f){return f[1].toLowerCase()},CHILD:function(f){if(f[1]===
"nth"){var j=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(f[2]==="even"&&"2n"||f[2]==="odd"&&"2n+1"||!/\D/.test(f[2])&&"0n+"+f[2]||f[2]);f[2]=j[1]+(j[2]||1)-0;f[3]=j[3]-0}f[0]=d++;return f},ATTR:function(f,j,o,p,h,k){j=f[1].replace(/\\/g,"");if(!k&&n.attrMap[j])f[1]=n.attrMap[j];if(f[2]==="~=")f[4]=" "+f[4]+" ";return f},PSEUDO:function(f,j,o,p,h){if(f[1]==="not")if((c.exec(f[3])||"").length>1||/^\w/.test(f[3]))f[3]=l(f[3],null,null,j);else{f=l.filter(f[3],j,o,true^h);o||p.push.apply(p,f);return false}else if(n.match.POS.test(f[0])||
n.match.CHILD.test(f[0]))return true;return f},POS:function(f){f.unshift(true);return f}},filters:{enabled:function(f){return f.disabled===false&&f.type!=="hidden"},disabled:function(f){return f.disabled===true},checked:function(f){return f.checked===true},selected:function(f){return f.selected===true},parent:function(f){return!!f.firstChild},empty:function(f){return!f.firstChild},has:function(f,j,o){return!!l(o[3],f).length},header:function(f){return/h\d/i.test(f.nodeName)},text:function(f){return"text"===
f.type},radio:function(f){return"radio"===f.type},checkbox:function(f){return"checkbox"===f.type},file:function(f){return"file"===f.type},password:function(f){return"password"===f.type},submit:function(f){return"submit"===f.type},image:function(f){return"image"===f.type},reset:function(f){return"reset"===f.type},button:function(f){return"button"===f.type||f.nodeName.toLowerCase()==="button"},input:function(f){return/input|select|textarea|button/i.test(f.nodeName)}},setFilters:{first:function(f,j){return j===
0},last:function(f,j,o,p){return j===p.length-1},even:function(f,j){return j%2===0},odd:function(f,j){return j%2===1},lt:function(f,j,o){return j<o[3]-0},gt:function(f,j,o){return j>o[3]-0},nth:function(f,j,o){return o[3]-0===j},eq:function(f,j,o){return o[3]-0===j}},filter:{PSEUDO:function(f,j,o,p){var h=j[1],k=n.filters[h];if(k)return k(f,o,j,p);else if(h==="contains")return(f.textContent||f.innerText||l.getText([f])||"").indexOf(j[3])>=0;else if(h==="not"){j=j[3];o=0;for(p=j.length;o<p;o++)if(j[o]===
f)return false;return true}else l.error("Syntax error, unrecognized expression: "+h)},CHILD:function(f,j){var o=j[1],p=f;switch(o){case "only":case "first":for(;p=p.previousSibling;)if(p.nodeType===1)return false;if(o==="first")return true;p=f;case "last":for(;p=p.nextSibling;)if(p.nodeType===1)return false;return true;case "nth":o=j[2];var h=j[3];if(o===1&&h===0)return true;j=j[0];var k=f.parentNode;if(k&&(k.sizcache!==j||!f.nodeIndex)){var q=0;for(p=k.firstChild;p;p=p.nextSibling)if(p.nodeType===
1)p.nodeIndex=++q;k.sizcache=j}f=f.nodeIndex-h;return o===0?f===0:f%o===0&&f/o>=0}},ID:function(f,j){return f.nodeType===1&&f.getAttribute("id")===j},TAG:function(f,j){return j==="*"&&f.nodeType===1||f.nodeName.toLowerCase()===j},CLASS:function(f,j){return(" "+(f.className||f.getAttribute("class"))+" ").indexOf(j)>-1},ATTR:function(f,j){var o=j[1];f=n.attrHandle[o]?n.attrHandle[o](f):f[o]!=null?f[o]:f.getAttribute(o);o=f+"";var p=j[2];j=j[4];return f==null?p==="!=":p==="="?o===j:p==="*="?o.indexOf(j)>=
0:p==="~="?(" "+o+" ").indexOf(j)>=0:!j?o&&f!==false:p==="!="?o!==j:p==="^="?o.indexOf(j)===0:p==="$="?o.substr(o.length-j.length)===j:p==="|="?o===j||o.substr(0,j.length+1)===j+"-":false},POS:function(f,j,o,p){var h=n.setFilters[j[2]];if(h)return h(f,o,j,p)}}},t=n.match.POS,u=function(f,j){return"\\"+(j-0+1)};for(var v in n.match){n.match[v]=new RegExp(n.match[v].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[v]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[v].source.replace(/\\(\d+)/g,u))}var s=
function(f,j){f=Array.prototype.slice.call(f,0);if(j){j.push.apply(j,f);return j}return f};try{Array.prototype.slice.call(document.documentElement.childNodes,0)}catch(z){s=function(f,j){j=j||[];var o=0;if(g.call(f)==="[object Array]")Array.prototype.push.apply(j,f);else if(typeof f.length==="number")for(var p=f.length;o<p;o++)j.push(f[o]);else for(;f[o];o++)j.push(f[o]);return j}}var B;if(document.documentElement.compareDocumentPosition)B=function(f,j){if(!f.compareDocumentPosition||!j.compareDocumentPosition){if(f==
j)i=true;return f.compareDocumentPosition?-1:1}f=f.compareDocumentPosition(j)&4?-1:f===j?0:1;if(f===0)i=true;return f};else if("sourceIndex"in document.documentElement)B=function(f,j){if(!f.sourceIndex||!j.sourceIndex){if(f==j)i=true;return f.sourceIndex?-1:1}f=f.sourceIndex-j.sourceIndex;if(f===0)i=true;return f};else if(document.createRange)B=function(f,j){if(!f.ownerDocument||!j.ownerDocument){if(f==j)i=true;return f.ownerDocument?-1:1}var o=f.ownerDocument.createRange(),p=j.ownerDocument.createRange();
o.setStart(f,0);o.setEnd(f,0);p.setStart(j,0);p.setEnd(j,0);f=o.compareBoundaryPoints(Range.START_TO_END,p);if(f===0)i=true;return f};l.getText=function(f){for(var j="",o,p=0;f[p];p++){o=f[p];if(o.nodeType===3||o.nodeType===4)j+=o.nodeValue;else if(o.nodeType!==8)j+=l.getText(o.childNodes)}return j};(function(){var f=document.createElement("div"),j="script"+(new Date).getTime();f.innerHTML="<a name='"+j+"'/>";var o=document.documentElement;o.insertBefore(f,o.firstChild);if(document.getElementById(j)){n.find.ID=
function(p,h,k){if(typeof h.getElementById!=="undefined"&&!k)return(h=h.getElementById(p[1]))?h.id===p[1]||typeof h.getAttributeNode!=="undefined"&&h.getAttributeNode("id").nodeValue===p[1]?[h]:x:[]};n.filter.ID=function(p,h){var k=typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id");return p.nodeType===1&&k&&k.nodeValue===h}}o.removeChild(f);o=f=null})();(function(){var f=document.createElement("div");f.appendChild(document.createComment(""));if(f.getElementsByTagName("*").length>0)n.find.TAG=
function(j,o){o=o.getElementsByTagName(j[1]);if(j[1]==="*"){j=[];for(var p=0;o[p];p++)o[p].nodeType===1&&j.push(o[p]);o=j}return o};f.innerHTML="<a href='#'></a>";if(f.firstChild&&typeof f.firstChild.getAttribute!=="undefined"&&f.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(j){return j.getAttribute("href",2)};f=null})();document.querySelectorAll&&function(){var f=l,j=document.createElement("div");j.innerHTML="<p class='TEST'></p>";if(!(j.querySelectorAll&&j.querySelectorAll(".TEST").length===
0)){l=function(p,h,k,q){h=h||document;if(!q&&h.nodeType===9&&!l.isXML(h))try{return s(h.querySelectorAll(p),k)}catch(r){}return f(p,h,k,q)};for(var o in f)l[o]=f[o];j=null}}();(function(){var f=document.createElement("div");f.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!f.getElementsByClassName||f.getElementsByClassName("e").length===0)){f.lastChild.className="e";if(f.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(j,o,p){if(typeof o.getElementsByClassName!==
"undefined"&&!p)return o.getElementsByClassName(j[1])};f=null}}})();l.contains=document.compareDocumentPosition?function(f,j){return!!(f.compareDocumentPosition(j)&16)}:function(f,j){return f!==j&&(f.contains?f.contains(j):true)};l.isXML=function(f){return(f=(f?f.ownerDocument||f:0).documentElement)?f.nodeName!=="HTML":false};var E=function(f,j){var o=[],p="",h;for(j=j.nodeType?[j]:j;h=n.match.PSEUDO.exec(f);){p+=h[0];f=f.replace(n.match.PSEUDO,"")}f=n.relative[f]?f+"*":f;h=0;for(var k=j.length;h<
k;h++)l(f,j[h],o);return l.filter(p,o)};jQuery.find=l;jQuery.expr=l.selectors;jQuery.expr[":"]=jQuery.expr.filters;jQuery.unique=l.uniqueSort;jQuery.text=l.getText;jQuery.isXMLDoc=l.isXML;jQuery.contains=l.contains})();var Pa=/Until$/,Qa=/^(?:parents|prevUntil|prevAll)/,Ra=/,/,Da=/^.[^:#\[\.,]*$/,Sa=Array.prototype.slice;jQuery.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),c=0,d=0,g=this.length;d<g;d++){c=b.length;jQuery.find(a,this[d],b);if(d>0)for(var i=c;i<b.length;i++)for(var m=
0;m<c;m++)if(b[m]===b[i]){b.splice(i--,1);break}}return b},has:function(a){var b=jQuery(a);return this.filter(function(){for(var c=0,d=b.length;c<d;c++)if(jQuery.contains(this,b[c]))return true})},not:function(a){return this.pushStack(ea(this,a,false),"not",a)},filter:function(a){return this.pushStack(ea(this,a,true),"filter",a)},is:function(a){return!!a&&jQuery.filter(a,this).length>0},closest:function(a,b){if(jQuery.isArray(a)){var c=[],d=this[0],g,i={},m,l=1;if(d&&a.length){g=0;for(var n=a.length;g<
n;g++){m=a[g];i[m]||(i[m]=jQuery.expr.match.POS.test(m)?jQuery(m,b||this.context):m)}for(;d&&d.ownerDocument&&d!==b;){for(m in i){g=i[m];if(g.jquery?g.index(d)>-1:jQuery(d).is(g))c.push({selector:m,elem:d,level:l})}d=d.parentNode;l++}}return c}var t=jQuery.expr.match.POS.test(a)?jQuery(a,b||this.context):null;return this.map(function(u,v){for(;v&&v.ownerDocument&&v!==b;){if(t?t.index(v)>-1:jQuery(v).is(a))return v;v=v.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return jQuery.inArray(this[0],
a?jQuery(a):this.parent().children());return jQuery.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?jQuery(a,b||this.context):jQuery.makeArray(a);b=jQuery.merge(this.get(),a);return this.pushStack(da(a[0])||da(b[0])?b:jQuery.unique(b))},andSelf:function(){return this.add(this.prevObject)}});jQuery.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return jQuery.dir(a,"parentNode")},parentsUntil:function(a,b,c){return jQuery.dir(a,"parentNode",
c)},next:function(a){return jQuery.nth(a,2,"nextSibling")},prev:function(a){return jQuery.nth(a,2,"previousSibling")},nextAll:function(a){return jQuery.dir(a,"nextSibling")},prevAll:function(a){return jQuery.dir(a,"previousSibling")},nextUntil:function(a,b,c){return jQuery.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return jQuery.dir(a,"previousSibling",c)},siblings:function(a){return jQuery.sibling(a.parentNode.firstChild,a)},children:function(a){return jQuery.sibling(a.firstChild)},contents:function(a){return jQuery.nodeName(a,
"iframe")?a.contentDocument||a.contentWindow.document:jQuery.makeArray(a.childNodes)}},function(a,b){jQuery.fn[a]=function(c,d){var g=jQuery.map(this,b,c);Pa.test(a)||(d=c);if(d&&typeof d==="string")g=jQuery.filter(d,g);g=this.length>1?jQuery.unique(g):g;if((this.length>1||Ra.test(d))&&Qa.test(a))g=g.reverse();return this.pushStack(g,a,Sa.call(arguments).join(","))}});jQuery.extend({filter:function(a,b,c){if(c)a=":not("+a+")";return jQuery.find.matches(a,b)},dir:function(a,b,c){var d=[];for(a=a[b];a&&
a.nodeType!==9&&(c===x||a.nodeType!==1||!jQuery(a).is(c));){a.nodeType===1&&d.push(a);a=a[b]}return d},nth:function(a,b,c){b=b||1;for(var d=0;a;a=a[c])if(a.nodeType===1&&++d===b)break;return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var ua=/ jQuery\d+="(?:\d+|null)"/g,O=/^\s+/,va=/(<([\w:]+)[^>]*?)\/>/g,Ta=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,wa=/<([\w:]+)/,Ua=/<tbody/i,Va=/<|&#?\w+;/,ha=/<script|<object|<embed|<option|<style/i,
ia=/checked\s*(?:[^=]|=\s*.checked.)/i,xa=function(a,b,c){return Ta.test(c)?a:b+"></"+c+">"},G={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};G.optgroup=G.option;G.tbody=G.tfoot=G.colgroup=G.caption=G.thead;G.th=G.td;if(!jQuery.support.htmlSerialize)G._default=
[1,"div<div>","</div>"];jQuery.fn.extend({text:function(a){if(jQuery.isFunction(a))return this.each(function(b){var c=jQuery(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==x)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(a));return jQuery.text(this)},wrapAll:function(a){if(jQuery.isFunction(a))return this.each(function(c){jQuery(this).wrapAll(a.call(this,c))});if(this[0]){var b=jQuery(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&
b.insertBefore(this[0]);b.map(function(){for(var c=this;c.firstChild&&c.firstChild.nodeType===1;)c=c.firstChild;return c}).append(this)}return this},wrapInner:function(a){if(jQuery.isFunction(a))return this.each(function(b){jQuery(this).wrapInner(a.call(this,b))});return this.each(function(){var b=jQuery(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){jQuery(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){jQuery.nodeName(this,
"body")||jQuery(this).replaceWith(this.childNodes)}).end()},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(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=jQuery(arguments[0]);a.push.apply(a,this.toArray());
return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,jQuery(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||jQuery.filter(a,[d]).length){if(!b&&d.nodeType===1){jQuery.cleanData(d.getElementsByTagName("*"));jQuery.cleanData([d])}d.parentNode&&
d.parentNode.removeChild(d)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&jQuery.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a){var b=this.map(function(){if(!jQuery.support.noCloneEvent&&!jQuery.isXMLDoc(this)){var c=this.outerHTML,d=this.ownerDocument;if(!c){c=d.createElement("div");c.appendChild(this.cloneNode(true));c=c.innerHTML}return jQuery.clean([c.replace(ua,"").replace(/\=([^="'>\s]+\/)>/g,
'="$1">').replace(O,"")],d)[0]}else return this.cloneNode(true)});if(a===true){fa(this,b);fa(this.find("*"),b.find("*"))}return b},html:function(a){if(a===x)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ua,""):null;else if(typeof a==="string"&&!ha.test(a)&&(jQuery.support.leadingWhitespace||!O.test(a))&&!G[(wa.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(va,xa);try{for(var b=0,c=this.length;b<c;b++)if(this[b].nodeType===1){jQuery.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=
a}}catch(d){this.empty().append(a)}}else jQuery.isFunction(a)?this.each(function(g){var i=jQuery(this),m=i.html();i.empty().append(function(){return a.call(this,g,m)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(jQuery.isFunction(a))return this.each(function(b){var c=jQuery(this),d=c.html();c.replaceWith(a.call(this,b,d))});if(typeof a!=="string")a=jQuery(a).detach();return this.each(function(){var b=this.nextSibling,c=this.parentNode;jQuery(this).remove();
b?jQuery(b).before(a):jQuery(c).append(a)})}else return this.pushStack(jQuery(jQuery.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,c){var d,g,i=a[0],m=[],l;if(!jQuery.support.checkClone&&arguments.length===3&&typeof i==="string"&&ia.test(i))return this.each(function(){jQuery(this).domManip(a,b,c,true)});if(jQuery.isFunction(i))return this.each(function(u){var v=jQuery(this);a[0]=i.call(this,u,b?v.html():x);v.domManip(a,b,c)});if(this[0]){d=
i&&i.parentNode;d=jQuery.support.parentNode&&d&&d.nodeType===11&&d.childNodes.length===this.length?{fragment:d}:ga(a,this,m);l=d.fragment;if(g=l.childNodes.length===1?(l=l.firstChild):l.firstChild){b=b&&jQuery.nodeName(g,"tr");for(var n=0,t=this.length;n<t;n++)c.call(b?Ea(this[n],g):this[n],n>0||d.cacheable||this.length>1?l.cloneNode(true):l)}m.length&&jQuery.each(m,Fa)}return this}});jQuery.fragments={};jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",
replaceAll:"replaceWith"},function(a,b){jQuery.fn[a]=function(c){var d=[];c=jQuery(c);var g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&c.length===1){c[b](this[0]);return this}else{g=0;for(var i=c.length;g<i;g++){var m=(g>0?this.clone(true):this).get();jQuery(c[g])[b](m);d=d.concat(m)}return this.pushStack(d,a,c.selector)}}});jQuery.extend({clean:function(a,b,c,d){b=b||document;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||
document;for(var g=[],i=0,m;(m=a[i])!=null;i++){if(typeof m==="number")m+="";if(m){if(typeof m==="string"&&!Va.test(m))m=b.createTextNode(m);else if(typeof m==="string"){m=m.replace(va,xa);var l=(wa.exec(m)||["",""])[1].toLowerCase(),n=G[l]||G._default,t=n[0],u=b.createElement("div");for(u.innerHTML=n[1]+m+n[2];t--;)u=u.lastChild;if(!jQuery.support.tbody){t=Ua.test(m);l=l==="table"&&!t?u.firstChild&&u.firstChild.childNodes:n[1]==="<table>"&&!t?u.childNodes:[];for(n=l.length-1;n>=0;--n)jQuery.nodeName(l[n],
"tbody")&&!l[n].childNodes.length&&l[n].parentNode.removeChild(l[n])}!jQuery.support.leadingWhitespace&&O.test(m)&&u.insertBefore(b.createTextNode(O.exec(m)[0]),u.firstChild);m=u.childNodes}if(m.nodeType)g.push(m);else g=jQuery.merge(g,m)}}if(c)for(i=0;g[i];i++)if(d&&jQuery.nodeName(g[i],"script")&&(!g[i].type||g[i].type.toLowerCase()==="text/javascript"))d.push(g[i].parentNode?g[i].parentNode.removeChild(g[i]):g[i]);else{g[i].nodeType===1&&g.splice.apply(g,[i+1,0].concat(jQuery.makeArray(g[i].getElementsByTagName("script"))));
c.appendChild(g[i])}return g},cleanData:function(a){for(var b,c,d=jQuery.cache,g=jQuery.event.special,i=jQuery.support.deleteExpando,m=0,l;(l=a[m])!=null;m++)if(!(l.nodeName&&jQuery.noData[l.nodeName.toLowerCase()]))if(c=l[jQuery.expando]){if((b=d[c])&&b.events)for(var n in b.events)g[n]?jQuery.event.remove(l,n):oa(l,n,b.handle);if(i)delete l[jQuery.expando];else l.removeAttribute&&l.removeAttribute(jQuery.expando);delete d[c]}}});var Wa=/z-?index|font-?weight|opacity|zoom|line-?height/i,ya=/alpha\([^)]*\)/,
za=/opacity=([^)]*)/,Y=/float/i,Z=/-([a-z])/ig,Xa=/([A-Z])/g,Ya=/^-?\d+(?:px)?$/i,Za=/^-?\d/,$a={position:"absolute",visibility:"hidden",display:"block"},Ga=["Left","Right"],Ha=["Top","Bottom"],ab=document.defaultView&&document.defaultView.getComputedStyle,Aa=jQuery.support.cssFloat?"cssFloat":"styleFloat",$=function(a,b){return b.toUpperCase()};jQuery.fn.css=function(a,b){return jQuery.access(this,a,b,true,function(c,d,g){if(g===x)return jQuery.curCSS(c,d);if(typeof g==="number"&&!Wa.test(d))g+=
"px";jQuery.style(c,d,g)})};jQuery.extend({style:function(a,b,c){if(!a||a.nodeType===3||a.nodeType===8)return x;if((b==="width"||b==="height")&&parseFloat(c)<0)c=x;var d=a.style||a,g=c!==x;if(!jQuery.support.opacity&&b==="opacity"){if(g){d.zoom=1;b=parseInt(c,10)+""==="NaN"?"":"alpha(opacity="+c*100+")";a=d.filter||jQuery.curCSS(a,"filter")||"";d.filter=ya.test(a)?a.replace(ya,b):b}return d.filter&&d.filter.indexOf("opacity=")>=0?parseFloat(za.exec(d.filter)[1])/100+"":""}if(Y.test(b))b=Aa;b=b.replace(Z,
$);if(g)d[b]=c;return d[b]},css:function(a,b,c,d){if(b==="width"||b==="height"){if(a.offsetWidth!==0)val=ja(a,b,d);else jQuery.swap(a,$a,function(){val=ja(a,b,d)});return Math.max(0,Math.round(val))}return jQuery.curCSS(a,b,c)},curCSS:function(a,b,c){var d,g=a.style;if(!jQuery.support.opacity&&b==="opacity"&&a.currentStyle){d=za.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return d===""?"1":d}if(Y.test(b))b=Aa;if(!c&&g&&g[b])d=g[b];else if(ab){if(Y.test(b))b="float";b=b.replace(Xa,
"-$1").toLowerCase();g=a.ownerDocument.defaultView;if(!g)return null;if(a=g.getComputedStyle(a,null))d=a.getPropertyValue(b);if(b==="opacity"&&d==="")d="1"}else if(a.currentStyle){c=b.replace(Z,$);d=a.currentStyle[b]||a.currentStyle[c];if(!Ya.test(d)&&Za.test(d)){b=g.left;var i=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;g.left=c==="fontSize"?"1em":d||0;d=g.pixelLeft+"px";g.left=b;a.runtimeStyle.left=i}}return d},swap:function(a,b,c){var d={};for(var g in b){d[g]=a.style[g];a.style[g]=
b[g]}c.call(a);for(g in b)a.style[g]=d[g]}});if(jQuery.expr&&jQuery.expr.filters){jQuery.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=a.nodeName.toLowerCase()==="tr";return b===0&&c===0&&!d?true:b>0&&c>0&&!d?false:jQuery.curCSS(a,"display")==="none"};jQuery.expr.filters.visible=function(a){return!jQuery.expr.filters.hidden(a)}}var bb=jQuery.now(),cb=/<script(.|\s)*?\/script>/gi,db=/select|textarea/i,eb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,
J=/\=\?(&|$)/,aa=/\?/,fb=/(\?|&)_=.*?(&|$)/,gb=/^(\w+:)?\/\/([^\/?#]+)/,hb=/%20/g,Ba=jQuery.fn.load;jQuery.fn.extend({load:function(a,b,c){if(typeof a!=="string"&&Ba)return Ba.apply(this,arguments);else if(!this.length)return this;var d=a.indexOf(" ");if(d>=0){var g=a.slice(d,a.length);a=a.slice(0,d)}d="GET";if(b)if(jQuery.isFunction(b)){c=b;b=null}else if(typeof b==="object"){b=jQuery.param(b,jQuery.ajaxSettings.traditional);d="POST"}var i=this;jQuery.ajax({url:a,type:d,dataType:"html",data:b,complete:function(m,
l){if(l==="success"||l==="notmodified")i.html(g?jQuery("<div />").append(m.responseText.replace(cb,"")).find(g):m.responseText);c&&i.each(c,[m.responseText,l,m])}});return this},serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?jQuery.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||db.test(this.nodeName)||eb.test(this.type))}).map(function(a,b){a=jQuery(this).val();
return a==null?null:jQuery.isArray(a)?jQuery.map(a,function(c){return{name:b.name,value:c}}):{name:b.name,value:a}}).get()}});jQuery.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){jQuery.fn[b]=function(c){return this.bind(b,c)}});jQuery.extend({get:function(a,b,c,d){if(jQuery.isFunction(b)){d=d||c;c=b;b=null}return jQuery.ajax({type:"GET",url:a,data:b,success:c,dataType:d})},getScript:function(a,b){return jQuery.get(a,null,b,"script")},getJSON:function(a,
b,c){return jQuery.get(a,b,c,"json")},post:function(a,b,c,d){if(jQuery.isFunction(b)){d=d||c;c=b;b={}}return jQuery.ajax({type:"POST",url:a,data:b,success:c,dataType:d})},ajaxSetup:function(a){jQuery.extend(jQuery.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:y.XMLHttpRequest&&(y.location.protocol!=="file:"||!y.ActiveXObject)?function(){return new y.XMLHttpRequest}:function(){try{return new y.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},
accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=jQuery.extend(true,{},jQuery.ajaxSettings,a),c,d,g,i=b.type.toUpperCase();b.context=a&&a.context||b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=jQuery.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(i==="GET")J.test(b.url)||(b.url+=(aa.test(b.url)?"&":"?")+(b.jsonp||"callback")+
"=?");else if(!b.data||!J.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&J.test(b.data)||J.test(b.url))){c=b.jsonpCallback||"jsonp"+bb++;if(b.data)b.data=(b.data+"").replace(J,"="+c+"$1");b.url=b.url.replace(J,"="+c+"$1");b.dataType="script";y[c]=y[c]||function(o){g=o;jQuery.ajax.handleSuccess(b,s,d,g);jQuery.ajax.handleComplete(b,s,d,g);y[c]=x;try{delete y[c]}catch(p){}n&&n.removeChild(t)}}if(b.dataType==="script"&&b.cache===
null)b.cache=false;if(b.cache===false&&i==="GET"){var m=jQuery.now(),l=b.url.replace(fb,"$1_="+m+"$2");b.url=l+(l===b.url?(aa.test(b.url)?"&":"?")+"_="+m:"")}if(b.data&&i==="GET")b.url+=(aa.test(b.url)?"&":"?")+b.data;b.global&&jQuery.ajax.active++===0&&jQuery.event.trigger("ajaxStart");m=(m=gb.exec(b.url))&&(m[1]&&m[1]!==location.protocol||m[2]!==location.host);if(b.dataType==="script"&&i==="GET"&&m){var n=document.getElementsByTagName("head")[0]||document.documentElement,t=document.createElement("script");
t.src=b.url;if(b.scriptCharset)t.charset=b.scriptCharset;if(!c){var u=false;t.onload=t.onreadystatechange=function(){if(!u&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){u=true;jQuery.ajax.handleSuccess(b,s,d,g);jQuery.ajax.handleComplete(b,s,d,g);t.onload=t.onreadystatechange=null;n&&t.parentNode&&n.removeChild(t)}}}n.insertBefore(t,n.firstChild);return x}var v=false,s=b.xhr();if(s){b.username?s.open(i,b.url,b.async,b.username,b.password):s.open(i,b.url,b.async);try{if(b.data||
a&&a.contentType)s.setRequestHeader("Content-Type",b.contentType);if(b.ifModified){jQuery.lastModified[b.url]&&s.setRequestHeader("If-Modified-Since",jQuery.lastModified[b.url]);jQuery.ajax.etag[b.url]&&s.setRequestHeader("If-None-Match",jQuery.ajax.etag[b.url])}m||s.setRequestHeader("X-Requested-With","XMLHttpRequest");s.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*":b.accepts._default)}catch(z){}if(b.beforeSend&&b.beforeSend.call(b.context,s,b)===false){b.global&&
jQuery.ajax.active--===1&&jQuery.event.trigger("ajaxStop");s.abort();return false}b.global&&jQuery.ajax.triggerGlobal(b,"ajaxSend",[s,b]);var B=s.onreadystatechange=function(o){if(!s||s.readyState===0||o==="abort"){v||jQuery.ajax.handleComplete(b,s,d,g);v=true;if(s)s.onreadystatechange=jQuery.noop}else if(!v&&s&&(s.readyState===4||o==="timeout")){v=true;s.onreadystatechange=jQuery.noop;d=o==="timeout"?"timeout":!jQuery.ajax.httpSuccess(s)?"error":b.ifModified&&jQuery.ajax.httpNotModified(s,b.url)?
"notmodified":"success";var p;if(d==="success")try{g=jQuery.ajax.httpData(s,b.dataType,b)}catch(h){d="parsererror";p=h}if(d==="success"||d==="notmodified")c||jQuery.ajax.handleSuccess(b,s,d,g);else jQuery.ajax.handleError(b,s,d,p);jQuery.ajax.handleComplete(b,s,d,g);o==="timeout"&&s.abort();if(b.async)s=null}};try{var E=s.abort;s.abort=function(){s&&E.call(s);B("abort")}}catch(f){}b.async&&b.timeout>0&&setTimeout(function(){s&&!v&&B("timeout")},b.timeout);try{s.send(i==="POST"||i==="PUT"||i==="DELETE"?
b.data:null)}catch(j){jQuery.ajax.handleError(b,s,null,e);jQuery.ajax.handleComplete(b,s,d,g)}b.async||B();return s}},param:function(a,b){var c=[],d=function(i,m){m=jQuery.isFunction(m)?m():m;c[c.length]=encodeURIComponent(i)+"="+encodeURIComponent(m)};if(b===x)b=jQuery.ajaxSettings.traditional;if(jQuery.isArray(a)||a.jquery)jQuery.each(a,function(){d(this.name,this.value)});else for(var g in a)S(g,a[g],b,d);return c.join("&").replace(hb,"+")}});jQuery.extend(jQuery.ajax,{active:0,lastModified:{},
etag:{},handleError:function(a,b,c,d){a.error&&a.error.call(a.context,b,c,d);a.global&&jQuery.ajax.triggerGlobal(a,"ajaxError",[b,a,d])},handleSuccess:function(a,b,c,d){a.success&&a.success.call(a.context,d,c,b);a.global&&jQuery.ajax.triggerGlobal(a,"ajaxSuccess",[b,a])},handleComplete:function(a,b,c){a.complete&&a.complete.call(a.context,b,c);a.global&&jQuery.ajax.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&jQuery.ajax.active--===1&&jQuery.event.trigger("ajaxStop")},triggerGlobal:function(a,
b,c){(a.context&&a.context.url==null?jQuery(a.context):jQuery.event).trigger(b,c)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var c=a.getResponseHeader("Last-Modified"),d=a.getResponseHeader("Etag");if(c)jQuery.ajax.lastModified[b]=c;if(d)jQuery.ajax.etag[b]=d;return a.status===304||a.status===0},httpData:function(a,b,c){var d=a.getResponseHeader("content-type")||
"",g=b==="xml"||!b&&d.indexOf("xml")>=0;a=g?a.responseXML:a.responseText;g&&a.documentElement.nodeName==="parsererror"&&jQuery.error("parsererror");if(c&&c.dataFilter)a=c.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&d.indexOf("json")>=0)a=jQuery.parseJSON(a);else if(b==="script"||!b&&d.indexOf("javascript")>=0)jQuery.globalEval(a);return a}});jQuery.extend(jQuery.ajax);var ba={},ib=/toggle|show|hide/,jb=/^([+\-]=)?([\d+.\-]+)(.*)$/,P,ka=[["height","marginTop","marginBottom","paddingTop",
"paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];jQuery.fn.extend({show:function(a,b){if(a||a===0)return this.animate(I("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var c=jQuery.data(this[a],"olddisplay");this[a].style.display=c||"";if(jQuery.css(this[a],"display")==="none"){c=this[a].nodeName;var d;if(ba[c])d=ba[c];else{var g=jQuery("<"+c+" />").appendTo("body");d=g.css("display");if(d==="none")d="block";g.remove();ba[c]=d}jQuery.data(this[a],
"olddisplay",d)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=jQuery.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(I("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var c=jQuery.data(this[a],"olddisplay");!c&&c!=="none"&&jQuery.data(this[a],"olddisplay",jQuery.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:jQuery.fn.toggle,toggle:function(a,b){var c=typeof a==="boolean";if(jQuery.isFunction(a)&&
jQuery.isFunction(b))this._toggle.apply(this,arguments);else a==null||c?this.each(function(){var d=c?a:jQuery(this).is(":hidden");jQuery(this)[d?"show":"hide"]()}):this.animate(I("toggle",3),a,b);return this},fadeTo:function(a,b,c){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c)},animate:function(a,b,c,d){var g=jQuery.speed(b,c,d);if(jQuery.isEmptyObject(a))return this.each(g.complete);return this[g.queue===false?"each":"queue"](function(){var i=jQuery.extend({},
g),m,l=this.nodeType===1&&jQuery(this).is(":hidden"),n=this;for(m in a){var t=m.replace(Z,$);if(m!==t){a[t]=a[m];delete a[m];m=t}if(a[m]==="hide"&&l||a[m]==="show"&&!l)return i.complete.call(this);if((m==="height"||m==="width")&&this.style){i.display=jQuery.css(this,"display");i.overflow=this.style.overflow}if(jQuery.isArray(a[m])){(i.specialEasing=i.specialEasing||{})[m]=a[m][1];a[m]=a[m][0]}}if(i.overflow!=null)this.style.overflow="hidden";i.curAnim=jQuery.extend({},a);jQuery.each(a,function(u,
v){var s=new jQuery.fx(n,i,u);if(ib.test(v))s[v==="toggle"?l?"show":"hide":v](a);else{var z=jb.exec(v),B=s.cur(true)||0;if(z){v=parseFloat(z[2]);var E=z[3]||"px";if(E!=="px"){n.style[u]=(v||1)+E;B=(v||1)/s.cur(true)*B;n.style[u]=B+E}if(z[1])v=(z[1]==="-="?-1:1)*v+B;s.custom(B,v,E)}else s.custom(B,v,"")}});return true})},stop:function(a,b){var c=jQuery.timers;a&&this.queue([]);this.each(function(){for(var d=c.length-1;d>=0;d--)if(c[d].elem===this){b&&c[d](true);c.splice(d,1)}});b||this.dequeue();return this}});
jQuery.each({slideDown:I("show",1),slideUp:I("hide",1),slideToggle:I("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){jQuery.fn[a]=function(c,d){return this.animate(b,c,d)}});jQuery.extend({speed:function(a,b,c){var d=a&&typeof a==="object"?a:{complete:c||!c&&b||jQuery.isFunction(a)&&a,duration:a,easing:c&&b||b&&!jQuery.isFunction(b)&&b};d.duration=jQuery.fx.off?0:typeof d.duration==="number"?d.duration:jQuery.fx.speeds[d.duration]||jQuery.fx.speeds._default;d.old=d.complete;
d.complete=function(){d.queue!==false&&jQuery(this).dequeue();jQuery.isFunction(d.old)&&d.old.call(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+0.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;if(!b.orig)b.orig={}}});jQuery.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(jQuery.fx.step[this.prop]||jQuery.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(jQuery.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(jQuery.curCSS(this.elem,this.prop))||0},custom:function(a,b,c){function d(i){return g.step(i)}this.startTime=jQuery.now();this.start=a;this.end=b;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=
0;var g=this;d.elem=this.elem;if(d()&&jQuery.timers.push(d)&&!P)P=setInterval(jQuery.fx.tick,13)},show:function(){this.options.orig[this.prop]=jQuery.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());jQuery(this.elem).show()},hide:function(){this.options.orig[this.prop]=jQuery.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=jQuery.now(),c=true;if(a||b>=this.options.duration+this.startTime){this.now=
this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var d in this.options.curAnim)if(this.options.curAnim[d]!==true)c=false;if(c){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=jQuery.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(jQuery.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&jQuery(this.elem).hide();if(this.options.hide||this.options.show)for(var g in this.options.curAnim)jQuery.style(this.elem,
g,this.options.orig[g]);this.options.complete.call(this.elem)}return false}else{g=b-this.startTime;this.state=g/this.options.duration;a=this.options.easing||(jQuery.easing.swing?"swing":"linear");this.pos=jQuery.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,g,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};jQuery.extend(jQuery.fx,{tick:function(){for(var a=jQuery.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,
1);a.length||jQuery.fx.stop()},stop:function(){clearInterval(P);P=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){jQuery.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(jQuery.expr&&jQuery.expr.filters)jQuery.expr.filters.animated=function(a){return jQuery.grep(jQuery.timers,function(b){return a===b.elem}).length};
jQuery.fn.offset="getBoundingClientRect"in document.documentElement?function(a){var b=this[0];if(a)return this.each(function(i){jQuery.offset.setOffset(this,a,i)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return jQuery.offset.bodyOffset(b);var c=b.getBoundingClientRect(),d=b.ownerDocument;b=d.body;var g=d.documentElement;d=T(d);return{top:c.top+(d.pageYOffset||jQuery.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:c.left+(d.pageXOffset||jQuery.support.boxModel&&
g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(u){jQuery.offset.setOffset(this,a,u)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return jQuery.offset.bodyOffset(b);jQuery.offset.initialize();var c=b.offsetParent,d=b,g=b.ownerDocument,i,m=g.documentElement,l=g.body;d=(g=g.defaultView)?g.getComputedStyle(b,null):b.currentStyle;for(var n=b.offsetTop,t=b.offsetLeft;(b=b.parentNode)&&b!==l&&b!==m;){if(jQuery.offset.supportsFixedPosition&&
d.position==="fixed")break;i=g?g.getComputedStyle(b,null):b.currentStyle;n-=b.scrollTop;t-=b.scrollLeft;if(b===c){n+=b.offsetTop;t+=b.offsetLeft;if(jQuery.offset.doesNotAddBorder&&!(jQuery.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){n+=parseFloat(i.borderTopWidth)||0;t+=parseFloat(i.borderLeftWidth)||0}d=c;c=b.offsetParent}if(jQuery.offset.subtractsBorderForOverflowNotVisible&&i.overflow!=="visible"){n+=parseFloat(i.borderTopWidth)||0;t+=parseFloat(i.borderLeftWidth)||
0}d=i}if(d.position==="relative"||d.position==="static"){n+=l.offsetTop;t+=l.offsetLeft}if(jQuery.offset.supportsFixedPosition&&d.position==="fixed"){n+=Math.max(m.scrollTop,l.scrollTop);t+=Math.max(m.scrollLeft,l.scrollLeft)}return{top:n,left:t}};jQuery.offset={initialize:function(){var a=document.body,b=document.createElement("div"),c,d,g,i=parseFloat(jQuery.curCSS(a,"marginTop",true))||0;jQuery.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});
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);c=b.firstChild;d=c.firstChild;g=c.nextSibling.firstChild.firstChild;this.doesNotAddBorder=d.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;d.style.position=
"fixed";d.style.top="20px";this.supportsFixedPosition=d.offsetTop===20||d.offsetTop===15;d.style.position=d.style.top="";c.style.overflow="hidden";c.style.position="relative";this.subtractsBorderForOverflowNotVisible=d.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i;a.removeChild(b);jQuery.offset.initialize=jQuery.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;jQuery.offset.initialize();if(jQuery.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(jQuery.curCSS(a,
"marginTop",true))||0;c+=parseFloat(jQuery.curCSS(a,"marginLeft",true))||0}return{top:b,left:c}},setOffset:function(a,b,c){var d=jQuery.curCSS(a,"position");if(d==="static")a.style.position="relative";var g=jQuery(a),i=g.offset(),m=jQuery.curCSS(a,"top",true),l=jQuery.curCSS(a,"left",true),n=d==="absolute"&&jQuery.inArray("auto",[m,l])>-1;d={};var t={};if(n)t=g.position();m=n?t.top:parseInt(m,10)||0;l=n?t.left:parseInt(l,10)||0;if(jQuery.isFunction(b))b=b.call(a,c,i);if(b.top!=null)d.top=b.top-i.top+
m;if(b.left!=null)d.left=b.left-i.left+l;"using"in b?b.using.call(a,d):g.css(d)}};jQuery.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(jQuery.curCSS(a,"marginTop",true))||0;c.left-=parseFloat(jQuery.curCSS(a,"marginLeft",true))||0;d.top+=parseFloat(jQuery.curCSS(b[0],"borderTopWidth",true))||0;d.left+=parseFloat(jQuery.curCSS(b[0],"borderLeftWidth",true))||
0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||document.body;a&&!/^body|html$/i.test(a.nodeName)&&jQuery.css(a,"position")==="static";)a=a.offsetParent;return a})}});jQuery.each(["Left","Top"],function(a,b){var c="scroll"+b;jQuery.fn[c]=function(d){var g=this[0],i;if(!g)return null;if(d!==x)return this.each(function(){if(i=T(this))i.scrollTo(!a?d:jQuery(i).scrollLeft(),a?d:jQuery(i).scrollTop());else this[c]=d});else return(i=
T(g))?"pageXOffset"in i?i[a?"pageYOffset":"pageXOffset"]:jQuery.support.boxModel&&i.document.documentElement[c]||i.document.body[c]:g[c]}});jQuery.each(["Height","Width"],function(a,b){var c=b.toLowerCase();jQuery.fn["inner"+b]=function(){return this[0]?jQuery.css(this[0],c,false,"padding"):null};jQuery.fn["outer"+b]=function(d){return this[0]?jQuery.css(this[0],c,false,d?"margin":"border"):null};jQuery.fn[c]=function(d){var g=this[0];if(!g)return d==null?null:this;if(jQuery.isFunction(d))return this.each(function(i){var m=
jQuery(this);m[c](d.call(this,i,m[c]()))});return"scrollTo"in g&&g.document?g.document.compatMode==="CSS1Compat"&&g.document.documentElement["client"+b]||g.document.body["client"+b]:g.nodeType===9?Math.max(g.documentElement["client"+b],g.body["scroll"+b],g.documentElement["scroll"+b],g.body["offset"+b],g.documentElement["offset"+b]):d===x?jQuery.css(g,c):this.css(c,typeof d==="string"?d:d+"px")}})})(window);


/* 2010-05-14 - SWFObject v2.2 - revision 408 - <http://code.google.com/p/swfobject/> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */
var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()}}function V(){var X=j.getElementsByTagName("body")[0];var aa=C(r);aa.setAttribute("type",q);var Z=X.appendChild(aa);if(Z){var Y=0;(function(){if(typeof Z.GetVariable!=D){var ab=Z.GetVariable("$version");if(ab){ab=ab.split(" ")[1].split(",");M.pv=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}else{if(Y<10){Y++;setTimeout(arguments.callee,10);return}}X.removeChild(aa);Z=null;H()})()}else{H()}}function H(){var ag=o.length;if(ag>0){for(var af=0;af<ag;af++){var Y=o[af].id;var ab=o[af].callbackFn;var aa={success:false,id:Y};if(M.pv[0]>0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad<ac;ad++){if(X[ad].getAttribute("name").toLowerCase()!="movie"){ah[X[ad].getAttribute("name")]=X[ad].getAttribute("value")}}P(ai,ah,Y,ab)}else{p(ae);if(ab){ab(aa)}}}}}else{w(Y,true);if(ab){var Z=z(Y);if(Z&&typeof Z.SetVariable!=D){aa.success=true;aa.ref=Z}ab(aa)}}}}}function z(aa){var X=null;var Y=c(aa);if(Y&&Y.nodeName=="OBJECT"){if(typeof Y.SetVariable!=D){X=Y}else{var Z=Y.getElementsByTagName(r)[0];if(Z){X=Z}}}return X}function A(){return !a&&F("6.0.65")&&(M.win||M.mac)&&!(M.wk&&M.wk<312)}function P(aa,ab,X,Z){a=true;E=Z||null;B={success:false,id:X};var ae=c(X);if(ae){if(ae.nodeName=="OBJECT"){l=g(ae);Q=null}else{l=ae;Q=X}aa.id=R;if(typeof aa.width==D||(!/%$/.test(aa.width)&&parseInt(aa.width,10)<310)){aa.width="310"}if(typeof aa.height==D||(!/%$/.test(aa.height)&&parseInt(aa.height,10)<137)){aa.height="137"}j.title=j.title.slice(0,47)+" - Flash Player Installation";var ad=M.ie&&M.win?"ActiveX":"PlugIn",ac="MMredirectURL="+encodeURI(O.location).toString().replace(/&/g,"%26")+"&MMplayerType="+ad+"&MMdoctitle="+j.title;if(typeof ab.flashvars!=D){ab.flashvars+="&"+ac}else{ab.flashvars=ac}if(M.ie&&M.win&&ae.readyState!=4){var Y=C("div");X+="SWFObjectNew";Y.setAttribute("id",X);ae.parentNode.insertBefore(Y,ae);ae.style.display="none";(function(){if(ae.readyState==4){ae.parentNode.removeChild(ae)}else{setTimeout(arguments.callee,10)}})()}u(aa,ab,X)}}function p(Y){if(M.ie&&M.win&&Y.readyState!=4){var X=C("div");Y.parentNode.insertBefore(X,Y);X.parentNode.replaceChild(g(Y),X);Y.style.display="none";(function(){if(Y.readyState==4){Y.parentNode.removeChild(Y)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.replaceChild(g(Y),Y)}}function g(ab){var aa=C("div");if(M.win&&M.ie){aa.innerHTML=ab.innerHTML}else{var Y=ab.getElementsByTagName(r)[0];if(Y){var ad=Y.childNodes;if(ad){var X=ad.length;for(var Z=0;Z<X;Z++){if(!(ad[Z].nodeType==1&&ad[Z].nodeName=="PARAM")&&!(ad[Z].nodeType==8)){aa.appendChild(ad[Z].cloneNode(true))}}}}}return aa}function u(ai,ag,Y){var X,aa=c(Y);if(M.wk&&M.wk<312){return X}if(aa){if(typeof ai.id==D){ai.id=Y}if(M.ie&&M.win){var ah="";for(var ae in ai){if(ai[ae]!=Object.prototype[ae]){if(ae.toLowerCase()=="data"){ag.movie=ai[ae]}else{if(ae.toLowerCase()=="styleclass"){ah+=' class="'+ai[ae]+'"'}else{if(ae.toLowerCase()!="classid"){ah+=" "+ae+'="'+ai[ae]+'"'}}}}}var af="";for(var ad in ag){if(ag[ad]!=Object.prototype[ad]){af+='<param name="'+ad+'" value="'+ag[ad]+'" />'}}aa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ah+">"+af+"</object>";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab<ac;ab++){I[ab][0].detachEvent(I[ab][1],I[ab][2])}var Z=N.length;for(var aa=0;aa<Z;aa++){y(N[aa])}for(var Y in M){M[Y]=null}M=null;for(var X in swfobject){swfobject[X]=null}swfobject=null})}}();return{registerObject:function(ab,X,aa,Z){if(M.w3&&ab&&X){var Y={};Y.id=ab;Y.swfVersion=X;Y.expressInstall=aa;Y.callbackFn=Z;o[o.length]=Y;w(ab,false)}else{if(Z){Z({success:false,id:ab})}}},getObjectById:function(X){if(M.w3){return z(X)}},embedSWF:function(ab,ah,ae,ag,Y,aa,Z,ad,af,ac){var X={success:false,id:ah};if(M.w3&&!(M.wk&&M.wk<312)&&ab&&ah&&ae&&ag&&Y){w(ah,false);K(function(){ae+="";ag+="";var aj={};if(af&&typeof af===r){for(var al in af){aj[al]=af[al]}}aj.data=ab;aj.width=ae;aj.height=ag;var am={};if(ad&&typeof ad===r){for(var ak in ad){am[ak]=ad[ak]}}if(Z&&typeof Z===r){for(var ai in Z){if(typeof am.flashvars!=D){am.flashvars+="&"+ai+"="+Z[ai]}else{am.flashvars=ai+"="+Z[ai]}}}if(F(Y)){var an=u(aj,am,ah);if(aj.id==ah){w(ah,true)}X.success=true;X.ref=an}else{if(aa&&A()){aj.data=aa;P(aj,am,ah,ac);return}else{w(ah,true)}}if(ac){ac(X)}})}else{if(ac){ac(X)}}},switchOffAutoHideShow:function(){m=false},ua:M,getFlashPlayerVersion:function(){return{major:M.pv[0],minor:M.pv[1],release:M.pv[2]}},hasFlashPlayerVersion:F,createSWF:function(Z,Y,X){if(M.w3){return u(Z,Y,X)}else{return undefined}},showExpressInstall:function(Z,aa,X,Y){if(M.w3&&A()){P(Z,aa,X,Y)}},removeSWF:function(X){if(M.w3){y(X)}},createCSS:function(aa,Z,Y,X){if(M.w3){v(aa,Z,Y,X)}},addDomLoadEvent:K,addLoadEvent:s,getQueryParamValue:function(aa){var Z=j.location.search||j.location.hash;if(Z){if(/\?/.test(Z)){Z=Z.split("?")[1]}if(aa==null){return L(Z)}var Y=Z.split("&");for(var X=0;X<Y.length;X++){if(Y[X].substring(0,Y[X].indexOf("="))==aa){return L(Y[X].substring((Y[X].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(a){var X=c(R);if(X&&l){X.parentNode.replaceChild(l,X);if(Q){w(Q,true);if(M.ie&&M.win){l.style.display="block"}}if(E){E(B)}}a=false}}}}();


function gi(b) {
    /*console.log("Running gi "+b);*/
    var a = document;
    if (a.getElementById && a.getElementById(b)) {
        return a.getElementById(b)
    } else {
        if (a.all && a.all(b)) {
            return a.all(b)
        } else {
            if (a.layers && a.layers[b]) {
                return a.layers[b]
            } else {
                return false
            }
        }
    }
}

function addMyLoadListener(a) {
    /**console.log("Running addMyLoadListener " + typeof(a));**/
    if (typeof window.addEventListener != "undefined") {
        window.addEventListener("load", a, false)
    } else {
        if (typeof document.addEventListener != "undefined") {
            document.addEventListener("load", a, false)
        } else {
            if (typeof window.attachEvent != "undefined") {
                window.attachEvent("onload", a)
            } else {
                var b = window.onload;
                if (typeof window.onload != "function") {
                    window.onload = a
                } else {
                    window.onload = function () {
                        b();
                        a()
                    }
                }
            }
        }
    }
}


function getCookie(d) {
    /**console.log("Running getCookie " + d);**/
    var f = d + "=",
        b = f.length,
        a = document.cookie.length,
        c = 0;
    while (c < a) {
        var e = c + b;
        if (document.cookie.substring(c, e) == f) {
            return getCookieVal(e)
        }
        c = document.cookie.indexOf(" ", c) + 1;
        if (c == 0) {
            break
        }
    }
    return ""
}

function getExpDate(a, c, b) {
    /**console.log("Running getExpDate " + a);**/
    var d = new Date();
    if (typeof a == "number") {
        d.setDate(d.getDate() + parseInt(a));
        d.setHours(d.getHours() + parseInt(c));
        d.setMinutes(d.getMinutes() + parseInt(b));
        return d.toGMTString()
    } else {
        return ""
    }
}

function setCookie(a, d, f, b, e, c) {
    document.cookie = a + "=" + escape(d) + ((f) ? "; expires=" + f : "") + ((b) ? "; path=" + b : "") + ((e) ? "; domain=" + e : "") + ((c) ? "; secure" : "")
}

function getCookieVal(b) {
    /**console.log("Running getCookieVal " + b);**/
    var a = document.cookie.indexOf(";", b);
    if (a == -1) {
        a = document.cookie.length
    }
    return unescape(document.cookie.substring(b, a))
}

function deleteCookie(a, b, c) {
    /**console.log("Running deleteCookie " + a);**/
    if (getCookie(a)) {
        document.cookie = a + "=" + ((b) ? "; path=" + b : "") + ((c) ? "; domain=" + c : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"
    }
}
addMyLoadListener(init_flash);
addMyLoadListener(init_postload);

function init_postload() 
{
    pseS("#searchForm input#s.text", "search for...");
    var a = gi("fl");
    if (a) {a.innerHTML += ' | <a href="http://validator.w3.org/check/referer?ss=1;outline=1;sp=1;debug">XHTML 1.1</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer?warning=0">CSS 2.1</a>';}
}




var sBASE = "";
var sfBASE = sBASE + "/swf/";
var vUP = sfBASE + "u.swf";
var vPLYR = sfBASE + "p.swf";
var vBASE = sBASE + "/flv/";
var ivBASE = sBASE + "/img/vid/";
var GFV = {
    volume: "60",
    bufferlength: "2",
    repeat: "none",
    backcolor: "FFFFFF",
    screencolor: "FFFFFF",
    controlbar: "none",
    autostart: "true",
    icons: "false",
    oncomplete: "none",
    stretching: "exactfit"
};
var FV = {
    volume: "50",
    bufferlength: "6",
    controlbar: "none",
    icons: "false",
    repeat: "none",
    autostart: "true",
    stretching: "fill"
};
var vPAR = {
    quality: "best",
    bgcolor: "FFFFFF",
    menu: "false",
    wmode: "opaque",
    allowscriptaccess: "always",
    allowfullscreen: "true",
    salign: "TL"
};
var vID = {
    id: "vhplayer",
    name: "vhplayer"
};
var vhplayer = null;

function playerReady(a) {
    vhplayer = document.getElementById(a.id);
    vhplayer.addModelListener("STATE", "stateMonitor")
}

function stateMonitor(b) {
    /*console.log("stateMonitor "+b.id+" "+b.newstate);*/
    if (b.newstate == "COMPLETED") {
        setTimeout(function () {
            $("#CGVPLAYgreen").fadeOut("slow");
            setTimeout(function () {
                gi("CGVPLAYgreen").innerHTML = '<a href="http://www.billdunbar.com/contact/" title="Contact BDA Today" class="nolnk"><img src="/logo.png" width="100" style="padding-left:20px" /></a>';
                $("#CGVPLAYgreen").fadeIn("slow")
            },
            3000)
        },
        1000)
    }
    /*var a="";for(itm in b){if(typeof(b[itm])=="object"){a+=itm+":\n";for(ent in b[itm]){a+="  "+ent+": "+b[itm][ent]+"\n"}}else{a+=itm+": "+b[itm]+"\n"}}
		console.log(a);
		*/
}

function init_flash() {
    /**console.log("Running init_flash");**/
    if (gi("GVPLAYgreen")) {
        /**console.log("Running init_greenscreen");**/
        var a = getCookie("VIDEO");
        if (!getCookie("VIDEO")) {
            a = 0
        }
        a = (a * 1);
        switch (a) {
        case 0:
            GFV.file = vBASE + "dan1.flv";
            break;
        case 1:
            GFV.file = vBASE + "cheryl2.flv";
            break;
        case 2:
            GFV.file = vBASE + "terri3.flv";
            break;
        case 3:
            GFV.file = vBASE + "cheryl1.flv";
            break;
        case 4:
            GFV.file = vBASE + "terri4.flv";
            break;
        case 5:
            GFV.file = vBASE + "dan2.flv";
            break;
        case 6:
            GFV.file = vBASE + "cheryl2.flv";
            break;
        case 7:
            GFV.file = vBASE + "terri5.flv";
            break;
        case 8:
            GFV.file = vBASE + "dan3.flv";
            break;
        default:
            GFV.file = vBASE + "cheryl3.flv";
            a = 0;
            break
        }
        a += 1;
        /**console.log("File is " + GFV.file);**/
        /**console.log("A is " + a);**/
        setCookie("VIDEO", a + "", 100, "/", "www.billdunbar.com");
        GFV.stretching = "exactfit";
        swfobject.embedSWF(vPLYR, "GVPLAYgreen", "100%", "100%", "9", vUP, GFV, vPAR, vID);
        return
    }
    if (gi("VIDchart")) {
        FV.autostart = "false";
        swfobject.embedSWF(sfBASE + "chart.swf", "VIDchart", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDbdawebinar")) {
        FV.autostart = "false";
        swfobject.embedSWF(sfBASE + "BDA_Webinar.swf", "VIDbdawebinar", "820", "618", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDicd9updates")) {
        FV.autostart = "false";
        swfobject.embedSWF("http://www.authorstream.com/player/player.swf?p=143445_633687565211903750", "VIDicd9updates", "620", "516", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDicd9new2010")) {
        FV.autostart = "false";
        swfobject.embedSWF("http://www.authorstream.com/player/player.swf?p=239404_633886155417278750", "VIDicd9new2010", "620", "516", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDicd9new2011")) {
        FV.autostart = "false";
        swfobject.embedSWF("http://www.authorstream.com/player/player.swf?p=500964_634190868922252500", "VIDicd9new2011", "620", "516", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDicd9revised2010")) {
        FV.autostart = "false";
        swfobject.embedSWF("http://www.authorstream.com/player/player.swf?p=239812_633887081817278750", "VIDicd9revised2010", "620", "516", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDicd9invalid2010")) {
        FV.autostart = "false";
        swfobject.embedSWF("http://www.authorstream.com/player/player.swf?p=242348_633891378910328750", "VIDicd9invalid2010", "620", "516", "9", vUP, FV, vPAR, vID)
    }
    if (gi("GVPLAYterri")) {
        FV.file = vBASE + "xml/terri.xml";
        swfobject.embedSWF(vPLYR, "GVPLAYterri", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDbenchmark")) {
        swfobject.embedSWF(vPLYR, "VIDbenchmark", "368", "240", "9", vUP, {
            file: vBASE + "BDA_benchmark3.flv",
            bufferlength: "2",
            repeat: "none",
            backcolor: "FFFFFF",
            screencolor: "111111",
            controlbar: "none",
            autostart: "true",
            icons: "false"
        },
        vPAR, vID)
    }
    if (gi("VIDterricontact")) {
        FV.file = vBASE + "terricontact.flv";
        FV.autostart = "false";
        FV.image = ivBASE + "VIDterricontact.jpg";
        swfobject.embedSWF(vPLYR, "VIDterricontact", "220", "166", "9", vUP, FV, vPAR, vID)
    }
    if (gi("myContent")) {
        FV.file = vBASE + "all.xml";
        swfobject.embedSWF(vPLYR, "myContent", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("GVPLAYcheryl")) {
        FV.file = vBASE + "xml/cheryl.xml";
        swfobject.embedSWF(vPLYR, "GVPLAYcheryl", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDprelim")) {
        FV.file = vBASE + "VIDprelim.flv";
        FV.autostart = "false";
        swfobject.embedSWF(vPLYR, "VIDprelim", "360", "240", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDdavestaff")) {
        FV.file = vBASE + "5dave-staff.flv";
        FV.autostart = "false";
        FV.image = ivBASE + "VIDdavestaff.jpg";
        swfobject.embedSWF(vPLYR, "VIDdavestaff", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDsuestaff")) {
        FV.file = vBASE + "suestaff.flv";
        FV.autostart = "false";
        FV.image = ivBASE + "VIDsuestaff.jpg";
        swfobject.embedSWF(vPLYR, "VIDsuestaff", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDstaff0")) {
        FV.file = vBASE + "staff0.flv";
        FV.autostart = "false";
        swfobject.embedSWF(vPLYR, "VIDstaff0", "45%", "45%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDuc0")) {
        FV.file = vBASE + "uc0.flv";
        FV.autostart = "false";
        swfobject.embedSWF(vPLYR, "VIDuc0", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("playerohs")) {
        FV.file = vBASE + "testimonials2.flv";
        FV.volume = "60";
        FV.image = ivBASE + "testimonials00010.png";
        swfobject.embedSWF(vPLYR, "playerohs", "240", "360", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDtestimonials1")) {
        FV.file = vBASE + "testimonials2.flv";
        FV.volume = "60";
        swfobject.embedSWF(vPLYR, "VIDtestimonials1", "360", "240", "9", vUP, FV, vPAR, vID)
    }
    if (gi("VIDtestimonials1a")) {
        FV.file = vBASE + "testimonials2.flv";
        FV.icons = "true";
        FV.controlbar = "bottom";
        FV.image = ivBASE + "testimonials00010.png";
        swfobject.embedSWF(vPLYR, "VIDtestimonials1a", "360", "240", "9", vUP, FV, vPAR, vID)
    }
    if (gi("GVIDcheryl1")) {
        FV.file = vBASE + "cheryl1.flv";
        swfobject.embedSWF(vPLYR, "GVIDcheryl1", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("GVIDcheryl2")) {
        FV.file = vBASE + "cheryl2.flv";
        swfobject.embedSWF(vPLYR, "GVIDcheryl2", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("GVIDcheryl3")) {
        FV.file = vBASE + "cheryl3.flv";
        swfobject.embedSWF(vPLYR, "GVIDcheryl3", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("GVIDterri3")) {
        FV.file = vBASE + "terri3.flv";
        swfobject.embedSWF(vPLYR, "GVIDterri3", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("GVIDterri4")) {
        FV.file = vBASE + "terri4.flv";
        swfobject.embedSWF(vPLYR, "GVIDterri4", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("GVIDterri5")) {
        FV.file = vBASE + "terri5.flv";
        swfobject.embedSWF(vPLYR, "GVIDterri5", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("GVIDdan1")) {
        FV.file = vBASE + "dan2.flv";
        FV.stretching = "exactfit";
        swfobject.embedSWF(vPLYR, "GVIDdan1", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("GVIDdan2")) {
        FV.file = vBASE + "dan2.flv";
        FV.stretching = "exactfit";
        swfobject.embedSWF(vPLYR, "GVIDdan2", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    if (gi("GVIDdan3")) {
        FV.file = vBASE + "dan3.flv";
        FV.stretching = "exactfit";
        swfobject.embedSWF(vPLYR, "GVIDdan3", "100%", "100%", "9", vUP, FV, vPAR, vID)
    }
    vID = {
        id: "player",
        name: "player"
    };
    return
}

function tb_init(a) {
    /**console.log("Running tb_init " + typeof(a));**/
    $(a).click(function () {
        var c = this.title || this.name || null;
        var d = this.href || this.alt;
        var b = this.rel || false;
        tb_show(c, d, b);
        this.blur();
        return false
    })
}

function tb_show(a, g, f) {
    try {
        if (typeof document.body.style.maxHeight === "undefined") {
            $("body", "html").css({
                height: "100%",
                width: "100%"
            });
            $("html").css("overflow", "hidden");
            if (document.getElementById("TB_HideSelect") === null) {
                $("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");
                $("#TB_overlay").click(tb_remove)
            }
        } else {
            if (document.getElementById("TB_overlay") === null) {
                $("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");
                $("#TB_overlay").click(tb_remove)
            }
        }
        $("#TB_overlay").addClass("TB_overlayBG");
        if (a === null) {
            a = ""
        }
        $("body").append("<div id='TB_load'><img src='" + sBASE + "/img/ani/ajax-loader1.gif' /></div>");
        $("#TB_load").show();
        var e;
        if (g.indexOf("?") !== -1) {
            e = g.substr(0, g.indexOf("?"))
        } else {
            e = g
        }
        var b = g.replace(/^[^\?]+\??/, "");
        var c = tb_parseQuery(b);
        TB_WIDTH = (c.width * 1) + 30 || 630;
        TB_HEIGHT = (c.height * 1) + 40 || 440;
        ajaxContentW = TB_WIDTH - 30;
        ajaxContentH = TB_HEIGHT - 45;
        if (g.indexOf("TB_iframe") != -1) {
            urlNoQuery = g.split("TB_");
            $("#TB_iframeContent").remove();
            if (c.modal != "true") {
                $("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>" + a + "</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'> </a></div></div><iframe frameborder='0' hspace='0' src='" + urlNoQuery[0] + "'id='TB_iframeContent' name='TB_iframeContent" + Math.round(Math.random() * 1000) + "' onload='tb_showIframe()' style='width:" + (ajaxContentW + 29) + "px;height:" + (ajaxContentH + 17) + "px;' > </iframe>")
            } else {
                $("#TB_overlay").unbind();
                $("#TB_window").append("<iframe frameborder='0' hspace='0' src='" + urlNoQuery[0] + "' id='TB_iframeContent' name='TB_iframeContent" + Math.round(Math.random() * 1000) + "' onload='tb_showIframe()' style='width:" + (ajaxContentW + 29) + "px;height:" + (ajaxContentH + 17) + "px;'> </iframe>")
            }
        } else {
            if ($("#TB_window").css("display") != "block") {
                if (c.modal != "true") {
                    $("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>" + a + "</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'> </a></div></div><div id='TB_ajaxContent' style='width:" + ajaxContentW + "px;height:" + ajaxContentH + "px'></div>")
                } else {
                    $("#TB_overlay").unbind();
                    $("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:" + ajaxContentW + "px;height:" + ajaxContentH + "px;'></div>")
                }
            } else {
                $("#TB_ajaxContent")[0].style.width = ajaxContentW + "px";
                $("#TB_ajaxContent")[0].style.height = ajaxContentH + "px";
                $("#TB_ajaxContent")[0].scrollTop = 0;
                $("#TB_ajaxWindowTitle").html(a)
            }
        }
        $("#TB_closeWindowButton").click(tb_remove);
        if (g.indexOf("TB_inline") != -1) {
            $("#TB_ajaxContent").append($("#" + c.inlineId).children());
            $("#TB_window").unload(function () {
                $("#" + c.inlineId).append($("#TB_ajaxContent").children())
            });
            tb_position();
            $("#TB_load").remove();
            $("#TB_window").css({
                display: "block"
            })
        } else {
            if (g.indexOf("TB_iframe") != -1) {
                tb_position();
                if ($.browser.safari) {
                    $("#TB_load").remove();
                    $("#TB_window").css({
                        display: "block"
                    })
                }
            } else {
                $("#TB_ajaxContent").load(g += "&random=" + (new Date().getTime()), function () {
                    tb_position();
                    $("#TB_load").remove();
                    tb_init("#TB_ajaxContent a.thickbox");
                    $("#TB_window").css({
                        display: "block"
                    })
                })
            }
        }
        $("#TB_window input:first").focus();
        $("#TB_window form").keypress(function (h) {
            if ((h.which && h.which == 13) || (h.keyCode && h.keyCode == 13)) {
                $("#TB_window form input[type=submit]").click();
                return false
            } else {
                return true
            }
        });
        if (!c.modal) {
            document.onkeyup = function (h) {
                if (h == null) {
                    keycode = event.keyCode
                } else {
                    keycode = h.which
                }
                if (keycode == 27) {
                    tb_remove()
                }
            }
        }
    } catch(d) {}
}

function tb_showIframe() {
    $("#TB_load").remove();
    $("#TB_window").css({
        display: "block"
    })
}

function tb_position() {
    $("#TB_window").css({
        marginLeft: "-" + parseInt((TB_WIDTH / 2), 10) + "px",
        width: TB_WIDTH + "px"
    });
    if (! (jQuery.browser.msie && jQuery.browser.version < 7)) {
        $("#TB_window").css({
            marginTop: "-" + parseInt((TB_HEIGHT / 2), 10) + "px"
        })
    }
}

function tb_getPageSize() {
    var b, c, a, d, e;
    b = document;
    d = window;
    c = b.documentElement;
    a = d.innerWidth || self.innerWidth || (c && c.clientWidth) || b.body.clientWidth;
    e = d.innerHeight || self.innerHeight || (c && c.clientHeight) || b.body.clientHeight;
    return [a, e]
}

function tb_parseQuery(b) {
    var c = {};
    if (!b) {
        return c
    }
    var g = b.split(/[;&]/);
    for (var d = 0; d < g.length; d++) {
        var f = g[d].split("=");
        if (!f || f.length != 2) {
            continue
        }
        var a = unescape(f[0]);
        var e = unescape(f[1]);
        e = e.replace(/\+/g, " ");
        c[a] = e
    }
    return c
}

function tb_remove() {
    $("#TB_imageOff,#TB_closeWindowButton").unbind("click");
    $("#TB_window").fadeOut("fast", function () {
        $("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()
    });
    $("#TB_load").remove();
    if (typeof document.body.style.maxHeight == "undefined") {
        $("body", "html").css({
            height: "auto",
            width: "auto"
        });
        $("html").css("overflow", "")
    }
    document.onkeydown = "";
    document.onkeyup = "";
    return false
}















function pseS(a, b) {
    $(a).each(function () {
        if ($.trim(this.value) == "") {
            this.value = b
        }
    });
    $(a).focus(function () {
        if (this.value == b) {
            this.value = ""
        }
    });
    $(a).blur(function () {
        if ($.trim(this.value) == "") {
            this.value = b
        }
    })
} (function (g) {
    /**console.log("Loading JQuery");**/
    Number.prototype.pxToEm = String.prototype.pxToEm = function (m) {
        var n = this;
        if (n.constructor == String) {
            n = parseInt(n)
        }
        if (!m) {
            var m = g("body")
        }
        if (g(m).size() > 0) {
            var f = n * (1 / (parseInt(g(m).css("font-size")))) + "em";
            return f
        } else {
            return "E"
        }
    };
    g.fn.equalHeights = function (f) {
        g(this).each(function () {
            var n = 0;
            g(this).children().each(function (o) {
                if (g(this).height() > n) {
                    n = g(this).height()
                }
            });
            if (!f || !Number.prototype.pxToEm) {
                n = n.pxToEm(g(this))
            }
            var m = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 6.0") != -1);
            if (g.browser.msie && (m)) {
                g(this).children().css({
                    height: n
                })
            }
            g(this).children().css({
                "min-height": n
            })
        });
        return this
    };
    g.fn.equalWidths = function (f) {
        g(this).each(function () {
            var m = 0;
            g(this).children().each(function (o) {
                if (g(this).width() > m) {
                    m = g(this).width()
                }
            });
            if (!f || !Number.prototype.pxToEm) {
                m = m.pxToEm(g(this))
            }
            var n = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 6.0") != -1);
            if (g.browser.msie && (n)) {
                g(this).children().css({
                    width: m
                })
            }
            g(this).children().css({
                "min-width": m
            })
        });
        return this
    };
    g.fn.extend({
        fadeInFg: function (m, f) {
            return g(this).css({
                opacity: 0.0001
            }).fadeTo(m, 0.9999, f)
        },
        fadeOutFg: function (m, f) {
            return g(this).css({
                opacity: 0.9999
            }).fadeTo(m, 0.0001, f)
        }
    });
    g.fn.hoverIntent = function (o, n) {
        var p = {
            sensitivity: 7,
            interval: 100,
            timeout: 0
        };
        p = g.extend(p, n ? {
            over: o,
            out: n
        } : o);
        var r, q, f, u;
        var v = function (w) {
            r = w.pageX;
            q = w.pageY
        };
        var t = function (w, x) {
            x.hoverIntent_t = clearTimeout(x.hoverIntent_t);
            if ((Math.abs(f - r) + Math.abs(u - q)) < p.sensitivity) {
                g(x).unbind("mousemove", v);
                x.hoverIntent_s = 1;
                return p.over.apply(x, [w])
            } else {
                f = r;
                u = q;
                x.hoverIntent_t = setTimeout(function () {
                    t(w, x)
                },
                p.interval)
            }
        };
        var m = function (w, x) {
            x.hoverIntent_t = clearTimeout(x.hoverIntent_t);
            x.hoverIntent_s = 0;
            return p.out.apply(x, [w])
        };
        var s = function (y) {
            var x = (y.type == "mouseover" ? y.fromElement : y.toElement) || y.relatedTarget;
            while (x && x != this) {
                try {
                    x = x.parentNode
                } catch(y) {
                    x = this
                }
            }
            if (x == this) {
                return false
            }
            var w = jQuery.extend({},
            y);
            var z = this;
            if (z.hoverIntent_t) {
                z.hoverIntent_t = clearTimeout(z.hoverIntent_t)
            }
            if (y.type == "mouseover") {
                f = w.pageX;
                u = w.pageY;
                g(z).bind("mousemove", v);
                if (z.hoverIntent_s != 1) {
                    z.hoverIntent_t = setTimeout(function () {
                        t(w, z)
                    },
                    p.interval)
                }
            } else {
                g(z).unbind("mousemove", v);
                if (z.hoverIntent_s == 1) {
                    z.hoverIntent_t = setTimeout(function () {
                        m(w, z)
                    },
                    p.timeout)
                }
            }
        };
        return this.mouseover(s).mouseout(s)
    };
    g.fn.superfish = function (n) {
        var r = g.fn.superfish,
            m = r.c,
            q = g(['<span class="', m.arrowClass, '"> &#187;</span>'].join("")),
            f = function () {
            var t = g(this),
                u = o(t);
            clearTimeout(u.sfTimer);
            t.showSuperfishUl().siblings().hideSuperfishUl()
        },
            p = function () {
            var t = g(this),
                v = o(t),
                u = r.op;
            clearTimeout(v.sfTimer);
            v.sfTimer = setTimeout(function () {
                u.retainPath = (g.inArray(t[0], u.$path) > -1);
                t.hideSuperfishUl();
                if (u.$path.length && t.parents(["li.", u.hoverClass].join("")).length < 1) {
                    f.call(u.$path)
                }
            },
            u.delay)
        },
            o = function (t) {
            var u = t.parents(["ul.", m.menuClass, ":first"].join(""))[0];
            r.op = r.o[u.serial];
            return u
        },
            s = function (t) {
            t.addClass(m.anchorClass).append(q.clone())
        };
        return this.each(function () {
            var t = this.serial = r.o.length;
            var v = g.extend({},
            r.defaults, n);
            v.$path = g("li." + v.pathClass, this).slice(0, v.pathLevels).each(function () {
                g(this).addClass([v.hoverClass, m.bcClass].join(" ")).filter("li:has(ul)").removeClass(v.pathClass)
            });
            r.o[t] = r.op = v;
            g("li:has(ul)", this)[(g.fn.hoverIntent && !v.disableHI) ? "hoverIntent" : "hover"](f, p).each(function () {
                if (v.autoArrows) {
                    s(g(">a:first-child", this))
                }
            }).not("." + m.bcClass).hideSuperfishUl();
            var u = g("a", this);
            u.each(function (x) {
                var w = u.eq(x).parents("li");
                u.eq(x).focus(function () {
                    f.call(w)
                }).blur(function () {
                    p.call(w)
                })
            });
            v.onInit.call(this)
        }).each(function () {
            var t = [m.menuClass];
            if (r.op.dropShadows && !(g.browser.msie && g.browser.version < 7)) {
                t.push(m.shadowClass)
            }
            g(this).addClass(t.join(" "))
        })
    };
    var j = g.fn.superfish;
    j.o = [];
    j.op = {};
    j.IE7fix = function () {
        var f = j.op;
        if (g.browser.msie && g.browser.version > 6 && f.dropShadows && f.animation.opacity != undefined) {
            this.toggleClass(j.c.shadowClass + "-off")
        }
    };
    j.c = {
        bcClass: "sf-breadcrumb",
        menuClass: "sf-js-enabled",
        anchorClass: "sf-with-ul",
        arrowClass: "sf-sub-indicator",
        shadowClass: "sf-shadow"
    };
    j.defaults = {
        hoverClass: "sfHover",
        pathClass: "overideThisToUse",
        pathLevels: 1,
        delay: 800,
        animation: {
            opacity: "show"
        },
        speed: "normal",
        autoArrows: true,
        dropShadows: true,
        disableHI: false,
        onInit: function () {},
        onBeforeShow: function () {},
        onShow: function () {},
        onHide: function () {}
    };
    g.fn.extend({
        hideSuperfishUl: function () {
            var m = j.op,
                f = (m.retainPath === true) ? m.$path : "";
            m.retainPath = false;
            var n = g(["li.", m.hoverClass].join(""), this).add(this).not(f).removeClass(m.hoverClass).find(">ul").hide().css("visibility", "hidden");
            m.onHide.call(n);
            return this
        },
        showSuperfishUl: function () {
            var m = j.op,
                f = j.c.shadowClass + "-off",
                n = this.addClass(m.hoverClass).find(">ul:hidden").css("visibility", "visible");
            j.IE7fix.call(n);
            m.onBeforeShow.call(n);
            n.animate(m.animation, m.speed, function () {
                j.IE7fix.call(n);
                m.onShow.call(n)
            });
            return this
        }
    });
    g.fn.fgSlideShow = function (f) {
        f = g.extend({
            controls: false,
            autoplay: true,
            continuous: true,
            timer: 5000,
            transitionSpeed: 1000,
            prevText: "Previous",
            nextText: "Next",
            playText: "Play",
            pauseText: "Pause",
            transitionIn: "fadeInFg",
            transitionOut: "fadeOutFg",
            startDelay: 3000,
            items: "p"
        },
        f);
        g(this).each(function () {
            if (g.fn.equalHeights && g.fn.equalWidths) {
                g(this).equalHeights(true).equalWidths(true).css({
                    height: g(this).find(f.items).eq(0).height(),
                    width: g(this).find(f.items).eq(0).width()
                })
            }
            var m = g(this).find(f.items + ":gt(0)").hide();
            g(this).find(f.items + ":first").addClass("firstSlide").end().find(f.items + ":last").addClass("lastSlide");
            var n = g(this).find(f.items);
            var o = {
                currPos: 0,
                currSlide: null,
                timeout: null,
                state: "play",
                pause: function () {
                    if (o.timeout) {
                        clearTimeout(o.timeout)
                    }
                    o.state = "pause"
                },
                play: function () {
                    if (o.state == "play") {
                        o.timeout = setTimeout(o.showNext, f.timer)
                    }
                },
                showNext: function () {
                    o.currSlide = n[o.currPos];
                    var p;
                    if (g(o.currSlide).is(".lastSlide")) {
                        n.not(":first, :last").css({
                            opacity: 0.0001
                        });
                        g(o.currSlide)[f.transitionOut](f.transitionSpeed);
                        p = n[0];
                        o.currPos = 0
                    } else {
                        p = n[o.currPos + 1];
                        o.currPos += 1
                    }
                    g(p).show()[f.transitionIn](f.transitionSpeed);
                    o.play()
                }
            };
            if (f.autoplay) {
                setTimeout(o.play, f.startDelay)
            } else {
                o.pause()
            }
        })
    };
		
		
		
    g.fn.newWindow = function () {
        g(this).click(function () {
            var f = window.open(g(this).attr("href"), "_blank").focus();
            return false
        });
        g(this).attr("title", "* New Window");
        return g(this)
    };
    g.fn.goBack = function () {
        g(this).click(function () {
            try {
                history.go(-1)
            } catch(f) {
                try {
                    window.history.back()
                } catch(m) {}
            }
            return false
        })
    };
    g.fn.goTop = function () {
        g(this).mousedown(function () {
            g(this).attr("href", "");
            self.scrollTo(0, 0);
            return false
        })
    };
    g.fn.zbform = function () {
        g("p", this).removeClass("alt");
        g("p:not(:hidden):odd", this).addClass("alt");
        return g(this)
    };
    g.fn.textDropShadow = function () {
        g(this).html('<span class="shadow">' + g(this).html() + "</span><span>" + g(this).html() + "</span>");
        return g(this)
    };

    function d(m) {
        m = m.replace(/left|top/g, "0px");
        m = m.replace(/right|bottom/g, "100%");
        m = m.replace(/center/g, "50%");
        m = m.replace(/([0-9\.]+)(\s|\)|$)/g, "$1px$2");
        var f = m.match(/(-?[0-9\.]+)(px|\%|em|pt)\s(-?[0-9\.]+)(px|\%|em|pt)/);
        return [parseFloat(f[1], 10), f[2], parseFloat(f[3], 10), f[4]]
    }
    g.fx.step.backgroundPosition = function (m) {
        if (!m.bgPosReady) {
            var f = $.curCSS(m.elem, "backgroundPosition");
            if (!f) {
                f = "0px 0px"
            }
            f = d(f);
            m.start = [f[0], f[2]];
            var p = d(m.options.curAnim.backgroundPosition);
            m.end = [p[0], p[2]];
            m.unit = [p[1], p[3]];
            m.bgPosReady = true
        }
        var o = [];
        o[0] = ((m.end[0] - m.start[0]) * m.pos) + m.start[0] + m.unit[0];
        o[1] = ((m.end[1] - m.start[1]) * m.pos) + m.start[1] + m.unit[1];
        try {
            m.elem.style.backgroundPosition = o[0] + " " + o[1]
        } catch(n) {}
    };
    g("body").addClass("jse");
    g("ul#NavM").superfish({
        delay: 300,
        animation: {
            opacity: "show",
            height: "show"
        },
        speed: "fast",
        autoArrows: false,
        dropShadows: false
    });
		
		
		
    g(".continuebtn").click(function () {
        g(this).addClass("H");
        g(".fsubmit .ani").removeClass("H").addClass("S");
        return true
    });
		
		
		
    var e = "No";
    e = g("#user_callback").val();
    if (e == "Yes") {
        g("#user_callback").attr("checked", "checked");
        g("div.callbackout").show()
    }
		
		
    g('#ContentW input[type="text"], #ContentW input:password, #ContentW select').focus(function () {
        g(".cf2 .required:first").trigger("blur");
        g(this).addClass("focusField")
    }).blur(function () {g(this).removeClass("focusField")});
		
		
    g("#user_callback").removeAttr("checked").click(function () {
        g("div.callbackout").toggle()
    });
		
		
    g("#RW").fgSlideShow({ timer: 10000,items: "p.ritem"});
    g("#TW").fgSlideShow({timer: 7000,items: "p.titem"});
    g("#ContentW p.ritem, #ContentW p.titem").click(function () {window.location = g(this + " a:first").attr("href");});
		
		
		
    g("#formcontrol #pptimg").mousedown(function () {
        g("#formcontrol #pptimg").hide("slow");
        g("#formcontrol #pptform").fadeIn("20000")
    });
		
		
		
    g(".cf2 .required:first").focus();
		
		
		
		
    g("#tblogin, #tflogin").click(function () {
        var f = this.title || null;
        tb_show(f, "/wp-login.php?TB_inline&height=250&width=500&inlineId=modalform", false);
        this.blur();
        return false
    });
		
		
		
    var c = false,
        a = g("#error_div p").length,
        k = a;
    if (k > 0) {
        g("#prelim_7, #prelim_8").hide();
        var h = g("#user_practice_specialty6").attr("checked");
        var b = g("#user_practice_specialty7").attr("checked");
        if (h || b) {
            g("#prelim_9, #prelim_10, #prelim_11").hide()
        }
    } else {
        g("#prelim_1, #prelim_2, #prelim_3, #prelim_4, #prelim_5, #prelim_6, #prelim_7, #prelim_8, #prelim_9,#prelim_10, #prelim_11, #formprelim .fsubmit").hide()
    }
    g("#user_practice_specialty6").click(function () {
        c = true;
        g("#prelim_9, #prelim_10, #prelim_11, #prelim_3, #prelim_4").hide();
        g("#prelim_1,#prelim_2").fadeIn("2000");
        g("#formprelim").zbform()
    });
    g("#user_practice_specialty7").click(function () {
        c = true;
        g("#prelim_9, #prelim_10, #prelim_11, #prelim_2, #prelim_4").hide();
        g("#prelim_1,#prelim_3").fadeIn("2000");
        g("#formprelim").zbform()
    });
    g("#user_practice_specialty0, #user_practice_specialty1, #user_practice_specialty2, #user_practice_specialty3, #user_practice_specialty4, #user_practice_specialty5").click(function () {
        c = false;
        g("#prelim_1,#prelim_2,#prelim_3").hide();
        g("#prelim_4").fadeIn("2000");
        g("#formprelim").zbform()
    });
    g("#prelim_2 input, #prelim_3 input").click(function () {
        g("#prelim_4").fadeIn("2000");
        g("#formprelim").zbform()
    }).change(function () {
        g("#prelim_4").fadeIn("2000");
        g("#formprelim").zbform()
    });
    g("#prelim_4 input").change(function () {
        g("#prelim_5").fadeIn("2000");
        g("#formprelim").zbform()
    }).click(function () {
        g("#prelim_5").fadeIn("2000");
        g("#formprelim").zbform()
    });
    g("#prelim_5 input").change(function () {
        g("#prelim_6").fadeIn("2000");
        g("#formprelim").zbform()
    }).click(function () {
        g("#prelim_6").fadeIn("2000");
        g("#formprelim").zbform()
    });
    g("#user_currently_use_emr1").click(function () {
        g("#prelim_7").fadeIn("2000");
        g("#formprelim").zbform()
    });
    g("#user_currently_use_emr0").click(function () {
        g("#prelim_7,#prelim_8").hide();
        if (!c) {
            g("#prelim_9").fadeIn("2000");
            g(".fsubmit").hide()
        } else {
            g(".fsubmit").fadeIn("2000")
        }
        g("#formprelim").zbform()
    });
    g("#user_emr_choose_service_level0, #user_emr_choose_service_level1").click(function () {
        g("#prelim_8").hide();
        if (!c) {
            g("#prelim_9").fadeIn("2000");
            g(".fsubmit").hide()
        } else {
            g(".fsubmit").fadeIn("2000")
        }
        g("#formprelim").zbform()
    });
    g("#user_emr_choose_service_level2").click(function () {
        g("#prelim_8").fadeIn("2000");
        g("#formprelim").zbform();
        g(".fsubmit").hide()
    });
    g("#prelim_8 input").change(function () {
        if (!c) {
            g("#prelim_9").fadeIn("2000")
        } else {
            g(".fsubmit").fadeIn("2000")
        }
        g("#formprelim").zbform()
    }).click(function () {
        if (!c) {
            g("#prelim_9").fadeIn("2000")
        } else {
            g(".fsubmit").fadeIn("2000")
        }
        g("#formprelim").zbform()
    });
    g("#prelim_9 input").change(function () {
        g("#prelim_10").fadeIn("2000");
        g("#formprelim").zbform()
    }).click(function () {
        g("#prelim_10").fadeIn("2000");
        g("#formprelim").zbform()
    });
    g("#prelim_10 input").change(function () {
        g("#prelim_11").fadeIn("2000");
        g("#formprelim").zbform()
    }).click(function () {
        g("#prelim_11").fadeIn("2000");
        g("#formprelim").zbform()
    });
    g("#prelim_11 input").change(function () {
        g(".fsubmit").fadeIn("2000");
        g("#formprelim").zbform()
    }).click(function () {
        g(".fsubmit").fadeIn("2000");
        g("#formprelim").zbform()
    })
		
		
		
		g("a, a[rel=external], a.external").not("[href^=/]").not("[href^=#]").not("[href^=#]").not("[href*=billdunbar]").newWindow();
    g("#back, #goBack, a.goback").goBack();
    g("#tLk, a.gotop").goTop();
    g(".privacynotice").mouseover(function () {
        $(this).addClass("str")
    }).mouseout(function () {
        $(this).removeClass("str")
    });

		
})(jQuery);