/*
 * jQuery JavaScript Library v1.4.1
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Mon Jan 25 19:43:33 2010 -0500
 */
(function(aq,w){function h(){if(!x.isReady){try{u.documentElement.doScroll("left")}catch(c){setTimeout(h,1);return}x.ready()}}function aU(c,r){r.src?x.ajax({url:r.src,async:false,dataType:"script"}):x.globalEval(r.text||r.textContent||r.innerHTML||"");r.parentNode&&r.parentNode.removeChild(r)}function A(z,F,G,K,J,c){var r=z.length;if(typeof F==="object"){for(var v in F){A(z,v,F[v],K,J,G)}return z}if(G!==w){K=!c&&K&&x.isFunction(G);for(v=0;v<r;v++){J(z[v],F,K?G.call(z[v],v,J(z[v],F)):G,c)}return z}return r?J(z[0],F):null}function U(){return(new Date).getTime()}function B(){return false}function C(){return true}function i(c,r,v){v[0].type=c;return x.event.handle.apply(r,v)}function j(J){var K,L=[],O=[],N=arguments,c,r,F,G,z,P,v=x.extend({},x.data(this,"events").live);if(!(J.button&&J.type==="click")){for(G in v){r=v[G];if(r.live===J.type||r.altLive&&x.inArray(J.type,r.altLive)>-1){c=r.data;c.beforeFilter&&c.beforeFilter[J.type]&&!c.beforeFilter[J.type](J)||O.push(r.selector)}else{delete v[G]}}c=x(J.target).closest(O,J.currentTarget);z=0;for(P=c.length;z<P;z++){for(G in v){r=v[G];F=c[z].elem;O=null;if(c[z].selector===r.selector){if(r.live==="mouseenter"||r.live==="mouseleave"){O=x(J.relatedTarget).closest(r.selector)[0]}if(!O||O!==F){L.push({elem:F,fn:r})}}}}z=0;for(P=L.length;z<P;z++){c=L[z];J.currentTarget=c.elem;J.data=c.fn.data;if(c.fn.apply(c.elem,N)===false){K=false;break}}return K}}function k(c,r){return"live."+(c?c+".":"")+r.replace(/\./g,"`").replace(/ /g,"&")}function a8(c){return !c||!c.parentNode||c.parentNode.nodeType===11}function a9(c,r){var v=0;r.each(function(){if(this.nodeName===(c[v]&&c[v].nodeName)){var z=x.data(c[v++]),J=x.data(this,z);if(z=z&&z.events){delete J.handle;J.events={};for(var F in z){for(var G in z[F]){x.event.add(this,F,z[F][G],z[F][G].data)}}}}})}function ba(r,v,z){var G,F,c;if(r.length===1&&typeof r[0]==="string"&&r[0].length<512&&r[0].indexOf("<option")<0&&(x.support.checkClone||!bc.test(r[0]))){F=true;if(c=x.fragments[r[0]]){if(c!==1){G=c}}}if(!G){v=v&&v[0]?v[0].ownerDocument||v[0]:u;G=v.createDocumentFragment();x.clean(r,v,G,z)}if(F){x.fragments[r[0]]=c?G:1}return{fragment:G,cacheable:F}}function aa(c,r){var v={};x.each(bd.concat.apply([],bd.slice(0,r)),function(){v[this]=c});return v}function be(c){return"scrollTo" in c&&c.document?c:c.nodeType===9?c.defaultView||c.parentWindow:false}var x=function(c,r){return new x.fn.init(c,r)},aV=aq.jQuery,aW=aq.$,u=aq.document,H,aH=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,aI=/^.[^:#\[\.,]*$/,aJ=/\S/,aK=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,aL=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,af=navigator.userAgent,a=false,D=[],ac,t=Object.prototype.toString,l=Object.prototype.hasOwnProperty,m=Array.prototype.push,E=Array.prototype.slice,b=Array.prototype.indexOf;x.fn=x.prototype={init:function(r,v){var z,c;if(!r){return this}if(r.nodeType){this.context=this[0]=r;this.length=1;return this}if(typeof r==="string"){if((z=aH.exec(r))&&(z[1]||!v)){if(z[1]){c=v?v.ownerDocument||v:u;if(r=aL.exec(r)){if(x.isPlainObject(v)){r=[u.createElement(r[1])];x.fn.attr.call(r,v,true)}else{r=[c.createElement(r[1])]}}else{r=ba([z[1]],[c]);r=(r.cacheable?r.fragment.cloneNode(true):r.fragment).childNodes}}else{if(v=u.getElementById(z[2])){if(v.id!==z[2]){return H.find(r)}this.length=1;this[0]=v}this.context=u;this.selector=r;return this}}else{if(!v&&/^\w+$/.test(r)){this.selector=r;this.context=u;r=u.getElementsByTagName(r)}else{return !v||v.jquery?(v||H).find(r):x(v).find(r)}}}else{if(x.isFunction(r)){return H.ready(r)}}if(r.selector!==w){this.selector=r.selector;this.context=r.context}return x.isArray(r)?this.setArray(r):x.makeArray(r,this)},selector:"",jquery:"1.4.1",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(c){return c==null?this.toArray():c<0?this.slice(c)[0]:this[c]},pushStack:function(c,r,v){c=x(c||null);c.prevObject=this;c.context=this.context;if(r==="find"){c.selector=this.selector+(this.selector?" ":"")+v}else{if(r){c.selector=this.selector+"."+r+"("+v+")"}}return c},setArray:function(c){this.length=0;m.apply(this,c);return this},each:function(c,r){return x.each(this,c,r)},ready:function(c){x.bindReady();if(x.isReady){c.call(u,x)}else{D&&D.push(c)}return this},eq:function(c){return c===-1?this.slice(c):this.slice(c,+c+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(c){return this.pushStack(x.map(this,function(v,r){return c.call(v,r,v)}))},end:function(){return this.prevObject||x(null)},push:m,sort:[].sort,splice:[].splice};x.fn.init.prototype=x.fn;x.extend=x.fn.extend=function(){var z=arguments[0]||{},F=1,G=arguments.length,K=false,J,c,r,v;if(typeof z==="boolean"){K=z;z=arguments[1]||{};F=2}if(typeof z!=="object"&&!x.isFunction(z)){z={}}if(G===F){z=this;--F}for(;F<G;F++){if((J=arguments[F])!=null){for(c in J){r=z[c];v=J[c];if(z!==v){if(K&&v&&(x.isPlainObject(v)||x.isArray(v))){r=r&&(x.isPlainObject(r)||x.isArray(r))?r:x.isArray(v)?[]:{};z[c]=x.extend(K,r,v)}else{if(v!==w){z[c]=v}}}}}}return z};x.extend({noConflict:function(c){aq.$=aW;if(c){aq.jQuery=aV}return x},isReady:false,ready:function(){if(!x.isReady){if(!u.body){return setTimeout(x.ready,13)}x.isReady=true;if(D){for(var c,r=0;c=D[r++];){c.call(u,x)}D=null}x.fn.triggerHandler&&x(u).triggerHandler("ready")}},bindReady:function(){if(!a){a=true;if(u.readyState==="complete"){return x.ready()}if(u.addEventListener){u.addEventListener("DOMContentLoaded",ac,false);aq.addEventListener("load",x.ready,false)}else{if(u.attachEvent){u.attachEvent("onreadystatechange",ac);aq.attachEvent("onload",x.ready);var c=false;try{c=aq.frameElement==null}catch(r){}u.documentElement.doScroll&&c&&h()}}}},isFunction:function(c){return t.call(c)==="[object Function]"},isArray:function(c){return t.call(c)==="[object Array]"},isPlainObject:function(c){if(!c||t.call(c)!=="[object Object]"||c.nodeType||c.setInterval){return false}if(c.constructor&&!l.call(c,"constructor")&&!l.call(c.constructor.prototype,"isPrototypeOf")){return false}var r;for(r in c){}return r===w||l.call(c,r)},isEmptyObject:function(c){for(var r in c){return false}return true},error:function(c){throw c},parseJSON:function(c){if(typeof c!=="string"||!c){return null}if(/^[\],:{}\s]*$/.test(c.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return aq.JSON&&aq.JSON.parse?aq.JSON.parse(c):(new Function("return "+c))()}else{x.error("Invalid JSON: "+c)}},noop:function(){},globalEval:function(c){if(c&&aJ.test(c)){var r=u.getElementsByTagName("head")[0]||u.documentElement,v=u.createElement("script");v.type="text/javascript";if(x.support.scriptEval){v.appendChild(u.createTextNode(c))}else{v.text=c}r.insertBefore(v,r.firstChild);r.removeChild(v)}},nodeName:function(c,r){return c.nodeName&&c.nodeName.toUpperCase()===r.toUpperCase()},each:function(v,z,F){var J,G=0,c=v.length,r=c===w||x.isFunction(v);if(F){if(r){for(J in v){if(z.apply(v[J],F)===false){break}}}else{for(;G<c;){if(z.apply(v[G++],F)===false){break}}}}else{if(r){for(J in v){if(z.call(v[J],J,v[J])===false){break}}}else{for(F=v[0];G<c&&z.call(F,G,F)!==false;F=v[++G]){}}}return v},trim:function(c){return(c||"").replace(aK,"")},makeArray:function(c,r){r=r||[];if(c!=null){c.length==null||typeof c==="string"||x.isFunction(c)||typeof c!=="function"&&c.setInterval?m.call(r,c):x.merge(r,c)}return r},inArray:function(r,v){if(v.indexOf){return v.indexOf(r)}for(var z=0,c=v.length;z<c;z++){if(v[z]===r){return z}}return -1},merge:function(r,v){var z=r.length,c=0;if(typeof v.length==="number"){for(var F=v.length;c<F;c++){r[z++]=v[c]}}else{for(;v[c]!==w;){r[z++]=v[c++]}}r.length=z;return r},grep:function(r,v,z){for(var G=[],F=0,c=r.length;F<c;F++){!z!==!v(r[F],F)&&G.push(r[F])}return G},map:function(v,z,F){for(var J=[],G,c=0,r=v.length;c<r;c++){G=z(v[c],c,F);if(G!=null){J[J.length]=G}}return J.concat.apply([],J)},guid:1,proxy:function(c,r,v){if(arguments.length===2){if(typeof r==="string"){v=c;c=v[r];r=w}else{if(r&&!x.isFunction(r)){v=r;r=w}}}if(!r&&c){r=function(){return c.apply(v||this,arguments)}}if(c){r.guid=c.guid=c.guid||r.guid||x.guid++}return r},uaMatch:function(c){c=c.toLowerCase();c=/(webkit)[ \/]([\w.]+)/.exec(c)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(c)||/(msie) ([\w.]+)/.exec(c)||!/compatible/.test(c)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(c)||[];return{browser:c[1]||"",version:c[2]||"0"}},browser:{}});af=x.uaMatch(af);if(af.browser){x.browser[af.browser]=true;x.browser.version=af.version}if(x.browser.webkit){x.browser.safari=true}if(b){x.inArray=function(c,r){return b.call(r,c)}}H=x(u);if(u.addEventListener){ac=function(){u.removeEventListener("DOMContentLoaded",ac,false);x.ready()}}else{if(u.attachEvent){ac=function(){if(u.readyState==="complete"){u.detachEvent("onreadystatechange",ac);x.ready()}}}}(function(){x.support={};var z=u.documentElement,F=u.createElement("script"),G=u.createElement("div"),K="script"+U();G.style.display="none";G.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var J=G.getElementsByTagName("*"),c=G.getElementsByTagName("a")[0];if(!(!J||!J.length||!c)){x.support={leadingWhitespace:G.firstChild.nodeType===3,tbody:!G.getElementsByTagName("tbody").length,htmlSerialize:!!G.getElementsByTagName("link").length,style:/red/.test(c.getAttribute("style")),hrefNormalized:c.getAttribute("href")==="/a",opacity:/^0.55$/.test(c.style.opacity),cssFloat:!!c.style.cssFloat,checkOn:G.getElementsByTagName("input")[0].value==="on",optSelected:u.createElement("select").appendChild(u.createElement("option")).selected,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};F.type="text/javascript";try{F.appendChild(u.createTextNode("window."+K+"=1;"))}catch(r){}z.insertBefore(F,z.firstChild);if(aq[K]){x.support.scriptEval=true;delete aq[K]}z.removeChild(F);if(G.attachEvent&&G.fireEvent){G.attachEvent("onclick",function v(){x.support.noCloneEvent=false;G.detachEvent("onclick",v)});G.cloneNode(true).fireEvent("onclick")}G=u.createElement("div");G.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";z=u.createDocumentFragment();z.appendChild(G.firstChild);x.support.checkClone=z.cloneNode(true).cloneNode(true).lastChild.checked;x(function(){var L=u.createElement("div");L.style.width=L.style.paddingLeft="1px";u.body.appendChild(L);x.boxModel=x.support.boxModel=L.offsetWidth===2;u.body.removeChild(L).style.display="none"});z=function(O){var L=u.createElement("div");O="on"+O;var N=O in L;if(!N){L.setAttribute(O,"return;");N=typeof L[O]==="function"}return N};x.support.submitBubbles=z("submit");x.support.changeBubbles=z("change");z=F=G=J=c=null}})();x.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var an="jQuery"+U(),aM=0,a3={},aN={};x.extend({cache:{},expando:an,noData:{embed:true,object:true,applet:true},data:function(r,v,z){if(!(r.nodeName&&x.noData[r.nodeName.toLowerCase()])){r=r==aq?a3:r;var c=r[an],F=x.cache;if(!v&&!c){return null}c||(c=++aM);if(typeof v==="object"){r[an]=c;F=F[c]=x.extend(true,{},v)}else{F=F[c]?F[c]:typeof z==="undefined"?aN:(F[c]={})}if(z!==w){r[an]=c;F[v]=z}return typeof v==="string"?F[v]:F}},removeData:function(r,v){if(!(r.nodeName&&x.noData[r.nodeName.toLowerCase()])){r=r==aq?a3:r;var z=r[an],G=x.cache,F=G[z];if(v){if(F){delete F[v];x.isEmptyObject(F)&&x.removeData(r)}}else{try{delete r[an]}catch(c){r.removeAttribute&&r.removeAttribute(an)}delete G[z]}}}});x.fn.extend({data:function(r,v){if(typeof r==="undefined"&&this.length){return x.data(this[0])}else{if(typeof r==="object"){return this.each(function(){x.data(this,r)})}}var z=r.split(".");z[1]=z[1]?"."+z[1]:"";if(v===w){var c=this.triggerHandler("getData"+z[1]+"!",[z[0]]);if(c===w&&this.length){c=x.data(this[0],r)}return c===w&&z[1]?this.data(z[0]):c}else{return this.trigger("setData"+z[1]+"!",[z[0],v]).each(function(){x.data(this,r,v)})}},removeData:function(c){return this.each(function(){x.removeData(this,c)})}});x.extend({queue:function(r,v,z){if(r){v=(v||"fx")+"queue";var c=x.data(r,v);if(!z){return c||[]}if(!c||x.isArray(z)){c=x.data(r,v,x.makeArray(z))}else{c.push(z)}return c}},dequeue:function(r,v){v=v||"fx";var z=x.queue(r,v),c=z.shift();if(c==="inprogress"){c=z.shift()}if(c){v==="fx"&&z.unshift("inprogress");c.call(r,function(){x.dequeue(r,v)})}}});x.fn.extend({queue:function(c,r){if(typeof c!=="string"){r=c;c="fx"}if(r===w){return x.queue(this[0],c)}return this.each(function(){var v=x.queue(this,c,r);c==="fx"&&v[0]!=="inprogress"&&x.dequeue(this,c)})},dequeue:function(c){return this.each(function(){x.dequeue(this,c)})},delay:function(c,r){c=x.fx?x.fx.speeds[c]||c:c;r=r||"fx";return this.queue(r,function(){var v=this;setTimeout(function(){x.dequeue(v,r)},c)})},clearQueue:function(c){return this.queue(c||"fx",[])}});var a4=/[\n\t]/g,n=/\s+/,aO=/\r/g,aA=/href|src|style/,aB=/(button|input)/i,aC=/(button|input|object|select|textarea)/i,y=/^(a|area)$/i,a5=/radio|checkbox/;x.fn.extend({attr:function(c,r){return A(this,c,r,true,x.attr)},removeAttr:function(c){return this.each(function(){x.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c)})},addClass:function(z){if(x.isFunction(z)){return this.each(function(L){var N=x(this);N.addClass(z.call(this,L,N.attr("class")))})}if(z&&typeof z==="string"){for(var F=(z||"").split(n),G=0,K=this.length;G<K;G++){var J=this[G];if(J.nodeType===1){if(J.className){for(var c=" "+J.className+" ",r=0,v=F.length;r<v;r++){if(c.indexOf(" "+F[r]+" ")<0){J.className+=" "+F[r]}}}else{J.className=z}}}}return this},removeClass:function(z){if(x.isFunction(z)){return this.each(function(L){var N=x(this);N.removeClass(z.call(this,L,N.attr("class")))})}if(z&&typeof z==="string"||z===w){for(var F=(z||"").split(n),G=0,K=this.length;G<K;G++){var J=this[G];if(J.nodeType===1&&J.className){if(z){for(var c=(" "+J.className+" ").replace(a4," "),r=0,v=F.length;r<v;r++){c=c.replace(" "+F[r]+" "," ")}J.className=c.substring(1,c.length-1)}else{J.className=""}}}}return this},toggleClass:function(r,v){var z=typeof r,c=typeof v==="boolean";if(x.isFunction(r)){return this.each(function(F){var G=x(this);G.toggleClass(r.call(this,F,G.attr("class"),v),v)})}return this.each(function(){if(z==="string"){for(var L,G=0,J=x(this),K=v,F=r.split(n);L=F[G++];){K=c?K:!J.hasClass(L);J[K?"addClass":"removeClass"](L)}}else{if(z==="undefined"||z==="boolean"){this.className&&x.data(this,"__className__",this.className);this.className=this.className||r===false?"":x.data(this,"__className__")||""}}})},hasClass:function(c){c=" "+c+" ";for(var r=0,v=this.length;r<v;r++){if((" "+this[r].className+" ").replace(a4," ").indexOf(c)>-1){return true}}return false},val:function(z){if(z===w){var F=this[0];if(F){if(x.nodeName(F,"option")){return(F.attributes.value||{}).specified?F.value:F.text}if(x.nodeName(F,"select")){var G=F.selectedIndex,K=[],J=F.options;F=F.type==="select-one";if(G<0){return null}var c=F?G:0;for(G=F?G+1:J.length;c<G;c++){var r=J[c];if(r.selected){z=x(r).val();if(F){return z}K.push(z)}}return K}if(a5.test(F.type)&&!x.support.checkOn){return F.getAttribute("value")===null?"on":F.value}return(F.value||"").replace(aO,"")}return w}var v=x.isFunction(z);return this.each(function(L){var P=x(this),N=z;if(this.nodeType===1){if(v){N=z.call(this,L,P.val())}if(typeof N==="number"){N+=""}if(x.isArray(N)&&a5.test(this.type)){this.checked=x.inArray(P.val(),N)>=0}else{if(x.nodeName(this,"select")){var O=x.makeArray(N);x("option",this).each(function(){this.selected=x.inArray(x(this).val(),O)>=0});if(!O.length){this.selectedIndex=-1}}else{this.value=N}}}})}});x.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(r,v,z,G){if(!r||r.nodeType===3||r.nodeType===8){return w}if(G&&v in x.attrFn){return x(r)[v](z)}G=r.nodeType!==1||!x.isXMLDoc(r);var F=z!==w;v=G&&x.props[v]||v;if(r.nodeType===1){var c=aA.test(v);if(v in r&&G&&!c){if(F){v==="type"&&aB.test(r.nodeName)&&r.parentNode&&x.error("type property can't be changed");r[v]=z}if(x.nodeName(r,"form")&&r.getAttributeNode(v)){return r.getAttributeNode(v).nodeValue}if(v==="tabIndex"){return(v=r.getAttributeNode("tabIndex"))&&v.specified?v.value:aC.test(r.nodeName)||y.test(r.nodeName)&&r.href?0:w}return r[v]}if(!x.support.style&&G&&v==="style"){if(F){r.style.cssText=""+z}return r.style.cssText}F&&r.setAttribute(v,""+z);r=!x.support.hrefNormalized&&G&&c?r.getAttribute(v,2):r.getAttribute(v);return r===null?w:r}return x.style(r,v,z)}});var at=function(c){return c.replace(/[^\w\s\.\|`]/g,function(r){return"\\"+r})};x.event={add:function(J,K,L,O){if(!(J.nodeType===3||J.nodeType===8)){if(J.setInterval&&J!==aq&&!J.frameElement){J=aq}if(!L.guid){L.guid=x.guid++}if(O!==w){L=x.proxy(L);L.data=O}var N=x.data(J,"events")||x.data(J,"events",{}),c=x.data(J,"handle"),r;if(!c){r=function(){return typeof x!=="undefined"&&!x.event.triggered?x.event.handle.apply(r.elem,arguments):w};c=x.data(J,"handle",r)}if(c){c.elem=J;K=K.split(/\s+/);for(var F,G=0;F=K[G++];){var z=F.split(".");F=z.shift();if(G>1){L=x.proxy(L);if(O!==w){L.data=O}}L.type=z.slice(0).sort().join(".");var P=N[F],v=this.special[F]||{};if(!P){P=N[F]={};if(!v.setup||v.setup.call(J,O,z,L)===false){if(J.addEventListener){J.addEventListener(F,c,false)}else{J.attachEvent&&J.attachEvent("on"+F,c)}}}if(v.add){if((z=v.add.call(J,L,O,z,P))&&x.isFunction(z)){z.guid=z.guid||L.guid;z.data=z.data||L.data;z.type=z.type||L.type;L=z}}P[L.guid]=L;this.global[F]=true}J=null}}},global:{},remove:function(L,N,O){if(!(L.nodeType===3||L.nodeType===8)){var Q=x.data(L,"events"),P,z,F;if(Q){if(N===w||typeof N==="string"&&N.charAt(0)==="."){for(z in Q){this.remove(L,z+(N||""))}}else{if(N.type){O=N.handler;N=N.type}N=N.split(/\s+/);for(var J=0;z=N[J++];){var K=z.split(".");z=K.shift();var G=!K.length,r=x.map(K.slice(0).sort(),at);r=new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.)?")+"(\\.|$)");var c=this.special[z]||{};if(Q[z]){if(O){F=Q[z][O.guid];delete Q[z][O.guid]}else{for(var v in Q[z]){if(G||r.test(Q[z][v].type)){delete Q[z][v]}}}c.remove&&c.remove.call(L,K,F);for(P in Q[z]){break}if(!P){if(!c.teardown||c.teardown.call(L,K)===false){if(L.removeEventListener){L.removeEventListener(z,x.data(L,"handle"),false)}else{L.detachEvent&&L.detachEvent("on"+z,x.data(L,"handle"))}}P=null;delete Q[z]}}}}for(P in Q){break}if(!P){if(v=x.data(L,"handle")){v.elem=null}x.removeData(L,"events");x.removeData(L,"handle")}}}},trigger:function(z,F,G,K){var J=z.type||z;if(!K){z=typeof z==="object"?z[an]?z:x.extend(x.Event(J),z):x.Event(J);if(J.indexOf("!")>=0){z.type=J=J.slice(0,-1);z.exclusive=true}if(!G){z.stopPropagation();this.global[J]&&x.each(x.cache,function(){this.events&&this.events[J]&&x.event.trigger(z,F,this.handle.elem)})}if(!G||G.nodeType===3||G.nodeType===8){return w}z.result=w;z.target=G;F=x.makeArray(F);F.unshift(z)}z.currentTarget=G;(K=x.data(G,"handle"))&&K.apply(G,F);K=G.parentNode||G.ownerDocument;try{if(!(G&&G.nodeName&&x.noData[G.nodeName.toLowerCase()])){if(G["on"+J]&&G["on"+J].apply(G,F)===false){z.result=false}}}catch(c){}if(!z.isPropagationStopped()&&K){x.event.trigger(z,F,K,true)}else{if(!z.isDefaultPrevented()){G=z.target;var r;if(!(x.nodeName(G,"a")&&J==="click")&&!(G&&G.nodeName&&x.noData[G.nodeName.toLowerCase()])){try{if(G[J]){if(r=G["on"+J]){G["on"+J]=null}this.triggered=true;G[J]()}}catch(v){}if(r){G["on"+J]=r}this.triggered=false}}}},handle:function(r){var v,z;r=arguments[0]=x.event.fix(r||aq.event);r.currentTarget=this;z=r.type.split(".");r.type=z.shift();v=!z.length&&!r.exclusive;var G=new RegExp("(^|\\.)"+z.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");z=(x.data(this,"events")||{})[r.type];for(var F in z){var c=z[F];if(v||G.test(c.type)){r.handler=c;r.data=c.data;c=c.apply(this,arguments);if(c!==w){r.result=c;if(c===false){r.preventDefault();r.stopPropagation()}}if(r.isImmediatePropagationStopped()){break}}}return r.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(r){if(r[an]){return r}var v=r;r=x.Event(v);for(var z=this.props.length,c;z;){c=this.props[--z];r[c]=v[c]}if(!r.target){r.target=r.srcElement||u}if(r.target.nodeType===3){r.target=r.target.parentNode}if(!r.relatedTarget&&r.fromElement){r.relatedTarget=r.fromElement===r.target?r.toElement:r.fromElement}if(r.pageX==null&&r.clientX!=null){v=u.documentElement;z=u.body;r.pageX=r.clientX+(v&&v.scrollLeft||z&&z.scrollLeft||0)-(v&&v.clientLeft||z&&z.clientLeft||0);r.pageY=r.clientY+(v&&v.scrollTop||z&&z.scrollTop||0)-(v&&v.clientTop||z&&z.clientTop||0)}if(!r.which&&(r.charCode||r.charCode===0?r.charCode:r.keyCode)){r.which=r.charCode||r.keyCode}if(!r.metaKey&&r.ctrlKey){r.metaKey=r.ctrlKey}if(!r.which&&r.button!==w){r.which=r.button&1?1:r.button&2?3:r.button&4?2:0}return r},guid:100000000,proxy:x.proxy,special:{ready:{setup:x.bindReady,teardown:x.noop},live:{add:function(c,r){x.extend(c,r||{});c.guid+=r.selector+r.live;r.liveProxy=c;x.event.add(this,r.live,j,r)},remove:function(c){if(c.length){var r=0,v=new RegExp("(^|\\.)"+c[0]+"(\\.|$)");x.each(x.data(this,"events").live||{},function(){v.test(this.type)&&r++});r<1&&x.event.remove(this,c[0],j)}},special:{}},beforeunload:{setup:function(c,r,v){if(this.setInterval){this.onbeforeunload=v}return false},teardown:function(c,r){if(this.onbeforeunload===r){this.onbeforeunload=null}}}}};x.Event=function(c){if(!this.preventDefault){return new x.Event(c)}if(c&&c.type){this.originalEvent=c;this.type=c.type}else{this.type=c}this.timeStamp=U();this[an]=true};x.Event.prototype={preventDefault:function(){this.isDefaultPrevented=C;var c=this.originalEvent;if(c){c.preventDefault&&c.preventDefault();c.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=C;var c=this.originalEvent;if(c){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=C;this.stopPropagation()},isDefaultPrevented:B,isPropagationStopped:B,isImmediatePropagationStopped:B};var aX=function(c){for(var r=c.relatedTarget;r&&r!==this;){try{r=r.parentNode}catch(v){break}}if(r!==this){c.type=c.data;x.event.handle.apply(this,arguments)}},aY=function(c){c.type=c.data;x.event.handle.apply(this,arguments)};x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(c,r){x.event.special[c]={setup:function(v){x.event.add(this,r,v&&v.selector?aY:aX,c)},teardown:function(v){x.event.remove(this,r,v&&v.selector?aY:aX)}}});if(!x.support.submitBubbles){x.event.special.submit={setup:function(c,r,v){if(this.nodeName.toLowerCase()!=="form"){x.event.add(this,"click.specialSubmit."+v.guid,function(z){var G=z.target,F=G.type;if((F==="submit"||F==="image")&&x(G).closest("form").length){return i("submit",this,arguments)}});x.event.add(this,"keypress.specialSubmit."+v.guid,function(z){var G=z.target,F=G.type;if((F==="text"||F==="password")&&x(G).closest("form").length&&z.keyCode===13){return i("submit",this,arguments)}})}else{return false}},remove:function(c,r){x.event.remove(this,"click.specialSubmit"+(r?"."+r.guid:""));x.event.remove(this,"keypress.specialSubmit"+(r?"."+r.guid:""))}}}if(!x.support.changeBubbles){var o=/textarea|input|select/i;function aZ(c){var r=c.type,v=c.value;if(r==="radio"||r==="checkbox"){v=c.checked}else{if(r==="select-multiple"){v=c.selectedIndex>-1?x.map(c.options,function(z){return z.selected}).join("-"):""}else{if(c.nodeName.toLowerCase()==="select"){v=c.selectedIndex}}}return v}function p(r,v){var z=r.target,c,F;if(!(!o.test(z.nodeName)||z.readOnly)){c=x.data(z,"_change_data");F=aZ(z);if(r.type!=="focusout"||z.type!=="radio"){x.data(z,"_change_data",F)}if(!(c===w||F===c)){if(c!=null||F){r.type="change";return x.event.trigger(r,v,z)}}}}x.event.special.change={filters:{focusout:p,click:function(c){var r=c.target,v=r.type;if(v==="radio"||v==="checkbox"||r.nodeName.toLowerCase()==="select"){return p.call(this,c)}},keydown:function(c){var r=c.target,v=r.type;if(c.keyCode===13&&r.nodeName.toLowerCase()!=="textarea"||c.keyCode===32&&(v==="checkbox"||v==="radio")||v==="select-multiple"){return p.call(this,c)}},beforeactivate:function(c){c=c.target;c.nodeName.toLowerCase()==="input"&&c.type==="radio"&&x.data(c,"_change_data",aZ(c))}},setup:function(r,v,z){for(var c in I){x.event.add(this,c+".specialChange."+z.guid,I[c])}return o.test(this.nodeName)},remove:function(c,r){for(var v in I){x.event.remove(this,v+".specialChange"+(r?"."+r.guid:""),I[v])}return o.test(this.nodeName)}};var I=x.event.special.change.filters}u.addEventListener&&x.each({focus:"focusin",blur:"focusout"},function(c,r){function v(z){z=x.event.fix(z);z.type=r;return x.event.handle.call(this,z)}x.event.special[r]={setup:function(){this.addEventListener(c,v,true)},teardown:function(){this.removeEventListener(c,v,true)}}});x.each(["bind","one"],function(c,r){x.fn[r]=function(G,v,J){if(typeof G==="object"){for(var z in G){this[r](z,v,G[z],J)}return this}if(x.isFunction(v)){J=v;v=w}var F=r==="one"?x.proxy(J,function(K){x(this).unbind(K,F);return J.apply(this,arguments)}):J;return G==="unload"&&r!=="one"?this.one(G,v,J):this.each(function(){x.event.add(this,G,F,v)})}});x.fn.extend({unbind:function(c,r){if(typeof c==="object"&&!c.preventDefault){for(var v in c){this.unbind(v,c[v])}return this}return this.each(function(){x.event.remove(this,c,r)})},trigger:function(c,r){return this.each(function(){x.event.trigger(c,r,this)})},triggerHandler:function(c,r){if(this[0]){c=x.Event(c);c.preventDefault();c.stopPropagation();x.event.trigger(c,r,this[0]);return c.result}},toggle:function(c){for(var r=arguments,v=1;v<r.length;){x.proxy(c,r[v++])}return this.click(x.proxy(c,function(F){var z=(x.data(this,"lastToggle"+c.guid)||0)%v;x.data(this,"lastToggle"+c.guid,z+1);F.preventDefault();return r[z].apply(this,arguments)||false}))},hover:function(c,r){return this.mouseenter(c).mouseleave(r||c)}});x.each(["live","die"],function(c,r){x.fn[r]=function(G,v,J){var z,F=0;if(x.isFunction(v)){J=v;v=w}for(G=(G||"").split(/\s+/);(z=G[F++])!=null;){z=z==="focus"?"focusin":z==="blur"?"focusout":z==="hover"?G.push("mouseleave")&&"mouseenter":z;r==="live"?x(this.context).bind(k(z,this.selector),{data:v,selector:this.selector,live:z},J):x(this.context).unbind(k(z,this.selector),J?{guid:J.guid+this.selector+z}:null)}return this}});x.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(c,r){x.fn[r]=function(v){return v?this.bind(r,v):this.trigger(r)};if(x.attrFn){x.attrFn[r]=true}});aq.attachEvent&&!aq.addEventListener&&aq.attachEvent("onunload",function(){for(var c in x.cache){if(x.cache[c].handle){try{x.event.remove(x.cache[c].handle.elem)}catch(r){}}}});(function(){function O(Z){for(var Y="",ab,bb=0;Z[bb];bb++){ab=Z[bb];if(ab.nodeType===3||ab.nodeType===4){Y+=ab.nodeValue}else{if(ab.nodeType!==8){Y+=O(ab.childNodes)}}}return Y}function P(bj,Y,ab,bb,bg,bf){bg=0;for(var bi=bb.length;bg<bi;bg++){var bh=bb[bg];if(bh){bh=bh[bj];for(var Z=false;bh;){if(bh.sizcache===ab){Z=bb[bh.sizset];break}if(bh.nodeType===1&&!bf){bh.sizcache=ab;bh.sizset=bg}if(bh.nodeName.toLowerCase()===Y){Z=bh;break}bh=bh[bj]}bb[bg]=Z}}}function Q(bj,Y,ab,bb,bg,bf){bg=0;for(var bi=bb.length;bg<bi;bg++){var bh=bb[bg];if(bh){bh=bh[bj];for(var Z=false;bh;){if(bh.sizcache===ab){Z=bb[bh.sizset];break}if(bh.nodeType===1){if(!bf){bh.sizcache=ab;bh.sizset=bg}if(typeof Y!=="string"){if(bh===Y){Z=true;break}}else{if(N.filter(Y,[bh]).length>0){Z=bh;break}}}bh=bh[bj]}bb[bg]=Z}}}var T=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,S=0,G=Object.prototype.toString,J=false,L=true;[0,0].sort(function(){L=false;return 0});var N=function(bn,bh,bi,bj){bi=bi||[];var ab=bh=bh||u;if(bh.nodeType!==1&&bh.nodeType!==9){return[]}if(!bn||typeof bn!=="string"){return bi}for(var Z=[],bf,bb,Y,bg,bk=true,bm=F(bh),bl=bn;(T.exec(""),bf=T.exec(bl))!==null;){bl=bf[3];Z.push(bf[1]);if(bf[2]){bg=bf[3];break}}if(Z.length>1&&v.exec(bn)){if(Z.length===2&&K.relative[Z[0]]){bb=r(Z[0]+Z[1],bh)}else{for(bb=K.relative[Z[0]]?[bh]:N(Z.shift(),bh);Z.length;){bn=Z.shift();if(K.relative[bn]){bn+=Z.shift()}bb=r(bn,bb)}}}else{if(!bj&&Z.length>1&&bh.nodeType===9&&!bm&&K.match.ID.test(Z[0])&&!K.match.ID.test(Z[Z.length-1])){bf=N.find(Z.shift(),bh,bm);bh=bf.expr?N.filter(bf.expr,bf.set)[0]:bf.set[0]}if(bh){bf=bj?{expr:Z.pop(),set:z(bj)}:N.find(Z.pop(),Z.length===1&&(Z[0]==="~"||Z[0]==="+")&&bh.parentNode?bh.parentNode:bh,bm);bb=bf.expr?N.filter(bf.expr,bf.set):bf.set;if(Z.length>0){Y=z(bb)}else{bk=false}for(;Z.length;){var bo=Z.pop();bf=bo;if(K.relative[bo]){bf=Z.pop()}else{bo=""}if(bf==null){bf=bh}K.relative[bo](Y,bf,bm)}}else{Y=[]}}Y||(Y=bb);Y||N.error(bo||bn);if(G.call(Y)==="[object Array]"){if(bk){if(bh&&bh.nodeType===1){for(bn=0;Y[bn]!=null;bn++){if(Y[bn]&&(Y[bn]===true||Y[bn].nodeType===1&&X(bh,Y[bn]))){bi.push(bb[bn])}}}else{for(bn=0;Y[bn]!=null;bn++){Y[bn]&&Y[bn].nodeType===1&&bi.push(bb[bn])}}}else{bi.push.apply(bi,Y)}}else{z(Y,bi)}if(bg){N(bg,ab,bi,bj);N.uniqueSort(bi)}return bi};N.uniqueSort=function(Y){if(W){J=L;Y.sort(W);if(J){for(var Z=1;Z<Y.length;Z++){Y[Z]===Y[Z-1]&&Y.splice(Z--,1)}}}return Y};N.matches=function(Y,Z){return N(Y,null,null,Z)};N.find=function(bj,Y,ab){var bb,bg;if(!bj){return[]}for(var bf=0,bi=K.order.length;bf<bi;bf++){var bh=K.order[bf];if(bg=K.leftMatch[bh].exec(bj)){var Z=bg[1];bg.splice(1,1);if(Z.substr(Z.length-1)!=="\\"){bg[1]=(bg[1]||"").replace(/\\/g,"");bb=K.find[bh](bg,Y,ab);if(bb!=null){bj=bj.replace(K.match[bh],"");break}}}}bb||(bb=Y.getElementsByTagName("*"));return{set:bb,expr:bj}};N.filter=function(bp,bi,bk,bl){for(var bb=bp,ab=[],bg=bi,bf,Y,bh=bi&&bi[0]&&F(bi[0]);bp&&bi.length;){for(var bm in K.filter){if((bf=K.leftMatch[bm].exec(bp))!=null&&bf[2]){var bo=K.filter[bm],bn,bq;bq=bf[1];Y=false;bf.splice(1,1);if(bq.substr(bq.length-1)!=="\\"){if(bg===ab){ab=[]}if(K.preFilter[bm]){if(bf=K.preFilter[bm](bf,bg,bk,ab,bl,bh)){if(bf===true){continue}}else{Y=bn=true}}if(bf){for(var bj=0;(bq=bg[bj])!=null;bj++){if(bq){bn=bo(bq,bf,bj,bg);var Z=bl^!!bn;if(bk&&bn!=null){if(Z){Y=true}else{bg[bj]=false}}else{if(Z){ab.push(bq);Y=true}}}}}if(bn!==w){bk||(bg=ab);bp=bp.replace(K.match[bm],"");if(!Y){return[]}break}}}}if(bp===bb){if(Y==null){N.error(bp)}else{break}}bb=bp}return bg};N.error=function(Y){throw"Syntax error, unrecognized expression: "+Y};var K=N.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(Y){return Y.getAttribute("href")}},relative:{"+":function(bg,Y){var Z=typeof Y==="string",ab=Z&&!/\W/.test(Y);Z=Z&&!ab;if(ab){Y=Y.toLowerCase()}ab=0;for(var bf=bg.length,bb;ab<bf;ab++){if(bb=bg[ab]){for(;(bb=bb.previousSibling)&&bb.nodeType!==1;){}bg[ab]=Z||bb&&bb.nodeName.toLowerCase()===Y?bb||false:bb===Y}}Z&&N.filter(Y,bg,true)},">":function(bg,Y){var Z=typeof Y==="string";if(Z&&!/\W/.test(Y)){Y=Y.toLowerCase();for(var ab=0,bf=bg.length;ab<bf;ab++){var bb=bg[ab];if(bb){Z=bb.parentNode;bg[ab]=Z.nodeName.toLowerCase()===Y?Z:false}}}else{ab=0;for(bf=bg.length;ab<bf;ab++){if(bb=bg[ab]){bg[ab]=Z?bb.parentNode:bb.parentNode===Y}}Z&&N.filter(Y,bg,true)}},"":function(bg,Y,Z){var ab=S++,bf=Q;if(typeof Y==="string"&&!/\W/.test(Y)){var bb=Y=Y.toLowerCase();bf=P}bf("parentNode",Y,ab,bg,bb,Z)},"~":function(bg,Y,Z){var ab=S++,bf=Q;if(typeof Y==="string"&&!/\W/.test(Y)){var bb=Y=Y.toLowerCase();bf=P}bf("previousSibling",Y,ab,bg,bb,Z)}},find:{ID:function(Z,Y,ab){if(typeof Y.getElementById!=="undefined"&&!ab){return(Z=Y.getElementById(Z[1]))?[Z]:[]}},NAME:function(Z,Y){if(typeof Y.getElementsByName!=="undefined"){var ab=[];Y=Y.getElementsByName(Z[1]);for(var bb=0,bf=Y.length;bb<bf;bb++){Y[bb].getAttribute("name")===Z[1]&&ab.push(Y[bb])}return ab.length===0?null:ab}},TAG:function(Y,Z){return Z.getElementsByTagName(Y[1])}},preFilter:{CLASS:function(bh,Y,Z,ab,bf,bb){bh=" "+bh[1].replace(/\\/g,"")+" ";if(bb){return bh}bb=0;for(var bg;(bg=Y[bb])!=null;bb++){if(bg){if(bf^(bg.className&&(" "+bg.className+" ").replace(/[\t\n]/g," ").indexOf(bh)>=0)){Z||ab.push(bg)}else{if(Z){Y[bb]=false}}}}return false},ID:function(Y){return Y[1].replace(/\\/g,"")},TAG:function(Y){return Y[1].toLowerCase()},CHILD:function(Y){if(Y[1]==="nth"){var Z=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(Y[2]==="even"&&"2n"||Y[2]==="odd"&&"2n+1"||!/\D/.test(Y[2])&&"0n+"+Y[2]||Y[2]);Y[2]=Z[1]+(Z[2]||1)-0;Y[3]=Z[3]-0}Y[0]=S++;return Y},ATTR:function(bg,Y,Z,ab,bf,bb){Y=bg[1].replace(/\\/g,"");if(!bb&&K.attrMap[Y]){bg[1]=K.attrMap[Y]}if(bg[2]==="~="){bg[4]=" "+bg[4]+" "}return bg},PSEUDO:function(Z,Y,ab,bb,bf){if(Z[1]==="not"){if((T.exec(Z[3])||"").length>1||/^\w/.test(Z[3])){Z[3]=N(Z[3],null,null,Y)}else{Z=N.filter(Z[3],Y,ab,true^bf);ab||bb.push.apply(bb,Z);return false}}else{if(K.match.POS.test(Z[0])||K.match.CHILD.test(Z[0])){return true}}return Z},POS:function(Y){Y.unshift(true);return Y}},filters:{enabled:function(Y){return Y.disabled===false&&Y.type!=="hidden"},disabled:function(Y){return Y.disabled===true},checked:function(Y){return Y.checked===true},selected:function(Y){return Y.selected===true},parent:function(Y){return !!Y.firstChild},empty:function(Y){return !Y.firstChild},has:function(Z,Y,ab){return !!N(ab[3],Z).length},header:function(Y){return/h\d/i.test(Y.nodeName)},text:function(Y){return"text"===Y.type},radio:function(Y){return"radio"===Y.type},checkbox:function(Y){return"checkbox"===Y.type},file:function(Y){return"file"===Y.type},password:function(Y){return"password"===Y.type},submit:function(Y){return"submit"===Y.type},image:function(Y){return"image"===Y.type},reset:function(Y){return"reset"===Y.type},button:function(Y){return"button"===Y.type||Y.nodeName.toLowerCase()==="button"},input:function(Y){return/input|select|textarea|button/i.test(Y.nodeName)}},setFilters:{first:function(Y,Z){return Z===0},last:function(Z,Y,ab,bb){return Y===bb.length-1},even:function(Y,Z){return Z%2===0},odd:function(Y,Z){return Z%2===1},lt:function(Z,Y,ab){return Y<ab[3]-0},gt:function(Z,Y,ab){return Y>ab[3]-0},nth:function(Z,Y,ab){return ab[3]-0===Y},eq:function(Z,Y,ab){return ab[3]-0===Y}},filter:{PSEUDO:function(bg,Y,Z,ab){var bf=Y[1],bb=K.filters[bf];if(bb){return bb(bg,Z,Y,ab)}else{if(bf==="contains"){return(bg.textContent||bg.innerText||O([bg])||"").indexOf(Y[3])>=0}else{if(bf==="not"){Y=Y[3];Z=0;for(ab=Y.length;Z<ab;Z++){if(Y[Z]===bg){return false}}return true}else{N.error("Syntax error, unrecognized expression: "+bf)}}}},CHILD:function(bh,Y){var Z=Y[1],ab=bh;switch(Z){case"only":case"first":for(;ab=ab.previousSibling;){if(ab.nodeType===1){return false}}if(Z==="first"){return true}ab=bh;case"last":for(;ab=ab.nextSibling;){if(ab.nodeType===1){return false}}return true;case"nth":Z=Y[2];var bf=Y[3];if(Z===1&&bf===0){return true}Y=Y[0];var bb=bh.parentNode;if(bb&&(bb.sizcache!==Y||!bh.nodeIndex)){var bg=0;for(ab=bb.firstChild;ab;ab=ab.nextSibling){if(ab.nodeType===1){ab.nodeIndex=++bg}}bb.sizcache=Y}bh=bh.nodeIndex-bf;return Z===0?bh===0:bh%Z===0&&bh/Z>=0}},ID:function(Y,Z){return Y.nodeType===1&&Y.getAttribute("id")===Z},TAG:function(Y,Z){return Z==="*"&&Y.nodeType===1||Y.nodeName.toLowerCase()===Z},CLASS:function(Y,Z){return(" "+(Y.className||Y.getAttribute("class"))+" ").indexOf(Z)>-1},ATTR:function(Z,Y){var ab=Y[1];Z=K.attrHandle[ab]?K.attrHandle[ab](Z):Z[ab]!=null?Z[ab]:Z.getAttribute(ab);ab=Z+"";var bb=Y[2];Y=Y[4];return Z==null?bb==="!=":bb==="="?ab===Y:bb==="*="?ab.indexOf(Y)>=0:bb==="~="?(" "+ab+" ").indexOf(Y)>=0:!Y?ab&&Z!==false:bb==="!="?ab!==Y:bb==="^="?ab.indexOf(Y)===0:bb==="$="?ab.substr(ab.length-Y.length)===Y:bb==="|="?ab===Y||ab.substr(0,Y.length+1)===Y+"-":false},POS:function(Z,Y,ab,bb){var bf=K.setFilters[Y[2]];if(bf){return bf(Z,ab,Y,bb)}}}},v=K.match.POS;for(var c in K.match){K.match[c]=new RegExp(K.match[c].source+/(?![^\[]*\])(?![^\(]*\))/.source);K.leftMatch[c]=new RegExp(/(^(?:.|\r|\n)*?)/.source+K.match[c].source.replace(/\\(\d+)/g,function(Y,Z){return"\\"+(Z-0+1)}))}var z=function(Y,Z){Y=Array.prototype.slice.call(Y,0);if(Z){Z.push.apply(Z,Y);return Z}return Y};try{Array.prototype.slice.call(u.documentElement.childNodes,0)}catch(V){z=function(Z,Y){Y=Y||[];if(G.call(Z)==="[object Array]"){Array.prototype.push.apply(Y,Z)}else{if(typeof Z.length==="number"){for(var ab=0,bb=Z.length;ab<bb;ab++){Y.push(Z[ab])}}else{for(ab=0;Z[ab];ab++){Y.push(Z[ab])}}}return Y}}var W;if(u.documentElement.compareDocumentPosition){W=function(Y,Z){if(!Y.compareDocumentPosition||!Z.compareDocumentPosition){if(Y==Z){J=true}return Y.compareDocumentPosition?-1:1}Y=Y.compareDocumentPosition(Z)&4?-1:Y===Z?0:1;if(Y===0){J=true}return Y}}else{if("sourceIndex" in u.documentElement){W=function(Y,Z){if(!Y.sourceIndex||!Z.sourceIndex){if(Y==Z){J=true}return Y.sourceIndex?-1:1}Y=Y.sourceIndex-Z.sourceIndex;if(Y===0){J=true}return Y}}else{if(u.createRange){W=function(Z,Y){if(!Z.ownerDocument||!Y.ownerDocument){if(Z==Y){J=true}return Z.ownerDocument?-1:1}var ab=Z.ownerDocument.createRange(),bb=Y.ownerDocument.createRange();ab.setStart(Z,0);ab.setEnd(Z,0);bb.setStart(Y,0);bb.setEnd(Y,0);Z=ab.compareBoundaryPoints(Range.START_TO_END,bb);if(Z===0){J=true}return Z}}}}(function(){var Z=u.createElement("div"),Y="script"+(new Date).getTime();Z.innerHTML="<a name='"+Y+"'/>";var ab=u.documentElement;ab.insertBefore(Z,ab.firstChild);if(u.getElementById(Y)){K.find.ID=function(bf,bb,bg){if(typeof bb.getElementById!=="undefined"&&!bg){return(bb=bb.getElementById(bf[1]))?bb.id===bf[1]||typeof bb.getAttributeNode!=="undefined"&&bb.getAttributeNode("id").nodeValue===bf[1]?[bb]:w:[]}};K.filter.ID=function(bf,bb){var bg=typeof bf.getAttributeNode!=="undefined"&&bf.getAttributeNode("id");return bf.nodeType===1&&bg&&bg.nodeValue===bb}}ab.removeChild(Z);ab=Z=null})();(function(){var Y=u.createElement("div");Y.appendChild(u.createComment(""));if(Y.getElementsByTagName("*").length>0){K.find.TAG=function(Z,ab){ab=ab.getElementsByTagName(Z[1]);if(Z[1]==="*"){Z=[];for(var bb=0;ab[bb];bb++){ab[bb].nodeType===1&&Z.push(ab[bb])}ab=Z}return ab}}Y.innerHTML="<a href='#'></a>";if(Y.firstChild&&typeof Y.firstChild.getAttribute!=="undefined"&&Y.firstChild.getAttribute("href")!=="#"){K.attrHandle.href=function(Z){return Z.getAttribute("href",2)}}Y=null})();u.querySelectorAll&&function(){var Z=N,Y=u.createElement("div");Y.innerHTML="<p class='TEST'></p>";if(!(Y.querySelectorAll&&Y.querySelectorAll(".TEST").length===0)){N=function(bh,bb,bi,bf){bb=bb||u;if(!bf&&bb.nodeType===9&&!F(bb)){try{return z(bb.querySelectorAll(bh),bi)}catch(bg){}}return Z(bh,bb,bi,bf)};for(var ab in Z){N[ab]=Z[ab]}Y=null}}();(function(){var Y=u.createElement("div");Y.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!Y.getElementsByClassName||Y.getElementsByClassName("e").length===0)){Y.lastChild.className="e";if(Y.getElementsByClassName("e").length!==1){K.order.splice(1,0,"CLASS");K.find.CLASS=function(Z,ab,bb){if(typeof ab.getElementsByClassName!=="undefined"&&!bb){return ab.getElementsByClassName(Z[1])}};Y=null}}})();var X=u.compareDocumentPosition?function(Y,Z){return Y.compareDocumentPosition(Z)&16}:function(Y,Z){return Y!==Z&&(Y.contains?Y.contains(Z):true)},F=function(Y){return(Y=(Y?Y.ownerDocument||Y:0).documentElement)?Y.nodeName!=="HTML":false},r=function(bg,Y){var Z=[],ab="",bf;for(Y=Y.nodeType?[Y]:Y;bf=K.match.PSEUDO.exec(bg);){ab+=bf[0];bg=bg.replace(K.match.PSEUDO,"")}bg=K.relative[bg]?bg+"*":bg;bf=0;for(var bb=Y.length;bf<bb;bf++){N(bg,Y[bf],Z)}return N.filter(ab,Z)};x.find=N;x.expr=N.selectors;x.expr[":"]=x.expr.filters;x.unique=N.uniqueSort;x.getText=O;x.isXMLDoc=F;x.contains=X})();var au=/Until$/,av=/^(?:parents|prevUntil|prevAll)/,aw=/,/;E=Array.prototype.slice;var a0=function(r,v,z){if(x.isFunction(v)){return x.grep(r,function(F,G){return !!v.call(F,G,F)===z})}else{if(v.nodeType){return x.grep(r,function(F){return F===v===z})}else{if(typeof v==="string"){var c=x.grep(r,function(F){return F.nodeType===1});if(aI.test(v)){return x.filter(v,c,!z)}else{v=x.filter(v,c)}}}}return x.grep(r,function(F){return x.inArray(F,v)>=0===z})};x.fn.extend({find:function(v){for(var z=this.pushStack("","find",v),F=0,J=0,G=this.length;J<G;J++){F=z.length;x.find(v,this[J],z);if(J>0){for(var c=F;c<z.length;c++){for(var r=0;r<F;r++){if(z[r]===z[c]){z.splice(c--,1);break}}}}}return z},has:function(c){var r=x(c);return this.filter(function(){for(var v=0,z=r.length;v<z;v++){if(x.contains(this,r[v])){return true}}})},not:function(c){return this.pushStack(a0(this,c,false),"not",c)},filter:function(c){return this.pushStack(a0(this,c,true),"filter",c)},is:function(c){return !!c&&x.filter(c,this).length>0},closest:function(F,G){if(x.isArray(F)){var J=[],L=this[0],K,c={},r;if(L&&F.length){K=0;for(var v=F.length;K<v;K++){r=F[K];c[r]||(c[r]=x.expr.match.POS.test(r)?x(r,G||this.context):r)}for(;L&&L.ownerDocument&&L!==G;){for(r in c){K=c[r];if(K.jquery?K.index(L)>-1:x(L).is(K)){J.push({selector:r,elem:L});delete c[r]}}L=L.parentNode}}return J}var z=x.expr.match.POS.test(F)?x(F,G||this.context):null;return this.map(function(O,N){for(;N&&N.ownerDocument&&N!==G;){if(z?z.index(N)>-1:x(N).is(F)){return N}N=N.parentNode}return null})},index:function(c){if(!c||typeof c==="string"){return x.inArray(this[0],c?x(c):this.parent().children())}return x.inArray(c.jquery?c[0]:c,this)},add:function(c,r){c=typeof c==="string"?x(c,r||this.context):x.makeArray(c);r=x.merge(this.get(),c);return this.pushStack(a8(c[0])||a8(r[0])?r:x.unique(r))},andSelf:function(){return this.add(this.prevObject)}});x.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null},parents:function(c){return x.dir(c,"parentNode")},parentsUntil:function(c,r,v){return x.dir(c,"parentNode",v)},next:function(c){return x.nth(c,2,"nextSibling")},prev:function(c){return x.nth(c,2,"previousSibling")},nextAll:function(c){return x.dir(c,"nextSibling")},prevAll:function(c){return x.dir(c,"previousSibling")},nextUntil:function(c,r,v){return x.dir(c,"nextSibling",v)},prevUntil:function(c,r,v){return x.dir(c,"previousSibling",v)},siblings:function(c){return x.sibling(c.parentNode.firstChild,c)},children:function(c){return x.sibling(c.firstChild)},contents:function(c){return x.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:x.makeArray(c.childNodes)}},function(c,r){x.fn[c]=function(z,v){var F=x.map(this,r,z);au.test(c)||(v=z);if(v&&typeof v==="string"){F=x.filter(v,F)}F=this.length>1?x.unique(F):F;if((this.length>1||aw.test(v))&&av.test(c)){F=F.reverse()}return this.pushStack(F,c,E.call(arguments).join(","))}});x.extend({filter:function(c,r,v){if(v){c=":not("+c+")"}return x.find.matches(c,r)},dir:function(r,v,z){var c=[];for(r=r[v];r&&r.nodeType!==9&&(z===w||r.nodeType!==1||!x(r).is(z));){r.nodeType===1&&c.push(r);r=r[v]}return c},nth:function(r,v,z){v=v||1;for(var c=0;r;r=r[z]){if(r.nodeType===1&&++c===v){break}}return r},sibling:function(c,r){for(var v=[];c;c=c.nextSibling){c.nodeType===1&&c!==r&&v.push(c)}return v}});var a1=/ jQuery\d+="(?:\d+|null)"/g,M=/^\s+/,a2=/(<([\w:]+)[^>]*?)\/>/g,ax=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,aP=/<([\w:]+)/,ay=/<tbody/i,az=/<|&\w+;/,bc=/checked\s*(?:[^=]|=\s*.checked.)/i,aQ=function(c,r,v){return ax.test(v)?c:r+"></"+v+">"},am={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,"",""]};am.optgroup=am.option;am.tbody=am.tfoot=am.colgroup=am.caption=am.thead;am.th=am.td;if(!x.support.htmlSerialize){am._default=[1,"div<div>","</div>"]}x.fn.extend({text:function(c){if(x.isFunction(c)){return this.each(function(v){var r=x(this);r.text(c.call(this,v,r.text()))})}if(typeof c!=="object"&&c!==w){return this.empty().append((this[0]&&this[0].ownerDocument||u).createTextNode(c))}return x.getText(this)},wrapAll:function(c){if(x.isFunction(c)){return this.each(function(v){x(this).wrapAll(c.call(this,v))})}if(this[0]){var r=x(c,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&r.insertBefore(this[0]);r.map(function(){for(var v=this;v.firstChild&&v.firstChild.nodeType===1;){v=v.firstChild}return v}).append(this)}return this},wrapInner:function(c){if(x.isFunction(c)){return this.each(function(r){x(this).wrapInner(c.call(this,r))})}return this.each(function(){var v=x(this),r=v.contents();r.length?r.wrapAll(c):v.append(c)})},wrap:function(c){return this.each(function(){x(this).wrapAll(c)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.appendChild(c)})},prepend:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.insertBefore(c,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(r){this.parentNode.insertBefore(r,this)})}else{if(arguments.length){var c=x(arguments[0]);c.push.apply(c,this.toArray());return this.pushStack(c,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(r){this.parentNode.insertBefore(r,this.nextSibling)})}else{if(arguments.length){var c=this.pushStack(this,"after",arguments);c.push.apply(c,x(arguments[0]).toArray());return c}}},clone:function(c){var r=this.map(function(){if(!x.support.noCloneEvent&&!x.isXMLDoc(this)){var v=this.outerHTML,z=this.ownerDocument;if(!v){v=z.createElement("div");v.appendChild(this.cloneNode(true));v=v.innerHTML}return x.clean([v.replace(a1,"").replace(M,"")],z)[0]}else{return this.cloneNode(true)}});if(c===true){a9(this,r);a9(this.find("*"),r.find("*"))}return r},html:function(r){if(r===w){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(a1,""):null}else{if(typeof r==="string"&&!/<script/i.test(r)&&(x.support.leadingWhitespace||!M.test(r))&&!am[(aP.exec(r)||["",""])[1].toLowerCase()]){r=r.replace(a2,aQ);try{for(var v=0,z=this.length;v<z;v++){if(this[v].nodeType===1){x.cleanData(this[v].getElementsByTagName("*"));this[v].innerHTML=r}}}catch(c){this.empty().append(r)}}else{x.isFunction(r)?this.each(function(J){var F=x(this),G=F.html();F.empty().append(function(){return r.call(this,J,G)})}):this.empty().append(r)}}return this},replaceWith:function(c){if(this[0]&&this[0].parentNode){if(x.isFunction(c)){return this.each(function(v){var z=x(this),r=z.html();z.replaceWith(c.call(this,v,r))})}else{c=x(c).detach()}return this.each(function(){var v=this.nextSibling,r=this.parentNode;x(this).remove();v?x(v).before(c):x(r).append(c)})}else{return this.pushStack(x(x.isFunction(c)?c():c),"replaceWith",c)}},detach:function(c){return this.remove(c,true)},domManip:function(G,J,K){function N(O){return x.nodeName(O,"table")?O.getElementsByTagName("tbody")[0]||O.appendChild(O.ownerDocument.createElement("tbody")):O}var L,c,r=G[0],z=[];if(!x.support.checkClone&&arguments.length===3&&typeof r==="string"&&bc.test(r)){return this.each(function(){x(this).domManip(G,J,K,true)})}if(x.isFunction(r)){return this.each(function(O){var P=x(this);G[0]=r.call(this,O,J?P.html():w);P.domManip(G,J,K)})}if(this[0]){L=G[0]&&G[0].parentNode&&G[0].parentNode.nodeType===11?{fragment:G[0].parentNode}:ba(G,this,z);if(c=L.fragment.firstChild){J=J&&x.nodeName(c,"tr");for(var F=0,v=this.length;F<v;F++){K.call(J?N(this[F],c):this[F],L.cacheable||this.length>1||F>0?L.fragment.cloneNode(true):L.fragment)}}z&&x.each(z,aU)}return this}});x.fragments={};x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,r){x.fn[c]=function(G){var v=[];G=x(G);for(var J=0,z=G.length;J<z;J++){var F=(J>0?this.clone(true):this).get();x.fn[r].apply(x(G[J]),F);v=v.concat(F)}return this.pushStack(v,c,G.selector)}});x.each({remove:function(c,r){if(!c||x.filter(c,[this]).length){if(!r&&this.nodeType===1){x.cleanData(this.getElementsByTagName("*"));x.cleanData([this])}this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(this.nodeType===1&&x.cleanData(this.getElementsByTagName("*"));this.firstChild;){this.removeChild(this.firstChild)}}},function(c,r){x.fn[c]=function(){return this.each(r,arguments)}});x.extend({clean:function(r,v,z,c){v=v||u;if(typeof v.createElement==="undefined"){v=v.ownerDocument||v[0]&&v[0].ownerDocument||u}var F=[];x.each(r,function(J,K){if(typeof K==="number"){K+=""}if(K){if(typeof K==="string"&&!az.test(K)){K=v.createTextNode(K)}else{if(typeof K==="string"){K=K.replace(a2,aQ);var N=(aP.exec(K)||["",""])[1].toLowerCase(),G=am[N]||am._default,L=G[0];J=v.createElement("div");for(J.innerHTML=G[1]+K+G[2];L--;){J=J.lastChild}if(!x.support.tbody){L=ay.test(K);N=N==="table"&&!L?J.firstChild&&J.firstChild.childNodes:G[1]==="<table>"&&!L?J.childNodes:[];for(G=N.length-1;G>=0;--G){x.nodeName(N[G],"tbody")&&!N[G].childNodes.length&&N[G].parentNode.removeChild(N[G])}}!x.support.leadingWhitespace&&M.test(K)&&J.insertBefore(v.createTextNode(M.exec(K)[0]),J.firstChild);K=x.makeArray(J.childNodes)}}if(K.nodeType){F.push(K)}else{F=x.merge(F,K)}}});if(z){for(r=0;F[r];r++){if(c&&x.nodeName(F[r],"script")&&(!F[r].type||F[r].type.toLowerCase()==="text/javascript")){c.push(F[r].parentNode?F[r].parentNode.removeChild(F[r]):F[r])}else{F[r].nodeType===1&&F.splice.apply(F,[r+1,0].concat(x.makeArray(F[r].getElementsByTagName("script"))));z.appendChild(F[r])}}}return F},cleanData:function(c){for(var r=0,v;(v=c[r])!=null;r++){x.event.remove(v);x.removeData(v)}}});var ak=/z-?index|font-?weight|opacity|zoom|line-?height/i,aR=/alpha\([^)]*\)/,aS=/opacity=([^)]*)/,q=/float/i,d=/-([a-z])/ig,al=/([A-Z])/g,aD=/^-?\d+(?:px)?$/i,aE=/^-?\d/,ao={position:"absolute",visibility:"hidden",display:"block"},ap=["Left","Right"],aG=["Top","Bottom"],ar=u.defaultView&&u.defaultView.getComputedStyle,aT=x.support.cssFloat?"cssFloat":"styleFloat",e=function(c,r){return r.toUpperCase()};x.fn.css=function(c,r){return A(this,c,r,true,function(z,v,F){if(F===w){return x.curCSS(z,v)}if(typeof F==="number"&&!ak.test(v)){F+="px"}x.style(z,v,F)})};x.extend({style:function(r,v,z){if(!r||r.nodeType===3||r.nodeType===8){return w}if((v==="width"||v==="height")&&parseFloat(z)<0){z=w}var c=r.style||r,F=z!==w;if(!x.support.opacity&&v==="opacity"){if(F){c.zoom=1;v=parseInt(z,10)+""==="NaN"?"":"alpha(opacity="+z*100+")";r=c.filter||x.curCSS(r,"filter")||"";c.filter=aR.test(r)?r.replace(aR,v):v}return c.filter&&c.filter.indexOf("opacity=")>=0?parseFloat(aS.exec(c.filter)[1])/100+"":""}if(q.test(v)){v=aT}v=v.replace(d,e);if(F){c[v]=z}return c[v]},css:function(v,z,F,J){if(z==="width"||z==="height"){var G,c=z==="width"?ap:aG;function r(){G=z==="width"?v.offsetWidth:v.offsetHeight;J!=="border"&&x.each(c,function(){J||(G-=parseFloat(x.curCSS(v,"padding"+this,true))||0);if(J==="margin"){G+=parseFloat(x.curCSS(v,"margin"+this,true))||0}else{G-=parseFloat(x.curCSS(v,"border"+this+"Width",true))||0}})}v.offsetWidth!==0?r():x.swap(v,ao,r);return Math.max(0,Math.round(G))}return x.curCSS(v,z,F)},curCSS:function(r,v,z){var G,F=r.style;if(!x.support.opacity&&v==="opacity"&&r.currentStyle){G=aS.test(r.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return G===""?"1":G}if(q.test(v)){v=aT}if(!z&&F&&F[v]){G=F[v]}else{if(ar){if(q.test(v)){v="float"}v=v.replace(al,"-$1").toLowerCase();F=r.ownerDocument.defaultView;if(!F){return null}if(r=F.getComputedStyle(r,null)){G=r.getPropertyValue(v)}if(v==="opacity"&&G===""){G="1"}}else{if(r.currentStyle){z=v.replace(d,e);G=r.currentStyle[v]||r.currentStyle[z];if(!aD.test(G)&&aE.test(G)){v=F.left;var c=r.runtimeStyle.left;r.runtimeStyle.left=r.currentStyle.left;F.left=z==="fontSize"?"1em":G||0;G=F.pixelLeft+"px";F.left=v;r.runtimeStyle.left=c}}}}return G},swap:function(r,v,z){var c={};for(var F in v){c[F]=r.style[F];r.style[F]=v[F]}z.call(r);for(F in v){r.style[F]=c[F]}}});if(x.expr&&x.expr.filters){x.expr.filters.hidden=function(r){var v=r.offsetWidth,z=r.offsetHeight,c=r.nodeName.toLowerCase()==="tr";return v===0&&z===0&&!c?true:v>0&&z>0&&!c?false:x.curCSS(r,"display")==="none"};x.expr.filters.visible=function(c){return !x.expr.filters.hidden(c)}}var a6=U(),ad=/<script(.|\s)*?\/script>/gi,ae=/select|textarea/i,aF=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,s=/=\?(&|$)/,f=/\?/,ag=/(\?|&)_=.*?(&|$)/,ah=/^(\w+:)?\/\/([^\/?#]+)/,ai=/%20/g;x.fn.extend({_load:x.fn.load,load:function(r,v,z){if(typeof r!=="string"){return this._load(r)}else{if(!this.length){return this}}var G=r.indexOf(" ");if(G>=0){var F=r.slice(G,r.length);r=r.slice(0,G)}G="GET";if(v){if(x.isFunction(v)){z=v;v=null}else{if(typeof v==="object"){v=x.param(v,x.ajaxSettings.traditional);G="POST"}}}var c=this;x.ajax({url:r,type:G,dataType:"html",data:v,complete:function(K,J){if(J==="success"||J==="notmodified"){c.html(F?x("<div />").append(K.responseText.replace(ad,"")).find(F):K.responseText)}z&&c.each(z,[K.responseText,J,K])}});return this},serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?x.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ae.test(this.nodeName)||aF.test(this.type))}).map(function(c,r){c=x(this).val();return c==null?null:x.isArray(c)?x.map(c,function(v){return{name:r.name,value:v}}):{name:r.name,value:c}}).get()}});x.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,r){x.fn[r]=function(v){return this.bind(r,v)}});x.extend({get:function(r,v,z,c){if(x.isFunction(v)){c=c||z;z=v;v=null}return x.ajax({type:"GET",url:r,data:v,success:z,dataType:c})},getScript:function(c,r){return x.get(c,null,r,"script")},getJSON:function(c,r,v){return x.get(c,r,v,"json")},post:function(r,v,z,c){if(x.isFunction(v)){c=c||z;z=v;v={}}return x.ajax({type:"POST",url:r,data:v,success:z,dataType:c})},ajaxSetup:function(c){x.extend(x.ajaxSettings,c)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:aq.XMLHttpRequest&&(aq.location.protocol!=="file:"||!aq.ActiveXObject)?function(){return new aq.XMLHttpRequest}:function(){try{return new aq.ActiveXObject("Microsoft.XMLHTTP")}catch(c){}},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(T){function V(){X.success&&X.success.call(Q,P,K,F);X.global&&Y("ajaxSuccess",[F,X])}function W(){X.complete&&X.complete.call(Q,F,K);X.global&&Y("ajaxComplete",[F,X]);X.global&&!--x.active&&x.event.trigger("ajaxStop")}function Y(bg,bf){(X.context?x(X.context):x.event).trigger(bg,bf)}var X=x.extend(true,{},x.ajaxSettings,T),J,K,P,Q=T&&T.context||X,O=X.type.toUpperCase();if(X.data&&X.processData&&typeof X.data!=="string"){X.data=x.param(X.data,X.traditional)}if(X.dataType==="jsonp"){if(O==="GET"){s.test(X.url)||(X.url+=(f.test(X.url)?"&":"?")+(X.jsonp||"callback")+"=?")}else{if(!X.data||!s.test(X.data)){X.data=(X.data?X.data+"&":"")+(X.jsonp||"callback")+"=?"}}X.dataType="json"}if(X.dataType==="json"&&(X.data&&s.test(X.data)||s.test(X.url))){J=X.jsonpCallback||"jsonp"+a6++;if(X.data){X.data=(X.data+"").replace(s,"="+J+"$1")}X.url=X.url.replace(s,"="+J+"$1");X.dataType="script";aq[J]=aq[J]||function(bg){P=bg;V();W();aq[J]=w;try{delete aq[J]}catch(bf){}z&&z.removeChild(Z)}}if(X.dataType==="script"&&X.cache===null){X.cache=false}if(X.cache===false&&O==="GET"){var v=U(),c=X.url.replace(ag,"$1_="+v+"$2");X.url=c+(c===X.url?(f.test(X.url)?"&":"?")+"_="+v:"")}if(X.data&&O==="GET"){X.url+=(f.test(X.url)?"&":"?")+X.data}X.global&&!x.active++&&x.event.trigger("ajaxStart");v=(v=ah.exec(X.url))&&(v[1]&&v[1]!==location.protocol||v[2]!==location.host);if(X.dataType==="script"&&O==="GET"&&v){var z=u.getElementsByTagName("head")[0]||u.documentElement,Z=u.createElement("script");Z.src=X.url;if(X.scriptCharset){Z.charset=X.scriptCharset}if(!J){var ab=false;Z.onload=Z.onreadystatechange=function(){if(!ab&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){ab=true;V();W();Z.onload=Z.onreadystatechange=null;z&&Z.parentNode&&z.removeChild(Z)}}}z.insertBefore(Z,z.firstChild);return w}var bb=false,F=X.xhr();if(F){X.username?F.open(O,X.url,X.async,X.username,X.password):F.open(O,X.url,X.async);try{if(X.data||T&&T.contentType){F.setRequestHeader("Content-Type",X.contentType)}if(X.ifModified){x.lastModified[X.url]&&F.setRequestHeader("If-Modified-Since",x.lastModified[X.url]);x.etag[X.url]&&F.setRequestHeader("If-None-Match",x.etag[X.url])}v||F.setRequestHeader("X-Requested-With","XMLHttpRequest");F.setRequestHeader("Accept",X.dataType&&X.accepts[X.dataType]?X.accepts[X.dataType]+", */*":X.accepts._default)}catch(r){}if(X.beforeSend&&X.beforeSend.call(Q,F,X)===false){X.global&&!--x.active&&x.event.trigger("ajaxStop");F.abort();return false}X.global&&Y("ajaxSend",[F,X]);var S=F.onreadystatechange=function(bf){if(!F||F.readyState===0||bf==="abort"){bb||W();bb=true;if(F){F.onreadystatechange=x.noop}}else{if(!bb&&F&&(F.readyState===4||bf==="timeout")){bb=true;F.onreadystatechange=x.noop;K=bf==="timeout"?"timeout":!x.httpSuccess(F)?"error":X.ifModified&&x.httpNotModified(F,X.url)?"notmodified":"success";var bh;if(K==="success"){try{P=x.httpData(F,X.dataType,X)}catch(bg){K="parsererror";bh=bg}}if(K==="success"||K==="notmodified"){J||V()}else{x.handleError(X,F,K,bh)}W();bf==="timeout"&&F.abort();if(X.async){F=null}}}};try{var G=F.abort;F.abort=function(){F&&G.call(F);S("abort")}}catch(L){}X.async&&X.timeout>0&&setTimeout(function(){F&&!bb&&S("timeout")},X.timeout);try{F.send(O==="POST"||O==="PUT"||O==="DELETE"?X.data:null)}catch(N){x.handleError(X,F,null,N);W()}X.async||S();return F}},handleError:function(r,v,z,c){if(r.error){r.error.call(r.context||r,v,z,c)}if(r.global){(r.context?x(r.context):x.event).trigger("ajaxError",[v,r,c])}},active:0,httpSuccess:function(c){try{return !c.status&&location.protocol==="file:"||c.status>=200&&c.status<300||c.status===304||c.status===1223||c.status===0}catch(r){}return false},httpNotModified:function(r,v){var z=r.getResponseHeader("Last-Modified"),c=r.getResponseHeader("Etag");if(z){x.lastModified[v]=z}if(c){x.etag[v]=c}return r.status===304||r.status===0},httpData:function(r,v,z){var c=r.getResponseHeader("content-type")||"",F=v==="xml"||!v&&c.indexOf("xml")>=0;r=F?r.responseXML:r.responseText;F&&r.documentElement.nodeName==="parsererror"&&x.error("parsererror");if(z&&z.dataFilter){r=z.dataFilter(r,v)}if(typeof r==="string"){if(v==="json"||!v&&c.indexOf("json")>=0){r=x.parseJSON(r)}else{if(v==="script"||!v&&c.indexOf("javascript")>=0){x.globalEval(r)}}}return r},param:function(r,v){function z(K,J){if(x.isArray(J)){x.each(J,function(L,N){v?G(K,N):z(K+"["+(typeof N==="object"||x.isArray(N)?L:"")+"]",N)})}else{!v&&J!=null&&typeof J==="object"?x.each(J,function(L,N){z(K+"["+L+"]",N)}):G(K,J)}}function G(K,J){J=x.isFunction(J)?J():J;F[F.length]=encodeURIComponent(K)+"="+encodeURIComponent(J)}var F=[];if(v===w){v=x.ajaxSettings.traditional}if(x.isArray(r)||r.jquery){x.each(r,function(){G(this.name,this.value)})}else{for(var c in r){z(c,r[c])}}return F.join("&").replace(ai,"+")}});var g={},aj=/toggle|show|hide/,a7=/^([+-]=)?([\d+-.]+)(.*)$/,R,bd=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];x.fn.extend({show:function(r,v){if(r||r===0){return this.animate(aa("show",3),r,v)}else{r=0;for(v=this.length;r<v;r++){var z=x.data(this[r],"olddisplay");this[r].style.display=z||"";if(x.css(this[r],"display")==="none"){z=this[r].nodeName;var c;if(g[z]){c=g[z]}else{var F=x("<"+z+" />").appendTo("body");c=F.css("display");if(c==="none"){c="block"}F.remove();g[z]=c}x.data(this[r],"olddisplay",c)}}r=0;for(v=this.length;r<v;r++){this[r].style.display=x.data(this[r],"olddisplay")||""}return this}},hide:function(c,r){if(c||c===0){return this.animate(aa("hide",3),c,r)}else{c=0;for(r=this.length;c<r;c++){var v=x.data(this[c],"olddisplay");!v&&v!=="none"&&x.data(this[c],"olddisplay",x.css(this[c],"display"))}c=0;for(r=this.length;c<r;c++){this[c].style.display="none"}return this}},_toggle:x.fn.toggle,toggle:function(c,r){var v=typeof c==="boolean";if(x.isFunction(c)&&x.isFunction(r)){this._toggle.apply(this,arguments)}else{c==null||v?this.each(function(){var z=v?c:x(this).is(":hidden");x(this)[z?"show":"hide"]()}):this.animate(aa("toggle",3),c,r)}return this},fadeTo:function(c,r,v){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:r},c,v)},animate:function(r,v,z,c){var F=x.speed(v,z,c);if(x.isEmptyObject(r)){return this.each(F.complete)}return this[F.queue===false?"each":"queue"](function(){var J=x.extend({},F),K,N=this.nodeType===1&&x(this).is(":hidden"),G=this;for(K in r){var L=K.replace(d,e);if(K!==L){r[L]=r[K];delete r[K];K=L}if(r[K]==="hide"&&N||r[K]==="show"&&!N){return J.complete.call(this)}if((K==="height"||K==="width")&&this.style){J.display=x.css(this,"display");J.overflow=this.style.overflow}if(x.isArray(r[K])){(J.specialEasing=J.specialEasing||{})[K]=r[K][1];r[K]=r[K][0]}}if(J.overflow!=null){this.style.overflow="hidden"}J.curAnim=x.extend({},r);x.each(r,function(S,O){var P=new x.fx(G,J,S);if(aj.test(O)){P[O==="toggle"?N?"show":"hide":O](r)}else{var Q=a7.exec(O),T=P.cur(true)||0;if(Q){O=parseFloat(Q[2]);var V=Q[3]||"px";if(V!=="px"){G.style[S]=(O||1)+V;T=(O||1)/P.cur(true)*T;G.style[S]=T+V}if(Q[1]){O=(Q[1]==="-="?-1:1)*O+T}P.custom(T,O,V)}else{P.custom(T,O,"")}}});return true})},stop:function(c,r){var v=x.timers;c&&this.queue([]);this.each(function(){for(var z=v.length-1;z>=0;z--){if(v[z].elem===this){r&&v[z](true);v.splice(z,1)}}});r||this.dequeue();return this}});x.each({slideDown:aa("show",1),slideUp:aa("hide",1),slideToggle:aa("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(c,r){x.fn[c]=function(v,z){return this.animate(r,v,z)}});x.extend({speed:function(r,v,z){var c=r&&typeof r==="object"?r:{complete:z||!z&&v||x.isFunction(r)&&r,duration:r,easing:z&&v||v&&!x.isFunction(v)&&v};c.duration=x.fx.off?0:typeof c.duration==="number"?c.duration:x.fx.speeds[c.duration]||x.fx.speeds._default;c.old=c.complete;c.complete=function(){c.queue!==false&&x(this).dequeue();x.isFunction(c.old)&&c.old.call(this)};return c},easing:{linear:function(r,v,z,c){return z+c*r},swing:function(r,v,z,c){return(-Math.cos(r*Math.PI)/2+0.5)*c+z}},timers:[],fx:function(c,r,v){this.options=r;this.elem=c;this.prop=v;if(!r.orig){r.orig={}}}});x.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(x.fx.step[this.prop]||x.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(c){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}return(c=parseFloat(x.css(this.elem,this.prop,c)))&&c>-10000?c:parseFloat(x.curCSS(this.elem,this.prop))||0},custom:function(r,v,z){function c(G){return F.step(G)}this.startTime=U();this.start=r;this.end=v;this.unit=z||this.unit||"px";this.now=this.start;this.pos=this.state=0;var F=this;c.elem=this.elem;if(c()&&x.timers.push(c)&&!R){R=setInterval(x.fx.tick,13)}},show:function(){this.options.orig[this.prop]=x.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());x(this.elem).show()},hide:function(){this.options.orig[this.prop]=x.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(r){var v=U(),z=true;if(r||v>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var c in this.options.curAnim){if(this.options.curAnim[c]!==true){z=false}}if(z){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;r=x.data(this.elem,"olddisplay");this.elem.style.display=r?r:this.options.display;if(x.css(this.elem,"display")==="none"){this.elem.style.display="block"}}this.options.hide&&x(this.elem).hide();if(this.options.hide||this.options.show){for(var F in this.options.curAnim){x.style(this.elem,F,this.options.orig[F])}}this.options.complete.call(this.elem)}return false}else{F=v-this.startTime;this.state=F/this.options.duration;r=this.options.easing||(x.easing.swing?"swing":"linear");this.pos=x.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||r](this.state,F,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};x.extend(x.fx,{tick:function(){for(var c=x.timers,r=0;r<c.length;r++){c[r]()||c.splice(r--,1)}c.length||x.fx.stop()},stop:function(){clearInterval(R);R=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){x.style(c.elem,"opacity",c.now)},_default:function(c){if(c.elem.style&&c.elem.style[c.prop]!=null){c.elem.style[c.prop]=(c.prop==="width"||c.prop==="height"?Math.max(0,c.now):c.now)+c.unit}else{c.elem[c.prop]=c.now}}}});if(x.expr&&x.expr.filters){x.expr.filters.animated=function(c){return x.grep(x.timers,function(r){return c===r.elem}).length}}x.fn.offset="getBoundingClientRect" in u.documentElement?function(r){var v=this[0];if(r){return this.each(function(F){x.offset.setOffset(this,r,F)})}if(!v||!v.ownerDocument){return null}if(v===v.ownerDocument.body){return x.offset.bodyOffset(v)}var z=v.getBoundingClientRect(),c=v.ownerDocument;v=c.body;c=c.documentElement;return{top:z.top+(self.pageYOffset||x.support.boxModel&&c.scrollTop||v.scrollTop)-(c.clientTop||v.clientTop||0),left:z.left+(self.pageXOffset||x.support.boxModel&&c.scrollLeft||v.scrollLeft)-(c.clientLeft||v.clientLeft||0)}}:function(G){var J=this[0];if(G){return this.each(function(O){x.offset.setOffset(this,G,O)})}if(!J||!J.ownerDocument){return null}if(J===J.ownerDocument.body){return x.offset.bodyOffset(J)}x.offset.initialize();var K=J.offsetParent,N=J,L=J.ownerDocument,c,r=L.documentElement,z=L.body;N=(L=L.defaultView)?L.getComputedStyle(J,null):J.currentStyle;for(var F=J.offsetTop,v=J.offsetLeft;(J=J.parentNode)&&J!==z&&J!==r;){if(x.offset.supportsFixedPosition&&N.position==="fixed"){break}c=L?L.getComputedStyle(J,null):J.currentStyle;F-=J.scrollTop;v-=J.scrollLeft;if(J===K){F+=J.offsetTop;v+=J.offsetLeft;if(x.offset.doesNotAddBorder&&!(x.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.nodeName))){F+=parseFloat(c.borderTopWidth)||0;v+=parseFloat(c.borderLeftWidth)||0}N=K;K=J.offsetParent}if(x.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"){F+=parseFloat(c.borderTopWidth)||0;v+=parseFloat(c.borderLeftWidth)||0}N=c}if(N.position==="relative"||N.position==="static"){F+=z.offsetTop;v+=z.offsetLeft}if(x.offset.supportsFixedPosition&&N.position==="fixed"){F+=Math.max(r.scrollTop,z.scrollTop);v+=Math.max(r.scrollLeft,z.scrollLeft)}return{top:F,left:v}};x.offset={initialize:function(){var r=u.body,v=u.createElement("div"),z,G,F,c=parseFloat(x.curCSS(r,"marginTop",true))||0;x.extend(v.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});v.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>";r.insertBefore(v,r.firstChild);z=v.firstChild;G=z.firstChild;F=z.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="";z.style.overflow="hidden";z.style.position="relative";this.subtractsBorderForOverflowNotVisible=G.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=r.offsetTop!==c;r.removeChild(v);x.offset.initialize=x.noop},bodyOffset:function(c){var r=c.offsetTop,v=c.offsetLeft;x.offset.initialize();if(x.offset.doesNotIncludeMarginInBodyOffset){r+=parseFloat(x.curCSS(c,"marginTop",true))||0;v+=parseFloat(x.curCSS(c,"marginLeft",true))||0}return{top:r,left:v}},setOffset:function(v,z,F){if(/static/.test(x.curCSS(v,"position"))){v.style.position="relative"}var J=x(v),G=J.offset(),c=parseInt(x.curCSS(v,"top",true),10)||0,r=parseInt(x.curCSS(v,"left",true),10)||0;if(x.isFunction(z)){z=z.call(v,F,G)}F={top:z.top-G.top+c,left:z.left-G.left+r};"using" in z?z.using.call(v,F):J.css(F)}};x.fn.extend({position:function(){if(!this[0]){return null}var r=this[0],v=this.offsetParent(),z=this.offset(),c=/^body|html$/i.test(v[0].nodeName)?{top:0,left:0}:v.offset();z.top-=parseFloat(x.curCSS(r,"marginTop",true))||0;z.left-=parseFloat(x.curCSS(r,"marginLeft",true))||0;c.top+=parseFloat(x.curCSS(v[0],"borderTopWidth",true))||0;c.left+=parseFloat(x.curCSS(v[0],"borderLeftWidth",true))||0;return{top:z.top-c.top,left:z.left-c.left}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||u.body;c&&!/^body|html$/i.test(c.nodeName)&&x.css(c,"position")==="static";){c=c.offsetParent}return c})}});x.each(["Left","Top"],function(c,r){var v="scroll"+r;x.fn[v]=function(z){var G=this[0],F;if(!G){return null}if(z!==w){return this.each(function(){if(F=be(this)){F.scrollTo(!c?z:x(F).scrollLeft(),c?z:x(F).scrollTop())}else{this[v]=z}})}else{return(F=be(G))?"pageXOffset" in F?F[c?"pageYOffset":"pageXOffset"]:x.support.boxModel&&F.document.documentElement[v]||F.document.body[v]:G[v]}}});x.each(["Height","Width"],function(c,r){var v=r.toLowerCase();x.fn["inner"+r]=function(){return this[0]?x.css(this[0],v,false,"padding"):null};x.fn["outer"+r]=function(z){return this[0]?x.css(this[0],v,false,z?"margin":"border"):null};x.fn[v]=function(F){var z=this[0];if(!z){return F==null?null:this}if(x.isFunction(F)){return this.each(function(G){var J=x(this);J[v](F.call(this,G,J[v]()))})}return"scrollTo" in z&&z.document?z.document.compatMode==="CSS1Compat"&&z.document.documentElement["client"+r]||z.document.body["client"+r]:z.nodeType===9?Math.max(z.documentElement["client"+r],z.body["scroll"+r],z.documentElement["scroll"+r],z.body["offset"+r],z.documentElement["offset"+r]):F===w?x.css(z,v):this.css(v,typeof F==="string"?F:F+"px")}});aq.jQuery=aq.$=x})(window);(function(a){a.fn.bgIframe=a.fn.bgiframe=function(c){if(a.browser.msie&&/6.0/.test(navigator.userAgent)){c=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},c||{});var b=function(e){return e&&e.constructor==Number?e+"px":e},d='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+c.src+'"style="display:block;position:absolute;z-index:-1;'+(c.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(c.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":b(c.top))+";left:"+(c.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":b(c.left))+";width:"+(c.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":b(c.width))+";height:"+(c.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":b(c.height))+';"/>';return this.each(function(){if(a("> iframe.bgiframe",this).length==0){this.insertBefore(document.createElement(d),this.firstChild)}})}return this}})(jQuery);(function(a){a.fn.hoverIntent=function(m,n){var l={sensitivity:7,interval:100,timeout:0};l=a.extend(l,n?{over:m,out:n}:m);var j,k,h,i;var b=function(f){j=f.pageX;k=f.pageY};var e=function(f,g){g.hoverIntent_t=clearTimeout(g.hoverIntent_t);if((Math.abs(h-j)+Math.abs(i-k))<l.sensitivity){a(g).unbind("mousemove",b);g.hoverIntent_s=1;return l.over.apply(g,[f])}else{h=j;i=k;g.hoverIntent_t=setTimeout(function(){e(f,g)},l.interval)}};var c=function(f,g){g.hoverIntent_t=clearTimeout(g.hoverIntent_t);g.hoverIntent_s=0;return l.out.apply(g,[f])};var d=function(o){var q=(o.type=="mouseover"?o.fromElement:o.toElement)||o.relatedTarget;while(q&&q!=this){try{q=q.parentNode}catch(o){q=this}}if(q==this){return false}var g=jQuery.extend({},o);var f=this;if(f.hoverIntent_t){f.hoverIntent_t=clearTimeout(f.hoverIntent_t)}if(o.type=="mouseover"){h=g.pageX;i=g.pageY;a(f).bind("mousemove",b);if(f.hoverIntent_s!=1){f.hoverIntent_t=setTimeout(function(){e(g,f)},l.interval)}}else{a(f).unbind("mousemove",b);if(f.hoverIntent_s==1){f.hoverIntent_t=setTimeout(function(){c(g,f)},l.timeout)}}};return this.mouseover(d).mouseout(d)}})(jQuery);document.createElement("canvas").getContext||(function(){var l=Math,p=l.round,e=l.sin,f=l.cos,J=l.abs,K=l.sqrt,q=10,n=q/2;function t(){return this.context_||(this.context_=new R(this))}var T=Array.prototype.slice;function u(j,i){var k=T.call(arguments,2);return function(){return j.apply(i,k.concat(T.call(arguments)))}}var aa={init:function(j){if(/MSIE/.test(navigator.userAgent)&&!window.opera){var i=j||document;i.createElement("canvas");i.attachEvent("onreadystatechange",u(this.init_,this,i))}},init_:function(j){j.namespaces.g_vml_||j.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml","#default#VML");j.namespaces.g_o_||j.namespaces.add("g_o_","urn:schemas-microsoft-com:office:office","#default#VML");if(!j.styleSheets.ex_canvas_){var i=j.createStyleSheet();i.owningElement.id="ex_canvas_";i.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}g_vml_\\:*{behavior:url(#default#VML)}g_o_\\:*{behavior:url(#default#VML)}"}var k=j.getElementsByTagName("canvas"),s=0;for(;s<k.length;s++){this.initElement(k[s])}},initElement:function(j){if(!j.getContext){j.getContext=t;j.innerHTML="";j.attachEvent("onpropertychange",w);j.attachEvent("onresize",r);var i=j.attributes;if(i.width&&i.width.specified){j.style.width=i.width.nodeValue+"px"}else{j.width=j.clientWidth}if(i.height&&i.height.specified){j.style.height=i.height.nodeValue+"px"}else{j.height=j.clientHeight}}return j}};function w(j){var i=j.srcElement;switch(j.propertyName){case"width":i.style.width=i.attributes.width.nodeValue+"px";i.getContext().clearRect();break;case"height":i.style.height=i.attributes.height.nodeValue+"px";i.getContext().clearRect();break}}function r(j){var i=j.srcElement;if(i.firstChild){i.firstChild.style.width=i.clientWidth+"px";i.firstChild.style.height=i.clientHeight+"px"}}aa.init();var ab=[],b=0;for(;b<16;b++){var c=0;for(;c<16;c++){ab[b*16+c]=b.toString(16)+c.toString(16)}}function S(){return[[1,0,0],[0,1,0],[0,0,1]]}function g(k,j){var s=S(),v=0;for(;v<3;v++){var y=0;for(;y<3;y++){var i=0,A=0;for(;A<3;A++){i+=k[v][A]*j[A][y]}s[v][y]=i}}return s}function ac(j,i){i.fillStyle=j.fillStyle;i.lineCap=j.lineCap;i.lineJoin=j.lineJoin;i.lineWidth=j.lineWidth;i.miterLimit=j.miterLimit;i.shadowBlur=j.shadowBlur;i.shadowColor=j.shadowColor;i.shadowOffsetX=j.shadowOffsetX;i.shadowOffsetY=j.shadowOffsetY;i.strokeStyle=j.strokeStyle;i.globalAlpha=j.globalAlpha;i.arcScaleX_=j.arcScaleX_;i.arcScaleY_=j.arcScaleY_;i.lineScale_=j.lineScale_}function x(k){var j,s=1;k=String(k);if(k.substring(0,3)=="rgb"){var v=k.indexOf("(",3),y=k.indexOf(")",v+1),i=k.substring(v+1,y).split(",");j="#";var A=0;for(;A<3;A++){j+=ab[Number(i[A])]}if(i.length==4&&k.substr(3,1)=="a"){s=i[3]}}else{j=k}return{color:j,alpha:s}}function m(i){switch(i){case"butt":return"flat";case"round":return"round";case"square":default:return"square"}}function R(j){this.m_=S();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.fillStyle=this.strokeStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=q*1;this.globalAlpha=1;this.canvas=j;var i=j.ownerDocument.createElement("div");i.style.width=j.clientWidth+"px";i.style.height=j.clientHeight+"px";i.style.overflow="hidden";i.style.position="absolute";j.appendChild(i);this.element_=i;this.lineScale_=this.arcScaleY_=this.arcScaleX_=1}var o=R.prototype;o.clearRect=function(){this.element_.innerHTML=""};o.beginPath=function(){this.currentPath_=[]};o.moveTo=function(j,i){var k=this.getCoords_(j,i);this.currentPath_.push({type:"moveTo",x:k.x,y:k.y});this.currentX_=k.x;this.currentY_=k.y};o.lineTo=function(j,i){var k=this.getCoords_(j,i);this.currentPath_.push({type:"lineTo",x:k.x,y:k.y});this.currentX_=k.x;this.currentY_=k.y};o.bezierCurveTo=function(s,k,v,y,B,i){var C=this.getCoords_(B,i),j=this.getCoords_(s,k),A=this.getCoords_(v,y);z(this,j,A,C)};function z(j,i,k,s){j.currentPath_.push({type:"bezierCurveTo",cp1x:i.x,cp1y:i.y,cp2x:k.x,cp2y:k.y,x:s.x,y:s.y});j.currentX_=s.x;j.currentY_=s.y}o.quadraticCurveTo=function(k,j,s,v){var y=this.getCoords_(k,j),i=this.getCoords_(s,v),A={x:this.currentX_+0.666666666666667*(y.x-this.currentX_),y:this.currentY_+0.666666666666667*(y.y-this.currentY_)};z(this,A,{x:A.x+(i.x-this.currentX_)/3,y:A.y+(i.y-this.currentY_)/3},i)};o.arc=function(C,B,D,F,H,k){D*=q;var I=k?"at":"wa",s=C+f(F)*D-n,G=B+e(F)*D-n,v=C+f(H)*D-n,j=B+e(H)*D-n;if(s==v&&!k){s+=0.125}var y=this.getCoords_(C,B),A=this.getCoords_(s,G),i=this.getCoords_(v,j);this.currentPath_.push({type:I,x:y.x,y:y.y,radius:D,xStart:A.x,yStart:A.y,xEnd:i.x,yEnd:i.y})};o.rect=function(j,i,k,s){this.moveTo(j,i);this.lineTo(j+k,i);this.lineTo(j+k,i+s);this.lineTo(j,i+s);this.closePath()};o.strokeRect=function(k,j,s,v){var i=this.currentPath_;this.beginPath();this.moveTo(k,j);this.lineTo(k+s,j);this.lineTo(k+s,j+v);this.lineTo(k,j+v);this.closePath();this.stroke();this.currentPath_=i};o.fillRect=function(k,j,s,v){var i=this.currentPath_;this.beginPath();this.moveTo(k,j);this.lineTo(k+s,j);this.lineTo(k+s,j+v);this.lineTo(k,j+v);this.closePath();this.fill();this.currentPath_=i};o.createLinearGradient=function(k,j,s,v){var i=new d("gradient");i.x0_=k;i.y0_=j;i.x1_=s;i.y1_=v;return i};o.createRadialGradient=function(k,j,s,v,y,i){var A=new d("gradientradial");A.x0_=k;A.y0_=j;A.r0_=s;A.x1_=v;A.y1_=y;A.r1_=i;return A};o.drawImage=function(I){var H,L,M,O,B,P,C,N,D=I.runtimeStyle.width,v=I.runtimeStyle.height;I.runtimeStyle.width="auto";I.runtimeStyle.height="auto";var F=I.width,G=I.height;I.runtimeStyle.width=D;I.runtimeStyle.height=v;if(arguments.length==3){H=arguments[1];L=arguments[2];B=P=0;C=M=F;N=O=G}else{if(arguments.length==5){H=arguments[1];L=arguments[2];M=arguments[3];O=arguments[4];B=P=0;C=F;N=G}else{if(arguments.length==9){B=arguments[1];P=arguments[2];C=arguments[3];N=arguments[4];H=arguments[5];L=arguments[6];M=arguments[7];O=arguments[8]}else{throw Error("Invalid number of arguments")}}}var s=this.getCoords_(H,L),y=[];y.push(" <g_vml_:group",' coordsize="',q*10,",",q*10,'"',' coordorigin="0,0"',' style="width:',10,"px;height:",10,"px;position:absolute;");if(this.m_[0][0]!=1||this.m_[0][1]){var Q=[];Q.push("M11=",this.m_[0][0],",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",p(s.x/q),",","Dy=",p(s.y/q),"");var k=s,j=this.getCoords_(H+M,L),A=this.getCoords_(H,L+O),i=this.getCoords_(H+M,L+O);k.x=l.max(k.x,j.x,A.x,i.x);k.y=l.max(k.y,j.y,A.y,i.y);y.push("padding:0 ",p(k.x/q),"px ",p(k.y/q),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",Q.join(""),", sizingmethod='clip');")}else{y.push("top:",p(s.y/q),"px;left:",p(s.x/q),"px;")}y.push(' ">','<g_vml_:image src="',I.src,'"',' style="width:',q*M,"px;"," height:",q*O,'px;"',' cropleft="',B/F,'"',' croptop="',P/G,'"',' cropright="',(F-B-C)/F,'"',' cropbottom="',(G-P-N)/G,'"'," />","</g_vml_:group>");this.element_.insertAdjacentHTML("BeforeEnd",y.join(""))};o.stroke=function(O){var N=[],P=x(O?this.fillStyle:this.strokeStyle),Q=P.color,V=P.alpha*this.globalAlpha;N.push("<g_vml_:shape",' filled="',!!O,'"',' style="position:absolute;width:',10,"px;height:",10,'px;"',' coordorigin="0 0" coordsize="',q*10," ",q*10,'"',' stroked="',!O,'"',' path="');var Y={x:null,y:null},W={x:null,y:null},H=0;for(;H<this.currentPath_.length;H++){var U=this.currentPath_[H];switch(U.type){case"moveTo":N.push(" m ",p(U.x),",",p(U.y));break;case"lineTo":N.push(" l ",p(U.x),",",p(U.y));break;case"close":N.push(" x ");U=null;break;case"bezierCurveTo":N.push(" c ",p(U.cp1x),",",p(U.cp1y),",",p(U.cp2x),",",p(U.cp2y),",",p(U.x),",",p(U.y));break;case"at":case"wa":N.push(" ",U.type," ",p(U.x-this.arcScaleX_*U.radius),",",p(U.y-this.arcScaleY_*U.radius)," ",p(U.x+this.arcScaleX_*U.radius),",",p(U.y+this.arcScaleY_*U.radius)," ",p(U.xStart),",",p(U.yStart)," ",p(U.xEnd),",",p(U.yEnd));break}if(U){if(Y.x==null||U.x<Y.x){Y.x=U.x}if(W.x==null||U.x>W.x){W.x=U.x}if(Y.y==null||U.y<Y.y){Y.y=U.y}if(W.y==null||U.y>W.y){W.y=U.y}}}N.push(' ">');if(O){if(typeof this.fillStyle=="object"){var I=this.fillStyle,y=0,L={x:0,y:0},M=0,v=1;if(I.type_=="gradient"){var A=I.x1_/this.arcScaleX_,i=I.y1_/this.arcScaleY_,s=this.getCoords_(I.x0_/this.arcScaleX_,I.y0_/this.arcScaleY_),k=this.getCoords_(A,i);y=Math.atan2(k.x-s.x,k.y-s.y)*180/Math.PI;if(y<0){y+=360}if(y<1e-06){y=0}}else{var s=this.getCoords_(I.x0_,I.y0_),X=W.x-Y.x,j=W.y-Y.y;L={x:(s.x-Y.x)/X,y:(s.y-Y.y)/j};X/=this.arcScaleX_*q;j/=this.arcScaleY_*q;var Z=l.max(X,j);M=2*I.r0_/Z;v=2*I.r1_/Z-M}var B=I.colors_;B.sort(function(ah,ai){return ah.offset-ai.offset});var af=B.length,C=B[0].color,D=B[af-1].color,F=B[0].alpha*this.globalAlpha,G=B[af-1].alpha*this.globalAlpha,ad=[],H=0;for(;H<af;H++){var ae=B[H];ad.push(ae.offset*v+M+" "+ae.color)}N.push('<g_vml_:fill type="',I.type_,'"',' method="none" focus="100%"',' color="',C,'"',' color2="',D,'"',' colors="',ad.join(","),'"',' opacity="',G,'"',' g_o_:opacity2="',F,'"',' angle="',y,'"',' focusposition="',L.x,",",L.y,'" />')}else{N.push('<g_vml_:fill color="',Q,'" opacity="',V,'" />')}}else{var ag=this.lineScale_*this.lineWidth;if(ag<1){V*=ag}N.push("<g_vml_:stroke",' opacity="',V,'"',' joinstyle="',this.lineJoin,'"',' miterlimit="',this.miterLimit,'"',' endcap="',m(this.lineCap),'"',' weight="',ag,'px"',' color="',Q,'" />')}N.push("</g_vml_:shape>");this.element_.insertAdjacentHTML("beforeEnd",N.join(""))};o.fill=function(){this.stroke(true)};o.closePath=function(){this.currentPath_.push({type:"close"})};o.getCoords_=function(j,i){var k=this.m_;return{x:q*(j*k[0][0]+i*k[1][0]+k[2][0])-n,y:q*(j*k[0][1]+i*k[1][1]+k[2][1])-n}};o.save=function(){var i={};ac(this,i);this.aStack_.push(i);this.mStack_.push(this.m_);this.m_=g(S(),this.m_)};o.restore=function(){ac(this.aStack_.pop(),this);this.m_=this.mStack_.pop()};function h(j){var i=0;for(;i<3;i++){var k=0;for(;k<2;k++){if(!isFinite(j[i][k])||isNaN(j[i][k])){return false}}}return true}function a(j,i,k){if(!!h(i)){j.m_=i;if(k){j.lineScale_=K(J(i[0][0]*i[1][1]-i[0][1]*i[1][0]))}}}o.translate=function(j,i){a(this,g([[1,0,0],[0,1,0],[j,i,1]],this.m_),false)};o.rotate=function(j){var i=f(j),k=e(j);a(this,g([[i,k,0],[-k,i,0],[0,0,1]],this.m_),false)};o.scale=function(j,i){this.arcScaleX_*=j;this.arcScaleY_*=i;a(this,g([[j,0,0],[0,i,0],[0,0,1]],this.m_),true)};o.transform=function(k,j,s,v,y,i){a(this,g([[k,j,0],[s,v,0],[y,i,1]],this.m_),true)};o.setTransform=function(k,j,s,v,y,i){a(this,[[k,j,0],[s,v,0],[y,i,1]],true)};o.clip=function(){};o.arcTo=function(){};o.createPattern=function(){return new E};function d(i){this.type_=i;this.r1_=this.y1_=this.x1_=this.r0_=this.y0_=this.x0_=0;this.colors_=[]}d.prototype.addColorStop=function(j,i){i=x(i);this.colors_.push({offset:j,color:i.color,alpha:i.alpha})};function E(){}G_vmlCanvasManager=aa;CanvasRenderingContext2D=R;CanvasGradient=d;CanvasPattern=E})();jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(j,b,d,i,c){return jQuery.easing[jQuery.easing.def](j,b,d,i,c)},easeInQuad:function(j,b,d,i,c){return i*(b/=c)*b+d},easeOutQuad:function(j,b,d,i,c){return -i*(b/=c)*(b-2)+d},easeInOutQuad:function(j,b,d,i,c){if((b/=c/2)<1){return i/2*b*b+d}return -i/2*((--b)*(b-2)-1)+d},easeInCubic:function(j,b,d,i,c){return i*(b/=c)*b*b+d},easeOutCubic:function(j,b,d,i,c){return i*((b=b/c-1)*b*b+1)+d},easeInOutCubic:function(j,b,d,i,c){if((b/=c/2)<1){return i/2*b*b*b+d}return i/2*((b-=2)*b*b+2)+d},easeInQuart:function(j,b,d,i,c){return i*(b/=c)*b*b*b+d},easeOutQuart:function(j,b,d,i,c){return -i*((b=b/c-1)*b*b*b-1)+d},easeInOutQuart:function(j,b,d,i,c){if((b/=c/2)<1){return i/2*b*b*b*b+d}return -i/2*((b-=2)*b*b*b-2)+d},easeInQuint:function(j,b,d,i,c){return i*(b/=c)*b*b*b*b+d},easeOutQuint:function(j,b,d,i,c){return i*((b=b/c-1)*b*b*b*b+1)+d},easeInOutQuint:function(j,b,d,i,c){if((b/=c/2)<1){return i/2*b*b*b*b*b+d}return i/2*((b-=2)*b*b*b*b+2)+d},easeInSine:function(j,b,d,i,c){return -i*Math.cos(b/c*(Math.PI/2))+i+d},easeOutSine:function(j,b,d,i,c){return i*Math.sin(b/c*(Math.PI/2))+d},easeInOutSine:function(j,b,d,i,c){return -i/2*(Math.cos(Math.PI*b/c)-1)+d},easeInExpo:function(j,b,d,i,c){return(b==0)?d:i*Math.pow(2,10*(b/c-1))+d},easeOutExpo:function(j,b,d,i,c){return(b==c)?d+i:i*(-Math.pow(2,-10*b/c)+1)+d},easeInOutExpo:function(j,b,d,i,c){if(b==0){return d}if(b==c){return d+i}if((b/=c/2)<1){return i/2*Math.pow(2,10*(b-1))+d}return i/2*(-Math.pow(2,-10*--b)+2)+d},easeInCirc:function(j,b,d,i,c){return -i*(Math.sqrt(1-(b/=c)*b)-1)+d},easeOutCirc:function(j,b,d,i,c){return i*Math.sqrt(1-(b=b/c-1)*b)+d},easeInOutCirc:function(j,b,d,i,c){if((b/=c/2)<1){return -i/2*(Math.sqrt(1-b*b)-1)+d}return i/2*(Math.sqrt(1-(b-=2)*b)+1)+d},easeInElastic:function(o,a,n,m,d){var b=1.70158;var c=0;var p=m;if(a==0){return n}if((a/=d)==1){return n+m}if(!c){c=d*0.3}if(p<Math.abs(m)){p=m;var b=c/4}else{var b=c/(2*Math.PI)*Math.asin(m/p)}return -(p*Math.pow(2,10*(a-=1))*Math.sin((a*d-b)*(2*Math.PI)/c))+n},easeOutElastic:function(o,a,n,m,d){var b=1.70158;var c=0;var p=m;if(a==0){return n}if((a/=d)==1){return n+m}if(!c){c=d*0.3}if(p<Math.abs(m)){p=m;var b=c/4}else{var b=c/(2*Math.PI)*Math.asin(m/p)}return p*Math.pow(2,-10*a)*Math.sin((a*d-b)*(2*Math.PI)/c)+m+n},easeInOutElastic:function(o,a,n,m,d){var b=1.70158;var c=0;var p=m;if(a==0){return n}if((a/=d/2)==2){return n+m}if(!c){c=d*(0.3*1.5)}if(p<Math.abs(m)){p=m;var b=c/4}else{var b=c/(2*Math.PI)*Math.asin(m/p)}if(a<1){return -0.5*(p*Math.pow(2,10*(a-=1))*Math.sin((a*d-b)*(2*Math.PI)/c))+n}return p*Math.pow(2,-10*(a-=1))*Math.sin((a*d-b)*(2*Math.PI)/c)*0.5+m+n},easeInBack:function(j,k,d,c,b,l){if(l==undefined){l=1.70158}return c*(k/=b)*k*((l+1)*k-l)+d},easeOutBack:function(j,k,d,c,b,l){if(l==undefined){l=1.70158}return c*((k=k/b-1)*k*((l+1)*k+l)+1)+d},easeInOutBack:function(j,k,d,c,b,l){if(l==undefined){l=1.70158}if((k/=b/2)<1){return c/2*(k*k*(((l*=(1.525))+1)*k-l))+d}return c/2*((k-=2)*k*(((l*=(1.525))+1)*k+l)+2)+d},easeInBounce:function(j,b,d,i,c){return i-jQuery.easing.easeOutBounce(j,c-b,0,i,c)+d},easeOutBounce:function(j,b,d,i,c){if((b/=c)<(1/2.75)){return i*(7.5625*b*b)+d}else{if(b<(2/2.75)){return i*(7.5625*(b-=(1.5/2.75))*b+0.75)+d}else{if(b<(2.5/2.75)){return i*(7.5625*(b-=(2.25/2.75))*b+0.9375)+d}else{return i*(7.5625*(b-=(2.625/2.75))*b+0.984375)+d}}}},easeInOutBounce:function(j,b,d,i,c){if(b<c/2){return jQuery.easing.easeInBounce(j,b*2,0,i,c)*0.5+d}return jQuery.easing.easeOutBounce(j,b*2-c,0,i,c)*0.5+i*0.5+d}});(function(e){var b=e.fn.height,c=e.fn.width;e.fn.extend({height:function(){if(this[0]==window){return self.innerHeight||e.boxModel&&document.documentElement.clientHeight||document.body.clientHeight}if(this[0]==document){return Math.max(document.body.scrollHeight,document.body.offsetHeight)}return b.apply(this,arguments)},width:function(){if(this[0]==window){return self.innerWidth||e.boxModel&&document.documentElement.clientWidth||document.body.clientWidth}if(this[0]==document){return Math.max(document.body.scrollWidth,document.body.offsetWidth)}return c.apply(this,arguments)},innerHeight:function(){return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight-a(this,"borderTopWidth")-a(this,"borderBottomWidth"):this.height()+a(this,"paddingTop")+a(this,"paddingBottom")},innerWidth:function(){return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth-a(this,"borderLeftWidth")-a(this,"borderRightWidth"):this.width()+a(this,"paddingLeft")+a(this,"paddingRight")},outerHeight:function(){return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight:this.height()+a(this,"borderTopWidth")+a(this,"borderBottomWidth")+a(this,"paddingTop")+a(this,"paddingBottom")},outerWidth:function(){return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth:this.width()+a(this,"borderLeftWidth")+a(this,"borderRightWidth")+a(this,"paddingLeft")+a(this,"paddingRight")},scrollLeft:function(f){if(f!=undefined){return this.each(function(){if(this==window||this==document){window.scrollTo(f,e(window).scrollTop())}else{this.scrollLeft=f}})}if(this[0]==window||this[0]==document){return self.pageXOffset||e.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft}return this[0].scrollLeft},scrollTop:function(f){if(f!=undefined){return this.each(function(){if(this==window||this==document){window.scrollTo(e(window).scrollLeft(),f)}else{this.scrollTop=f}})}if(this[0]==window||this[0]==document){return self.pageYOffset||e.boxModel&&document.documentElement.scrollTop||document.body.scrollTop}return this[0].scrollTop},position:function(h,f){var k=this[0],m=k.parentNode,l=k.offsetParent,h=e.extend({margin:false,border:false,padding:false,scroll:false},h||{}),g=k.offsetLeft,i=k.offsetTop,n=k.scrollLeft,j=k.scrollTop;if(e.browser.mozilla||e.browser.msie){g+=a(k,"borderLeftWidth");i+=a(k,"borderTopWidth")}if(e.browser.mozilla){do{if(e.browser.mozilla&&m!=k&&e.css(m,"overflow")!="visible"){g+=a(m,"borderLeftWidth");i+=a(m,"borderTopWidth")}if(m==l){break}}while((m=m.parentNode)&&(m.tagName.toLowerCase()!="body"||m.tagName.toLowerCase()!="html"))}var o=d(k,h,g,i,n,j);if(f){e.extend(f,o);return this}else{return o}},offset:function(r,j){var t=0,h=0,m=0,n=0,k=this[0],l=this[0],w,p,o=e.css(k,"position"),g=e.browser.mozilla,v=e.browser.msie,f=e.browser.safari,i=e.browser.opera,s=false,u=false,r=e.extend({margin:true,border:false,padding:false,scroll:true,lite:false},r||{});if(r.lite){return this.offsetLite(r,j)}if(k.tagName.toLowerCase()=="body"){t=k.offsetLeft;h=k.offsetTop;if(g){t+=a(k,"marginLeft")+(a(k,"borderLeftWidth")*2);h+=a(k,"marginTop")+(a(k,"borderTopWidth")*2)}else{if(i){t+=a(k,"marginLeft");h+=a(k,"marginTop")}else{if(v&&jQuery.boxModel){t+=a(k,"borderLeftWidth");h+=a(k,"borderTopWidth")}}}}else{do{p=e.css(l,"position");t+=l.offsetLeft;h+=l.offsetTop;if(g||v){t+=a(l,"borderLeftWidth");h+=a(l,"borderTopWidth");if(g&&p=="absolute"){s=true}if(v&&p=="relative"){u=true}}w=l.offsetParent;if(r.scroll||g){do{if(r.scroll){m+=l.scrollLeft;n+=l.scrollTop}if(g&&l!=k&&e.css(l,"overflow")!="visible"){t+=a(l,"borderLeftWidth");h+=a(l,"borderTopWidth")}l=l.parentNode}while(l!=w)}l=w;if(l.tagName.toLowerCase()=="body"||l.tagName.toLowerCase()=="html"){if((f||(v&&e.boxModel))&&o!="absolute"&&o!="fixed"){t+=a(l,"marginLeft");h+=a(l,"marginTop")}if((g&&!s&&o!="fixed")||(v&&o=="static"&&!u)){t+=a(l,"borderLeftWidth");h+=a(l,"borderTopWidth")}break}}while(l)}var q=d(k,r,t,h,m,n);if(j){e.extend(j,q);return this}else{return q}},offsetLite:function(n,f){var g=0,h=0,k=0,i=0,l=this[0],m,n=e.extend({margin:true,border:false,padding:false,scroll:true},n||{});do{g+=l.offsetLeft;h+=l.offsetTop;m=l.offsetParent;if(n.scroll){do{k+=l.scrollLeft;i+=l.scrollTop;l=l.parentNode}while(l!=m)}l=m}while(l&&l.tagName.toLowerCase()!="body"&&l.tagName.toLowerCase()!="html");var j=d(this[0],n,g,h,k,i);if(f){e.extend(f,j);return this}else{return j}}});var a=function(g,f){return parseInt(e.css(g.jquery?g[0]:g,f))||0};var d=function(i,k,f,g,j,h){if(!k.margin){f-=a(i,"marginLeft");g-=a(i,"marginTop")}if(k.border&&(e.browser.safari||e.browser.opera)){f+=a(i,"borderLeftWidth");g+=a(i,"borderTopWidth")}else{if(!k.border&&!(e.browser.safari||e.browser.opera)){f-=a(i,"borderLeftWidth");g-=a(i,"borderTopWidth")}}if(k.padding){f+=a(i,"paddingLeft");g+=a(i,"paddingTop")}if(k.scroll){j-=i.scrollLeft;h-=i.scrollTop}return k.scroll?{top:g-h,left:f-j,scrollTop:h,scrollLeft:j}:{top:g,left:f}}})(jQuery);Array.prototype.contains=function(a){for(var b=0;b<this.length;b++){if(this[b]==a){return true}}return false};var ac_existingIds=new Array();(function(a){a.fn.extend({autocomplete:function(c,f){var d=a(this).attr("mode");switch(d){case"0":c="/completion/tagvertical.aspx";d=a.Autocompleter.Mode.Tag;break;case"1":c="/completion/instrumentvertical2.aspx";d=a.Autocompleter.Mode.Instrument;break;case"2":c="/completion/uservertical.aspx";d=a.Autocompleter.Mode.Users;break;case"3":c="/completion/facetvertical.aspx";d=a.Autocompleter.Mode.Multiple;break;case"4":c="/completion/instrumentvertical2.aspx";d=a.Autocompleter.Mode.ExtendedInstrument;break;case"5":c="/completion/instrumentvertical2.aspx";d=a.Autocompleter.Mode.ExtendedInstrumentWatchList;break;case"6":c=forexCompletion;d=a.Autocompleter.Mode.Forex;break}var e=typeof c=="string";f=a.extend({},a.Autocompleter.defaults,{url:e?c:null,data:e?null:c,delay:e?a.Autocompleter.defaults.delay:10,max:f&&!f.scroll?10:150},f);var b=a(this).attr("extracallbackparameter");if(b!=null&&b!=""){f.extraCallbackParameter=b}f.mode=d;f.highlight=f.highlight||function(g){return g};f.formatMatch=f.formatMatch||f.formatItem;return this.each(function(){if((!f.isAsync&&!ac_existingIds.contains(this.id))||(!ac_existingIds.contains(this.id)&&f.isAsync)){ac_existingIds.push(this.id);new a.Autocompleter(this,f)}})},result:function(b){return this.bind("result",b)},search:function(b){return this.trigger("search",[b])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(b){return this.trigger("setOptions",[b])},unautocomplete:function(){return this.trigger("unautocomplete")}});a.Autocompleter=function(v,t){var u={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8};var n=a(v).attr("autocomplete","off").addClass(t.inputClass);var q;var k="";var b=a.Autocompleter.Cache(t);var o=0;var g;var p={mouseDownOnSelect:false};var s=a.Autocompleter.Select(t,v,m,p);var l;a.browser.opera&&a(v.form).bind("submit.autocomplete",function(){if(l){l=false;return false}});n.bind((a.browser.opera?"keypress":"keydown")+".autocomplete",function(y){g=y.keyCode;switch(y.keyCode){case u.UP:y.preventDefault();if(s.visible()){s.prev()}else{f(0,true)}break;case u.DOWN:y.preventDefault();if(s.visible()){s.next()}else{f(0,true)}break;case u.PAGEUP:y.preventDefault();if(s.visible()){s.pageUp()}else{f(0,true)}break;case u.PAGEDOWN:y.preventDefault();if(s.visible()){s.pageDown()}else{f(0,true)}break;case t.multiple&&a.trim(t.multipleSeparator)==","&&u.COMMA:case u.TAB:case u.RETURN:if(m()){y.preventDefault();l=true;return false}break;case u.ESC:s.hide();break;default:clearTimeout(q);q=setTimeout(f,t.delay);break}}).focus(function(){o++}).blur(function(){o=0;if(!p.mouseDownOnSelect){e()}}).click(function(){if(o++>1&&!s.visible()){f(0,true)}}).bind("search",function(){var y=(arguments.length>1)?arguments[1]:null;function z(A,B){var C;if(B&&B.length){for(var D=0;D<B.length;D++){if(B[D].result.toLowerCase()==A.toLowerCase()){C=B[D];break}}}if(typeof y=="function"){y(C)}else{n.trigger("result",C&&[C.data,C.value])}}a.each(i(n.val()),function(A,B){r(B,z,z)})}).bind("flushCache",function(){b.flush()}).bind("setOptions",function(){a.extend(t,arguments[1]);if("data" in arguments[1]){b.populate()}}).bind("unautocomplete",function(){s.unbind();n.unbind();a(v.form).unbind(".autocomplete")});function m(){var z=s.selected();if(!z){return false}var A=z.result;k=A;if(t.multiple){var y=i(n.val());if(y.length>1){A=y.slice(0,y.length-1).join(t.multipleSeparator)+t.multipleSeparator+A}A+=t.multipleSeparator}n.val(A);w();if(t.extraCallbackParameter!=""){n.trigger("result",[z.data,z.value,t.extraCallbackParameter])}else{n.trigger("result",[z.data,z.value])}return true}function f(y,A){if(g==u.DEL){s.hide();return}var z=n.val();if(!A&&z==k){return}k=z;z=d(z);if(typeof(z)!="undefined"&&z.length>=t.minChars){n.addClass(t.loadingClass);if(!t.matchCase){z=z.toLowerCase()}r(z,j,w)}else{h();s.hide()}}function i(y){if(!y){return[""]}var z=y.split(t.multipleSeparator);var A=[];a.each(z,function(B,C){if(a.trim(C)){A[B]=a.trim(C)}});return A}function d(z){if(!t.multiple){return z}var y=i(z);return y[y.length-1]}function x(z,y){if(t.autoFill&&(d(n.val()).toLowerCase()==z.toLowerCase())&&g!=u.BACKSPACE){n.val(n.val()+value.substring(d(k).length));a.Autocompleter.Selection(v,k.length,k.length+value.length)}}function e(){clearTimeout(q);q=setTimeout(w,200)}function w(){var y=s.visible();s.hide();clearTimeout(q);h();if(t.mustMatch){n.search(function(z){if(!z){if(t.multiple){var A=i(n.val()).slice(0,-1);n.val(A.join(t.multipleSeparator)+(A.length?t.multipleSeparator:""))}else{n.val("")}}})}}function j(z,y){if(y&&y.length&&o){h();s.display(y,z);x(z,y);s.show()}else{w()}}function r(C,D,F){if(!t.matchCase){C=C.toLowerCase()}var y=b.load(C);if(y&&y.length){D(C,y)}else{if((typeof t.url=="string")&&(t.url.length>0)){var E={timestamp:+new Date()};a.each(t.extraParams,function(G,H){E[G]=typeof H=="function"?H():H});var B=a(v).offset();var A=B.left-20;var z=B.top;a('<img id="ajaxLoaderImage" src="http://i.euroinvestor.com/ajax-loader-transparent.gif">').css({marginTop:"2px",position:"absolute",top:z,left:A}).appendTo(document.body);a.ajax({mode:"abort",port:"autocomplete"+v.name,dataType:t.dataType,url:t.url,data:a.extend({q:d(C),limit:t.max},E),success:function(G){var H=t.parse&&t.parse(G)||c(G);b.add(C,H);D(C,H)},complete:function(G,H){a("#ajaxLoaderImage").each(function(){a(this).remove()})}})}else{s.emptyList();F(C)}}}function c(z){var B=[];var C=z.split("\n");for(var A=0;A<C.length;A++){var y=a.trim(C[A]);if(y){y=y.split("|");B[B.length]={mode:t.mode,data:y,value:y[0],result:t.formatResult&&t.formatResult(t.mode,y,y[0])||y[0]}}}return B}function h(){n.removeClass(t.loadingClass)}};a.Autocompleter.Mode={Tag:0,Instrument:1,Users:2,Multiple:3,ExtendedInstrument:4,ExtendedInstrumentWatchList:5,Forex:6};a.Autocompleter.defaults={mode:a.Autocompleter.Mode.Instrument,inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:10,isAsync:false,max:100,mustMatch:false,extraParams:{},extraCallbackParameter:"",selectFirst:true,formatItem:function(b){return b[0]},formatMatch:null,formatHeader:"",autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(c,b){return c.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:true,scrollHeight:180,rightAlignDropDown:false,additionalDropdownOffset:0};a.Autocompleter.Cache=function(c){var b={};var g=0;function d(k,l){if(!c.matchCase){k=k.toLowerCase()}var j=k.indexOf(l);if(j==-1){return false}return j==0||c.matchContains}function f(j,i){if(g>c.cacheLength){h()}if(!b[j]){g++}b[j]=i}function e(){if(!c.data){return false}var o={},p=0;if(!c.url){c.cacheLength=1}o[""]=[];for(var k=0,n=c.data.length;k<n;k++){var l=c.data[k];l=(typeof l=="string")?[l]:l;var j=c.formatMatch(c.mode,l,k+1,c.data.length);if(j===false){continue}var m=j.charAt(0).toLowerCase();if(!o[m]){o[m]=[]}var q={mode:c.mode,value:j,data:l,result:c.formatResult&&c.formatResult(c.mode,l)||j};o[m].push(q);if(p++<c.max){o[""].push(q)}}a.each(o,function(r,s){c.cacheLength++;f(r,s)})}setTimeout(e,25);function h(){b={};g=0}return{flush:h,add:f,populate:e,load:function(j){if(!c.cacheLength||!g){return null}if(!c.url&&c.matchContains){var o=[];for(var m in b){if(m.length>0){var n=b[m];a.each(n,function(k,p){if(d(p.value,j)){o.push(p)}})}}return o}else{if(b[j]){return b[j]}else{if(c.matchSubset){for(var l=j.length-1;l>=c.minChars;l--){var n=b[j.substr(0,l)];if(n){var o=[];a.each(n,function(k,p){if(d(p.result,j)){o[o.length]=p}});return o}}}}}return null}}};a.Autocompleter.Select=function(r,s,q,n){var f={ACTIVE:"ac_over"};var k,d=-1,b,i="",o=true,g,m,p,h;function l(){if(!o){return}h=formatHeader(r.mode);g=a("<div/>").attr("id","divAutoCompleterResults").hide().addClass(r.resultsClass).css("position","absolute").css("z-index","200000001").append(h).appendTo(document.body);p=a("<ul/>").appendTo(g).mouseover(function(v){if(t(v).nodeName&&t(v).nodeName.toUpperCase()=="LI"){d=a("li",p).removeClass(f.ACTIVE).index(t(v));a(t(v)).addClass(f.ACTIVE)}}).click(function(v){a(t(v)).addClass(f.ACTIVE);q();return false}).mousedown(function(){n.mouseDownOnSelect=true}).mouseup(function(){n.mouseDownOnSelect=false});if(r.width>0){g.css("width",r.width)}o=false}function t(w){var v=w.target;while(v&&v.tagName!="LI"){v=v.parentNode}if(!v){return[]}return v}function e(w){k.slice(d,d+1).removeClass(f.ACTIVE);c(w);var v=k.slice(d,d+1).addClass(f.ACTIVE);if(r.scroll){var x=0;k.slice(0,d).each(function(){x+=this.offsetHeight});if((x+v[0].offsetHeight-p.scrollTop())>p[0].clientHeight){p.scrollTop(x+v[0].offsetHeight-p.innerHeight())}else{if(x<p.scrollTop()){p.scrollTop(x)}}}}function c(v){d+=v;if(d<0){d=k.size()-1}else{if(d>=k.size()){d=0}}}function u(v){return r.max&&r.max<v?r.max:v}function j(){p.empty();var y=u(b.length);for(var v=0;v<y;v++){if(!b[v]){continue}var w=r.formatItem(b[v].mode,b[v].data,v+1,y,b[v].value,i);if(w===false){continue}var x=a("<li/>").html(r.highlight(w,i)).addClass(v%2==0?"ac_even":"ac_odd").appendTo(p)[0];a.data(x,"ac_data",b[v])}k=p.find("li");if(r.selectFirst){k.slice(0,1).addClass(f.ACTIVE);d=0}if(a.fn.bgiframe){p.bgiframe()}}return{display:function(v,w){l();b=v;i=w;j()},next:function(){e(1)},prev:function(){e(-1)},pageUp:function(){if(d!=0&&d-8<0){e(-d)}else{e(-8)}},pageDown:function(){if(d!=k.size()-1&&d+8>k.size()){e(k.size()-1-d)}else{e(8)}},hide:function(){g&&g.slideUp("normal");k&&k.removeClass(f.ACTIVE);d=-1;a("#ajaxLoaderImage").each(function(){a(this).remove()})},visible:function(){return g&&g.is(":visible")},current:function(){return this.visible()&&(k.filter("."+f.ACTIVE)[0]||r.selectFirst&&k[0])},show:function(){var x=a(s).offset();g.css({width:typeof r.width=="string"||r.width>0?r.width:a(s).width(),top:x.top+s.offsetHeight,left:(r.rightAlignDropDown=="true"?x.left-(g.width()-a(s).outerWidth()):x.left)+r.additionalDropdownOffset}).slideDown("normal");a("#ajaxLoaderImage").each(function(){a(this).remove()});if(r.scroll){p.scrollTop(0);p.css({maxHeight:r.scrollHeight,overflow:"auto"});if(a.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var v=0;k.each(function(){v+=this.offsetHeight});var w=v>r.scrollHeight;p.css("height",w?r.scrollHeight:v);if(!w){k.width(p.width()-parseInt(k.css("padding-left"))-parseInt(k.css("padding-right")))}}}},selected:function(){var v=k&&k.filter("."+f.ACTIVE).removeClass(f.ACTIVE);return v&&v.length&&a.data(v[0],"ac_data")},emptyList:function(){p&&p.empty()},unbind:function(){g&&g.remove()}}};a.Autocompleter.Selection=function(c,e,b){if(c.createTextRange){var d=c.createTextRange();d.collapse(true);d.moveStart("character",e);d.moveEnd("character",b);d.select()}else{if(c.setSelectionRange){c.setSelectionRange(e,b)}else{if(c.selectionStart){c.selectionStart=e;c.selectionEnd=b}}}c.focus()}})(jQuery);(function(e){var d=e.ajax;var a={};var c=[];var b=[];e.ajax=function(h){h=jQuery.extend(h,jQuery.extend({},jQuery.ajaxSettings,h));var g=h.port;switch(h.mode){case"abort":if(a[g]){a[g].abort()}return a[g]=d.apply(this,arguments);case"queue":var i=h.complete;h.complete=function(){if(i){i.apply(this,arguments)}jQuery([d]).dequeue("ajax"+g)};jQuery([d]).queue("ajax"+g,function(){d(h)});return;case"sync":var f=c.length;c[f]={error:h.error,success:h.success,complete:h.complete,done:false};b[f]={error:[],success:[],complete:[]};h.error=function(){b[f].error=arguments};h.success=function(){b[f].success=arguments};h.complete=function(){b[f].complete=arguments;c[f].done=true;if(f==0||!c[f-1]){for(var j=f;j<c.length&&c[j].done;j++){if(c[j].error){c[j].error.apply(jQuery,b[j].error)}if(c[j].success){c[j].success.apply(jQuery,b[j].success)}if(c[j].complete){c[j].complete.apply(jQuery,b[j].complete)}c[j]=null;b[j]=null}}}}return d.apply(this,arguments)}})(jQuery);var dbug=0;function d_a(b){var a=next_entry(b)-1;for(var c=a;c>-1;c--){b[c]=null}}function init_array(){if(dbug){alert("init_cookie")}var a=new Array(null);return a}function set_cookie(c,a,b){if(dbug){alert("set_cookie")}if(!b){b=new Date()}document.cookie=c+"="+escape(a)+"; expires="+b.toGMTString()+"; path=/"}function get_cookie(g){if(dbug){alert("get_cookie")}var d=document.cookie;var f=g+"=";var e=d.length;var c=0;while(c<e){var a=c+f.length;if(d.substring(c,a)==f){var b=d.indexOf(";",a);if(b==-1){b=e}return unescape(d.substring(a,b))}c=d.indexOf(" ",c)+1;if(c==0){break}}return null}function del_cookie(a){if(dbug){alert("del_cookie")}document.cookie=a+"=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/"}function get_array(c,b){if(dbug){alert("get_array")}d_a(b);var a=get_cookie(c);if(a){i=1;while(a.indexOf("^")!="-1"){b[i]=a.substring(0,a.indexOf("^"));i++;a=a.substring(a.indexOf("^")+1,a.length)}}}function set_array(e,c,d){if(dbug){alert("set_array")}var a="";for(var b=1;c[b];b++){a+=c[b]+"^"}set_cookie(e,a,d)}function del_entry(g,a,d,b){if(dbug){alert("del_entry")}var f="";get_array(g,a);for(var c=1;c<d;c++){f+=a[c]+"^"}for(var e=d+1;a[e];e++){f+=a[e]+"^"}set_cookie(g,f,b)}function next_entry(c){if(dbug){alert("next_entry")}var a=0;for(var b=1;c[b];b++){a=b}return a+1}function debug_on(){dbug=1}function debug_off(){dbug=0}function dump_cookies(){if(document.cookie==""){document.write("No Cookies Found")}else{thisCookie=document.cookie.split("; ");for(i=0;i<thisCookie.length;i++){document.write(thisCookie[i]+"<br />")}}};jQuery.cookie=function(k,a,c){if(typeof a!="undefined"){c=c||{};if(a===null){a="";c.expires=-1}var b="";if(c.expires&&(typeof c.expires=="number"||c.expires.toUTCString)){var f;if(typeof c.expires=="number"){f=new Date();f.setTime(f.getTime()+(c.expires*24*60*60*1000))}else{f=c.expires}b="; expires="+f.toUTCString()}var g=c.path?"; path="+(c.path):"";var j=c.domain?"; domain="+(c.domain):"";var m=c.secure?"; secure":"";document.cookie=[k,"=",encodeURIComponent(a),b,g,j,m].join("")}else{var l=null;if(document.cookie&&document.cookie!=""){var h=document.cookie.split(";");for(var d=0;d<h.length;d++){var e=jQuery.trim(h[d]);if(e.substring(0,k.length+1)==(k+"=")){l=decodeURIComponent(e.substring(k.length+1));break}}}return l}};(function(a){a.alerts={verticalOffset:-75,horizontalOffset:0,repositionOnResize:true,overlayOpacity:0.3,overlayColor:"#707070",draggable:false,okButton:"&nbsp;OK&nbsp;",cancelButton:"&nbsp;Cancel&nbsp;",dialogClass:null,noButtons:false,errorDialog:false,alert:function(b,d,c){if(d==null){d="Alert"}a.alerts._show(d,b,null,"alert",function(e){if(c){c(e)}})},confirm:function(b,d,c){if(d==null){d="Confirm"}a.alerts._show(d,b,null,"confirm",function(e){if(c){c(e)}})},prompt:function(c,b,e,d){if(e==null){e="Prompt"}a.alerts._show(e,c,b,"prompt",function(f){if(d){d(f)}})},hide:function(){a.alerts._hide()},_show:function(g,d,b,h,f){a.alerts._hide();a.alerts._overlay("show");var c="";if(a.alerts.errorDialog){c='<div style="float:left; padding-bottom:4px"><img src="http://i.euroinvestor.com/errorAlert_32x32.png" /></div>'}a("BODY").append('<div id="popup_container"><div class="popup_header"><img src="http://i.euroinvestor.com/logo_transparent.png" style="padding-left:5px;padding-top:5px"></div><div id="popup_content">'+c+'<div id="popup_message" style="margin-top:5px"></div></div></div>');if(a.alerts.dialogClass){a("#popup_container").addClass(a.alerts.dialogClass)}var j=(a.browser.msie&&parseInt(a.browser.version)<=6)?"absolute":"fixed";a("#popup_container").css({position:j,zIndex:99999,padding:0,margin:0});if(g.length>0){a("#popup_title").text(g)}a("#popup_content").addClass(h);a("#popup_message").text(d);a("#popup_message").html(a("#popup_message").text().replace(/\n/g,"<br />"));a("#popup_container").css({minWidth:a("#popup_container").outerWidth(),maxWidth:a("#popup_container").outerWidth()});a.alerts._reposition();a.alerts._maintainPosition(true);switch(h){case"alert":if(!a.alerts.noButtons){a("#popup_message").after('<div id="popup_panel"><input type="button" value="'+a.alerts.okButton+'" id="popup_ok" /></div>');a("#popup_ok").click(function(){a.alerts._hide();f(true)});a("#popup_ok").focus().keypress(function(k){if(k.keyCode==13||k.keyCode==27){a("#popup_ok").trigger("click")}})}break;case"confirm":a("#popup_message").after('<div id="popup_panel"><input type="button" value="'+a.alerts.okButton+'" id="popup_ok" /> <input type="button" value="'+a.alerts.cancelButton+'" id="popup_cancel" /></div>');a("#popup_ok").click(function(){a.alerts._hide();if(f){f(true)}});a("#popup_cancel").click(function(){a.alerts._hide();if(f){f(false)}});a("#popup_ok").focus();a("#popup_ok, #popup_cancel").keypress(function(k){if(k.keyCode==13){a("#popup_ok").trigger("click")}if(k.keyCode==27){a("#popup_cancel").trigger("click")}});break;case"prompt":a("#popup_message").append('<br /><input type="text" size="30" id="popup_prompt" />').after('<div id="popup_panel"><input type="button" value="'+a.alerts.okButton+'" id="popup_ok" /> <input type="button" value="'+a.alerts.cancelButton+'" id="popup_cancel" /></div>');a("#popup_prompt").width(a("#popup_message").width());a("#popup_ok").click(function(){var e=a("#popup_prompt").val();a.alerts._hide();if(f){f(e)}});a("#popup_cancel").click(function(){a.alerts._hide();if(f){f(null)}});a("#popup_prompt, #popup_ok, #popup_cancel").keypress(function(k){if(k.keyCode==13){a("#popup_ok").trigger("click")}if(k.keyCode==27){a("#popup_cancel").trigger("click")}});if(b){a("#popup_prompt").val(b)}a("#popup_prompt").focus().select();break}if(a.alerts.draggable){try{a("#popup_container").draggable({handle:a("#popup_title")});a("#popup_title").css({cursor:"move"})}catch(i){}}},_hide:function(){a("#popup_container").remove();a.alerts._overlay("hide");a.alerts._maintainPosition(false)},_overlay:function(b){switch(b){case"show":a.alerts._overlay("hide");a("BODY").append('<div id="popup_overlay"></div>');a("#popup_overlay").css({position:"absolute",zIndex:99998,top:"0px",left:"0px",width:"100%",height:a(window).height(),background:a.alerts.overlayColor,opacity:a.alerts.overlayOpacity});break;case"hide":a("#popup_overlay").remove();break}},_reposition:function(){var c=((a(window).height()/2)-(a("#popup_container").outerHeight()/2))+a.alerts.verticalOffset;var b=((a(window).width()/2)-(a("#popup_container").outerWidth()/2))+a.alerts.horizontalOffset;if(c<0){c=0}if(b<0){b=0}if(a.browser.msie&&parseInt(a.browser.version)<=6){c=c+a(window).scrollTop()}a("#popup_container").css({top:c+"px",left:b+"px"});a("#popup_overlay").height(a(window).height())},_maintainPosition:function(b){if(a.alerts.repositionOnResize){switch(b){case true:a(window).bind("resize",a.alerts._reposition);break;case false:a(window).unbind("resize",a.alerts._reposition);break}}}};jAlert=function(b,d,c){a.alerts.errorDialog=false;a.alerts.noButtons=false;a.alerts.alert(b,d,c)};jLoading=function(b,d,c){a.alerts.noButtons=true;a.alerts.errorDialog=false;a.alerts.alert(b,d,c)};jLoadingHide=function(){a.alerts.hide()};jError=function(b,d,c){a.alerts.errorDialog=true;a.alerts.alert(b,d,c)};jConfirm=function(b,d,c){a.alerts.confirm(b,d,c)};jPrompt=function(c,b,e,d){a.alerts.prompt(c,b,e,d)}})(jQuery);$.fn.bindEnter=function(a){$(this).keyup(function(b){if((b.which&&b.which==13)||(b.keyCode&&b.keyCode==13)){a.apply(this,[arguments]);return false}})};$.fn.fadeToggle=function(a,b,c){return this.animate({opacity:"toggle"},300,b,c)};$.fn.outerHTML=function(a){return(a)?this.before(a).remove():$("<p>").append(this.eq(0).clone()).html()};$.fn.showDivLoading=function(c){var b={text:"",useSsl:false,imagePath:"http://i.euroinvestor.com/ajax-loader32.gif",overlayBackgroundColor:"#FFFFFF",overlayFontColor:"#000000",opacity:90};var a=$.extend(b,c);return this.each(function(){var l=$(this);var k=parseInt(l.css("margin-left").replace("px",""));var f=parseInt(l.css("margin-right").replace("px",""));var e=l.width()-(k+f);var j=null;var d=a.opacity/100;var h=l.attr("id");if(a.text!=""){j=$('<span style="position: absolute; top:100px; left:0; width:'+e+'px; font-weight: bold; text-align:center">'+a.text+"</span>")}var g=$('<span style="position: absolute; top:50px; left:0; width:'+e+'px; text-align:center"><img src="'+a.imagePath+'" /></span>');if(j!=null){l.prepend('<div id="'+h+'_Overlay" style="height:100%; width: '+e+"px; position:absolute; left:0; top:0; z-index:9999; color: "+a.overlayFontColor+"; background-color: "+a.overlayBackgroundColor+"; opacity: "+d+";filter:alpha(opacity="+a.opacity+');">'+g.outerHTML()+j.outerHTML()+"</div>")}else{l.prepend('<div id="'+h+'_Overlay" style="height:100%; width: '+e+"px; position:absolute; left:0; top:0; z-index:9999; color: "+a.overlayFontColor+"; background-color: "+a.overlayBackgroundColor+"; opacity: "+d+";filter:alpha(opacity="+a.opacity+');">'+g.outerHTML()+"</div>")}})};$.fn.hideDivLoading=function(){return this.each(function(){var a=this.id+"_Overlay";var b=$("#"+a);b.fadeOut(500,function(){b.remove()})})};EI={};EI.__namespace=true;EI.Global={showContextMenu:function(a){var b=event;EI.DelayLoad.loadScriptFile("/JS/jQuery/Plugins/jquery-contextmenu/jquery.contextmenu.min.js",function(){$(a).contextMenu(generateContextMenu(a),{useIframe:false,theme:"xp"},a,b)})},loadTradeOverlay:function(a,b,c){EI.DelayLoad.loadScriptFile("/JS/TradeOverlay/TradeOverlay.min.js",function(){function d(){if(typeof(TradeOverlay)!="undefined"){TradeOverlay.loadPortfolioOrderData(a,b,c)}else{setTimeout(d,100)}}d()})},showDivLoading:function(d,c,f){var e="http://i.euroinvestor.com/ajax-loader32.gif";if(c){e="/saxobank/images/ajax-loader32.gif"}var b=$("#"+d).width();var g=null;if(typeof(f)!="undefined"&&f!=""){g=$('<span style="position: absolute; top:100px; left:0; width:'+b+'px; text-align:center">'+f+"</span>")}var a=$('<span style="position: absolute; top:50px; left:0; width:'+b+'px; text-align:center"><img src="'+e+'" /></span>');if(g!=null){$("#"+d).prepend('<div id="'+d+'_Overlay" style="height:100%; width: '+b+'px; position:absolute; left:0; top:0; z-index:9999; background-color: #FFFFFF; opacity: 0.9;filter:alpha(opacity=90);">'+a.outerHTML()+g.outerHTML()+"</div>")}else{$("#"+d).prepend('<div id="'+d+'_Overlay" style="height:100%; width: '+b+'px; position:absolute; left:0; top:0; z-index:9999; background-color: #FFFFFF; opacity: 0.9;filter:alpha(opacity=90);">'+a.outerHTML()+"</div>")}},hideDivLoading:function(a){$("#"+a+"_Overlay").fadeOut("500",function(){$(this).remove()})},getJson:function(method,data,callback,skipEval,useCache,cacheDuration){var dataString="{";if(data!=null){for(var i=0;i<data.length;i++){var obj=data[i];dataString+='"'+obj[0]+'":"'+obj[1]+'"';if(i<data.length-1){dataString+=","}}}dataString+="}";if(useCache){var cachedResponse=EI.Cache.getCache(method+dataString);if(typeof(cachedResponse)!="undefined"){var params=new Array();params.push(cachedResponse);callback.apply(this,params);return}}$.ajax({type:"POST",url:"/GlobalService.asmx/"+method,contentType:"application/json; charset=utf-8",data:dataString,dataType:"json",error:function(e){alertError(e)},success:function(s){if(callback!=null){var result;if(!skipEval){result=eval("("+s.d+")")}else{result=s.d}if(useCache){EI.Cache.setCache(method+dataString,result,cacheDuration)}if(typeof(result)=="object"){callback.apply(this,new Array(result))}else{var params=new Array();params.push(result);callback.apply(this,params)}}}})},convertJSONToString:function(b){var a="{";$.each(b,function(d,c){a+=d+":"+c+","});a=a.substring(a,a.length-1);a+="}";return a},bindEnter:function(a,c,b){$("body").bind("submit",function(d){d.preventDefault()});if(b){$("#"+a).unbind("keypress").live("keypress",function(d){if((d.which&&d.which==13)||(d.keyCode&&d.keyCode==13)){$("#"+c).click();return false}})}else{$("#"+a).keyup(function(d){if((d.which&&d.which==13)||(d.keyCode&&d.keyCode==13)){$("#"+c).click();return false}})}}};EI.DelayLoad={_loadedScriptFiles:[],loadScriptFiles:function(c,d){var b=false;var a=0;$.each(c,function(){EI.DelayLoad.loadScriptFile(this,function(){a++;if(a==c.length&&d!=null&&typeof(d)!="undefined"){d.apply(this,[arguments])}})})},loadScriptFile:function(b,d){if($.inArray(b,EI.DelayLoad._loadedScriptFiles)==-1){var c=false;var a=document.createElement("script");a.type="text/javascript";a.src=b;if(d!=null&&$.isFunction(d)){a.onload=d;a.onreadystatechange=function(){var e=this;testState=function(){if(!c){if(e.readyState=="complete"||e.readyState=="loaded"){c=true;d.apply(e,[arguments])}else{setTimeout(testState,50)}}};testState()}}document.getElementsByTagName("head")[0].appendChild(a);EI.DelayLoad._loadedScriptFiles.push(b)}else{d.apply(this,[arguments])}}};EI.Cache={_cache:{},setCache:function(c,a,b){EI.Cache._cache[c]=a;if(typeof(b)!="undefined"){setTimeout(function(){EI.Cache.removeFromCache(c)},b)}},getCache:function(a){var b=EI.Cache._cache[a];if(typeof(b)!="undefined"){b.FromCache=true}return b},removeFromCache:function(a){EI.Cache._cache[a]=undefined},cacheDurationEnum:{Forever:7200000,Short_10_secs:10000,Medium_30_secs:30000,Long_60_secs:60000}};EI.DynamicInputField={onBlur:function(b){var c=b.substring(0,b.length-6);var a=$("#"+b);$("#"+c+"_leftImage").attr("class","leftImage");$("#"+c+"_rightImage").attr("class","rightImage");if(a.attr("theme")!="regular"){a.attr("class","dynamic_inputfield_box")}if(a.val()==""){if(typeof(a.attr("watermark"))!="undefined"){if(a.attr("ConvertToPass")=="true"&&b.indexOf("_pass1")>-1){}else{if(a.attr("theme")=="regular"){a.val(a.attr("watermark")).addClass("TextBoxDefault")}else{a.val(a.attr("watermark")).addClass("TextBoxDefault")}}}}},onFocus:function(b){var c=b.substring(0,b.length-6);var a=$("#"+b);if(a.attr("theme")=="overlay"){$("#"+c+"_leftImage").attr("class","leftImageOver");$("#"+c+"_rightImage").attr("class","rightImageOver");a.attr("class","middleOver")}if(a.attr("ConvertToPass")=="true"&&b.indexOf("_text1")>-1){a.hide();$("#"+c+"_pass1").show().focus()}if(a.val()==a.attr("watermark")){if(a.attr("theme")=="regular"){a.val("").removeClass("TextBoxDefault")}else{a.val("").css("color","black").css("font-style","normal")}}else{if(a.attr("theme")=="regular"){a.css("fontStyle","normal")}}}};EI.Feedback={openDialog:function(){$.colorbox({href:"/GlobalService.asmx/GetFeedbackHtml",title:txtFeedbackSendMessage,onComplete:EI.Feedback.onDialogLoaded})},onDialogLoaded:function(){EI.DelayLoad.loadScriptFile("/JS/jQuery/Plugins/jquery-uploadify/jquery.uploadify.v2.1.0.min.js",function(){$("#fileInput").uploadify({uploader:"/JS/jQuery/Plugins/jquery-uploadify/uploadify.swf",script:"/JS/jQuery/Plugins/jquery-uploadify/upload.ashx",scriptData:{},cancelImg:"/JS/jQuery/Plugins/jquery-uploadify/cancel.png",auto:true,multi:false,wmode:"transparent",fileDesc:"Image Files",fileExt:"*.jpg;*.jpeg;*.gif;*.bmp;*.png",sizeLimit:2000000,buttonText:"Choose images",onCancel:function(){},onComplete:function(event,queueID,fileObj,response,data){result=eval("("+response+")");$("#fileInput").hide();$("#fileInputUploader").hide();$("#divUploadedFiles").html(result.Filename+" - ("+result.FileSize+" Kb)").show();$.data($("#divUploadedFiles").get(0),"Parameters",{Guid:result.Guid})}})})},closeDialog:function(){$.colorbox.close();$("#Feedback").each(function(){$(this).remove()})},sendMessage:function(){EI.DelayLoad.loadScriptFile("/JS/BrowserDetect.js",function(){var k=$("#FeedbackMessage").val();var g=$("#ddlMessageTypes :selected").val();var a=$("#divUploadedFiles").html();var f=$.data($("#divUploadedFiles").get(0),"Parameters")!=null?$.data($("#divUploadedFiles").get(0),"Parameters").Guid:null;var m="ScreenSize: "+window.screen.width+"x"+window.screen.height+" - BrowserSize: "+window.screen.availWidth+"x"+window.screen.availHeight;var j=BrowserDetect.browser+" version:"+BrowserDetect.version;var c=$("#LoggedInUsername").html();var b=$("#LoggedInEmail").html();var d=window.location.href;var l=true;var e='<span id="{0}" style="color:red">&nbsp;{1}</span>';$("#UsernameError").remove();$("#EmailError").remove();a=a.substring(0,a.indexOf(" - "));if(c==null||c==""){c=$("#FeedBackMessageSenderName").val()}if(b==null||b==""){b=$("#FeedBackMessageSenderEmail").val()}if(c==null||c.length==0){l=false;$("#FeedBackMessageSenderName").after(String.format(e,"UsernameError","Navn er obligatorisk!"))}if($("#FeedBackMessageSenderEmail").is(":visible")){if(b==null||b.length==0){l=false;$("#FeedBackMessageSenderEmail").after(String.format(e,"EmailError","Email er obligatorisk!"))}else{if(!EI.Validation.isEmailValid(b)){l=false;$("#FeedBackMessageSenderEmail").after(String.format(e,"EmailError","Email er ikke i korrekt format!"))}}}if(l){var h=[["message",k],["filename",a],["messageType",g],["fileGuid",f],["sender",c],["email",b],["url",d],["screenInfo",m],["browserInfo",j]];EI.Global.getJson("SendFeedback",h,function(n){EI.Feedback.closeDialog();notifyUser("Tak for din feedback. Vi vil kigge p� det hurtigst muligt.")},true)}})}};EI.Validation={isEmailValid:function(b){var a=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;return a.test(b)}};EI.Localization={decimalSeparator:function(){return numberDecimalSeparator},groupSeparator:function(){return numberGroupSeparator},longTimeFormat:function(){return datetimeLongTimeFormat},instrumentTimeZoneLocalOffset:function(){return instrumentLocalTimeOffset},serverNowDay:function(){return serverNowDay},shortDateFormat:function(){return datetimeShortDateFormat},JSIntToLocalizedString:function(a){if(EI.Localization.groupSeparator()==""||a<1000){return""+a}var c=""+a;var d=c.length%3;var b=d>0?c.substr(0,d)+EI.Localization.groupSeparator():"";for(var e=d;e<c.length;e+=3){b+=c.substr(e,3)+EI.Localization.groupSeparator()}return b.substr(0,b.length-1)},JSFloatToLocalizedString:function(a,c){try{if(isNaN(a)){a=a.replace(",",".")}if(arguments.length>1){a=parseFloat(a);a=a.toFixed(c)}}catch(l){return""}if(EI.Localization.groupSeparator()!=""&&Math.abs(a)>=1000){var d=a.toString().split(".");var k=d[0].length%3;var g=k>0?d[0].substr(0,k)+EI.Localization.groupSeparator():"";for(var b=k;b<d[0].length;b+=3){g+=d[0].substr(b,3)+EI.Localization.groupSeparator()}var j=g.substr(0,g.length-1);var f=EI.Localization.decimalSeparator();var m=d[1];try{var h=g.substr(0,g.length-1)+EI.Localization.decimalSeparator()+d[1]}catch(l){}return g.substr(0,g.length-1)+EI.Localization.decimalSeparator()+d[1]}return a.toString().replace(".",EI.Localization.decimalSeparator())},LocalizedStringToJSFloat:function(b){var a=b;if(EI.Localization.groupSeparator()!=""){a=a.replace(EI.Localization.groupSeparator(),"")}if(EI.Localization.decimalSeparator()!="."){a=a.replace(EI.Localization.decimalSeparator(),".")}return parseFloat(a)}};EI.Login={validateResult:{IncorrectParameters:0,SuccessFull:1,InvalidUserNamePassword:2,BlockedUser:3,EmailNotConfirmed:4},hideFlashObjects:function(){$("object").each(function(){$(this).hide()});$("embed").each(function(){$(this).hide()})},showFlashObjects:function(){$("object").each(function(){$(this).show()});$("embed").each(function(){$(this).show()})},onLoadComplete:function(){$("#loginOverlayUserName").focus();$("#loginOverlayUserName").bindEnter(function(){$("#loginOverlayPassword").focus()});$("#loginOverlayPassword").bindEnter(function(){EI.Login.performLogin("loginOverlayUserName","loginOverlayPassword","loginOverlayRememberMe")})},loadLogin:function(){$.colorbox({href:"/GlobalService.asmx/GetLoginHtml",title:"EuroInvestor Login",height:290,onComplete:EI.Login.onLoadComplete,overlayClose:false})},performLogin:function(d,g,a){$("#StatusMessage").html("");$("#usernameValidationMessage").html("");var c=/^(([A-Za-z0-9]+_+)|([A-Za-z0-9]+\-+)|([A-Za-z0-9]+\.+)|([A-Za-z0-9]+\++))*[A-Za-z0-9]+@((\w+\-+)|(\w+\.))*\w{1,63}\.[a-zA-Z]{2,6}$/;var j=$("#"+d).val();if(j==null||j.length==0){$("#usernameValidationMessage").html("Email is invalid").show();return}var f=$("#"+a).attr("checked");var e=$("#"+d).val();var h=$("#"+g).val();$("#StatusMessage").css("color","green");$("#StatusMessage").html(txtLoggingInPleaseWait);var b=[["login",e],["password",h],["rememberMe",f]];EI.Global.getJson("Authenticate",b,function(k){EI.Login._successfullLogin(k)})},closeLogin:function(){$.colorbox.close()},resendConfirmationEmail:function(){var a=$("#loginOverlayUserName").val();var b=$("#loginOverlayPassword").val();EI.Global.getJson("ResendConfirmationEmail",[["email",a]],function(c){if(c==globalServiceReturnCode.Ok){$("#StatusMessage").html(txtEmailConfirmationResent).css("color","green")}else{}})},_successfullLogin:function(b){var c=parseInt(b);if(b==EI.Login.validateResult.SuccessFull){var d=window.location.href;$.cookie("EILoginUsername",$("#loginOverlayUserName").val());window.location.href="/AuthCookie.aspx?ReturnUrl="+escape(d);return}if(c==EI.Login.validateResult.InvalidUserNamePassword){$("#StatusMessage").html(txtIncorrectPassword).css("color","red")}else{if(c==EI.Login.validateResult.BlockedUser){$("#StatusMessage").html(txtLockedOut).css("color","red")}else{if(c==EI.Login.validateResult.EmailNotConfirmed){var a=$('<a href="#" onclick="EI.Login.resendConfirmationEmail()"></a>');a.html(txtSend);$("#StatusMessage").html(txtEmailIsNotConfirmed+" "+a.outerHTML()).css("color","red")}}}}};EI.Tooltip={load:function(a,b){EI.DelayLoad.loadScriptFile("/JS/jQuery/Plugins/jquery-beautytips/jquery.bt.modified.min.js",function(){if(isNullOrUndefined(a)){a="[title]"}if(isNullOrUndefined(b)){b="body"}$(a,b).not("[tooltip=false]").bt({positions:["top","right","left","bottom"],shrinkToFit:true,width:200,spikeLength:8,spikeGirth:20,overlap:-10,cornerRadius:10,fill:$.browser.msie?"rgba(0, 0, 0, .7)":"rgba(0, 0, 0, .9)",strokeWidth:2,strokeStyle:"#4ca8c3",cssStyles:{color:"#FFF",fontWeight:"bold"},hoverIntentOpts:{interval:500,timeout:100},showTip:function(g){var e=$(".bt-content",g).hide();var c=$("canvas",g).hide();var d=c[0].width;var f=c[0].height;$(g).show();c.css({width:d*0.5,height:f*0.5,left:d*0.25,top:f*0.25,opacity:0.1}).show().animate({width:d,height:f,left:0,top:0,opacity:0.7},400,"easeOutBounce",function(){e.show()})},hideTip:function(c,d){var f=$(".bt-content",c).hide();var h=$("canvas",c);var e=h[0].width;var g=h[0].height;h.animate({width:e*0.5,height:g*0.5,left:e*0.25,top:g*0.25,opacity:0},400,"swing",d)}})})},refreshAll:function(){$("[bt-xTitle]").removeAttr("bt-xTitle");EI.Tooltip.load()},refreshSpecific:function(a){$(a).removeAttr("bt-xTitle");EI.Tooltip.load(a)},refreshAllChildren:function(a){$(a).find("[bt-xTitle]").removeAttr("bt-xTitle");EI.Tooltip.load(null,a)}};$(function(){$(".new_menu > li.item").hover(function(){$(this).children("a").addClass("hover");$(this).addClass("hover");$(this).parents("ul").first().find("div").hide();$(this).children("div").show()},function(){$(this).children("a").removeClass("hover");$(this).removeClass("hover")});$("ul.new_menu").hover(function(){},function(){$(this).find("div").hide()});$(".tabrow > td").click(function(){if($(this).hasClass("tabButtonSelected")){return}$(this).siblings().removeClass("tabButtonSelected").addClass("tabButtonUnselected");$(this).removeClass("tabButtonUnselected").addClass("tabButtonSelected");$(this).parents("tbody").find(".tabcontentrow_nopadding > td > div").hide();var a="#"+this.id+"_content";$(this).parents("tbody").find(a).show();var b=new Date();b.setTime(b.getTime()+(1*24*60*60*1000));document.cookie="EuroinvestorTabControlGalleries="+this.id+"; expires="+b.toGMTString()+"; path=/"})});globalServiceReturnCode={Ok:1,NotAuthenticated:2,ErrorOccurred:3};alertError=function(e){var response=eval("("+e.responseText+")");jAlert("An error occurred:<br/><b>Error code:</b><br/> "+e.status+"<br/><b>Error:</b><br/>"+e.statusText+"<br/><b>Message:</b><br/>"+response.Message+'<br/><b>StackTrace:</b><br/><div style="height:200px;overflow:auto">'+response.StackTrace+"</div>")};function roundToDec(a,c){if(typeof(c)=="undefined"){c=0}else{c=Math.floor(c)}if(isNaN(a+c)||c<0||c>12){return Math.round(a)}var b=Math.pow(10,c);return Math.round(a*b)/b}function FirstNonNaN(c,d){if(!isNaN(c)){return c}return d}String.format=function(c){if(arguments.length<=1){return c}var a=arguments.length-2;for(var b=0;b<=a;b++){c=c.replace(new RegExp("\\{"+b+"\\}","gi"),arguments[b+1])}return c};String.prototype.format=function(){if(arguments.length<1){return this}var c=this;var a=arguments.length-1;for(var b=0;b<=a;b++){c=c.replace(new RegExp("\\{"+b+"\\}","gi"),arguments[b])}return c};function searchClick(a){if(!a){document.getElementById("search_button").className="search_button_click"}else{document.getElementById("search_button").className="search_button"}}function tabMenuEffect(a,b){if(b){a.className="tab"}else{a.className+=" selected"}}function imposeMaxLength(d,a,b){var c=a.keyCode;if(!(c==8||c==46||(c>=37&&c<=40))){return(d.value.length<=b)}}function changeTabs(b,c,d){var a;for(a=1;a<=d;a++){if(a==b){document.getElementById("t"+c+a).style.display=""}else{document.getElementById("t"+c+a).style.display="none"}if(a==b){document.getElementById("td"+c+a).className="tabButtonSelected"}else{document.getElementById("td"+c+a).className="tabButtonUnselected"}}}function isUserAuthenticated(a,b){EI.Global.getJson("IsUserAuthenticated",[],function(c){if(c.ReturnCode==globalServiceReturnCode.NotAuthenticated){b()}else{if(c.ReturnCode==globalServiceReturnCode.Ok){a()}}},false,true,EI.Cache.cacheDurationEnum.Medium_30_secs)}function generateContextMenu(c){var b=c.getAttribute("instrumentname");var a=c.getAttribute("instrumentid");var d=[{headerText:{headerClassName:"menu3-custom-item",hoverClassName:"menu3-custom-item-hover",title:b}},$.contextMenu.separator,{headerText:{onclick:function(e,f){isUserAuthenticated(function(){EI.Global.loadTradeOverlay(4,0,a);$("#txtQuantity").focus()},function(){jAlert(notLoggedInTradeTranslation)})},icon:"http://i.euroinvestor.com/icons/page_add.png",title:tradeTranslation}},$.contextMenu.separator,{headerText:{onclick:function(e,f){window.location="/stock/overview.aspx?id="+a},icon:"http://i.euroinvestor.com/icons/chart_bar.png",title:overviewTranslation}},$.contextMenu.separator,{headerText:{onclick:function(e,f){window.location='/search/default.aspx?q="'+b+'"'},icon:"http://i.euroinvestor.com/icons/comment.png",title:discussionsTranslation+"/"+blogsTranslation+"/"+articlesTranslation}},$.contextMenu.separator,{headerText:{onclick:function(e,f){EI.Global.getJson("AddInstrumentToWatchList",[["instrumentId",a]],function(g){if(g==globalServiceReturnCode.NotAuthenticated){jAlert(notLoggedInAddStocksTranslation)}else{if(g==globalServiceReturnCode.Ok){notifyUser(String.format(instrumentAddedToWatchlistTranslation,"<b>"+b+"</b>"))}else{jAlert(anErrorOccurredTranslation)}}})},icon:"http://i.euroinvestor.com/icons/add.png",title:addToWatchlistTranslation}},$.contextMenu.separator,{headerText:{onclick:function(e,f){window.location="/stock/research.aspx?id="+a},icon:"http://i.euroinvestor.com/icons/lightbulb.png",title:researchTranslation}},];return d}function notifyUser(a){$(".infoBox").html('<div style="margin-left:auto;margin-right:auto;width:450px"><div style="float:left; margin-top:6px"><img style="height:80px; width: 80px" src="http://i.euroinvestor.com/infoButton_80x80.png" /></div><div style="margin-left:90px; padding-top:10px"><h2>EuroInvestor Information</h2><br /><span id="text" style="font-size:12px"></span></div></div>');$(".infoBox #text").html(a);$(".infoBox").slideToggle();if($(".infoBox").is(":visible")){timer=setTimeout(function(){$(".infoBox").fadeOut("slow")},4000)}}function isNullOrUndefined(a){return a==null||typeof(a)=="undefined"}function querySt(a){hu=window.location.search.substring(1);gy=hu.split("&");for(i=0;i<gy.length;i++){ft=gy[i].split("=");if(ft[0]==a){return ft[1]}}}function toggleDescription(a){if(document.getElementById(a).style.display=="block"){document.getElementById(a).style.display="none"}else{document.getElementById(a).style.display="block"}}function SwitchPanels(f,c,e,j,b){var d=document.getElementById(f);var g=document.getElementById(c);var h=document.getElementById(e);if(d.style.display=="none"){d.style.display="block";h.firstChild.data=j;h.blur()}else{d.style.display="none";h.firstChild.data=b;h.blur()}if(g.style.display=="none"){g.style.display="block"}else{g.style.display="none"}}function EuroInvestorSearch(b,a){if($("#divAutoCompleterResults").is(":visible")){return}window.location=b+"?q="+a}function UpdateText(a,c){var b=c.replace(/<br\/>/g,"\n");document.getElementById(a).value+=b;document.getElementById("bbDescriptionDiv").style.display="none"}trimNumberForCalculation=function(a){var b=a.toString();b=b.replace(EI.Localization.groupSeparator(),"");b=b.replace(EI.Localization.decimalSeparator(),".");return parseFloat(b)};multiplyTwoDecimals=function(c,a){var d;if(typeof(c)=="string"){d=parseFloat(trimNumberForCalculation(c))}else{d=parseFloat(c)}var b;if(typeof(a)=="string"){b=parseFloat(trimNumberForCalculation(a))}else{b=parseFloat(a)}return d*b};addTwoDecimals=function(c,a){var d;if(typeof(c)=="string"){d=parseFloat(trimNumberForCalculation(c))}else{d=parseFloat(c)}var b;if(typeof(c)=="string"){b=parseFloat(trimNumberForCalculation(a))}else{b=parseFloat(a)}return d+b};subtractTwoDecimals=function(c,a){var d;if(typeof(c)=="string"){d=parseFloat(trimNumberForCalculation(c))}else{d=parseFloat(c)}var b;if(typeof(c)=="string"){b=parseFloat(trimNumberForCalculation(a))}else{b=parseFloat(a)}return d-b};compareLarger=function(c,a){var d;if(typeof(c)=="string"){d=parseFloat(trimNumberForCalculation(c))}else{d=parseFloat(c)}var b;if(typeof(c)=="string"){b=parseFloat(trimNumberForCalculation(a))}else{b=parseFloat(a)}return d>b};debug=function(a){if(window.console!=undefined){alert("writing to console");console.log(a)}};function bindStockLinks(){$("div[id$=_portfolioAdd]").live("mouseover",testAbe);$("div[id$=_portfolioAdd]").live("mouseout",testFisk)}function testAbe(){var a=this.id.replace("portfolioAdd","ptfLineEdit");$("#"+a).show()}function testFisk(){var a=this.id.replace("portfolioAdd","ptfLineEdit");$("#"+a).hide()}function topflopadvanced_updategainerslosers(c,e){var b="300,324,327,100,325,938";var a="gainersDiv";var d="losersDiv";EI.Global.getJson("GetGainersLosersHtmlTable",[["indexArray",b],["rowCount",c],["useRT",e]],function(f){if(f!=null){$.each(f,function(){$("#"+a+this.IndexId).html(this.GainerListHtml);$("#"+d+this.IndexId).html(this.LooserListHtml)});EI.Tooltip.refreshAllChildren(null,$("#TopFlopAdvanced")[0])}})}function checkForRedirect(){var a=window.top.location.href;if(a.match("returnurl")){return"sites/investorchallenge.aspx"}}$(function(){$.browser.version=$.browser.msie&&(/msie 7\.0/i.test(navigator.userAgent)||/msie 8\.0/i.test(navigator.userAgent))?"7.0":$.browser.version});var dateFormat=function(){var c=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,d=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,a=/[^-+\dA-Z]/g,b=function(e,f){e=String(e);f=f||2;while(e.length<f){e="0"+e}return e};return function(v,l,h,x){var q=dateFormat;if(arguments.length==1&&Object.prototype.toString.call(v)=="[object String]"&&!/\d/.test(v)){l=v;v=undefined}v=v?new Date(v):new Date;if(isNaN(v)){throw SyntaxError("invalid date")}l=String(q.masks[l]||l||q.masks["default"]);if(l.slice(0,4)=="UTC:"){l=l.slice(4);h=true}if(typeof(x)=="undefined"){x=""}var k=h?"getUTC":"get",u=v[k+"Date"](),w=v[k+"Day"](),n=v[k+"Month"](),f=v[k+"FullYear"](),g=v[k+"Hours"](),t=v[k+"Minutes"](),j=v[k+"Seconds"](),r=v[k+"Milliseconds"](),p=h?0:v.getTimezoneOffset(),e={d:u,dd:b(u),ddd:x=="da"?q.i18n.dayNamesDanish[w]:q.i18n.dayNames[w],dddd:x=="da"?q.i18n.dayNamesDanish[w+7]:q.i18n.dayNames[w+7],m:n+1,mm:b(n+1),mmm:x=="da"?q.i18n.monthNamesDanish[n]:q.i18n.monthNames[n],mmmm:x=="da"?q.i18n.monthNamesDanish[n+12]:q.i18n.monthNames[n+12],yy:String(f).slice(2),yyyy:f,h:g%12||12,hh:b(g%12||12),H:g,HH:b(g),M:t,MM:b(t),s:j,ss:b(j),l:b(r,3),L:b(r>99?Math.round(r/10):r),t:g<12?"a":"p",tt:g<12?"am":"pm",T:g<12?"A":"P",TT:g<12?"AM":"PM",Z:h?"UTC":(String(v).match(d)||[""]).pop().replace(a,""),o:(p>0?"-":"+")+b(Math.floor(Math.abs(p)/60)*100+Math.abs(p)%60,4),S:["th","st","nd","rd"][u%10>3?0:(u%100-u%10!=10)*u%10]};return l.replace(c,function(m){return m in e?e[m]:m.slice(1,m.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",danishLong:"dddd 'd.' dd mmmm yyyy HH:MM:ss"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],dayNamesDanish:["S�n","Man","Tir","Ons","Tor","Fre","L�r","S�ndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","L�rdag"],monthNamesDanish:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec","Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"]};Date.prototype.format=function(c,a,b){return dateFormat(this,c,a,b)};function getWidth(a){return $(a).width()};toggleNews=function(d,c){var e;$("div[id^=ptfLine_]").each(function(){if($(this).is(":visible")){e=this.id;$(this).slideToggle()}});$("div[id^=ptfLineShort_]").each(function(){if($(this).is(":visible")){e=this.id;$(this).slideToggle()}});var b=d+c;if(b!=e){var a=$("#"+b);a.css("left","-455px").css("top","10px").css("background-color","black").css("color","white");EI.DelayLoad.loadScriptFile("/JS/jQuery/Plugins/jquery-corner/jquery.corner.js",function(){a.slideToggle().corner()})}};function Point(b,a){this.x=b;this.y=a}function getStyle(a){if(a.currentStyle){return a.currentStyle}if(window.getComputedStyle){return window.getComputedStyle(a,null)}return a.style}function findPos(a){if(!a.offsetParent||(getStyle(a).position=="relative")){return new Point(0,0)}var b=findPos(a.offsetParent);return new Point(a.offsetLeft+b.x,a.offsetTop+b.y)}function ptfLinePop(a,d,c){if(c==undefined){c=false}var b=document.getElementById(a);b.style.visibility="visible";if(d){b.style.position="absolute";var e=findPos(d);if(c){b.style.left=(e.x)+"px"}else{b.style.left=(e.x-b.offsetWidth+d.offsetWidth)+"px"}b.style.top=e.y+"px"}}var ptfTimeOut=null;function ptfLineUnpop(a,e,d){var b=document.getElementById(a);var c=e.toElement?e.toElement:e.relatedTarget;if(d){b.style.visibility="hidden"}else{if(c!=undefined&&b!=undefined&&!b.contains(c)){ptfTimeOut=setTimeout("if (document.getElementById('"+b.id+"')) document.getElementById('"+b.id+"').style.visibility='hidden'",0);b.onmouseover=function(){if(ptfTimeOut!=null){clearTimeout(ptfTimeOut);ptfTimeOut=null}}}}};var textBoxDefaultText="";var ac_multipleSearchPerformed=false;var Mode={Tag:0,Instrument:1,Users:2,Multiple:3,ExtendedInstrument:4,ExtendedInstrumentWatchList:5,Forex:6};var ExtendedInstrumentColumns={ExchangeLongName:0,ExchangeId:1,ExchangeShortCode:2,InstrumentId:3,InstrumentSymbol:4,InstrumentName:5,Last:6,Change:7,PercentageChange:8,TotalVolume:9,Currency:10};var activeControl;var ac_isAsyncPostback=false;jQuery(document).bind("ready",function(){BindAutoCompleterEvents();$("input[id*=_textbox]").each(function(){textBoxDefaultText=$(this).attr("defaulttext");$(this).trigger("blur")})});function autocomplete_formatNumber(g,d){var b=parseFloat(g);var a=b.toFixed(2);var f='<span style="color:green">{0}</span>';var e='<span style="color:red">{0}</span>';var c='<span style="color:gray">{0}</span>';if(!d){return a}if(g==0){return String.format(c,a)}if(g<0){return String.format(e,a)}if(g>0){return String.format(f,a)}}function formatHeader(b){var a="";switch(b){case Mode.Instrument:a='<div style="width:341px;padding-left: 5px; padding-right: 5px; height: 22px; background-color: #ededed; border-bottom: solid 1px #d4d4d4">   <div style="float:right; width: 180px"><b>'+ac_exchangeTranslation+'</b></div>   <div style="float:left; width: 160px"><b>'+ac_instrumentTranslation+"</b></div></div>";break;case Mode.Multiple:a='<div style="width:220px; padding-left: 5px; padding-right: 5px; height: 22px; background-color: #ededed; border-bottom: solid 1px #d4d4d4">   <div style="float:left"><b>Name</b></div>   <div style="float:right"><b>Type</b></div></div>';break;case Mode.ExtendedInstrumentWatchList:case Mode.ExtendedInstrument:a='<div style="padding-left: 5px; padding-right: 5px; height: 22px; background-color: #ededed; border-bottom: solid 1px #d4d4d4">   <div style="float: left; width:240px "><b>'+ac_instrumentTranslation+'</b></div>   <div style="float: right; width:100px; text-align:right; margin-right:10px "><b>'+ac_lastTranslation+'</b></div>   <div style="float: right; width:50px"><b>'+ac_exchangeTranslation+"</b></div></div>";break;case Mode.Users:a='<div style="padding-left: 5px; padding-right: 5px; height: 22px; background-color: #ededed; border-bottom: solid 1px #d4d4d4">   <div style="float:left"><b>'+ac_username+"</b></div></div>";break}return a}function formatMatch(c,b){var a;switch(c){case Mode.Forex:a=b[0].split("|")[0];break}return a}function formatItem(f,e,b,c){var a;switch(f){case Mode.Tag:a='<div style="font-size:10px;padding-left:5px;padding-right:5px">'+e[0]+'</div><div class="data_sep"></div>';break;case Mode.Instrument:var d=e[0].replace("Euronext","");a='<div style="width:341px;font-size:10px;padding-left:5px;padding-right:5px">   <div class="TrimText" style="float:right;width:180px">'+d+'</div>   <div class="TrimText" style="float:left;width:160px">'+e[5]+'</div></div><div class="data_sep"></div>';break;case Mode.ExtendedInstrumentWatchList:case Mode.ExtendedInstrument:a='<div style="font-size:10px;padding-left:5px;padding-right:5px">   <div style="width:100px;float:right;text-align:right;margin-right:10px">'+autocomplete_formatNumber(e[ExtendedInstrumentColumns.Last],false)+" "+e[ExtendedInstrumentColumns.Currency]+'</div>   <div class="TrimText" style="width:50px;float:right">'+e[ExtendedInstrumentColumns.ExchangeShortCode]+'</div>   <div class="TrimText" style="float:left;width:240px">'+e[ExtendedInstrumentColumns.InstrumentName]+" ("+e[ExtendedInstrumentColumns.InstrumentSymbol]+')</div></div><div class="data_sep"></div>';break;case Mode.Users:a='<div style="font-size:10px;padding-left:5px;padding-right:5px">   <div class="TrimText">'+e[1]+'</div></div><div class="data_sep"></div>';break;case Mode.Multiple:a='<div style="font-size:10px;padding-left:5px;padding-right:5px">   <div style="float:right" class="TrimText">'+e[1]+'</div>   <div style="width:150px;float:left" class="TrimText completionrow">'+e[3]+'</div></div><div class="data_sep"></div>';break;case Mode.Forex:a='<div style="font-size:10px;padding-left:5px;padding-right:5px">'+e[0].split("|")[0]+'</div><div class="data_sep"></div>';break}return a}function formatResult(b,a){switch(b){case Mode.Tag:return a[0].replace(/(<.+?>)/gi,"");break;case Mode.Instrument:return a[2]+":"+a[4];break;case Mode.ExtendedInstrument:return a[2]+":"+a[4];break;case Mode.Users:return a[1].replace(/(<.+?>)/gi,"");break;case Mode.Multiple:return a[3];break}}function autocomplete_onResult(event,data,formatted,extraParam){if(this.id!=activeControl[0].id){return}var textBox=jQuery(this);var isGamePortfolio=eval(textBox.attr("isgameportfolio"));var controlPrefix=this.id.substring(0,this.id.length-8);var singleMode=textBox.attr("singlemode");var convertTextBoxToList=textBox.attr("converttextboxtolist");var searchMode=textBox.attr("searchmode");var mode=textBox.attr("mode");var outputList=jQuery("#"+controlPrefix+"_divOutput");var hiddenValue=jQuery("#"+controlPrefix+"_hiddenValue");var getValue;if(data.length==2){getValue=data}else{getValue=data[3]}if(singleMode){textBox.val("");if(convertTextBoxToList){textBox.hide();outputList.show()}if(mode==Mode.Forex){var instrumentId=data[0].split("|")[1];window.location.href="/currency/overview.aspx?id="+instrumentId}if(mode==Mode.Tag){if(convertTextBoxToList){outputList.html(outputList.html()+'<span id="'+formatted+'">'+formatted+'&nbsp;<a id="tag_'+formatted+'" style="cursor:default">X</a><br/></span>')}}else{if(mode==Mode.Instrument){hiddenValue.val(getValue);if(convertTextBoxToList){outputList.html('<span id="'+data[3]+'">'+data[2]+":"+data[4]+'&nbsp;<a id="instrument_'+data[3]+'" style="cursor:default">X</a><br/></span>');jQuery("a[id=instrument_"+data[3]+"]").bind("click",RemoveElement)}}else{if(mode==Mode.Users){hiddenValue.val(getValue);if(convertTextBoxToList){outputList.html('<span id="'+data[1]+'">'+data[1]+'&nbsp;<a id="user_'+data[1]+'" style="cursor:default">X</a><br/></span>');jQuery("a[id=user_"+data[1]+"]").bind("click",RemoveElement)}}else{if(mode==Mode.ExtendedInstrument){if(isGamePortfolio){EI.Global.loadTradeOverlay(4,0,getValue)}else{window.location="/portfolio/edittrades.aspx?ptfno="+querySt("ptfno")+"&iid="+getValue}}else{if(mode==Mode.ExtendedInstrumentWatchList){}}}}}if(textBox.attr("ac_callback")!=null&&textBox.attr("ac_callback")!="undefined"&&textBox.attr("ac_callback")!=""){if(typeof(extraParam)!="undefined"){textBox.trigger(textBox.attr("event"),[data,extraParam])}else{textBox.trigger(textBox.attr("event"),[data])}}}else{if(mode==Mode.Tag){}else{if(mode==Mode.Instrument){if(hiddenValue.val()!=""){hiddenValue.val(hiddenValue.val()+","+getValue)}else{hiddenValue.val(getValue)}}else{if(mode==Mode.Users){if(hiddenValue.val()!=""){var existingText=hiddenValue.val();if(existingText.indexOf(getValue[0])==-1){hiddenValue.val(hiddenValue.val()+","+getValue[0])}else{jQuery(this).val(jQuery.trim(removeSubstring(jQuery(this).val(),data[1])))}}else{hiddenValue.val(getValue[0])}}else{if(mode==Mode.Multiple||mode==Mode.ExtendedInstrument){if(searchMode){if(mode==Mode.ExtendedInstrument){event.preventDefault();window.location.href="/stock/overview.aspx?id="+data[3];return false}ac_multipleSearchPerformed=true;window.location.href="/search/default.aspx?q="+data[3]+"&type="+data[0]+"&id="+data[4];event.preventDefault()}else{var url=window.top.location.toString().replace("investors.aspx","investorsearchresult.aspx");if(url.indexOf("?")!=-1){url=url+"&facet="+escape(data[0])+"%23"+escape(data[2])}else{url=url+"?facet="+escape(data[0])+"%23"+escape(data[2])}window.location=url}}}}}}}function autocomplete_onKeyup(a){setTimeout(function(c){var b=jQuery(this).attr("searchmode");if(b){if(c.keyCode==13&&!ac_multipleSearchPerformed){c.preventDefault();jQuery(this).attr("searchmode","false");jQuery("#search_button").trigger("mousedown")}}},100)}function autocomplete_onFocus(){activeControl=jQuery(this);if(this.value==textBoxDefaultText){jQuery(this).val("");jQuery(this).removeClass("TextBoxDefault")}}function autocomplete_onBlur(){var a=jQuery(this).attr("mode");if(a==Mode.Instrument||a==Mode.ExtendedInstrument||a==Mode.ExtendedInstrumentWatchList||a==Mode.Users){if(this.value==""){jQuery(this).val(textBoxDefaultText);jQuery(this).addClass("TextBoxDefault")}}}function autocomplete_onBindEvents(){var textBox=jQuery(this);var selectFirst=textBox.attr("selectfirst");var mode=textBox.attr("mode");var width=351;var rightAlignDropDown=false;var additionalDropdownOffset=0;var matchContains=eval(textBox.attr("matchcontains"));var matchSubset=eval(textBox.attr("matchsubset"));if(mode!=null&&mode!="undefined"&&mode!=""){if(mode==Mode.ExtendedInstrument||mode==Mode.ExtendedInstrumentWatchList){width=420;selectFirst=true}}var limit=eval(textBox.attr("limit"));if(!(limit>0)){limit=10}if(textBox.attr("ac_callback")!=null&&typeof(textBox.attr("ac_callback"))!="undefined"&&textBox.attr("ac_callback")!=""){textBox.bind(textBox.attr("event"),eval(textBox.attr("ac_callback")))}if(textBox.attr("rightaligndropdown")!=null&&typeof(textBox.attr("rightaligndropdown"))!="undefined"&&textBox.attr("rightaligndropdown")!=""){rightAlignDropDown=textBox.attr("rightaligndropdown")}if(textBox.attr("additionaldropdownoffset")!=null&&typeof(textBox.attr("additionaldropdownoffset"))!="undefined"&&textBox.attr("additionaldropdownoffset")!=""){additionalDropdownOffset=parseInt(textBox.attr("additionaldropdownoffset"))}jQuery(this).autocomplete("",{width:width,multiple:true,matchContains:matchContains,matchSubset:matchSubset,scroll:false,formatItem:formatItem,delay:1,formatResult:formatResult,formatHeader:formatHeader,formatMatch:formatMatch,isAsync:ac_isAsyncPostback,selectFirst:selectFirst,rightAlignDropDown:rightAlignDropDown,additionalDropdownOffset:additionalDropdownOffset,max:limit})}function BindAutoCompleterEvents(a){ac_isAsyncPostback=a;jQuery("input[id*=_textbox]").each(function(){jQuery(this).blur(autocomplete_onBlur);jQuery(this).focus(autocomplete_onFocus);jQuery(this).keyup(autocomplete_onKeyup);jQuery(this).result(autocomplete_onResult);jQuery(this).each(autocomplete_onBindEvents)})}function RemoveElement(f){var d=f.target.id;var b;if(f.srcElement){b=f.srcElement.parentElement.parentElement.id}else{b=f.target.parentNode.parentNode.id}var c=b.substring(0,b.length-10);var a=jQuery(f).attr("mode");jQuery("#"+d).remove();if(a==Mode.Instrument){jQuery("#"+c+"_textbox").val(textBoxDefaultText);jQuery("#"+c+"_textbox").addClass("TextBoxDefault")}jQuery("#"+c+"_hiddenValue").val("");jQuery("#"+c+"_textbox").show();jQuery("#"+c+"_divOutput").hide()}function removeSubstring(a,b){a=","+a+",";a=a.split(","+b+",").join(",");a=a.substring(1,a.length-1);return a};var swfobject=function(){var aa="undefined",aj="object",aI="Shockwave Flash",aM="ShockwaveFlash.ShockwaveFlash",ai="application/x-shockwave-flash",aH="SWFObjectExprInst",ae="onreadystatechange",aU=window,ar=document,al=navigator,aJ=false,aK=[ap],ax=[],aT=[],aO=[],au,aG,ab,Y,aP=false,ay=false,aw,ad,av=true,aS=function(){var g=typeof ar.getElementById!=aa&&typeof ar.getElementsByTagName!=aa&&typeof ar.createElement!=aa,d=al.userAgent.toLowerCase(),e=al.platform.toLowerCase(),k=e?/win/.test(e):/win/.test(d),i=e?/mac/.test(e):/mac/.test(d),a=/webkit/.test(d)?parseFloat(d.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,c=!+"\v1",b=[0,0,0],h=null;if(typeof al.plugins!=aa&&typeof al.plugins[aI]==aj){h=al.plugins[aI].description;if(h&&!(typeof al.mimeTypes!=aa&&al.mimeTypes[ai]&&!al.mimeTypes[ai].enabledPlugin)){aJ=true;c=false;h=h.replace(/^.*\s+(\S+\s+\S+$)/,"$1");b[0]=parseInt(h.replace(/^(.*)\..*$/,"$1"),10);b[1]=parseInt(h.replace(/^.*\.(.*)\s.*$/,"$1"),10);b[2]=/[a-zA-Z]/.test(h)?parseInt(h.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof aU.ActiveXObject!=aa){try{var j=new ActiveXObject(aM);if(j){h=j.GetVariable("$version");if(h){c=true;h=h.split(" ")[1].split(",");b=[parseInt(h[0],10),parseInt(h[1],10),parseInt(h[2],10)]}}}catch(f){}}}return{w3:g,pv:b,wk:a,ie:c,win:k,mac:i}}(),at=function(){if(!aS.w3){return}if((typeof ar.readyState!=aa&&ar.readyState=="complete")||(typeof ar.readyState==aa&&(ar.getElementsByTagName("body")[0]||ar.body))){aD()}if(!aP){if(typeof ar.addEventListener!=aa){ar.addEventListener("DOMContentLoaded",aD,false)}if(aS.ie&&aS.win){ar.attachEvent(ae,function(){if(ar.readyState=="complete"){ar.detachEvent(ae,arguments.callee);aD()}});if(aU==top){(function(){if(aP){return}try{ar.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}aD()})()}}if(aS.wk){(function(){if(aP){return}if(!/loaded|complete/.test(ar.readyState)){setTimeout(arguments.callee,0);return}aD()})()}ak(aD)}}();function aD(){if(aP){return}try{var d=ar.getElementsByTagName("body")[0].appendChild(Z("span"));d.parentNode.removeChild(d)}catch(a){return}aP=true;var b=aK.length;for(var c=0;c<b;c++){aK[c]()}}function aQ(a){if(aP){a()}else{aK[aK.length]=a}}function ak(b){if(typeof aU.addEventListener!=aa){aU.addEventListener("load",b,false)}else{if(typeof ar.addEventListener!=aa){ar.addEventListener("load",b,false)}else{if(typeof aU.attachEvent!=aa){aq(aU,"onload",b)}else{if(typeof aU.onload=="function"){var a=aU.onload;aU.onload=function(){a();b()}}else{aU.onload=b}}}}}function ap(){if(aJ){aL()}else{aN()}}function aL(){var b=ar.getElementsByTagName("body")[0];var d=Z(aj);d.setAttribute("type",ai);var a=b.appendChild(d);if(a){var c=0;(function(){if(typeof a.GetVariable!=aa){var e=a.GetVariable("$version");if(e){e=e.split(" ")[1].split(",");aS.pv=[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10)]}}else{if(c<10){c++;setTimeout(arguments.callee,10);return}}b.removeChild(d);a=null;aN()})()}else{aN()}}function aN(){var b=ax.length;if(b>0){for(var a=0;a<b;a++){var e=ax[a].id;var i=ax[a].callbackFn;var h={success:false,id:e};if(aS.pv[0]>0){var l=aA(e);if(l){if(ac(ax[a].swfVersion)&&!(aS.wk&&aS.wk<312)){ao(e,true);if(i){h.success=true;h.ref=ag(e);i(h)}}else{if(ax[a].expressInstall&&X()){var g={};g.data=ax[a].expressInstall;g.width=l.getAttribute("width")||"0";g.height=l.getAttribute("height")||"0";if(l.getAttribute("class")){g.styleclass=l.getAttribute("class")}if(l.getAttribute("align")){g.align=l.getAttribute("align")}var d={};var c=l.getElementsByTagName("param");var j=c.length;for(var k=0;k<j;k++){if(c[k].getAttribute("name").toLowerCase()!="movie"){d[c[k].getAttribute("name")]=c[k].getAttribute("value")}}aF(g,d,e,i)}else{ah(l);if(i){i(h)}}}}}else{ao(e,true);if(i){var f=ag(e);if(f&&typeof f.SetVariable!=aa){h.success=true;h.ref=f}i(h)}}}}}function ag(d){var b=null;var c=aA(d);if(c&&c.nodeName=="OBJECT"){if(typeof c.SetVariable!=aa){b=c}else{var a=c.getElementsByTagName(aj)[0];if(a){b=a}}}return b}function X(){return !ay&&ac("6.0.65")&&(aS.win||aS.mac)&&!(aS.wk&&aS.wk<312)}function aF(d,e,a,c){ay=true;ab=c||null;Y={success:false,id:a};var h=aA(a);if(h){if(h.nodeName=="OBJECT"){au=aE(h);aG=null}else{au=h;aG=a}d.id=aH;if(typeof d.width==aa||(!/%$/.test(d.width)&&parseInt(d.width,10)<310)){d.width="310"}if(typeof d.height==aa||(!/%$/.test(d.height)&&parseInt(d.height,10)<137)){d.height="137"}ar.title=ar.title.slice(0,47)+" - Flash Player Installation";var g=aS.ie&&aS.win?"ActiveX":"PlugIn",f="MMredirectURL="+aU.location.toString().replace(/&/g,"%26")+"&MMplayerType="+g+"&MMdoctitle="+ar.title;if(typeof e.flashvars!=aa){e.flashvars+="&"+f}else{e.flashvars=f}if(aS.ie&&aS.win&&h.readyState!=4){var b=Z("div");a+="SWFObjectNew";b.setAttribute("id",a);h.parentNode.insertBefore(b,h);h.style.display="none";(function(){if(h.readyState==4){h.parentNode.removeChild(h)}else{setTimeout(arguments.callee,10)}})()}am(d,e,a)}}function ah(b){if(aS.ie&&aS.win&&b.readyState!=4){var a=Z("div");b.parentNode.insertBefore(a,b);a.parentNode.replaceChild(aE(b),a);b.style.display="none";(function(){if(b.readyState==4){b.parentNode.removeChild(b)}else{setTimeout(arguments.callee,10)}})()}else{b.parentNode.replaceChild(aE(b),b)}}function aE(e){var d=Z("div");if(aS.win&&aS.ie){d.innerHTML=e.innerHTML}else{var b=e.getElementsByTagName(aj)[0];if(b){var f=b.childNodes;if(f){var a=f.length;for(var c=0;c<a;c++){if(!(f[c].nodeType==1&&f[c].nodeName=="PARAM")&&!(f[c].nodeType==8)){d.appendChild(f[c].cloneNode(true))}}}}}return d}function am(g,b,e){var d,h=aA(e);if(aS.wk&&aS.wk<312){return d}if(h){if(typeof g.id==aa){g.id=e}if(aS.ie&&aS.win){var f="";for(var l in g){if(g[l]!=Object.prototype[l]){if(l.toLowerCase()=="data"){b.movie=g[l]}else{if(l.toLowerCase()=="styleclass"){f+=' class="'+g[l]+'"'}else{if(l.toLowerCase()!="classid"){f+=" "+l+'="'+g[l]+'"'}}}}}var a="";for(var k in b){if(b[k]!=Object.prototype[k]){a+='<param name="'+k+'" value="'+b[k]+'" />'}}h.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+f+">"+a+"</object>";aT[aT.length]=g.id;d=aA(g.id)}else{var c=Z(aj);c.setAttribute("type",ai);for(var j in g){if(g[j]!=Object.prototype[j]){if(j.toLowerCase()=="styleclass"){c.setAttribute("class",g[j])}else{if(j.toLowerCase()!="classid"){c.setAttribute(j,g[j])}}}}for(var i in b){if(b[i]!=Object.prototype[i]&&i.toLowerCase()!="movie"){aC(c,i,b[i])}}h.parentNode.replaceChild(c,h);d=c}}return d}function aC(d,b,c){var a=Z("param");a.setAttribute("name",b);a.setAttribute("value",c);d.appendChild(a)}function af(b){var a=aA(b);if(a&&a.nodeName=="OBJECT"){if(aS.ie&&aS.win){a.style.display="none";(function(){if(a.readyState==4){az(b)}else{setTimeout(arguments.callee,10)}})()}else{a.parentNode.removeChild(a)}}}function az(c){var b=aA(c);if(b){for(var a in b){if(typeof b[a]=="function"){b[a]=null}}b.parentNode.removeChild(b)}}function aA(c){var a=null;try{a=ar.getElementById(c)}catch(b){}return a}function Z(a){return ar.createElement(a)}function aq(c,a,b){c.attachEvent(a,b);aO[aO.length]=[c,a,b]}function ac(c){var b=aS.pv,a=c.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return(b[0]>a[0]||(b[0]==a[0]&&b[1]>a[1])||(b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]))?true:false}function an(f,b,g,e){if(aS.ie&&aS.mac){return}var d=ar.getElementsByTagName("head")[0];if(!d){return}var a=(g&&typeof g=="string")?g:"screen";if(e){aw=null;ad=null}if(!aw||ad!=a){var c=Z("style");c.setAttribute("type","text/css");c.setAttribute("media",a);aw=d.appendChild(c);if(aS.ie&&aS.win&&typeof ar.styleSheets!=aa&&ar.styleSheets.length>0){aw=ar.styleSheets[ar.styleSheets.length-1]}ad=a}if(aS.ie&&aS.win){if(aw&&typeof aw.addRule==aj){aw.addRule(f,b)}}else{if(aw&&typeof ar.createTextNode!=aa){aw.appendChild(ar.createTextNode(f+" {"+b+"}"))}}}function ao(c,a){if(!av){return}var b=a?"visible":"hidden";if(aP&&aA(c)){aA(c).style.visibility=b}else{an("#"+c,"visibility:"+b)}}function aR(b){var c=/[\\\"<>\.;]/;var a=c.exec(b)!=null;return a&&typeof encodeURIComponent!=aa?encodeURIComponent(b):b}var aB=function(){if(aS.ie&&aS.win){window.attachEvent("onunload",function(){var f=aO.length;for(var e=0;e<f;e++){aO[e][0].detachEvent(aO[e][1],aO[e][2])}var c=aT.length;for(var d=0;d<c;d++){af(aT[d])}for(var b in aS){aS[b]=null}aS=null;for(var a in swfobject){swfobject[a]=null}swfobject=null})}}();return{registerObject:function(e,b,d,a){if(aS.w3&&e&&b){var c={};c.id=e;c.swfVersion=b;c.expressInstall=d;c.callbackFn=a;ax[ax.length]=c;ao(e,false)}else{if(a){a({success:false,id:e})}}},getObjectById:function(a){if(aS.w3){return ag(a)}},embedSWF:function(h,d,k,b,e,g,f,j,a,i){var c={success:false,id:d};if(aS.w3&&!(aS.wk&&aS.wk<312)&&h&&d&&k&&b&&e){ao(d,false);aQ(function(){k+="";b+="";var m={};if(a&&typeof a===aj){for(var o in a){m[o]=a[o]}}m.data=h;m.width=k;m.height=b;var p={};if(j&&typeof j===aj){for(var n in j){p[n]=j[n]}}if(f&&typeof f===aj){for(var l in f){if(typeof p.flashvars!=aa){p.flashvars+="&"+l+"="+f[l]}else{p.flashvars=l+"="+f[l]}}}if(ac(e)){var q=am(m,p,d);if(m.id==d){ao(d,true)}c.success=true;c.ref=q}else{if(g&&X()){m.data=g;aF(m,p,d,i);return}else{ao(d,true)}}if(i){i(c)}})}else{if(i){i(c)}}},switchOffAutoHideShow:function(){av=false},ua:aS,getFlashPlayerVersion:function(){return{major:aS.pv[0],minor:aS.pv[1],release:aS.pv[2]}},hasFlashPlayerVersion:ac,createSWF:function(c,b,a){if(aS.w3){return am(c,b,a)}else{return undefined}},showExpressInstall:function(d,a,b,c){if(aS.w3&&X()){aF(d,a,b,c)}},removeSWF:function(a){if(aS.w3){af(a)}},createCSS:function(d,a,c,b){if(aS.w3){an(d,a,c,b)}},addDomLoadEvent:aQ,addLoadEvent:ak,getQueryParamValue:function(d){var a=ar.location.search||ar.location.hash;if(a){if(/\?/.test(a)){a=a.split("?")[1]}if(d==null){return aR(a)}var c=a.split("&");for(var b=0;b<c.length;b++){if(c[b].substring(0,c[b].indexOf("="))==d){return aR(c[b].substring((c[b].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(ay){var a=aA(aH);if(a&&au){a.parentNode.replaceChild(au,a);if(aG){ao(aG,true);if(aS.ie&&aS.win){au.style.display="block"}}if(ab){ab(Y)}}ay=false}}}}();EAS_flash = 1;
EAS_proto = "http:";
if (location.protocol == "https:") {
   EAS_proto = "https:";
}
if (document.getElementById) {
   EAS_dom = true;
} else {
   EAS_dom = false;
}
EAS_server = EAS_proto + "//eas4.emediate.eu";

function EAS_load(url) {
	document.write('<scr' + 'ipt language="JavaScript" src="' + url + '"></sc' + 'ript>');
}

function EAS_init(pages, parameters) {
	var EAS_ord=new Date().getTime();
	var EAS_url = EAS_server + "/eas?target=_blank&EASformat=jsvars&EAScus=" + pages + "&ord=" + EAS_ord;

	EAS_detect_flash();

	EAS_url += "&EASflash=" + EAS_flash;

	if (parameters) EAS_url += "&" + parameters;

	EAS_load(EAS_url);

	return;
}

function EAS_detect_flash() {
   if (EAS_flash > 1) return;

	var maxVersion = 11;
	var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
	var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
	var isWin = (navigator.appVersion.indexOf("Windows") != -1) ? true : false;

	// write vbscript detection if we're not on mac.
	if(isIE && isWin && !isOpera){ 
		document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
		document.write('on error resume next \nDim eas_flobj(' + maxVersion + ') \n');
		for (i = 2; i < maxVersion; i++) {
			document.write('Set eas_flobj(' + i + ') = CreateObject("ShockwaveFlash.ShockwaveFlash.' + i + '") \n');
			document.write('if(IsObject(eas_flobj(' + i + '))) Then EAS_flash='+i+' \n');
		}
		document.write('</SCR' + 'IPT\> \n'); // break up end tag so it doesn't end our script
	} else if (navigator.plugins) {
		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]){

			var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
			var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;
			var flashVersion = parseInt(flashDescription.substr(flashDescription.indexOf(".") - 2, 2), 10);

			if (flashVersion > 1) EAS_flash = flashVersion;
		}
	}

	// alert("Version is " + EAS_flash);

}

function EAS_show_flash(width, height, src, extra) {
   var EAS_args = [];
   if (extra) EAS_args = extra.split(",");

   document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + width + '" height="' + height + '"><param name=src value=' + src + '>');
   for (i = 0; i < EAS_args.length; i++) {
      EAS_eq = EAS_args[i].indexOf('=');
      EAS_nv0 = EAS_args[i].substring(0, EAS_eq );
      EAS_nv1 = EAS_args[i].substring(EAS_eq+1, EAS_args[i].length);
      document.write('<param name="' + EAS_nv0 + '" value="' + EAS_nv1 + '">');
   }
   document.write('<embed src="' + src + '" width="' + width + '" height="' + height + '" type="application/x-shockwave-flash"');
   for (i = 0; i < EAS_args.length; i++) {
      EAS_eq = EAS_args[i].indexOf('=');
      EAS_nv0 = EAS_args[i].substring(0, EAS_eq );
      EAS_nv1 = EAS_args[i].substring(EAS_eq+1, EAS_args[i].length);

      document.write(' ' + EAS_nv0 + '="' + EAS_nv1 + '"');
   }
   document.write('></embed></object>');
}

