
(function(e,i){function r(){if(!b.isReady){try{q.documentElement.doScroll("left")}catch(a){setTimeout(r,1);return}b.ready()}}function n(a,c){c.src?b.ajax({url:c.src,async:false,dataType:"script"}):b.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function A(a,c,d,g,f,l){var m=a.length;if(typeof c==="object"){for(var z in c)A(a,z,c[z],g,f,d);return a}if(d!==i){g=!l&&g&&b.isFunction(d);for(z=0;z<m;z++)f(a[z],c,g?d.call(a[z],z,f(a[z],c)):d,l);return a}return m?f(a[0],c):i}function x(){return(new Date).getTime()}function u(){return false}function F(){return true}function N(a,c,d){d[0].type=a;return b.event.handle.apply(c,d)}function L(a){var c,d=[],g=[],f=arguments,l,m,z,s,y,E;m=b.data(this,"events");if(!(a.liveFired===this||!m||!m.live||a.button&&a.type==="click")){a.liveFired=this;var I=m.live.slice(0);for(s=0;s<I.length;s++){m=I[s];m.origType.replace(ma,"")===a.type?g.push(m.selector):I.splice(s--,1)}l=b(a.target).closest(g,a.currentTarget);y=0;for(E=l.length;y<E;y++)for(s=0;s<I.length;s++){m=I[s];if(l[y].selector===m.selector){z=l[y].elem;g=null;if(m.preType==="mouseenter"||m.preType==="mouseleave")g=b(a.relatedTarget).closest(m.selector)[0];if(!g||g!==z)d.push({elem:z,handleObj:m})}}y=0;for(E=d.length;y<E;y++){l=d[y];a.currentTarget=l.elem;a.data=l.handleObj.data;a.handleObj=l.handleObj;if(l.handleObj.origHandler.apply(l.elem,f)===false){c=false;break}}return c}}function Q(a,c){return"live."+(a&&a!=="*"?a+".":"")+c.replace(/\./g,"`").replace(/ /g,"&")}function R(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function T(a,c){var d=0;c.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var g=b.data(a[d++]),f=b.data(this,g);if(g=g&&g.events){delete f.handle;f.events={};for(var l in g)for(var m in g[l])b.event.add(this,l,g[l][m],g[l][m].data)}}})}function Z(a,c,d){var g,f,l;c=c&&c[0]?c[0].ownerDocument||c[0]:q;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&c===q&&!Ea.test(a[0])&&(b.support.checkClone||!Fa.test(a[0]))){f=true;if(l=b.fragments[a[0]])if(l!==1)g=l}if(!g){g=c.createDocumentFragment();b.clean(a,c,g,d)}if(f)b.fragments[a[0]]=l?g:1;return{fragment:g,cacheable:f}}function X(a,c){var d={};b.each(Ga.concat.apply([],Ga.slice(0,c)),function(){d[this]=a});return d}function j(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var b=function(a,c){return new b.fn.init(a,c)},v=e.jQuery,D=e.$,q=e.document,o,J=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,H=/^.[^:#\[\.,]*$/,V=/\S/,ca=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Y=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,da=navigator.userAgent,ja=false,ea=[],fa,W=Object.prototype.toString,na=Object.prototype.hasOwnProperty,oa=Array.prototype.push,pa=Array.prototype.slice,Ha=Array.prototype.indexOf;b.fn=b.prototype={init:function(a,c){var d,g;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!c){this.context=q;this[0]=q.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=J.exec(a))&&(d[1]||!c))if(d[1]){g=c?c.ownerDocument||c:q;if(a=Y.exec(a))if(b.isPlainObject(c)){a=[q.createElement(a[1])];b.fn.attr.call(a,c,true)}else a=[g.createElement(a[1])];else{a=Z([d[1]],[g]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return b.merge(this,a)}else{if(c=q.getElementById(d[2])){if(c.id!==d[2])return o.find(a);this.length=1;this[0]=c}this.context=q;this.selector=a;return this}else if(!c&&/^\w+$/.test(a)){this.selector=a;this.context=q;a=q.getElementsByTagName(a);return b.merge(this,a)}else return!c||c.jquery?(c||o).find(a):b(c).find(a);else if(b.isFunction(a))return o.ready(a);if(a.selector!==i){this.selector=a.selector;this.context=a.context}return b.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return pa.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,c,d){var g=b();b.isArray(a)?oa.apply(g,a):b.merge(g,a);g.prevObject=this;g.context=this.context;if(c==="find")g.selector=this.selector+
(this.selector?" ":"")+d;else if(c)g.selector=this.selector+"."+c+"("+d+")";return g},each:function(a,c){return b.each(this,a,c)},ready:function(a){b.bindReady();if(b.isReady)a.call(q,b);else ea&&ea.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(pa.apply(this,arguments),"slice",pa.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(c,d){return a.call(c,d,c)}))},end:function(){return this.prevObject||b(null)},push:oa,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a=arguments[0]||{},c=1,d=arguments.length,g=false,f,l,m,z;if(typeof a==="boolean"){g=a;a=arguments[1]||{};c=2}if(typeof a!=="object"&&!b.isFunction(a))a={};if(d===c){a=this;--c}for(;c<d;c++)if((f=arguments[c])!=null)for(l in f){m=a[l];z=f[l];if(a!==z)if(g&&z&&(b.isPlainObject(z)||b.isArray(z))){m=m&&(b.isPlainObject(m)||b.isArray(m))?m:b.isArray(z)?[]:{};a[l]=b.extend(g,m,z)}else if(z!==i)a[l]=z}return a};b.extend({noConflict:function(a){e.$=D;if(a)e.jQuery=v;return b},isReady:false,ready:function(){if(!b.isReady){if(!q.body)return setTimeout(b.ready,13);b.isReady=true;if(ea){for(var a,c=0;a=ea[c++];)a.call(q,b);ea=null}b.fn.triggerHandler&&b(q).triggerHandler("ready")}},bindReady:function(){if(!ja){ja=true;if(q.readyState==="complete")return b.ready();if(q.addEventListener){q.addEventListener("DOMContentLoaded",fa,false);e.addEventListener("load",b.ready,false)}else if(q.attachEvent){q.attachEvent("onreadystatechange",fa);e.attachEvent("onload",b.ready);var a=false;try{a=e.frameElement==null}catch(c){}q.documentElement.doScroll&&a&&r()}}},isFunction:function(a){return W.call(a)==="[object Function]"},isArray:function(a){return W.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||W.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!na.call(a,"constructor")&&!na.call(a.constructor.prototype,"isPrototypeOf"))return false;var c;for(c in a);return c===i||na.call(a,c)},isEmptyObject:function(a){for(var c in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=b.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e.JSON&&e.JSON.parse?e.JSON.parse(a):(new Function("return "+
a))();else b.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&V.test(a)){var c=q.getElementsByTagName("head")[0]||q.documentElement,d=q.createElement("script");d.type="text/javascript";if(b.support.scriptEval)d.appendChild(q.createTextNode(a));else d.text=a;c.insertBefore(d,c.firstChild);c.removeChild(d)}},nodeName:function(a,c){return a.nodeName&&a.nodeName.toUpperCase()===c.toUpperCase()},each:function(a,c,d){var g,f=0,l=a.length,m=l===i||b.isFunction(a);if(d)if(m)for(g in a){if(c.apply(a[g],d)===false)break}else for(;f<l;){if(c.apply(a[f++],d)===false)break}else if(m)for(g in a){if(c.call(a[g],g,a[g])===false)break}else for(d=a[0];f<l&&c.call(d,f,d)!==false;d=a[++f]);return a},trim:function(a){return(a||"").replace(ca,"")},makeArray:function(a,c){c=c||[];if(a!=null)a.length==null||typeof a==="string"||b.isFunction(a)||typeof a!=="function"&&a.setInterval?oa.call(c,a):b.merge(c,a);return c},inArray:function(a,c){if(c.indexOf)return c.indexOf(a);for(var d=0,g=c.length;d<g;d++)if(c[d]===a)return d;return-1},merge:function(a,c){var d=a.length,g=0;if(typeof c.length==="number")for(var f=c.length;g<f;g++)a[d++]=c[g];else for(;c[g]!==i;)a[d++]=c[g++];a.length=d;return a},grep:function(a,c,d){for(var g=[],f=0,l=a.length;f<l;f++)!d!==!c(a[f],f)&&g.push(a[f]);return g},map:function(a,c,d){for(var g=[],f,l=0,m=a.length;l<m;l++){f=c(a[l],l,d);if(f!=null)g[g.length]=f}return g.concat.apply([],g)},guid:1,proxy:function(a,c,d){if(arguments.length===2)if(typeof c==="string"){d=a;a=d[c];c=i}else if(c&&!b.isFunction(c)){d=c;c=i}if(!c&&a)c=function(){return a.apply(d||this,arguments)};if(a)c.guid=a.guid=a.guid||c.guid||b.guid++;return c},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});da=b.uaMatch(da);if(da.browser){b.browser[da.browser]=true;b.browser.version=da.version}if(b.browser.webkit)b.browser.safari=true;if(Ha)b.inArray=function(a,c){return Ha.call(c,a)};o=b(q);if(q.addEventListener)fa=function(){q.removeEventListener("DOMContentLoaded",fa,false);b.ready()};else if(q.attachEvent)fa=function(){if(q.readyState==="complete"){q.detachEvent("onreadystatechange",fa);b.ready()}};(function(){b.support={};var a=q.documentElement,c=q.createElement("script"),d=q.createElement("div"),g="script"+x();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var f=d.getElementsByTagName("*"),l=d.getElementsByTagName("a")[0];if(!(!f||!f.length||!l)){b.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(l.getAttribute("style")),hrefNormalized:l.getAttribute("href")==="/a",opacity:/^0.55$/.test(l.style.opacity),cssFloat:!!l.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:q.createElement("select").appendChild(q.createElement("option")).selected,parentNode:d.removeChild(d.appendChild(q.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};c.type="text/javascript";try{c.appendChild(q.createTextNode("window."+g+"=1;"))}catch(m){}a.insertBefore(c,a.firstChild);if(e[g]){b.support.scriptEval=true;delete e[g]}try{delete c.test}catch(z){b.support.deleteExpando=false}a.removeChild(c);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function s(){b.support.noCloneEvent=false;d.detachEvent("onclick",s)});d.cloneNode(true).fireEvent("onclick")}d=q.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=q.createDocumentFragment();a.appendChild(d.firstChild);b.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;b(function(){var s=q.createElement("div");s.style.width=s.style.paddingLeft="1px";q.body.appendChild(s);b.boxModel=b.support.boxModel=s.offsetWidth===2;q.body.removeChild(s).style.display="none"});a=function(s){var y=q.createElement("div");s="on"+s;var E=s in y;if(!E){y.setAttribute(s,"return;");E=typeof y[s]==="function"}return E};b.support.submitBubbles=a("submit");b.support.changeBubbles=a("change");a=c=d=f=l=null}})();b.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var ga="jQuery"+x(),Za=0,Ia={};b.extend({cache:{},expando:ga,noData:{embed:true,object:true,applet:true},data:function(a,c,d){if(!(a.nodeName&&b.noData[a.nodeName.toLowerCase()])){a=a==e?Ia:a;var g=a[ga],f=b.cache;if(!g&&typeof c==="string"&&d===i)return null;g||(g=++Za);if(typeof c==="object"){a[ga]=g;f[g]=b.extend(true,{},c)}else if(!f[g]){a[ga]=g;f[g]={}}a=f[g];if(d!==i)a[c]=d;return typeof c==="string"?a[c]:a}},removeData:function(a,c){if(!(a.nodeName&&b.noData[a.nodeName.toLowerCase()])){a=a==e?Ia:a;var d=a[ga],g=b.cache,f=g[d];if(c){if(f){delete f[c];b.isEmptyObject(f)&&b.removeData(a)}}else{if(b.support.deleteExpando)delete a[b.expando];else a.removeAttribute&&a.removeAttribute(b.expando);delete g[d]}}}});b.fn.extend({data:function(a,c){if(typeof a==="undefined"&&this.length)return b.data(this[0]);else if(typeof a==="object")return this.each(function(){b.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(c===i){var g=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(g===i&&this.length)g=b.data(this[0],a);return g===i&&d[1]?this.data(d[0]):g}else return this.trigger("setData"+
d[1]+"!",[d[0],c]).each(function(){b.data(this,a,c)})},removeData:function(a){return this.each(function(){b.removeData(this,a)})}});b.extend({queue:function(a,c,d){if(a){c=(c||"fx")+"queue";var g=b.data(a,c);if(!d)return g||[];if(!g||b.isArray(d))g=b.data(a,c,b.makeArray(d));else g.push(d);return g}},dequeue:function(a,c){c=c||"fx";var d=b.queue(a,c),g=d.shift();if(g==="inprogress")g=d.shift();if(g){c==="fx"&&d.unshift("inprogress");g.call(a,function(){b.dequeue(a,c)})}}});b.fn.extend({queue:function(a,c){if(typeof a!=="string"){c=a;a="fx"}if(c===i)return b.queue(this[0],a);return this.each(function(){var d=b.queue(this,a,c);a==="fx"&&d[0]!=="inprogress"&&b.dequeue(this,a)})},dequeue:function(a){return this.each(function(){b.dequeue(this,a)})},delay:function(a,c){a=b.fx?b.fx.speeds[a]||a:a;c=c||"fx";return this.queue(c,function(){var d=this;setTimeout(function(){b.dequeue(d,c)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Ja=/[\n\t]/g,ua=/\s+/,$a=/\r/g,ab=/href|src|style/,bb=/(button|input)/i,cb=/(button|input|object|select|textarea)/i,db=/^(a|area)$/i,Ka=/radio|checkbox/;b.fn.extend({attr:function(a,c){return A(this,a,c,true,b.attr)},removeAttr:function(a){return this.each(function(){b.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(b.isFunction(a))return this.each(function(y){var E=b(this);E.addClass(a.call(this,y,E.attr("class")))});if(a&&typeof a==="string")for(var c=(a||"").split(ua),d=0,g=this.length;d<g;d++){var f=this[d];if(f.nodeType===1)if(f.className){for(var l=" "+f.className+" ",m=f.className,z=0,s=c.length;z<s;z++)if(l.indexOf(" "+c[z]+" ")<0)m+=" "+c[z];f.className=b.trim(m)}else f.className=a}return this},removeClass:function(a){if(b.isFunction(a))return this.each(function(s){var y=b(this);y.removeClass(a.call(this,s,y.attr("class")))});if(a&&typeof a==="string"||a===i)for(var c=(a||"").split(ua),d=0,g=this.length;d<g;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var l=(" "+f.className+" ").replace(Ja," "),m=0,z=c.length;m<z;m++)l=l.replace(" "+c[m]+" "," ");f.className=b.trim(l)}else f.className=""}return this},toggleClass:function(a,c){var d=typeof a,g=typeof c==="boolean";if(b.isFunction(a))return this.each(function(f){var l=b(this);l.toggleClass(a.call(this,f,l.attr("class"),c),c)});return this.each(function(){if(d==="string")for(var f,l=0,m=b(this),z=c,s=a.split(ua);f=s[l++];){z=g?z:!m.hasClass(f);m[z?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&b.data(this,"__className__",this.className);this.className=this.className||a===false?"":b.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(Ja," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===i){var c=this[0];if(c){if(b.nodeName(c,"option"))return(c.attributes.value||{}).specified?c.value:c.text;if(b.nodeName(c,"select")){var d=c.selectedIndex,g=[],f=c.options;c=c.type==="select-one";if(d<0)return null;var l=c?d:0;for(d=c?d+1:f.length;l<d;l++){var m=f[l];if(m.selected){a=b(m).val();if(c)return a;g.push(a)}}return g}if(Ka.test(c.type)&&!b.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace($a,"")}return i}var z=b.isFunction(a);return this.each(function(s){var y=b(this),E=a;if(this.nodeType===1){if(z)E=a.call(this,s,y.val());if(typeof E==="number")E+="";if(b.isArray(E)&&Ka.test(this.type))this.checked=b.inArray(y.val(),E)>=0;else if(b.nodeName(this,"select")){var I=b.makeArray(E);b("option",this).each(function(){this.selected=b.inArray(b(this).val(),I)>=0});if(!I.length)this.selectedIndex=-1}else this.value=E}})}});b.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,c,d,g){if(!a||a.nodeType===3||a.nodeType===8)return i;if(g&&c in b.attrFn)return b(a)[c](d);g=a.nodeType!==1||!b.isXMLDoc(a);var f=d!==i;c=g&&b.props[c]||c;if(a.nodeType===1){var l=ab.test(c);if(c in a&&g&&!l){if(f){c==="type"&&bb.test(a.nodeName)&&a.parentNode&&b.error("type property can't be changed");a[c]=d}if(b.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex")return(c=a.getAttributeNode("tabIndex"))&&c.specified?c.value:cb.test(a.nodeName)||db.test(a.nodeName)&&a.href?0:i;return a[c]}if(!b.support.style&&g&&c==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(c,""+d);a=!b.support.hrefNormalized&&g&&l?a.getAttribute(c,2):a.getAttribute(c);return a===null?i:a}return b.style(a,c,d)}});var ma=/\.(.*)$/,eb=function(a){return a.replace(/[^\w\s\.\|`]/g,function(c){return"\\"+c})};b.event={add:function(a,c,d,g){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==e&&!a.frameElement)a=e;var f,l;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=b.guid++;if(l=b.data(a)){var m=l.events=l.events||{},z=l.handle;if(!z)l.handle=z=function(){return typeof b!=="undefined"&&!b.event.triggered?b.event.handle.apply(z.elem,arguments):i};z.elem=a;c=c.split(" ");for(var s,y=0,E;s=c[y++];){l=f?b.extend({},f):{handler:d,data:g};if(s.indexOf(".")>-1){E=s.split(".");s=E.shift();l.namespace=E.slice(0).sort().join(".")}else{E=[];l.namespace=""}l.type=s;l.guid=d.guid;var I=m[s],P=b.event.special[s]||{};if(!I){I=m[s]=[];if(!P.setup||P.setup.call(a,g,E,z)===false)if(a.addEventListener)a.addEventListener(s,z,false);else a.attachEvent&&a.attachEvent("on"+s,z)}if(P.add){P.add.call(a,l);if(!l.handler.guid)l.handler.guid=d.guid}I.push(l);b.event.global[s]=true}a=null}}},global:{},remove:function(a,c,d,g){if(!(a.nodeType===3||a.nodeType===8)){var f,l=0,m,z,s,y,E,I,P=b.data(a),U=P&&P.events;if(P&&U){if(c&&c.type){d=c.handler;c=c.type}if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(f in U)b.event.remove(a,f+c)}else{for(c=c.split(" ");f=c[l++];){y=f;m=f.indexOf(".")<0;z=[];if(!m){z=f.split(".");f=z.shift();s=new RegExp("(^|\\.)"+b.map(z.slice(0).sort(),eb).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(E=U[f])if(d){y=b.event.special[f]||{};for(S=g||0;S<E.length;S++){I=E[S];if(d.guid===I.guid){if(m||s.test(I.namespace)){g==null&&E.splice(S--,1);y.remove&&y.remove.call(a,I)}if(g!=null)break}}if(E.length===0||g!=null&&E.length===1){if(!y.teardown||y.teardown.call(a,z)===false)La(a,f,P.handle);delete U[f]}}else for(var S=0;S<E.length;S++){I=E[S];if(m||s.test(I.namespace)){b.event.remove(a,y,I.handler,S);E.splice(S--,1)}}}if(b.isEmptyObject(U)){if(c=P.handle)c.elem=null;delete P.events;delete P.handle;b.isEmptyObject(P)&&b.removeData(a)}}}}},trigger:function(a,c,d,g){var f=a.type||a;if(!g){a=typeof a==="object"?a[ga]?a:b.extend(b.Event(f),a):b.Event(f);if(f.indexOf("!")>=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();b.event.global[f]&&b.each(b.cache,function(){this.events&&this.events[f]&&b.event.trigger(a,c,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return i;a.result=i;a.target=d;c=b.makeArray(c);c.unshift(a)}a.currentTarget=d;(g=b.data(d,"handle"))&&g.apply(d,c);g=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&b.noData[d.nodeName.toLowerCase()]))if(d["on"+
f]&&d["on"+f].apply(d,c)===false)a.result=false}catch(l){}if(!a.isPropagationStopped()&&g)b.event.trigger(a,c,g,true);else if(!a.isDefaultPrevented()){g=a.target;var m,z=b.nodeName(g,"a")&&f==="click",s=b.event.special[f]||{};if((!s._default||s._default.call(d,a)===false)&&!z&&!(g&&g.nodeName&&b.noData[g.nodeName.toLowerCase()])){try{if(g[f]){if(m=g["on"+f])g["on"+f]=null;b.event.triggered=true;g[f]()}}catch(y){}if(m)g["on"+f]=m;b.event.triggered=false}}},handle:function(a){var c,d,g,f;a=arguments[0]=b.event.fix(a||e.event);a.currentTarget=this;c=a.type.indexOf(".")<0&&!a.exclusive;if(!c){d=a.type.split(".");a.type=d.shift();g=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}f=b.data(this,"events");d=f[a.type];if(f&&d){d=d.slice(0);f=0;for(var l=d.length;f<l;f++){var m=d[f];if(c||g.test(m.namespace)){a.handler=m.handler;a.data=m.data;a.handleObj=m;m=m.handler.apply(this,arguments);if(m!==i){a.result=m;if(m===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[ga])return a;var c=a;a=b.Event(c);for(var d=this.props.length,g;d;){g=this.props[--d];a[g]=c[g]}if(!a.target)a.target=a.srcElement||q;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){c=q.documentElement;d=q.body;a.pageX=a.clientX+(c&&c.scrollLeft||d&&d.scrollLeft||0)-(c&&c.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(c&&c.scrollTop||d&&d.scrollTop||0)-(c&&c.clientTop||d&&d.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!==i)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:b.proxy,special:{ready:{setup:b.bindReady,teardown:b.noop},live:{add:function(a){b.event.add(this,a.origType,b.extend({},a,{handler:L}))},remove:function(a){var c=true,d=a.origType.replace(ma,"");b.each(b.data(this,"events").live||[],function(){if(d===this.origType.replace(ma,""))return c=false});c&&b.event.remove(this,a.origType,L)}},beforeunload:{setup:function(a,c,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,c){if(this.onbeforeunload===c)this.onbeforeunload=null}}}};var La=q.removeEventListener?function(a,c,d){a.removeEventListener(c,d,false)}:function(a,c,d){a.detachEvent("on"+c,d)};b.Event=function(a){if(!this.preventDefault)return new b.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=x();this[ga]=true};b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=F;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=F;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=F;this.stopPropagation()},isDefaultPrevented:u,isPropagationStopped:u,isImmediatePropagationStopped:u};var Ma=function(a){var c=a.relatedTarget;try{for(;c&&c!==this;)c=c.parentNode;if(c!==this){a.type=a.data;b.event.handle.apply(this,arguments)}}catch(d){}},Na=function(a){a.type=a.data;b.event.handle.apply(this,arguments)};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,c){b.event.special[a]={setup:function(d){b.event.add(this,c,d&&d.selector?Na:Ma,a)},teardown:function(d){b.event.remove(this,c,d&&d.selector?Na:Ma)}}});if(!b.support.submitBubbles)b.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){b.event.add(this,"click.specialSubmit",function(a){var c=a.target,d=c.type;if((d==="submit"||d==="image")&&b(c).closest("form").length)return N("submit",this,arguments)});b.event.add(this,"keypress.specialSubmit",function(a){var c=a.target,d=c.type;if((d==="text"||d==="password")&&b(c).closest("form").length&&a.keyCode===13)return N("submit",this,arguments)})}else return false},teardown:function(){b.event.remove(this,".specialSubmit")}};if(!b.support.changeBubbles){var va=/textarea|input|select/i,wa,Oa=function(a){var c=a.type,d=a.value;if(c==="radio"||c==="checkbox")d=a.checked;else if(c==="select-multiple")d=a.selectedIndex>-1?b.map(a.options,function(g){return g.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},xa=function(a,c){var d=a.target,g,f;if(!(!va.test(d.nodeName)||d.readOnly)){g=b.data(d,"_change_data");f=Oa(d);if(a.type!=="focusout"||d.type!=="radio")b.data(d,"_change_data",f);if(!(g===i||f===g))if(g!=null||f){a.type="change";return b.event.trigger(a,c,d)}}};b.event.special.change={filters:{focusout:xa,click:function(a){var c=a.target,d=c.type;if(d==="radio"||d==="checkbox"||c.nodeName.toLowerCase()==="select")return xa.call(this,a)},keydown:function(a){var c=a.target,d=c.type;if(a.keyCode===13&&c.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return xa.call(this,a)},beforeactivate:function(a){a=a.target;b.data(a,"_change_data",Oa(a))}},setup:function(){if(this.type==="file")return false;for(var a in wa)b.event.add(this,a+".specialChange",wa[a]);return va.test(this.nodeName)},teardown:function(){b.event.remove(this,".specialChange");return va.test(this.nodeName)}};wa=b.event.special.change.filters}q.addEventListener&&b.each({focus:"focusin",blur:"focusout"},function(a,c){function d(g){g=b.event.fix(g);g.type=c;return b.event.handle.call(this,g)}b.event.special[c]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});b.each(["bind","one"],function(a,c){b.fn[c]=function(d,g,f){if(typeof d==="object"){for(var l in d)this[c](l,g,d[l],f);return this}if(b.isFunction(g)){f=g;g=i}var m=c==="one"?b.proxy(f,function(s){b(this).unbind(s,m);return f.apply(this,arguments)}):f;if(d==="unload"&&c!=="one")this.one(d,g,f);else{l=0;for(var z=this.length;l<z;l++)b.event.add(this[l],d,m,g)}return this}});b.fn.extend({unbind:function(a,c){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var g=this.length;d<g;d++)b.event.remove(this[d],a,c)}return this},delegate:function(a,c,d,g){return this.live(c,d,g,a)},undelegate:function(a,c,d){return arguments.length===0?this.unbind("live"):this.die(c,null,d,a)},trigger:function(a,c){return this.each(function(){b.event.trigger(a,c,this)})},triggerHandler:function(a,c){if(this[0]){a=b.Event(a);a.preventDefault();a.stopPropagation();b.event.trigger(a,c,this[0]);return a.result}},toggle:function(a){for(var c=arguments,d=1;d<c.length;)b.proxy(a,c[d++]);return this.click(b.proxy(a,function(g){var f=(b.data(this,"lastToggle"+a.guid)||0)%d;b.data(this,"lastToggle"+a.guid,f+1);g.preventDefault();return c[f].apply(this,arguments)||false}))},hover:function(a,c){return this.mouseenter(a).mouseleave(c||a)}});var Pa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};b.each(["live","die"],function(a,c){b.fn[c]=function(d,g,f,l){var m,z=0,s,y,E=l||this.selector,I=l?this:b(this.context);if(b.isFunction(g)){f=g;g=i}for(d=(d||"").split(" ");(m=d[z++])!=null;){l=ma.exec(m);s="";if(l){s=l[0];m=m.replace(ma,"")}if(m==="hover")d.push("mouseenter"+s,"mouseleave"+s);else{y=m;if(m==="focus"||m==="blur"){d.push(Pa[m]+
s);m+=s}else m=(Pa[m]||m)+s;c==="live"?I.each(function(){b.event.add(this,Q(m,E),{data:g,selector:E,handler:f,origType:m,origHandler:f,preType:y})}):I.unbind(Q(m,E),f)}}return this}});b.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,c){b.fn[c]=function(d){return d?this.bind(c,d):this.trigger(c)};if(b.attrFn)b.attrFn[c]=true});e.attachEvent&&!e.addEventListener&&e.attachEvent("onunload",function(){for(var a in b.cache)if(b.cache[a].handle)try{b.event.remove(b.cache[a].handle.elem)}catch(c){}});(function(){function a(h){for(var k="",t,w=0;h[w];w++){t=h[w];if(t.nodeType===3||t.nodeType===4)k+=t.nodeValue;else if(t.nodeType!==8)k+=a(t.childNodes)}return k}function c(h,k,t,w,C,B){C=0;for(var K=w.length;C<K;C++){var G=w[C];if(G){G=G[h];for(var O=false;G;){if(G.sizcache===t){O=w[G.sizset];break}if(G.nodeType===1&&!B){G.sizcache=t;G.sizset=C}if(G.nodeName.toLowerCase()===k){O=G;break}G=G[h]}w[C]=O}}}function d(h,k,t,w,C,B){C=0;for(var K=w.length;C<K;C++){var G=w[C];if(G){G=G[h];for(var O=false;G;){if(G.sizcache===t){O=w[G.sizset];break}if(G.nodeType===1){if(!B){G.sizcache=t;G.sizset=C}if(typeof k!=="string"){if(G===k){O=true;break}}else if(s.filter(k,[G]).length>0){O=G;break}}G=G[h]}w[C]=O}}}var g=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,f=0,l=Object.prototype.toString,m=false,z=true;[0,0].sort(function(){z=false;return 0});var s=function(h,k,t,w){t=t||[];var C=k=k||q;if(k.nodeType!==1&&k.nodeType!==9)return[];if(!h||typeof h!=="string")return t;for(var B=[],K,G,O,qa,ha=true,ka=M(k),ia=h;(g.exec(""),K=g.exec(ia))!==null;){ia=K[3];B.push(K[1]);if(K[2]){qa=K[3];break}}if(B.length>1&&E.exec(h))if(B.length===2&&y.relative[B[0]])G=ya(B[0]+B[1],k);else for(G=y.relative[B[0]]?[k]:s(B.shift(),k);B.length;){h=B.shift();if(y.relative[h])h+=B.shift();G=ya(h,G)}else{if(!w&&B.length>1&&k.nodeType===9&&!ka&&y.match.ID.test(B[0])&&!y.match.ID.test(B[B.length-1])){K=s.find(B.shift(),k,ka);k=K.expr?s.filter(K.expr,K.set)[0]:K.set[0]}if(k){K=w?{expr:B.pop(),set:P(w)}:s.find(B.pop(),B.length===1&&(B[0]==="~"||B[0]==="+")&&k.parentNode?k.parentNode:k,ka);G=K.expr?s.filter(K.expr,K.set):K.set;if(B.length>0)O=P(G);else ha=false;for(;B.length;){var $=B.pop();K=$;if(y.relative[$])K=B.pop();else $="";if(K==null)K=k;y.relative[$](O,K,ka)}}else O=[]}O||(O=G);O||s.error($||h);if(l.call(O)==="[object Array]")if(ha)if(k&&k.nodeType===1)for(h=0;O[h]!=null;h++){if(O[h]&&(O[h]===true||O[h].nodeType===1&&aa(k,O[h])))t.push(G[h])}else for(h=0;O[h]!=null;h++)O[h]&&O[h].nodeType===1&&t.push(G[h]);else t.push.apply(t,O);else P(O,t);if(qa){s(qa,C,t,w);s.uniqueSort(t)}return t};s.uniqueSort=function(h){if(S){m=z;h.sort(S);if(m)for(var k=1;k<h.length;k++)h[k]===h[k-1]&&h.splice(k--,1)}return h};s.matches=function(h,k){return s(h,null,null,k)};s.find=function(h,k,t){var w,C;if(!h)return[];for(var B=0,K=y.order.length;B<K;B++){var G=y.order[B];if(C=y.leftMatch[G].exec(h)){var O=C[1];C.splice(1,1);if(O.substr(O.length-1)!=="\\"){C[1]=(C[1]||"").replace(/\\/g,"");w=y.find[G](C,k,t);if(w!=null){h=h.replace(y.match[G],"");break}}}}w||(w=k.getElementsByTagName("*"));return{set:w,expr:h}};s.filter=function(h,k,t,w){for(var C=h,B=[],K=k,G,O,qa=k&&k[0]&&M(k[0]);h&&k.length;){for(var ha in y.filter)if((G=y.leftMatch[ha].exec(h))!=null&&G[2]){var ka=y.filter[ha],ia,$;$=G[1];O=false;G.splice(1,1);if($.substr($.length-1)!=="\\"){if(K===B)B=[];if(y.preFilter[ha])if(G=y.preFilter[ha](G,K,t,B,w,qa)){if(G===true)continue}else O=ia=true;if(G)for(var ra=0;($=K[ra])!=null;ra++)if($){ia=ka($,G,ra,K);var Qa=w^!!ia;if(t&&ia!=null)if(Qa)O=true;else K[ra]=false;else if(Qa){B.push($);O=true}}if(ia!==i){t||(K=B);h=h.replace(y.match[ha],"");if(!O)return[];break}}}if(h===C)if(O==null)s.error(h);else break;C=h}return K};s.error=function(h){throw"Syntax error, unrecognized expression: "+
h;};var y=s.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(h){return h.getAttribute("href")}},relative:{"+":function(h,k){var t=typeof k==="string",w=t&&!/\W/.test(k);t=t&&!w;if(w)k=k.toLowerCase();w=0;for(var C=h.length,B;w<C;w++)if(B=h[w]){for(;(B=B.previousSibling)&&B.nodeType!==1;);h[w]=t||B&&B.nodeName.toLowerCase()===k?B||false:B===k}t&&s.filter(k,h,true)},">":function(h,k){var t=typeof k==="string";if(t&&!/\W/.test(k)){k=k.toLowerCase();for(var w=0,C=h.length;w<C;w++){var B=h[w];if(B){t=B.parentNode;h[w]=t.nodeName.toLowerCase()===k?t:false}}}else{w=0;for(C=h.length;w<C;w++)if(B=h[w])h[w]=t?B.parentNode:B.parentNode===k;t&&s.filter(k,h,true)}},"":function(h,k,t){var w=f++,C=d;if(typeof k==="string"&&!/\W/.test(k)){var B=k=k.toLowerCase();C=c}C("parentNode",k,w,h,B,t)},"~":function(h,k,t){var w=f++,C=d;if(typeof k==="string"&&!/\W/.test(k)){var B=k=k.toLowerCase();C=c}C("previousSibling",k,w,h,B,t)}},find:{ID:function(h,k,t){if(typeof k.getElementById!=="undefined"&&!t)return(h=k.getElementById(h[1]))?[h]:[]},NAME:function(h,k){if(typeof k.getElementsByName!=="undefined"){var t=[];k=k.getElementsByName(h[1]);for(var w=0,C=k.length;w<C;w++)k[w].getAttribute("name")===h[1]&&t.push(k[w]);return t.length===0?null:t}},TAG:function(h,k){return k.getElementsByTagName(h[1])}},preFilter:{CLASS:function(h,k,t,w,C,B){h=" "+h[1].replace(/\\/g,"")+" ";if(B)return h;B=0;for(var K;(K=k[B])!=null;B++)if(K)if(C^(K.className&&(" "+K.className+" ").replace(/[\t\n]/g," ").indexOf(h)>=0))t||w.push(K);else if(t)k[B]=false;return false},ID:function(h){return h[1].replace(/\\/g,"")},TAG:function(h){return h[1].toLowerCase()},CHILD:function(h){if(h[1]==="nth"){var k=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(h[2]==="even"&&"2n"||h[2]==="odd"&&"2n+1"||!/\D/.test(h[2])&&"0n+"+h[2]||h[2]);h[2]=k[1]+(k[2]||1)-0;h[3]=k[3]-0}h[0]=f++;return h},ATTR:function(h,k,t,w,C,B){k=h[1].replace(/\\/g,"");if(!B&&y.attrMap[k])h[1]=y.attrMap[k];if(h[2]==="~=")h[4]=" "+h[4]+" ";return h},PSEUDO:function(h,k,t,w,C){if(h[1]==="not")if((g.exec(h[3])||"").length>1||/^\w/.test(h[3]))h[3]=s(h[3],null,null,k);else{h=s.filter(h[3],k,t,true^C);t||w.push.apply(w,h);return false}else if(y.match.POS.test(h[0])||y.match.CHILD.test(h[0]))return true;return h},POS:function(h){h.unshift(true);return h}},filters:{enabled:function(h){return h.disabled===false&&h.type!=="hidden"},disabled:function(h){return h.disabled===true},checked:function(h){return h.checked===true},selected:function(h){return h.selected===true},parent:function(h){return!!h.firstChild},empty:function(h){return!h.firstChild},has:function(h,k,t){return!!s(t[3],h).length},header:function(h){return/h\d/i.test(h.nodeName)},text:function(h){return"text"===h.type},radio:function(h){return"radio"===h.type},checkbox:function(h){return"checkbox"===h.type},file:function(h){return"file"===h.type},password:function(h){return"password"===h.type},submit:function(h){return"submit"===h.type},image:function(h){return"image"===h.type},reset:function(h){return"reset"===h.type},button:function(h){return"button"===h.type||h.nodeName.toLowerCase()==="button"},input:function(h){return/input|select|textarea|button/i.test(h.nodeName)}},setFilters:{first:function(h,k){return k===0},last:function(h,k,t,w){return k===w.length-1},even:function(h,k){return k%2===0},odd:function(h,k){return k%2===1},lt:function(h,k,t){return k<t[3]-0},gt:function(h,k,t){return k>t[3]-0},nth:function(h,k,t){return t[3]-0===k},eq:function(h,k,t){return t[3]-0===k}},filter:{PSEUDO:function(h,k,t,w){var C=k[1],B=y.filters[C];if(B)return B(h,t,k,w);else if(C==="contains")return(h.textContent||h.innerText||a([h])||"").indexOf(k[3])>=0;else if(C==="not"){k=k[3];t=0;for(w=k.length;t<w;t++)if(k[t]===h)return false;return true}else s.error("Syntax error, unrecognized expression: "+C)},CHILD:function(h,k){var t=k[1],w=h;switch(t){case"only":case"first":for(;w=w.previousSibling;)if(w.nodeType===1)return false;if(t==="first")return true;w=h;case"last":for(;w=w.nextSibling;)if(w.nodeType===1)return false;return true;case"nth":t=k[2];var C=k[3];if(t===1&&C===0)return true;k=k[0];var B=h.parentNode;if(B&&(B.sizcache!==k||!h.nodeIndex)){var K=0;for(w=B.firstChild;w;w=w.nextSibling)if(w.nodeType===1)w.nodeIndex=++K;B.sizcache=k}h=h.nodeIndex-C;return t===0?h===0:h%t===0&&h/t>=0}},ID:function(h,k){return h.nodeType===1&&h.getAttribute("id")===k},TAG:function(h,k){return k==="*"&&h.nodeType===1||h.nodeName.toLowerCase()===k},CLASS:function(h,k){return(" "+(h.className||h.getAttribute("class"))+" ").indexOf(k)>-1},ATTR:function(h,k){var t=k[1];h=y.attrHandle[t]?y.attrHandle[t](h):h[t]!=null?h[t]:h.getAttribute(t);t=h+"";var w=k[2];k=k[4];return h==null?w==="!=":w==="="?t===k:w==="*="?t.indexOf(k)>=0:w==="~="?(" "+t+" ").indexOf(k)>=0:!k?t&&h!==false:w==="!="?t!==k:w==="^="?t.indexOf(k)===0:w==="$="?t.substr(t.length-k.length)===k:w==="|="?t===k||t.substr(0,k.length+1)===k+"-":false},POS:function(h,k,t,w){var C=y.setFilters[k[2]];if(C)return C(h,t,k,w)}}},E=y.match.POS;for(var I in y.match){y.match[I]=new RegExp(y.match[I].source+/(?![^\[]*\])(?![^\(]*\))/.source);y.leftMatch[I]=new RegExp(/(^(?:.|\r|\n)*?)/.source+y.match[I].source.replace(/\\(\d+)/g,function(h,k){return"\\"+(k-0+1)}))}var P=function(h,k){h=Array.prototype.slice.call(h,0);if(k){k.push.apply(k,h);return k}return h};try{Array.prototype.slice.call(q.documentElement.childNodes,0)}catch(U){P=function(h,k){k=k||[];if(l.call(h)==="[object Array]")Array.prototype.push.apply(k,h);else if(typeof h.length==="number")for(var t=0,w=h.length;t<w;t++)k.push(h[t]);else for(t=0;h[t];t++)k.push(h[t]);return k}}var S;if(q.documentElement.compareDocumentPosition)S=function(h,k){if(!h.compareDocumentPosition||!k.compareDocumentPosition){if(h==k)m=true;return h.compareDocumentPosition?-1:1}h=h.compareDocumentPosition(k)&4?-1:h===k?0:1;if(h===0)m=true;return h};else if("sourceIndex"in q.documentElement)S=function(h,k){if(!h.sourceIndex||!k.sourceIndex){if(h==k)m=true;return h.sourceIndex?-1:1}h=h.sourceIndex-k.sourceIndex;if(h===0)m=true;return h};else if(q.createRange)S=function(h,k){if(!h.ownerDocument||!k.ownerDocument){if(h==k)m=true;return h.ownerDocument?-1:1}var t=h.ownerDocument.createRange(),w=k.ownerDocument.createRange();t.setStart(h,0);t.setEnd(h,0);w.setStart(k,0);w.setEnd(k,0);h=t.compareBoundaryPoints(Range.START_TO_END,w);if(h===0)m=true;return h};(function(){var h=q.createElement("div"),k="script"+(new Date).getTime();h.innerHTML="<a name='"+k+"'/>";var t=q.documentElement;t.insertBefore(h,t.firstChild);if(q.getElementById(k)){y.find.ID=function(w,C,B){if(typeof C.getElementById!=="undefined"&&!B)return(C=C.getElementById(w[1]))?C.id===w[1]||typeof C.getAttributeNode!=="undefined"&&C.getAttributeNode("id").nodeValue===w[1]?[C]:i:[]};y.filter.ID=function(w,C){var B=typeof w.getAttributeNode!=="undefined"&&w.getAttributeNode("id");return w.nodeType===1&&B&&B.nodeValue===C}}t.removeChild(h);t=h=null})();(function(){var h=q.createElement("div");h.appendChild(q.createComment(""));if(h.getElementsByTagName("*").length>0)y.find.TAG=function(k,t){t=t.getElementsByTagName(k[1]);if(k[1]==="*"){k=[];for(var w=0;t[w];w++)t[w].nodeType===1&&k.push(t[w]);t=k}return t};h.innerHTML="<a href='#'></a>";if(h.firstChild&&typeof h.firstChild.getAttribute!=="undefined"&&h.firstChild.getAttribute("href")!=="#")y.attrHandle.href=function(k){return k.getAttribute("href",2)};h=null})();q.querySelectorAll&&function(){var h=s,k=q.createElement("div");k.innerHTML="<p class='TEST'></p>";if(!(k.querySelectorAll&&k.querySelectorAll(".TEST").length===0)){s=function(w,C,B,K){C=C||q;if(!K&&C.nodeType===9&&!M(C))try{return P(C.querySelectorAll(w),B)}catch(G){}return h(w,C,B,K)};for(var t in h)s[t]=h[t];k=null}}();(function(){var h=q.createElement("div");h.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!h.getElementsByClassName||h.getElementsByClassName("e").length===0)){h.lastChild.className="e";if(h.getElementsByClassName("e").length!==1){y.order.splice(1,0,"CLASS");y.find.CLASS=function(k,t,w){if(typeof t.getElementsByClassName!=="undefined"&&!w)return t.getElementsByClassName(k[1])};h=null}}})();var aa=q.compareDocumentPosition?function(h,k){return!!(h.compareDocumentPosition(k)&16)}:function(h,k){return h!==k&&(h.contains?h.contains(k):true)},M=function(h){return(h=(h?h.ownerDocument||h:0).documentElement)?h.nodeName!=="HTML":false},ya=function(h,k){var t=[],w="",C;for(k=k.nodeType?[k]:k;C=y.match.PSEUDO.exec(h);){w+=C[0];h=h.replace(y.match.PSEUDO,"")}h=y.relative[h]?h+"*":h;C=0;for(var B=k.length;C<B;C++)s(h,k[C],t);return s.filter(w,t)};b.find=s;b.expr=s.selectors;b.expr[":"]=b.expr.filters;b.unique=s.uniqueSort;b.text=a;b.isXMLDoc=M;b.contains=aa})();var fb=/Until$/,gb=/^(?:parents|prevUntil|prevAll)/,hb=/,/;pa=Array.prototype.slice;var Ra=function(a,c,d){if(b.isFunction(c))return b.grep(a,function(f,l){return!!c.call(f,l,f)===d});else if(c.nodeType)return b.grep(a,function(f){return f===c===d});else if(typeof c==="string"){var g=b.grep(a,function(f){return f.nodeType===1});if(H.test(c))return b.filter(c,g,!d);else c=b.filter(c,g)}return b.grep(a,function(f){return b.inArray(f,c)>=0===d})};b.fn.extend({find:function(a){for(var c=this.pushStack("","find",a),d=0,g=0,f=this.length;g<f;g++){d=c.length;b.find(a,this[g],c);if(g>0)for(var l=d;l<c.length;l++)for(var m=0;m<d;m++)if(c[m]===c[l]){c.splice(l--,1);break}}return c},has:function(a){var c=b(a);return this.filter(function(){for(var d=0,g=c.length;d<g;d++)if(b.contains(this,c[d]))return true})},not:function(a){return this.pushStack(Ra(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ra(this,a,true),"filter",a)},is:function(a){return!!a&&b.filter(a,this).length>0},closest:function(a,c){if(b.isArray(a)){var d=[],g=this[0],f,l={},m;if(g&&a.length){f=0;for(var z=a.length;f<z;f++){m=a[f];l[m]||(l[m]=b.expr.match.POS.test(m)?b(m,c||this.context):m)}for(;g&&g.ownerDocument&&g!==c;){for(m in l){f=l[m];if(f.jquery?f.index(g)>-1:b(g).is(f)){d.push({selector:m,elem:g});delete l[m]}}g=g.parentNode}}return d}var s=b.expr.match.POS.test(a)?b(a,c||this.context):null;return this.map(function(y,E){for(;E&&E.ownerDocument&&E!==c;){if(s?s.index(E)>-1:b(E).is(a))return E;E=E.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return b.inArray(this[0],a?b(a):this.parent().children());return b.inArray(a.jquery?a[0]:a,this)},add:function(a,c){a=typeof a==="string"?b(a,c||this.context):b.makeArray(a);c=b.merge(this.get(),a);return this.pushStack(R(a[0])||R(c[0])?c:b.unique(c))},andSelf:function(){return this.add(this.prevObject)}});b.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return b.dir(a,"parentNode")},parentsUntil:function(a,c,d){return b.dir(a,"parentNode",d)},next:function(a){return b.nth(a,2,"nextSibling")},prev:function(a){return b.nth(a,2,"previousSibling")},nextAll:function(a){return b.dir(a,"nextSibling")},prevAll:function(a){return b.dir(a,"previousSibling")},nextUntil:function(a,c,d){return b.dir(a,"nextSibling",d)},prevUntil:function(a,c,d){return b.dir(a,"previousSibling",d)},siblings:function(a){return b.sibling(a.parentNode.firstChild,a)},children:function(a){return b.sibling(a.firstChild)},contents:function(a){return b.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:b.makeArray(a.childNodes)}},function(a,c){b.fn[a]=function(d,g){var f=b.map(this,c,d);fb.test(a)||(g=d);if(g&&typeof g==="string")f=b.filter(g,f);f=this.length>1?b.unique(f):f;if((this.length>1||hb.test(g))&&gb.test(a))f=f.reverse();return this.pushStack(f,a,pa.call(arguments).join(","))}});b.extend({filter:function(a,c,d){if(d)a=":not("+a+")";return b.find.matches(a,c)},dir:function(a,c,d){var g=[];for(a=a[c];a&&a.nodeType!==9&&(d===i||a.nodeType!==1||!b(a).is(d));){a.nodeType===1&&g.push(a);a=a[c]}return g},nth:function(a,c,d){c=c||1;for(var g=0;a;a=a[d])if(a.nodeType===1&&++g===c)break;return a},sibling:function(a,c){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==c&&d.push(a);return d}});var Sa=/ jQuery\d+="(?:\d+|null)"/g,sa=/^\s+/,Ta=/(<([\w:]+)[^>]*?)\/>/g,ib=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Ua=/<([\w:]+)/,jb=/<tbody/i,kb=/<|&#?\w+;/,Ea=/<script|<object|<embed|<option|<style/i,Fa=/checked\s*(?:[^=]|=\s*.checked.)/i,Va=function(a,c,d){return ib.test(d)?a:c+"></"+d+">"},ba={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,"",""]};ba.optgroup=ba.option;ba.tbody=ba.tfoot=ba.colgroup=ba.caption=ba.thead;ba.th=ba.td;if(!b.support.htmlSerialize)ba._default=[1,"div<div>","</div>"];b.fn.extend({text:function(a){if(b.isFunction(a))return this.each(function(c){var d=b(this);d.text(a.call(this,c,d.text()))});if(typeof a!=="object"&&a!==i)return this.empty().append((this[0]&&this[0].ownerDocument||q).createTextNode(a));return b.text(this)},wrapAll:function(a){if(b.isFunction(a))return this.each(function(d){b(this).wrapAll(a.call(this,d))});if(this[0]){var c=b(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(b.isFunction(a))return this.each(function(c){b(this).wrapInner(a.call(this,c))});return this.each(function(){var c=b(this),d=c.contents();d.length?d.wrapAll(a):c.append(a)})},wrap:function(a){return this.each(function(){b(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(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(c){this.parentNode.insertBefore(c,this)});else if(arguments.length){var a=b(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(c){this.parentNode.insertBefore(c,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,b(arguments[0]).toArray());return a}},remove:function(a,c){for(var d=0,g;(g=this[d])!=null;d++)if(!a||b.filter(a,[g]).length){if(!c&&g.nodeType===1){b.cleanData(g.getElementsByTagName("*"));b.cleanData([g])}g.parentNode&&g.parentNode.removeChild(g)}return this},empty:function(){for(var a=0,c;(c=this[a])!=null;a++)for(c.nodeType===1&&b.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(a){var c=this.map(function(){if(!b.support.noCloneEvent&&!b.isXMLDoc(this)){var d=this.outerHTML,g=this.ownerDocument;if(!d){d=g.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return b.clean([d.replace(Sa,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(sa,"")],g)[0]}else return this.cloneNode(true)});if(a===true){T(this,c);T(this.find("*"),c.find("*"))}return c},html:function(a){if(a===i)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Sa,""):null;else if(typeof a==="string"&&!Ea.test(a)&&(b.support.leadingWhitespace||!sa.test(a))&&!ba[(Ua.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ta,Va);try{for(var c=0,d=this.length;c<d;c++)if(this[c].nodeType===1){b.cleanData(this[c].getElementsByTagName("*"));this[c].innerHTML=a}}catch(g){this.empty().append(a)}}else b.isFunction(a)?this.each(function(f){var l=b(this),m=l.html();l.empty().append(function(){return a.call(this,f,m)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(b.isFunction(a))return this.each(function(c){var d=b(this),g=d.html();d.replaceWith(a.call(this,c,g))});if(typeof a!=="string")a=b(a).detach();return this.each(function(){var c=this.nextSibling,d=this.parentNode;b(this).remove();c?b(c).before(a):b(d).append(a)})}else return this.pushStack(b(b.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,c,d){function g(I){return b.nodeName(I,"table")?I.getElementsByTagName("tbody")[0]||I.appendChild(I.ownerDocument.createElement("tbody")):I}var f,l,m=a[0],z=[],s;if(!b.support.checkClone&&arguments.length===3&&typeof m==="string"&&Fa.test(m))return this.each(function(){b(this).domManip(a,c,d,true)});if(b.isFunction(m))return this.each(function(I){var P=b(this);a[0]=m.call(this,I,c?P.html():i);P.domManip(a,c,d)});if(this[0]){f=m&&m.parentNode;f=b.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:Z(a,this,z);s=f.fragment;if(l=s.childNodes.length===1?(s=s.firstChild):s.firstChild){c=c&&b.nodeName(l,"tr");for(var y=0,E=this.length;y<E;y++)d.call(c?g(this[y],l):this[y],y>0||f.cacheable||this.length>1?s.cloneNode(true):s)}z.length&&b.each(z,n)}return this}});b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,c){b.fn[a]=function(d){var g=[];d=b(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[c](this[0]);return this}else{f=0;for(var l=d.length;f<l;f++){var m=(f>0?this.clone(true):this).get();b.fn[c].apply(b(d[f]),m);g=g.concat(m)}return this.pushStack(g,a,d.selector)}}});b.extend({clean:function(a,c,d,g){c=c||q;if(typeof c.createElement==="undefined")c=c.ownerDocument||c[0]&&c[0].ownerDocument||q;for(var f=[],l=0,m;(m=a[l])!=null;l++){if(typeof m==="number")m+="";if(m){if(typeof m==="string"&&!kb.test(m))m=c.createTextNode(m);else if(typeof m==="string"){m=m.replace(Ta,Va);var z=(Ua.exec(m)||["",""])[1].toLowerCase(),s=ba[z]||ba._default,y=s[0],E=c.createElement("div");for(E.innerHTML=s[1]+m+s[2];y--;)E=E.lastChild;if(!b.support.tbody){y=jb.test(m);z=z==="table"&&!y?E.firstChild&&E.firstChild.childNodes:s[1]==="<table>"&&!y?E.childNodes:[];for(s=z.length-1;s>=0;--s)b.nodeName(z[s],"tbody")&&!z[s].childNodes.length&&z[s].parentNode.removeChild(z[s])}!b.support.leadingWhitespace&&sa.test(m)&&E.insertBefore(c.createTextNode(sa.exec(m)[0]),E.firstChild);m=E.childNodes}if(m.nodeType)f.push(m);else f=b.merge(f,m)}}if(d)for(l=0;f[l];l++)if(g&&b.nodeName(f[l],"script")&&(!f[l].type||f[l].type.toLowerCase()==="text/javascript"))g.push(f[l].parentNode?f[l].parentNode.removeChild(f[l]):f[l]);else{f[l].nodeType===1&&f.splice.apply(f,[l+1,0].concat(b.makeArray(f[l].getElementsByTagName("script"))));d.appendChild(f[l])}return f},cleanData:function(a){for(var c,d,g=b.cache,f=b.event.special,l=b.support.deleteExpando,m=0,z;(z=a[m])!=null;m++)if(d=z[b.expando]){c=g[d];if(c.events)for(var s in c.events)f[s]?b.event.remove(z,s):La(z,s,c.handle);if(l)delete z[b.expando];else z.removeAttribute&&z.removeAttribute(b.expando);delete g[d]}}});var lb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Wa=/alpha\([^)]*\)/,Xa=/opacity=([^)]*)/,za=/float/i,Aa=/-([a-z])/ig,mb=/([A-Z])/g,nb=/^-?\d+(?:px)?$/i,ob=/^-?\d/,pb={position:"absolute",visibility:"hidden",display:"block"},qb=["Left","Right"],rb=["Top","Bottom"],sb=q.defaultView&&q.defaultView.getComputedStyle,Ya=b.support.cssFloat?"cssFloat":"styleFloat",Ba=function(a,c){return c.toUpperCase()};b.fn.css=function(a,c){return A(this,a,c,true,function(d,g,f){if(f===i)return b.curCSS(d,g);if(typeof f==="number"&&!lb.test(g))f+="px";b.style(d,g,f)})};b.extend({style:function(a,c,d){if(!a||a.nodeType===3||a.nodeType===8)return i;if((c==="width"||c==="height")&&parseFloat(d)<0)d=i;var g=a.style||a,f=d!==i;if(!b.support.opacity&&c==="opacity"){if(f){g.zoom=1;c=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=g.filter||b.curCSS(a,"filter")||"";g.filter=Wa.test(a)?a.replace(Wa,c):c}return g.filter&&g.filter.indexOf("opacity=")>=0?parseFloat(Xa.exec(g.filter)[1])/100+"":""}if(za.test(c))c=Ya;c=c.replace(Aa,Ba);if(f)g[c]=d;return g[c]},css:function(a,c,d,g){if(c==="width"||c==="height"){var f,l=c==="width"?qb:rb;d=function(){f=c==="width"?a.offsetWidth:a.offsetHeight;g!=="border"&&b.each(l,function(){g||(f-=parseFloat(b.curCSS(a,"padding"+this,true))||0);if(g==="margin")f+=parseFloat(b.curCSS(a,"margin"+this,true))||0;else f-=parseFloat(b.curCSS(a,"border"+this+"Width",true))||0})};a.offsetWidth!==0?d():b.swap(a,pb,d);return Math.max(0,Math.round(f))}return b.curCSS(a,c,d)},curCSS:function(a,c,d){var g,f=a.style;if(!b.support.opacity&&c==="opacity"&&a.currentStyle){g=Xa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return g===""?"1":g}if(za.test(c))c=Ya;if(!d&&f&&f[c])g=f[c];else if(sb){if(za.test(c))c="float";c=c.replace(mb,"-$1").toLowerCase();f=a.ownerDocument.defaultView;if(!f)return null;if(a=f.getComputedStyle(a,null))g=a.getPropertyValue(c);if(c==="opacity"&&g==="")g="1"}else if(a.currentStyle){d=c.replace(Aa,Ba);g=a.currentStyle[c]||a.currentStyle[d];if(!nb.test(g)&&ob.test(g)){c=f.left;var l=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;f.left=d==="fontSize"?"1em":g||0;g=f.pixelLeft+"px";f.left=c;a.runtimeStyle.left=l}}return g},swap:function(a,c,d){var g={};for(var f in c){g[f]=a.style[f];a.style[f]=c[f]}d.call(a);for(f in c)a.style[f]=g[f]}});if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(a){var c=a.offsetWidth,d=a.offsetHeight,g=a.nodeName.toLowerCase()==="tr";return c===0&&d===0&&!g?true:c>0&&d>0&&!g?false:b.curCSS(a,"display")==="none"};b.expr.filters.visible=function(a){return!b.expr.filters.hidden(a)}}var tb=x(),ub=/<script(.|\s)*?\/script>/gi,vb=/select|textarea/i,wb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,la=/=\?(&|$)/,Ca=/\?/,xb=/(\?|&)_=.*?(&|$)/,yb=/^(\w+:)?\/\/([^\/?#]+)/,zb=/%20/g,Ab=b.fn.load;b.fn.extend({load:function(a,c,d){if(typeof a!=="string")return Ab.call(this,a);else if(!this.length)return this;var g=a.indexOf(" ");if(g>=0){var f=a.slice(g,a.length);a=a.slice(0,g)}g="GET";if(c)if(b.isFunction(c)){d=c;c=null}else if(typeof c==="object"){c=b.param(c,b.ajaxSettings.traditional);g="POST"}var l=this;b.ajax({url:a,type:g,dataType:"html",data:c,complete:function(m,z){if(z==="success"||z==="notmodified")l.html(f?b("<div />").append(m.responseText.replace(ub,"")).find(f):m.responseText);d&&l.each(d,[m.responseText,z,m])}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||vb.test(this.nodeName)||wb.test(this.type))}).map(function(a,c){a=b(this).val();return a==null?null:b.isArray(a)?b.map(a,function(d){return{name:c.name,value:d}}):{name:c.name,value:a}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,c){b.fn[c]=function(d){return this.bind(c,d)}});b.extend({get:function(a,c,d,g){if(b.isFunction(c)){g=g||d;d=c;c=null}return b.ajax({type:"GET",url:a,data:c,success:d,dataType:g})},getScript:function(a,c){return b.get(a,null,c,"script")},getJSON:function(a,c,d){return b.get(a,c,d,"json")},post:function(a,c,d,g){if(b.isFunction(c)){g=g||d;d=c;c={}}return b.ajax({type:"POST",url:a,data:c,success:d,dataType:g})},ajaxSetup:function(a){b.extend(b.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:e.XMLHttpRequest&&(e.location.protocol!=="file:"||!e.ActiveXObject)?function(){return new e.XMLHttpRequest}:function(){try{return new e.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:"*/*"}},lastModified:{},etag:{},ajax:function(a){function c(){f.success&&f.success.call(s,z,m,M);f.global&&g("ajaxSuccess",[M,f])}function d(){f.complete&&f.complete.call(s,M,m);f.global&&g("ajaxComplete",[M,f]);f.global&&!--b.active&&b.event.trigger("ajaxStop")}function g(C,B){(f.context?b(f.context):b.event).trigger(C,B)}var f=b.extend(true,{},b.ajaxSettings,a),l,m,z,s=a&&a.context||f,y=f.type.toUpperCase();if(f.data&&f.processData&&typeof f.data!=="string")f.data=b.param(f.data,f.traditional);if(f.dataType==="jsonp"){if(y==="GET")la.test(f.url)||(f.url+=(Ca.test(f.url)?"&":"?")+(f.jsonp||"callback")+"=?");else if(!f.data||!la.test(f.data))f.data=(f.data?f.data+"&":"")+(f.jsonp||"callback")+"=?";f.dataType="json"}if(f.dataType==="json"&&(f.data&&la.test(f.data)||la.test(f.url))){l=f.jsonpCallback||"jsonp"+tb++;if(f.data)f.data=(f.data+"").replace(la,"="+l+"$1");f.url=f.url.replace(la,"="+l+"$1");f.dataType="script";e[l]=e[l]||function(C){z=C;c();d();e[l]=i;try{delete e[l]}catch(B){}P&&P.removeChild(U)}}if(f.dataType==="script"&&f.cache===null)f.cache=false;if(f.cache===false&&y==="GET"){var E=x(),I=f.url.replace(xb,"$1_="+E+"$2");f.url=I+(I===f.url?(Ca.test(f.url)?"&":"?")+"_="+E:"")}if(f.data&&y==="GET")f.url+=(Ca.test(f.url)?"&":"?")+f.data;f.global&&!b.active++&&b.event.trigger("ajaxStart");E=(E=yb.exec(f.url))&&(E[1]&&E[1]!==location.protocol||E[2]!==location.host);if(f.dataType==="script"&&y==="GET"&&E){var P=q.getElementsByTagName("head")[0]||q.documentElement,U=q.createElement("script");U.src=f.url;if(f.scriptCharset)U.charset=f.scriptCharset;if(!l){var S=false;U.onload=U.onreadystatechange=function(){if(!S&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){S=true;c();d();U.onload=U.onreadystatechange=null;P&&U.parentNode&&P.removeChild(U)}}}P.insertBefore(U,P.firstChild);return i}var aa=false,M=f.xhr();if(M){f.username?M.open(y,f.url,f.async,f.username,f.password):M.open(y,f.url,f.async);try{if(f.data||a&&a.contentType)M.setRequestHeader("Content-Type",f.contentType);if(f.ifModified){b.lastModified[f.url]&&M.setRequestHeader("If-Modified-Since",b.lastModified[f.url]);b.etag[f.url]&&M.setRequestHeader("If-None-Match",b.etag[f.url])}E||M.setRequestHeader("X-Requested-With","XMLHttpRequest");M.setRequestHeader("Accept",f.dataType&&f.accepts[f.dataType]?f.accepts[f.dataType]+", */*":f.accepts._default)}catch(ya){}if(f.beforeSend&&f.beforeSend.call(s,M,f)===false){f.global&&!--b.active&&b.event.trigger("ajaxStop");M.abort();return false}f.global&&g("ajaxSend",[M,f]);var h=M.onreadystatechange=function(C){if(!M||M.readyState===0||C==="abort"){aa||d();aa=true;if(M)M.onreadystatechange=b.noop}else if(!aa&&M&&(M.readyState===4||C==="timeout")){aa=true;M.onreadystatechange=b.noop;m=C==="timeout"?"timeout":!b.httpSuccess(M)?"error":f.ifModified&&b.httpNotModified(M,f.url)?"notmodified":"success";var B;if(m==="success")try{z=b.httpData(M,f.dataType,f)}catch(K){m="parsererror";B=K}if(m==="success"||m==="notmodified")l||c();else b.handleError(f,M,m,B);d();C==="timeout"&&M.abort();if(f.async)M=null}};try{var k=M.abort;M.abort=function(){M&&k.call(M);h("abort")}}catch(t){}f.async&&f.timeout>0&&setTimeout(function(){M&&!aa&&h("timeout")},f.timeout);try{M.send(y==="POST"||y==="PUT"||y==="DELETE"?f.data:null)}catch(w){b.handleError(f,M,null,w);d()}f.async||h();return M}},handleError:function(a,c,d,g){if(a.error)a.error.call(a.context||a,c,d,g);if(a.global)(a.context?b(a.context):b.event).trigger("ajaxError",[c,a,g])},active:0,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(c){}return false},httpNotModified:function(a,c){var d=a.getResponseHeader("Last-Modified"),g=a.getResponseHeader("Etag");if(d)b.lastModified[c]=d;if(g)b.etag[c]=g;return a.status===304||a.status===0},httpData:function(a,c,d){var g=a.getResponseHeader("content-type")||"",f=c==="xml"||!c&&g.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&b.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,c);if(typeof a==="string")if(c==="json"||!c&&g.indexOf("json")>=0)a=b.parseJSON(a);else if(c==="script"||!c&&g.indexOf("javascript")>=0)b.globalEval(a);return a},param:function(a,c){function d(m,z){if(b.isArray(z))b.each(z,function(s,y){c||/\[\]$/.test(m)?g(m,y):d(m+"["+(typeof y==="object"||b.isArray(y)?s:"")+"]",y)});else!c&&z!=null&&typeof z==="object"?b.each(z,function(s,y){d(m+"["+s+"]",y)}):g(m,z)}function g(m,z){z=b.isFunction(z)?z():z;f[f.length]=encodeURIComponent(m)+"="+encodeURIComponent(z)}var f=[];if(c===i)c=b.ajaxSettings.traditional;if(b.isArray(a)||a.jquery)b.each(a,function(){g(this.name,this.value)});else for(var l in a)d(l,a[l]);return f.join("&").replace(zb,"+")}});var Da={},Bb=/toggle|show|hide/,Cb=/^([+-]=)?([\d+-.]+)(.*)$/,ta,Ga=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];b.fn.extend({show:function(a,c){if(a||a===0)return this.animate(X("show",3),a,c);else{a=0;for(c=this.length;a<c;a++){var d=b.data(this[a],"olddisplay");this[a].style.display=d||"";if(b.css(this[a],"display")==="none"){d=this[a].nodeName;var g;if(Da[d])g=Da[d];else{var f=b("<"+d+" />").appendTo("body");g=f.css("display");if(g==="none")g="block";f.remove();Da[d]=g}b.data(this[a],"olddisplay",g)}}a=0;for(c=this.length;a<c;a++)this[a].style.display=b.data(this[a],"olddisplay")||"";return this}},hide:function(a,c){if(a||a===0)return this.animate(X("hide",3),a,c);else{a=0;for(c=this.length;a<c;a++){var d=b.data(this[a],"olddisplay");!d&&d!=="none"&&b.data(this[a],"olddisplay",b.css(this[a],"display"))}a=0;for(c=this.length;a<c;a++)this[a].style.display="none";return this}},_toggle:b.fn.toggle,toggle:function(a,c){var d=typeof a==="boolean";if(b.isFunction(a)&&b.isFunction(c))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var g=d?a:b(this).is(":hidden");b(this)[g?"show":"hide"]()}):this.animate(X("toggle",3),a,c);return this},fadeTo:function(a,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},a,d)},animate:function(a,c,d,g){var f=b.speed(c,d,g);if(b.isEmptyObject(a))return this.each(f.complete);return this[f.queue===false?"each":"queue"](function(){var l=b.extend({},f),m,z=this.nodeType===1&&b(this).is(":hidden"),s=this;for(m in a){var y=m.replace(Aa,Ba);if(m!==y){a[y]=a[m];delete a[m];m=y}if(a[m]==="hide"&&z||a[m]==="show"&&!z)return l.complete.call(this);if((m==="height"||m==="width")&&this.style){l.display=b.css(this,"display");l.overflow=this.style.overflow}if(b.isArray(a[m])){(l.specialEasing=l.specialEasing||{})[m]=a[m][1];a[m]=a[m][0]}}if(l.overflow!=null)this.style.overflow="hidden";l.curAnim=b.extend({},a);b.each(a,function(E,I){var P=new b.fx(s,l,E);if(Bb.test(I))P[I==="toggle"?z?"show":"hide":I](a);else{var U=Cb.exec(I),S=P.cur(true)||0;if(U){I=parseFloat(U[2]);var aa=U[3]||"px";if(aa!=="px"){s.style[E]=(I||1)+aa;S=(I||1)/P.cur(true)*S;s.style[E]=S+aa}if(U[1])I=(U[1]==="-="?-1:1)*I+S;P.custom(S,I,aa)}else P.custom(S,I,"")}});return true})},stop:function(a,c){var d=b.timers;a&&this.queue([]);this.each(function(){for(var g=d.length-1;g>=0;g--)if(d[g].elem===this){c&&d[g](true);d.splice(g,1)}});c||this.dequeue();return this}});b.each({slideDown:X("show",1),slideUp:X("hide",1),slideToggle:X("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,c){b.fn[a]=function(d,g){return this.animate(c,d,g)}});b.extend({speed:function(a,c,d){var g=a&&typeof a==="object"?a:{complete:d||!d&&c||b.isFunction(a)&&a,duration:a,easing:d&&c||c&&!b.isFunction(c)&&c};g.duration=b.fx.off?0:typeof g.duration==="number"?g.duration:b.fx.speeds[g.duration]||b.fx.speeds._default;g.old=g.complete;g.complete=function(){g.queue!==false&&b(this).dequeue();b.isFunction(g.old)&&g.old.call(this)};return g},easing:{linear:function(a,c,d,g){return d+g*a},swing:function(a,c,d,g){return(-Math.cos(a*Math.PI)/2+0.5)*g+d}},timers:[],fx:function(a,c,d){this.options=c;this.elem=a;this.prop=d;if(!c.orig)c.orig={}}});b.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(b.fx.step[this.prop]||b.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(b.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(b.curCSS(this.elem,this.prop))||0},custom:function(a,c,d){function g(l){return f.step(l)}this.startTime=x();this.start=a;this.end=c;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var f=this;g.elem=this.elem;if(g()&&b.timers.push(g)&&!ta)ta=setInterval(b.fx.tick,13)},show:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var c=x(),d=true;if(a||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var g in this.options.curAnim)if(this.options.curAnim[g]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=b.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(b.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&b(this.elem).hide();if(this.options.hide||this.options.show)for(var f in this.options.curAnim)b.style(this.elem,f,this.options.orig[f]);this.options.complete.call(this.elem)}return false}else{f=c-this.startTime;this.state=f/this.options.duration;a=this.options.easing||(b.easing.swing?"swing":"linear");this.pos=b.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,f,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};b.extend(b.fx,{tick:function(){for(var a=b.timers,c=0;c<a.length;c++)a[c]()||a.splice(c--,1);a.length||b.fx.stop()},stop:function(){clearInterval(ta);ta=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){b.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(b.expr&&b.expr.filters)b.expr.filters.animated=function(a){return b.grep(b.timers,function(c){return a===c.elem}).length};b.fn.offset="getBoundingClientRect"in q.documentElement?function(a){var c=this[0];if(a)return this.each(function(f){b.offset.setOffset(this,a,f)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return b.offset.bodyOffset(c);var d=c.getBoundingClientRect(),g=c.ownerDocument;c=g.body;g=g.documentElement;return{top:d.top+(self.pageYOffset||b.support.boxModel&&g.scrollTop||c.scrollTop)-(g.clientTop||c.clientTop||0),left:d.left+(self.pageXOffset||b.support.boxModel&&g.scrollLeft||c.scrollLeft)-(g.clientLeft||c.clientLeft||0)}}:function(a){var c=this[0];if(a)return this.each(function(E){b.offset.setOffset(this,a,E)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return b.offset.bodyOffset(c);b.offset.initialize();var d=c.offsetParent,g=c,f=c.ownerDocument,l,m=f.documentElement,z=f.body;g=(f=f.defaultView)?f.getComputedStyle(c,null):c.currentStyle;for(var s=c.offsetTop,y=c.offsetLeft;(c=c.parentNode)&&c!==z&&c!==m;){if(b.offset.supportsFixedPosition&&g.position==="fixed")break;l=f?f.getComputedStyle(c,null):c.currentStyle;s-=c.scrollTop;y-=c.scrollLeft;if(c===d){s+=c.offsetTop;y+=c.offsetLeft;if(b.offset.doesNotAddBorder&&!(b.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(c.nodeName))){s+=parseFloat(l.borderTopWidth)||0;y+=parseFloat(l.borderLeftWidth)||0}g=d;d=c.offsetParent}if(b.offset.subtractsBorderForOverflowNotVisible&&l.overflow!=="visible"){s+=parseFloat(l.borderTopWidth)||0;y+=parseFloat(l.borderLeftWidth)||0}g=l}if(g.position==="relative"||g.position==="static"){s+=z.offsetTop;y+=z.offsetLeft}if(b.offset.supportsFixedPosition&&g.position==="fixed"){s+=Math.max(m.scrollTop,z.scrollTop);y+=Math.max(m.scrollLeft,z.scrollLeft)}return{top:s,left:y}};b.offset={initialize:function(){var a=q.body,c=q.createElement("div"),d,g,f,l=parseFloat(b.curCSS(a,"marginTop",true))||0;b.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});c.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(c,a.firstChild);d=c.firstChild;g=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=g.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;g.style.position="fixed";g.style.top="20px";this.supportsFixedPosition=g.offsetTop===20||g.offsetTop===15;g.style.position=g.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=g.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==l;a.removeChild(c);b.offset.initialize=b.noop},bodyOffset:function(a){var c=a.offsetTop,d=a.offsetLeft;b.offset.initialize();if(b.offset.doesNotIncludeMarginInBodyOffset){c+=parseFloat(b.curCSS(a,"marginTop",true))||0;d+=parseFloat(b.curCSS(a,"marginLeft",true))||0}return{top:c,left:d}},setOffset:function(a,c,d){if(/static/.test(b.curCSS(a,"position")))a.style.position="relative";var g=b(a),f=g.offset(),l=parseInt(b.curCSS(a,"top",true),10)||0,m=parseInt(b.curCSS(a,"left",true),10)||0;if(b.isFunction(c))c=c.call(a,d,f);d={top:c.top-f.top+l,left:c.left-f.left+m};"using"in c?c.using.call(a,d):g.css(d)}};b.fn.extend({position:function(){if(!this[0])return null;var a=this[0],c=this.offsetParent(),d=this.offset(),g=/^body|html$/i.test(c[0].nodeName)?{top:0,left:0}:c.offset();d.top-=parseFloat(b.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(b.curCSS(a,"marginLeft",true))||0;g.top+=parseFloat(b.curCSS(c[0],"borderTopWidth",true))||0;g.left+=parseFloat(b.curCSS(c[0],"borderLeftWidth",true))||0;return{top:d.top-g.top,left:d.left-g.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||q.body;a&&!/^body|html$/i.test(a.nodeName)&&b.css(a,"position")==="static";)a=a.offsetParent;return a})}});b.each(["Left","Top"],function(a,c){var d="scroll"+c;b.fn[d]=function(g){var f=this[0],l;if(!f)return null;if(g!==i)return this.each(function(){if(l=j(this))l.scrollTo(!a?g:b(l).scrollLeft(),a?g:b(l).scrollTop());else this[d]=g});else return(l=j(f))?"pageXOffset"in l?l[a?"pageYOffset":"pageXOffset"]:b.support.boxModel&&l.document.documentElement[d]||l.document.body[d]:f[d]}});b.each(["Height","Width"],function(a,c){var d=c.toLowerCase();b.fn["inner"+c]=function(){return this[0]?b.css(this[0],d,false,"padding"):null};b.fn["outer"+c]=function(g){return this[0]?b.css(this[0],d,false,g?"margin":"border"):null};b.fn[d]=function(g){var f=this[0];if(!f)return g==null?null:this;if(b.isFunction(g))return this.each(function(l){var m=b(this);m[d](g.call(this,l,m[d]()))});return"scrollTo"in f&&f.document?f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+c]||f.document.body["client"+c]:f.nodeType===9?Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+
c],f.body["offset"+c],f.documentElement["offset"+c]):g===i?b.css(f,d):this.css(d,typeof g==="string"?g:g+"px")}});e.jQuery=e.$=b})(window);var animatedcollapse={divholders:{},divgroups:{},lastactiveingroup:{},show:function(e){if(typeof e=="object")for(var i=0;i<e.length;i++)this.showhide(e[i],"show");else this.showhide(e,"show")},hide:function(e){if(typeof e=="object")for(var i=0;i<e.length;i++)this.showhide(e[i],"hide");else this.showhide(e,"hide")},toggle:function(e){this.showhide(e,"toggle")},addDiv:function(e,i){this.divholders[e]={id:e,$divref:null,attrs:i};this.divholders[e].getAttr=function(r){return(new RegExp(r+"=([^,]+)","i")).test(this.attrs)&&parseInt(RegExp.$1)!=0?RegExp.$1:null}},showhide:function(e,i){var r=this.divholders[e].$divref;if(this.divholders[e]&&r.length==1){var n=this.divgroups[r.attr("groupname")];if(r.attr("groupname")&&n.count>1&&(i=="show"||i=="toggle"&&r.css("display")=="none")){n.lastactivedivid&&n.lastactivedivid!=e&&this.slideengine(n.lastactivedivid,"hide");this.slideengine(e,"show");n.lastactivedivid=e}else this.slideengine(e,i)}},slideengine:function(e,i){var r=this.divholders[e].$divref;if(this.divholders[e]&&r.length==1){e={height:i};if(r.attr("fade"))e.opacity=i;r.animate(e,r.attr("speed")?parseInt(r.attr("speed")):500);return false}},generatemap:function(){for(var e={},i=0;i<arguments.length;i++)if(arguments[i][1]!=null)e[arguments[i][0]]=arguments[i][1];return e},init:function(){var e=this;jQuery(document).ready(function(i){var r=e.getCookie("acopendivids"),n=e.getCookie("acgroupswithpersist");if(r!=null)r=r=="nada"?[]:r.split(",");n=n==null||n=="nada"?[]:n.split(",");jQuery.each(e.divholders,function(){this.$divref=i("#"+this.id);var x=(this.getAttr("persist")||jQuery.inArray(this.getAttr("group"),n)!=-1)&&r!=null?jQuery.inArray(this.id,r)!=-1?"block":"none":this.getAttr("hide")?"none":null;this.$divref.css(e.generatemap(["height",this.getAttr("height")],["display",x]));this.$divref.attr(e.generatemap(["groupname",this.getAttr("group")],["fade",this.getAttr("fade")],["speed",this.getAttr("speed")]));if(this.getAttr("group")){var u=e.divgroups[this.getAttr("group")]||(e.divgroups[this.getAttr("group")]={});u.count=(u.count||0)+1;if(!u.lastactivedivid&&this.$divref.css("display")!="none"||x=="block")u.lastactivedivid=this.id;this.$divref.css({display:"none"})}});jQuery.each(e.divgroups,function(){this.lastactivedivid&&e.divholders[this.lastactivedivid].$divref.show()});var A=/(collapse-)|(expand-)|(toggle-)/;i("*[rel]").filter('[@rel^="collapse-"], [@rel^="expand-"], [@rel^="toggle-"]').each(function(){i(this).click(function(){var x=this.getAttribute("rel"),u=x.replace(A,"");x=x.indexOf("collapse-")!=-1?"hide":x.indexOf("expand-")!=-1?"show":"toggle";return e.showhide(u,x)})});i(window).bind("unload",function(){e.uninit()})})},uninit:function(){var e="",i="";jQuery.each(this.divholders,function(){if(this.$divref.css("display")!="none")e+=this.id+",";if(this.getAttr("group")&&this.getAttr("persist"))i+=this.getAttr("group")+","});e=e==""?"nada":e.replace(/,$/,"");i=i==""?"nada":i.replace(/,$/,"");this.setCookie("acopendivids",e);this.setCookie("acgroupswithpersist",i)},getCookie:function(e){e=new RegExp(e+"=[^;]*","i");if(document.cookie.match(e))return document.cookie.match(e)[0].split("=")[1];return null},setCookie:function(e,i,r){if(typeof r!="undefined"){var n=new Date;n.setDate(n.getDate()+r);document.cookie=e+"="+i+"; path=/; expires="+n.toGMTString()}else document.cookie=e+"="+i+"; path=/"}};var dhtmlwindow={imagefiles:["http://cdn.kantut-tayo.com/images/min.gif","http://cdn.kantut-tayo.com/images/close.gif","http://cdn.kantut-tayo.com/images/restore.gif","http://cdn.kantut-tayo.com/images/resize.gif"],ajaxbustcache:true,ajaxloadinghtml:"<b>Loading Page. Please wait...</b>",minimizeorder:0,zIndexvalue:100,tobjects:[],lastactivet:{},init:function(e){var i=document.createElement("div");i.id=e;i.className="dhtmlwindow";var r="";r='<div class="drag-handle">';r+='DHTML Window <div class="drag-controls"><img src="'+
this.imagefiles[0]+'" title="Minimize" /><img src="'+this.imagefiles[1]+'" title="Close" /></div>';r+="</div>";r+='<div class="drag-contentarea"></div>';r+='<div class="drag-statusarea"><div class="drag-resizearea" style="background: transparent url('+this.imagefiles[3]+') top right no-repeat;">&nbsp;</div></div>';r+="</div>";i.innerHTML=r;document.getElementById("dhtmlwindowholder").appendChild(i);e=document.getElementById(e);i=e.getElementsByTagName("div");for(r=0;r<i.length;r++)if(/drag-/.test(i[r].className))e[i[r].className.replace(/drag-/,"")]=i[r];e.handle._parent=e;e.resizearea._parent=e;e.controls._parent=e;e.onclose=function(){return true};e.onmousedown=function(){dhtmlwindow.setfocus(this)};e.handle.onmousedown=dhtmlwindow.setupdrag;e.resizearea.onmousedown=dhtmlwindow.setupdrag;e.controls.onclick=dhtmlwindow.enablecontrols;e.show=function(){dhtmlwindow.show(this)};e.hide=function(){dhtmlwindow.hide(this)};e.close=function(){dhtmlwindow.close(this)};e.setSize=function(n,A){dhtmlwindow.setSize(this,n,A)};e.moveTo=function(n,A){dhtmlwindow.moveTo(this,n,A)};e.isResize=function(n){dhtmlwindow.isResize(this,n)};e.isScrolling=function(n){dhtmlwindow.isScrolling(this,n)};e.load=function(n,A,x){dhtmlwindow.load(this,n,A,x)};return this.tobjects[this.tobjects.length]=e},open:function(e,i,r,n,A,x){function u(L){return(new RegExp(L+"=([^,]+)","i")).test(A)?parseInt(RegExp.$1):0}e=document.getElementById(e)==null?this.init(e):document.getElementById(e);this.setfocus(e);e.setSize(u("width"),u("height"));var F=u("center")?"middle":u("left"),N=u("center")?"middle":u("top");if(typeof x!="undefined"&&x=="recal"&&this.scroll_top==0)window.attachEvent&&!window.opera?this.addEvent(window,function(){setTimeout(function(){e.moveTo(F,N)},400)},"load"):this.addEvent(window,function(){e.moveTo(F,N)},"load");e.isResize(u("resize"));e.isScrolling(u("scrolling"));e.style.visibility="visible";e.style.display="block";e.contentarea.style.display="block";e.moveTo(F,N);e.load(i,r,n);if(e.state=="minimized"&&e.controls.firstChild.title=="Restore"){e.controls.firstChild.setAttribute("src",dhtmlwindow.imagefiles[0]);e.controls.firstChild.setAttribute("title","Minimize");e.state="fullview"}return e},setSize:function(e,i,r){e.style.width=Math.max(parseInt(i),150)+"px";e.contentarea.style.height=Math.max(parseInt(r),100)+"px"},moveTo:function(e,i,r){this.getviewpoint();e.style.left=i=="middle"?this.scroll_left+(this.docwidth-e.offsetWidth)/2+"px":this.scroll_left+parseInt(i)+"px";e.style.top=r=="middle"?this.scroll_top+(this.docheight-e.offsetHeight)/2+"px":this.scroll_top+parseInt(r)+"px"},isResize:function(e,i){e.statusarea.style.display=i?"block":"none";e.resizeBool=i?1:0},isScrolling:function(e,i){e.contentarea.style.overflow=i?"auto":"hidden"},load:function(e,i,r,n){if(e.isClosed)alert("DHTML Window has been closed, so no window to load contents into. Open/Create the window again.");else{i=i.toLowerCase();if(typeof n!="undefined")e.handle.firstChild.nodeValue=n;if(i=="inline")e.contentarea.innerHTML=r;else if(i=="div"){r=document.getElementById(r);e.contentarea.innerHTML=r.defaultHTML||r.innerHTML;if(!r.defaultHTML)r.defaultHTML=r.innerHTML;r.innerHTML="";r.style.display="none"}else if(i=="iframe"){e.contentarea.style.overflow="hidden";if(!e.contentarea.firstChild||e.contentarea.firstChild.tagName!="IFRAME")e.contentarea.innerHTML='<iframe src="" style="margin:0; padding:0; width:100%; height: 100%" name="_iframe-'+e.id+'"></iframe>';window.frames["_iframe-"+e.id].location.replace(r)}else i=="ajax"&&this.ajax_connect(r,e);e.contentarea.datatype=i}},setupdrag:function(e){var i=dhtmlwindow,r=this._parent;i.etarget=this;e=window.event||e;i.initmousex=e.clientX;i.initmousey=e.clientY;i.initx=parseInt(r.offsetLeft);i.inity=parseInt(r.offsetTop);i.width=parseInt(r.offsetWidth);i.contentheight=parseInt(r.contentarea.offsetHeight);if(r.contentarea.datatype=="iframe"){r.style.backgroundColor="#F8F8F8";r.contentarea.style.visibility="hidden"}document.onmousemove=i.getdistance;document.onmouseup=function(){if(r.contentarea.datatype=="iframe"){r.contentarea.style.backgroundColor="white";r.contentarea.style.visibility="visible"}i.stop()};return false},getdistance:function(e){var i=dhtmlwindow,r=i.etarget;e=window.event||e;i.distancex=e.clientX-i.initmousex;i.distancey=e.clientY-i.initmousey;if(r.className=="drag-handle")i.move(r._parent,e);else r.className=="drag-resizearea"&&i.resize(r._parent,e);return false},getviewpoint:function(){var e=document.all&&!window.opera,i=document.documentElement&&parseInt(document.documentElement.clientWidth)||1E5;this.standardbody=document.compatMode=="CSS1Compat"?document.documentElement:document.body;this.scroll_top=e?this.standardbody.scrollTop:window.pageYOffset;this.scroll_left=e?this.standardbody.scrollLeft:window.pageXOffset;this.docwidth=e?this.standardbody.clientWidth:/Safari/i.test(navigator.userAgent)?window.innerWidth:Math.min(i,window.innerWidth-16);this.docheight=e?this.standardbody.clientHeight:window.innerHeight},rememberattrs:function(e){this.getviewpoint();e.lastx=parseInt(e.style.left||e.offsetLeft)-dhtmlwindow.scroll_left;e.lasty=parseInt(e.style.top||e.offsetTop)-dhtmlwindow.scroll_top;e.lastwidth=parseInt(e.style.width)},move:function(e){e.style.left=dhtmlwindow.distancex+dhtmlwindow.initx+"px";e.style.top=dhtmlwindow.distancey+dhtmlwindow.inity+"px"},resize:function(e){e.style.width=Math.max(dhtmlwindow.width+dhtmlwindow.distancex,150)+"px";e.contentarea.style.height=Math.max(dhtmlwindow.contentheight+dhtmlwindow.distancey,100)+"px"},enablecontrols:function(e){var i=dhtmlwindow;e=window.event?window.event.srcElement:e.target;if(/Minimize/i.test(e.getAttribute("title")))i.minimize(e,this._parent);else if(/Restore/i.test(e.getAttribute("title")))i.restore(e,this._parent);else/Close/i.test(e.getAttribute("title"))&&i.close(this._parent);return false},minimize:function(e,i){dhtmlwindow.rememberattrs(i);e.setAttribute("src",dhtmlwindow.imagefiles[2]);e.setAttribute("title","Restore");i.state="minimized";i.contentarea.style.display="none";i.statusarea.style.display="none";if(typeof i.minimizeorder=="undefined"){dhtmlwindow.minimizeorder++;i.minimizeorder=dhtmlwindow.minimizeorder}i.style.left="10px";i.style.width="200px";i.style.top=dhtmlwindow.scroll_top+dhtmlwindow.docheight-i.handle.offsetHeight*i.minimizeorder-i.minimizeorder*10+"px"},restore:function(e,i){dhtmlwindow.getviewpoint();e.setAttribute("src",dhtmlwindow.imagefiles[0]);e.setAttribute("title","Minimize");i.state="fullview";i.style.display="block";i.contentarea.style.display="block";if(i.resizeBool)i.statusarea.style.display="block";i.style.left=parseInt(i.lastx)+dhtmlwindow.scroll_left+"px";i.style.top=parseInt(i.lasty)+dhtmlwindow.scroll_top+"px";i.style.width=parseInt(i.lastwidth)+"px"},close:function(e){try{var i=e.onclose()}catch(r){i=true}finally{if(typeof i=="undefined"){alert('An error has occured somwhere inside your "onclose" event handler');i=true}}if(i){e.state!="minimized"&&dhtmlwindow.rememberattrs(e);if(window.frames["_iframe-"+e.id])window.frames["_iframe-"+e.id].location.replace("about:blank");else e.contentarea.innerHTML="";e.style.display="none";e.isClosed=true}return i},setopacity:function(e,i){if(e)if(e.filters&&e.filters[0])if(typeof e.filters[0].opacity=="number")e.filters[0].opacity=i*100;else e.style.filter="alpha(opacity="+i*100+")";else if(typeof e.style.MozOpacity!="undefined")e.style.MozOpacity=i;else if(typeof e.style.opacity!="undefined")e.style.opacity=i},setfocus:function(e){this.zIndexvalue++;e.style.zIndex=this.zIndexvalue;e.isClosed=false;this.setopacity(this.lastactivet.handle,0.5);this.setopacity(e.handle,1);this.lastactivet=e},show:function(e){if(e.isClosed)alert("DHTML Window has been closed, so nothing to show. Open/Create the window again.");else{if(e.lastx)dhtmlwindow.restore(e.controls.firstChild,e);else e.style.display="block";this.setfocus(e);e.state="fullview"}},hide:function(e){e.style.display="none"},ajax_connect:function(e,i){var r=false,n="";if(window.XMLHttpRequest)r=new XMLHttpRequest;else if(window.ActiveXObject)try{r=new ActiveXObject("Msxml2.XMLHTTP")}catch(A){try{r=new ActiveXObject("Microsoft.XMLHTTP")}catch(x){}}else return false;i.contentarea.innerHTML=this.ajaxloadinghtml;r.onreadystatechange=function(){dhtmlwindow.ajax_loadpage(r,i)};if(this.ajaxbustcache)n=e.indexOf("?")!=-1?"&"+(new Date).getTime():"?"+(new Date).getTime();r.open("GET",e+n,true);r.send(null)},ajax_loadpage:function(e,i){if(e.readyState==4&&(e.status==200||window.location.href.indexOf("http")==-1))i.contentarea.innerHTML=e.responseText},stop:function(){dhtmlwindow.etarget=null;document.onmousemove=null;document.onmouseup=null},addEvent:function(e,i,r){r=window.addEventListener?r:"on"+r;if(e.addEventListener)e.addEventListener(r,i,false);else e.attachEvent&&e.attachEvent(r,i)},cleanup:function(){for(var e=0;e<dhtmlwindow.tobjects.length;e++)dhtmlwindow.tobjects[e].handle._parent=dhtmlwindow.tobjects[e].resizearea._parent=dhtmlwindow.tobjects[e].controls._parent=null;window.onload=null}};document.write('<div id="dhtmlwindowholder"><span style="display:none">.</span></div>');window.onunload=dhtmlwindow.cleanup;(function(e){function i(j){e.fn.cycle.debug&&r(j)}function r(){window.console&&window.console.log&&window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function n(j,b,v){function D(o,J,H){if(!o&&J===true){o=e(H).data("cycle.opts");if(!o){r("options not found, can not resume");return false}if(H.cycleTimeout){clearTimeout(H.cycleTimeout);H.cycleTimeout=0}Q(o.elements,o,1,1)}}if(j.cycleStop==undefined)j.cycleStop=0;if(b===undefined||b===null)b={};if(b.constructor==String){switch(b){case"destroy":case"stop":v=e(j).data("cycle.opts");if(!v)return false;j.cycleStop++;j.cycleTimeout&&clearTimeout(j.cycleTimeout);j.cycleTimeout=0;e(j).removeData("cycle.opts");b=="destroy"&&x(v);return false;case"toggle":j.cyclePause=j.cyclePause===1?0:1;D(j.cyclePause,v,j);return false;case"pause":j.cyclePause=1;return false;case"resume":j.cyclePause=0;D(false,v,j);return false;case"prev":case"next":v=e(j).data("cycle.opts");if(!v){r('options not found, "prev/next" ignored');return false}e.fn.cycle[b](v);return false;default:b={fx:b}}return b}else if(b.constructor==Number){var q=b;b=e(j).data("cycle.opts");if(!b){r("options not found, can not advance slide");return false}if(q<0||q>=b.elements.length){r("invalid slide index: "+q);return false}b.nextSlide=q;if(j.cycleTimeout){clearTimeout(j.cycleTimeout);j.cycleTimeout=0}if(typeof v=="string")b.oneTimeFx=v;Q(b.elements,b,1,q>=b.currSlide);return false}return b}function A(j,b){if(!e.support.opacity&&b.cleartype&&j.style.filter)try{j.style.removeAttribute("filter")}catch(v){}}
function x(j){j.next&&e(j.next).unbind(j.prevNextEvent);j.prev&&e(j.prev).unbind(j.prevNextEvent);if(j.pager||j.pagerAnchorBuilder)e.each(j.pagerAnchors||[],function(){this.unbind().remove()});j.pagerAnchors=null;j.destroy&&j.destroy(j)}function u(j,b,v,D,q){var o=e.extend({},e.fn.cycle.defaults,D||{},e.metadata?j.metadata():e.meta?j.data():{});if(o.autostop)o.countdown=o.autostopCount||v.length;var J=j[0];j.data("cycle.opts",o);o.$cont=j;o.stopCount=J.cycleStop;o.elements=v;o.before=o.before?[o.before]:[];o.after=o.after?[o.after]:[];o.after.unshift(function(){o.busy=0});!e.support.opacity&&o.cleartype&&o.after.push(function(){A(this,o)});o.continuous&&o.after.push(function(){Q(v,o,0,!o.rev)});F(o);!e.support.opacity&&o.cleartype&&!o.cleartypeNoBg&&X(b);j.css("position")=="static"&&j.css("position","relative");o.width&&j.width(o.width);o.height&&o.height!="auto"&&j.height(o.height);if(o.startingSlide)o.startingSlide=parseInt(o.startingSlide);if(o.random){o.randomMap=[];for(J=0;J<v.length;J++)o.randomMap.push(J);o.randomMap.sort(function(){return Math.random()-0.5});o.randomIndex=1;o.startingSlide=o.randomMap[1]}else if(o.startingSlide>=v.length)o.startingSlide=0;o.currSlide=o.startingSlide||0;var H=o.startingSlide;b.css({position:"absolute",top:0,left:0}).hide().each(function(W){W=H?W>=H?v.length-(W-H):H-W:v.length-W;e(this).css("z-index",W)});e(v[H]).css("opacity",1).show();A(v[H],o);o.fit&&o.width&&b.width(o.width);o.fit&&o.height&&o.height!="auto"&&b.height(o.height);if(o.containerResize&&!j.innerHeight()){for(var V=J=0,ca=0;ca<v.length;ca++){var Y=e(v[ca]),da=Y[0],ja=Y.outerWidth(),ea=Y.outerHeight();ja||(ja=da.offsetWidth||da.width||Y.attr("width"));ea||(ea=da.offsetHeight||da.height||Y.attr("height"));J=ja>J?ja:J;V=ea>V?ea:V}J>0&&V>0&&j.css({width:J+"px",height:V+"px"})}o.pause&&j.hover(function(){this.cyclePause++},function(){this.cyclePause--});if(N(o)===false)return false;var fa=false;D.requeueAttempts=D.requeueAttempts||0;b.each(function(){var W=e(this);this.cycleH=o.fit&&o.height?o.height:W.height()||this.offsetHeight||this.height||W.attr("height")||0;this.cycleW=o.fit&&o.width?o.width:W.width()||this.offsetWidth||this.width||W.attr("width")||0;if(W.is("img")){W=e.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete;var na=e.browser.opera&&(this.cycleW==42&&this.cycleH==19||this.cycleW==37&&this.cycleH==17)&&!this.complete,oa=this.cycleH==0&&this.cycleW==0&&!this.complete;if(e.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete||W||na||oa)if(q.s&&o.requeueOnImageNotLoaded&&++D.requeueAttempts<100){r(D.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){e(q.s,q.c).cycle(D)},o.requeueTimeout);fa=true;return false}else r("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}return true});if(fa)return false;o.cssBefore=o.cssBefore||{};o.animIn=o.animIn||{};o.animOut=o.animOut||{};b.not(":eq("+H+")").css(o.cssBefore);o.cssFirst&&e(b[H]).css(o.cssFirst);if(o.timeout){o.timeout=parseInt(o.timeout);if(o.speed.constructor==String)o.speed=e.fx.speeds[o.speed]||parseInt(o.speed);o.sync||(o.speed/=2);for(J=o.fx=="shuffle"?500:250;o.timeout-o.speed<J;)o.timeout+=o.speed}if(o.easing)o.easeIn=o.easeOut=o.easing;if(!o.speedIn)o.speedIn=o.speed;if(!o.speedOut)o.speedOut=o.speed;o.slideCount=v.length;o.currSlide=o.lastSlide=H;if(o.random){if(++o.randomIndex==v.length)o.randomIndex=0;o.nextSlide=o.randomMap[o.randomIndex]}else o.nextSlide=o.startingSlide>=v.length-1?0:o.startingSlide+1;if(!o.multiFx){J=e.fn.cycle.transitions[o.fx];if(e.isFunction(J))J(j,b,o);else if(o.fx!="custom"&&!o.multiFx){r("unknown transition: "+o.fx,"; slideshow terminating");return false}}j=b[H];o.before.length&&o.before[0].apply(j,[j,j,o,true]);o.after.length>1&&o.after[1].apply(j,[j,j,o,true]);o.next&&e(o.next).bind(o.prevNextEvent,function(){return T(o,o.rev?-1:1)});o.prev&&e(o.prev).bind(o.prevNextEvent,function(){return T(o,o.rev?1:-1)});if(o.pager||o.pagerAnchorBuilder)Z(v,o);L(o,v);return o}function F(j){j.original={before:[],after:[]};j.original.cssBefore=e.extend({},j.cssBefore);j.original.cssAfter=e.extend({},j.cssAfter);j.original.animIn=e.extend({},j.animIn);j.original.animOut=e.extend({},j.animOut);e.each(j.before,function(){j.original.before.push(this)});e.each(j.after,function(){j.original.after.push(this)})}function N(j){var b,v,D=e.fn.cycle.transitions;if(j.fx.indexOf(",")>0){j.multiFx=true;j.fxs=j.fx.replace(/\s*/g,"").split(",");for(b=0;b<j.fxs.length;b++){var q=j.fxs[b];v=D[q];if(!v||!D.hasOwnProperty(q)||!e.isFunction(v)){r("discarding unknown transition: ",q);j.fxs.splice(b,1);b--}}if(!j.fxs.length){r("No valid transitions named; slideshow terminating.");return false}}else if(j.fx=="all"){j.multiFx=true;j.fxs=[];for(p in D){v=D[p];D.hasOwnProperty(p)&&e.isFunction(v)&&j.fxs.push(p)}}if(j.multiFx&&j.randomizeEffects){v=Math.floor(Math.random()*20)+30;for(b=0;b<v;b++){D=Math.floor(Math.random()*j.fxs.length);j.fxs.push(j.fxs.splice(D,1)[0])}i("randomized fx sequence: ",j.fxs)}return true}function L(j,b){j.addSlide=function(v,D){v=e(v);var q=v[0];j.autostopCount||j.countdown++;b[D?"unshift":"push"](q);if(j.els)j.els[D?"unshift":"push"](q);j.slideCount=b.length;v.css("position","absolute");v[D?"prependTo":"appendTo"](j.$cont);if(D){j.currSlide++;j.nextSlide++}!e.support.opacity&&j.cleartype&&!j.cleartypeNoBg&&X(v);j.fit&&j.width&&v.width(j.width);j.fit&&j.height&&j.height!="auto"&&$slides.height(j.height);q.cycleH=j.fit&&j.height?j.height:v.height();q.cycleW=j.fit&&j.width?j.width:v.width();v.css(j.cssBefore);if(j.pager||j.pagerAnchorBuilder)e.fn.cycle.createPagerAnchor(b.length-1,q,e(j.pager),b,j);e.isFunction(j.onAddSlide)?j.onAddSlide(v):v.hide()}}function Q(j,b,v,D){if(v&&b.busy&&b.manualTrump){i("manualTrump in go(), stopping active transition");e(j).stop(true,true);b.busy=false}if(b.busy)i("transition active, ignoring new tx request");else{var q=b.$cont[0],o=j[b.currSlide],J=j[b.nextSlide];if(!(q.cycleStop!=b.stopCount||q.cycleTimeout===0&&!v))if(!v&&!q.cyclePause&&(b.autostop&&--b.countdown<=0||b.nowrap&&!b.random&&b.nextSlide<b.currSlide))b.end&&b.end(b);else{var H=false;if((v||!q.cyclePause)&&b.nextSlide!=b.currSlide){H=true;var V=b.fx;o.cycleH=o.cycleH||e(o).height();o.cycleW=o.cycleW||e(o).width();J.cycleH=J.cycleH||e(J).height();J.cycleW=J.cycleW||e(J).width();if(b.multiFx){if(b.lastFx==undefined||++b.lastFx>=b.fxs.length)b.lastFx=0;V=b.fxs[b.lastFx];b.currFx=V}if(b.oneTimeFx){V=b.oneTimeFx;b.oneTimeFx=null}e.fn.cycle.resetState(b,V);b.before.length&&e.each(b.before,function(ca,Y){q.cycleStop==b.stopCount&&Y.apply(J,[o,J,b,D])});V=function(){e.each(b.after,function(ca,Y){q.cycleStop==b.stopCount&&Y.apply(J,[o,J,b,D])})};i("tx firing; currSlide: "+b.currSlide+"; nextSlide: "+b.nextSlide);b.busy=1;if(b.fxFn)b.fxFn(o,J,b,V,D,v&&b.fastOnEvent);else e.isFunction(e.fn.cycle[b.fx])?e.fn.cycle[b.fx](o,J,b,V,D,v&&b.fastOnEvent):e.fn.cycle.custom(o,J,b,V,D,v&&b.fastOnEvent)}if(H||b.nextSlide==b.currSlide){b.lastSlide=b.currSlide;if(b.random){b.currSlide=b.nextSlide;if(++b.randomIndex==j.length)b.randomIndex=0;b.nextSlide=b.randomMap[b.randomIndex];if(b.nextSlide==b.currSlide)b.nextSlide=b.currSlide==b.slideCount-1?0:b.currSlide+1}else{v=b.nextSlide+1==j.length;b.nextSlide=v?0:b.nextSlide+1;b.currSlide=v?j.length-1:b.nextSlide-1}}H&&b.pager&&b.updateActivePagerLink(b.pager,b.currSlide,b.activePagerClass);H=0;if(b.timeout&&!b.continuous)H=R(o,J,b,D);else if(b.continuous&&q.cyclePause)H=10;if(H>0)q.cycleTimeout=setTimeout(function(){Q(j,b,0,!b.rev)},H)}}}function R(j,b,v,D){if(v.timeoutFn){for(j=v.timeoutFn(j,b,v,D);j-v.speed<250;)j+=v.speed;i("calculated timeout: "+j+"; speed: "+v.speed);if(j!==false)return j}return v.timeout}function T(j,b){var v=j.elements,D=j.$cont[0],q=D.cycleTimeout;if(q){clearTimeout(q);D.cycleTimeout=0}if(j.random&&b<0){j.randomIndex--;if(--j.randomIndex==-2)j.randomIndex=v.length-2;else if(j.randomIndex==-1)j.randomIndex=v.length-1;j.nextSlide=j.randomMap[j.randomIndex]}else if(j.random)j.nextSlide=j.randomMap[j.randomIndex];else{j.nextSlide=j.currSlide+b;if(j.nextSlide<0){if(j.nowrap)return false;j.nextSlide=v.length-1}else if(j.nextSlide>=v.length){if(j.nowrap)return false;j.nextSlide=0}}D=j.onPrevNextEvent||j.prevNextClick;e.isFunction(D)&&D(b>0,j.nextSlide,v[j.nextSlide]);Q(v,j,1,b>=0);return false}function Z(j,b){var v=e(b.pager);e.each(j,function(D,q){e.fn.cycle.createPagerAnchor(D,q,v,j,b)});b.updateActivePagerLink(b.pager,b.startingSlide,b.activePagerClass)}function X(j){function b(D){D=parseInt(D).toString(16);return D.length<2?"0"+D:D}function v(D){for(;D&&D.nodeName.toLowerCase()!="html";D=D.parentNode){var q=e.css(D,"background-color");if(q.indexOf("rgb")>=0){D=q.match(/\d+/g);return"#"+b(D[0])+b(D[1])+b(D[2])}if(q&&q!="transparent")return q}return"#ffffff"}i("applying clearType background-color hack");j.each(function(){e(this).css("background-color",v(this))})}if(e.support==undefined)e.support={opacity:!e.browser.msie};e.fn.cycle=function(j,b){var v={s:this.selector,c:this.context};if(this.length===0&&j!="stop"){if(!e.isReady&&v.s){r("DOM not ready, queuing slideshow");e(function(){e(v.s,v.c).cycle(j,b)});return this}r("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var D=n(this,j,b);if(D!==false){D.updateActivePagerLink=D.updateActivePagerLink||e.fn.cycle.updateActivePagerLink;this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cycleTimeout=this.cyclePause=0;var q=e(this),o=D.slideExpr?e(D.slideExpr,this):q.children(),J=o.get();if(J.length<2)r("terminating; too few slides: "+J.length);else{var H=u(q,o,J,D,v);if(H!==false)if(D=H.continuous?10:R(H.currSlide,H.nextSlide,H,!H.rev)){D+=H.delay||0;if(D<10)D=10;i("first timeout: "+D);this.cycleTimeout=setTimeout(function(){Q(J,H,0,!H.rev)},D)}}}})};e.fn.cycle.resetState=function(j,b){b=b||j.fx;j.before=[];j.after=[];j.cssBefore=e.extend({},j.original.cssBefore);j.cssAfter=e.extend({},j.original.cssAfter);j.animIn=e.extend({},j.original.animIn);j.animOut=e.extend({},j.original.animOut);j.fxFn=null;e.each(j.original.before,function(){j.before.push(this)});e.each(j.original.after,function(){j.after.push(this)});b=e.fn.cycle.transitions[b];e.isFunction(b)&&b(j.$cont,e(j.elements),j)};e.fn.cycle.updateActivePagerLink=function(j,b,v){e(j).each(function(){e(this).children().removeClass(v).eq(b).addClass(v)})};e.fn.cycle.next=function(j){T(j,j.rev?-1:1)};e.fn.cycle.prev=function(j){T(j,j.rev?1:-1)};e.fn.cycle.createPagerAnchor=function(j,b,v,D,q){if(e.isFunction(q.pagerAnchorBuilder)){b=q.pagerAnchorBuilder(j,b);i("pagerAnchorBuilder("+j+", el) returned: "+
b)}else b='<a href="#">'+(j+1)+"</a>";if(b){var o=e(b);if(o.parents("body").length===0){var J=[];if(v.length>1){v.each(function(){var H=o.clone(true);e(this).append(H);J.push(H[0])});o=e(J)}else o.appendTo(v)}q.pagerAnchors=q.pagerAnchors||[];q.pagerAnchors.push(o);o.bind(q.pagerEvent,function(H){H.preventDefault();q.nextSlide=j;H=q.$cont[0];var V=H.cycleTimeout;if(V){clearTimeout(V);H.cycleTimeout=0}H=q.onPagerEvent||q.pagerClick;e.isFunction(H)&&H(q.nextSlide,D[q.nextSlide]);Q(D,q,1,q.currSlide<j)});!/^click/.test(q.pagerEvent)&&!q.allowPagerClickBubble&&o.bind("click.cycle",function(){return false});q.pauseOnPagerHover&&o.hover(function(){q.$cont[0].cyclePause++},function(){q.$cont[0].cyclePause--})}};e.fn.cycle.hopsFromLast=function(j,b){var v=j.lastSlide,D=j.currSlide;return b?D>v?D-v:j.slideCount-v:D<v?v-D:v+j.slideCount-D};e.fn.cycle.commonReset=function(j,b,v,D,q,o){e(v.elements).not(j).hide();v.cssBefore.opacity=1;v.cssBefore.display="block";if(D!==false&&b.cycleW>0)v.cssBefore.width=b.cycleW;if(q!==false&&b.cycleH>0)v.cssBefore.height=b.cycleH;v.cssAfter=v.cssAfter||{};v.cssAfter.display="none";e(j).css("zIndex",v.slideCount+(o===true?1:0));e(b).css("zIndex",v.slideCount+(o===true?0:1))};e.fn.cycle.custom=function(j,b,v,D,q,o){var J=e(j),H=e(b),V=v.speedIn;j=v.speedOut;var ca=v.easeIn;b=v.easeOut;H.css(v.cssBefore);if(o){V=typeof o=="number"?(j=o):(j=1);ca=b=null}var Y=function(){H.animate(v.animIn,V,ca,D)};J.animate(v.animOut,j,b,function(){v.cssAfter&&J.css(v.cssAfter);v.sync||Y()});v.sync&&Y()};e.fn.cycle.transitions={fade:function(j,b,v){b.not(":eq("+v.currSlide+")").css("opacity",0);v.before.push(function(D,q,o){e.fn.cycle.commonReset(D,q,o);o.cssBefore.opacity=0});v.animIn={opacity:1};v.animOut={opacity:0};v.cssBefore={top:0,left:0}}};e.fn.cycle.ver=function(){return"2.86"};e.fn.cycle.defaults={fx:"fade",timeout:4E3,timeoutFn:null,continuous:0,speed:1E3,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!e.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null}})(jQuery);(function(e){e.fn.cycle.transitions.none=function(i,r,n){n.fxFn=function(A,x,u,F){e(x).show();e(A).hide();F()}};e.fn.cycle.transitions.scrollUp=function(i,r,n){i.css("overflow","hidden");n.before.push(e.fn.cycle.commonReset);i=i.height();n.cssBefore={top:i,left:0};n.cssFirst={top:0};n.animIn={top:0};n.animOut={top:-i}};e.fn.cycle.transitions.scrollDown=function(i,r,n){i.css("overflow","hidden");n.before.push(e.fn.cycle.commonReset);i=i.height();n.cssFirst={top:0};n.cssBefore={top:-i,left:0};n.animIn={top:0};n.animOut={top:i}};e.fn.cycle.transitions.scrollLeft=function(i,r,n){i.css("overflow","hidden");n.before.push(e.fn.cycle.commonReset);i=i.width();n.cssFirst={left:0};n.cssBefore={left:i,top:0};n.animIn={left:0};n.animOut={left:0-i}};e.fn.cycle.transitions.scrollRight=function(i,r,n){i.css("overflow","hidden");n.before.push(e.fn.cycle.commonReset);i=i.width();n.cssFirst={left:0};n.cssBefore={left:-i,top:0};n.animIn={left:0};n.animOut={left:i}};e.fn.cycle.transitions.scrollHorz=function(i,r,n){i.css("overflow","hidden").width();n.before.push(function(A,x,u,F){e.fn.cycle.commonReset(A,x,u);u.cssBefore.left=F?x.cycleW-1:1-x.cycleW;u.animOut.left=F?-A.cycleW:A.cycleW});n.cssFirst={left:0};n.cssBefore={top:0};n.animIn={left:0};n.animOut={top:0}};e.fn.cycle.transitions.scrollVert=function(i,r,n){i.css("overflow","hidden");n.before.push(function(A,x,u,F){e.fn.cycle.commonReset(A,x,u);u.cssBefore.top=F?1-x.cycleH:x.cycleH-1;u.animOut.top=F?A.cycleH:-A.cycleH});n.cssFirst={top:0};n.cssBefore={left:0};n.animIn={top:0};n.animOut={left:0}};e.fn.cycle.transitions.slideX=function(i,r,n){n.before.push(function(A,x,u){e(u.elements).not(A).hide();e.fn.cycle.commonReset(A,x,u,false,true);u.animIn.width=x.cycleW});n.cssBefore={left:0,top:0,width:0};n.animIn={width:"show"};n.animOut={width:0}};e.fn.cycle.transitions.slideY=function(i,r,n){n.before.push(function(A,x,u){e(u.elements).not(A).hide();e.fn.cycle.commonReset(A,x,u,true,false);u.animIn.height=x.cycleH});n.cssBefore={left:0,top:0,height:0};n.animIn={height:"show"};n.animOut={height:0}};e.fn.cycle.transitions.shuffle=function(i,r,n){i=i.css("overflow","visible").width();r.css({left:0,top:0});n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u,true,true,true)});if(!n.speedAdjusted){n.speed/=2;n.speedAdjusted=true}n.random=0;n.shuffle=n.shuffle||{left:-i,top:15};n.els=[];for(i=0;i<r.length;i++)n.els.push(r[i]);for(i=0;i<n.currSlide;i++)n.els.push(n.els.shift());n.fxFn=function(A,x,u,F,N){var L=N?e(A):e(x);e(x).css(u.cssBefore);var Q=u.slideCount;L.animate(u.shuffle,u.speedIn,u.easeIn,function(){for(var R=e.fn.cycle.hopsFromLast(u,N),T=0;T<R;T++)N?u.els.push(u.els.shift()):u.els.unshift(u.els.pop());if(N){R=0;for(T=u.els.length;R<T;R++)e(u.els[R]).css("z-index",T-R+Q)}else{R=e(A).css("z-index");L.css("z-index",parseInt(R)+1+Q)}L.animate({left:0,top:0},u.speedOut,u.easeOut,function(){e(N?this:A).hide();F&&F()})})};n.cssBefore={display:"block",opacity:1,top:0,left:0}};e.fn.cycle.transitions.turnUp=function(i,r,n){n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u,true,false);u.cssBefore.top=x.cycleH;u.animIn.height=x.cycleH});n.cssFirst={top:0};n.cssBefore={left:0,height:0};n.animIn={top:0};n.animOut={height:0}};e.fn.cycle.transitions.turnDown=function(i,r,n){n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u,true,false);u.animIn.height=x.cycleH;u.animOut.top=A.cycleH});n.cssFirst={top:0};n.cssBefore={left:0,top:0,height:0};n.animOut={height:0}};e.fn.cycle.transitions.turnLeft=function(i,r,n){n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u,false,true);u.cssBefore.left=x.cycleW;u.animIn.width=x.cycleW});n.cssBefore={top:0,width:0};n.animIn={left:0};n.animOut={width:0}};e.fn.cycle.transitions.turnRight=function(i,r,n){n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u,false,true);u.animIn.width=x.cycleW;u.animOut.left=A.cycleW});n.cssBefore={top:0,left:0,width:0};n.animIn={left:0};n.animOut={width:0}};e.fn.cycle.transitions.zoom=function(i,r,n){n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u,false,false,true);u.cssBefore.top=x.cycleH/2;u.cssBefore.left=x.cycleW/2;u.animIn={top:0,left:0,width:x.cycleW,height:x.cycleH};u.animOut={width:0,height:0,top:A.cycleH/2,left:A.cycleW/2}});n.cssFirst={top:0,left:0};n.cssBefore={width:0,height:0}};e.fn.cycle.transitions.fadeZoom=function(i,r,n){n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u,false,false);u.cssBefore.left=x.cycleW/2;u.cssBefore.top=x.cycleH/2;u.animIn={top:0,left:0,width:x.cycleW,height:x.cycleH}});n.cssBefore={width:0,height:0};n.animOut={opacity:0}};e.fn.cycle.transitions.blindX=function(i,r,n){i=i.css("overflow","hidden").width();n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u);u.animIn.width=x.cycleW;u.animOut.left=A.cycleW});n.cssBefore={left:i,top:0};n.animIn={left:0};n.animOut={left:i}};e.fn.cycle.transitions.blindY=function(i,r,n){i=i.css("overflow","hidden").height();n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u);u.animIn.height=x.cycleH;u.animOut.top=A.cycleH});n.cssBefore={top:i,left:0};n.animIn={top:0};n.animOut={top:i}};e.fn.cycle.transitions.blindZ=function(i,r,n){r=i.css("overflow","hidden").height();i=i.width();n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u);u.animIn.height=x.cycleH;u.animOut.top=A.cycleH});n.cssBefore={top:r,left:i};n.animIn={top:0,left:0};n.animOut={top:r,left:i}};e.fn.cycle.transitions.growX=function(i,r,n){n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u,false,true);u.cssBefore.left=this.cycleW/2;u.animIn={left:0,width:this.cycleW};u.animOut={left:0}});n.cssBefore={width:0,top:0}};e.fn.cycle.transitions.growY=function(i,r,n){n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u,true,false);u.cssBefore.top=this.cycleH/2;u.animIn={top:0,height:this.cycleH};u.animOut={top:0}});n.cssBefore={height:0,left:0}};e.fn.cycle.transitions.curtainX=function(i,r,n){n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u,false,true,true);u.cssBefore.left=x.cycleW/2;u.animIn={left:0,width:this.cycleW};u.animOut={left:A.cycleW/2,width:0}});n.cssBefore={top:0,width:0}};e.fn.cycle.transitions.curtainY=function(i,r,n){n.before.push(function(A,x,u){e.fn.cycle.commonReset(A,x,u,true,false,true);u.cssBefore.top=x.cycleH/2;u.animIn={top:0,height:x.cycleH};u.animOut={top:A.cycleH/2,height:0}});n.cssBefore={left:0,height:0}};e.fn.cycle.transitions.cover=function(i,r,n){var A=n.direction||"left",x=i.css("overflow","hidden").width(),u=i.height();n.before.push(function(F,N,L){e.fn.cycle.commonReset(F,N,L);if(A=="right")L.cssBefore.left=-x;else if(A=="up")L.cssBefore.top=u;else if(A=="down")L.cssBefore.top=-u;else L.cssBefore.left=x});n.animIn={left:0,top:0};n.animOut={opacity:1};n.cssBefore={top:0,left:0}};e.fn.cycle.transitions.uncover=function(i,r,n){var A=n.direction||"left",x=i.css("overflow","hidden").width(),u=i.height();n.before.push(function(F,N,L){e.fn.cycle.commonReset(F,N,L,true,true,true);if(A=="right")L.animOut.left=x;else if(A=="up")L.animOut.top=-u;else if(A=="down")L.animOut.top=u;else L.animOut.left=-x});n.animIn={left:0,top:0};n.animOut={opacity:1};n.cssBefore={top:0,left:0}};e.fn.cycle.transitions.toss=function(i,r,n){var A=i.css("overflow","visible").width(),x=i.height();n.before.push(function(u,F,N){e.fn.cycle.commonReset(u,F,N,true,true,true);if(!N.animOut.left&&!N.animOut.top)N.animOut={left:A*2,top:-x/2,opacity:0};else N.animOut.opacity=0});n.cssBefore={left:0,top:0};n.animIn={left:0}};e.fn.cycle.transitions.wipe=function(i,r,n){var A=i.css("overflow","hidden").width(),x=i.height();n.cssBefore=n.cssBefore||{};var u;if(n.clip)if(/l2r/.test(n.clip))u="rect(0px 0px "+x+"px 0px)";else if(/r2l/.test(n.clip))u="rect(0px "+A+"px "+x+"px "+A+"px)";else if(/t2b/.test(n.clip))u="rect(0px "+A+"px 0px 0px)";else if(/b2t/.test(n.clip))u="rect("+x+"px "+A+"px "+x+"px 0px)";else if(/zoom/.test(n.clip)){i=parseInt(x/2);r=parseInt(A/2);u="rect("+i+"px "+r+"px "+i+"px "+r+"px)"}n.cssBefore.clip=n.cssBefore.clip||u||"rect(0px 0px 0px 0px)";i=n.cssBefore.clip.match(/(\d+)/g);var F=parseInt(i[0]),N=parseInt(i[1]),L=parseInt(i[2]),Q=parseInt(i[3]);n.before.push(function(R,T,Z){if(R!=T){var X=e(R),j=e(T);e.fn.cycle.commonReset(R,T,Z,true,true,false);Z.cssAfter.display="block";var b=1,v=parseInt(Z.speedIn/13)-1;(function D(){var q=F?F-parseInt(b*(F/v)):0,o=Q?Q-parseInt(b*(Q/v)):0,J=L<x?L+parseInt(b*((x-L)/v||1)):x,H=N<A?N+parseInt(b*((A-N)/v||1)):A;j.css({clip:"rect("+q+"px "+H+"px "+J+"px "+o+"px)"});b++<=v?setTimeout(D,13):X.css("display","none")})()}});n.cssBefore={display:"block",opacity:1,top:0,left:0};n.animIn={left:0};n.animOut={left:0}}})(jQuery);(function(e){var i=document.documentElement.style,r="textOverflow"in i||"OTextOverflow"in i,n=function(A,x){var u=0,F=[],N=function(L){var Q=0,R;if(!(u>x))for(Q=0;Q<L.length;Q+=1)if(L[Q].nodeType===1){R=L[Q].cloneNode(false);F[F.length-1].appendChild(R);F.push(R);N(L[Q].childNodes);F.pop()}else if(L[Q].nodeType===3){if(u+L[Q].length<x)F[F.length-1].appendChild(L[Q].cloneNode(false));else{R=L[Q].cloneNode(false);R.textContent=e.trim(R.textContent.substring(0,x-u));F[F.length-1].appendChild(R)}u+=L[Q].length}else F.appendChild(L[Q].cloneNode(false))};F.push(A.cloneNode(false));N(A.childNodes);return e(F.pop().childNodes)};e.extend(e.fn,{textOverflow:function(A,x){var u=A||"&#x2026;";return r?this:this.each(function(){var F=e(this),N=F.clone(),L=F.clone(),Q=F.text(),R=F.width(),T=0,Z=0,X=Q.length,j=function(){if(R!==F.width()){F.replaceWith(L);F=L;L=F.clone();F.textOverflow(A,false);R=F.width()}};F.after(N.hide().css({position:"absolute",width:"auto",overflow:"visible","max-width":"inherit"}));if(N.width()>R){for(;T<X;){Z=Math.floor(T+(X-T)/2);N.empty().append(n(L.get(0),Z)).append(u);if(N.width()<R)T=Z+1;else X=Z}T<Q.length&&F.empty().append(n(L.get(0),T-1)).append(u)}N.remove();x&&setInterval(j,200)})}})})(jQuery);jQuery.timer=function(e,i){e=e||100;if(!i)return false;_timer=function(r,n){this.stop=function(){clearInterval(A.id)};this.internalCallback=function(){n(A)};this.reset=function(x){A.id&&clearInterval(A.id);x=x||100;this.id=setInterval(this.internalCallback,x)};this.interval=r;this.id=setInterval(this.internalCallback,this.interval);var A=this};return new _timer(e,i)};(function($){var methods={getOptionValue:function(value,elem,event){if($.isFunction(value)){value=value.call(elem,event);}
return value;},getCategory:function(){return this.nodeName;},getAction:function(event){return event.type;},getLabel:function(){var self=$(this);if(self.is("a")){return self.attr("href");}
else if(self.is("input")){return self.val();}
else if(self.attr("id")){return self.attr("id");}
else{return self.text();}}};$.expr[':'].external=function(elem){return(elem.host&&elem.host!==location.host)===true;};$.fn.trackEvent=function(options){var settings={eventType:"click",once:true,category:methods.getCategory,action:methods.getAction,label:methods.getLabel,value:1};if(options)$.extend(settings,options);this.each(function(i){var eventHandler=function(event){var category=methods.getOptionValue(settings.category,this,event);var action=methods.getOptionValue(settings.action,this,event);var label=methods.getOptionValue(settings.label,this,event);var value=methods.getOptionValue(settings.value,this,event);pageTracker._trackEvent(category,action,label,value);};if(settings.once){$(this).one(settings.eventType,eventHandler);}
else{$(this).bind(settings.eventType,eventHandler);}});return this;};})(jQuery);;(function($){$.fn.ajaxSubmit=function(options){if(!this.length){log('ajaxSubmit: skipping submit process - no element selected');return this;}
if(typeof options=='function')
options={success:options};var url=$.trim(this.attr('action'));if(url){url=(url.match(/^([^#]+)/)||[])[1];}
url=url||window.location.href||'';options=$.extend({url:url,type:this.attr('method')||'GET',iframeSrc:/^https/i.test(window.location.href||'')?'javascript:false':'about:blank'},options||{});var veto={};this.trigger('form-pre-serialize',[this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-pre-serialize trigger');return this;}
if(options.beforeSerialize&&options.beforeSerialize(this,options)===false){log('ajaxSubmit: submit aborted via beforeSerialize callback');return this;}
var a=this.formToArray(options.semantic);if(options.data){options.extraData=options.data;for(var n in options.data){if(options.data[n]instanceof Array){for(var k in options.data[n])
a.push({name:n,value:options.data[n][k]});}
else
a.push({name:n,value:options.data[n]});}}
if(options.beforeSubmit&&options.beforeSubmit(a,this,options)===false){log('ajaxSubmit: submit aborted via beforeSubmit callback');return this;}
this.trigger('form-submit-validate',[a,this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-submit-validate trigger');return this;}
var q=$.param(a);if(options.type.toUpperCase()=='GET'){options.url+=(options.url.indexOf('?')>=0?'&':'?')+q;options.data=null;}
else
options.data=q;var $form=this,callbacks=[];if(options.resetForm)callbacks.push(function(){$form.resetForm();});if(options.clearForm)callbacks.push(function(){$form.clearForm();});if(!options.dataType&&options.target){var oldSuccess=options.success||function(){};callbacks.push(function(data){var fn=options.replaceTarget?'replaceWith':'html';$(options.target)[fn](data).each(oldSuccess,arguments);});}
else if(options.success)
callbacks.push(options.success);options.success=function(data,status,xhr){for(var i=0,max=callbacks.length;i<max;i++)
callbacks[i].apply(options,[data,status,xhr||$form,$form]);};var files=$('input:file',this).fieldValue();var found=false;for(var j=0;j<files.length;j++)
if(files[j])
found=true;var multipart=false;if((files.length&&options.iframe!==false)||options.iframe||found||multipart){if(options.closeKeepAlive)
$.get(options.closeKeepAlive,fileUpload);else
fileUpload();}
else
$.ajax(options);this.trigger('form-submit-notify',[this,options]);return this;function fileUpload(){var form=$form[0];if($(':input[name=submit]',form).length){alert('Error: Form elements must not be named "submit".');return;}
var opts=$.extend({},$.ajaxSettings,options);var s=$.extend(true,{},$.extend(true,{},$.ajaxSettings),opts);var id='jqFormIO'+(new Date().getTime());var $io=$('<iframe id="'+id+'" name="'+id+'" src="'+opts.iframeSrc+'" onload="(jQuery(this).data(\'form-plugin-onload\'))()" />');var io=$io[0];$io.css({position:'absolute',top:'-1000px',left:'-1000px'});var xhr={aborted:0,responseText:null,responseXML:null,status:0,statusText:'n/a',getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;$io.attr('src',opts.iframeSrc);}};var g=opts.global;if(g&&!$.active++)$.event.trigger("ajaxStart");if(g)$.event.trigger("ajaxSend",[xhr,opts]);if(s.beforeSend&&s.beforeSend(xhr,s)===false){s.global&&$.active--;return;}
if(xhr.aborted)
return;var cbInvoked=false;var timedOut=0;var sub=form.clk;if(sub){var n=sub.name;if(n&&!sub.disabled){opts.extraData=opts.extraData||{};opts.extraData[n]=sub.value;if(sub.type=="image"){opts.extraData[n+'.x']=form.clk_x;opts.extraData[n+'.y']=form.clk_y;}}}
function doSubmit(){var t=$form.attr('target'),a=$form.attr('action');form.setAttribute('target',id);if(form.getAttribute('method')!='POST')
form.setAttribute('method','POST');if(form.getAttribute('action')!=opts.url)
form.setAttribute('action',opts.url);if(!opts.skipEncodingOverride){$form.attr({encoding:'multipart/form-data',enctype:'multipart/form-data'});}
if(opts.timeout)
setTimeout(function(){timedOut=true;cb();},opts.timeout);var extraInputs=[];try{if(opts.extraData)
for(var n in opts.extraData)
extraInputs.push($('<input type="hidden" name="'+n+'" value="'+opts.extraData[n]+'" />').appendTo(form)[0]);$io.appendTo('body');$io.data('form-plugin-onload',cb);form.submit();}
finally{form.setAttribute('action',a);t?form.setAttribute('target',t):$form.removeAttr('target');$(extraInputs).remove();}};if(opts.forceSync)
doSubmit();else
setTimeout(doSubmit,10);var domCheckCount=100;function cb(){if(cbInvoked)
return;var ok=true;try{if(timedOut)throw'timeout';var data,doc;doc=io.contentWindow?io.contentWindow.document:io.contentDocument?io.contentDocument:io.document;var isXml=opts.dataType=='xml'||doc.XMLDocument||$.isXMLDoc(doc);log('isXml='+isXml);if(!isXml&&(doc.body==null||doc.body.innerHTML=='')){if(--domCheckCount){log('requeing onLoad callback, DOM not available');setTimeout(cb,250);return;}
log('Could not access iframe DOM after 100 tries.');return;}
log('response detected');cbInvoked=true;xhr.responseText=doc.body?doc.body.innerHTML:null;xhr.responseXML=doc.XMLDocument?doc.XMLDocument:doc;xhr.getResponseHeader=function(header){var headers={'content-type':opts.dataType};return headers[header];};if(opts.dataType=='json'||opts.dataType=='script'){var ta=doc.getElementsByTagName('textarea')[0];if(ta)
xhr.responseText=ta.value;else{var pre=doc.getElementsByTagName('pre')[0];if(pre)
xhr.responseText=pre.innerHTML;}}
else if(opts.dataType=='xml'&&!xhr.responseXML&&xhr.responseText!=null){xhr.responseXML=toXml(xhr.responseText);}
data=$.httpData(xhr,opts.dataType);}
catch(e){log('error caught:',e);ok=false;xhr.error=e;$.handleError(opts,xhr,'error',e);}
if(ok){opts.success(data,'success');if(g)$.event.trigger("ajaxSuccess",[xhr,opts]);}
if(g)$.event.trigger("ajaxComplete",[xhr,opts]);if(g&&!--$.active)$.event.trigger("ajaxStop");if(opts.complete)opts.complete(xhr,ok?'success':'error');setTimeout(function(){$io.removeData('form-plugin-onload');$io.remove();xhr.responseXML=null;},100);};function toXml(s,doc){if(window.ActiveXObject){doc=new ActiveXObject('Microsoft.XMLDOM');doc.async='false';doc.loadXML(s);}
else
doc=(new DOMParser()).parseFromString(s,'text/xml');return(doc&&doc.documentElement&&doc.documentElement.tagName!='parsererror')?doc:null;};};};$.fn.ajaxForm=function(options){return this.ajaxFormUnbind().bind('submit.form-plugin',function(e){e.preventDefault();$(this).ajaxSubmit(options);}).bind('click.form-plugin',function(e){var target=e.target;var $el=$(target);if(!($el.is(":submit,input:image"))){var t=$el.closest(':submit');if(t.length==0)
return;target=t[0];}
var form=this;form.clk=target;if(target.type=='image'){if(e.offsetX!=undefined){form.clk_x=e.offsetX;form.clk_y=e.offsetY;}else if(typeof $.fn.offset=='function'){var offset=$el.offset();form.clk_x=e.pageX-offset.left;form.clk_y=e.pageY-offset.top;}else{form.clk_x=e.pageX-target.offsetLeft;form.clk_y=e.pageY-target.offsetTop;}}
setTimeout(function(){form.clk=form.clk_x=form.clk_y=null;},100);});};$.fn.ajaxFormUnbind=function(){return this.unbind('submit.form-plugin click.form-plugin');};$.fn.formToArray=function(semantic){var a=[];if(this.length==0)return a;var form=this[0];var els=semantic?form.getElementsByTagName('*'):form.elements;if(!els)return a;for(var i=0,max=els.length;i<max;i++){var el=els[i];var n=el.name;if(!n)continue;if(semantic&&form.clk&&el.type=="image"){if(!el.disabled&&form.clk==el){a.push({name:n,value:$(el).val()});a.push({name:n+'.x',value:form.clk_x},{name:n+'.y',value:form.clk_y});}
continue;}
var v=$.fieldValue(el,true);if(v&&v.constructor==Array){for(var j=0,jmax=v.length;j<jmax;j++)
a.push({name:n,value:v[j]});}
else if(v!==null&&typeof v!='undefined')
a.push({name:n,value:v});}
if(!semantic&&form.clk){var $input=$(form.clk),input=$input[0],n=input.name;if(n&&!input.disabled&&input.type=='image'){a.push({name:n,value:$input.val()});a.push({name:n+'.x',value:form.clk_x},{name:n+'.y',value:form.clk_y});}}
return a;};$.fn.formSerialize=function(semantic){return $.param(this.formToArray(semantic));};$.fn.fieldSerialize=function(successful){var a=[];this.each(function(){var n=this.name;if(!n)return;var v=$.fieldValue(this,successful);if(v&&v.constructor==Array){for(var i=0,max=v.length;i<max;i++)
a.push({name:n,value:v[i]});}
else if(v!==null&&typeof v!='undefined')
a.push({name:this.name,value:v});});return $.param(a);};$.fn.fieldValue=function(successful){for(var val=[],i=0,max=this.length;i<max;i++){var el=this[i];var v=$.fieldValue(el,successful);if(v===null||typeof v=='undefined'||(v.constructor==Array&&!v.length))
continue;v.constructor==Array?$.merge(val,v):val.push(v);}
return val;};$.fieldValue=function(el,successful){var n=el.name,t=el.type,tag=el.tagName.toLowerCase();if(typeof successful=='undefined')successful=true;if(successful&&(!n||el.disabled||t=='reset'||t=='button'||(t=='checkbox'||t=='radio')&&!el.checked||(t=='submit'||t=='image')&&el.form&&el.form.clk!=el||tag=='select'&&el.selectedIndex==-1))
return null;if(tag=='select'){var index=el.selectedIndex;if(index<0)return null;var a=[],ops=el.options;var one=(t=='select-one');var max=(one?index+1:ops.length);for(var i=(one?index:0);i<max;i++){var op=ops[i];if(op.selected){var v=op.value;if(!v)
v=(op.attributes&&op.attributes['value']&&!(op.attributes['value'].specified))?op.text:op.value;if(one)return v;a.push(v);}}
return a;}
return el.value;};$.fn.clearForm=function(){return this.each(function(){$('input,select,textarea',this).clearFields();});};$.fn.clearFields=$.fn.clearInputs=function(){return this.each(function(){var t=this.type,tag=this.tagName.toLowerCase();if(t=='text'||t=='password'||tag=='textarea')
this.value='';else if(t=='checkbox'||t=='radio')
this.checked=false;else if(tag=='select')
this.selectedIndex=-1;});};$.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=='function'||(typeof this.reset=='object'&&!this.reset.nodeType))
this.reset();});};$.fn.enable=function(b){if(b==undefined)b=true;return this.each(function(){this.disabled=!b;});};$.fn.selected=function(select){if(select==undefined)select=true;return this.each(function(){var t=this.type;if(t=='checkbox'||t=='radio')
this.checked=select;else if(this.tagName.toLowerCase()=='option'){var $sel=$(this).parent('select');if(select&&$sel[0]&&$sel[0].type=='select-one'){$sel.find('option').selected(false);}
this.selected=select;}});};function log(){if($.fn.ajaxSubmit.debug){var msg='[jquery.form] '+Array.prototype.join.call(arguments,'');if(window.console&&window.console.log)
window.console.log(msg);else if(window.opera&&window.opera.postError)
window.opera.postError(msg);}};})(jQuery);(function($){$.fn.inlineFieldLabel=function(options){var opts=$.extend({},$.fn.inlineFieldLabel.defaults,options);this.each(function(){$this=$(this);var o=$.metadata?$.extend({},opts,$this.metadata({type:opts.metadataType,name:opts.metadataName})):opts;innerFunction($this,o.label);});return this;};$.fn.inlineFieldLabel.defaults={label:'some placeholder',metadataType:'class',metadataName:'metadata',};function innerFunction(jqElement,fieldLabel){var textInput=null;var clonedTextInput=null;var strBefore="";var strAfter="";var counter=0;textInput=jqElement;if(textInput.attr('type')=='password'){clonedTextInput=textInput.clone();strBefore=clonedTextInput.append(textInput.clone()).html();strAfter=strBefore.replace('type="password"','type="text"');;strAfter.replace('type="password"','type="text"');textInput.after(strAfter);clonedTextInput=textInput.next();clonedTextInput.addClass("intra-field-label").val(fieldLabel);textInput.hide();}else{textInput.addClass("intra-field-label").val(fieldLabel);}
if(clonedTextInput!=null){clonedTextInput.focus(function(){textInput.show();textInput.trigger('focus');clonedTextInput.hide();});}
textInput.focus(function()
{if(this.value==fieldLabel)
{textInput.removeClass("intra-field-label").val("");};});textInput.blur(function()
{if(this.value=="")
{if(clonedTextInput!=null){textInput.hide();clonedTextInput.show();}
else{textInput.addClass("intra-field-label").val(fieldLabel);}};});textInput.parents('form:first').find('input[type="submit"]').click(function(){if(clonedTextInput!=null){textInput.show();clonedTextInput.remove();}
if(textInput.val()==fieldLabel)
{textInput.removeClass("intra-field-label").val("");};});}})(jQuery);(function($){$.fn.fbLike=function(url,options){var opts=$.extend({},$.fn.fbLike.defaults,options);return this.each(function(){var $this=$(this);var _url="http://www.facebook.com/plugins/like.php?";_url+="href="+url;_url+="&layout="+opts.layout;_url+="&show_faces="+opts.show_faces;_url+="&width="+opts.width;_url+="&height="+opts.height;_url+="&action="+opts.verb;_url+="&font="+opts.font;_url+="&colorscheme="+opts.color;var $iframe=$("<iframe>",{scrolling:opts.scrolling,frameborder:opts.frameborder,allowTransparency:opts.allowTransparency,src:_url});$iframe.ready(function(){$this.append($iframe[0]);});});};$.fn.fbLike.defaults={scrolling:"no",frameborder:0,allowTransparency:true,layout:"standard",show_faces:true,width:450,height:21,verb:"like",font:"arial",color:"light"};})(jQuery);jQuery.fn.tag=function(){return String(this.get(0).tagName).toLowerCase();};(function($){$.fn.pageSlide=function(options){var settings=$.extend({width:"300px",duration:"normal",direction:"left",modal:false,_identifier:$(this)},options);var pageslide_slide_wrap_css={position:'fixed',width:'0',top:'0',height:'100%',zIndex:'999'};var pageslide_body_wrap_css={position:'relative',zIndex:'0'};var pageslide_blanket_css={position:'absolute',top:'0px',left:'0px',height:'100%',width:'100%',opacity:'0.0',backgroundColor:'black',zIndex:'1',display:'none'};function _initialize(anchor){if($("#pageslide-body-wrap, #pageslide-content, #pageslide-slide-wrap").size()==0){var psBodyWrap=document.createElement("div");$(psBodyWrap).css(pageslide_body_wrap_css);$(psBodyWrap).attr("id","pageslide-body-wrap").width($("body").width());$("body").contents().wrapAll(psBodyWrap);var psSlideContent=document.createElement("div");$(psSlideContent).attr("id","pageslide-content").width(settings.width);var psSlideWrap=document.createElement("div");$(psSlideWrap).css(pageslide_slide_wrap_css);$(psSlideWrap).attr("id","pageslide-slide-wrap").append(psSlideContent);$("body").append(psSlideWrap)}if($("#pageslide-blanket").size()==0&&settings.modal==true){var psSlideBlanket=document.createElement("div");$(psSlideBlanket).css(pageslide_blanket_css);$(psSlideBlanket).attr("id","pageslide-blanket");$("body").append(psSlideBlanket);$("#pageslide-blanket").click(function(){return false})}$(window).resize(function(){$("#pageslide-body-wrap").width($("body").width())});$(anchor).attr("rel","pageslide")};function _openSlide(elm){if($("#pageslide-slide-wrap").width()!=0)return false;_showBlanket();if(settings.direction=="right"){direction={right:"-"+settings.width};$("#pageslide-slide-wrap").css({left:0});_overflowFixAdd()}else{direction={left:"-"+settings.width};$("#pageslide-slide-wrap").css({right:0})}$("#pageslide-slide-wrap").animate({width:settings.width},settings.duration);$("#pageslide-body-wrap").animate(direction,settings.duration,function(){$.ajax({type:"GET",url:$(elm).attr("href"),success:function(data){$("#pageslide-content").css("width",settings.width).html(data).queue(function(){$(this).dequeue();$(this).find('.pageslide-close').unbind('click').click(function(elm){_closeSlide(elm);$(this).find('pageslide-close').unbind('click')})})}})})};function _closeSlide(event){if($(event)[0].button!=2&&$("#pageslide-slide-wrap").css('width')!="0px"){$.fn.pageSlideClose(settings)}};function _showBlanket(){if(settings.modal==true){$("#pageslide-blanket").toggle().animate({opacity:'0.8'},'fast','linear')}};function _overflowFixAdd(){($.browser.msie)?$("body, html").css({overflowX:'hidden'}):$("body").css({overflowX:'hidden'})}_initialize(this);return this.each(function(){$(this).unbind("click").bind("click",function(){_openSlide(this);$("#pageslide-slide-wrap").unbind('click').click(function(e){if(e.target.tagName!="A")return false});if(settings.modal!=true){$(document).unbind('click').click(function(e){if(e.target.tagName!="A"){_closeSlide(e);return false}})}return false})})}})(jQuery);(function($){$.fn.pageSlideClose=function(options){var settings=$.extend({width:"300px",duration:"normal",direction:"left",modal:false,_identifier:$(this)},options);function _hideBlanket(){if(settings.modal==true&&$("#pageslide-blanket").is(":visible")){$("#pageslide-blanket").animate({opacity:'0.0'},'fast','linear',function(){$(this).hide()})}}function _overflowFixRemove(){($.browser.msie)?$("body, html").css({overflowX:''}):$("body").css({overflowX:''})}_hideBlanket();direction=($("#pageslide-slide-wrap").css("left")!="0px")?{left:"0"}:{right:"0"};$("#pageslide-body-wrap").animate(direction,settings.duration);$("#pageslide-slide-wrap").animate({width:"0"},settings.duration,function(){$("#pageslide-content").css("width","0px").empty();$('#pageslide-body-wrap, #pageslide-slide-wrap').css('left','');$('#pageslide-body-wrap, #pageslide-slide-wrap').css('right','');_overflowFixRemove()})}})(jQuery);(function($){$(document).ready(function(){$(document).keyup(function(event){if(!$("#pageslide-blanket").is(":visible")&&event.keyCode==27)$.fn.pageSlideClose()})})})(jQuery);(function(A){A.marquee={version:"1.0.01"};A.fn.marquee=function(E){var F=typeof arguments[0]=="string"&&arguments[0];var D=F&&Array.prototype.slice.call(arguments,1)||arguments;var C=(this.length==0)?null:A.data(this[0],"marquee");if(C&&F&&this.length){if(F.toLowerCase()=="object"){return C}else{if(C[F]){var B;this.each(function(G){var H=A.data(this,"marquee")[F].apply(C,D);if(G==0&&H){if(!!H.jquery){B=A([]).add(H)}else{B=H;return false}}else{if(!!H&&!!H.jquery){B=B.add(H)}}});return B||this}else{return this}}}else{return this.each(function(){new A.Marquee(this,E)})}};A.Marquee=function(E,Q){Q=A.extend({},A.Marquee.defaults,Q);var O=this,M=A(E),F=M.find("> li"),H=-1,G=false,L=false,N=0;A.data(M[0],"marquee",O);this.pause=function(){G=true;P()};this.resume=function(){G=false;D()};this.update=function(){var R=F.length;F=M.find("> li");if(R<=1){D()}};function K(R){if(F.filter("."+Q.cssShowing).length>0){return false}var T=F.eq(R);if(A.isFunction(Q.beforeshow)){Q.beforeshow.apply(O,[M,T])}var S={top:(Q.yScroll=="top"?"-":"+")+T.outerHeight()+"px",left:0};M.data("marquee.showing",true);T.addClass(Q.cssShowing);T.css(S).animate({top:"0px"},Q.showSpeed,Q.fxEasingShow,function(){if(A.isFunction(Q.show)){Q.show.apply(O,[M,T])}M.data("marquee.showing",false);J(T)})}function J(S,R){if(L==true){return false}R=R||Q.pauseSpeed;if(C(S)){setTimeout(function(){if(L==true){return false}var V=S.outerWidth(),T=V*-1,U=parseInt(S.css("left"),10);S.animate({left:T+"px"},((V+U)*Q.scrollSpeed),Q.fxEasingScroll,function(){I(S)})},R)}else{if(F.length>1){setTimeout(function(){if(L==true){return false}S.animate({top:(Q.yScroll=="top"?"+":"-")+M.innerHeight()+"px"},Q.showSpeed,Q.fxEasingScroll);I(S)},R)}}}function I(R){if(A.isFunction(Q.aftershow)){Q.aftershow.apply(O,[M,R])}R.removeClass(Q.cssShowing);B()}function P(){L=true;if(M.data("marquee.showing")!=true){F.filter("."+Q.cssShowing).dequeue().stop()}}function D(){L=false;if(M.data("marquee.showing")!=true){J(F.filter("."+Q.cssShowing),1)}}if(Q.pauseOnHover){M.hover(function(){if(G){return false}P()},function(){if(G){return false}D()})}function C(R){return(R.outerWidth()>M.innerWidth())}function B(){H++;if(H>=F.length){if(!isNaN(Q.loop)&&Q.loop>0&&(++N>=Q.loop)){return false}H=0}K(H)}if(A.isFunction(Q.init)){Q.init.apply(O,[M,Q])}B()};A.Marquee.defaults={yScroll:"top",showSpeed:850,scrollSpeed:12,pauseSpeed:5000,pauseOnHover:true,loop:-1,fxEasingShow:"swing",fxEasingScroll:"linear",cssShowing:"marquee-showing",init:null,beforeshow:null,show:null,aftershow:null}})(jQuery);(function($){jQuery.fn.tooltip=function(options){var defaults={offsetX:15,offsetY:10,fadeIn:'200',fadeOut:'200',dataAttr:'data',bordercolor:'#6CE26C',bgcolor:'#F8F8F8',fontcolor:'#006699',fontsize:'15px',folderurl:'NULL',filetype:'txt',height:'auto',width:'auto',cursor:'help'};var options=$.extend(defaults,options);var $tooltip=$('<div id="divToolTip"></div>');return this.each(function(){$('body').append($tooltip);$tooltip.hide();var element=this;var id=$(element).attr('id');var filename=options.folderurl+id+'.'+options.filetype;var dialog_id='#divToolTip';$(this).hover(function(e){if(options.folderurl!="NULL"){$(dialog_id).load(filename);}else
{if($('#'+options.dataAttr+'_'+id).length>0){$(dialog_id).html($('#'+options.dataAttr+'_'+id).html());}else{$(dialog_id).html(id);}}
$(element).css({'cursor':options.cursor});if($(document).width()/2<e.pageX){$(dialog_id).css({'position':'absolute','border':'1px solid '+options.bordercolor,'background-color':options.bgcolor,'padding':'5px 5px 5px 5px','-moz-border-radius':'5px 5px 5px 5px','-webkit-border-radius':'5px 5px 5px 5px','top':e.pageY+options.offsetY,'left':e.pageX-$(dialog_id).width()+options.offsetX,'color':options.fontcolor,'font-size':options.fontsize,'height':options.height,'width':options.width});}else{$(dialog_id).css({'position':'absolute','border':'1px solid '+options.bordercolor,'background-color':options.bgcolor,'padding':'5px 5px 5px 5px','-moz-border-radius':'5px 5px 5px 5px','-webkit-border-radius':'5px 5px 5px 5px','top':e.pageY+options.offsetY,'left':e.pageX+options.offsetX,'color':options.fontcolor,'font-size':options.fontsize,'cursor':options.cursor,'height':options.height,'width':options.width});}
$(dialog_id).stop(true,true).fadeIn(options.fadeIn);},function(){$(dialog_id).stop(true,true).fadeOut(options.fadeOut);}).mousemove(function(e){if($(document).width()/2<e.pageX){$(dialog_id).css({'top':e.pageY+options.offsetY,'left':e.pageX-$(dialog_id).width(),'height':options.height,'width':options.width});}else{$(dialog_id).css({'top':e.pageY+options.offsetY,'left':e.pageX+options.offsetX,'height':options.height,'width':options.width});}});});};})(jQuery);jQuery.fn.initMenu=function(){return this.each(function(){var theMenu=$(this).get(0);$('.acitem',this).hide();$('li.expand > .acitem',this).show();$('li.expand > .acitem',this).prev().addClass('active');$('li a',this).click(function(e){e.stopImmediatePropagation();var theElement=$(this).next();var parent=this.parentNode.parentNode;if($(parent).hasClass('noaccordion')){if(theElement[0]===undefined){window.location.href=this.href;}
$(theElement).slideToggle('normal',function(){if($(this).is(':visible')){$(this).prev().addClass('active');}
else{$(this).prev().removeClass('active');}});return false;}
else{if(theElement.hasClass('acitem')&&theElement.is(':visible')){if($(parent).hasClass('collapsible')){$('.acitem:visible',parent).first().slideUp('normal',function(){$(this).prev().removeClass('active');});return false;}
return false;}
if(theElement.hasClass('acitem')&&!theElement.is(':visible')){$('.acitem:visible',parent).first().slideUp('normal',function(){$(this).prev().removeClass('active');});theElement.slideDown('normal',function(){$(this).prev().addClass('active');});return false;}}});});};$(document).ready(function(){$('.menu').initMenu();});var offsetfromcursorX=12;var offsetfromcursorY=10;var offsetdivfrompointerX=10;var offsetdivfrompointerY=14;var defaultposition='rb';var isLeftChange=true;var isRightChange=true;var isTopChange=true;var isBottomChange=true;var ie=document.all
var ns6=document.getElementById&&!document.all
var enabletip=false
if(ie||ns6)
{var tooltipbox_obj=document.all?document.all["tooltipbox"]:document.getElementById?document.getElementById("tooltipbox"):""}
var pointerlefttop_obj=document.all?document.all["pointerlefttop"]:document.getElementById?document.getElementById("pointerlefttop"):""
var pointerleftbottom_obj=document.all?document.all["pointerleftbottom"]:document.getElementById?document.getElementById("pointerleftbottom"):""
var pointerrighttop_obj=document.all?document.all["pointerrighttop"]:document.getElementById?document.getElementById("pointerrighttop"):""
var pointerrightbottom_obj=document.all?document.all["pointerrightbottom"]:document.getElementById?document.getElementById("pointerrightbottom"):""
function ietruebody()
{return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body}
function ddrivetip(thetext,thewidth,theposition,theleftout,therightout,thetopout,thebottomout)
{if(ns6||ie)
{if(typeof thewidth!="undefined")
{tooltipbox_obj.style.width=thewidth+"px"}
if(typeof thecolor!="undefined"&&thecolor!="")
{tooltipbox_obj.style.backgroundColor=thecolor}
if(typeof theposition!="undefined"&&theposition!="")
{defaultposition=theposition;}
if(typeof theleftout!="undefined")
{isLeftChange=theleftout;}
if(typeof therightout!="undefined")
{isRightChange=therightout;}
if(typeof thetopout!="undefined")
{isTopChange=thetopout;}
if(typeof thebottomout!="undefined")
{isBottomChange=thebottomout;}
tooltipbox_obj.innerHTML=thetext
enabletip=true
return false}}
function positiontip(e)
{if(enabletip)
{var pointerlefttop_status=false;var pointerleftbottom_status=false;var pointerrighttop_status=false;var pointerrightbottom_status=false;var dleft=false;var dright=false;var dtop=false;var dbottom=false;var curX=(ns6)?e.pageX:event.clientX+ietruebody().scrollLeft;var curY=(ns6)?e.pageY:event.clientY+ietruebody().scrollTop;var winwidth=ie&&!window.opera?ietruebody().clientWidth:window.innerWidth-20;var winheight=ie&&!window.opera?ietruebody().clientHeight:window.innerHeight-20;var rightedge=ie&&!window.opera?winwidth-event.clientX-offsetfromcursorX:winwidth-e.clientX-offsetfromcursorX;var bottomedge=ie&&!window.opera?winheight-event.clientY-offsetfromcursorY:winheight-e.clientY-offsetfromcursorY;if(defaultposition=='lb'||defaultposition=='lt')
{if(curX<tooltipbox_obj.offsetWidth)
{if(isLeftChange)
{dleft=false;dright=true;}
else
{dleft=true;dright=false;}}
else
{dleft=true;dright=false;}}
else if(defaultposition=='rb'||defaultposition=='rt')
{if(rightedge<tooltipbox_obj.offsetWidth)
{if(isRightChange)
{dleft=true;dright=false;}
else
{dleft=false;dright=true;}}
else
{dleft=false;dright=true;}}
if(defaultposition=='lt'||defaultposition=='rt')
{if(curY<tooltipbox_obj.offsetHeight)
{if(isTopChange)
{dtop=false;dbottom=true;}
else
{dtop=true;dbottom=false;}}
else
{dtop=true;dbottom=false;}}
else if(defaultposition=='lb'||defaultposition=='rb')
{if(bottomedge<tooltipbox_obj.offsetHeight)
{if(isBottomChange)
{dtop=true;dbottom=false;}
else
{dtop=false;dbottom=true;}}
else
{dtop=false;dbottom=true;}}
if(dtop&&!dbottom&&!dleft&&dright)
{tooltipbox_obj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px";tooltipbox_obj.style.top=curY-tooltipbox_obj.offsetHeight-offsetfromcursorY+"px";pointerrighttop_obj.style.left=curX+offsetfromcursorX+"px";pointerrighttop_obj.style.top=curY-offsetfromcursorY-1+"px";pointerrighttop_status=true;pointerrightbottom_status=false;pointerlefttop_status=false;pointerleftbottom_status=false;}
else if(!dtop&&dbottom&&!dleft&&dright)
{tooltipbox_obj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px";tooltipbox_obj.style.top=curY+offsetfromcursorY+offsetdivfrompointerY+"px";pointerrightbottom_obj.style.left=curX+offsetfromcursorX+"px";pointerrightbottom_obj.style.top=curY+offsetfromcursorY+"px";pointerrighttop_status=false;pointerrightbottom_status=true;pointerlefttop_status=false;pointerleftbottom_status=false;}
else if(dtop&&!dbottom&&dleft&&!dright)
{tooltipbox_obj.style.left=curX-tooltipbox_obj.offsetWidth+"px";tooltipbox_obj.style.top=curY-tooltipbox_obj.offsetHeight-offsetfromcursorY+"px";pointerlefttop_obj.style.left=curX-pointerrightbottom_obj.offsetWidth-offsetfromcursorX+"px";pointerlefttop_obj.style.top=curY-offsetfromcursorY-1+"px";pointerrighttop_status=false;pointerrightbottom_status=false;pointerlefttop_status=true;pointerleftbottom_status=false;}
else if(!dtop&&dbottom&&dleft&&!dright)
{tooltipbox_obj.style.left=curX-tooltipbox_obj.offsetWidth+"px";tooltipbox_obj.style.top=curY+offsetfromcursorY+offsetdivfrompointerY+"px";pointerleftbottom_obj.style.left=curX-pointerrighttop_obj.offsetWidth-offsetfromcursorX+"px";pointerleftbottom_obj.style.top=curY+offsetfromcursorY+"px";pointerrighttop_status=false;pointerrightbottom_status=false;pointerlefttop_status=false;pointerleftbottom_status=true;}
tooltipbox_obj.style.visibility="visible";pointerlefttop_status?pointerlefttop_obj.style.visibility="visible":pointerlefttop_obj.style.visibility="hidden"
pointerleftbottom_status?pointerleftbottom_obj.style.visibility="visible":pointerleftbottom_obj.style.visibility="hidden"
pointerrighttop_status?pointerrighttop_obj.style.visibility="visible":pointerrighttop_obj.style.visibility="hidden"
pointerrightbottom_status?pointerrightbottom_obj.style.visibility="visible":pointerrightbottom_obj.style.visibility="hidden"}}
function hideddrivetip()
{if(ns6||ie)
{enabletip=false;tooltipbox_obj.style.visibility="hidden";pointerlefttop_obj.style.visibility="hidden";pointerleftbottom_obj.style.visibility="hidden";pointerrighttop_obj.style.visibility="hidden";pointerrightbottom_obj.style.visibility="hidden";tooltipbox_obj.style.left="-1000px";tooltipbox_obj.style.backgroundColor='';tooltipbox_obj.style.width='';}}
document.onmousemove=positiontip;function openhelp(){help=window.open("help.php","BabeWatch Help","width=800,height=600,scrollbars=yes");}
var addthis_config={ui_header_color:"#600f09",ui_header_background:"#FFFFFF",data_track_linkback:true};function addababe(cunt){var url="http://filipinawebcamgirls.com/babewatch/base.php?addbabe="+cunt;babeswin=dhtmlwindow.open('babesbox','iframe',url,'Your BabeWatch','width=250px,height=450px,left=30px,top=30px,resize=1,scrolling=1');return false;}
function validate_required(field,alerttxt)
{with(field)
{if(value===null||value==="")
{alert(alerttxt);return false;}
else if(value=="Webcam Search")
{alert("umm.. I don't think there are any girls named Webcam Search! Enter a search!");return false;}
else if(value=="Your Dream Girl!")
{alert("umm.. I don't think there are any girls named Your Dream Girl! Enter a search!");return false;}
else
{return true;}}}
function validate_form(thisform)
{with(thisform)
{if(validate_required(search,"Enter a Search!!")===false)
{search.focus();return false;}}}
function bannercycle()
{$("#bannerholder1").load("/includes/leftbanner.htm",function(){$('#bannerholder1').cycle({timeout:'6000',speed:'100',pause:true,slideExpr:'table.leftbanner',fx:'scrollLeft',autostop:'1',autostopCount:'4'});});$("#bannerholder2").load("/includes/rightbanner.htm",function(){$('#bannerholder2').cycle({timeout:'6000',speed:'100',pause:true,slideExpr:'table.rightbanner',fx:'scrollRight',autostop:'1',autostopCount:'4',end:function(){bannercycle();}});});$("#bigbannerholder").load("/includes/flipbanner.htm",{"when":"now"},function(){$('#bigbannerholder').cycle({timeout:'10000',speed:'600',pause:true,slideExpr:'table.flipbanner',fx:'fade',autostop:'1',autostopCount:'6',end:function(){bannercycle();}});});}
function scorecycle()
{$("#bwscore").load("/includes/bwscore.htm",{"when":"now"},function(){$('#bwscore').cycle({timeout:'2000',animIn:'none',animOut:'none',nowrap:'1',end:function(){scorecycle();}});});}
function onlinecycle()
{if($("#onlinetable").length)
{$.timer(120000,function(timer){$("#onlinetable").load("includes/livetable.htm");});}}
function docycle()
{$(".flipshow").load("/includes/flipfeat.htm",{"when":"now"},function(){$('.flipshow').cycle({timeout:'6000',pause:true,slideExpr:'table.feattable',fx:'fade',autostop:'1',autostopCount:'4',end:function(){docycle();}});});}
function livecycle()
{$(".liveslidebox").load("/includes/liveslide.htm",{"when":"now"},function(){$('.liveslidebox').cycle({timeout:'12000',pause:true,slideExpr:'table.liveslide',fx:'fade',autostop:'1',autostopCount:'4',end:function(){livecycle();}});});}
function dovirginslide()
{$('div#vholder').load("/includes/virgincycle.htm",{"when":"now"},function(){$('div#vholder').cycle({timeout:'6000',pause:true,fx:'fade'});});}
function processXml(responseXML){var data=$('data',responseXML).text();if(data.slice(0,4)=='http')
{window.open(data.href,'lucky,width=800,height=700,toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,copyhistory=1,resizable=yes');}else{$("div#luckysearch").empty();$("div#luckysearch").replaceWith(data);$("div#luckywrap").show('slow');}
$("#onlineSearch").clearForm();return false;}
$(document).ready(function(){$("div#luckywrap").hide();$("a.closeit").click(function(){$("div#luckywrap").hide('slow');return false;});$('div#vholder').cycle({timeout:'6000',pause:true,slideExpr:'table.vbanneritem',fx:'fade'});$.timer(60000,function(timer){$("div#babelinks").load("/babewatch/minilinks.php");})
$.timer(800,function(timer){$.timer(1000,function(timer){docycle();timer.stop();});$.timer(2000,function(timer){livecycle();timer.stop();});$.timer(2000,function(timer){onlinecycle();timer.stop();});$.timer(3000,function(timer){bannercycle();timer.stop();});$.timer(4000,function(timer){scorecycle();timer.stop();});timer.stop();});if($('span.fb_button_text').length){$('span.fb_button_text').css(logincss);}
if($('div.connect_widget_like_button clearfix like_button_like').length){$('div.connect_widget_like_button clearfix like_button_like').css(likecss);}});