var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion()
{var version;var axo;var e;try{axo=new ActiveXObject("Shockwaveflash.Shockwaveflash.7");version=axo.GetVariable("$version");}catch(e){}
if(!version)
{try{axo=new ActiveXObject("Shockwaveflash.Shockwaveflash.6");version="WIN 6,0,21,0";axo.AllowScriptAccess="always";version=axo.GetVariable("$version");}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("Shockwaveflash.Shockwaveflash.3");version=axo.GetVariable("$version");}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("Shockwaveflash.Shockwaveflash.3");version="WIN 3,0,18,0";}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("Shockwaveflash.Shockwaveflash");version="WIN 2,0,0,11";}catch(e){version=-1;}}
return version;}
function GetSwfVer(){var flashVer=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave flash 2.0"]||navigator.plugins["Shockwave flash"]){var swVer2=navigator.plugins["Shockwave flash 2.0"]?" 2.0":"";var flashDescription=navigator.plugins["Shockwave flash"+swVer2].description;var descArray=flashDescription.split(" ");var tempArrayMajor=descArray[2].split(".");var versionMajor=tempArrayMajor[0];var versionMinor=tempArrayMajor[1];var versionRevision=descArray[3];if(versionRevision==""){versionRevision=descArray[4];}
if(versionRevision[0]=="d"){versionRevision=versionRevision.substring(1);}else if(versionRevision[0]=="r"){versionRevision=versionRevision.substring(1);if(versionRevision.indexOf("d")>0){versionRevision=versionRevision.substring(0,versionRevision.indexOf("d"));}}
var flashVer=versionMajor+"."+versionMinor+"."+versionRevision;}}
else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1)flashVer=4;else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1)flashVer=3;else if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1)flashVer=2;else if(isIE&&isWin&&!isOpera){flashVer=ControlVersion();}
return flashVer;}
function DetectflashVer(reqMajorVer,reqMinorVer,reqRevision)
{versionStr=GetSwfVer();if(versionStr==-1){return false;}else if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",");}else{versionArray=versionStr.split(".");}
var versionMajor=versionArray[0];var versionMinor=versionArray[1];var versionRevision=versionArray[2];if(versionMajor>parsefloat(reqMajorVer)){return true;}else if(versionMajor==parsefloat(reqMajorVer)){if(versionMinor>parsefloat(reqMinorVer))
return true;else if(versionMinor==parsefloat(reqMinorVer)){if(versionRevision>=parsefloat(reqRevision))
return true;}}
return false;}}
function AC_AddExtension(src,ext)
{if(src.indexOf('?')!=-1)
return src.replace(/\?/,ext+'?');else
return src+ext;}
function AC_Generateobj(objAttrs,params,embedAttrs)
{var str='';if(isIE&&isWin&&!isOpera)
{str+='<object ';for(var i in objAttrs)
{str+=i+'="'+objAttrs[i]+'" ';}
str+='>';for(var i in params)
{str+='<param name="'+i+'" value="'+params[i]+'" /> ';}
str+='</object>';}
else
{str+='<embed ';for(var i in embedAttrs)
{str+=i+'="'+embedAttrs[i]+'" ';}
str+='> </embed>';}
document.write(str);}
function AC_fl_RunContent(){var ret=AC_GetArgs
(arguments,"","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs);}
function AC_SW_RunContent(){var ret=AC_GetArgs
(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs);}
function AC_GetArgs(args,ext,srcParamName,classid,mimeType){var ret=new Object();ret.embedAttrs=new Object();ret.params=new Object();ret.objAttrs=new Object();for(var i=0;i<args.length;i=i+2){var currArg=args[i].toLowerCase();switch(currArg){case"classid":break;case"pluginspage":ret.embedAttrs[args[i]]=args[i+1];break;case"src":case"movie":args[i+1]=AC_AddExtension(args[i+1],ext);ret.embedAttrs["src"]=args[i+1];ret.params[srcParamName]=args[i+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblclick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":case"id":ret.objAttrs[args[i]]=args[i+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":ret.embedAttrs[args[i]]=ret.objAttrs[args[i]]=args[i+1];break;default:ret.embedAttrs[args[i]]=ret.params[args[i]]=args[i+1];}}
ret.objAttrs["classid"]=classid;if(mimeType)ret.embedAttrs["type"]=mimeType;return ret;}
(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o<i;o++)e(a[o],b,f?d.call(a[o],o,e(a[o],b)):d,j);return a}return i?e(a[0],b):w}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveFired=this;var u=i.live.slice(0);for(k=0;k<u.length;k++){i=u[k];i.origType.replace(O,"")===a.type?f.push(i.selector):u.splice(k--,1)}j=c(a.target).closest(f,a.currentTarget);n=0;for(r=j.length;n<r;n++)for(k=0;k<u.length;k++){i=u[k];if(j[n].selector===i.selector){o=j[n].elem;f=null;if(i.preType==="mouseenter"||i.preType==="mouseleave")f=c(a.relatedTarget).closest(i.selector)[0];if(!f||f!==o)d.push({elem:o,handleObj:i})}}n=0;for(r=d.length;n<r;n++){j=d[n];a.currentTarget=j.elem;a.data=j.handleObj.data;a.handleObj=j.handleObj;if(j.handleObj.origHandler.apply(j.elem,e)===false){b=false;break}}return b}}function pa(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,"&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}function sa(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:s;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test(a[0]))){e=true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ra=A.jQuery,Sa=A.$,s=A.document,T,Ta=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/,Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this,a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b==="find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(j in e){i=a[j];o=e[j];if(a!==o)if(f&&o&&(c.isPlainObject(o)||c.isArray(o))){i=i&&(c.isPlainObject(i)||c.isArray(i))?i:c.isArray(o)?[]:{};a[j]=c.extend(f,i,o)}else if(o!==w)a[j]=o}return a};c.extend({noConflict:function(a){A.$=Sa;if(a)A.jQuery=Ra;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,13);c.isReady=true;if(Q){for(var a,b=0;a=Q[b++];)a.call(s,c);Q=null}c.fn.triggerHandler&&c(s).triggerHandler("ready")}},bindReady:function(){if(!xa){xa=true;if(s.readyState==="complete")return c.ready();if(s.addEventListener){s.addEventListener("DOMContentLoaded",L,false);A.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",L);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&ma()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return $.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||$.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!aa.call(a,"constructor")&&!aa.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return A.JSON&&A.JSON.parse?A.JSON.parse(a):(new Function("return "+
a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,j=a.length,i=j===w||c.isFunction(a);if(d)if(i)for(f in a){if(b.apply(a[f],d)===false)break}else for(;e<j;){if(b.apply(a[e++],d)===false)break}else if(i)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<j&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Wa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ba.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,j=a.length;e<j;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,j=0,i=a.length;j<i;j++){e=b(a[j],j,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=w}else if(b&&!c.isFunction(b)){d=b;b=w}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});P=c.uaMatch(P);if(P.browser){c.browser[P.browser]=true;c.browser.version=P.version}if(c.browser.webkit)c.browser.safari=true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+J();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected,parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent=false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n=s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i,cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className){for(var j=" "+e.className+" ",i=e.className,o=0,k=b.length;o<k;o++)if(j.indexOf(" "+b[o]+" ")<0)i+=" "+b[o];e.className=c.trim(i)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(k){var n=c(this);n.removeClass(a.call(this,k,n.attr("class")))});if(a&&typeof a==="string"||a===w)for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var j=(" "+e.className+" ").replace(Aa," "),i=0,o=b.length;i<o;i++)j=j.replace(" "+b[i]+" "," ");e.className=c.trim(j)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var j=c(this);j.toggleClass(a.call(this,e,j.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,j=0,i=c(this),o=b,k=a.split(ca);e=k[j++];){o=f?o:!i.hasClass(e);i[o?"addClass":"removeClass"](e)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Aa," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j<d;j++){var i=e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return w}var o=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.call(this,k,n.val());if(typeof r==="number")r+="";if(c.isArray(r)&&Ba.test(this.type))this.checked=c.inArray(n.val(),r)>=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split(".");k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a),C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B<r.length;B++){u=r[B];if(d.guid===u.guid){if(i||k.test(u.namespace)){f==null&&r.splice(B--,1);n.remove&&n.remove.call(a,u)}if(f!=null)break}}if(r.length===0||f!=null&&r.length===1){if(!n.teardown||n.teardown.call(a,o)===false)Ca(a,e,z.handle);delete C[e]}}else for(var B=0;B<r.length;B++){u=r[B];if(i||k.test(u.namespace)){c.event.remove(a,n,u.handler,B);r.splice(B--,1)}}}if(c.isEmptyObject(C)){if(b=z.handle)b.elem=null;delete z.events;delete z.handle;c.isEmptyObject(z)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[G]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e<j;e++){var i=d[e];if(b||f.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,arguments);if(i!==w){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||s;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=s.documentElement;d=s.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==w)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:oa}))},remove:function(a){var b=true,d=a.origType.replace(O,"");c.each(c.data(this,"events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove(this,a.origType,oa)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ca=s.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y};var Da=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Ea=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ea:Da,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ea:Da)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return na("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return na("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var da=/textarea|input|select/i,ea,Fa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},fa=function(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Fa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",e);if(!(f===w||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var o=this.length;j<o;j++)c.event.add(this[j],d,i,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ga={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,j){var i,o=0,k,n,r=j||this.selector,u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(this,pa(i,r),{data:f,selector:r,handler:e,origType:i,origHandler:e,preType:n})}):u.unbind(pa(i,r),e)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=l;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(k.filter(h,[t]).length>0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift();t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D||g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};k.matches=function(g,h){return k(g,null,null,h)};k.find=function(g,h,l){var m,q;if(!g)return[];for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h,l,m){for(var q=g,p=[],v=h,t,y,S=h&&h[0]&&x(h[0]);g&&h.length;){for(var H in n.filter)if((t=n.leftMatch[H].exec(g))!=null&&t[2]){var M=n.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length-
1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)k.error(g);else break;q=g}return v};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var n=k.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(g){return g.getAttribute("href")}},relative:{"+":function(g,h){var l=typeof h==="string",m=l&&!/\W/.test(h);l=l&&!m;if(m)h=h.toLowerCase();m=0;for(var q=g.length,p;m<q;m++)if(p=g[m]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[m]=l||p&&p.nodeName.toLowerCase()===h?p||false:p===h}l&&k.filter(h,g,true)},">":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m<q;m++){var p=g[m];if(p){l=p.parentNode;g[m]=l.nodeName.toLowerCase()===h?l:false}}}else{m=0;for(q=g.length;m<q;m++)if(p=g[m])g[m]=l?p.parentNode:p.parentNode===h;l&&k.filter(h,g,true)}},"":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("parentNode",h,m,g,p,l)},"~":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,m,g,p,l)}},find:{ID:function(g,h,l){if(typeof h.getElementById!=="undefined"&&!l)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var l=[];h=h.getElementsByName(g[1]);for(var m=0,q=h.length;m<q;m++)h[m].getAttribute("name")===g[1]&&l.push(h[m]);return l.length===0?null:l}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,l,m,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var v;(v=h[p])!=null;p++)if(v)if(q^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m,g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h=h[3];l=0;for(m=h.length;l<m;l++)if(h[l]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+q)},CHILD:function(g,h){var l=h[1],m=g;switch(l){case"only":case"first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(l==="first")return true;m=g;case"last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case"nth":l=h[2];var q=h[3];if(l===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var v=0;for(m=p.firstChild;m;m=m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;p.sizcache=h}g=g.nodeIndex-q;return l===0?g===0:g%l===0&&g/l>=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m==="="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g,h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l<m;l++)h.push(g[l]);else for(l=0;g[l];l++)h.push(g[l]);return h}}var B;if(s.documentElement.compareDocumentPosition)B=function(g,h){if(!g.compareDocumentPosition||!h.compareDocumentPosition){if(g==h)i=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===h?0:1;if(g===0)i=true;return g};else if("sourceIndex"in s.documentElement)B=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)i=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)i=true;return g};else if(s.createRange)B=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)i=true;return g.ownerDocument?-1:1}var l=g.ownerDocument.createRange(),m=h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}:function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)k(g,h[q],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=x;c.contains=E})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/,gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length;c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ia(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j={},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/<tbody/i,jb=/<|&#?\w+;/,ta=/<script|<object|<embed|<option|<style/i,ua=/checked\s*(?:[^=]|=\s*.checked.)/i,Ma=function(a,b,d){return hb.test(d)?a:b+"></"+d+">"},F={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,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja,""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(e){var j=c(this),i=j.html();j.empty().append(function(){return a.call(this,e,i)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function f(u){return c.nodeName(u,"table")?u.getElementsByTagName("tbody")[0]||u.appendChild(u.ownerDocument.createElement("tbody")):u}var e,j,i=a[0],o=[],k;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&ua.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(u){var z=c(this);a[0]=i.call(this,u,b?z.html():w);z.domManip(a,b,d)});if(this[0]){e=i&&i.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:sa(a,this,o);k=e.fragment;if(j=k.childNodes.length===1?(k=k.firstChild):k.firstChild){b=b&&c.nodeName(j,"tr");for(var n=0,r=this.length;n<r;n++)d.call(b?f(this[n],j):this[n],n>0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{e=0;for(var j=d.length;e<j;e++){var i=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["",""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]==="<table>"&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e=c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]?c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=/<script(.|\s)*?\/script>/gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("<div />").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&&e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)?"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B=false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since",c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E||d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x);g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(la[d])f=la[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(K("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(K("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(a,b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var j=c.extend({},e),i,o=this.nodeType===1&&c(this).is(":hidden"),k=this;for(i in a){var n=i.replace(ia,ja);if(i!==n){a[n]=a[i];delete a[i];i=n}if(a[i]==="hide"&&o||a[i]==="show"&&!o)return j.complete.call(this);if((i==="height"||i==="width")&&this.style){j.display=c.css(this,"display");j.overflow=this.style.overflow}if(c.isArray(a[i])){(j.specialEasing=j.specialEasing||{})[i]=a[i][1];a[i]=a[i][0]}}if(j.overflow!=null)this.style.overflow="hidden";j.curAnim=c.extend({},a);c.each(a,function(r,u){var z=new c.fx(k,j,r);if(Ab.test(u))z[u==="toggle"?o?"show":"hide":u](a);else{var C=Bb.exec(u),B=z.cur(true)||0;if(C){u=parseFloat(C[2]);var E=C[3]||"px";if(E!=="px"){k.style[r]=(u||1)+E;B=(u||1)/z.cur(true)*B;k.style[r]=B+E}if(C[1])u=(C[1]==="-="?-1:1)*u+B;z.custom(B,u,E)}else z.custom(B,u,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem,e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in s.documentElement?function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(r){c.offset.setOffset(this,a,r)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,e=b.ownerDocument,j,i=e.documentElement,o=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var k=b.offsetTop,n=b.offsetLeft;(b=b.parentNode)&&b!==o&&b!==i;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;j=e?e.getComputedStyle(b,null):b.currentStyle;k-=b.scrollTop;n-=b.scrollLeft;if(b===d){k+=b.offsetTop;n+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&j.overflow!=="visible"){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=j}if(f.position==="relative"||f.position==="static"){k+=o.offsetTop;n+=o.offsetLeft}if(c.offset.supportsFixedPosition&&f.position==="fixed"){k+=Math.max(i.scrollTop,o.scrollTop);n+=Math.max(i.scrollLeft,o.scrollLeft)}return{top:k,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-
f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in
e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window);$('#print').click(function(){window.print();return false;});$("i.region").click(function(){var rId=$(this).attr('id');var form=$('form#regions');form.append('<input type="hidden" name="rid" value="'+rId+'" />');form.submit();});$(function(){$("#topmenu-in .pop").each(function(){$(this).removeClass("hidden-pop");})
$('#servicemenu .block').hover(function(){$(this).addClass('active');$(this).find('UL').show(150);},function(){$(this).removeClass('active');$('UL',this).hide(150);});});$(function(){$('#topmenu-in>li').each(function(){var pop=$(this).children("div.pop");if(pop.find("a.description").length>0){pop.css('width','347px');}
var menu_width=$('#topmenu').width();var pop_width=pop.width();var li_width=$(this).width();var li_pos=$(this).position();var pop_pos=Math.ceil(li_pos.left+li_width/2-pop_width/2);if(pop_pos<0){pop.css({'left':'-5px','right':'auto'});}else if(pop_width+li_pos.left>menu_width){pop.css({'right':'-10px','left':'auto'});}else{pop.css({'left':pop_pos,'right':'auto'});}
if($(this).find("iframe").size()){var bannerframe=$(this).find("iframe");var ih=bannerframe.contents().find('body').height();if(ih>$(this).find(".in").height()){bannerframe.attr("height",ih+"px");}else{bannerframe.attr("height",$(this).find(".in").height()+"px");}}
pop.hide().css("visibility","visible");})
$('#topmenu-in>li').hover(function(){$("#topmenu-in div.pop").hide();var pop=$(this).children("div.pop");pop.show();pop.find("div.ctc").css("width",pop.width());pop.find("div.cbc").css("width",pop.width());})})
$(function(){$('#topmenu').hover(function(){},function(){$("div.pop").hide();})})
$(function(){$('.b-promo .sh-in').hover(function(){$(this).find('.img').fadeOut(300);$(this).find('.img-wide').fadeIn(300);$(this).animate({width:'340px',height:'134px'},200);$(this).parent().animate({top:'-16px',left:'-17px'},200);$(this).parent().css('z-index','100');},function(){$(this).find('.img').fadeIn(300);$(this).find('.img-wide').fadeOut(200);$(this).animate({width:'306px',height:'102px'},200);$(this).parent().animate({top:'0',left:'0'},200);$(this).parent().css('z-index','');});});$(function(){$('#phone-big .cover').click(function(){$('#phone-big').hide();$('html').removeClass('screenShow');$('body').removeClass('screenShow');});});$(document).keydown(function(e){if(e.which==27){$('#phone-big').hide();$('html').removeClass('screenShow');$('body').removeClass('screenShow');}});$('.slideblock H2 A').click(function(){if($('.slideblock').className!=='slideblock slideblock-active'){$('.slideblock').find('P').slideUp('fast',function(){$('.slideblock').removeClass('slideblock-active');});$(this).parent().parent().find('P').slideDown('fast',function(){$(this).parent().addClass('slideblock-active');});}
return false;});$(function(){$("dl.faq dt a").click(function(){$(this).parents("dt").next("dd").toggle();$(this).toggleClass("opened");return false;})})
$('.pseudoselect').each(function(){$(this).click(function(){$(this).children('.pseudooption').toggle();})
var opts=$(this).children("ul");if(opts.height()>200){opts.css("height","200px");}});$(function(){$(".service-menu #arr").each(function(){var arrHeight=$(this).siblings("span").height()+40;$(this).height(arrHeight);if($(this).parents("li").prev("li").length==0){$(".service-menu .t").hide();}
if($(this).parents("li").next("li").length==0){$(".service-menu .b").hide();}
$(this).show();})})
fixPopupHeight=function(defer){var myframe=window.parent.document.getElementById('roaming-popup'),heightChanger=function(){try{myframe.style.height=100+'px';if(window.navigator.userAgent.search('MSIE 6.0')!=-1){myframe.style.height=250+'px';}
height=$(document).height()
if(window.opera){}
if(height>0){myframe.style.height=height+'px';}}catch(e){}};if(myframe!==null&&(window.parent!==window||defer)){window.onload=heightChanger
if(defer){window.setTimeout(heightChanger,50)}}};$(function(){$("body.roaming #content div.places a").click(function(){var top=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;$("#iframePopupWrapper").css({"visibility":"hidden","top":top}).show();$("#roamingLoader").css("top",top+100).show();if(window.opera){}
$("body").addClass("popup-opened");});$("#iframePopupWrapper a.close").click(function(e){e.preventDefault();$(this).parents("div#iframePopupWrapper").hide();$("body",window.regionsIframe.document).html("");$("iframe#roaming-popup").height("300px");$("#roamingLoader").hide();$("body").removeClass("popup-opened");return false;})});$(function(){$("body.roaming-popup").each(function(){var loader=window.parent.document.getElementById("roamingLoader");var popup=window.parent.document.getElementById("iframePopupWrapper");$(popup).css("visibility","visible");$(loader).hide();})});$(function(){$("ul.category li").click(function(){var selected=$(this);var category=$(this).attr('name');if(!$(this).hasClass("selected")){$("li.selected").removeClass('selected');$(selected).addClass('selected');$('ul.tariffs',document).each(function(){if(!$(this).hasClass('hidden')){$(this).addClass('hidden');}else if($(this).attr('id')=='category_'+category){$(this).removeClass('hidden');}});fixTariffsList();}
return;});});$(function(){var elem=location.href.split('#');var bodyClass=$('body').hasClass('tariffs');if(elem[1]&&bodyClass){$('ul.category li').each(function(){if($(this).attr('name')!==elem[1]){$(this).removeClass('selected');}else{$(this).addClass('selected');}});$('ul.tariffs').each(function(){if($(this).attr('id')=='category_'+elem[1]){$(this).removeClass('hidden');}else{$(this).addClass('hidden');}});}});$(function(){$('.details ul.switch li a').click(function(){var selected=$(this).parent();var list=$(selected).parent().parent();$('ul.switch .active',list).removeClass('active');$(selected).addClass('active');var display=$(selected).attr('name');var container=$(list).parent();$('div.descr',container).each(function(){if($(this).attr('id')=='tariff_'+display){$(this).removeClass('hidden')}else{$(this).addClass('hidden')}});return;});});$(function(){$('.details ul.discountSwitcher li span').click(function(){var selected=$(this).parent();var list=$(selected).parent().parent();$('ul.discountSwitcher .active',list).removeClass('active');$(selected).addClass('active');var display=$(selected).attr('name');var container=$(list).parent();$('div.descr',container).each(function(){if($('div.discount',this).hasClass('hidden')&&display=='discount'){$('div.discount',this).removeClass('hidden');$('div.nodiscount',this).addClass('hidden');}else if($('div.nodiscount',this).hasClass('hidden')&&display=='nodiscount'){$('div.nodiscount',this).removeClass('hidden');$('div.discount',this).addClass('hidden');}});});});$(function(){var elem=location.href.split('#');var bodyClass=$('body').hasClass('tariff');if(elem[1]&&bodyClass){$('.details ul.switch li').each(function(){if($(this).attr('name')!==elem[1]){$(this).removeClass('active');}else{$(this).addClass('active');}});$('.details div.descr').each(function(){if($(this).attr('id')=='tariff_'+elem[1]){$(this).removeClass('hidden');}else{$(this).addClass('hidden');}});}});$(function(){var servicesgroup=document.getElementById('servicesgroup');if(servicesgroup===null){return;}
var full=document.getElementById('servicesgroup_full');var content=document.getElementById('content');var as=servicesgroup.getElementsByTagName('a');var ab=full.getElementsByTagName('a');var current=window.location.href.match(/#(.+)$/i);for(i in as){if(i!=='length'){as[i].onclick=function(){xpn=this.getAttribute('xpathname');var tmp=full.getElementsByTagName('li');for(i in tmp){if(i!=='length'&&tmp[i].parentNode==full){tmp[i].style.display=(tmp[i].className==xpn)?'block':'none';}}
this.parentNode.parentNode.style.display='none';window.location.href=this.href.replace(xpn+'.html','#'+xpn);content.scrollIntoView();return false;}
if(current!==null&&as[i].getAttribute('xpathname')===current[1]){as[i].click();}}}
for(i in ab){if(i!=='length'&&ab[i].className=='back'){ab[i].onclick=function(){var tmp=full.getElementsByTagName('li');for(i in tmp){if(i!=='length'&&tmp[i].parentNode==full){tmp[i].style.display='none';}}
servicesgroup.style.display='block';window.location.href=this.href+'#servicesgroup';content.scrollIntoView();return false;}}}});$(function(){function ArrayFromCollection(c){var a=new Array();for(var i=0;i<c.length;i++){if(typeof c[i]==='object'){a[i]=c[i];}}
return a;}
var roamingData=document.getElementById('roamingData');var roamingCity=document.getElementById('roamingCity');var roamingZone=document.getElementById('roamingZone');var roamingZoneLink=document.getElementById('roamingZoneLink');if(roamingZone!=null&&roamingZoneLink!=null){hash=window.location.hash.replace(/#/,'');if(hash!=='worldzone'){roamingZone.style.display='none';}else{roamingZone.scrollIntoView(true);roamingZoneLink.parentNode.className='hideSpan';}
roamingZoneLink.onclick=function(){roamingZone.style.display=(roamingZone.style.display==='')?'none':'';this.parentNode.className=(roamingZone.style.display==='')?'hideSpan':'';}}
if(roamingData!=null&&roamingCity!=null){function SelectRoamingCity(){if(current!==null){current.div.className='';current.parentNode.className='';}
this.div.className='current';this.parentNode.className='current';current=this;fixPopupHeight("after litil timeout");return false;}
hash=window.location.hash.replace(/#/,'');roamingData.className='roamingDataHide';divs=ArrayFromCollection(roamingData.getElementsByTagName('div'));as=ArrayFromCollection(roamingCity.getElementsByTagName('a'));var current=null;var change=null;divsRight=[];for(i in divs){if(typeof divs[i]!='object'){continue;}
if(divs[i].parentNode==roamingData){divsRight[divsRight.length]=divs[i];}}
for(i in as){if(typeof as[i]!='object'){continue;}
var a=as[i];if(a.parentNode.className==='current'){current=a;}
if(hash.length&&a.href.indexOf(hash)!==-1){change=a;}
a.div=divsRight[i];a.onclick=SelectRoamingCity;}
if(change!==null){SelectRoamingCity.call(change);}}});$(function(){fixPopupHeight();});fixTariffsList=function(){$("ul.tariffs").each(function(){$(this).children("li").each(function(){var h=$(this).height();var n=$(this).next("li");var p=$(this).prev("li");var pp=p.prev("li");if(!$(this).hasClass("third")){if(h>n.height()){n.height(h);}
if(!p.hasClass("third")&&h>p.height()){p.height(h);}}else{if(h>p.height()){p.height(h);}
if(h>pp.height()){pp.height(h);}
if(!n.hasClass("last")){n.addClass("cb");}}})})}
fixTariffsList();$(function(){if($.browser.msie){$("div#marks_popup").wrapInner("<div class='b-wrap' />").wrapInner("<div class='b-wrap2' />");fixMarksCorners();}});fixMarksCorners=function(){$("#marks_popup b").remove();var corners=$('<b class="tr"></b><b class="tl"></b><b class="br"></b><b class="bl"></b>');corners.appendTo("div#marks_popup");}
$(function(){function setupBookmarks(data){$("#marks_popup ul").html('');for(var idx in data.items){$("#marks_popup ul").append('<li><a bb:i="'+idx+'" href="'+data.items[idx].u+'">'+data.items[idx].t+'</a><i></i></li>');}
if(!data.allow_add){$('a#addBookmark').hide();}else{$('a#addBookmark').show();}
if($.browser.msie){fixMarksCorners();}
$("div#marks_popup ul li i").click(function(){var req={"a":3,"i":$(this).parent().children('a').attr('bb:i')};$.post('/ext/bookmarks.phtml',req,function(data){setupBookmarks(data);},'json');});}
$("a#bookMarks").click(function(){$(this).next("#marks_popup").show();$(this).children("span").removeClass("dashed");return false;});$("a#closeMarks").click(function(){$(this).parents("#marks_popup").hide().prev("#bookMarks").children("span").addClass("dashed");return false;});$('a#addBookmark').click(function(){var req={"a":2,"t":document.title};$.post('/ext/bookmarks.phtml',req,function(data){setupBookmarks(data);},'json');return false;});$.post('/ext/bookmarks.phtml','{}',function(data){setupBookmarks(data);},'json');});$(function(){var prefix="",phone="";$(document.cookie.split(';')).each(function(k,v){var pair=v.split('=')
switch($.trim(pair[0])){case"sms_service[phone]":phone=$.trim(pair[1]||"")
break;case"sms_service[prefix]":prefix=$.trim(pair[1]||"")
break;}
if(prefix.length&&phone.length)
return false;});$("div.service_lite_sms_form .close").click(function(){$(this).parent().hide();});$(".service_lite_sms_form_open").click(function(){$("div.service_lite_sms_form .close").click();$(this).next("div.service_lite_sms_form").show();});$("div.service_lite_sms_form, div.service_sms_form").find('form').find("select option[value="+prefix+"]").attr("selected","selected").end().find("input:text").val(phone).end().append('<input type="hidden" name="ajax" value="1" />').submit(function(){var _form=$(this)
_form.children("img.loader").show();_form.children('input:image').attr("disabled","disabled").addClass('transparent')
$.post(_form.attr('action'),_form.serialize(),function(data){_form.children("img.loader").hide();if(data.result=='OK'){_form.replaceWith($('<p class="notice success">'+data.notice+'</p>').hide().fadeIn('normal'))}else if(data.result=='ERROR'){_form.children('p.notice:first').hide().addClass('error').text(data.notice).fadeIn('normal')
setTimeout(function(){_form.children('input:image').removeAttr("disabled").removeClass('transparent')},500)}},"json")
return false})});indicator_image=new Image();indicator_image.src="/_img/indicator.gif";function ajax_send_feedback(){var sr=new sendForm_kifa;sr.sever_file_name="/ajax_sent_feedback.php";sr.form_tag="form_feedback";sr.accept_tag="frame_feedback";sr.error_tag="frame_feedback_error";sr.send();}
function sendForm_kifa(){this.sever_file_name="";this.form_tag="";this.accept_tag="";this.error_tag="";this.type_res="str";this.send=function(){this.param=$("form#"+this.form_tag).serialize();$("#"+this.error_tag).html("<img src=\"/_img/indicator.gif\"/> Ïîæàëóéñòà, ïîäîæäèòå...");$.post(this.sever_file_name,this.param,this.response);}
this.response=function(xml){var accept=$("accept",xml).text();var obj_parent=this.success.parent;if(accept==0){$("#"+obj_parent.error_tag).text($("glob_message",xml).text());$("filed",xml).each(function(){$("#result_"+$(this).attr("name")).text($(this).text());$("#"+$(this).attr("name")).css("background-color","Yellow");})}else if(accept==1){$("#"+obj_parent.accept_tag).text($("glob_message",xml).text());if(obj_parent.type_res=="obj"){obj_parent.add_accept_function_obj(xml);}else{obj_parent.add_accept_function($("glob_message",xml).text());}}}
this.response.parent=this;this.add_accept_function=function(accept_text){$("#"+obj_parent.accept_tag).text(accept_text);}
this.add_accept_function_obj=function(xml){}}var flag=false;var shift_x;var shift_y;var lastZ=100;indicator_image=new Image();indicator_image.src="/_img/indicator.gif";function start_drag(itemToMove,e){if(!e)e=window.event;flag=true;lastZ+=1;itemToMove.style.zIndex=lastZ;shift_x=e.clientX-parseInt(itemToMove.style.left);shift_y=e.clientY-parseInt(itemToMove.style.top);if(e.stopPropagation)e.stopPropagation();else e.cancelBubble=true;if(e.preventDefault)e.preventDefault();else e.returnValue=false;}
function end_drag(){flag=false;}
function ajax_oputyvanja(holos){var p=holos.value;$.post("/ajax_oputyvanja.php",'&holos='+holos);alert(p);}
function dragIt(itemToMove,e){if(!flag)return;if(!e)e=window.event;itemToMove.style.left=(e.clientX-shift_x)+"px";itemToMove.style.top=(e.clientY-shift_y)+"px";if(e.stopPropagation)e.stopPropagation();else e.cancelBubble=true;if(e.preventDefault)e.preventDefault();else e.returnValue=false;}
function hide_wait_window(){$("#wait_window").css("display","none");}
function show_registration_window(method_name){$("#registration_window").css("display","block");$("#reg_login").focus();}
function hide_registration_window(){$("#registration_window").css("display","none");}
function show_zamovyty_vikno(h){for(i=1;i<=6;i++){if(i==h){document.getElementById("zamovyty_vikno_"+i).style.display="block";document.getElementById("zvps"+i).style.background="url('/up_img/etap"+i+"_h.jpg')";document.getElementById("zamovyty_vikno_"+i).style.overflow="hidden";}
else{document.getElementById("zamovyty_vikno_"+i).style.display="none";document.getElementById("zvps"+i).style.background="url('/up_img/etap"+i+".jpg')";}}}
function http_registration_processor(){var sr=new sendForm_kifa;sr.sever_file_name="/ajax_sent_registration.php";sr.form_tag="form_registration";sr.accept_tag="result_registration_";sr.error_tag="result_registration_";sr.type_res="obj";sr.add_accept_function_obj=function(xml){$("#frame_registration_close").css("display","block");$("#frame_registration").css("display","none");$("#show_registration_window").css("display","none");$("#show_registration_window").css("display","none");$("#result_registration_").html($("glob_message",xml).text()+"<br/><img src=\"/_img/indicator.gif\"/> Áóäü ëàñêà, ïî÷åêàéòå, ñòîð³íêà áóäå îáíîâëåíà");setTimeout("location.reload();",1000);}
sr.send();}
function http_celendar(date){$.post("/ajax_calendar.php",'&date='+date,out_calendar);var str=date;ar=str.split(',',2);ar_number=str.split('_',2);for(var i=1;i<=100;i++){var p=document.getElementById("news_"+i);if(p!=null){if(i==ar_number[1]){document.getElementById("news_"+i).className='month selected';}
else{document.getElementById("news_"+i).className='month';}}}}
function out_calendar(xml){var out='';var out1='';events=$("event",xml);for(i=0;i<events.length;i++){out1='<div class="news_cont"><h2>   '+$("month_first",events[i]).text()+'&#160;'+$("year",events[i]).text()+' ðîêó</h2></div>';out+='<table class="news_list"><tr><td colspan="2"><div class="news_date">'+$("date",events[i]).text()+'&#160;'+$("months",events[i]).text()+'&#160;'+$("year",events[i]).text()+'</div></td></tr><tr><td colspan="2"><div class="news_title"><a href="'+$("url",events[i]).text()+'" title="'+$("title",events[i]).text()+'">'+$("title",events[i]).text()+'</a> '+'</div></td></tr><tr><td class="news_foto"><a href="'+$("url",events[i]).text()+'" title="'+$("title",events[i]).text()+'">'+'<img src= "'+$("file_name",events[i]).text()+'"/></a></td><td class="news_inf">'+$("small",events[i]).text()+'</td></tr></table>';}
$("#news_cont").html(out1);$("#news_list").html(out);}
function http_authorization_processor(type){var sr=new sendForm_kifa;sr.sever_file_name="/ajax_sent_authorization.php";sr.form_tag="form_authorization"+type;sr.accept_tag="result_wait_window_string";sr.error_tag="result_wait_window_string";sr.type_res="obj";$("#wait_window").css("display","block");sr.add_accept_function_obj=function(xml){$("#result_wait_window_string").html($("glob_message",xml).text()+"<br/><img src=\"/_img/indicator.gif\"/> Áóäü ëàñêà, ïî÷åêàéòå, ñòîð³íêà áóäå îáíîâëåíà");setTimeout('$("#wait_window").css("display", "none"); location.reload();',1000);}
sr.send();}
function empty_string_au_find(type){if($("#au_find"+type).val()=="ïîøóê"){$("#au_find"+type).val("");}}
function empty_string_au_email(type){if($("#au_email"+type).val()=="Âàø E-mail:"){$("#au_email"+type).val("");}}
function visibles(){document.getElementById("visible_viknos").style.display="block";}
function shows(l){for(i=1;i<=11;i++){if(i==l){document.getElementById("vikno_"+i).style.display="block";}
else{document.getElementById("vikno_"+i).style.display="none";}}}
function showss(l){for(i=1;i<=10;i++){if(i==l){document.getElementById("vikno_"+i).style.display="block";}
else{document.getElementById("vikno_"+i).style.display="none";}}}
function http_logout_processor(){res_param="&logout=1";$.post("/ajax_sent_logout.php",res_param,function(xml){setTimeout("location.reload();",1000);});}
function onlydigits(o){o.value=o.value.replace(/[^0-9]/g,'');}(function(aP,M){function a1(){if(!ai.isReady){try{S.documentElement.doScroll("left");}catch(c){setTimeout(a1,1);return;}ai.ready();}}function H(s,c){c.src?ai.ajax({url:c.src,async:false,dataType:"script"}):ai.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c);}function aq(s,c,K,F,G,w){var A=s.length;if(typeof c==="object"){for(var J in c){aq(s,J,c[J],F,G,K);}return s;}if(K!==M){F=!w&&F&&ai.isFunction(K);for(J=0;J<A;J++){G(s[J],c,F?K.call(s[J],J,G(s[J],c)):K,w);}return s;}return A?G(s[0],c):M;}function aG(){return(new Date).getTime();}function ap(){return false;}function an(){return true;}function aL(s,c,w){w[0].type=s;return ai.event.handle.apply(c,w);}function ah(O){var N,L=[],J=[],K=arguments,F,G,s,A,w,c;G=ai.data(this,"events");if(!(O.liveFired===this||!G||!G.live||O.button&&O.type==="click")){O.liveFired=this;var P=G.live.slice(0);for(A=0;A<P.length;A++){G=P[A];G.origType.replace(aA,"")===O.type?J.push(G.selector):P.splice(A--,1);}F=ai(O.target).closest(J,O.currentTarget);w=0;for(c=F.length;w<c;w++){for(A=0;A<P.length;A++){G=P[A];if(F[w].selector===G.selector){s=F[w].elem;J=null;if(G.preType==="mouseenter"||G.preType==="mouseleave"){J=ai(O.relatedTarget).closest(G.selector)[0];}if(!J||J!==s){L.push({elem:s,handleObj:G});}}}}w=0;for(c=L.length;w<c;w++){F=L[w];O.currentTarget=F.elem;O.data=F.handleObj.data;O.handleObj=F.handleObj;if(F.handleObj.origHandler.apply(F.elem,K)===false){N=false;break;}}return N;}}function B(s,c){return"live."+(s&&s!=="*"?s+".":"")+c.replace(/\./g,"`").replace(/ /g,"&");}function m(c){return!c||!c.parentNode||c.parentNode.nodeType===11;}function bk(s,c){var w=0;c.each(function(){if(this.nodeName===(s[w]&&s[w].nodeName)){var G=ai.data(s[w++]),J=ai.data(this,G);if(G=G&&G.events){delete J.handle;J.events={};for(var A in G){for(var F in G[A]){ai.event.add(this,A,G[A][F],G[A][F].data);}}}}});}function a4(s,c,G){var A,F,w;c=c&&c[0]?c[0].ownerDocument||c[0]:S;if(s.length===1&&typeof s[0]==="string"&&s[0].length<512&&c===S&&!aQ.test(s[0])&&(ai.support.checkClone||!al.test(s[0]))){F=true;if(w=ai.fragments[s[0]]){if(w!==1){A=w;}}}if(!A){A=c.createDocumentFragment();ai.clean(s,c,A,G);}if(F){ai.fragments[s[0]]=w?A:1;}return{fragment:A,cacheable:F};}function aD(s,c){var w={};ai.each(E.concat.apply([],E.slice(0,c)),function(){w[this]=s;});return w;}function p(c){return"scrollTo"in c&&c.document?c:c.nodeType===9?c.defaultView||c.parentWindow:false;}var ai=function(s,c){return new ai.fn.init(s,c);},q=aP.jQuery,d=aP.$,S=aP.document,au,a8=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,aU=/^.[^:#\[\.,]*$/,ao=/\S/,I=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,r=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ay=navigator.userAgent,b=false,aw=[],aC,a2=Object.prototype.toString,aW=Object.prototype.hasOwnProperty,az=Array.prototype.push,av=Array.prototype.slice,a7=Array.prototype.indexOf;ai.fn=ai.prototype={init:function(s,c){var A,w;if(!s){return this;}if(s.nodeType){this.context=this[0]=s;this.length=1;return this;}if(s==="body"&&!c){this.context=S;this[0]=S.body;this.selector="body";this.length=1;return this;}if(typeof s==="string"){if((A=a8.exec(s))&&(A[1]||!c)){if(A[1]){w=c?c.ownerDocument||c:S;if(s=r.exec(s)){if(ai.isPlainObject(c)){s=[S.createElement(s[1])];ai.fn.attr.call(s,c,true);}else{s=[w.createElement(s[1])];}}else{s=a4([A[1]],[w]);s=(s.cacheable?s.fragment.cloneNode(true):s.fragment).childNodes;}return ai.merge(this,s);}else{if(c=S.getElementById(A[2])){if(c.id!==A[2]){return au.find(s);}this.length=1;this[0]=c;}this.context=S;this.selector=s;return this;}}else{if(!c&&/^\w+$/.test(s)){this.selector=s;this.context=S;s=S.getElementsByTagName(s);return ai.merge(this,s);}else{return!c||c.jquery?(c||au).find(s):ai(c).find(s);}}}else{if(ai.isFunction(s)){return au.ready(s);}}if(s.selector!==M){this.selector=s.selector;this.context=s.context;}return ai.makeArray(s,this);},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length;},toArray:function(){return av.call(this,0);},get:function(c){return c==null?this.toArray():c<0?this.slice(c)[0]:this[c];},pushStack:function(s,c,A){var w=ai();ai.isArray(s)?az.apply(w,s):ai.merge(w,s);w.prevObject=this;w.context=this.context;if(c==="find"){w.selector=this.selector+(this.selector?" ":"")+A;}else{if(c){w.selector=this.selector+"."+c+"("+A+")";}}return w;},each:function(s,c){return ai.each(this,s,c);},ready:function(c){ai.bindReady();if(ai.isReady){c.call(S,ai);}else{aw&&aw.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(av.apply(this,arguments),"slice",av.call(arguments).join(","));},map:function(c){return this.pushStack(ai.map(this,function(s,w){return c.call(s,w,s);}));},end:function(){return this.prevObject||ai(null);},push:az,sort:[].sort,splice:[].splice};ai.fn.init.prototype=ai.fn;ai.extend=ai.fn.extend=function(){var s=arguments[0]||{},c=1,K=arguments.length,F=false,G,w,A,J;if(typeof s==="boolean"){F=s;s=arguments[1]||{};c=2;}if(typeof s!=="object"&&!ai.isFunction(s)){s={};}if(K===c){s=this;--c;}for(;c<K;c++){if((G=arguments[c])!=null){for(w in G){A=s[w];J=G[w];if(s!==J){if(F&&J&&(ai.isPlainObject(J)||ai.isArray(J))){A=A&&(ai.isPlainObject(A)||ai.isArray(A))?A:ai.isArray(J)?[]:{};s[w]=ai.extend(F,A,J);}else{if(J!==M){s[w]=J;}}}}}}return s;};ai.extend({noConflict:function(c){aP.$=d;if(c){aP.jQuery=q;}return ai;},isReady:false,ready:function(){if(!ai.isReady){if(!S.body){return setTimeout(ai.ready,13);}ai.isReady=true;if(aw){for(var s,c=0;s=aw[c++];){s.call(S,ai);}aw=null;}ai.fn.triggerHandler&&ai(S).triggerHandler("ready");}},bindReady:function(){if(!b){b=true;if(S.readyState==="complete"){return ai.ready();}if(S.addEventListener){S.addEventListener("DOMContentLoaded",aC,false);aP.addEventListener("load",ai.ready,false);}else{if(S.attachEvent){S.attachEvent("onreadystatechange",aC);aP.attachEvent("onload",ai.ready);var s=false;try{s=aP.frameElement==null;}catch(c){}S.documentElement.doScroll&&s&&a1();}}}},isFunction:function(c){return a2.call(c)==="[object Function]";},isArray:function(c){return a2.call(c)==="[object Array]";},isPlainObject:function(s){if(!s||a2.call(s)!=="[object Object]"||s.nodeType||s.setInterval){return false;}if(s.constructor&&!aW.call(s,"constructor")&&!aW.call(s.constructor.prototype,"isPrototypeOf")){return false;}var c;for(c in s){}return c===M||aW.call(s,c);},isEmptyObject:function(s){for(var c in s){return false;}return true;},error:function(c){throw c;},parseJSON:function(c){if(typeof c!=="string"||!c){return null;}c=ai.trim(c);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 aP.JSON&&aP.JSON.parse?aP.JSON.parse(c):(new Function("return "+c))();}else{ai.error("Invalid JSON: "+c);}},noop:function(){},globalEval:function(s){if(s&&ao.test(s)){var c=S.getElementsByTagName("head")[0]||S.documentElement,w=S.createElement("script");w.type="text/javascript";if(ai.support.scriptEval){w.appendChild(S.createTextNode(s));}else{w.text=s;}c.insertBefore(w,c.firstChild);c.removeChild(w);}},nodeName:function(s,c){return s.nodeName&&s.nodeName.toUpperCase()===c.toUpperCase();},each:function(s,c,J){var F,G=0,w=s.length,A=w===M||ai.isFunction(s);if(J){if(A){for(F in s){if(c.apply(s[F],J)===false){break;}}}else{for(;G<w;){if(c.apply(s[G++],J)===false){break;}}}}else{if(A){for(F in s){if(c.call(s[F],F,s[F])===false){break;}}}else{for(J=s[0];G<w&&c.call(J,G,J)!==false;J=s[++G]){}}}return s;},trim:function(c){return(c||"").replace(I,"");},makeArray:function(s,c){c=c||[];if(s!=null){s.length==null||typeof s==="string"||ai.isFunction(s)||typeof s!=="function"&&s.setInterval?az.call(c,s):ai.merge(c,s);}return c;},inArray:function(s,c){if(c.indexOf){return c.indexOf(s);}for(var A=0,w=c.length;A<w;A++){if(c[A]===s){return A;}}return-1;},merge:function(s,c){var F=s.length,w=0;if(typeof c.length==="number"){for(var A=c.length;w<A;w++){s[F++]=c[w];}}else{for(;c[w]!==M;){s[F++]=c[w++];}}s.length=F;return s;},grep:function(s,c,G){for(var A=[],F=0,w=s.length;F<w;F++){!G!==!c(s[F],F)&&A.push(s[F]);}return A;},map:function(s,c,J){for(var F=[],G,w=0,A=s.length;w<A;w++){G=c(s[w],w,J);if(G!=null){F[F.length]=G;}}return F.concat.apply([],F);},guid:1,proxy:function(s,c,w){if(arguments.length===2){if(typeof c==="string"){w=s;s=w[c];c=M;}else{if(c&&!ai.isFunction(c)){w=c;c=M;}}}if(!c&&s){c=function(){return s.apply(w||this,arguments);};}if(s){c.guid=s.guid=s.guid||c.guid||ai.guid++;}return c;},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:{}});ay=ai.uaMatch(ay);if(ay.browser){ai.browser[ay.browser]=true;ai.browser.version=ay.version;}if(ai.browser.webkit){ai.browser.safari=true;}if(a7){ai.inArray=function(s,c){return a7.call(c,s);};}au=ai(S);if(S.addEventListener){aC=function(){S.removeEventListener("DOMContentLoaded",aC,false);ai.ready();};}else{if(S.attachEvent){aC=function(){if(S.readyState==="complete"){S.detachEvent("onreadystatechange",aC);ai.ready();}};}}(function(){ai.support={};var L=S.documentElement,K=S.createElement("script"),J=S.createElement("div"),F="script"+aG();J.style.display="none";J.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var G=J.getElementsByTagName("*"),w=J.getElementsByTagName("a")[0];if(!(!G||!G.length||!w)){ai.support={leadingWhitespace:J.firstChild.nodeType===3,tbody:!J.getElementsByTagName("tbody").length,htmlSerialize:!!J.getElementsByTagName("link").length,style:/red/.test(w.getAttribute("style")),hrefNormalized:w.getAttribute("href")==="/a",opacity:/^0.55$/.test(w.style.opacity),cssFloat:!!w.style.cssFloat,checkOn:J.getElementsByTagName("input")[0].value==="on",optSelected:S.createElement("select").appendChild(S.createElement("option")).selected,parentNode:J.removeChild(J.appendChild(S.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};K.type="text/javascript";try{K.appendChild(S.createTextNode("window."+F+"=1;"));}catch(A){}L.insertBefore(K,L.firstChild);if(aP[F]){ai.support.scriptEval=true;delete aP[F];}try{delete K.test;}catch(c){ai.support.deleteExpando=false;}L.removeChild(K);if(J.attachEvent&&J.fireEvent){J.attachEvent("onclick",function s(){ai.support.noCloneEvent=false;J.detachEvent("onclick",s);});J.cloneNode(true).fireEvent("onclick");}J=S.createElement("div");J.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";L=S.createDocumentFragment();L.appendChild(J.firstChild);ai.support.checkClone=L.cloneNode(true).cloneNode(true).lastChild.checked;ai(function(){var N=S.createElement("div");N.style.width=N.style.paddingLeft="1px";S.body.appendChild(N);ai.boxModel=ai.support.boxModel=N.offsetWidth===2;S.body.removeChild(N).style.display="none";});L=function(N){var P=S.createElement("div");N="on"+N;var O=N in P;if(!O){P.setAttribute(N,"return;");O=typeof P[N]==="function";}return O;};ai.support.submitBubbles=L("submit");ai.support.changeBubbles=L("change");L=K=J=G=w=null;}})();ai.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var aI="jQuery"+aG(),f=0,aT={};ai.extend({cache:{},expando:aI,noData:{embed:true,object:true,applet:true},data:function(s,c,F){if(!(s.nodeName&&ai.noData[s.nodeName.toLowerCase()])){s=s==aP?aT:s;var w=s[aI],A=ai.cache;if(!w&&typeof c==="string"&&F===M){return null;}w||(w=++f);if(typeof c==="object"){s[aI]=w;A[w]=ai.extend(true,{},c);}else{if(!A[w]){s[aI]=w;A[w]={};}}s=A[w];if(F!==M){s[c]=F;}return typeof c==="string"?s[c]:s;}},removeData:function(s,c){if(!(s.nodeName&&ai.noData[s.nodeName.toLowerCase()])){s=s==aP?aT:s;var F=s[aI],w=ai.cache,A=w[F];if(c){if(A){delete A[c];ai.isEmptyObject(A)&&ai.removeData(s);}}else{if(ai.support.deleteExpando){delete s[ai.expando];}else{s.removeAttribute&&s.removeAttribute(ai.expando);}delete w[F];}}}});ai.fn.extend({data:function(s,c){if(typeof s==="undefined"&&this.length){return ai.data(this[0]);}else{if(typeof s==="object"){return this.each(function(){ai.data(this,s);});}}var A=s.split(".");A[1]=A[1]?"."+A[1]:"";if(c===M){var w=this.triggerHandler("getData"+A[1]+"!",[A[0]]);if(w===M&&this.length){w=ai.data(this[0],s);}return w===M&&A[1]?this.data(A[0]):w;}else{return this.trigger("setData"+A[1]+"!",[A[0],c]).each(function(){ai.data(this,s,c);});}},removeData:function(c){return this.each(function(){ai.removeData(this,c);});}});ai.extend({queue:function(s,c,A){if(s){c=(c||"fx")+"queue";var w=ai.data(s,c);if(!A){return w||[];}if(!w||ai.isArray(A)){w=ai.data(s,c,ai.makeArray(A));}else{w.push(A);}return w;}},dequeue:function(s,c){c=c||"fx";var A=ai.queue(s,c),w=A.shift();if(w==="inprogress"){w=A.shift();}if(w){c==="fx"&&A.unshift("inprogress");w.call(s,function(){ai.dequeue(s,c);});}}});ai.fn.extend({queue:function(s,c){if(typeof s!=="string"){c=s;s="fx";}if(c===M){return ai.queue(this[0],s);}return this.each(function(){var w=ai.queue(this,s,c);s==="fx"&&w[0]!=="inprogress"&&ai.dequeue(this,s);});},dequeue:function(c){return this.each(function(){ai.dequeue(this,c);});},delay:function(s,c){s=ai.fx?ai.fx.speeds[s]||s:s;c=c||"fx";return this.queue(c,function(){var w=this;setTimeout(function(){ai.dequeue(w,c);},s);});},clearQueue:function(c){return this.queue(c||"fx",[]);}});var bf=/[\n\t]/g,ac=/\s+/,a9=/\r/g,aN=/href|src|style/,aV=/(button|input)/i,ax=/(button|input|object|select|textarea)/i,U=/^(a|area)$/i,aZ=/radio|checkbox/;ai.fn.extend({attr:function(s,c){return aq(this,s,c,true,ai.attr);},removeAttr:function(c){return this.each(function(){ai.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c);});},addClass:function(L){if(ai.isFunction(L)){return this.each(function(O){var N=ai(this);N.addClass(L.call(this,O,N.attr("class")));});}if(L&&typeof L==="string"){for(var K=(L||"").split(ac),J=0,F=this.length;J<F;J++){var G=this[J];if(G.nodeType===1){if(G.className){for(var w=" "+G.className+" ",A=G.className,c=0,s=K.length;c<s;c++){if(w.indexOf(" "+K[c]+" ")<0){A+=" "+K[c];}}G.className=ai.trim(A);}else{G.className=L;}}}}return this;},removeClass:function(s){if(ai.isFunction(s)){return this.each(function(L){var N=ai(this);N.removeClass(s.call(this,L,N.attr("class")));});}if(s&&typeof s==="string"||s===M){for(var c=(s||"").split(ac),K=0,F=this.length;K<F;K++){var G=this[K];if(G.nodeType===1&&G.className){if(s){for(var w=(" "+G.className+" ").replace(bf," "),A=0,J=c.length;A<J;A++){w=w.replace(" "+c[A]+" "," ");}G.className=ai.trim(w);}else{G.className="";}}}}return this;},toggleClass:function(s,c){var A=typeof s,w=typeof c==="boolean";if(ai.isFunction(s)){return this.each(function(G){var F=ai(this);F.toggleClass(s.call(this,G,F.attr("class"),c),c);});}return this.each(function(){if(A==="string"){for(var K,G=0,J=ai(this),L=c,F=s.split(ac);K=F[G++];){L=w?L:!J.hasClass(K);J[L?"addClass":"removeClass"](K);}}else{if(A==="undefined"||A==="boolean"){this.className&&ai.data(this,"__className__",this.className);this.className=this.className||s===false?"":ai.data(this,"__className__")||"";}}});},hasClass:function(s){s=" "+s+" ";for(var c=0,w=this.length;c<w;c++){if((" "+this[c].className+" ").replace(bf," ").indexOf(s)>-1){return true;}}return false;},val:function(s){if(s===M){var c=this[0];if(c){if(ai.nodeName(c,"option")){return(c.attributes.value||{}).specified?c.value:c.text;}if(ai.nodeName(c,"select")){var K=c.selectedIndex,F=[],G=c.options;c=c.type==="select-one";if(K<0){return null;}var w=c?K:0;for(K=c?K+1:G.length;w<K;w++){var A=G[w];if(A.selected){s=ai(A).val();if(c){return s;}F.push(s);}}return F;}if(aZ.test(c.type)&&!ai.support.checkOn){return c.getAttribute("value")===null?"on":c.value;}return(c.value||"").replace(a9,"");}return M;}var J=ai.isFunction(s);return this.each(function(L){var P=ai(this),O=s;if(this.nodeType===1){if(J){O=s.call(this,L,P.val());}if(typeof O==="number"){O+="";}if(ai.isArray(O)&&aZ.test(this.type)){this.checked=ai.inArray(P.val(),O)>=0;}else{if(ai.nodeName(this,"select")){var N=ai.makeArray(O);ai("option",this).each(function(){this.selected=ai.inArray(ai(this).val(),N)>=0;});if(!N.length){this.selectedIndex=-1;}}else{this.value=O;}}}});}});ai.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(s,c,G,A){if(!s||s.nodeType===3||s.nodeType===8){return M;}if(A&&c in ai.attrFn){return ai(s)[c](G);}A=s.nodeType!==1||!ai.isXMLDoc(s);var F=G!==M;c=A&&ai.props[c]||c;if(s.nodeType===1){var w=aN.test(c);if(c in s&&A&&!w){if(F){c==="type"&&aV.test(s.nodeName)&&s.parentNode&&ai.error("type property can't be changed");s[c]=G;}if(ai.nodeName(s,"form")&&s.getAttributeNode(c)){return s.getAttributeNode(c).nodeValue;}if(c==="tabIndex"){return(c=s.getAttributeNode("tabIndex"))&&c.specified?c.value:ax.test(s.nodeName)||U.test(s.nodeName)&&s.href?0:M;}return s[c];}if(!ai.support.style&&A&&c==="style"){if(F){s.style.cssText=""+G;}return s.style.cssText;}F&&s.setAttribute(c,""+G);s=!ai.support.hrefNormalized&&A&&w?s.getAttribute(c,2):s.getAttribute(c);return s===null?M:s;}return ai.style(s,c,G);}});var aA=/\.(.*)$/,t=function(c){return c.replace(/[^\w\s\.\|`]/g,function(s){return"\\"+s;});};ai.event={add:function(P,O,L,J){if(!(P.nodeType===3||P.nodeType===8)){if(P.setInterval&&P!==aP&&!P.frameElement){P=aP;}var K,F;if(L.handler){K=L;L=K.handler;}if(!L.guid){L.guid=ai.guid++;}if(F=ai.data(P)){var G=F.events=F.events||{},s=F.handle;if(!s){F.handle=s=function(){return typeof ai!=="undefined"&&!ai.event.triggered?ai.event.handle.apply(s.elem,arguments):M;};}s.elem=P;O=O.split(" ");for(var A,w=0,c;A=O[w++];){F=K?ai.extend({},K):{handler:L,data:J};if(A.indexOf(".")>-1){c=A.split(".");A=c.shift();F.namespace=c.slice(0).sort().join(".");}else{c=[];F.namespace="";}F.type=A;F.guid=L.guid;var Q=G[A],N=ai.event.special[A]||{};if(!Q){Q=G[A]=[];if(!N.setup||N.setup.call(P,J,c,s)===false){if(P.addEventListener){P.addEventListener(A,s,false);}else{P.attachEvent&&P.attachEvent("on"+A,s);}}}if(N.add){N.add.call(P,F);if(!F.handler.guid){F.handler.guid=L.guid;}}Q.push(F);ai.event.global[A]=true;}P=null;}}},global:{},remove:function(R,Q,O,L){if(!(R.nodeType===3||R.nodeType===8)){var N,J=0,K,A,G,F,c,T,P=ai.data(R),s=P&&P.events;if(P&&s){if(Q&&Q.type){O=Q.handler;Q=Q.type;}if(!Q||typeof Q==="string"&&Q.charAt(0)==="."){Q=Q||"";for(N in s){ai.event.remove(R,N+Q);}}else{for(Q=Q.split(" ");N=Q[J++];){F=N;K=N.indexOf(".")<0;A=[];if(!K){A=N.split(".");N=A.shift();G=new RegExp("(^|\\.)"+ai.map(A.slice(0).sort(),t).join("\\.(?:.*\\.)?")+"(\\.|$)");}if(c=s[N]){if(O){F=ai.event.special[N]||{};for(w=L||0;w<c.length;w++){T=c[w];if(O.guid===T.guid){if(K||G.test(T.namespace)){L==null&&c.splice(w--,1);F.remove&&F.remove.call(R,T);}if(L!=null){break;}}}if(c.length===0||L!=null&&c.length===1){if(!F.teardown||F.teardown.call(R,A)===false){aH(R,N,P.handle);}delete s[N];}}else{for(var w=0;w<c.length;w++){T=c[w];if(K||G.test(T.namespace)){ai.event.remove(R,F,T.handler,w);c.splice(w--,1);}}}}}if(ai.isEmptyObject(s)){if(Q=P.handle){Q.elem=null;}delete P.events;delete P.handle;ai.isEmptyObject(P)&&ai.removeData(R);}}}}},trigger:function(N,L,K,G){var J=N.type||N;if(!G){N=typeof N==="object"?N[aI]?N:ai.extend(ai.Event(J),N):ai.Event(J);if(J.indexOf("!")>=0){N.type=J=J.slice(0,-1);N.exclusive=true;}if(!K){N.stopPropagation();ai.event.global[J]&&ai.each(ai.cache,function(){this.events&&this.events[J]&&ai.event.trigger(N,L,this.handle.elem);});}if(!K||K.nodeType===3||K.nodeType===8){return M;}N.result=M;N.target=K;L=ai.makeArray(L);L.unshift(N);}N.currentTarget=K;(G=ai.data(K,"handle"))&&G.apply(K,L);G=K.parentNode||K.ownerDocument;try{if(!(K&&K.nodeName&&ai.noData[K.nodeName.toLowerCase()])){if(K["on"+J]&&K["on"+J].apply(K,L)===false){N.result=false;}}}catch(A){}if(!N.isPropagationStopped()&&G){ai.event.trigger(N,L,G,true);}else{if(!N.isDefaultPrevented()){G=N.target;var F,c=ai.nodeName(G,"a")&&J==="click",w=ai.event.special[J]||{};if((!w._default||w._default.call(K,N)===false)&&!c&&!(G&&G.nodeName&&ai.noData[G.nodeName.toLowerCase()])){try{if(G[J]){if(F=G["on"+J]){G["on"+J]=null;}ai.event.triggered=true;G[J]();}}catch(s){}if(F){G["on"+J]=F;}ai.event.triggered=false;}}}},handle:function(s){var c,J,F,G;s=arguments[0]=ai.event.fix(s||aP.event);s.currentTarget=this;c=s.type.indexOf(".")<0&&!s.exclusive;if(!c){J=s.type.split(".");s.type=J.shift();F=new RegExp("(^|\\.)"+J.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");}G=ai.data(this,"events");J=G[s.type];if(G&&J){J=J.slice(0);G=0;for(var w=J.length;G<w;G++){var A=J[G];if(c||F.test(A.namespace)){s.handler=A.handler;s.data=A.data;s.handleObj=A;A=A.handler.apply(this,arguments);if(A!==M){s.result=A;if(A===false){s.preventDefault();s.stopPropagation();}}if(s.isImmediatePropagationStopped()){break;}}}}return s.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(s){if(s[aI]){return s;}var c=s;s=ai.Event(c);for(var A=this.props.length,w;A;){w=this.props[--A];s[w]=c[w];}if(!s.target){s.target=s.srcElement||S;}if(s.target.nodeType===3){s.target=s.target.parentNode;}if(!s.relatedTarget&&s.fromElement){s.relatedTarget=s.fromElement===s.target?s.toElement:s.fromElement;}if(s.pageX==null&&s.clientX!=null){c=S.documentElement;A=S.body;s.pageX=s.clientX+(c&&c.scrollLeft||A&&A.scrollLeft||0)-(c&&c.clientLeft||A&&A.clientLeft||0);s.pageY=s.clientY+(c&&c.scrollTop||A&&A.scrollTop||0)-(c&&c.clientTop||A&&A.clientTop||0);}if(!s.which&&(s.charCode||s.charCode===0?s.charCode:s.keyCode)){s.which=s.charCode||s.keyCode;}if(!s.metaKey&&s.ctrlKey){s.metaKey=s.ctrlKey;}if(!s.which&&s.button!==M){s.which=s.button&1?1:s.button&2?3:s.button&4?2:0;}return s;},guid:100000000,proxy:ai.proxy,special:{ready:{setup:ai.bindReady,teardown:ai.noop},live:{add:function(c){ai.event.add(this,c.origType,ai.extend({},c,{handler:ah}));},remove:function(s){var c=true,w=s.origType.replace(aA,"");ai.each(ai.data(this,"events").live||[],function(){if(w===this.origType.replace(aA,"")){return c=false;}});c&&ai.event.remove(this,s.origType,ah);}},beforeunload:{setup:function(s,c,w){if(this.setInterval){this.onbeforeunload=w;}return false;},teardown:function(s,c){if(this.onbeforeunload===c){this.onbeforeunload=null;}}}}};var aH=S.removeEventListener?function(s,c,w){s.removeEventListener(c,w,false);}:function(s,c,w){s.detachEvent("on"+c,w);};ai.Event=function(c){if(!this.preventDefault){return new ai.Event(c);}if(c&&c.type){this.originalEvent=c;this.type=c.type;}else{this.type=c;}this.timeStamp=aG();this[aI]=true;};ai.Event.prototype={preventDefault:function(){this.isDefaultPrevented=an;var c=this.originalEvent;if(c){c.preventDefault&&c.preventDefault();c.returnValue=false;}},stopPropagation:function(){this.isPropagationStopped=an;var c=this.originalEvent;if(c){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true;}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=an;this.stopPropagation();},isDefaultPrevented:ap,isPropagationStopped:ap,isImmediatePropagationStopped:ap};var af=function(s){var c=s.relatedTarget;try{for(;c&&c!==this;){c=c.parentNode;}if(c!==this){s.type=s.data;ai.event.handle.apply(this,arguments);}}catch(w){}},y=function(c){c.type=c.data;ai.event.handle.apply(this,arguments);};ai.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(s,c){ai.event.special[s]={setup:function(w){ai.event.add(this,c,w&&w.selector?y:af,s);},teardown:function(w){ai.event.remove(this,c,w&&w.selector?y:af);}};});if(!ai.support.submitBubbles){ai.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){ai.event.add(this,"click.specialSubmit",function(s){var c=s.target,w=c.type;if((w==="submit"||w==="image")&&ai(c).closest("form").length){return aL("submit",this,arguments);}});ai.event.add(this,"keypress.specialSubmit",function(s){var c=s.target,w=c.type;if((w==="text"||w==="password")&&ai(c).closest("form").length&&s.keyCode===13){return aL("submit",this,arguments);}});}else{return false;}},teardown:function(){ai.event.remove(this,".specialSubmit");}};}if(!ai.support.changeBubbles){var u=/textarea|input|select/i,h,k=function(s){var c=s.type,w=s.value;if(c==="radio"||c==="checkbox"){w=s.checked;}else{if(c==="select-multiple"){w=s.selectedIndex>-1?ai.map(s.options,function(A){return A.selected;}).join("-"):"";}else{if(s.nodeName.toLowerCase()==="select"){w=s.selectedIndex;}}}return w;},be=function(s,c){var F=s.target,w,A;if(!(!u.test(F.nodeName)||F.readOnly)){w=ai.data(F,"_change_data");A=k(F);if(s.type!=="focusout"||F.type!=="radio"){ai.data(F,"_change_data",A);}if(!(w===M||A===w)){if(w!=null||A){s.type="change";return ai.event.trigger(s,c,F);}}}};ai.event.special.change={filters:{focusout:be,click:function(s){var c=s.target,w=c.type;if(w==="radio"||w==="checkbox"||c.nodeName.toLowerCase()==="select"){return be.call(this,s);}},keydown:function(s){var c=s.target,w=c.type;if(s.keyCode===13&&c.nodeName.toLowerCase()!=="textarea"||s.keyCode===32&&(w==="checkbox"||w==="radio")||w==="select-multiple"){return be.call(this,s);}},beforeactivate:function(c){c=c.target;ai.data(c,"_change_data",k(c));}},setup:function(){if(this.type==="file"){return false;}for(var c in h){ai.event.add(this,c+".specialChange",h[c]);}return u.test(this.nodeName);},teardown:function(){ai.event.remove(this,".specialChange");return u.test(this.nodeName);}};h=ai.event.special.change.filters;}S.addEventListener&&ai.each({focus:"focusin",blur:"focusout"},function(s,c){function w(A){A=ai.event.fix(A);A.type=c;return ai.event.handle.call(this,A);}ai.event.special[c]={setup:function(){this.addEventListener(s,w,true);},teardown:function(){this.removeEventListener(s,w,true);}};});ai.each(["bind","one"],function(s,c){ai.fn[c]=function(K,F,G){if(typeof K==="object"){for(var w in K){this[c](w,F,K[w],G);}return this;}if(ai.isFunction(F)){G=F;F=M;}var A=c==="one"?ai.proxy(G,function(L){ai(this).unbind(L,A);return G.apply(this,arguments);}):G;if(K==="unload"&&c!=="one"){this.one(K,F,G);}else{w=0;for(var J=this.length;w<J;w++){ai.event.add(this[w],K,A,F);}}return this;};});ai.fn.extend({unbind:function(s,c){if(typeof s==="object"&&!s.preventDefault){for(var A in s){this.unbind(A,s[A]);}}else{A=0;for(var w=this.length;A<w;A++){ai.event.remove(this[A],s,c);}}return this;},delegate:function(s,c,A,w){return this.live(c,A,w,s);},undelegate:function(s,c,w){return arguments.length===0?this.unbind("live"):this.die(c,null,w,s);},trigger:function(s,c){return this.each(function(){ai.event.trigger(s,c,this);});},triggerHandler:function(s,c){if(this[0]){s=ai.Event(s);s.preventDefault();s.stopPropagation();ai.event.trigger(s,c,this[0]);return s.result;}},toggle:function(s){for(var c=arguments,w=1;w<c.length;){ai.proxy(s,c[w++]);}return this.click(ai.proxy(s,function(A){var F=(ai.data(this,"lastToggle"+s.guid)||0)%w;ai.data(this,"lastToggle"+s.guid,F+1);A.preventDefault();return c[F].apply(this,arguments)||false;}));},hover:function(s,c){return this.mouseenter(s).mouseleave(c||s);}});var bi={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};ai.each(["live","die"],function(s,c){ai.fn[c]=function(O,L,N,J){var K,A=0,G,F,w=J||this.selector,P=J?this:ai(this.context);if(ai.isFunction(L)){N=L;L=M;}for(O=(O||"").split(" ");(K=O[A++])!=null;){J=aA.exec(K);G="";if(J){G=J[0];K=K.replace(aA,"");}if(K==="hover"){O.push("mouseenter"+G,"mouseleave"+G);}else{F=K;if(K==="focus"||K==="blur"){O.push(bi[K]+G);K+=G;}else{K=(bi[K]||K)+G;}c==="live"?P.each(function(){ai.event.add(this,B(K,w),{data:L,selector:w,handler:N,origType:K,origHandler:N,preType:F});}):P.unbind(B(K,w),N);}}return this;};});ai.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(s,c){ai.fn[c]=function(w){return w?this.bind(c,w):this.trigger(c);};if(ai.attrFn){ai.attrFn[c]=true;}});aP.attachEvent&&!aP.addEventListener&&aP.attachEvent("onunload",function(){for(var s in ai.cache){if(ai.cache[s].handle){try{ai.event.remove(ai.cache[s].handle.elem);}catch(c){}}}});(function(){function W(ab){for(var aa="",Z,Y=0;ab[Y];Y++){Z=ab[Y];if(Z.nodeType===3||Z.nodeType===4){aa+=Z.nodeValue;}else{if(Z.nodeType!==8){aa+=W(Z.childNodes);}}}return aa;}function V(bb,ba,ab,aa,Y,Z){Y=0;for(var bn=aa.length;Y<bn;Y++){var bo=aa[Y];if(bo){bo=bo[bb];for(var bm=false;bo;){if(bo.sizcache===ab){bm=aa[bo.sizset];break;}if(bo.nodeType===1&&!Z){bo.sizcache=ab;bo.sizset=Y;}if(bo.nodeName.toLowerCase()===ba){bm=bo;break;}bo=bo[bb];}aa[Y]=bm;}}}function T(bb,ba,ab,aa,Y,Z){Y=0;for(var bn=aa.length;Y<bn;Y++){var bo=aa[Y];if(bo){bo=bo[bb];for(var bm=false;bo;){if(bo.sizcache===ab){bm=aa[bo.sizset];break;}if(bo.nodeType===1){if(!Z){bo.sizcache=ab;bo.sizset=Y;}if(typeof ba!=="string"){if(bo===ba){bm=true;break;}}else{if(N.filter(ba,[bo]).length>0){bm=bo;break;}}}bo=bo[bb];}aa[Y]=bm;}}}var Q=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,R=0,O=Object.prototype.toString,P=false,K=true;[0,0].sort(function(){K=false;return 0;});var N=function(bn,bm,ba,ab){ba=ba||[];var Z=bm=bm||S;if(bm.nodeType!==1&&bm.nodeType!==9){return[];}if(!bn||typeof bn!=="string"){return ba;}for(var aa=[],bs,bt,bp,bb,br=true,bo=s(bm),bq=bn;(Q.exec(""),bs=Q.exec(bq))!==null;){bq=bs[3];aa.push(bs[1]);if(bs[2]){bb=bs[3];break;}}if(aa.length>1&&G.exec(bn)){if(aa.length===2&&L.relative[aa[0]]){bt=X(aa[0]+aa[1],bm);}else{for(bt=L.relative[aa[0]]?[bm]:N(aa.shift(),bm);aa.length;){bn=aa.shift();if(L.relative[bn]){bn+=aa.shift();}bt=X(bn,bt);}}}else{if(!ab&&aa.length>1&&bm.nodeType===9&&!bo&&L.match.ID.test(aa[0])&&!L.match.ID.test(aa[aa.length-1])){bs=N.find(aa.shift(),bm,bo);bm=bs.expr?N.filter(bs.expr,bs.set)[0]:bs.set[0];}if(bm){bs=ab?{expr:aa.pop(),set:c(ab)}:N.find(aa.pop(),aa.length===1&&(aa[0]==="~"||aa[0]==="+")&&bm.parentNode?bm.parentNode:bm,bo);bt=bs.expr?N.filter(bs.expr,bs.set):bs.set;if(aa.length>0){bp=c(bt);}else{br=false;}for(;aa.length;){var Y=aa.pop();bs=Y;if(L.relative[Y]){bs=aa.pop();}else{Y="";}if(bs==null){bs=bm;}L.relative[Y](bp,bs,bo);}}else{bp=[];}}bp||(bp=bt);bp||N.error(Y||bn);if(O.call(bp)==="[object Array]"){if(br){if(bm&&bm.nodeType===1){for(bn=0;bp[bn]!=null;bn++){if(bp[bn]&&(bp[bn]===true||bp[bn].nodeType===1&&A(bm,bp[bn]))){ba.push(bt[bn]);}}}else{for(bn=0;bp[bn]!=null;bn++){bp[bn]&&bp[bn].nodeType===1&&ba.push(bt[bn]);}}}else{ba.push.apply(ba,bp);}}else{c(bp,ba);}if(bb){N(bb,Z,ba,ab);N.uniqueSort(ba);}return ba;};N.uniqueSort=function(Z){if(J){P=K;Z.sort(J);if(P){for(var Y=1;Y<Z.length;Y++){Z[Y]===Z[Y-1]&&Z.splice(Y--,1);}}}return Z;};N.matches=function(Z,Y){return N(Z,null,null,Y);};N.find=function(bb,ba,ab){var aa,Y;if(!bb){return[];}for(var Z=0,bn=L.order.length;Z<bn;Z++){var bo=L.order[Z];if(Y=L.leftMatch[bo].exec(bb)){var bm=Y[1];Y.splice(1,1);if(bm.substr(bm.length-1)!=="\\"){Y[1]=(Y[1]||"").replace(/\\/g,"");aa=L.find[bo](Y,ba,ab);if(aa!=null){bb=bb.replace(L.match[bo],"");break;}}}}aa||(aa=ba.getElementsByTagName("*"));return{set:aa,expr:bb};};N.filter=function(bo,bn,bb,ab){for(var Z=bo,aa=[],bu=bn,bv,br,bm=bn&&bn[0]&&s(bn[0]);bo&&bn.length;){for(var bt in L.filter){if((bv=L.leftMatch[bt].exec(bo))!=null&&bv[2]){var bp=L.filter[bt],bs,Y;Y=bv[1];br=false;bv.splice(1,1);if(Y.substr(Y.length-1)!=="\\"){if(bu===aa){aa=[];}if(L.preFilter[bt]){if(bv=L.preFilter[bt](bv,bu,bb,aa,ab,bm)){if(bv===true){continue;}}else{br=bs=true;}}if(bv){for(var ba=0;(Y=bu[ba])!=null;ba++){if(Y){bs=bp(Y,bv,ba,bu);var bq=ab^!!bs;if(bb&&bs!=null){if(bq){br=true;}else{bu[ba]=false;}}else{if(bq){aa.push(Y);br=true;}}}}}if(bs!==M){bb||(bu=aa);bo=bo.replace(L.match[bt],"");if(!br){return[];}break;}}}}if(bo===Z){if(br==null){N.error(bo);}else{break;}}Z=bo;}return bu;};N.error=function(Y){throw"Syntax error, unrecognized expression: "+Y;};var L=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(ab,aa){var Z=typeof aa==="string",Y=Z&&!/\W/.test(aa);Z=Z&&!Y;if(Y){aa=aa.toLowerCase();}Y=0;for(var ba=ab.length,bb;Y<ba;Y++){if(bb=ab[Y]){for(;(bb=bb.previousSibling)&&bb.nodeType!==1;){}ab[Y]=Z||bb&&bb.nodeName.toLowerCase()===aa?bb||false:bb===aa;}}Z&&N.filter(aa,ab,true);},">":function(ab,aa){var Z=typeof aa==="string";if(Z&&!/\W/.test(aa)){aa=aa.toLowerCase();for(var Y=0,ba=ab.length;Y<ba;Y++){var bb=ab[Y];if(bb){Z=bb.parentNode;ab[Y]=Z.nodeName.toLowerCase()===aa?Z:false;}}}else{Y=0;for(ba=ab.length;Y<ba;Y++){if(bb=ab[Y]){ab[Y]=Z?bb.parentNode:bb.parentNode===aa;}}Z&&N.filter(aa,ab,true);}},"":function(ab,aa,Z){var Y=R++,ba=T;if(typeof aa==="string"&&!/\W/.test(aa)){var bb=aa=aa.toLowerCase();ba=V;}ba("parentNode",aa,Y,ab,bb,Z);},"~":function(ab,aa,Z){var Y=R++,ba=T;if(typeof aa==="string"&&!/\W/.test(aa)){var bb=aa=aa.toLowerCase();ba=V;}ba("previousSibling",aa,Y,ab,bb,Z);}},find:{ID:function(aa,Z,Y){if(typeof Z.getElementById!=="undefined"&&!Y){return(aa=Z.getElementById(aa[1]))?[aa]:[];}},NAME:function(ab,aa){if(typeof aa.getElementsByName!=="undefined"){var Z=[];aa=aa.getElementsByName(ab[1]);for(var Y=0,ba=aa.length;Y<ba;Y++){aa[Y].getAttribute("name")===ab[1]&&Z.push(aa[Y]);}return Z.length===0?null:Z;}},TAG:function(Z,Y){return Y.getElementsByTagName(Z[1]);}},preFilter:{CLASS:function(ba,ab,Z,Y,bb,bm){ba=" "+ba[1].replace(/\\/g,"")+" ";if(bm){return ba;}bm=0;for(var aa;(aa=ab[bm])!=null;bm++){if(aa){if(bb^(aa.className&&(" "+aa.className+" ").replace(/[\t\n]/g," ").indexOf(ba)>=0)){Z||Y.push(aa);}else{if(Z){ab[bm]=false;}}}}return false;},ID:function(Y){return Y[1].replace(/\\/g,"");},TAG:function(Y){return Y[1].toLowerCase();},CHILD:function(Z){if(Z[1]==="nth"){var Y=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(Z[2]==="even"&&"2n"||Z[2]==="odd"&&"2n+1"||!/\D/.test(Z[2])&&"0n+"+Z[2]||Z[2]);Z[2]=Y[1]+(Y[2]||1)-0;Z[3]=Y[3]-0;}Z[0]=R++;return Z;},ATTR:function(ab,aa,Z,Y,ba,bb){aa=ab[1].replace(/\\/g,"");if(!bb&&L.attrMap[aa]){ab[1]=L.attrMap[aa];}if(ab[2]==="~="){ab[4]=" "+ab[4]+" ";}return ab;},PSEUDO:function(ab,aa,Z,Y,ba){if(ab[1]==="not"){if((Q.exec(ab[3])||"").length>1||/^\w/.test(ab[3])){ab[3]=N(ab[3],null,null,aa);}else{ab=N.filter(ab[3],aa,Z,true^ba);Z||Y.push.apply(Y,ab);return false;}}else{if(L.match.POS.test(ab[0])||L.match.CHILD.test(ab[0])){return true;}}return ab;},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(aa,Z,Y){return!!N(Y[3],aa).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(Z,Y){return Y===0;},last:function(ab,aa,Z,Y){return aa===Y.length-1;},even:function(Z,Y){return Y%2===0;},odd:function(Z,Y){return Y%2===1;},lt:function(aa,Z,Y){return Z<Y[3]-0;},gt:function(aa,Z,Y){return Z>Y[3]-0;},nth:function(aa,Z,Y){return Y[3]-0===Z;},eq:function(aa,Z,Y){return Y[3]-0===Z;}},filter:{PSEUDO:function(ab,aa,Z,Y){var ba=aa[1],bb=L.filters[ba];if(bb){return bb(ab,Z,aa,Y);}else{if(ba==="contains"){return(ab.textContent||ab.innerText||W([ab])||"").indexOf(aa[3])>=0;}else{if(ba==="not"){aa=aa[3];Z=0;for(Y=aa.length;Z<Y;Z++){if(aa[Z]===ab){return false;}}return true;}else{N.error("Syntax error, unrecognized expression: "+ba);}}}},CHILD:function(ba,ab){var Z=ab[1],Y=ba;switch(Z){case"only":case"first":for(;Y=Y.previousSibling;){if(Y.nodeType===1){return false;}}if(Z==="first"){return true;}Y=ba;case"last":for(;Y=Y.nextSibling;){if(Y.nodeType===1){return false;}}return true;case"nth":Z=ab[2];var bb=ab[3];if(Z===1&&bb===0){return true;}ab=ab[0];var bm=ba.parentNode;if(bm&&(bm.sizcache!==ab||!ba.nodeIndex)){var aa=0;for(Y=bm.firstChild;Y;Y=Y.nextSibling){if(Y.nodeType===1){Y.nodeIndex=++aa;}}bm.sizcache=ab;}ba=ba.nodeIndex-bb;return Z===0?ba===0:ba%Z===0&&ba/Z>=0;}},ID:function(Z,Y){return Z.nodeType===1&&Z.getAttribute("id")===Y;},TAG:function(Z,Y){return Y==="*"&&Z.nodeType===1||Z.nodeName.toLowerCase()===Y;},CLASS:function(Z,Y){return(" "+(Z.className||Z.getAttribute("class"))+" ").indexOf(Y)>-1;},ATTR:function(ab,aa){var Z=aa[1];ab=L.attrHandle[Z]?L.attrHandle[Z](ab):ab[Z]!=null?ab[Z]:ab.getAttribute(Z);Z=ab+"";var Y=aa[2];aa=aa[4];return ab==null?Y==="!=":Y==="="?Z===aa:Y==="*="?Z.indexOf(aa)>=0:Y==="~="?(" "+Z+" ").indexOf(aa)>=0:!aa?Z&&ab!==false:Y==="!="?Z!==aa:Y==="^="?Z.indexOf(aa)===0:Y==="$="?Z.substr(Z.length-aa.length)===aa:Y==="|="?Z===aa||Z.substr(0,aa.length+1)===aa+"-":false;},POS:function(ab,aa,Z,Y){var ba=L.setFilters[aa[2]];if(ba){return ba(ab,Z,aa,Y);}}}},G=L.match.POS;for(var w in L.match){L.match[w]=new RegExp(L.match[w].source+/(?![^\[]*\])(?![^\(]*\))/.source);L.leftMatch[w]=new RegExp(/(^(?:.|\r|\n)*?)/.source+L.match[w].source.replace(/\\(\d+)/g,function(Z,Y){return"\\"+(Y-0+1);}));}var c=function(Z,Y){Z=Array.prototype.slice.call(Z,0);if(Y){Y.push.apply(Y,Z);return Y;}return Z;};try{Array.prototype.slice.call(S.documentElement.childNodes,0);}catch(F){c=function(ab,aa){aa=aa||[];if(O.call(ab)==="[object Array]"){Array.prototype.push.apply(aa,ab);}else{if(typeof ab.length==="number"){for(var Z=0,Y=ab.length;Z<Y;Z++){aa.push(ab[Z]);}}else{for(Z=0;ab[Z];Z++){aa.push(ab[Z]);}}}return aa;};}var J;if(S.documentElement.compareDocumentPosition){J=function(Z,Y){if(!Z.compareDocumentPosition||!Y.compareDocumentPosition){if(Z==Y){P=true;}return Z.compareDocumentPosition?-1:1;}Z=Z.compareDocumentPosition(Y)&4?-1:Z===Y?0:1;if(Z===0){P=true;}return Z;};}else{if("sourceIndex"in S.documentElement){J=function(Z,Y){if(!Z.sourceIndex||!Y.sourceIndex){if(Z==Y){P=true;}return Z.sourceIndex?-1:1;}Z=Z.sourceIndex-Y.sourceIndex;if(Z===0){P=true;}return Z;};}else{if(S.createRange){J=function(ab,aa){if(!ab.ownerDocument||!aa.ownerDocument){if(ab==aa){P=true;}return ab.ownerDocument?-1:1;}var Z=ab.ownerDocument.createRange(),Y=aa.ownerDocument.createRange();Z.setStart(ab,0);Z.setEnd(ab,0);Y.setStart(aa,0);Y.setEnd(aa,0);ab=Z.compareBoundaryPoints(Range.START_TO_END,Y);if(ab===0){P=true;}return ab;};}}}(function(){var aa=S.createElement("div"),Z="script"+(new Date).getTime();aa.innerHTML="<a name='"+Z+"'/>";var Y=S.documentElement;Y.insertBefore(aa,Y.firstChild);if(S.getElementById(Z)){L.find.ID=function(ab,ba,bb){if(typeof ba.getElementById!=="undefined"&&!bb){return(ba=ba.getElementById(ab[1]))?ba.id===ab[1]||typeof ba.getAttributeNode!=="undefined"&&ba.getAttributeNode("id").nodeValue===ab[1]?[ba]:M:[];}};L.filter.ID=function(ab,ba){var bb=typeof ab.getAttributeNode!=="undefined"&&ab.getAttributeNode("id");return ab.nodeType===1&&bb&&bb.nodeValue===ba;};}Y.removeChild(aa);Y=aa=null;})();(function(){var Y=S.createElement("div");Y.appendChild(S.createComment(""));if(Y.getElementsByTagName("*").length>0){L.find.TAG=function(ab,aa){aa=aa.getElementsByTagName(ab[1]);if(ab[1]==="*"){ab=[];for(var Z=0;aa[Z];Z++){aa[Z].nodeType===1&&ab.push(aa[Z]);}aa=ab;}return aa;};}Y.innerHTML="<a href='#'></a>";if(Y.firstChild&&typeof Y.firstChild.getAttribute!=="undefined"&&Y.firstChild.getAttribute("href")!=="#"){L.attrHandle.href=function(Z){return Z.getAttribute("href",2);};}Y=null;})();S.querySelectorAll&&function(){var aa=N,Z=S.createElement("div");Z.innerHTML="<p class='TEST'></p>";if(!(Z.querySelectorAll&&Z.querySelectorAll(".TEST").length===0)){N=function(ab,bm,bn,ba){bm=bm||S;if(!ba&&bm.nodeType===9&&!s(bm)){try{return c(bm.querySelectorAll(ab),bn);}catch(bb){}}return aa(ab,bm,bn,ba);};for(var Y in aa){N[Y]=aa[Y];}Z=null;}}();(function(){var Y=S.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){L.order.splice(1,0,"CLASS");L.find.CLASS=function(ab,aa,Z){if(typeof aa.getElementsByClassName!=="undefined"&&!Z){return aa.getElementsByClassName(ab[1]);}};Y=null;}}})();var A=S.compareDocumentPosition?function(Z,Y){return!!(Z.compareDocumentPosition(Y)&16);}:function(Z,Y){return Z!==Y&&(Z.contains?Z.contains(Y):true);},s=function(Y){return(Y=(Y?Y.ownerDocument||Y:0).documentElement)?Y.nodeName!=="HTML":false;},X=function(ab,aa){var Z=[],Y="",ba;for(aa=aa.nodeType?[aa]:aa;ba=L.match.PSEUDO.exec(ab);){Y+=ba[0];ab=ab.replace(L.match.PSEUDO,"");}ab=L.relative[ab]?ab+"*":ab;ba=0;for(var bb=aa.length;ba<bb;ba++){N(ab,aa[ba],Z);}return N.filter(Y,Z);};ai.find=N;ai.expr=N.selectors;ai.expr[":"]=ai.expr.filters;ai.unique=N.uniqueSort;ai.text=W;ai.isXMLDoc=s;ai.contains=A;})();var g=/Until$/,bc=/^(?:parents|prevUntil|prevAll)/,aX=/,/;av=Array.prototype.slice;var aM=function(s,c,A){if(ai.isFunction(c)){return ai.grep(s,function(G,F){return!!c.call(G,F,G)===A;});}else{if(c.nodeType){return ai.grep(s,function(F){return F===c===A;});}else{if(typeof c==="string"){var w=ai.grep(s,function(F){return F.nodeType===1;});if(aU.test(c)){return ai.filter(c,w,!A);}else{c=ai.filter(c,w);}}}}return ai.grep(s,function(F){return ai.inArray(F,c)>=0===A;});};ai.fn.extend({find:function(s){for(var c=this.pushStack("","find",s),J=0,F=0,G=this.length;F<G;F++){J=c.length;ai.find(s,this[F],c);if(F>0){for(var w=J;w<c.length;w++){for(var A=0;A<J;A++){if(c[A]===c[w]){c.splice(w--,1);break;}}}}}return c;},has:function(s){var c=ai(s);return this.filter(function(){for(var A=0,w=c.length;A<w;A++){if(ai.contains(this,c[A])){return true;}}});},not:function(c){return this.pushStack(aM(this,c,false),"not",c);},filter:function(c){return this.pushStack(aM(this,c,true),"filter",c);},is:function(c){return!!c&&ai.filter(c,this).length>0;},closest:function(L,K){if(ai.isArray(L)){var J=[],F=this[0],G,w={},A;if(F&&L.length){G=0;for(var c=L.length;G<c;G++){A=L[G];w[A]||(w[A]=ai.expr.match.POS.test(A)?ai(A,K||this.context):A);}for(;F&&F.ownerDocument&&F!==K;){for(A in w){G=w[A];if(G.jquery?G.index(F)>-1:ai(F).is(G)){J.push({selector:A,elem:F});delete w[A];}}F=F.parentNode;}}return J;}var s=ai.expr.match.POS.test(L)?ai(L,K||this.context):null;return this.map(function(O,N){for(;N&&N.ownerDocument&&N!==K;){if(s?s.index(N)>-1:ai(N).is(L)){return N;}N=N.parentNode;}return null;});},index:function(c){if(!c||typeof c==="string"){return ai.inArray(this[0],c?ai(c):this.parent().children());}return ai.inArray(c.jquery?c[0]:c,this);},add:function(s,c){s=typeof s==="string"?ai(s,c||this.context):ai.makeArray(s);c=ai.merge(this.get(),s);return this.pushStack(m(s[0])||m(c[0])?c:ai.unique(c));},andSelf:function(){return this.add(this.prevObject);}});ai.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null;},parents:function(c){return ai.dir(c,"parentNode");},parentsUntil:function(s,c,w){return ai.dir(s,"parentNode",w);},next:function(c){return ai.nth(c,2,"nextSibling");},prev:function(c){return ai.nth(c,2,"previousSibling");},nextAll:function(c){return ai.dir(c,"nextSibling");},prevAll:function(c){return ai.dir(c,"previousSibling");},nextUntil:function(s,c,w){return ai.dir(s,"nextSibling",w);},prevUntil:function(s,c,w){return ai.dir(s,"previousSibling",w);},siblings:function(c){return ai.sibling(c.parentNode.firstChild,c);},children:function(c){return ai.sibling(c.firstChild);},contents:function(c){return ai.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:ai.makeArray(c.childNodes);}},function(s,c){ai.fn[s]=function(F,w){var A=ai.map(this,c,F);g.test(s)||(w=F);if(w&&typeof w==="string"){A=ai.filter(w,A);}A=this.length>1?ai.unique(A):A;if((this.length>1||aX.test(w))&&bc.test(s)){A=A.reverse();}return this.pushStack(A,s,av.call(arguments).join(","));};});ai.extend({filter:function(s,c,w){if(w){s=":not("+s+")";}return ai.find.matches(s,c);},dir:function(s,c,A){var w=[];for(s=s[c];s&&s.nodeType!==9&&(A===M||s.nodeType!==1||!ai(s).is(A));){s.nodeType===1&&w.push(s);s=s[c];}return w;},nth:function(s,c,A){c=c||1;for(var w=0;s;s=s[A]){if(s.nodeType===1&&++w===c){break;}}return s;},sibling:function(s,c){for(var w=[];s;s=s.nextSibling){s.nodeType===1&&s!==c&&w.push(s);}return w;}});var aj=/ jQuery\d+="(?:\d+|null)"/g,at=/^\s+/,C=/(<([\w:]+)[^>]*?)\/>/g,aE=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,n=/<([\w:]+)/,ad=/<tbody/i,v=/<|&#?\w+;/,aQ=/<script|<object|<embed|<option|<style/i,al=/checked\s*(?:[^=]|=\s*.checked.)/i,bl=function(s,c,w){return aE.test(w)?s:c+"></"+w+">";},aK={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,"",""]};aK.optgroup=aK.option;aK.tbody=aK.tfoot=aK.colgroup=aK.caption=aK.thead;aK.th=aK.td;if(!ai.support.htmlSerialize){aK._default=[1,"div<div>","</div>"];}ai.fn.extend({text:function(c){if(ai.isFunction(c)){return this.each(function(s){var w=ai(this);w.text(c.call(this,s,w.text()));});}if(typeof c!=="object"&&c!==M){return this.empty().append((this[0]&&this[0].ownerDocument||S).createTextNode(c));}return ai.text(this);},wrapAll:function(s){if(ai.isFunction(s)){return this.each(function(w){ai(this).wrapAll(s.call(this,w));});}if(this[0]){var c=ai(s,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var w=this;w.firstChild&&w.firstChild.nodeType===1;){w=w.firstChild;}return w;}).append(this);}return this;},wrapInner:function(c){if(ai.isFunction(c)){return this.each(function(s){ai(this).wrapInner(c.call(this,s));});}return this.each(function(){var s=ai(this),w=s.contents();w.length?w.wrapAll(c):s.append(c);});},wrap:function(c){return this.each(function(){ai(this).wrapAll(c);});},unwrap:function(){return this.parent().each(function(){ai.nodeName(this,"body")||ai(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(s){this.parentNode.insertBefore(s,this);});}else{if(arguments.length){var c=ai(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(s){this.parentNode.insertBefore(s,this.nextSibling);});}else{if(arguments.length){var c=this.pushStack(this,"after",arguments);c.push.apply(c,ai(arguments[0]).toArray());return c;}}},remove:function(s,c){for(var A=0,w;(w=this[A])!=null;A++){if(!s||ai.filter(s,[w]).length){if(!c&&w.nodeType===1){ai.cleanData(w.getElementsByTagName("*"));ai.cleanData([w]);}w.parentNode&&w.parentNode.removeChild(w);}}return this;},empty:function(){for(var s=0,c;(c=this[s])!=null;s++){for(c.nodeType===1&&ai.cleanData(c.getElementsByTagName("*"));c.firstChild;){c.removeChild(c.firstChild);}}return this;},clone:function(s){var c=this.map(function(){if(!ai.support.noCloneEvent&&!ai.isXMLDoc(this)){var A=this.outerHTML,w=this.ownerDocument;if(!A){A=w.createElement("div");A.appendChild(this.cloneNode(true));A=A.innerHTML;}return ai.clean([A.replace(aj,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(at,"")],w)[0];}else{return this.cloneNode(true);}});if(s===true){bk(this,c);bk(this.find("*"),c.find("*"));}return c;},html:function(s){if(s===M){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(aj,""):null;}else{if(typeof s==="string"&&!aQ.test(s)&&(ai.support.leadingWhitespace||!at.test(s))&&!aK[(n.exec(s)||["",""])[1].toLowerCase()]){s=s.replace(C,bl);try{for(var c=0,A=this.length;c<A;c++){if(this[c].nodeType===1){ai.cleanData(this[c].getElementsByTagName("*"));this[c].innerHTML=s;}}}catch(w){this.empty().append(s);}}else{ai.isFunction(s)?this.each(function(J){var F=ai(this),G=F.html();F.empty().append(function(){return s.call(this,J,G);});}):this.empty().append(s);}}return this;},replaceWith:function(c){if(this[0]&&this[0].parentNode){if(ai.isFunction(c)){return this.each(function(s){var A=ai(this),w=A.html();A.replaceWith(c.call(this,s,w));});}if(typeof c!=="string"){c=ai(c).detach();}return this.each(function(){var s=this.nextSibling,w=this.parentNode;ai(this).remove();s?ai(s).before(c):ai(w).append(c);});}else{return this.pushStack(ai(ai.isFunction(c)?c():c),"replaceWith",c);}},detach:function(c){return this.remove(c,true);},domManip:function(O,N,L){function J(P){return ai.nodeName(P,"table")?P.getElementsByTagName("tbody")[0]||P.appendChild(P.ownerDocument.createElement("tbody")):P;}var K,F,G=O[0],s=[],A;if(!ai.support.checkClone&&arguments.length===3&&typeof G==="string"&&al.test(G)){return this.each(function(){ai(this).domManip(O,N,L,true);});}if(ai.isFunction(G)){return this.each(function(P){var Q=ai(this);O[0]=G.call(this,P,N?Q.html():M);Q.domManip(O,N,L);});}if(this[0]){K=G&&G.parentNode;K=ai.support.parentNode&&K&&K.nodeType===11&&K.childNodes.length===this.length?{fragment:K}:a4(O,this,s);A=K.fragment;if(F=A.childNodes.length===1?(A=A.firstChild):A.firstChild){N=N&&ai.nodeName(F,"tr");for(var w=0,c=this.length;w<c;w++){L.call(N?J(this[w],F):this[w],w>0||K.cacheable||this.length>1?A.cloneNode(true):A);}}s.length&&ai.each(s,H);}return this;}});ai.fragments={};ai.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(s,c){ai.fn[s]=function(J){var F=[];J=ai(J);var G=this.length===1&&this[0].parentNode;if(G&&G.nodeType===11&&G.childNodes.length===1&&J.length===1){J[c](this[0]);return this;}else{G=0;for(var w=J.length;G<w;G++){var A=(G>0?this.clone(true):this).get();ai.fn[c].apply(ai(J[G]),A);F=F.concat(A);}return this.pushStack(F,s,J.selector);}};});ai.extend({clean:function(O,N,L,J){N=N||S;if(typeof N.createElement==="undefined"){N=N.ownerDocument||N[0]&&N[0].ownerDocument||S;}for(var K=[],F=0,G;(G=O[F])!=null;F++){if(typeof G==="number"){G+="";}if(G){if(typeof G==="string"&&!v.test(G)){G=N.createTextNode(G);}else{if(typeof G==="string"){G=G.replace(C,bl);var s=(n.exec(G)||["",""])[1].toLowerCase(),A=aK[s]||aK._default,w=A[0],c=N.createElement("div");for(c.innerHTML=A[1]+G+A[2];w--;){c=c.lastChild;}if(!ai.support.tbody){w=ad.test(G);s=s==="table"&&!w?c.firstChild&&c.firstChild.childNodes:A[1]==="<table>"&&!w?c.childNodes:[];for(A=s.length-1;A>=0;--A){ai.nodeName(s[A],"tbody")&&!s[A].childNodes.length&&s[A].parentNode.removeChild(s[A]);}}!ai.support.leadingWhitespace&&at.test(G)&&c.insertBefore(N.createTextNode(at.exec(G)[0]),c.firstChild);G=c.childNodes;}}if(G.nodeType){K.push(G);}else{K=ai.merge(K,G);}}}if(L){for(F=0;K[F];F++){if(J&&ai.nodeName(K[F],"script")&&(!K[F].type||K[F].type.toLowerCase()==="text/javascript")){J.push(K[F].parentNode?K[F].parentNode.removeChild(K[F]):K[F]);}else{K[F].nodeType===1&&K.splice.apply(K,[F+1,0].concat(ai.makeArray(K[F].getElementsByTagName("script"))));L.appendChild(K[F]);}}}return K;},cleanData:function(L){for(var K,J,F=ai.cache,G=ai.event.special,w=ai.support.deleteExpando,A=0,c;(c=L[A])!=null;A++){if(J=c[ai.expando]){K=F[J];if(K.events){for(var s in K.events){G[s]?ai.event.remove(c,s):aH(c,s,K.handle);}}if(w){delete c[ai.expando];}else{c.removeAttribute&&c.removeAttribute(ai.expando);}delete F[J];}}}});var i=/z-?index|font-?weight|opacity|zoom|line-?height/i,a5=/alpha\([^)]*\)/,aR=/opacity=([^)]*)/,aF=/float/i,ae=/-([a-z])/ig,bg=/([A-Z])/g,a0=/^-?\d+(?:px)?$/i,aJ=/^-?\d/,ag={position:"absolute",visibility:"hidden",display:"block"},z=["Left","Right"],l=["Top","Bottom"],bj=S.defaultView&&S.defaultView.getComputedStyle,am=ai.support.cssFloat?"cssFloat":"styleFloat",x=function(s,c){return c.toUpperCase();};ai.fn.css=function(s,c){return aq(this,s,c,true,function(F,w,A){if(A===M){return ai.curCSS(F,w);}if(typeof A==="number"&&!i.test(w)){A+="px";}ai.style(F,w,A);});};ai.extend({style:function(s,c,F){if(!s||s.nodeType===3||s.nodeType===8){return M;}if((c==="width"||c==="height")&&parseFloat(F)<0){F=M;}var w=s.style||s,A=F!==M;if(!ai.support.opacity&&c==="opacity"){if(A){w.zoom=1;c=parseInt(F,10)+""==="NaN"?"":"alpha(opacity="+F*100+")";s=w.filter||ai.curCSS(s,"filter")||"";w.filter=a5.test(s)?s.replace(a5,c):c;}return w.filter&&w.filter.indexOf("opacity=")>=0?parseFloat(aR.exec(w.filter)[1])/100+"":"";}if(aF.test(c)){c=am;}c=c.replace(ae,x);if(A){w[c]=F;}return w[c];},css:function(s,c,J,F){if(c==="width"||c==="height"){var G,w=c==="width"?z:l;function A(){G=c==="width"?s.offsetWidth:s.offsetHeight;F!=="border"&&ai.each(w,function(){F||(G-=parseFloat(ai.curCSS(s,"padding"+this,true))||0);if(F==="margin"){G+=parseFloat(ai.curCSS(s,"margin"+this,true))||0;}else{G-=parseFloat(ai.curCSS(s,"border"+this+"Width",true))||0;}});}s.offsetWidth!==0?A():ai.swap(s,ag,A);return Math.max(0,Math.round(G));}return ai.curCSS(s,c,J);},curCSS:function(s,c,G){var A,F=s.style;if(!ai.support.opacity&&c==="opacity"&&s.currentStyle){A=aR.test(s.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return A===""?"1":A;}if(aF.test(c)){c=am;}if(!G&&F&&F[c]){A=F[c];}else{if(bj){if(aF.test(c)){c="float";}c=c.replace(bg,"-$1").toLowerCase();F=s.ownerDocument.defaultView;if(!F){return null;}if(s=F.getComputedStyle(s,null)){A=s.getPropertyValue(c);}if(c==="opacity"&&A===""){A="1";}}else{if(s.currentStyle){G=c.replace(ae,x);A=s.currentStyle[c]||s.currentStyle[G];if(!a0.test(A)&&aJ.test(A)){c=F.left;var w=s.runtimeStyle.left;s.runtimeStyle.left=s.currentStyle.left;F.left=G==="fontSize"?"1em":A||0;A=F.pixelLeft+"px";F.left=c;s.runtimeStyle.left=w;}}}}return A;},swap:function(s,c,F){var w={};for(var A in c){w[A]=s.style[A];s.style[A]=c[A];}F.call(s);for(A in c){s.style[A]=w[A];}}});if(ai.expr&&ai.expr.filters){ai.expr.filters.hidden=function(s){var c=s.offsetWidth,A=s.offsetHeight,w=s.nodeName.toLowerCase()==="tr";return c===0&&A===0&&!w?true:c>0&&A>0&&!w?false:ai.curCSS(s,"display")==="none";};ai.expr.filters.visible=function(c){return!ai.expr.filters.hidden(c);};}var a3=aG(),aO=/<script(.|\s)*?\/script>/gi,ak=/select|textarea/i,D=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,aB=/=\?(&|$)/,j=/\?/,o=/(\?|&)_=.*?(&|$)/,a=/^(\w+:)?\/\/([^\/?#]+)/,a6=/%20/g,aS=ai.fn.load;ai.fn.extend({load:function(s,c,G){if(typeof s!=="string"){return aS.call(this,s);}else{if(!this.length){return this;}}var A=s.indexOf(" ");if(A>=0){var F=s.slice(A,s.length);s=s.slice(0,A);}A="GET";if(c){if(ai.isFunction(c)){G=c;c=null;}else{if(typeof c==="object"){c=ai.param(c,ai.ajaxSettings.traditional);A="POST";}}}var w=this;ai.ajax({url:s,type:A,dataType:"html",data:c,complete:function(J,K){if(K==="success"||K==="notmodified"){w.html(F?ai("<div />").append(J.responseText.replace(aO,"")).find(F):J.responseText);}G&&w.each(G,[J.responseText,K,J]);}});return this;},serialize:function(){return ai.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return this.elements?ai.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||ak.test(this.nodeName)||D.test(this.type));}).map(function(s,c){s=ai(this).val();return s==null?null:ai.isArray(s)?ai.map(s,function(w){return{name:c.name,value:w};}):{name:c.name,value:s};}).get();}});ai.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(s,c){ai.fn[c]=function(w){return this.bind(c,w);};});ai.extend({get:function(s,c,A,w){if(ai.isFunction(c)){w=w||A;A=c;c=null;}return ai.ajax({type:"GET",url:s,data:c,success:A,dataType:w});},getScript:function(s,c){return ai.get(s,null,c,"script");},getJSON:function(s,c,w){return ai.get(s,c,w,"json");},post:function(s,c,A,w){if(ai.isFunction(c)){w=w||A;A=c;c={};}return ai.ajax({type:"POST",url:s,data:c,success:A,dataType:w});},ajaxSetup:function(c){ai.extend(ai.ajaxSettings,c);},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:aP.XMLHttpRequest&&(aP.location.protocol!=="file:"||!aP.ActiveXObject)?function(){return new aP.XMLHttpRequest;}:function(){try{return new aP.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(aa){function Z(){X.success&&X.success.call(P,K,R,s);X.global&&W("ajaxSuccess",[s,X]);}function Y(){X.complete&&X.complete.call(P,s,R);X.global&&W("ajaxComplete",[s,X]);X.global&&!--ai.active&&ai.event.trigger("ajaxStop");}function W(ba,bb){(X.context?ai(X.context):ai.event).trigger(ba,bb);}var X=ai.extend(true,{},ai.ajaxSettings,aa),Q,R,K,P=aa&&aa.context||X,L=X.type.toUpperCase();if(X.data&&X.processData&&typeof X.data!=="string"){X.data=ai.param(X.data,X.traditional);}if(X.dataType==="jsonp"){if(L==="GET"){aB.test(X.url)||(X.url+=(j.test(X.url)?"&":"?")+(X.jsonp||"callback")+"=?");}else{if(!X.data||!aB.test(X.data)){X.data=(X.data?X.data+"&":"")+(X.jsonp||"callback")+"=?";}}X.dataType="json";}if(X.dataType==="json"&&(X.data&&aB.test(X.data)||aB.test(X.url))){Q=X.jsonpCallback||"jsonp"+a3++;if(X.data){X.data=(X.data+"").replace(aB,"="+Q+"$1");}X.url=X.url.replace(aB,"="+Q+"$1");X.dataType="script";aP[Q]=aP[Q]||function(ba){K=ba;Z();Y();aP[Q]=M;try{delete aP[Q];}catch(bb){}c&&c.removeChild(F);};}if(X.dataType==="script"&&X.cache===null){X.cache=false;}if(X.cache===false&&L==="GET"){var G=aG(),w=X.url.replace(o,"$1_="+G+"$2");X.url=w+(w===X.url?(j.test(X.url)?"&":"?")+"_="+G:"");}if(X.data&&L==="GET"){X.url+=(j.test(X.url)?"&":"?")+X.data;}X.global&&!ai.active++&&ai.event.trigger("ajaxStart");G=(G=a.exec(X.url))&&(G[1]&&G[1]!==location.protocol||G[2]!==location.host);if(X.dataType==="script"&&L==="GET"&&G){var c=S.getElementsByTagName("head")[0]||S.documentElement,F=S.createElement("script");F.src=X.url;if(X.scriptCharset){F.charset=X.scriptCharset;}if(!Q){var J=false;F.onload=F.onreadystatechange=function(){if(!J&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){J=true;Z();Y();F.onload=F.onreadystatechange=null;c&&F.parentNode&&c.removeChild(F);}};}c.insertBefore(F,c.firstChild);return M;}var A=false,s=X.xhr();if(s){X.username?s.open(L,X.url,X.async,X.username,X.password):s.open(L,X.url,X.async);try{if(X.data||aa&&aa.contentType){s.setRequestHeader("Content-Type",X.contentType);}if(X.ifModified){ai.lastModified[X.url]&&s.setRequestHeader("If-Modified-Since",ai.lastModified[X.url]);ai.etag[X.url]&&s.setRequestHeader("If-None-Match",ai.etag[X.url]);}G||s.setRequestHeader("X-Requested-With","XMLHttpRequest");s.setRequestHeader("Accept",X.dataType&&X.accepts[X.dataType]?X.accepts[X.dataType]+", */*":X.accepts._default);}catch(ab){}if(X.beforeSend&&X.beforeSend.call(P,s,X)===false){X.global&&!--ai.active&&ai.event.trigger("ajaxStop");s.abort();return false;}X.global&&W("ajaxSend",[s,X]);var V=s.onreadystatechange=function(bb){if(!s||s.readyState===0||bb==="abort"){A||Y();A=true;if(s){s.onreadystatechange=ai.noop;}}else{if(!A&&s&&(s.readyState===4||bb==="timeout")){A=true;s.onreadystatechange=ai.noop;R=bb==="timeout"?"timeout":!ai.httpSuccess(s)?"error":X.ifModified&&ai.httpNotModified(s,X.url)?"notmodified":"success";var bm;if(R==="success"){try{K=ai.httpData(s,X.dataType,X);}catch(ba){R="parsererror";bm=ba;}}if(R==="success"||R==="notmodified"){Q||Z();}else{ai.handleError(X,s,R,bm);}Y();bb==="timeout"&&s.abort();if(X.async){s=null;}}}};try{var T=s.abort;s.abort=function(){s&&T.call(s);V("abort");};}catch(O){}X.async&&X.timeout>0&&setTimeout(function(){s&&!A&&V("timeout");},X.timeout);try{s.send(L==="POST"||L==="PUT"||L==="DELETE"?X.data:null);}catch(N){ai.handleError(X,s,null,N);Y();}X.async||V();return s;}},handleError:function(s,c,A,w){if(s.error){s.error.call(s.context||s,c,A,w);}if(s.global){(s.context?ai(s.context):ai.event).trigger("ajaxError",[c,s,w]);}},active:0,httpSuccess:function(s){try{return!s.status&&location.protocol==="file:"||s.status>=200&&s.status<300||s.status===304||s.status===1223||s.status===0;}catch(c){}return false;},httpNotModified:function(s,c){var A=s.getResponseHeader("Last-Modified"),w=s.getResponseHeader("Etag");if(A){ai.lastModified[c]=A;}if(w){ai.etag[c]=w;}return s.status===304||s.status===0;},httpData:function(s,c,F){var w=s.getResponseHeader("content-type")||"",A=c==="xml"||!c&&w.indexOf("xml")>=0;s=A?s.responseXML:s.responseText;A&&s.documentElement.nodeName==="parsererror"&&ai.error("parsererror");if(F&&F.dataFilter){s=F.dataFilter(s,c);}if(typeof s==="string"){if(c==="json"||!c&&w.indexOf("json")>=0){s=ai.parseJSON(s);}else{if(c==="script"||!c&&w.indexOf("javascript")>=0){ai.globalEval(s);}}}return s;},param:function(s,c){function G(J,K){if(ai.isArray(K)){ai.each(K,function(L,N){c||/\[\]$/.test(J)?A(J,N):G(J+"["+(typeof N==="object"||ai.isArray(N)?L:"")+"]",N);});}else{!c&&K!=null&&typeof K==="object"?ai.each(K,function(L,N){G(J+"["+L+"]",N);}):A(J,K);}}function A(J,K){K=ai.isFunction(K)?K():K;F[F.length]=encodeURIComponent(J)+"="+encodeURIComponent(K);}var F=[];if(c===M){c=ai.ajaxSettings.traditional;}if(ai.isArray(s)||s.jquery){ai.each(s,function(){A(this.name,this.value);});}else{for(var w in s){G(w,s[w]);}}return F.join("&").replace(a6,"+");}});var bh={},bd=/toggle|show|hide/,aY=/^([+-]=)?([\d+-.]+)(.*)$/,ar,E=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];ai.fn.extend({show:function(s,c){if(s||s===0){return this.animate(aD("show",3),s,c);}else{s=0;for(c=this.length;s<c;s++){var F=ai.data(this[s],"olddisplay");this[s].style.display=F||"";if(ai.css(this[s],"display")==="none"){F=this[s].nodeName;var w;if(bh[F]){w=bh[F];}else{var A=ai("<"+F+" />").appendTo("body");w=A.css("display");if(w==="none"){w="block";}A.remove();bh[F]=w;}ai.data(this[s],"olddisplay",w);}}s=0;for(c=this.length;s<c;s++){this[s].style.display=ai.data(this[s],"olddisplay")||"";}return this;}},hide:function(s,c){if(s||s===0){return this.animate(aD("hide",3),s,c);}else{s=0;for(c=this.length;s<c;s++){var w=ai.data(this[s],"olddisplay");!w&&w!=="none"&&ai.data(this[s],"olddisplay",ai.css(this[s],"display"));}s=0;for(c=this.length;s<c;s++){this[s].style.display="none";}return this;}},_toggle:ai.fn.toggle,toggle:function(s,c){var w=typeof s==="boolean";if(ai.isFunction(s)&&ai.isFunction(c)){this._toggle.apply(this,arguments);}else{s==null||w?this.each(function(){var A=w?s:ai(this).is(":hidden");ai(this)[A?"show":"hide"]();}):this.animate(aD("toggle",3),s,c);}return this;},fadeTo:function(s,c,w){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},s,w);},animate:function(s,c,F,w){var A=ai.speed(c,F,w);if(ai.isEmptyObject(s)){return this.each(A.complete);}return this[A.queue===false?"each":"queue"](function(){var J=ai.extend({},A),K,L=this.nodeType===1&&ai(this).is(":hidden"),G=this;for(K in s){var N=K.replace(ae,x);if(K!==N){s[N]=s[K];delete s[K];K=N;}if(s[K]==="hide"&&L||s[K]==="show"&&!L){return J.complete.call(this);}if((K==="height"||K==="width")&&this.style){J.display=ai.css(this,"display");J.overflow=this.style.overflow;}if(ai.isArray(s[K])){(J.specialEasing=J.specialEasing||{})[K]=s[K][1];s[K]=s[K][0];}}if(J.overflow!=null){this.style.overflow="hidden";}J.curAnim=ai.extend({},s);ai.each(s,function(P,O){var T=new ai.fx(G,J,P);if(bd.test(O)){T[O==="toggle"?L?"show":"hide":O](s);}else{var R=aY.exec(O),V=T.cur(true)||0;if(R){O=parseFloat(R[2]);var Q=R[3]||"px";if(Q!=="px"){G.style[P]=(O||1)+Q;V=(O||1)/T.cur(true)*V;G.style[P]=V+Q;}if(R[1]){O=(R[1]==="-="?-1:1)*O+V;}T.custom(V,O,Q);}else{T.custom(V,O,"");}}});return true;});},stop:function(s,c){var w=ai.timers;s&&this.queue([]);this.each(function(){for(var A=w.length-1;A>=0;A--){if(w[A].elem===this){c&&w[A](true);w.splice(A,1);}}});c||this.dequeue();return this;}});ai.each({slideDown:aD("show",1),slideUp:aD("hide",1),slideToggle:aD("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(s,c){ai.fn[s]=function(A,w){return this.animate(c,A,w);};});ai.extend({speed:function(s,c,A){var w=s&&typeof s==="object"?s:{complete:A||!A&&c||ai.isFunction(s)&&s,duration:s,easing:A&&c||c&&!ai.isFunction(c)&&c};w.duration=ai.fx.off?0:typeof w.duration==="number"?w.duration:ai.fx.speeds[w.duration]||ai.fx.speeds._default;w.old=w.complete;w.complete=function(){w.queue!==false&&ai(this).dequeue();ai.isFunction(w.old)&&w.old.call(this);};return w;},easing:{linear:function(s,c,A,w){return A+w*s;},swing:function(s,c,A,w){return(-Math.cos(s*Math.PI)/2+0.5)*w+A;}},timers:[],fx:function(s,c,w){this.options=c;this.elem=s;this.prop=w;if(!c.orig){c.orig={};}}});ai.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(ai.fx.step[this.prop]||ai.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(ai.css(this.elem,this.prop,c)))&&c>-10000?c:parseFloat(ai.curCSS(this.elem,this.prop))||0;},custom:function(s,c,F){function w(G){return A.step(G);}this.startTime=aG();this.start=s;this.end=c;this.unit=F||this.unit||"px";this.now=this.start;this.pos=this.state=0;var A=this;w.elem=this.elem;if(w()&&ai.timers.push(w)&&!ar){ar=setInterval(ai.fx.tick,13);}},show:function(){this.options.orig[this.prop]=ai.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());ai(this.elem).show();},hide:function(){this.options.orig[this.prop]=ai.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(s){var c=aG(),F=true;if(s||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var w in this.options.curAnim){if(this.options.curAnim[w]!==true){F=false;}}if(F){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;s=ai.data(this.elem,"olddisplay");this.elem.style.display=s?s:this.options.display;if(ai.css(this.elem,"display")==="none"){this.elem.style.display="block";}}this.options.hide&&ai(this.elem).hide();if(this.options.hide||this.options.show){for(var A in this.options.curAnim){ai.style(this.elem,A,this.options.orig[A]);}}this.options.complete.call(this.elem);}return false;}else{A=c-this.startTime;this.state=A/this.options.duration;s=this.options.easing||(ai.easing.swing?"swing":"linear");this.pos=ai.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||s](this.state,A,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update();}return true;}};ai.extend(ai.fx,{tick:function(){for(var s=ai.timers,c=0;c<s.length;c++){s[c]()||s.splice(c--,1);}s.length||ai.fx.stop();},stop:function(){clearInterval(ar);ar=null;},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){ai.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(ai.expr&&ai.expr.filters){ai.expr.filters.animated=function(c){return ai.grep(ai.timers,function(s){return c===s.elem;}).length;};}ai.fn.offset="getBoundingClientRect"in S.documentElement?function(s){var c=this[0];if(s){return this.each(function(F){ai.offset.setOffset(this,s,F);});}if(!c||!c.ownerDocument){return null;}if(c===c.ownerDocument.body){return ai.offset.bodyOffset(c);}var A=c.getBoundingClientRect(),w=c.ownerDocument;c=w.body;w=w.documentElement;return{top:A.top+(self.pageYOffset||ai.support.boxModel&&w.scrollTop||c.scrollTop)-(w.clientTop||c.clientTop||0),left:A.left+(self.pageXOffset||ai.support.boxModel&&w.scrollLeft||c.scrollLeft)-(w.clientLeft||c.clientLeft||0)};}:function(N){var L=this[0];if(N){return this.each(function(O){ai.offset.setOffset(this,N,O);});}if(!L||!L.ownerDocument){return null;}if(L===L.ownerDocument.body){return ai.offset.bodyOffset(L);}ai.offset.initialize();var K=L.offsetParent,G=L,J=L.ownerDocument,A,F=J.documentElement,c=J.body;G=(J=J.defaultView)?J.getComputedStyle(L,null):L.currentStyle;for(var w=L.offsetTop,s=L.offsetLeft;(L=L.parentNode)&&L!==c&&L!==F;){if(ai.offset.supportsFixedPosition&&G.position==="fixed"){break;}A=J?J.getComputedStyle(L,null):L.currentStyle;w-=L.scrollTop;s-=L.scrollLeft;if(L===K){w+=L.offsetTop;s+=L.offsetLeft;if(ai.offset.doesNotAddBorder&&!(ai.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(L.nodeName))){w+=parseFloat(A.borderTopWidth)||0;s+=parseFloat(A.borderLeftWidth)||0;}G=K;K=L.offsetParent;}if(ai.offset.subtractsBorderForOverflowNotVisible&&A.overflow!=="visible"){w+=parseFloat(A.borderTopWidth)||0;s+=parseFloat(A.borderLeftWidth)||0;}G=A;}if(G.position==="relative"||G.position==="static"){w+=c.offsetTop;s+=c.offsetLeft;}if(ai.offset.supportsFixedPosition&&G.position==="fixed"){w+=Math.max(F.scrollTop,c.scrollTop);s+=Math.max(F.scrollLeft,c.scrollLeft);}return{top:w,left:s};};ai.offset={initialize:function(){var s=S.body,c=S.createElement("div"),G,A,F,w=parseFloat(ai.curCSS(s,"marginTop",true))||0;ai.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});c.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";s.insertBefore(c,s.firstChild);G=c.firstChild;A=G.firstChild;F=G.nextSibling.firstChild.firstChild;this.doesNotAddBorder=A.offsetTop!==5;this.doesAddBorderForTableAndCells=F.offsetTop===5;A.style.position="fixed";A.style.top="20px";this.supportsFixedPosition=A.offsetTop===20||A.offsetTop===15;A.style.position=A.style.top="";G.style.overflow="hidden";G.style.position="relative";this.subtractsBorderForOverflowNotVisible=A.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=s.offsetTop!==w;s.removeChild(c);ai.offset.initialize=ai.noop;},bodyOffset:function(s){var c=s.offsetTop,w=s.offsetLeft;ai.offset.initialize();if(ai.offset.doesNotIncludeMarginInBodyOffset){c+=parseFloat(ai.curCSS(s,"marginTop",true))||0;w+=parseFloat(ai.curCSS(s,"marginLeft",true))||0;}return{top:c,left:w};},setOffset:function(s,c,J){if(/static/.test(ai.curCSS(s,"position"))){s.style.position="relative";}var F=ai(s),G=F.offset(),w=parseInt(ai.curCSS(s,"top",true),10)||0,A=parseInt(ai.curCSS(s,"left",true),10)||0;if(ai.isFunction(c)){c=c.call(s,J,G);}J={top:c.top-G.top+w,left:c.left-G.left+A};"using"in c?c.using.call(s,J):F.css(J);}};ai.fn.extend({position:function(){if(!this[0]){return null;}var s=this[0],c=this.offsetParent(),A=this.offset(),w=/^body|html$/i.test(c[0].nodeName)?{top:0,left:0}:c.offset();A.top-=parseFloat(ai.curCSS(s,"marginTop",true))||0;A.left-=parseFloat(ai.curCSS(s,"marginLeft",true))||0;w.top+=parseFloat(ai.curCSS(c[0],"borderTopWidth",true))||0;w.left+=parseFloat(ai.curCSS(c[0],"borderLeftWidth",true))||0;return{top:A.top-w.top,left:A.left-w.left};},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||S.body;c&&!/^body|html$/i.test(c.nodeName)&&ai.css(c,"position")==="static";){c=c.offsetParent;}return c;});}});ai.each(["Left","Top"],function(s,c){var w="scroll"+c;ai.fn[w]=function(F){var G=this[0],A;if(!G){return null;}if(F!==M){return this.each(function(){if(A=p(this)){A.scrollTo(!s?F:ai(A).scrollLeft(),s?F:ai(A).scrollTop());}else{this[w]=F;}});}else{return(A=p(G))?"pageXOffset"in A?A[s?"pageYOffset":"pageXOffset"]:ai.support.boxModel&&A.document.documentElement[w]||A.document.body[w]:G[w];}};});ai.each(["Height","Width"],function(s,c){var w=c.toLowerCase();ai.fn["inner"+c]=function(){return this[0]?ai.css(this[0],w,false,"padding"):null;};ai.fn["outer"+c]=function(A){return this[0]?ai.css(this[0],w,false,A?"margin":"border"):null;};ai.fn[w]=function(A){var F=this[0];if(!F){return A==null?null:this;}if(ai.isFunction(A)){return this.each(function(G){var J=ai(this);J[w](A.call(this,G,J[w]()));});}return"scrollTo"in F&&F.document?F.document.compatMode==="CSS1Compat"&&F.document.documentElement["client"+c]||F.document.body["client"+c]:F.nodeType===9?Math.max(F.documentElement["client"+c],F.body["scroll"+c],F.documentElement["scroll"+c],F.body["offset"+c],F.documentElement["offset"+c]):A===M?ai.css(F,w):this.css(w,typeof A==="string"?A:A+"px");};});aP.jQuery=aP.$=ai;})(window);var jTweener=function(){var m=false;var z=60;var ad=navigator.userAgent.toLowerCase();var ae=/msie/.test(ad)&&!/opera/.test(ad);var ab={};var g={};var f={time:1,transition:"easeoutexpo",namespace:"default",delay:0,prefix:{},suffix:{},onStart:undefined,onStartParams:undefined,onUpdate:undefined,onUpdateParams:undefined,onComplete:undefined,onCompleteParams:undefined};var t=["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor","borderColor"];var l=/^\s*([+\-])=\s*(\-?\d+)/;var h=false;var c={};function i(){for(var a in jTweener.easingFunctions){c[a.toLowerCase()]=jTweener.easingFunctions[a];}h=true;}function v(b,a){if(typeof b=="function"){if(a){b.apply(window,a);}else{b();}}}function w(a,B){if(a.style[B]){return a.style[B];}else{if(ae){var b=a.currentStyle;if(B=="opacity"){a.style.zoom=1;return b.filter&&b.filter.indexOf("opacity=")>=0?parseFloat(b.filter.match(/opacity=([^)]*)/)[1])/100:1;}else{return a.currentStyle[B];}}else{if(document.defaultView&&document.defaultView.getComputedStyle){B=B.replace(/([A-Z])/g,"-$1").toLowerCase();var A=document.defaultView.getComputedStyle(a,"");return A&&A.getPropertyValue(B);}else{return null;}}}}function j(a){return(!(a instanceof Array)&&!a.jquery)?[a]:a;}function k(a){return a.nodeType?true:false;}function aa(a){for(var b=0;b<t.length;b++){if(t[b]==a){return true;}}return false;}function ac(a){return(typeof a=="function");}function y(b,A){var a=0;if(k(b)){a=w(b,A);}else{if(ac(b[A])){a=b[A]();}else{a=b[A];}}return a;}function o(a,b){return parseFloat(y(a,b))||0;}function d(A,b){if(g[A]&&g[A][b]){var a=g[A][b];for(var B=0;B<a.length;B++){v(a[B].func,a[B].params);}}}function q(a,C,b){var D=(a.suffix[C])?b+a.suffix[C]:b;if(ac(a.target[C])){a.target[C].call(a.rawTarget,D);}else{if(a.targetPropeties[C].func){a.targetPropeties[C].func.call(a.rawTarget,b);}else{if(aa(C)){var A=a.targetPropeties[C];a.target[C]=jTweener.Utils.Color.blend(A.start_color,A.end_color,b)+"";}else{try{if(ae&&C=="opacity"&&k(a.rawTarget)){a.target.filter=(a.target.filter||"").replace(/alpha\([^)]*\)/,"")+(parseFloat(b).toString()=="NaN"?"":"alpha(opacity="+b*100+")");}else{a.target[C]=D;}}catch(B){}}}}}function x(){var H=(new Date()-0);var C=0;for(var A in ab){var E=ab[A];C++;for(var D=0;D<E.length;D++){var F=E[D];var a=H-F.startTime;var B=F.endTime-F.startTime;if(a>=B){for(var b in F.targetPropeties){var G=F.targetPropeties[b];q(F,b,G.b+G.c);}E.splice(D,1);v(F.onUpdate,F.onUpdateParams);v(F.onComplete,F.onCompleteParams);}else{for(var b in F.targetPropeties){var G=F.targetPropeties[b];q(F,b,F.easing(a,G.b,G.c,B));}v(F.onUpdate,F.onUpdateParams);}}d(A,"onUpdate");if(!E.length){E=null;delete ab[A];C--;d(A,"onComplete");}}if(C>0){setTimeout(x,1000/z);}else{m=false;}}function u(b,B){var C=0;if(b&&k(b)){b=b.style;}function A(E){for(var D=E.length-1;D>=0;D--){if(E[D].target==b){E.splice(D,1);C++;}}}if(!b&&B){ab[B]=[];}else{if(B&&ab[B]){A(ab[B]);}else{for(var a in ab){A(ab[a]);}}}return C;}function s(b){var A={};for(var a in f){A[a]=b[a]||f[a];delete b[a];}if(ac(A.transition)){A.easing=A.transition;}else{A.easing=c[A.transition.toLowerCase()];}delete b.easing;return A;}function r(a){var A={};for(var b in a){if(a.hasOwnProperty(b)){A[b]=a[b];}}return A;}function p(B,a){a=r(a);var F=k(B);var E=s(a);E.rawTarget=B;E.target=(F)?B.style:B;E.targetPropeties={};var C;for(var b in a){if(!E.prefix[b]){E.prefix[b]="";}if(!E.suffix[b]){E.suffix[b]=(F&&b!="opacity")?"px":"";}var A=a[b];if(A===null){continue;}if(F){b=b.replace(/\-(\w)/g,function(H,I){return I.toUpperCase();});}if(aa(b)){E.targetPropeties[b]={b:0,c:1,start_color:jTweener.Utils.getRGB(y(B,b)),end_color:jTweener.Utils.getRGB(A)};}else{if(ac(A)){E.targetPropeties[b]={func:A,b:0,c:1};}else{var D=o(B,b);var G=A;if((C=l.exec(G))){G=D+(C[1]=="-"?-1:1)*parseFloat(C[2]);}else{G=parseFloat(G);}E.targetPropeties[b]={b:D,c:G-D};}}}return E;}function n(a,b){if(!h){i();}var A=b.delay||f.delay;setTimeout(function(){var B=p(a,b);B.startTime=(new Date()-0);B.endTime=B.time*1000+B.startTime;v(B.onStart,B.onStartParams);if(!ab[B.namespace]){ab[B.namespace]=[];}ab[B.namespace].push(B);if(!m){m=true;x();}},A*1000);}return{addTween:function(a,A){a=j(a);for(var b=0;b<a.length;b++){n(a[b],A);}},addPercent:function(b){var a={};if(arguments.length==2){a=arguments[0];b=arguments[1];}n(a,b);return a;},addNSAction:function(a,b){b=b||f.namespace;if(!g[b]){g[b]={};}var B=g[b];for(var A in a){if(A.indexOf("Params")==-1){if(!B[A]){B[A]=[];}B[A].push({func:a[A],params:a[A+"Params"]});}}},removeNSActions:function(){switch(arguments.length){case 0:g={};break;default:var b=arguments[0];var a=[].splice.call(arguments,1);if(g[b]){if(a&&a.length){var B=g[b];for(var A=0;A<a.length;A++){delete B[a[A]];}}else{delete g[b];}}}},removeTween:function(){switch(arguments.length){case 0:ab={};break;default:var a,A;if(arguments.length==1){if(typeof arguments[0]=="string"){a=arguments[0];}else{A=arguments[0];}}else{a=arguments[0];A=arguments[1];}if(A&&(A instanceof Array||A.jquery)){for(var b=0;b<A.length;b++){u(A[b],a);}}else{u(A,a);}}}};}();jTweener.Utils={bezier2:function(a,b,c,d){return(1-a)*(1-a)*b+2*a*(1-a)*c+a*a*d;},bezier3:function(a,b,c,d,f){return Math.pow(1-a,3)*b+3*a*Math.pow(1-a,2)*c+3*a*a*(1-a)*d+a*a*a*f;},mergeObjects:function(){var a={};for(var c=0;c<arguments.length;c++){var b=arguments[c];if(!b){continue;}for(var d in b){a[d]=b[d];}}return a;},getRGB:function(b){var a;if(b&&b.constructor==jTweener.Utils.Color){return b;}if(a=/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/.exec(b)){return new jTweener.Utils.Color(parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10));}if(a=/rgb\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*\)/.exec(b)){return new jTweener.Utils.Color(parseFloat(a[1],10)*2.55,parseFloat(a[2],10)*2.55,parseFloat(a[3],10)*2.55);}if(a=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(b)){return new jTweener.Utils.Color(parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16));}if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(b)){return new jTweener.Utils.Color(parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16));}return new jTweener.Utils.Color(0,0,0);}};jTweener.Utils.Color=function(b,c,a){this.r=Math.max(Math.min(Math.round(b),255),0);this.g=Math.max(Math.min(Math.round(c),255),0);this.b=Math.max(Math.min(Math.round(a),255),0);};jTweener.Utils.Color.blend=function(c,a,b){b=b||0;return new jTweener.Utils.Color(c.r+(a.r-c.r)*b,c.g+(a.g-c.g)*b,c.b+(a.b-c.b)*b);};jTweener.Utils.Color.prototype={r:0,g:0,b:0,toString:function(){return"rgb("+this.r+","+this.g+","+this.b+")";}};jTweener.easingFunctions={easeNone:function(d,a,b,c){return b*d/c+a;},easeInQuad:function(d,a,b,c){return b*(d/=c)*d+a;},easeOutQuad:function(d,a,b,c){return-b*(d/=c)*(d-2)+a;},easeInOutQuad:function(d,a,b,c){if((d/=c/2)<1){return b/2*d*d+a;}return-b/2*((--d)*(d-2)-1)+a;},easeInCubic:function(d,a,b,c){return b*(d/=c)*d*d+a;},easeOutCubic:function(d,a,b,c){return b*((d=d/c-1)*d*d+1)+a;},easeInOutCubic:function(d,a,b,c){if((d/=c/2)<1){return b/2*d*d*d+a;}return b/2*((d-=2)*d*d+2)+a;},easeInExpo:function(d,a,b,c){return(d==0)?a:b*Math.pow(2,10*(d/c-1))+a-b*0.001;},easeOutExpo:function(d,a,b,c){return(d==c)?a+b:b*1.001*(-Math.pow(2,-10*d/c)+1)+a;},easeInOutExpo:function(d,a,b,c){if(d==0){return a;}if(d==c){return a+b;}if((d/=c/2)<1){return b/2*Math.pow(2,10*(d-1))+a-b*0.0005;}return b/2*1.0005*(-Math.pow(2,-10*--d)+2)+a;},easeInElastic:function(g,a,b,c,h,d){var f;if(g==0){return a;}if((g/=c)==1){return a+b;}if(!d){d=c*0.3;}if(!h||h<Math.abs(b)){h=b;f=d/4;}else{f=d/(2*Math.PI)*Math.asin(b/h);}return-(h*Math.pow(2,10*(g-=1))*Math.sin((g*c-f)*(2*Math.PI)/d))+a;},easeOutElastic:function(g,a,b,c,h,d){var f;if(g==0){return a;}if((g/=c)==1){return a+b;}if(!d){d=c*0.3;}if(!h||h<Math.abs(b)){h=b;f=d/4;}else{f=d/(2*Math.PI)*Math.asin(b/h);}return(h*Math.pow(2,-10*g)*Math.sin((g*c-f)*(2*Math.PI)/d)+b+a);},easeInOutElastic:function(g,a,b,c,h,d){var f;if(g==0){return a;}if((g/=c/2)==2){return a+b;}if(!d){d=c*(0.3*1.5);}if(!h||h<Math.abs(b)){h=b;f=d/4;}else{f=d/(2*Math.PI)*Math.asin(b/h);}if(g<1){return-0.5*(h*Math.pow(2,10*(g-=1))*Math.sin((g*c-f)*(2*Math.PI)/d))+a;}return h*Math.pow(2,-10*(g-=1))*Math.sin((g*c-f)*(2*Math.PI)/d)*0.5+b+a;},easeInBack:function(f,a,b,c,d){if(d==undefined){d=1.70158;}return b*(f/=c)*f*((d+1)*f-d)+a;},easeOutBack:function(f,a,b,c,d){if(d==undefined){d=1.70158;}return b*((f=f/c-1)*f*((d+1)*f+d)+1)+a;},easeInOutBack:function(f,a,b,c,d){if(d==undefined){d=1.70158;}if((f/=c/2)<1){return b/2*(f*f*(((d*=(1.525))+1)*f-d))+a;}return b/2*((f-=2)*f*(((d*=(1.525))+1)*f+d)+2)+a;},easeInBounce:function(d,a,b,c){return b-jTweener.easingFunctions.easeOutBounce(c-d,0,b,c)+a;},easeOutBounce:function(d,a,b,c){if((d/=c)<(1/2.75)){return b*(7.5625*d*d)+a;}else{if(d<(2/2.75)){return b*(7.5625*(d-=(1.5/2.75))*d+0.75)+a;}else{if(d<(2.5/2.75)){return b*(7.5625*(d-=(2.25/2.75))*d+0.9375)+a;}else{return b*(7.5625*(d-=(2.625/2.75))*d+0.984375)+a;}}}},easeInOutBounce:function(d,a,b,c){if(d<c/2){return jTweener.easingFunctions.easeInBounce(d*2,0,b,c)*0.5+a;}else{return jTweener.easingFunctions.easeOutBounce(d*2-c,0,b,c)*0.5+b*0.5+a;}}};jTweener.easingFunctions.linear=jTweener.easingFunctions.easeNone;(function(f){if(window.$t||!f){return;}function g(h){return(typeof h=="function");}function b(){return f.Utils.mergeObjects.apply(this,arguments);}var a="__jto";var c=function(h,i){return new d(h,Array.prototype.slice.call(arguments,1));};function d(h,i){this.obj=h;this.options={};if(i instanceof Array){this.addOptions.apply(this,i);}else{this.addOptions(i);}}d.prototype={tween:function(){var h;if(arguments.length){h=Array.prototype.slice.call(arguments,0);h.unshift(this.options);h=b.apply(this,h);}else{h=this.options;}f.addTween(this.obj,h);return this;},percent:function(){var j=[];for(var i=0;i<arguments.length;i++){if(g(arguments[i])){var h={};h[a+i]=arguments[i];j.push(h);}else{j.push(arguments[i]);}}f.addPercent(this.obj,b.apply(this,j));return this;},stop:function(){f.removeTween(this.obj);return this;},addOptions:function(){var h=Array.prototype.slice.call(arguments,0);h.unshift(this.options);this.options=b.apply(this,h);return this;},clearOptions:function(){this.options={};return this;},removeOptions:function(){for(var h=0;h<arguments.length;h++){delete this.options[String(arguments[h])];}return this;}};window.$t=c;})(jTweener);(function(d){d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=c(h.elem,f);h.end=b(h.end);}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0]),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1]),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2]),255),0)].join(",")+")";};});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g;}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1]),parseInt(f[2]),parseInt(f[3])];}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55];}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)];}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)];}return a[d.trim(g).toLowerCase()];}function c(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break;}f="backgroundColor";}while(h=h.parentNode);return b(g);}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]};})(jQuery);var onTimerDelay=3000;var aPopupBlocks=[];var fMoveIEBorder=true;var rollCanWork=true;var bIEResizeInWork=false;var bFooterHelper=false;function openPopup(d,c){var a=window.open("about:blank",d.target,"width=820,height=600,status=yes");var b=true;if(a){a.document.open();a.document.write("<html><head><title>"+d.target+'</title></head></title><body style="margin: 0; padding: 0 0 0 20px;" bgcolor="#F7F7F7"><iframe src="'+d.href+'" style="width: 800px; height: 600px;" frameborder="0"/></body></html>');a.document.close();b=false;}return b;}var ieFixPngImagePath="/f/1/global/i/0.gif";if(undefined===common){var common={};}common.Measurer=(function(){var b={};var d=500;var i=1;var h;var c;var g=false;var j=false;$(function(){j=true;g&&f();});function f(){c=$("#measurer");h=c.height();setInterval(function(){a();},d);$(window).resize(k);}function a(){var l=c.height();if(l!=h){h=l;k();}}function k(){for(var l in b){b[l]();}}return{setFunc:function(l,m){if(!$.isFunction(l)&&!$.isFunction(m)){b[l]&&(delete b[l]);return;}g=true;j&&f();if($.isFunction(l)){b[i.toString()]=l;i++;}else{b[l]=m;}}};})();$.browser.safari||$(function(){$("input[placeholder]").each(function(){a(this);});function a(d,g){var f=g;var c="empty";if("string"===typeof f){c=f;}f=c;$(d).focus(function(){if(this.value===$(this).attr("placeholder")){this.value="";}$(this).removeClass(f);});$(d).blur(function(){if(!this.value.length){this.value=$(this).attr("placeholder");$(this).addClass(f);}});d.value.length||$(d).blur();var b=$(d).parent("form").find("input:submit");b.bind("click keypress",function(){if(($(d).hasClass("empty")&&$(d).attr("placeholder")===$(d).val())){$(d).val("");}});}});jQuery.extend(Number.prototype,{nice:function(q){var t=/^(-)?(\d+)([\.,](\d+))?$/;var c=Number(this);var l=String(c);var o;var b="";var p="&minus;";var a="&nbsp;";o=l.match(t);if(o){var m="";if(o[1]){m=p;}var g=o[2];var r=0;if(o[4]){r=Number("0."+o[4]);}if(r){var d=2;if(q){d=q;}var f=Math.pow(10,d);r=Math.round(r*f);if(f.toString().length-1>r.toString().length&&r!==0){for(var h=0;h<(f.toString().length-1)-r.toString().length;h++){r="0"+r;}}b="";if(r){b=","+r;}}if(Number(g)<10000){return m+g+b;}else{var s="";var j;for(j=1;j*3<g.length;j++){s=a+g.substring(g.length-j*3,g.length-(j-1)*3)+s;}return m+g.substr(0,3-j*3+g.length)+s+b;}}else{return l;}}});common.checkCanvas=function(){if(undefined!==window.HTMLCanvasElement){return true;}if(!document.namespaces["v"]){document.namespaces.add("v","urn:schemas-microsoft-com:vml");var a=document.createStyleSheet();a.cssText="v\\:* {behavior:url(#default#VML);display:block;}";}return false;};common.isCanvas=common.checkCanvas();if($.browser.msie){try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}function fixIePng(c){if(!(/MSIE (5\.5|6).+Win/.test(navigator.userAgent))){return;}var f;if("IMG"==c.tagName||("INPUT"==c.tagName&&"image"==c.type)){if(/\.png$/.test(c.src)){f=c.src;c.src=ieFixPngImagePath;}}else{f=c.currentStyle.backgroundImage.match(/url\("(.+\.png)"\)/i);if(f){f=f[1];c.runtimeStyle.backgroundImage="none";}}var b=/iesizing\-(\w+)/;var a=b.exec(c.className);if(f){var d="crop";if(a){d=a[1];}c.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+f+"',sizingMethod='"+d+"')";}}}function showJsBlocks(){$(".js_enable").css("visibility","visible");}function unColorizeTable(a){$("tr",a).each(function(){$(this).removeClass("stripe");});}function colorizeResizeTable(){var b=$("#measurer").height()*38;if($.browser.msie){b=$("#measurer").height()*34;$(".text_data").prev(".caption").width($("#measurer").height()*34);}var a=$(".text_data");a.each(function(){var d=true;var c=$('tr:has("td")',$(this));c.each(function(){var g=$(this);if(g.hasClass("hidden")===false){if(d){g.addClass("stripe");}var f=g.next();if(!f.find("td").hasClass("comment")){d=!d;}}});if(!$(this).hasClass("wide")){if($(this).width()>b){$(this).width(b);}}});}function selectorToggle(){$(".selector").hover(function(){$(this).addClass("hovered");},function(){$(this).removeClass("hovered");});$(".selector").click(function(a){a.stopPropagation();$(".selector_block").show();});$(document).click(function(){$(".selector_block").hide();});}function brightLinks(){if($("html").hasClass("no_contrast")){var a=$("#main_navigation li.selected, .left_column .navigation li .marked");if(a.length!==0){var i=$(a[a.length-1]);if(i[0].nodeName==="B"||i[0].nodeName==="A"){i=$(a[a.length-1]).find(".w");}var c;if((i[0].nodeName==="LI")){c=$(i[0]);}else{var d=i.text().split(/\u0020/);var g="";for(var b=0;b<d.length;b++){g+="<span class='w'>"+d[b]+"</span> ";}i.replaceWith(g);c=$(a[a.length-1]).find(".w");i=$(a[a.length-1]).find(".w");}var h=c.css("background-color");var f;if(h=="rgb(0, 122, 194)"||h=="#007ac2"){f="#99ccff";}else{f="#ccff66";}jTweener.addTween(i,{backgroundColor:f,time:0.5,delay:0.5,transition:"easeNone"});jTweener.addTween(i,{backgroundColor:h,time:0.5,delay:1,transition:"easeNone"});}}}function allsitesChooser(g){var f=g.sites;var h=g.closer;var c=g.all;var b=g.sub;var d=g.allList;var a=g.subList;if($(document).height()<900){if(a!==null){a.height("40em");}}if(c!==null){c.click(function(){var i=$(this);if(i.hasClass("pseudo_link")){c.removeClass("pseudo_link").addClass("selected");b.removeClass("selected").addClass("pseudo_link");d.removeClass("hidden");a.addClass("hidden");}});}if(b!==null){b.click(function(){if($(this).hasClass("pseudo_link")){b.removeClass("pseudo_link").addClass("selected");c.removeClass("selected").addClass("pseudo_link");a.removeClass("hidden");d.addClass("hidden");}});}h.hover(function(){h.addClass("active");},function(){h.removeClass("active");});h.click(function(){f.addClass("hidden");});}function setCookie(f,a,c){if(c>0){var d=new Date();d.setTime(d.getTime()+c*1000*60*60);var b=d.toGMTString();document.cookie=f+"="+escape(a)+"; path="+escape("/")+"; expires="+b;}else{document.cookie=f+"="+escape(a)+"; path="+escape("/")+"";}}function setCookieCopy(h,b,g,c){var a=g;if(g===""){a=escape("/");}var f=h+"="+escape(b)+"; path="+escape(a)+"";if(c>0){var d=new Date();d.setTime(d.getTime()+c*1000*60*60);f+="; expires="+d.toGMTString();}document.cookie=f;}function contrastSwitcher(){var a=$(".site_version p");a.click(function(){if($("html").hasClass("contrast")){setCookieCopy("contrast","false","/",9000);$("html").removeClass("contrast").addClass("no_contrast");makeUrlContrast(false);}else{setCookieCopy("contrast","true","/",9000);$("html").removeClass("no_contrast").addClass("contrast");makeUrlContrast(true);}resizeIEThings();return false;});}function SubsidiaryLink(){this.cont=jQuery(".subsidiary_news .pseudo_link");if(this.cont.length==0){return;}this.attachEvents();}SubsidiaryLink.prototype.attachEvents=function(){var b=this;var a=$(".subsidiary_news .recent_subsidiary_news");var c=$(".subsidiary_news .other_subsidiary_news");this.cont.click(function(){if(c.is(":hidden")){a.css("display","none");c.slideDown("slow",function(){b.cont.addClass("opened");});}else{a.css("display","block");c.slideUp("slow",function(){b.cont.removeClass("opened");});}});};$(function(){colorizeResizeTable();selectorToggle();brightLinks();showJsBlocks();var c={sites:$("#sites_list"),closer:$("#sites_list .closer"),all:$("#sites_list .allsitesall"),sub:$("#sites_list .allsitessub"),allList:$("#sites_list .allsites_list"),subList:$("#sites_list .subs_sites_list")};allsitesChooser(c);contrastSwitcher();resizeIEThings();window.g_prevFontSize=createTextResizeControlElement();window.g_prevSize=getViewportSize();setInterval(checkViewportSize,100);var b=new Tagline();sortPressBlocks();var a=new SubsidiaryLink();});function Tagline(){if($("#press_tagline .tagline_text_container .tagline_text").length==0){return;}var b=new Image();b.src="/f/1/global/i/press/play.png";var a=new Image();a.src="/f/1/global/i/press/button_bg_hov.png";this.container=$("#press_tagline .scroll_holder");this.control=$("#press_tagline .button");this.shadow_cont=$("#press_tagline .shadow_cont");this.line=$(".tagline_text_container",this.container).attr("id","tag_str1");this.width=this.line.width();this.koeff=30;this.timeframe=2*this.width*this.koeff;this.clonedLine=$(this.line).clone().attr("id","tag_str2").appendTo(this.container);this.stop=false;this.attachEvents();this.startAnimate(this.line);this.startAnimate(this.clonedLine,0);}Tagline.prototype.attachEvents=function(){var a=this;this.control.click(function(){if(a.stop===false){$(".tagline_text_container",a.container).stop();$(".off",this.control).css("display","none");$(".on",this.control).css("display","block");a.stop=true;}else{a.stop=false;var c=$("#tag_str2"),b=$("#tag_str1"),f=parseInt(c.css("left").toString().replace("px","")),d=parseInt(b.css("left").toString().replace("px",""));f>d?f++:d++;a.startAnimate(c,f,(a.width+f)*2*a.koeff);a.startAnimate(b,d,(a.width+d)*2*a.koeff);$(".off",this.control).css("display","block");$(".on",this.control).css("display","none");}}).hover(function(){$(a.control).addClass("button_hov");},function(){$(a.control).removeClass("button_hov");});this.container.hover(function(){$(".tagline_text_container",a.container).stop();},function(){if(a.stop==false){var c=$("#tag_str2"),b=$("#tag_str1"),f=parseInt(c.css("left").toString().replace("px","")),d=parseInt(b.css("left").toString().replace("px",""));f>d?f++:d++;a.startAnimate(c,f,(a.width+f)*2*a.koeff);a.startAnimate(b,d,(a.width+d)*2*a.koeff);}});};Tagline.prototype.startAnimate=function(d,a,c){var f=this;var g=typeof a!="undefined"?a:this.width;var b=typeof c!="undefined"?c:this.timeframe;$(d).css("left",g);$(d).animate({left:-1*f.width},typeof a!="undefined"?b/2:b,"linear",function(){f.startAnimate(d);});};function sortPressBlocks(){if(typeof block_update_time!="undefined"){block_update_time.sort(sortPressBlocksByTimeDesc);var a=block_update_time.slice();for(var b=0;b<a.length;b++){$(a[b].blockId).appendTo("#page_press_main #right_inner_column .right_inner_reducer");}}}function sortPressBlocksByTimeDesc(f,d){var c=Date.parse(f.time);var g=Date.parse(d.time);if(isNaN(c)||isNaN(g)){return 0;}else{return((c<g)?1:((c>g)?-1:0));}}function checkViewportSize(){var a=getViewportSize();var b=getTextSizeElementHeight();if(b!=0&&b!=g_prevFontSize){g_prevFontSize=b;resizeIEThings();}if(a[0]!=g_prevSize[0]||a[1]!=g_prevSize[1]){g_prevSize=a;resizeIEThings();}}var ie={browser:false,v6:false,v7:false,v8:false};if($.browser.msie){ie.browser=true;if($.browser.version<7){ie.v6=true;}if($.browser.version>=7&&$.browser.version<8){ie.v7=true;}if($.browser.version>=8&&$.browser.version<9){ie.v8=true;}}function getStyle(c,a){if(c.style[a]){return c.style[a];}else{if($.browser.msie){return c.currentStyle[a];}else{if(document.defaultView&&document.defaultView.getComputedStyle){a=a.replace(/([A-Z])/g,"-$1").toLowerCase();var b=document.defaultView.getComputedStyle(c,"");return b&&b.getPropertyValue(a);}else{return null;}}}}function getViewportSize(){var a=[0,0];if(typeof window.innerWidth!="undefined"){a=[window.innerWidth,window.innerHeight];}else{if(typeof document.documentElement!="undefined"&&typeof document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth!=0){a=[document.documentElement.clientWidth,document.documentElement.clientHeight];}else{a=[document.getElementsByTagName("body")[0].clientWidth,document.getElementsByTagName("body")[0].clientHeight];}}return a;}function getTextSizeElementHeight(){var a=document.getElementById("textResizeControl");if(a){return a.offsetHeight;}else{return 0;}}function createTextResizeControlElement(){var a=0;el=document.createElement("span");el.id="textResizeControl";el.innerHTML="&nbsp;";el.style.position="absolute";el.style.left="-9999px";var b=document.getElementsByTagName("body")[0];if(b){b.insertBefore(el,b.firstChild);}a=el.offsetHeight;return a;}$(document).ready(function(){var j={h:"hidden",r:"roll",one:"one",two:"two",rD:"rollDown",rDE:"rollDownEnd",m:"major"};if(rollCanWork){var h=$("."+j.rD);h.each(function(){var c=$(this).nextUntil("."+j.rDE);c.each(function(){if(!$(this).hasClass(j.m)){this.storedHeight=$(this).height();this.storedMarginTop=(isNaN(parseInt(getStyle(this,"marginTop"),10)))?0:parseInt(getStyle(this,"marginTop"),10);this.storedMarginBottom=(isNaN(parseInt(getStyle(this,"marginBottom"),10)))?0:parseInt(getStyle(this,"marginBottom"),10);this.storedPaddingTop=(isNaN(parseInt(getStyle(this,"paddingTop"),10)))?0:parseInt(getStyle(this,"paddingTop"),10);this.storedPaddingBottom=(isNaN(parseInt(getStyle(this,"paddingBottom"),10)))?0:parseInt(getStyle(this,"paddingBottom"),10);$(this).hide().css({height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0});}});$(":not(."+j.m+")",c).each(function(){this.storedHeight=$(this).height();this.storedMarginTop=(isNaN(parseInt(getStyle(this,"marginTop"),10)))?0:parseInt(getStyle(this,"marginTop"),10);this.storedMarginBottom=(isNaN(parseInt(getStyle(this,"marginBottom"),10)))?0:parseInt(getStyle(this,"marginBottom"),10);this.storedPaddingTop=(isNaN(parseInt(getStyle(this,"paddingTop"),10)))?0:parseInt(getStyle(this,"paddingTop"),10);this.storedPaddingBottom=(isNaN(parseInt(getStyle(this,"paddingBottom"),10)))?0:parseInt(getStyle(this,"paddingBottom"),10);$(this).hide().css({height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0});});});$("."+j.r).bind("click",function(){$("."+j.one+",."+j.two,$(this)).each(function(){$(this).toggleClass(j.h);});var l=$(this).nextUntil("."+j.rD);if(l.length){l=$(l[l.length-1]);}else{l=$(this);}l=l.next();l=l.nextUntil("."+j.rDE);function c(m){if(!m.hasClass(j.m)){if(ie.v6){if(m.css("display")==="none"){m.show();}else{m.hide();}resizeIEThings();}else{if(m.is(":visible")){m.animate({height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0},{duration:"slow",complete:function(){m.hide();resizeIEThings();}});}else{m.show().animate({height:m[0].storedHeight,marginTop:m[0].storedMarginTop,marginBottom:m[0].storedMarginBottom,paddingTop:m[0].storedPaddingTop,paddingBottom:m[0].storedPaddingBottom},{duration:"slow",complete:function(){resizeIEThings();}});}}}return false;}l.each(function(){var m=$(this);c(m);$("*",m).each(function(){c($(this));});});});}$("div.language a").click(function(){if($(this).attr("href").search(rContrast)>-1){setCookie("contrast","false",0);}return $(this);});$("div.allsites").each(function(c){param={sites:$(this).find(">div>div[id]"),closer:$(this).find(">div>div[id]>div.closer"),all:null,sub:null,allList:null,subList:null};if(c>0){allsitesChooser(param);}});function f(l){var c=l;if(c.next().hasClass("description")){c=c.next();}c=c.next();if($.browser.msie){c=c.next();}else{c=c.find("div");}return c;}$('div.media a:has("img")').mouseover(function(){d($(this));});$('div.media a:has("img")').focus(function(){d($(this));});function d(l){var c=l;c=f(c);c.find("a").addClass("pic_sourse_active");}$('div.media a:has("img")').mouseout(function(){g($(this));});$('div.media a:has("img")').blur(function(){g($(this));});function g(l){var c=l;c=f(c);c.find("a").removeClass("pic_sourse_active");}function a(l){var c=l;if($.browser.msie){c=c.parent().prev().prev();}else{c=c.parent().parent().prev();}if(c.hasClass("description")){c=c.prev();}return c;}$("div.media .pic_source a").mouseover(function(){b($(this));});$("div.media .pic_source a").focus(function(){b($(this));});function b(l){var c=l;c=a(c);c.addClass("pic_sourse_active");}$("div.media .pic_source a").mouseout(function(){k($(this));});$("div.media .pic_source a").blur(function(){k($(this));});function k(l){var c=l;c=a(c);c.removeClass("pic_sourse_active");}$('div.media a:has("img")').click(function(){$(this).blur();});if(getCookie("contrast")==="true"){document.documentElement.className+=" contrast";makeUrlContrast(true);}else{var i=document.location.search;if(i.search(rContrast)>-1){document.documentElement.className+=" contrast";makeUrlContrast(true);setCookieCopy("contrast","true","/",9000);}else{document.documentElement.className+=" no_contrast";}}onTimer();});function onTimer(){var a;a=mediaDescriptionWidth();if(!a){setTimeout("onTimer()",onTimerDelay);}}function mediaDescriptionWidth(){var a=true;$(".text_block .media .description").each(function(){var c=$(this);if(!c.parent().parent().hasClass("text_note")){c=c.prev();if(c.find("img").length==1){c=c.find("img");}var b=c.width();if(b===0){b=c.attr("width");}if(b>0){$(this).css({"width":b,"max-width":b});}else{if($(this).css("width")==="auto"){a=false;}}}});return a;}function setWidthSlider(){var a=$("#date_navigation");var b=0;$("#date_list_ul img").each(function(){b+=93;});b+=133;if(a.width()>b){$("#date_navigation").css("cssText","width: "+b+"px !important");}picSlider.init();}function getCookie(d){var c=document.cookie;if(!c||c===""){return"";}c=c.split(";");var b=0;var a;while(c.length>b){a=c[b].split("=")[0];if(a.charAt(0)===" "){a=a.substring(1);}if(a==d){return unescape(c[b].split("=")[1]);}b++;}return"";}var rContrast=/(\&|\?)contrast=true/i;function makeUrlContrast(c){var a=$("div.language a");var b=a.attr("href");if(c){b+="?contrast=true";}else{b=b.replace(rContrast,"");}a.attr({"href":b});}function resizeIEThings(){if($.browser.msie&&!bIEResizeInWork){bIEResizeInWork=true;var g=100;if(fMoveIEBorder){var h=$("#background_right").not($(".informatorium #background_right"));var b=$(".background_bottom .background_bottom_right").not($(".informatorium .background_bottom .background_bottom_right"));var d=$(".background_bottom").not($(".informatorium .background_bottom"));f();a();}else{c();}$("#quotes").bind("change resize load",function(){if(fMoveIEBorder){f(this);a();}else{c();}});function f(){h.each(function(){$(this).css({"left":(d.width())+"px","margin-left":-h.width()});});b.each(function(){$(this).css({"left":(d.width())+"px","margin-left":-b.width()});});return false;}function a(){var l=$("#footer");if(!bFooterHelper&&oAlert.documentReady){l.css({"margin-top":0});l.wrap("<div id='footer_helper'></div>");bFooterHelper=true;}var k=$("div.background").height();var j=$("div.background").width();var i=$("#footer_helper");i.css({"top":k+"px","margin-top":"-6em"});i.css({"width":j+"px"});return false;}function c(){var l=$("#footer");if(!bFooterHelper&&oAlert.documentReady){l.css({"margin-top":0});l.wrap("<div id='footer_helper'></div>");bFooterHelper=true;}var k=$("#outer").height()-g;var j=$("#outer").width();var i=$("#footer_helper");i.css({"top":k+"px"});i.css({"width":j+"px"});return false;}}bIEResizeInWork=false;}$(document).ready(function(){var a="div.change span.pseudo_link, div.change span.active";if($.browser.msie&&$.browser.version<7){$(".js div.toChange.second").hide();}$(a).click(function(){function b(h,d){var f="active";var c="pseudo_link";var g=$("span",$(h)).attr("class");g=$("div.toChange."+g);if(d){$(h).addClass(f);$(h).removeClass(c);g.show();}else{$(h).removeClass(f);$(h).addClass(c);g.hide();}}$(a).each(function(){b(this,false);});b(this,true);resizeIEThings();});});var oAlert={nCount:1,sQueue:"",bInWork:false,bTextarea:false,obj:null,br:"\r\n",documentReady:false};function aler(b){if(oAlert.bInWork||!oAlert.bTextarea){oAlert.sQueue+="oAlert.nCount_x="+oAlert.nCount+b+oAlert.br;}else{oAlert.bInWork=true;if($.browser.mozilla){if(oAlert.sQueue.length>0){oAlert.sQueue="";}}else{var a=oAlert.obj.text()+oAlert.br;if(oAlert.nCount%30===0){}if(oAlert.sQueue.length>0){oAlert.obj.text("oAlert.nCount="+oAlert.nCount+" "+oAlert.sQueue+oAlert.br);oAlert.sQueue="";}oAlert.obj.text(a+"oAlert.nCount="+oAlert.nCount+" "+b);oAlert.nCount++;}oAlert.bInWork=false;}}$(document).ready(function(){oAlert.documentReady=true;if($.browser.msie&&$.browser.version<7){var d=[{css:{"margin-top":"0"},tags:[".text_block span.date+h3",".text_block span.date+h4",".text_block p.date+h2","text_block p.date+h3","text_block p.date+h4",".text_block p.date+p.date",".text_block div.date-text+h3"]},{css:{"padding-top":"0"},tags:[".text_block span.date+h3"]}];for(var c=0,f=d.length;c<f;c++){for(var b=0,a=d[c].tags.length;b<a;b++){$(d[c].tags[b]).each(function(){for(var g in d[c].css){$(this).css(g,d[c].css[g]);}});}}}if($("#important_news .picture").length){if($.browser.safari||$.browser.chrome){$("#important_news .picture").css({"max-width":"1300px"});}}});var jCommon={};jCommon.shortcuts=(function(){var a={"start":{keyCode:36,ctrlKey:true,altKey:false},"prev":{keyCode:37,ctrlKey:true,altKey:false},"up":{keyCode:38,ctrlKey:true,altKey:false},"next":{keyCode:39,ctrlKey:true,altKey:false},"down":{keyCode:40,ctrlKey:true,altKey:false}};$(function(){$("link").each(function(){var c=$(this).attr("rel");if(a[c]){a[c].href=$(this).attr("href");}});var b=false;$("input, textarea").bind("focusin",function(){b=true;});$("input, textarea").bind("focusout",function(){b=false;});$(document).keydown(function(f){var d=a;for(var c in d){if(d[c].keyCode==f.keyCode&&d[c].ctrlKey==f.ctrlKey&&d[c].altKey==f.altKey){if(!b){if("string"==typeof d[c].href&&""!=d[c].href){document.location=d[c].href;}else{if($.isFunction(d[c].href)){return d[c].href(f);}}}}}});});return{bind:function(c,b,f,g,d){g=new Boolean(g);d=new Boolean(d);a[c]={href:b,keyCode:f,ctrlKey:g,altKey:d};},unbind:function(b){delete a[b];},unbindAll:function(){a={};}};})();(function(b){if(!document.defaultView||!document.defaultView.getComputedStyle){var d=jQuery.curCSS;jQuery.curCSS=function(h,f,i){if(f==="background-position"){f="backgroundPosition";}if(f!=="backgroundPosition"||!h.currentStyle||h.currentStyle[f]){return d.apply(this,arguments);}var g=h.style;if(!i&&g&&g[f]){return g[f];}return d(h,"backgroundPositionX",i)+" "+d(h,"backgroundPositionY",i);};}var c=b.fn.animate;b.fn.animate=function(f){if("background-position"in f){f.backgroundPosition=f["background-position"];delete f["background-position"];}if("backgroundPosition"in f){f.backgroundPosition="("+f.backgroundPosition;}return c.apply(this,arguments);};function a(g){g=g.replace(/left|top/g,"0px");g=g.replace(/right|bottom/g,"100%");g=g.replace(/([0-9\.]+)(\s|\)|$)/g,"$1px$2");var f=g.match(/(-?[0-9\.]+)(px|\%|em|pt)\s(-?[0-9\.]+)(px|\%|em|pt)/);return[parseFloat(f[1],10),f[2],parseFloat(f[3],10),f[4]];}b.fx.step.backgroundPosition=function(g){if(!g.bgPosReady){var i=b.curCSS(g.elem,"backgroundPosition");if(!i){i="0px 0px";}i=a(i);g.start=[i[0],i[2]];var f=a(g.options.curAnim.backgroundPosition);g.end=[f[0],f[2]];g.unit=[f[1],f[3]];g.bgPosReady=true;}var h=[];h[0]=((g.end[0]-g.start[0])*g.pos)+g.start[0]+g.unit[0];h[1]=((g.end[1]-g.start[1])*g.pos)+g.start[1]+g.unit[1];g.elem.style.backgroundPosition=h[0]+" "+h[1];};})(jQuery);function addTagLines(){if(!Date.now){Date.now=function b(){return+new Date();};}var a=0;var c=Date.now()-518400000;jQuery(".news_item .message_tagline").each(function(){var d=Date.parse($(".dt",this).text());if(d&&d>c){$(".tagline_text",this).appendTo("#press_tagline .scroll_holder .tagline_text_container");a++;}});if(a>0){jQuery("#press_tagline").css("display","block");}}function welcomeEnBlock(a){this.halfWidth=535;this.cont=jQuery(a);this.spotCont=$(".spot",this.cont);this.regionCont=$(".region_content",this.cont);this.currentCities=$(".current .cities",this.regionCont);this.spotCont.css({backgroundPosition:"-"+(this.halfWidth)+"px 0px"});this.currentCities.css("left","0px");this.showStartAnim();}welcomeEnBlock.prototype={showStartAnim:function(){var a=this;a.animateFullRight(a.animateFullLeft,a.attachSpotEvents);$(".links .pseudo_link",a.cont).click(function(){$(".cont",a.regionCont).removeClass("current").filter("#"+$(this).attr("id")+"_cont").addClass("current");if(!$(this).hasClass("active")){$(".region_content",a.cont).slideDown("slow",function(){$(a.cont).removeClass("hide");});$(".links .pseudo_link",a.cont).removeClass("active").filter(this).addClass("active");}else{$(".region_content",a.cont).slideUp("slow");$(document).unbind("mousemove.welcome_cities");$(a.cont).addClass("hide");$(".links .pseudo_link",a.cont).removeClass("active");}a.currentCities=$(".current .cities",a.regionCont);a.attachCityEvents();});},animateFullLeft:function(c,b){var a=this;$(a.spotCont).animate({backgroundPosition:"-"+(a.halfWidth)+"px 0"},{duration:1500,easing:"linear",complete:function(){if(c){c.call(a,b);}}});},animateFullRight:function(c,b){var a=this;$(a.spotCont).animate({backgroundPosition:(a.spotCont.width()-a.halfWidth)+"px 0"},{duration:1500,easing:"linear",complete:function(){if(c){c.call(a,b);}}});},attachSpotEvents:function(){var a=this;$(document).bind("mousemove.welcome",function(b){$(a.spotCont).css({backgroundPosition:(b.pageX-a.halfWidth)+"px 0px"});});},attachCityEvents:function(){var a=this;$(document).unbind("mousemove.welcome_cities");$(document).bind("mousemove.welcome_cities",function(b){if(a.currentCities.width()>0){$(a.currentCities).css("left","-"+Math.round(((b.pageX*a.currentCities.width())/a.cont.width())-b.pageX)+"px");}});}};$(document).ready(function(){var a=new welcomeEnBlock(".welcome_cont");$("#text_pic_switcher li span.img").each(function(){var b=$(this).width()+15;$(this).next().css({"margin-left":b+"px"});});if($(".analyst_comment_cont .short").length>0){$(".analyst_comment_cont .js-hide").css("display","none").removeClass("js-hide");if(window.location.hash){$(window.location.hash+"_comment").prev(".short").hide().end().show();resizeIEThings();$("html").animate({scrollTop:$(window.location.hash+"_comment").offset().top-20+"px"},"slow");}else{$(".analyst_comment_cont .short:first").hide().next(".analyst_comment").bind("resize",function(){resizeIEThings();}).slideDown(2500,function(){resizeIEThings();});}}$(".analyst_comment_cont .short .comment .pseudo_link").click(function(){$(this).closest(".short").hide().siblings(".short").show().end().next(".analyst_comment").show().siblings(".analyst_comment").hide();resizeIEThings();$("html").animate({scrollTop:$(this).closest(".short").next(".analyst_comment").offset().top-20+"px"},"slow");});$(".analyst_comment_cont .analyst_comment .content .comment .pseudo_link").click(function(){$(this).closest(".analyst_comment").stop(false,true).hide().prev(".short").show();resizeIEThings();});});(function(){var b=document.createElement("script");b.type="text/javascript";b.async=true;b.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(b,a);})();function popupBlock(a){this.CLASS_CENTER="center_window";this.CLASS_LEFT="left_window";this.CLASS_RIGHT="right_window";this.CLASS_CURRENT="current";this.CLASS_ITEM="gall_item";this.ID_POPUP="popup_cont";this.isBusy=false;this.shown=false;this.popupCont=$("#"+this.ID_POPUP);this.shader=$("#shader");this.closer=$("#closer");this.popupBlock=$("."+this.CLASS_CENTER);this.leftBlock=$("."+this.CLASS_LEFT);this.rightBlock=$("."+this.CLASS_RIGHT);var b=this;this.images=$(".img_link",$(a)[0]);this.images.each(function(c){this.prev_item=(c-1<0)?null:b.images[c-1];this.next_item=(c+1==b.images.length)?null:b.images[c+1];});this.updateDimensions();this.popupBlock.css({visibility:"hidden",display:"block"});this.tmpImg=new Image();$(this.tmpImg).load(function(){b.newWidth();});this.attachEvents();}popupBlock.prototype={updateDimensions:function(){this.windowWidth=$(window).width();this.windowHeight=$(document).height();this.popupCont.width(this.windowWidth).height(this.windowHeight);this.shader.width(this.windowWidth).height(this.windowHeight);},showImage:function(h,f){var i=this;var b,k,c,l,g,j;i.popupCont.show();i.windowTop=window.pageYOffset||document.documentElement.scrollTop;i.closer.css({top:i.windowTop+30}).show();if(f==="left"){if(!this.shown){return true;}b=this.popupBlock;k=this.rightBlock;c=this.leftBlock;b.unbind("click");l=this.imgWidth;g=this.leftImage;this.popupBlock.css({left:(this.windowWidth-this.imgWidth)/2-10,marginLeft:0});this.leftBlock.css({right:"auto",marginRight:0});$(this.currentImage).removeClass(this.CLASS_CURRENT);$(this.currentImage[0].prev_item).addClass(this.CLASS_CURRENT);this.currentImage=(this.currentImage[0].prev_item!=null)?$(this.currentImage[0].prev_item):this.currentImage;this.prevItem=this.currentImage[0].prev_item;this.nextItem=this.currentImage[0].next_item;this.popupBlock.animate({left:this.windowWidth-100,marginLeft:0},500,function(){b.removeClass(i.CLASS_CENTER).addClass(i.CLASS_RIGHT);i.rightBlock=b;i.rightImage=l;});this.leftBlock.animate({left:(this.windowWidth-this.leftImage)/2-10},500,function(){c.removeClass(i.CLASS_LEFT).addClass(i.CLASS_CENTER);i.popupBlock=c;i.imgWidth=g;});k.remove();this.leftBlock=$("<div class='gall_item left_window'></div>").appendTo(this.popupCont);if(this.prevItem!=null){var a=new Image();a.onload=function(){i.leftPreview(a);};a.src=$(this.prevItem).attr("href");}else{setTimeout(function(){i.isBusy=false;},250);}}else{if(f==="right"){if(!this.shown){return true;}b=this.popupBlock;k=this.rightBlock;c=this.leftBlock;b.unbind("click");l=this.imgWidth;j=this.rightImage;this.rightBlock.css({left:this.windowWidth-100,marginLeft:0});this.popupBlock.css({left:(this.windowWidth-this.imgWidth)/2-10,marginLeft:0});$(this.currentImage).removeClass(this.CLASS_CURRENT);$(this.currentImage[0].next_item).addClass(this.CLASS_CURRENT);this.currentImage=(this.currentImage[0].next_item!=null)?$(this.currentImage[0].next_item):this.currentImage;this.prevItem=this.currentImage[0].prev_item;this.nextItem=this.currentImage[0].next_item;this.popupBlock.animate({left:-(this.imgWidth-80),marginLeft:0},500,function(){b.removeClass(i.CLASS_CENTER).addClass(i.CLASS_LEFT);i.leftBlock=b;i.leftImage=l;});this.rightBlock.animate({left:(this.windowWidth-this.rightImage)/2-10},500,function(){k.removeClass(i.CLASS_RIGHT).addClass(i.CLASS_CENTER);i.popupBlock=k;i.imgWidth=j;});c.remove();this.rightBlock=$("<div class='gall_item right_window'></div>").appendTo(this.popupCont);if(this.nextItem!=null){var d=new Image();d.onload=function(){i.rightPreview(d);};d.src=$(this.nextItem).attr("href");}else{setTimeout(function(){i.isBusy=false;},250);}}else{this.shown=true;this.currentImage=this.images.filter("."+this.CLASS_CURRENT);this.prevItem=this.currentImage[0].prev_item;this.nextItem=this.currentImage[0].next_item;if(h.tagName==="A"){this.tmpImg.src=$(h).attr("href");}else{this.tmpImg.src=$(h).attr("src");}}}},hideImage:function(){var a=this;$(a.tmpImg).unbind("load");if(!this.shown){return true;}this.shown=false;this.popupBlock.css({"visibility":"hidden",width:this.beginWidth,height:this.beginHeight,marginLeft:-75});this.tmpImg=new Image();$(this.tmpImg).load(function(){a.newWidth();});this.popupBlock.empty();this.leftBlock.hide().removeAttr("style").empty();this.rightBlock.hide().removeAttr("style").empty();this.images.removeClass(this.CLASS_CURRENT);this.popupCont.hide();},newWidth:function(){var c=this;this.popupCont=$("#"+this.ID_POPUP);this.popupBlock=$("."+this.CLASS_CENTER);this.leftBlock=$("."+this.CLASS_LEFT);this.rightBlock=$("."+this.CLASS_RIGHT);this.updateDimensions();this.popupCont.show();this.imgWidth=this.tmpImg.width;this.imgHeight=this.tmpImg.height;this.windowTop=window.pageYOffset||document.documentElement.scrollTop;this.windowHeight=window.innerHeight||document.documentElement.clientHeight;this.closer.css({top:this.windowTop+30}).show();var b=this.windowTop+(this.windowHeight-this.imgHeight)/2;this.popupBlock.css({"visibility":"visible","display":"block"});this.popupBlock.css({top:b,width:this.imgWidth,marginLeft:-(this.imgWidth/2+10),left:"50%"});this.popupBlock.empty();this.popupBlock.append(c.tmpImg);this.popupBlock.append("<a class='article_link' href='"+this.currentImage.find(".article_link").attr("title")+"'>"+this.currentImage.find(".article_link").text()+"</a>");this.popupBlock.append("<div class='pic_description'>"+this.currentImage.find(".pic_description").html()+"</div>");var f=this.currentImage.find(".source_img");if(f.length){this.popupBlock.append("<div class='pic_source'>"+"<a target='_blank' href='"+$(f).attr("title")+"'>"+$(f).text()+"<ins class='icon_24'><ins class='a'/></ins></a>"+"</div>");}var a;if(this.prevItem!=null){var d=new Image();d.onload=function(){c.leftPreview(d);};d.src=(this.prevItem.tagName==="A")?$(this.prevItem).attr("href"):$(this.prevItem).attr("src");}if(this.nextItem!=null){var g=new Image();g.onload=function(){c.rightPreview(g);};g.src=(this.nextItem.tagName==="A")?$(this.nextItem).attr("href"):$(this.nextItem).attr("src");}},leftPreview:function(a){var c=this;this.leftBlock.empty().show();this.leftImage=a.width;var b=this.windowTop+(this.windowHeight-a.height)/2;this.leftBlock.css({top:b,right:"auto",left:-(a.width+20),width:this.leftImage});this.leftBlock.append(a);this.leftBlock.append("<a class='article_link' href='"+$(this.prevItem).find(".article_link").attr("title")+"'>"+$(this.prevItem).find(".article_link").text()+"</a>");this.leftBlock.append("<div class='pic_description'>"+$(this.prevItem).find(".pic_description").html()+"</div>");var d=$(this.prevItem).find(".source_img");if(d.length){this.leftBlock.append("<div class='pic_source'>"+"<a target='_blank' href='"+$(d).attr("title")+"'>"+$(d).text()+"<ins class='icon_24'><ins class='a'/></ins></a>"+"</div>");}setTimeout(function(){c.leftBlock.animate({left:-(a.width-80)},250,function(){c.isBusy=false;});},250);},rightPreview:function(a){var c=this;this.rightBlock.empty().show();var b=this.windowTop+(this.windowHeight-a.height)/2;this.rightImage=a.width;this.rightBlock.css({top:b,marginLeft:0,width:this.rightImage});this.rightBlock.append(a);this.rightBlock.append("<a class='article_link' href='"+$(this.nextItem).find(".article_link").attr("title")+"'>"+$(this.nextItem).find(".article_link").text()+"</a>");this.rightBlock.append("<div class='pic_description'>"+$(this.nextItem).find(".pic_description").html()+"</div>");var d=$(this.nextItem).find(".source_img");if(d.length){this.rightBlock.append("<div class='pic_source'>"+"<a target='_blank' href='"+$(d).attr("title")+"'>"+$(d).text()+"<ins class='icon_24'><ins class='a' /></ins></a>"+"</div>");}setTimeout(function(){c.rightBlock.animate({marginLeft:-100},250,function(){c.isBusy=false;});},250);},showFlash:function(b){var d=this;this.popupBlock.empty();var a={video:$(b).attr("href"),css:"css/default.css",skin:"skin/gasprom.swf",cover:"cover/default.jpg"};this.imgWidth=500;this.imgHeight=500;this.windowTop=window.pageYOffset||document.documentElement.scrollTop;this.windowHeight=window.innerHeight||document.documentElement.clientHeight;var c=this.windowTop+(this.windowHeight-this.imgHeight)/2;this.popupBlock.css({"visibility":"visible"});this.popupBlock.animate({top:c,width:this.imgWidth,height:this.imgHeight,marginLeft:-(this.imgWidth/2)},250,function(){$("<div id='flash_container'></div>").appendTo(d.popupBlock);swfobject.embedSWF("swf/video_player.swf","flash_container","500","500","9.0.0","expressInstall.swf",a);});},imgTopOffset:function(b){var a=$(b);var c=a.find("img")[0];if(c){switch(a.attr("class")){case"gall_item center_window":a.css({top:this.windowTop+(this.windowHeight-c.height)/2,marginLeft:-(c.width/2+10),left:"50%"});break;case"gall_item left_window":a.css({top:this.windowTop+(this.windowHeight-c.height)/2,right:"auto",left:-(c.width-80)});break;case"gall_item right_window":a.css({top:this.windowTop+(this.windowHeight-c.height)/2,left:"100%",marginLeft:-100});break;default:break;}}},attachEvents:function(){var a=this;this.closer.click(function(){a.hideImage();if(a.popupCont.length!==0){return false;}});this.closer.hover(function(){a.closer.addClass("hovered");},function(){a.closer.removeClass("hovered");});this.popupBlock.click(function(b){b.stopPropagation();});$("."+this.CLASS_LEFT).live("click",function(b){if(!a.isBusy){a.isBusy=true;a.showImage($(this).find("img")[0],"left");}});$("."+this.CLASS_RIGHT).live("click",function(b){if(!a.isBusy){a.isBusy=true;a.showImage($(this).find("img")[0],"right");}});$(document).click(function(b){if($(b.target).parent().attr("id")==a.ID_POPUP){a.hideImage();}});$(window).resize(function(){a.windowWidth=$(window).width();a.windowHeight=window.innerHeight||document.documentElement.clientHeight;a.windowTop=window.pageYOffset||document.documentElement.scrollTop;a.popupCont.width(a.windowWidth).height($(document).height());a.shader.width(a.windowWidth).height($(document).height());a.imgTopOffset(a.leftBlock);a.imgTopOffset(a.popupBlock);a.imgTopOffset(a.rightBlock);});}};var dateSlider={WIDTH:12,EM:16,init:function(){var b=this;this.slider=$("#date_slider");this.sliderLine=$(".date_controller");this.line=$(".line");this.disabled=false;this.container=$("#date_navigation:not(.pic_slider_full, .pic_slider)");this.dateList=$("#date_list_ul");this.measurerWidth=$("#inner_measurer").width();this.containerWidth=this.container.width();this.containerOffset=this.container.offset().left;this.sliderOffset=parseInt(this.slider.css("left"));this.sliderMouseOffset=0;this.dateListWidth=this.calculateWidth();this.rate=(this.dateListWidth-this.containerWidth)/this.containerWidth;this.selectedItem=this.dateList.find("li.selected");var c=this.dateListWidth-this.containerWidth;var a=this.selectedItem.offset().left-this.containerOffset;a+=-(this.containerWidth/2)+(this.selectedItem.width()/2)+10;if(a>c){this.dateList.css({left:-(this.dateListWidth-this.containerWidth)});this.slider.css({left:this.containerWidth-this.WIDTH});}else{if(a>0){this.dateList.css({left:-(a)});}if(a/this.rate<0){this.slider.css({left:0});}else{if(a/this.rate>this.dateListWidth){this.slider.css({left:this.dateListWidth-this.WIDTH});}else{this.slider.css({left:a/this.rate});}}}if(this.dateListWidth<this.containerWidth){this.slider.addClass("disabled");this.slider.css({left:0});this.dateList.css({left:0});this.line.addClass("disabled_line");this.disabled=true;}this.clicked=false;this.attachEvents();common.Measurer.setFunc(function(){b.recalculateParams();});},calculateWidth:function(){var c=this;var d=$("li:last",this.container);var b=0;var a=$("li",this.container);a.each(function(){b+=$(this).width()+13;if($(this).hasClass("year")){b+=1;}});return(b);},recalculateParams:function(){this.EM=$("#measurer").height();var a=this.containerWidth;this.dateListWidth=this.calculateWidth();this.containerWidth=this.container.width();this.containerOffset=this.container.offset().left;if(this.dateListWidth>this.containerWidth){if(this.disabled){this.slider.removeClass("disabled");this.line.removeClass("disabled_line");this.disabled=false;}this.rate=(this.dateListWidth-this.containerWidth)/this.containerWidth;this.sliderOffset=parseInt(this.slider.css("left"));var c=this.sliderOffset*(this.containerWidth/a);if(c>this.containerWidth-this.WIDTH){c=this.containerWidth-this.WIDTH;}this.sliderOffset=c;var b=this.sliderOffset/this.containerWidth;this.slider.css({left:c});this.dateList.css({left:-((this.sliderOffset+this.WIDTH*b)*this.rate)});}else{this.slider.addClass("disabled");this.line.addClass("disabled_line");this.disabled=true;}},attachEvents:function(){var a=this;this.slider.mousedown(function(b){b.preventDefault();b.stopPropagation();a.sliderMouseOffset=b.pageX-a.containerOffset-parseInt(a.slider.css("left"));a.clicked=true;});$(document).mousemove(function(d){if(a.clicked&&!a.disabled){d.preventDefault();a.sliderOffset=parseInt(a.slider.css("left"));var b=a.sliderOffset/a.containerWidth;var f=parseInt(d.pageX-a.containerOffset-a.sliderMouseOffset);if(f>0&&f<(a.containerWidth-a.WIDTH)){a.sliderOffset=f;a.slider.css({left:f});var c=-((f+(a.WIDTH*b))*a.rate);a.dateList.css({left:c});}}});$(document).mouseup(function(){a.clicked=false;});this.sliderLine.mousedown(function(d){if(!a.disabled){a.sliderMouseOffset=a.WIDTH/2;var b=a.sliderOffset/a.containerWidth;var f=parseInt(d.pageX-a.containerOffset-6);if(f>0&&f<(a.containerWidth-a.WIDTH)){a.sliderOffset=f;a.slider.css({left:f});var c=-((f+(a.WIDTH*b))*a.rate);a.dateList.css({left:c});}}});}};$(function(){if($(".images_list")[0]){var a=new popupBlock(".images_list");$(".img_link").click(function(b){b.preventDefault();if(this.href.indexOf("flv")>-1){a.showFlash(this);}else{$(this).addClass("current");a.showImage(this);}return false;});}});var sliderInfo={path:"false"};var picSlider={WIDTH:12,IMGWIDTH:148,IMGHEIGHT:221,IMGHEIGHTCALC:237,STARTPOS:[1,0.87,0.74,0.6],STARTPOS_delta:[3,3,3],deltaListFader:0,ImgBorder:2,EM:16,init:function(a){this.isResize=false;if(a){this.isResize=a;}var b=this;this.picList=$("#date_navigation .pic_list");this.picListWidth=$("#date_navigation .pic_list").width();this.lineLeft=$("#date_navigation .left_fader");this.lineLeftMove=this.lineLeft.width();this.dateController=$("#date_navigation .date_controller");this.lineDelta=this.lineLeftMove;this.dateController.css({"margin-left":round(this.lineDelta/2),"width":this.picListWidth-round(this.lineDelta)});this.dateControllerWidth=this.dateController.width();this.dateControllerOffset=this.dateController.offset().left;this.decorate=$("#decorate");this.slider=$("#date_slider");this.container=$("#date_navigation");this.containerWidth=this.container.width();this.containerOffset=this.container.offset().left;this.dateList=$("#date_list_ul");this.lis=$(b.dateList).find("li.picture");$(this.lis[0]).addClass("selected");this.selectedItem=this.dateList.find("li.selected");this.imgList=$("img",this.dateList);this.imgWidths=[];this.imgList.each(function(c){b.imgWidths[c]=$(this).attr("width");});this.currImg=$(this.imgList[0]);this.currImgFirst=true;this.picDescriptions=$("#pictures_description p");this.currentDescriptionNum=0;this.hoverDescriptionNum=0;this.imgPoints=[];this.imgPointsDelta=[];this.imgList.css("position","absolute");this.recalculateHeights(1);this.test=0;this.imgList.each(function(){b.test+=$(this).width();});this.test+=40;this.measurerWidth=$("#inner_measurer").width();this.sliderOffset=0;this.sliderMouseOffset=0;this.dateListWidth=this.calculateWidth();this.rateDelta=0;this.rate=((this.dateListWidth-this.containerWidth)/this.containerWidth)+this.rateDelta;this.dateList.css("left",0);this.slider.css("left",0);this.clicked=false;if(this.isResize){this.decorate.css({width:this.currImg.width()});}this.attachEvents();this.recalculateParams();this.iTimeFinish=0;this.sliderInfo="sliderInfo";this.SliderStop="true";if(sliderInfo.path!=="false"){this.SliderStop=getCookie(this.sliderInfo);}this.iPlayTime=2;if(this.SliderStop===""||this.SliderStop==="false"){this.firstRun(1);if(sliderInfo.path!=="false"){setCookieCopy(this.sliderInfo,"true",sliderInfo.path,0);}}common.Measurer.setFunc(function(){b.recalculateParams();});},calculateWidth:function(){var a=this;return(a.test);},recalculateParams:function(){this.picListWidth=this.picList.width();this.lineLeftMove=this.lineLeft.width();this.lineDelta=this.lineLeftMove;this.dateController.css({"margin-left":round(this.lineDelta/2),"width":this.picListWidth-this.lineDelta});this.dateControllerWidth=this.dateController.width();this.dateControllerOffset=this.dateController.offset().left;this.EM=$("#measurer").height();var b=parseInt(this.containerWidth);this.dateListWidth=this.calculateWidth();this.containerWidth=this.container.width();this.containerOffset=this.container.offset().left;this.rate=((this.dateListWidth-this.containerWidth)/this.containerWidth)+this.rateDelta;this.sliderOffset=parseInt(this.slider.css("left"));var c=this.sliderOffset*(this.containerWidth/b);this.sliderOffset=c;var a=this.sliderOffset/this.containerWidth;this.slider.css({left:c});this.dateList.css({left:-((this.sliderOffset+this.WIDTH*a)*this.rate)});this.recalculateHeights(c,-((c+(this.WIDTH*a))*this.rate));},recalculateHeights:function(g,a){var d=0;var l,c,f,j,m;var k=0;if(this.imgPoints[0]){for(var b=0;b<this.imgList.length;b++){c=$(this.imgList[b]);l=this.STARTPOS[0];if(!this.isResize){l=this.STARTPOS[3];if(Math.abs(g-this.imgPoints[b])<350){l=-0.001*(Math.abs(g-this.imgPoints[b]))+1;}}j=round(this.imgWidths[b]*l);f=this.IMGHEIGHT*l;m=round(this.IMGHEIGHTCALC-f-this.ImgBorder*2+1);c.css({width:j,height:round(f),top:m,left:d});d+=round(this.imgWidths[b]*l+this.ImgBorder*2);}}else{for(b=0;b<this.imgList.length;b++){c=$(this.imgList[b]);l=this.STARTPOS[3];if(b<3){l=this.STARTPOS[b];k=this.STARTPOS_delta[b];}j=round(this.imgWidths[b]*l);f=this.IMGHEIGHT*l;m=round(this.IMGHEIGHTCALC-f-this.ImgBorder*2+1);c.css({width:j,height:round(f),top:m,left:d});d+=round(this.imgWidths[b]*l+this.ImgBorder*2);}}this.recalculatePoints(a,this.STARTPOS[3]);},recalculatePoints:function(k,h){var g=this;var j=this.IMGWIDTH/this.imgList.length;var f,c,i;this.imgList.each(function(a){f=parseInt($(g.imgList[a]).css("left"));c=j*h*a;i=f+c+k;g.imgPoints[a]=i;});},firstRun:function(d){var b=d;var h=this;var i=0;var g=h.containerWidth-h.WIDTH;if(b===-1){i=g;g=0;}var j=round(300/h.imgList.length)*b;var a;function c(){var l=h.sliderOffset/h.containerWidth;h.sliderOffset=i;h.slider.css({left:i});var o=-((i+(h.WIDTH*l))*h.rate);h.dateList.css({left:o});for(var m=0;m<h.imgList.length;m++){var k=parseInt($(h.imgList[m]).css("left"))+o;var n=$(h.imgList[m]).width();if(i>k&&i<(k+n)&&m!=h.currentDescriptionNum){if(h.isResize){h.currImgFirst=false;h.currImg=$(h.imgList[m]);h.decorate.css({width:h.imgList[m].width-6});}$(h.picDescriptions[h.currentDescriptionNum]).removeClass("selected");$(h.picDescriptions[m]).addClass("selected");h.currentDescriptionNum=m;}}h.recalculateHeights(i,o);i+=j;if(g===0&&i>0&&i<Math.abs(j)){i=Math.abs(j);}if(i*b>g*b){h.iTimeFinish++;clearInterval(a);if(h.iPlayTime>h.iTimeFinish){b*=-1;h.firstRun(b);}}return true;}var f=0;if(h.iTimeFinish===0){f=1000;}setTimeout(function(){a=setInterval(function(){c();},50);},f);},attachEvents:function(){var a=this;this.slider.mousedown(function(b){b.preventDefault();a.sliderMouseOffset=b.pageX-a.dateControllerOffset-parseInt(a.slider.css("left"));a.clicked=true;});$(document).mousemove(function(h){if(a.clicked){h.preventDefault();a.sliderOffset=parseInt(a.slider.css("left"));var j=parseInt(h.pageX-a.dateControllerOffset-a.sliderMouseOffset);if(j>=0&&j<=(a.dateControllerWidth-a.WIDTH)){var g=0;if(a.imgList.length>12){g=a.imgList.length;}a.rate=(a.dateListWidth-(a.dateControllerWidth-g*2))/a.dateControllerWidth;a.sliderOffset=j;a.slider.css({left:round(j)});var f=-j*a.rate;a.dateList.css({left:round(f)});for(var c=0;c<a.imgList.length;c++){var b=parseInt($(a.imgList[c]).css("left"))+f;var d=$(a.imgList[c]).width();if(b<j+a.lineDelta/2&&j+a.lineDelta/2<(b+d+a.WIDTH)&&c!=a.currentDescriptionNum){a.lis.removeClass("selected");$(a.lis[c]).addClass("selected");$(a.picDescriptions).removeClass("selected");$(a.picDescriptions[c]).addClass("selected");a.currentDescriptionNum=c;}}if(!a.currImgFirst){a.decorate.css({left:parseInt(a.currImg.css("left"))});}if(!a.isResize){a.recalculateHeights(j,f);}}}else{$(a.picDescriptions).removeClass("selected");$(a.picDescriptions[a.currentDescriptionNum]).addClass("selected");}});$(document).mouseup(function(){a.clicked=false;});this.imgList.click(function(){if(!a.intervalId&&!$(this).parent().hasClass("selected")){var i=$(this);var h=i.parent().prevAll();a.lis.removeClass("selected");i.parent().addClass("selected");a.selectedItem=i.parent();var g=a.sliderOffset;var d=parseInt(i.css("left"));var c=a.sliderOffset/a.containerWidth;var f=-((g+(a.WIDTH*c))*a.rate);var k=10;if(g>d+f){k*=-1;}function b(){d=parseInt(i.css("left"));g+=k;a.sliderOffset=g;c=a.sliderOffset/a.containerWidth;f=-((g+(a.WIDTH*c))*a.rate);var l=0;if(g>=0){l=g;}a.slider.css({left:l});a.dateList.css({left:f});$(a.picDescriptions).removeClass("selected");$(a.picDescriptions[h.length]).addClass("selected");a.currentDescriptionNum=h.length;a.recalculateHeights(g,f);if(k>0&&g>a.imgPoints[h.length]){clearInterval(a.intervalId);a.intervalId=false;}if(k<0&&g<a.imgPoints[h.length]){clearInterval(a.intervalId);a.intervalId=false;}}a.intervalId=setInterval(function(){b();},5);}else{var j=$(a.picDescriptions[a.currentDescriptionNum]).find("a");if(j.length){window.location=$(j[0]).attr("href");}}});this.imgList.mousemove(function(g){if(!a.clicked){g.stopPropagation();var d=g.pageX-a.containerOffset;var h=parseInt(a.dateList.css("left"));for(var c=0;c<a.imgList.length;c++){var b=parseInt($(a.imgList[c]).css("left"))+h;var f=$(a.imgList[c]).width();if(d>b&&d<(b+f)){if(a.isResize){a.currImgFirst=false;a.currImg=$(a.imgList[c]);a.decorate.css({width:a.imgList[c].width-6});}$(a.picDescriptions).removeClass("selected");$(a.picDescriptions[c]).addClass("selected");a.hoverDescriptionNum=c;}}}});},getSliderInfo:function(){var a=this;return sliderInfo;}};function round(a){return Math.round(a);}var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0;}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7");}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always";}catch(t){if(AC[0]==6){AB=true;}}if(!AB){try{y=new ActiveXObject(p);}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)];}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w};}();var L=function(){if(!h.w3cdom){return;}f(H);if(h.ie&&h.win){try{K.write("<script id=__ie_ondomload defer=true src=//:><\/script>");J=C("__ie_ondomload");if(J){I(J,"onreadystatechange",S);}}catch(q){}}if(h.webkit&&typeof K.readyState!=b){Z=setInterval(function(){if(/loaded|complete/.test(K.readyState)){E();}},10);}if(typeof K.addEventListener!=b){K.addEventListener("DOMContentLoaded",E,null);}R(E);}();function S(){if(J.readyState=="complete"){J.parentNode.removeChild(J);E();}}function E(){if(e){return;}if(h.ie&&h.win){var v=a("span");try{var u=K.getElementsByTagName("body")[0].appendChild(v);u.parentNode.removeChild(u);}catch(w){return;}}e=true;if(Z){clearInterval(Z);Z=null;}var q=o.length;for(var r=0;r<q;r++){o[r]();}}function f(q){if(e){q();}else{o[o.length]=q;}}function R(r){if(typeof j.addEventListener!=b){j.addEventListener("load",r,false);}else{if(typeof K.addEventListener!=b){K.addEventListener("load",r,false);}else{if(typeof j.attachEvent!=b){I(j,"onload",r);}else{if(typeof j.onload=="function"){var q=j.onload;j.onload=function(){q();r();};}else{j.onload=r;}}}}}function H(){var t=N.length;for(var q=0;q<t;q++){var u=N[q].id;if(h.pv[0]>0){var r=C(u);if(r){N[q].width=r.getAttribute("width")?r.getAttribute("width"):"0";N[q].height=r.getAttribute("height")?r.getAttribute("height"):"0";if(c(N[q].swfVersion)){if(h.webkit&&h.webkit<312){Y(r);}W(u,true);}else{if(N[q].expressInstall&&!A&&c("6.0.65")&&(h.win||h.mac)){k(N[q]);}else{O(r);}}}}else{W(u,true);}}}function Y(t){var q=t.getElementsByTagName(Q)[0];if(q){var w=a("embed"),y=q.attributes;if(y){var v=y.length;for(var u=0;u<v;u++){if(y[u].nodeName=="DATA"){w.setAttribute("src",y[u].nodeValue);}else{w.setAttribute(y[u].nodeName,y[u].nodeValue);}}}var x=q.childNodes;if(x){var z=x.length;for(var r=0;r<z;r++){if(x[r].nodeType==1&&x[r].nodeName=="PARAM"){w.setAttribute(x[r].getAttribute("name"),x[r].getAttribute("value"));}}}t.parentNode.replaceChild(w,t);}}function k(w){A=true;var u=C(w.id);if(u){if(w.altContentId){var y=C(w.altContentId);if(y){M=y;l=w.altContentId;}}else{M=G(u);}if(!(/%$/.test(w.width))&&parseInt(w.width,10)<310){w.width="310";}if(!(/%$/.test(w.height))&&parseInt(w.height,10)<137){w.height="137";}K.title=K.title.slice(0,47)+" - Flash Player Installation";var z=h.ie&&h.win?"ActiveX":"PlugIn",q=K.title,r="MMredirectURL="+j.location+"&MMplayerType="+z+"&MMdoctitle="+q,x=w.id;if(h.ie&&h.win&&u.readyState!=4){var t=a("div");x+="SWFObjectNew";t.setAttribute("id",x);u.parentNode.insertBefore(t,u);u.style.display="none";var v=function(){u.parentNode.removeChild(u);};I(j,"onload",v);}U({data:w.expressInstall,id:m,width:w.width,height:w.height},{flashvars:r},x);}}function O(t){if(h.ie&&h.win&&t.readyState!=4){var r=a("div");t.parentNode.insertBefore(r,t);r.parentNode.replaceChild(G(t),r);t.style.display="none";var q=function(){t.parentNode.removeChild(t);};I(j,"onload",q);}else{t.parentNode.replaceChild(G(t),t);}}function G(v){var u=a("div");if(h.win&&h.ie){u.innerHTML=v.innerHTML;}else{var r=v.getElementsByTagName(Q)[0];if(r){var w=r.childNodes;if(w){var q=w.length;for(var t=0;t<q;t++){if(!(w[t].nodeType==1&&w[t].nodeName=="PARAM")&&!(w[t].nodeType==8)){u.appendChild(w[t].cloneNode(true));}}}}}return u;}function U(AG,AE,t){var q,v=C(t);if(v){if(typeof AG.id==b){AG.id=t;}if(h.ie&&h.win){var AF="";for(var AB in AG){if(AG[AB]!=Object.prototype[AB]){if(AB.toLowerCase()=="data"){AE.movie=AG[AB];}else{if(AB.toLowerCase()=="styleclass"){AF+=' class="'+AG[AB]+'"';}else{if(AB.toLowerCase()!="classid"){AF+=" "+AB+'="'+AG[AB]+'"';}}}}}var AD="";for(var AA in AE){if(AE[AA]!=Object.prototype[AA]){AD+='<param name="'+AA+'" value="'+AE[AA]+'" />';}}v.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AF+">"+AD+"</object>";i[i.length]=AG.id;q=C(AG.id);}else{if(h.webkit&&h.webkit<312){var AC=a("embed");AC.setAttribute("type",P);for(var z in AG){if(AG[z]!=Object.prototype[z]){if(z.toLowerCase()=="data"){AC.setAttribute("src",AG[z]);}else{if(z.toLowerCase()=="styleclass"){AC.setAttribute("class",AG[z]);}else{if(z.toLowerCase()!="classid"){AC.setAttribute(z,AG[z]);}}}}}for(var y in AE){if(AE[y]!=Object.prototype[y]){if(y.toLowerCase()!="movie"){AC.setAttribute(y,AE[y]);}}}v.parentNode.replaceChild(AC,v);q=AC;}else{var u=a(Q);u.setAttribute("type",P);for(var x in AG){if(AG[x]!=Object.prototype[x]){if(x.toLowerCase()=="styleclass"){u.setAttribute("class",AG[x]);}else{if(x.toLowerCase()!="classid"){u.setAttribute(x,AG[x]);}}}}for(var w in AE){if(AE[w]!=Object.prototype[w]&&w.toLowerCase()!="movie"){F(u,w,AE[w]);}}v.parentNode.replaceChild(u,v);q=u;}}}return q;}function F(t,q,r){var u=a("param");u.setAttribute("name",q);u.setAttribute("value",r);t.appendChild(u);}function X(r){var q=C(r);if(q&&(q.nodeName=="OBJECT"||q.nodeName=="EMBED")){if(h.ie&&h.win){if(q.readyState==4){B(r);}else{j.attachEvent("onload",function(){B(r);});}}else{q.parentNode.removeChild(q);}}}function B(t){var r=C(t);if(r){for(var q in r){if(typeof r[q]=="function"){r[q]=null;}}r.parentNode.removeChild(r);}}function C(t){var q=null;try{q=K.getElementById(t);}catch(r){}return q;}function a(q){return K.createElement(q);}function I(t,q,r){t.attachEvent(q,r);d[d.length]=[t,q,r];}function c(t){var r=h.pv,q=t.split(".");q[0]=parseInt(q[0],10);q[1]=parseInt(q[1],10)||0;q[2]=parseInt(q[2],10)||0;return(r[0]>q[0]||(r[0]==q[0]&&r[1]>q[1])||(r[0]==q[0]&&r[1]==q[1]&&r[2]>=q[2]))?true:false;}function V(v,r){if(h.ie&&h.mac){return;}var u=K.getElementsByTagName("head")[0],t=a("style");t.setAttribute("type","text/css");t.setAttribute("media","screen");if(!(h.ie&&h.win)&&typeof K.createTextNode!=b){t.appendChild(K.createTextNode(v+" {"+r+"}"));}u.appendChild(t);if(h.ie&&h.win&&typeof K.styleSheets!=b&&K.styleSheets.length>0){var q=K.styleSheets[K.styleSheets.length-1];if(typeof q.addRule==Q){q.addRule(v,r);}}}function W(t,q){var r=q?"visible":"hidden";if(e&&C(t)){C(t).style.visibility=r;}else{V("#"+t,"visibility:"+r);}}function g(s){var r=/[\\\"<>\.;]/;var q=r.exec(s)!=null;return q?encodeURIComponent(s):s;}var D=function(){if(h.ie&&h.win){window.attachEvent("onunload",function(){var w=d.length;for(var v=0;v<w;v++){d[v][0].detachEvent(d[v][1],d[v][2]);}var t=i.length;for(var u=0;u<t;u++){X(i[u]);}for(var r in h){h[r]=null;}h=null;for(var q in swfobject){swfobject[q]=null;}swfobject=null;});}}();return{registerObject:function(u,q,t){if(!h.w3cdom||!u||!q){return;}var r={};r.id=u;r.swfVersion=q;r.expressInstall=t?t:false;N[N.length]=r;W(u,false);},getObjectById:function(v){var q=null;if(h.w3cdom){var t=C(v);if(t){var u=t.getElementsByTagName(Q)[0];if(!u||(u&&typeof t.SetVariable!=b)){q=t;}else{if(typeof u.SetVariable!=b){q=u;}}}}return q;},embedSWF:function(x,AE,AB,AD,q,w,r,z,AC){if(!h.w3cdom||!x||!AE||!AB||!AD||!q){return;}AB+="";AD+="";if(c(q)){W(AE,false);var AA={};if(AC&&typeof AC===Q){for(var v in AC){if(AC[v]!=Object.prototype[v]){AA[v]=AC[v];}}}AA.data=x;AA.width=AB;AA.height=AD;var y={};if(z&&typeof z===Q){for(var u in z){if(z[u]!=Object.prototype[u]){y[u]=z[u];}}}if(r&&typeof r===Q){for(var t in r){if(r[t]!=Object.prototype[t]){if(typeof y.flashvars!=b){y.flashvars+="&"+t+"="+r[t];}else{y.flashvars=t+"="+r[t];}}}}f(function(){U(AA,y,AE);if(AA.id==AE){W(AE,true);}});}else{if(w&&!A&&c("6.0.65")&&(h.win||h.mac)){A=true;W(AE,false);f(function(){var AF={};AF.id=AF.altContentId=AE;AF.width=AB;AF.height=AD;AF.expressInstall=w;k(AF);});}}},getFlashPlayerVersion:function(){return{major:h.pv[0],minor:h.pv[1],release:h.pv[2]};},hasFlashPlayerVersion:c,createSWF:function(t,r,q){if(h.w3cdom){return U(t,r,q);}else{return undefined;}},removeSWF:function(q){if(h.w3cdom){X(q);}},createCSS:function(r,q){if(h.w3cdom){V(r,q);}},addDomLoadEvent:f,addLoadEvent:R,getQueryParamValue:function(v){var u=K.location.search||K.location.hash;if(v==null){return g(u);}if(u){var t=u.substring(1).split("&");for(var r=0;r<t.length;r++){if(t[r].substring(0,t[r].indexOf("="))==v){return g(t[r].substring((t[r].indexOf("=")+1)));}}}return"";},expressInstallCallback:function(){if(A&&M){var q=C(m);if(q){q.parentNode.replaceChild(M,q);if(l){W(l,true);if(h.ie&&h.win){M.style.display="block";}}M=null;l=null;A=false;}}}};}();var PopupBlock=function(a){if(a.container&&a.link){this.container=a.container;this.link=a.link;this.fader=a.fader;this.close=a.close;this.isOpen=!this.container.is(".hidden");this.attachEvents();}else{throw new Error("PopupBlock: required parameters 'options.container' and 'options.link' are missing or undefined.");}};PopupBlock.prototype={ESCAPE_KEY_CODE:27,attachEvents:function(){var a=this;this.link.click(function(b){b.stopPropagation();b.preventDefault();a.toggle();});this.container.click(function(b){b.stopPropagation();});if(this.close){this.close.click(function(){a.hide();});}},toggle:function(){if(this.isOpen){this.hide();}else{this.show();}},show:function(){this.isOpen=true;if(this.fader){this.fader.removeClass("hidden");}this.container.removeClass("hidden");var a=this;this.documentClickHandler=function(){a.hide();};this.documentKeyDownHandler=function(b){a.cancel(b);};$(document).click(this.documentClickHandler);$(document).keydown(this.documentKeyDownHandler);},hide:function(){this.isOpen=false;this.container.addClass("hidden");if(this.fader){this.fader.addClass("hidden");}$(document).unbind("click",this.documentClickHandler);$(document).unbind("keydown",this.documentKeyDownHandler);},cancel:function(b){var a=b.keyCode?b.keyCode:b.which?b.which:null;if(a===this.ESCAPE_KEY_CODE){this.hide();}}};ï»¿$(document).ready(function(){$(".contentnav a:first").addClass("active");var contentwidth=$(".contentholder").width();var totalcontent=$(".content").size();var allcontentwidth=contentwidth*totalcontent;$(".contentslider").css({'width':allcontentwidth});rotate=function(){var slideid=$active.attr("rel")-1;var slidedistance=slideid*contentwidth;$(".contentnav a").removeClass('active');$active.addClass('active');$(".contentslider").animate({left:-slidedistance},500);};rotation=function(){play=setInterval(function(){$active=$('.contentnav a.active').next();if($active.length===0){$active=$('.contentnav a:first');}
rotate();},5000);};rotation();$(".contentnav a").click(function(){$active=$(this);clearInterval(play);rotate();rotation();return false;});});(function(d){function g(a){var b=a||window.event,i=[].slice.call(arguments,1),c=0,h=0,e=0;a=d.event.fix(b);a.type="mousewheel";if(a.wheelDelta)c=a.wheelDelta/120;if(a.detail)c=-a.detail/3;e=c;if(b.axis!==undefined&&b.axis===b.HORIZONTAL_AXIS){e=0;h=-1*c}if(b.wheelDeltaY!==undefined)e=b.wheelDeltaY/120;if(b.wheelDeltaX!==undefined)h=-1*b.wheelDeltaX/120;i.unshift(a,c,h,e);return d.event.handle.apply(this,i)}var f=["DOMMouseScroll","mousewheel"];d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=f.length;a;)this.addEventListener(f[--a],g,false);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],g,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);;(function(b){var m,t,u,f,D,j,E,n,z,A,q=0,e={},o=[],p=0,d={},l=[],G=null,v=new Image,J=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,W=/[^\.]\.(swf)\s*$/i,K,L=1,y=0,s="",r,i,h=false,B=b.extend(b("<div/>")[0],{prop:0}),M=b.browser.msie&&b.browser.version<7&&!window.XMLHttpRequest,N=function(){t.hide();v.onerror=v.onload=null;G&&G.abort();m.empty()},O=function(){if(false===e.onError(o,q,e)){t.hide();h=false}else{e.titleShow=false;e.width="auto";e.height="auto";m.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');F()}},I=function(){var a=o[q],c,g,k,C,P,w;N();e=b.extend({},b.fn.fancybox.defaults,typeof b(a).data("fancybox")=="undefined"?e:b(a).data("fancybox"));w=e.onStart(o,q,e);if(w===false)h=false;else{if(typeof w=="object")e=b.extend(e,w);k=e.title||(a.nodeName?b(a).attr("title"):a.title)||"";if(a.nodeName&&!e.orig)e.orig=b(a).children("img:first").length?b(a).children("img:first"):b(a);if(k===""&&e.orig&&e.titleFromAlt)k=e.orig.attr("alt");c=e.href||(a.nodeName?b(a).attr("href"):a.href)||null;if(/^(?:javascript)/i.test(c)||c=="#")c=null;if(e.type){g=e.type;if(!c)c=e.content}else if(e.content)g="html";else if(c)g=c.match(J)?"image":c.match(W)?"swf":b(a).hasClass("iframe")?"iframe":c.indexOf("#")===0?"inline":"ajax";if(g){if(g=="inline"){a=c.substr(c.indexOf("#"));g=b(a).length>0?"inline":"ajax"}e.type=g;e.href=c;e.title=k;if(e.autoDimensions)if(e.type=="html"||e.type=="inline"||e.type=="ajax"){e.width="auto";e.height="auto"}else e.autoDimensions=false;if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick=false;e.enableEscapeButton=false;e.showCloseButton=false}e.padding=parseInt(e.padding,10);e.margin=parseInt(e.margin,10);m.css("padding",e.padding+e.margin);b(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){b(this).replaceWith(j.children())});switch(g){case"html":m.html(e.content);F();break;case"inline":if(b(a).parent().is("#fancybox-content")===true){h=false;break}b('<div class="fancybox-inline-tmp" />').hide().insertBefore(b(a)).bind("fancybox-cleanup",function(){b(this).replaceWith(j.children())}).bind("fancybox-cancel",function(){b(this).replaceWith(m.children())});b(a).appendTo(m);F();break;case"image":h=false;b.fancybox.showActivity();v=new Image;v.onerror=function(){O()};v.onload=function(){h=true;v.onerror=v.onload=null;e.width=v.width;e.height=v.height;b("<img />").attr({id:"fancybox-img",src:v.src,alt:e.title}).appendTo(m);Q()};v.src=c;break;case"swf":e.scrolling="no";C='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+e.width+'" height="'+e.height+'"><param name="movie" value="'+c+'"></param>';P="";b.each(e.swf,function(x,H){C+='<param name="'+x+'" value="'+H+'"></param>';P+=" "+x+'="'+H+'"'});C+='<embed src="'+c+'" type="application/x-shockwave-flash" width="'+e.width+'" height="'+e.height+'"'+P+"></embed></object>";m.html(C);F();break;case"ajax":h=false;b.fancybox.showActivity();e.ajax.win=e.ajax.success;G=b.ajax(b.extend({},e.ajax,{url:c,data:e.ajax.data||{},error:function(x){x.status>0&&O()},success:function(x,H,R){if((typeof R=="object"?R:G).status==200){if(typeof e.ajax.win=="function"){w=e.ajax.win(c,x,H,R);if(w===false){t.hide();return}else if(typeof w=="string"||typeof w=="object")x=w}m.html(x);F()}}}));break;case"iframe":Q()}}else O()}},F=function(){var a=e.width,c=e.height;a=a.toString().indexOf("%")>-1?parseInt((b(window).width()-e.margin*2)*parseFloat(a)/100,10)+"px":a=="auto"?"auto":a+"px";c=c.toString().indexOf("%")>-1?parseInt((b(window).height()-e.margin*2)*parseFloat(c)/100,10)+"px":c=="auto"?"auto":c+"px";m.wrapInner('<div style="width:'+a+";height:"+c+";overflow: "+(e.scrolling=="auto"?"auto":e.scrolling=="yes"?"scroll":"hidden")+';position:relative;"></div>');e.width=m.width();e.height=m.height();Q()},Q=function(){var a,c;t.hide();if(f.is(":visible")&&false===d.onCleanup(l,p,d)){b.event.trigger("fancybox-cancel");h=false}else{h=true;b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");f.is(":visible")&&d.titlePosition!=="outside"&&f.css("height",f.height());l=o;p=q;d=e;if(d.overlayShow){u.css({"background-color":d.overlayColor,opacity:d.overlayOpacity,cursor:d.hideOnOverlayClick?"pointer":"auto",height:b(document).height()});if(!u.is(":visible")){M&&b("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});u.show()}}else u.hide();i=X();s=d.title||"";y=0;n.empty().removeAttr("style").removeClass();if(d.titleShow!==false){if(b.isFunction(d.titleFormat))a=d.titleFormat(s,l,p,d);else a=s&&s.length?d.titlePosition=="float"?'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+s+'</td><td id="fancybox-title-float-right"></td></tr></table>':'<div id="fancybox-title-'+d.titlePosition+'">'+s+"</div>":false;s=a;if(!(!s||s==="")){n.addClass("fancybox-title-"+d.titlePosition).html(s).appendTo("body").show();switch(d.titlePosition){case"inside":n.css({width:i.width-d.padding*2,marginLeft:d.padding,marginRight:d.padding});y=n.outerHeight(true);n.appendTo(D);i.height+=y;break;case"over":n.css({marginLeft:d.padding,width:i.width-d.padding*2,bottom:d.padding}).appendTo(D);break;case"float":n.css("left",parseInt((n.width()-i.width-40)/2,10)*-1).appendTo(f);break;default:n.css({width:i.width-d.padding*2,paddingLeft:d.padding,paddingRight:d.padding}).appendTo(f)}}}n.hide();if(f.is(":visible")){b(E.add(z).add(A)).hide();a=f.position();r={top:a.top,left:a.left,width:f.width(),height:f.height()};c=r.width==i.width&&r.height==i.height;j.fadeTo(d.changeFade,0.3,function(){var g=function(){j.html(m.contents()).fadeTo(d.changeFade,1,S)};b.event.trigger("fancybox-change");j.empty().removeAttr("filter").css({"border-width":d.padding,width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2});if(c)g();else{B.prop=0;b(B).animate({prop:1},{duration:d.changeSpeed,easing:d.easingChange,step:T,complete:g})}})}else{f.removeAttr("style");j.css("border-width",d.padding);if(d.transitionIn=="elastic"){r=V();j.html(m.contents());f.show();if(d.opacity)i.opacity=0;B.prop=0;b(B).animate({prop:1},{duration:d.speedIn,easing:d.easingIn,step:T,complete:S})}else{d.titlePosition=="inside"&&y>0&&n.show();j.css({width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2}).html(m.contents());f.css(i).fadeIn(d.transitionIn=="none"?0:d.speedIn,S)}}}},Y=function(){if(d.enableEscapeButton||d.enableKeyboardNav)b(document).bind("keydown.fb",function(a){if(a.keyCode==27&&d.enableEscapeButton){a.preventDefault();b.fancybox.close()}else if((a.keyCode==37||a.keyCode==39)&&d.enableKeyboardNav&&a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.target.tagName!=="SELECT"){a.preventDefault();b.fancybox[a.keyCode==37?"prev":"next"]()}});if(d.showNavArrows){if(d.cyclic&&l.length>1||p!==0)z.show();if(d.cyclic&&l.length>1||p!=l.length-1)A.show()}else{z.hide();A.hide()}},S=function(){if(!b.support.opacity){j.get(0).style.removeAttribute("filter");f.get(0).style.removeAttribute("filter")}e.autoDimensions&&j.css("height","auto");f.css("height","auto");s&&s.length&&n.show();d.showCloseButton&&E.show();Y();d.hideOnContentClick&&j.bind("click",b.fancybox.close);d.hideOnOverlayClick&&u.bind("click",b.fancybox.close);b(window).bind("resize.fb",b.fancybox.resize);d.centerOnScroll&&b(window).bind("scroll.fb",b.fancybox.center);if(d.type=="iframe")b('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" '+(b.browser.msie?'allowtransparency="true""':"")+' scrolling="'+e.scrolling+'" src="'+d.href+'"></iframe>').appendTo(j);f.show();h=false;b.fancybox.center();d.onComplete(l,p,d);var a,c;if(l.length-1>p){a=l[p+1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}if(p>0){a=l[p-1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}},T=function(a){var c={width:parseInt(r.width+(i.width-r.width)*a,10),height:parseInt(r.height+(i.height-r.height)*a,10),top:parseInt(r.top+(i.top-r.top)*a,10),left:parseInt(r.left+(i.left-r.left)*a,10)};if(typeof i.opacity!=="undefined")c.opacity=a<0.5?0.5:a;f.css(c);j.css({width:c.width-d.padding*2,height:c.height-y*a-d.padding*2})},U=function(){return[b(window).width()-d.margin*2,b(window).height()-d.margin*2,b(document).scrollLeft()+d.margin,b(document).scrollTop()+d.margin]},X=function(){var a=U(),c={},g=d.autoScale,k=d.padding*2;c.width=d.width.toString().indexOf("%")>-1?parseInt(a[0]*parseFloat(d.width)/100,10):d.width+k;c.height=d.height.toString().indexOf("%")>-1?parseInt(a[1]*parseFloat(d.height)/100,10):d.height+k;if(g&&(c.width>a[0]||c.height>a[1]))if(e.type=="image"||e.type=="swf"){g=d.width/d.height;if(c.width>a[0]){c.width=a[0];c.height=parseInt((c.width-k)/g+k,10)}if(c.height>a[1]){c.height=a[1];c.width=parseInt((c.height-k)*g+k,10)}}else{c.width=Math.min(c.width,a[0]);c.height=Math.min(c.height,a[1])}c.top=parseInt(Math.max(a[3]-20,a[3]+(a[1]-c.height-40)*0.5),10);c.left=parseInt(Math.max(a[2]-20,a[2]+(a[0]-c.width-40)*0.5),10);return c},V=function(){var a=e.orig?b(e.orig):false,c={};if(a&&a.length){c=a.offset();c.top+=parseInt(a.css("paddingTop"),10)||0;c.left+=parseInt(a.css("paddingLeft"),10)||0;c.top+=parseInt(a.css("border-top-width"),10)||0;c.left+=parseInt(a.css("border-left-width"),10)||0;c.width=a.width();c.height=a.height();c={width:c.width+d.padding*2,height:c.height+d.padding*2,top:c.top-d.padding-20,left:c.left-d.padding-20}}else{a=U();c={width:d.padding*2,height:d.padding*2,top:parseInt(a[3]+a[1]*0.5,10),left:parseInt(a[2]+a[0]*0.5,10)}}return c},Z=function(){if(t.is(":visible")){b("div",t).css("top",L*-40+"px");L=(L+1)%12}else clearInterval(K)};b.fn.fancybox=function(a){if(!b(this).length)return this;b(this).data("fancybox",b.extend({},a,b.metadata?b(this).metadata():{})).unbind("click.fb").bind("click.fb",function(c){c.preventDefault();if(!h){h=true;b(this).blur();o=[];q=0;c=b(this).attr("rel")||"";if(!c||c==""||c==="nofollow")o.push(this);else{o=b("a[rel="+c+"], area[rel="+c+"]");q=o.index(this)}I()}});return this};b.fancybox=function(a,c){var g;if(!h){h=true;g=typeof c!=="undefined"?c:{};o=[];q=parseInt(g.index,10)||0;if(b.isArray(a)){for(var k=0,C=a.length;k<C;k++)if(typeof a[k]=="object")b(a[k]).data("fancybox",b.extend({},g,a[k]));else a[k]=b({}).data("fancybox",b.extend({content:a[k]},g));o=jQuery.merge(o,a)}else{if(typeof a=="object")b(a).data("fancybox",b.extend({},g,a));else a=b({}).data("fancybox",b.extend({content:a},g));o.push(a)}if(q>o.length||q<0)q=0;I()}};b.fancybox.showActivity=function(){clearInterval(K);t.show();K=setInterval(Z,66)};b.fancybox.hideActivity=function(){t.hide()};b.fancybox.next=function(){return b.fancybox.pos(p+
1)};b.fancybox.prev=function(){return b.fancybox.pos(p-1)};b.fancybox.pos=function(a){if(!h){a=parseInt(a);o=l;if(a>-1&&a<l.length){q=a;I()}else if(d.cyclic&&l.length>1){q=a>=l.length?0:l.length-1;I()}}};b.fancybox.cancel=function(){if(!h){h=true;b.event.trigger("fancybox-cancel");N();e.onCancel(o,q,e);h=false}};b.fancybox.close=function(){function a(){u.fadeOut("fast");n.empty().hide();f.hide();b.event.trigger("fancybox-cleanup");j.empty();d.onClosed(l,p,d);l=e=[];p=q=0;d=e={};h=false}if(!(h||f.is(":hidden"))){h=true;if(d&&false===d.onCleanup(l,p,d))h=false;else{N();b(E.add(z).add(A)).hide();b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");j.find("iframe").attr("src",M&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");d.titlePosition!=="inside"&&n.empty();f.stop();if(d.transitionOut=="elastic"){r=V();var c=f.position();i={top:c.top,left:c.left,width:f.width(),height:f.height()};if(d.opacity)i.opacity=1;n.empty().hide();B.prop=1;b(B).animate({prop:0},{duration:d.speedOut,easing:d.easingOut,step:T,complete:a})}else f.fadeOut(d.transitionOut=="none"?0:d.speedOut,a)}}};b.fancybox.resize=function(){u.is(":visible")&&u.css("height",b(document).height());b.fancybox.center(true)};b.fancybox.center=function(a){var c,g;if(!h){g=a===true?1:0;c=U();!g&&(f.width()>c[0]||f.height()>c[1])||f.stop().animate({top:parseInt(Math.max(c[3]-20,c[3]+(c[1]-j.height()-40)*0.5-d.padding)),left:parseInt(Math.max(c[2]-20,c[2]+(c[0]-j.width()-40)*0.5-
d.padding))},typeof a=="number"?a:200)}};b.fancybox.init=function(){if(!b("#fancybox-wrap").length){b("body").append(m=b('<div id="fancybox-tmp"></div>'),t=b('<div id="fancybox-loading"><div></div></div>'),u=b('<div id="fancybox-overlay"></div>'),f=b('<div id="fancybox-wrap"></div>'));D=b('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(f);D.append(j=b('<div id="fancybox-content"></div>'),E=b('<a id="fancybox-close"></a>'),n=b('<div id="fancybox-title"></div>'),z=b('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),A=b('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));E.click(b.fancybox.close);t.click(b.fancybox.cancel);z.click(function(a){a.preventDefault();b.fancybox.prev()});A.click(function(a){a.preventDefault();b.fancybox.next()});b.fn.mousewheel&&f.bind("mousewheel.fb",function(a,c){if(h)a.preventDefault();else if(b(a.target).get(0).clientHeight==0||b(a.target).get(0).scrollHeight===b(a.target).get(0).clientHeight){a.preventDefault();b.fancybox[c>0?"prev":"next"]()}});b.support.opacity||f.addClass("fancybox-ie");if(M){t.addClass("fancybox-ie6");f.addClass("fancybox-ie6");b('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(D)}}};b.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};b(document).ready(function(){b.fancybox.init()})})(jQuery);(function(f){var b,c,j,m,l,i,g,e,h,a,k;b=document.namespaces;has_canvas=!!document.createElement("canvas").getContext;if(!(has_canvas||b)){f.fn.maphilight=function(){return this};return}if(has_canvas){g=function(p,o,n){if(o<=1){p.style.opacity=o;window.setTimeout(g,10,p,o+0.1,10)}};e=function(n){return Math.max(0,Math.min(parseInt(n,16),255))};h=function(n,o){return"rgba("+e(n.substr(0,2))+","+e(n.substr(2,2))+","+e(n.substr(4,2))+","+o+")"};c=function(n){var o=f('<canvas style="width:'+n.width+"px;height:"+n.height+'px;"></canvas>').get(0);o.getContext("2d").clearRect(0,0,o.width,o.height);return o};j=function(q,n,t,p,o){var s,r=q.getContext("2d");r.beginPath();if(n=="rect"){r.rect(t[0],t[1],t[2]-t[0],t[3]-t[1])}else{if(n=="poly"){r.moveTo(t[0],t[1]);for(s=2;s<t.length;s+=2){r.lineTo(t[s],t[s+1])}}else{if(n=="circ"){r.arc(t[0],t[1],t[2],0,Math.PI*2,false)}}}r.closePath();if(p.fill){r.fillStyle=h(p.fillColor,p.fillOpacity);r.fill()}if(p.stroke){r.strokeStyle=h(p.strokeColor,p.strokeOpacity);r.lineWidth=p.strokeWidth;r.stroke()}if(p.fade){g(q,0)}};m=function(n,o){n.getContext("2d").clearRect(0,0,n.width,n.height)}}else{c=function(n){return f('<var style="zoom:1;overflow:hidden;display:block;width:'+n.width+"px;height:"+n.height+'px;"></var>').get(0)};j=function(o,r,s,v,n){var t,u,p,q;t='<v:fill color="#'+v.fillColor+'" opacity="'+(v.fill?v.fillOpacity:0)+'" />';u=(v.stroke?'strokeweight="'+v.strokeWidth+'" stroked="t" strokecolor="#'+v.strokeColor+'"':'stroked="f"');p='<v:stroke opacity="'+v.strokeOpacity+'"/>';if(r=="rect"){q=f('<v:rect name="'+n+'" filled="t" '+u+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+s[0]+"px;top:"+s[1]+"px;width:"+(s[2]-s[0])+"px;height:"+(s[3]-s[1])+'px;"></v:rect>')}else{if(r=="poly"){q=f('<v:shape name="'+n+'" filled="t" '+u+' coordorigin="0,0" coordsize="'+o.width+","+o.height+'" path="m '+s[0]+","+s[1]+" l "+s.join(",")+' x e" style="zoom:1;margin:0;padding:0;display:block;position:absolute;top:0px;left:0px;width:'+o.width+"px;height:"+o.height+'px;"></v:shape>')}else{if(r=="circ"){q=f('<v:oval name="'+n+'" filled="t" '+u+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+(s[0]-s[2])+"px;top:"+(s[1]-s[2])+"px;width:"+(s[2]*2)+"px;height:"+(s[2]*2)+'px;"></v:oval>')}}}q.get(0).innerHTML=t+p;f(o).append(q)};m=function(n){f(n).find("[name=highlighted]").remove()}}l=function(o){var n,p=o.getAttribute("coords").split(",");for(n=0;n<p.length;n++){p[n]=parseFloat(p[n])}return[o.getAttribute("shape").toLowerCase().substr(0,4),p]};k=function(p,o){var n=f(p);return f.extend({},o,f.metadata?n.metadata():false,n.data("maphilight"))};a=function(n){if(!n.complete){return false}if(typeof n.naturalWidth!="undefined"&&n.naturalWidth==0){return false}return true};i={position:"absolute",left:0,top:0,padding:0,border:0};var d=false;f.fn.maphilight=function(p){p=f.extend({},f.fn.maphilight.defaults,p);if(f.browser.msie&&!d){document.namespaces.add("v","urn:schemas-microsoft-com:vml");var o=document.createStyleSheet();var n=["shape","rect","oval","circ","fill","stroke","imagedata","group","textbox"];f.each(n,function(){o.addRule("v\\:"+this,"behavior: url(#default#VML); antialias:true")});d=true}return this.each(function(){var v,s,z,r,u,w,y,t,x;v=f(this);if(!a(this)){return window.setTimeout(function(){v.maphilight(p)},200)}z=f.extend({},p,f.metadata?v.metadata():false,v.data("maphilight"));x=v.get(0).getAttribute("usemap");r=f('map[name="'+x.substr(1)+'"]');if(!(v.is("img")&&x&&r.size()>0)){return}if(v.hasClass("maphilighted")){var q=v.parent();v.insertBefore(q);q.remove()}s=f("<div></div>").css({display:"block",background:"url("+this.src+")",position:"relative",padding:0,width:this.width,height:this.height});if(z.wrapClass){if(z.wrapClass===true){s.addClass(f(this).attr("class"))}else{s.addClass(z.wrapClass)}}v.before(s).css("opacity",0).css(i).remove();if(f.browser.msie){v.css("filter","Alpha(opacity=0)")}s.append(v);u=c(this);f(u).css(i);u.height=this.height;u.width=this.width;y=function(C){var A,B;B=k(this,z);if(!B.neverOn&&!B.alwaysOn){A=l(this);j(u,A[0],A[1],B,"highlighted");if(B.groupBy&&f(this).attr(B.groupBy)){var D=this;r.find("area["+B.groupBy+"="+f(this).attr(B.groupBy)+"]").each(function(){if(this!=D){var F=k(this,z);if(!F.neverOn&&!F.alwaysOn){var E=l(this);j(u,E[0],E[1],F,"highlighted")}}})}}};if(z.alwaysOn){f(r).find("area[coords]").each(y)}else{f(r).find("area[coords]").each(function(){var A,B;B=k(this,z);if(B.alwaysOn){if(!w){w=c(v.get());f(w).css(i);w.width=v.width();w.height=v.height();v.before(w)}A=l(this);if(f.browser.msie){j(u,A[0],A[1],B,"")}else{j(w,A[0],A[1],B,"")}}});f(r).find("area[coords]").mouseover(y).mouseout(function(A){m(u)})}v.before(u);v.addClass("maphilighted")})};f.fn.maphilight.defaults={fill:true,fillColor:"ffffff",fillOpacity:0.2,stroke:true,strokeColor:"98d5a1",strokeOpacity:1,strokeWidth:1,fade:true,alwaysOn:false,neverOn:false,groupBy:false,wrapClass:true}})(jQuery);(function($){$.fn.easyTooltip=function(options){var defaults={xOffset:10,yOffset:25,tooltipId:"easyTooltip",clickRemove:false,content:"",useElement:""};var options=$.extend(defaults,options);var content;this.each(function(){var title=$(this).attr("title");$(this).hover(function(e){content=(options.content!="")?options.content:title;content=(options.useElement!="")?$("#"+options.useElement).html():content;$(this).attr("title","");if(content!=""&&content!=undefined){$("body").append("<div id='"+options.tooltipId+"'>"+content+"</div>");$("#"+options.tooltipId).css("position","absolute").css("top",(e.pageY-options.yOffset)+"px").css("left",(e.pageX+options.xOffset)+"px").css("display","none").fadeIn("fast")}},function(){$("#"+options.tooltipId).remove();$(this).attr("title",title);});$(this).mousemove(function(e){$("#"+options.tooltipId).css("top",(e.pageY-options.yOffset)+"px").css("left",(e.pageX+options.xOffset)+"px")});if(options.clickRemove){$(this).mousedown(function(e){$("#"+options.tooltipId).remove();$(this).attr("title",title);});}});};})(jQuery);(function($){var defaults={autoPlay:true,speed:5000,text:{play:"",stop:"",previous:"Previous",next:"Next"},transition:[1],showCaption:true,IESafe:false,showTooltips:false,animationFinished:null};$.fn.PikaChoose=function(o){return this.each(function(){$(this).data('pikachoose',new $pc(this,o));});}
$.PikaChoose=function(e,o){this.options=$.extend({},defaults,o||{});this.list=null;this.image=null;this.anchor=null;this.caption=null;this.imgNav=null;this.imgPlay=null;this.imgPrev=null;this.imgNext=null;this.textNext=null;this.textPrev=null;this.previous=null;this.next=null;this.aniDiv=null;this.thumbs=null;this.transition=null;this.active=null;this.tooltip=null;this.animating=false;this.stillOut=null;if(e.nodeName=='UL'||e.nodeName=='OL'){this.list=$(e);this.build();this.bindEvents();}else{return;}
var y=0;var x=0;for(var t=0;t<25;t++){var a='<div col="'+y+'" row="'+x+'"></div>';this.aniDiv.append(a);y++
if(y==5){x++;y=0;}}};var $pc=$.PikaChoose;$pc.fn=$pc.prototype={pikachoose:'4.1.4'};$pc.fn.extend=$pc.extend=$.extend;$pc.fn.extend({build:function(){this.step=0;this.wrap=$("<div class='pika-image'></div>").insertBefore(this.list);this.image=$("<img>").appendTo(this.wrap);this.anchor=this.image.wrap("<a>").parent();this.imgNav=$("<div class='pika-imgnav'></div>").insertAfter(this.anchor);this.imgPlay=$("<a></a>").appendTo(this.imgNav);if(this.options.autoPlay){this.imgPlay.addClass('pause');}else{this.imgPlay.addClass('play');}
this.imgPrev=$("<a class='previous'></a>").insertAfter(this.imgPlay);this.imgNext=$("<a class='next'></a>").insertAfter(this.imgPrev);this.caption=$("<div class='caption'></div>").insertAfter(this.imgNav);if(!this.options.showCaption){this.caption.hide();}
this.tooltip=$("<div class='pika-tooltip'></div>").insertAfter(this.list);this.tooltip.hide();this.aniDiv=$("<div class='animation'></div>").insertAfter(this.caption);this.textNav=$("<div class='pika-textnav'></div>").insertAfter(this.aniDiv);this.textPrev=$("<a class='previous'>"+this.options.text.previous+"</a>").appendTo(this.textNav);this.textNext=$("<a class='next'>"+this.options.text.next+"</a>").appendTo(this.textNav);this.list.addClass('pika-thumbs');this.list.children('li').wrapInner("<div class='clip' />");this.thumbs=this.list.find('img');this.active=this.thumbs.eq(0);this.finishAnimating({'source':this.active.attr('ref')||this.active.attr('src'),'caption':this.active.parents('li:first').find('span:first').html(),'clickThrough':this.active.parent().attr('href')||""});var self=this;this.thumbs.each(function(){self.createThumb($(this),self);});if(typeof(this.options.buildFinished)=='function'){this.options.buildFinished(this);}},createThumb:function(ele){var self=ele;var that=this;self.hide();$.data(ele[0],'clickThrough',self.parent('a').attr('href')||"#");if(self.parent('a').length>0){self.unwrap();}
$.data(ele[0],'caption',self.next('span').html()||"");self.next('span').remove();$.data(ele[0],'source',self.attr('ref')||self.attr('src'));$.data(ele[0],'order',self.closest('ul').find('li').index(self.parents('li')));var data=$.data(ele[0]);$('<img />').bind('load',{data:data},function(){var img=$(this);var w=img.width();var h=img.height();if(w===0){w=img.attr("width");}
if(h===0){h=img.attr("height");}
var rw=parseInt(self.parents('.clip').css('width').slice(0,-2))/w;var rh=parseInt(self.parents('.clip').css('height').slice(0,-2))/h;var ratio;if(rw<rh){ratio=rh;var left=((w*ratio-parseInt(self.parents('.clip').css('width').slice(0,-2)))/2)*-1;left=Math.round(left);self.css({left:left});}else{ratio=rw;self.css({top:0});}
var width=Math.round(w*ratio);var height=Math.round(h*ratio);self.css("position","relative");var imgcss={width:width+"px",height:height+"px"};self.css(imgcss);self.hover(function(e){clearTimeout(that.stillOut);$(this).stop(true,true).fadeTo(250,1);if(!that.options.showTooltips){return;}
that.tooltip.show().stop(true,true).html(data.caption).animate({top:$(this).parent().position().top,left:$(this).parent().position().left,opacity:1.0},'fast');},function(e){if(!$(this).hasClass("active")){$(this).stop(true,true).fadeTo(250,0.4);that.stillOut=setTimeout(that.hideTooltip,700);}});if(data.order==0){self.fadeTo(250,1);self.addClass('active');}else{self.fadeTo(250,0.4);}}).attr('src',self.attr('src'));},bindEvents:function(){this.thumbs.bind('click',{self:this},this.imgClick);this.imgNext.bind('click',{self:this},this.nextClick);this.textNext.bind('click',{self:this},this.nextClick);this.imgPrev.bind('click',{self:this},this.prevClick);this.textPrev.bind('click',{self:this},this.prevClick);this.imgPlay.bind('click',{self:this},this.playClick);this.wrap.bind('mouseenter',{self:this},function(e){e.data.self.imgPlay.stop(true,true).fadeIn('fast');});this.wrap.bind('mouseleave',{self:this},function(e){e.data.self.imgPlay.stop(true,true).fadeOut('fast');});this.tooltip.bind('mouseenter',{self:this},function(e){clearTimeout(e.data.self.stillOut);});this.tooltip.bind('mouseleave',{self:this},function(e){e.data.self.stillOut=setTimeout(e.data.self.hideTooltip,700);});},hideTooltip:function(e){$(".pika-tooltip").animate({opacity:0.01});},imgClick:function(e,x){var self=e.data.self;var data=$.data(this);if(self.animating){return;}
self.caption.fadeOut('slow');if(typeof(x)=='undefined'||x.how!="auto"){if(self.options.autoPlay){self.imgPlay.trigger('click');}}
self.animating=true;self.active.fadeTo(300,0.4).removeClass('active');self.active=$(this);self.active.addClass('active').fadeTo(200,1);$('<img />').bind('load',{self:self,data:data},function(){self.aniDiv.css({height:self.image.height(),width:self.image.width()}).fadeIn('fast');self.aniDiv.children('div').css({'width':'20%','height':'20%','float':'left'});var n=0;if(self.options.transition[0]==-1){n=Math.floor(Math.random()*6)+1;}else{n=self.options.transition[self.step];self.step++;if(self.step>=self.options.transition.length){self.step=0;}}
if(self.options.IESafe&&$.browser.msie){n=1;}
self.doAnimation(n,data);}).attr('src',$.data(this).source);},doAnimation:function(n,data){var self=this;var aWidth=self.aniDiv.children('div').eq(0).width();var aHeight=self.aniDiv.children('div').eq(0).height();self.aniDiv.children().each(function(){var div=$(this);var xOffset=Math.floor(div.parent().width()/5)*div.attr('col');var yOffset=Math.floor(div.parent().height()/5)*div.attr('row');div.css({'background':'url('+data.source+') -'+xOffset+'px -'+yOffset+'px','width':'0px','height':'0px','position':'absolute','top':yOffset+'px','left':xOffset+'px','float':'none'});});switch(n){case 0:self.aniDiv.hide();self.image.fadeOut('slow',function(){self.image.attr('src',data.source).fadeIn('slow',function(){self.finishAnimating(data);});});break;case 1:self.aniDiv.height(self.image.height()).hide().css({'background':'url('+data.source+') top left no-repeat'});self.aniDiv.children('div').hide();self.aniDiv.fadeIn('slow',function(){self.finishAnimating(data);self.aniDiv.css({'background':'transparent'});});break;case 2:self.aniDiv.children().hide().each(function(index){var delay=index*30;$(this).css({opacity:0.1}).show().delay(delay).animate({opacity:1,"width":aWidth,"height":aHeight},200,'linear',function(){if($(".animation div").index(this)==24){self.finishAnimating(data);}});});break;case 3:self.aniDiv.children("div:lt(5)").hide().each(function(index){var delay=$(this).attr('col')*100;$(this).css({opacity:0.1,"width":aWidth}).show().delay(delay).animate({opacity:1,"height":self.image.height()},700,'linear',function(){if($(".animation div").index(this)==4){self.finishAnimating(data);}});});break;case 4:self.aniDiv.children().hide().each(function(index){var delay=$(this).attr('col')*10;aHeight=self.gapper($(this),aHeight);$(this).css({opacity:0.1,"height":aHeight}).show().delay(delay).animate({opacity:1,"width":aWidth},800,'linear',function(){if($(".animation div").index(this)==24){self.finishAnimating(data);}});});break;case 5:self.aniDiv.children().show().each(function(index){var delay=index*Math.floor(Math.random()*5)*10;aHeight=self.gapper($(this),aHeight);if($(".animation div").index(this)==24){delay=800;}
$(this).css({"height":aHeight,"width":aWidth,"opacity":.01}).delay(delay).animate({"opacity":1},800,function(){if($(".animation div").index(this)==24){self.finishAnimating(data);}});});break;case 6:self.aniDiv.height(self.image.height()).hide().css({'background':'url('+data.source+') top left no-repeat'});self.aniDiv.children('div').hide();self.aniDiv.css({width:0}).show().animate({width:self.image.width()},'slow',function(){self.finishAnimating(data);self.aniDiv.css({'background':'transparent'});});break;}},finishAnimating:function(data){this.animating=false;this.image.attr('src',data.source);this.aniDiv.hide();this.anchor.attr('href',data.clickThrough);if(this.options.showCaption){this.caption.html(data.caption).fadeIn('slow');}
if(this.options.autoPlay==true){var self=this;this.image.delay(this.options.speed).fadeIn(0,function(){if(self.options.autoPlay){self.nextClick();}});}
if(typeof(this.options.animationFinished)=='function'){this.options.animationFinished(this);}},gapper:function(ele,aHeight){if(ele.attr('row')==9&&ele.attr('col')==0){var gap=ani_divs.height()-(aHeight*9);return gap;}
return aHeight;},nextClick:function(e){var how="natural";try{var self=e.data.self;if(typeof(e.data.self.options.next)=='function'){e.data.self.options.next(this);}}catch(err){var self=this;how="auto";}
var next=self.active.parents('li:first').next().find('img');if(next.length==0){next=self.list.find('img').eq(0);};next.trigger('click',{how:how});},prevClick:function(e){if(typeof(e.data.self.options.previous)=='function'){e.data.self.options.previous(this);}
var self=e.data.self;var prev=self.active.parents('li:first').prev().find('img');if(prev.length==0){prev=self.list.find('img:last');};prev.trigger('click');},playClick:function(e){var self=e.data.self;self.options.autoPlay=!self.options.autoPlay;self.imgPlay.toggleClass('play').toggleClass('pause');if(self.options.autoPlay){self.nextClick();}}});})(jQuery);ï»¿$(document).ready(function(){$(".contentnav a:first").addClass("active");var contentwidth=$(".contentholder_main").width();var totalcontent=$(".content_main").size();var allcontentwidth=contentwidth*totalcontent;$(".contentslider").css({'width':allcontentwidth});rotate=function(){var slideid=$active.attr("rel")-1;var slidedistance=slideid*contentwidth;$(".contentnav a").removeClass('active');$active.addClass('active');$(".contentslider").animate({left:-slidedistance},3000);};rotation=function(){play=setInterval(function(){$active=$('.contentnav a.active').next();if($active.length===-50){$active=$('.contentnav a:first');}
rotate();},10000);};rotation();$(".contentnav a").click(function(){$active=$(this);clearInterval(play);rotate();rotation();return false;});});ï»¿$(document).ready(function(){$(".contentnav a:first").addClass("active");var contentwidth=$(".contentholder_main").width();var totalcontent=$(".content_main").size();var allcontentwidth=contentwidth*totalcontent;$(".contentslider").css({'width':allcontentwidth});rotate=function(){var slideid=$active.attr("rel")-1;var slidedistance=slideid*contentwidth;$(".contentnav a").removeClass('active');$active.addClass('active');$(".contentslider").animate({left:-slidedistance},3000);};rotation=function(){play=setInterval(function(){$active=$('.contentnav a.active').next();if($active.length===-50){$active=$('.contentnav a:first');}
rotate();},10000);};rotation();$(".contentnav a").click(function(){$active=$(this);clearInterval(play);rotate();rotation();return false;});});