function EAS_embed_flash(width, height, src, params, flashvars, events, eventurl) {
   var par = "";

   if (params) {
      var args = [];
      var eq, nv0, nv1;
      args = params.split(',');
      for (i = 0; i < args.length; i++) {
         eq = args[i].indexOf('=');
         nv0 = args[i].substring(0, eq);
         nv1 = args[i].substring(eq + 1, args[i].length);
         if (nv0.toLowerCase() == 'flashvars')
            flashvars += (flashvars ? "&" : "") + nv1;
         else
            par += '<param name="' + nv0 + '" value="' + nv1 + '" />';
      }
   }

   if (events && eventurl) {
      var args = [];
      args = events.split(",");
      for (i = 0; i < args.length; i++) {
         flashvars += (flashvars ? "&" : "") + args[i] + "=" + eventurl + args[i];
      }
   }

   if (flashvars)
      par += '<param name="FlashVars" value="' + flashvars + '" />';

   document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + width + '" height="' + height + '"><param name="movie" value="' + src + '" />');
   if (params) document.write(par);

   document.write('<!--[if !IE]>-->');
   document.write('<object type="application/x-shockwave-flash" data="' + src + '" width="' + width + '" height="' + height + '">');
   if (params) document.write(par);
   document.write('</object>');
   document.write('<!--<![endif]-->');

   document.write('</object>');

   return;
}

function EAS_statistics() {

   var t = new Date();
   var EAS_time = t.getTime();
   var bWidth = 0;
   var bHeight = 0;
   var cdepth = 0;
   var plugins = "";
   var tmz = t.getTimezoneOffset() / 60;
   if (navigator.plugins) {
      var p = navigator.plugins;
      var pArr = new Array();
      for (var i = 0; i < p.length; i++) {
         if (p[i].name.indexOf("RealPlayer") != -1) pArr[0] = 1;
         else if (p[i].name.indexOf("Adobe Reader") != -1) pArr[1] = 1;
         else if (p[i].name.indexOf("Adobe Acrobat") != -1) pArr[1] = 1;
         else if (p[i].name.indexOf("Windows Media Player") != -1) pArr[2] = 1;
         else if (p[i].name.indexOf("QuickTime") != -1) pArr[3] = 1;
      }
      for (var i = 0; i < 4; i++) if (pArr[i]) plugins += i + ",";
   }

   if (typeof(EAS_cu) == "undefined") return;
   if (EAS_flash == 1) EAS_detect_flash();

   if (screen && screen.colorDepth) cdepth = screen.colorDepth;

   if (document.body && document.body.clientHeight > 50) {
      bWidth = document.body.clientWidth;
      bHeight = document.body.clientHeight;
   } else if (document.documentElement && document.documentElement.clientHeight > 50) {
      bWidth = document.documentElement.clientWidth;
      bHeight = document.documentElement.clientHeight;
   } else if (typeof(window.innerHeight == 'number')) {
      bWidth = window.innerWidth;
      bHeight = window.innerHeight;
   }

   var EAS_stat_tag = EAS_server + '/eas?cu=' + EAS_cu + ';ord=' + EAS_time;
   EAS_stat_tag += ';logrest=width=' + screen.width + ';height=' + screen.height + ';bwidth=' + bWidth + ';bheight=' + bHeight + ';time=' + t.getHours() + ":" + t.getMinutes() + ":" + t.getSeconds();
   EAS_stat_tag += ";tmz=" + tmz;
   if (EAS_flash > 2) EAS_stat_tag += ';flash=' + EAS_flash;
   if (typeof(EAS_page) != "undefined") EAS_stat_tag += ';page=' + EAS_page;
   if (typeof(java) != "undefined" && java.installed) EAS_stat_tag += ';jversion=' + java.lang.System.getProperty("java.version");
   if (typeof(EAS_jsversion) != "undefined") EAS_stat_tag += ';jsversion=' + EAS_jsversion;
   if (cdepth) EAS_stat_tag += ';cdepth=' + cdepth;
   if (plugins) EAS_stat_tag += ';plugins=' + plugins;
   if (document.referrer) EAS_stat_tag += ';ref=' + escape(document.referrer);
   if (document.location) EAS_stat_tag += ';url=' + escape(document.location);
   if (typeof(EAS_capture) != "undefined") EAS_stat_tag += ';EAScapture=' + escape(EAS_capture);

   document.write('<img width="1" height="1" src="' + EAS_stat_tag + '">');
}

function EAS_duplicate(cu, expires) {
   var cookie_arr = document.cookie.split('; ');
   var nv_arr;
   var cu_arr;
   var duplicate = 0;
   var found_cu = 0;
   var now = Math.round(new Date().getTime() / 1000);
   var new_cookie = "";
   if (cookie_arr.length > 0) {
      for (var i = 0; i < cookie_arr.length; i++) {
         nv_arr = cookie_arr[i].split('=');
         if (nv_arr[0] == 'eas_dup') {
            cu_arr = nv_arr[1].split(':');
            for (var j = 0; j < cu_arr.length; j++) {
               cu_val = cu_arr[j].split('_');
               if (now - cu_val[1] < expires) {
                  if (cu_val[0] == cu) {
                     found_cu = 1;
                     duplicate = 1;
                     break;
                  } else {
                     if (new_cookie) new_cookie += ":";
                     new_cookie += cu_arr[j];
                  }
               }
            }
            break;
         }
      }
   }

   if (!duplicate) {
      if (!found_cu) {
         if (new_cookie) new_cookie += ":";
         new_cookie += cu + "_" + now;
      }
      document.cookie = "eas_dup=" + new_cookie + "; path=/; expires=Mon, 16-Mar-20 01:00:00 GMT;";
   }
   if (duplicate) return true;
   return false;
}

function EAS_place_ad(cus, EAS_options) {
   if(!EAS_dom) return;
   var set_size = 1;
   var safe_log = 0;
   var move_pos = 1;
   if (EAS_options) {
      var EAS_options_arr = EAS_options.split(",");
      for (var i = 0; i < EAS_options_arr.length; i++) {
         var EAS_temp = EAS_options_arr[i].split("=");
         var EAS_temp_val = 0;
         if (EAS_temp[1] == "1" || EAS_temp[1] == "y" || EAS_temp[1] == "yes") {
            EAS_temp_val = 1;
         }
         if (EAS_temp[0] == "set_size") set_size = EAS_temp_val;
         else if (EAS_temp[0] == "safe_log") safe_log = EAS_temp_val;
         else if (EAS_temp[0] == "move_pos") move_pos = EAS_temp_val;
      }
   }

   var EAS_cu_arr = cus.split(",");
   for (var i = 0; i < EAS_cu_arr.length; i++) {
      var EAS_cu = EAS_cu_arr[i];
      if (set_size || move_pos) {
         var EAS_temp = "EAS_position_" + EAS_cu;
         var EAS_div_position = document.getElementById(EAS_temp);
         if (EAS_div_position) {
            EAS_temp = "EAS_tag_" + EAS_cu;
            var EAS_div_tag = document.getElementById(EAS_temp);
            if (EAS_div_tag) {
               if (set_size) {
                  var EAS_width = eval("EAS_found_width_" + EAS_cu);
                  var EAS_height = eval("EAS_found_height_" + EAS_cu);
                  if (EAS_width && EAS_height) {
                     EAS_div_position.style.width = EAS_width + "px";
                     EAS_div_position.style.height = EAS_height + "px";
                  }
               }
               if (move_pos) {
                  var EAS_pos_top = EAS_pos_left = 0;
                  var EAS_pos_obj = EAS_div_position;
                  if (EAS_pos_obj.offsetParent) {
                     do {
                        EAS_pos_top += EAS_pos_obj.offsetTop;
                        EAS_pos_left += EAS_pos_obj.offsetLeft;
                     } while (EAS_pos_obj = EAS_pos_obj.offsetParent);
                     EAS_div_tag.style.position = "absolute";
                     EAS_div_tag.style.top = EAS_pos_top + "px";
                     EAS_div_tag.style.left = EAS_pos_left + "px";
                  }
               }
               EAS_div_tag.style.display = "block";
            }
         }
      }
      if (safe_log) {
         var confirm_img_src = eval("EAS_confirm_" + EAS_cu);
         if (confirm_img_src) {
            var confirm_img = new Image(1,1);
            confirm_img.src = confirm_img_src;
         }
      }
   }
}
