
(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);﻿;jQuery.ui||(function($){var _remove=$.fn.remove,isFF2=$.browser.mozilla&&(parseFloat($.browser.version)<1.9);$.ui={version:"1.7.2",plugin:{add:function(module,option,set){var proto=$.ui[module].prototype;for(var i in set){proto.plugins[i]=proto.plugins[i]||[];proto.plugins[i].push([option,set[i]]);}},call:function(instance,name,args){var set=instance.plugins[name];if(!set||!instance.element[0].parentNode){return;}
for(var i=0;i<set.length;i++){if(instance.options[set[i][0]]){set[i][1].apply(instance.element,args);}}}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b);},hasScroll:function(el,a){if($(el).css('overflow')=='hidden'){return false;}
var scroll=(a&&a=='left')?'scrollLeft':'scrollTop',has=false;if(el[scroll]>0){return true;}
el[scroll]=1;has=(el[scroll]>0);el[scroll]=0;return has;},isOverAxis:function(x,reference,size){return(x>reference)&&(x<(reference+size));},isOver:function(y,x,top,left,height,width){return $.ui.isOverAxis(y,top,height)&&$.ui.isOverAxis(x,left,width);},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(isFF2){var attr=$.attr,removeAttr=$.fn.removeAttr,ariaNS="http://www.w3.org/2005/07/aaa",ariaState=/^aria-/,ariaRole=/^wairole:/;$.attr=function(elem,name,value){var set=value!==undefined;return(name=='role'?(set?attr.call(this,elem,name,"wairole:"+value):(attr.apply(this,arguments)||"").replace(ariaRole,"")):(ariaState.test(name)?(set?elem.setAttributeNS(ariaNS,name.replace(ariaState,"aaa:"),value):attr.call(this,elem,name.replace(ariaState,"aaa:"))):attr.apply(this,arguments)));};$.fn.removeAttr=function(name){return(ariaState.test(name)?this.each(function(){this.removeAttributeNS(ariaNS,name.replace(ariaState,""));}):removeAttr.call(this,name));};}
$.fn.extend({remove:function(){$("*",this).add(this).each(function(){$(this).triggerHandler("remove");});return _remove.apply(this,arguments);},enableSelection:function(){return this.attr('unselectable','off').css('MozUserSelect','').unbind('selectstart.ui');},disableSelection:function(){return this.attr('unselectable','on').css('MozUserSelect','none').bind('selectstart.ui',function(){return false;});},scrollParent:function(){var scrollParent;if(($.browser.msie&&(/(static|relative)/).test(this.css('position')))||(/absolute/).test(this.css('position'))){scrollParent=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test($.curCSS(this,'position',1))&&(/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));}).eq(0);}else{scrollParent=this.parents().filter(function(){return(/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));}).eq(0);}
return(/fixed/).test(this.css('position'))||!scrollParent.length?$(document):scrollParent;}});$.extend($.expr[':'],{data:function(elem,i,match){return!!$.data(elem,match[3]);},focusable:function(element){var nodeName=element.nodeName.toLowerCase(),tabIndex=$.attr(element,'tabindex');return(/input|select|textarea|button|object/.test(nodeName)?!element.disabled:'a'==nodeName||'area'==nodeName?element.href||!isNaN(tabIndex):!isNaN(tabIndex))&&!$(element)['area'==nodeName?'parents':'closest'](':hidden').length;},tabbable:function(element){var tabIndex=$.attr(element,'tabindex');return(isNaN(tabIndex)||tabIndex>=0)&&$(element).is(':focusable');}});function getter(namespace,plugin,method,args){function getMethods(type){var methods=$[namespace][plugin][type]||[];return(typeof methods=='string'?methods.split(/,?\s+/):methods);}
var methods=getMethods('getter');if(args.length==1&&typeof args[0]=='string'){methods=methods.concat(getMethods('getterSetter'));}
return($.inArray(method,methods)!=-1);}
$.widget=function(name,prototype){var namespace=name.split(".")[0];name=name.split(".")[1];$.fn[name]=function(options){var isMethodCall=(typeof options=='string'),args=Array.prototype.slice.call(arguments,1);if(isMethodCall&&options.substring(0,1)=='_'){return this;}
if(isMethodCall&&getter(namespace,name,options,args)){var instance=$.data(this[0],name);return(instance?instance[options].apply(instance,args):undefined);}
return this.each(function(){var instance=$.data(this,name);(!instance&&!isMethodCall&&$.data(this,name,new $[namespace][name](this,options))._init());(instance&&isMethodCall&&$.isFunction(instance[options])&&instance[options].apply(instance,args));});};$[namespace]=$[namespace]||{};$[namespace][name]=function(element,options){var self=this;this.namespace=namespace;this.widgetName=name;this.widgetEventPrefix=$[namespace][name].eventPrefix||name;this.widgetBaseClass=namespace+'-'+name;this.options=$.extend({},$.widget.defaults,$[namespace][name].defaults,$.metadata&&$.metadata.get(element)[name],options);this.element=$(element).bind('setData.'+name,function(event,key,value){if(event.target==element){return self._setData(key,value);}}).bind('getData.'+name,function(event,key){if(event.target==element){return self._getData(key);}}).bind('remove',function(){return self.destroy();});};$[namespace][name].prototype=$.extend({},$.widget.prototype,prototype);$[namespace][name].getterSetter='option';};$.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+'-disabled'+' '+this.namespace+'-state-disabled').removeAttr('aria-disabled');},option:function(key,value){var options=key,self=this;if(typeof key=="string"){if(value===undefined){return this._getData(key);}
options={};options[key]=value;}
$.each(options,function(key,value){self._setData(key,value);});},_getData:function(key){return this.options[key];},_setData:function(key,value){this.options[key]=value;if(key=='disabled'){this.element
[value?'addClass':'removeClass'](this.widgetBaseClass+'-disabled'+' '+
this.namespace+'-state-disabled').attr("aria-disabled",value);}},enable:function(){this._setData('disabled',false);},disable:function(){this._setData('disabled',true);},_trigger:function(type,event,data){var callback=this.options[type],eventName=(type==this.widgetEventPrefix?type:this.widgetEventPrefix+type);event=$.Event(event);event.type=eventName;if(event.originalEvent){for(var i=$.event.props.length,prop;i;){prop=$.event.props[--i];event[prop]=event.originalEvent[prop];}}
this.element.trigger(event,data);return!($.isFunction(callback)&&callback.call(this.element[0],event,data)===false||event.isDefaultPrevented());}};$.widget.defaults={disabled:false};$.ui.mouse={_mouseInit:function(){var self=this;this.element.bind('mousedown.'+this.widgetName,function(event){return self._mouseDown(event);}).bind('click.'+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false;event.stopImmediatePropagation();return false;}});if($.browser.msie){this._mouseUnselectable=this.element.attr('unselectable');this.element.attr('unselectable','on');}
this.started=false;},_mouseDestroy:function(){this.element.unbind('.'+this.widgetName);($.browser.msie&&this.element.attr('unselectable',this._mouseUnselectable));},_mouseDown:function(event){event.originalEvent=event.originalEvent||{};if(event.originalEvent.mouseHandled){return;}
(this._mouseStarted&&this._mouseUp(event));this._mouseDownEvent=event;var self=this,btnIsLeft=(event.which==1),elIsCancel=(typeof this.options.cancel=="string"?$(event.target).parents().add(event.target).filter(this.options.cancel).length:false);if(!btnIsLeft||elIsCancel||!this._mouseCapture(event)){return true;}
this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){self.mouseDelayMet=true;},this.options.delay);}
if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(event)!==false);if(!this._mouseStarted){event.preventDefault();return true;}}
this._mouseMoveDelegate=function(event){return self._mouseMove(event);};this._mouseUpDelegate=function(event){return self._mouseUp(event);};$(document).bind('mousemove.'+this.widgetName,this._mouseMoveDelegate).bind('mouseup.'+this.widgetName,this._mouseUpDelegate);($.browser.safari||event.preventDefault());event.originalEvent.mouseHandled=true;return true;},_mouseMove:function(event){if($.browser.msie&&!event.button){return this._mouseUp(event);}
if(this._mouseStarted){this._mouseDrag(event);return event.preventDefault();}
if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,event)!==false);(this._mouseStarted?this._mouseDrag(event):this._mouseUp(event));}
return!this._mouseStarted;},_mouseUp:function(event){$(document).unbind('mousemove.'+this.widgetName,this._mouseMoveDelegate).unbind('mouseup.'+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(event.target==this._mouseDownEvent.target);this._mouseStop(event);}
return false;},_mouseDistanceMet:function(event){return(Math.max(Math.abs(this._mouseDownEvent.pageX-event.pageX),Math.abs(this._mouseDownEvent.pageY-event.pageY))>=this.options.distance);},_mouseDelayMet:function(event){return this.mouseDelayMet;},_mouseStart:function(event){},_mouseDrag:function(event){},_mouseStop:function(event){},_mouseCapture:function(event){return true;}};$.ui.mouse.defaults={cancel:null,distance:1,delay:0};})(jQuery);(function($){$.alerts={verticalOffset:-75,horizontalOffset:0,repositionOnResize:true,overlayOpacity:.01,overlayColor:'#FFF',draggable:true,okButton:'&nbsp;OK&nbsp;',cancelButton:'&nbsp;Cancel&nbsp;',dialogClass:null,alert:function(message,title,callback){if(title==null)title='Alert';$.alerts._show(title,message,null,'alert',function(result){if(callback)callback(result);});},confirm:function(message,title,callback){if(title==null)title='Confirm';$.alerts._show(title,message,null,'confirm',function(result){if(callback)callback(result);});},prompt:function(message,value,title,callback){if(title==null)title='Prompt';$.alerts._show(title,message,value,'prompt',function(result){if(callback)callback(result);});},_show:function(title,msg,value,type,callback){$.alerts._hide();$.alerts._overlay('show');$("BODY").append('<div id="popup_container">'+'<h1 id="popup_title"></h1>'+'<div id="popup_content">'+'<div id="popup_message"></div>'+'</div>'+'</div>');if($.alerts.dialogClass)$("#popup_container").addClass($.alerts.dialogClass);var pos=($.browser.msie&&parseInt($.browser.version)<=6)?'absolute':'fixed';$("#popup_container").css({position:pos,zIndex:99999,padding:0,margin:0});$("#popup_title").text(title);$("#popup_content").addClass(type);$("#popup_message").text(msg);$("#popup_message").html($("#popup_message").text().replace(/\n/g,'<br />'));$("#popup_container").css({minWidth:$("#popup_container").outerWidth(),maxWidth:$("#popup_container").outerWidth()});$.alerts._reposition();$.alerts._maintainPosition(true);switch(type){case'alert':$("#popup_message").after('<div id="popup_panel"><div class="buttonWrapper small"><div class="button"><input type="button" value="'+$.alerts.okButton+'" id="popup_ok" /></div><div class="righter"></div></div></div>');$("#popup_ok").click(function(){$.alerts._hide();callback(true);});$("#popup_ok").focus().keypress(function(e){if(e.keyCode==13||e.keyCode==27)$("#popup_ok").trigger('click');});break;case'confirm':$("#popup_message").after('<div id="popup_panel"><div class="buttonWrapper small"><div class="button"><input type="button" value="'+$.alerts.okButton+'" id="popup_ok" /></div><div class="righter"></div></div><div class="buttonWrapper small cancel"><div class="button"><input type="button" value="'+$.alerts.cancelButton+'" id="popup_cancel" /></div><div class="righter"></div></div>');$("#popup_ok").click(function(){$.alerts._hide();if(callback)callback(true);});$("#popup_cancel").click(function(){$.alerts._hide();if(callback)callback(false);});$("#popup_ok").focus();$("#popup_ok, #popup_cancel").keypress(function(e){if(e.keyCode==13)$("#popup_ok").trigger('click');if(e.keyCode==27)$("#popup_cancel").trigger('click');});break;case'prompt':$("#popup_message").append('<br /><input type="text" size="30" id="popup_prompt" />').after('<div id="popup_panel"><input type="button" value="'+$.alerts.okButton+'" id="popup_ok" /> <input type="button" value="'+$.alerts.cancelButton+'" id="popup_cancel" /></div>');$("#popup_prompt").width($("#popup_message").width());$("#popup_ok").click(function(){var val=$("#popup_prompt").val();$.alerts._hide();if(callback)callback(val);});$("#popup_cancel").click(function(){$.alerts._hide();if(callback)callback(null);});$("#popup_prompt, #popup_ok, #popup_cancel").keypress(function(e){if(e.keyCode==13)$("#popup_ok").trigger('click');if(e.keyCode==27)$("#popup_cancel").trigger('click');});if(value)$("#popup_prompt").val(value);$("#popup_prompt").focus().select();break;}
if($.alerts.draggable){try{$("#popup_container").draggable({handle:$("#popup_title")});$("#popup_title").css({cursor:'move'});}catch(e){}}},_hide:function(){$("#popup_container").remove();$.alerts._overlay('hide');$.alerts._maintainPosition(false);},_overlay:function(status){switch(status){case'show':$.alerts._overlay('hide');$("BODY").append('<div id="popup_overlay"></div>');$("#popup_overlay").css({position:'absolute',zIndex:99998,top:'0px',left:'0px',width:'100%',height:$(document).height(),background:$.alerts.overlayColor,opacity:$.alerts.overlayOpacity});break;case'hide':$("#popup_overlay").remove();break;}},_reposition:function(){var top=(($(window).height()/2)-($("#popup_container").outerHeight()/2))+$.alerts.verticalOffset;var left=(($(window).width()/2)-($("#popup_container").outerWidth()/2))+$.alerts.horizontalOffset;if(top<0)top=0;if(left<0)left=0;if($.browser.msie&&parseInt($.browser.version)<=6)top=top+$(window).scrollTop();$("#popup_container").css({top:top+'px',left:left+'px'});$("#popup_overlay").height($(document).height());},_maintainPosition:function(status){if($.alerts.repositionOnResize){switch(status){case true:$(window).bind('resize',function(){$.alerts._reposition();});break;case false:$(window).unbind('resize');break;}}}}
jAlert=function(message,title,callback){$.alerts.alert(message,title,callback);}
jConfirm=function(message,title,callback){$.alerts.confirm(message,title,callback);};jPrompt=function(message,value,title,callback){$.alerts.prompt(message,value,title,callback);};})(jQuery);;(function($){$.ui=$.ui||{};$.fn.extend({accordion:function(options,data){var args=Array.prototype.slice.call(arguments,1);return this.each(function(){if(typeof options=="string"){var accordion=$.data(this,"ui-accordion");accordion[options].apply(accordion,args);}else if(!$(this).is(".ui-accordion"))
$.data(this,"ui-accordion",new $.ui.accordion(this,options));});},activate:function(index){return this.accordion("activate",index);}});$.ui.accordion=function(container,options){this.options=options=$.extend({},$.ui.accordion.defaults,options);this.element=container;$(container).addClass("ui-accordion");if(options.navigation){var current=$(container).find("a").filter(options.navigationFilter);if(current.length){if(current.filter(options.header).length){options.active=current;}else{options.active=current.parent().parent().prev();current.addClass("current");}}}
options.headers=$(container).find(options.header);options.active=findActive(options.headers,options.active);if(options.fillSpace){var maxHeight=$(container).parent().height();options.headers.each(function(){maxHeight-=$(this).outerHeight();});var maxPadding=0;options.headers.next().each(function(){maxPadding=Math.max(maxPadding,$(this).innerHeight()-$(this).height());}).height(maxHeight-maxPadding);}else if(options.autoheight){var maxHeight=0;options.headers.next().each(function(){maxHeight=Math.max(maxHeight,$(this).outerHeight());}).height(maxHeight);}
options.headers.not(options.active||"").next().hide();options.active.parent().andSelf().addClass(options.selectedClass);if(options.event)
$(container).bind((options.event)+".ui-accordion",clickHandler);};$.ui.accordion.prototype={activate:function(index){clickHandler.call(this.element,{target:findActive(this.options.headers,index)[0]});},enable:function(){this.options.disabled=false;},disable:function(){this.options.disabled=true;},destroy:function(){this.options.headers.next().css("display","");if(this.options.fillSpace||this.options.autoheight){this.options.headers.next().css("height","");}
$.removeData(this.element,"ui-accordion");$(this.element).removeClass("ui-accordion").unbind(".ui-accordion");}}
function scopeCallback(callback,scope){return function(){return callback.apply(scope,arguments);};}
function completed(cancel){if(!$.data(this,"ui-accordion"))
return;var instance=$.data(this,"ui-accordion");var options=instance.options;options.running=cancel?0:--options.running;if(options.running)
return;if(options.clearStyle){options.toShow.add(options.toHide).css({height:"",overflow:""});}
$(this).triggerHandler("change.ui-accordion",[options.data],options.change);}
function toggle(toShow,toHide,data,clickedActive,down){var options=$.data(this,"ui-accordion").options;options.toShow=toShow;options.toHide=toHide;options.data=data;var complete=scopeCallback(completed,this);options.running=toHide.size()==0?toShow.size():toHide.size();if(options.animated){if(!options.alwaysOpen&&clickedActive){$.ui.accordion.animations[options.animated]({toShow:jQuery([]),toHide:toHide,complete:complete,down:down,autoheight:options.autoheight});}else{$.ui.accordion.animations[options.animated]({toShow:toShow,toHide:toHide,complete:complete,down:down,autoheight:options.autoheight});}}else{if(!options.alwaysOpen&&clickedActive){toShow.toggle();}else{toHide.hide();toShow.show();}
complete(true);}}
function clickHandler(event){var options=$.data(this,"ui-accordion").options;if(options.disabled)
return false;if(!event.target&&!options.alwaysOpen){options.active.parent().andSelf().toggleClass(options.selectedClass);var toHide=options.active.next(),data={instance:this,options:options,newHeader:jQuery([]),oldHeader:options.active,newContent:jQuery([]),oldContent:toHide},toShow=options.active=$([]);toggle.call(this,toShow,toHide,data);return false;}
var clicked=$(event.target);if(clicked.parents(options.header).length)
while(!clicked.is(options.header))
clicked=clicked.parent();var clickedActive=clicked[0]==options.active[0];if(options.running||(options.alwaysOpen&&clickedActive))
return false;if(!clicked.is(options.header))
return;options.active.parent().andSelf().toggleClass(options.selectedClass);if(!clickedActive){clicked.parent().andSelf().addClass(options.selectedClass);}
var toShow=clicked.next(),toHide=options.active.next(),data={instance:this,options:options,newHeader:clicked,oldHeader:options.active,newContent:toShow,oldContent:toHide},down=options.headers.index(options.active[0])>options.headers.index(clicked[0]);options.active=clickedActive?$([]):clicked;toggle.call(this,toShow,toHide,data,clickedActive,down);return false;};function findActive(headers,selector){return selector!=undefined?typeof selector=="number"?headers.filter(":eq("+selector+")"):headers.not(headers.not(selector)):selector===false?$([]):headers.filter(":eq(0)");}
$.extend($.ui.accordion,{defaults:{selectedClass:"selected",alwaysOpen:true,animated:'slide',event:"click",header:"a",autoheight:true,running:0,navigationFilter:function(){return this.href.toLowerCase()==location.href.toLowerCase();}},animations:{slide:function(options,additions){options=$.extend({easing:"swing",duration:300},options,additions);if(!options.toHide.size()){options.toShow.animate({height:"show"},options);return;}
var hideHeight=options.toHide.height(),showHeight=options.toShow.height(),difference=showHeight/hideHeight;options.toShow.css({height:0,overflow:'hidden'}).show();options.toHide.filter(":hidden").each(options.complete).end().filter(":visible").animate({height:"hide"},{step:function(now){var current=(hideHeight-now)*difference;if($.browser.msie||$.browser.opera){current=Math.ceil(current);}
options.toShow.height(current);},duration:options.duration,easing:options.easing,complete:function(){if(!options.autoheight){options.toShow.css("height","auto");}
options.complete();}});},bounceslide:function(options){this.slide(options,{easing:options.down?"bounceout":"swing",duration:options.down?1000:200});},easeslide:function(options){this.slide(options,{easing:"easeinout",duration:700})}}});})(jQuery);﻿
(function($){$.extend($.ui,{datepicker:{version:"1.7.2"}});var PROP_NAME='datepicker';function Datepicker(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._datepickerShowing=false;this._inDialog=false;this._mainDivId='ui-datepicker-div';this._inlineClass='ui-datepicker-inline';this._appendClass='ui-datepicker-append';this._triggerClass='ui-datepicker-trigger';this._dialogClass='ui-datepicker-dialog';this._disableClass='ui-datepicker-disabled';this._unselectableClass='ui-datepicker-unselectable';this._currentClass='ui-datepicker-current-day';this._dayOverClass='ui-datepicker-days-cell-over';this.regional=[];this.regional['']={closeText:'Done',prevText:'Prev',nextText:'Next',currentText:'Today',monthNames:['January','February','March','April','May','June','July','August','September','October','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],dayNames:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],dayNamesShort:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],dayNamesMin:['Su','Mo','Tu','We','Th','Fr','Sa'],dateFormat:'mm/dd/yy',firstDay:1,isRTL:false};this._defaults={showOn:'focus',showAnim:'show',showOptions:{},defaultDate:null,appendText:'',buttonText:'...',buttonImage:'',buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,showMonthAfterYear:false,yearRange:'-10:+10',showOtherMonths:false,calculateWeek:this.iso8601Week,shortYearCutoff:'+10',minDate:null,maxDate:null,duration:'normal',beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:'',altFormat:'',constrainInput:true,showButtonPanel:false};$.extend(this._defaults,this.regional['']);this.dpDiv=$('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible"></div>');}
$.extend(Datepicker.prototype,{markerClassName:'hasDatepicker',log:function(){if(this.debug)
console.log.apply('',arguments);},setDefaults:function(settings){extendRemove(this._defaults,settings||{});return this;},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute('date:'+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue);}catch(err){inlineSettings[attrName]=attrValue;}}}
var nodeName=target.nodeName.toLowerCase();var inline=(nodeName=='div'||nodeName=='span');if(!target.id)
target.id='dp'+(++this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{});if(nodeName=='input'){this._connectDatepicker(target,inst);}else if(inline){this._inlineDatepicker(target,inst);}},_newInst:function(target,inline){var id=target[0].id.replace(/([:\[\]\.])/g,'\\\\$1');return{id:id,input:target,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:inline,dpDiv:(!inline?this.dpDiv:$('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))};},_connectDatepicker:function(target,inst){var input=$(target);inst.append=$([]);inst.trigger=$([]);if(input.hasClass(this.markerClassName))
return;var appendText=this._get(inst,'appendText');var isRTL=this._get(inst,'isRTL');if(appendText){inst.append=$('<span class="'+this._appendClass+'">'+appendText+'</span>');input[isRTL?'before':'after'](inst.append);}
var showOn=this._get(inst,'showOn');if(showOn=='focus'||showOn=='both')
input.focus(this._showDatepicker);if(showOn=='button'||showOn=='both'){var buttonText=this._get(inst,'buttonText');var buttonImage=this._get(inst,'buttonImage');inst.trigger=$(this._get(inst,'buttonImageOnly')?$('<img/>').addClass(this._triggerClass).attr({src:buttonImage,alt:buttonText,title:buttonText}):$('<button type="button"></button>').addClass(this._triggerClass).html(buttonImage==''?buttonText:$('<img/>').attr({src:buttonImage,alt:buttonText,title:buttonText})));input[isRTL?'before':'after'](inst.trigger);inst.trigger.click(function(){if($.datepicker._datepickerShowing&&$.datepicker._lastInput==target)
$.datepicker._hideDatepicker();else
$.datepicker._showDatepicker(target);return false;});}
input.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value;}).bind("getData.datepicker",function(event,key){return this._get(inst,key);});$.data(target,PROP_NAME,inst);},_inlineDatepicker:function(target,inst){var divSpan=$(target);if(divSpan.hasClass(this.markerClassName))
return;divSpan.addClass(this.markerClassName).append(inst.dpDiv).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value;}).bind("getData.datepicker",function(event,key){return this._get(inst,key);});$.data(target,PROP_NAME,inst);this._setDate(inst,this._getDefaultDate(inst));this._updateDatepicker(inst);this._updateAlternate(inst);},_dialogDatepicker:function(input,dateText,onSelect,settings,pos){var inst=this._dialogInst;if(!inst){var id='dp'+(++this.uuid);this._dialogInput=$('<input type="text" id="'+id+'" size="1" style="position: absolute; top: -100px;"/>');this._dialogInput.keydown(this._doKeyDown);$('body').append(this._dialogInput);inst=this._dialogInst=this._newInst(this._dialogInput,false);inst.settings={};$.data(this._dialogInput[0],PROP_NAME,inst);}
extendRemove(inst.settings,settings||{});this._dialogInput.val(dateText);this._pos=(pos?(pos.length?pos:[pos.pageX,pos.pageY]):null);if(!this._pos){var browserWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;var browserHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;var scrollX=document.documentElement.scrollLeft||document.body.scrollLeft;var scrollY=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[(browserWidth/2)-100+scrollX,(browserHeight/2)-150+scrollY];}
this._dialogInput.css('left',this._pos[0]+'px').css('top',this._pos[1]+'px');inst.settings.onSelect=onSelect;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);if($.blockUI)
$.blockUI(this.dpDiv);$.data(this._dialogInput[0],PROP_NAME,inst);return this;},_destroyDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return;}
var nodeName=target.nodeName.toLowerCase();$.removeData(target,PROP_NAME);if(nodeName=='input'){inst.append.remove();inst.trigger.remove();$target.removeClass(this.markerClassName).unbind('focus',this._showDatepicker).unbind('keydown',this._doKeyDown).unbind('keypress',this._doKeyPress);}else if(nodeName=='div'||nodeName=='span')
$target.removeClass(this.markerClassName).empty();},_enableDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return;}
var nodeName=target.nodeName.toLowerCase();if(nodeName=='input'){target.disabled=false;inst.trigger.filter('button').each(function(){this.disabled=false;}).end().filter('img').css({opacity:'1.0',cursor:''});}
else if(nodeName=='div'||nodeName=='span'){var inline=$target.children('.'+this._inlineClass);inline.children().removeClass('ui-state-disabled');}
this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value);});},_disableDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return;}
var nodeName=target.nodeName.toLowerCase();if(nodeName=='input'){target.disabled=true;inst.trigger.filter('button').each(function(){this.disabled=true;}).end().filter('img').css({opacity:'0.5',cursor:'default'});}
else if(nodeName=='div'||nodeName=='span'){var inline=$target.children('.'+this._inlineClass);inline.children().addClass('ui-state-disabled');}
this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value);});this._disabledInputs[this._disabledInputs.length]=target;},_isDisabledDatepicker:function(target){if(!target){return false;}
for(var i=0;i<this._disabledInputs.length;i++){if(this._disabledInputs[i]==target)
return true;}
return false;},_getInst:function(target){try{return $.data(target,PROP_NAME);}
catch(err){throw'Missing instance data for this datepicker';}},_optionDatepicker:function(target,name,value){var inst=this._getInst(target);if(arguments.length==2&&typeof name=='string'){return(name=='defaults'?$.extend({},$.datepicker._defaults):(inst?(name=='all'?$.extend({},inst.settings):this._get(inst,name)):null));}
var settings=name||{};if(typeof name=='string'){settings={};settings[name]=value;}
if(inst){if(this._curInst==inst){this._hideDatepicker(null);}
var date=this._getDateDatepicker(target);extendRemove(inst.settings,settings);this._setDateDatepicker(target,date);this._updateDatepicker(inst);}},_changeDatepicker:function(target,name,value){this._optionDatepicker(target,name,value);},_refreshDatepicker:function(target){var inst=this._getInst(target);if(inst){this._updateDatepicker(inst);}},_setDateDatepicker:function(target,date,endDate){var inst=this._getInst(target);if(inst){this._setDate(inst,date,endDate);this._updateDatepicker(inst);this._updateAlternate(inst);}},_getDateDatepicker:function(target){var inst=this._getInst(target);if(inst&&!inst.inline)
this._setDateFromField(inst);return(inst?this._getDate(inst):null);},_doKeyDown:function(event){var inst=$.datepicker._getInst(event.target);var handled=true;var isRTL=inst.dpDiv.is('.ui-datepicker-rtl');inst._keyEvent=true;if($.datepicker._datepickerShowing)
switch(event.keyCode){case 9:$.datepicker._hideDatepicker(null,'');break;case 13:var sel=$('td.'+$.datepicker._dayOverClass+', td.'+$.datepicker._currentClass,inst.dpDiv);if(sel[0])
$.datepicker._selectDay(event.target,inst.selectedMonth,inst.selectedYear,sel[0]);else
$.datepicker._hideDatepicker(null,$.datepicker._get(inst,'duration'));return false;break;case 27:$.datepicker._hideDatepicker(null,$.datepicker._get(inst,'duration'));break;case 33:$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,'stepBigMonths'):-$.datepicker._get(inst,'stepMonths')),'M');break;case 34:$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,'stepBigMonths'):+$.datepicker._get(inst,'stepMonths')),'M');break;case 35:if(event.ctrlKey||event.metaKey)$.datepicker._clearDate(event.target);handled=event.ctrlKey||event.metaKey;break;case 36:if(event.ctrlKey||event.metaKey)$.datepicker._gotoToday(event.target);handled=event.ctrlKey||event.metaKey;break;case 37:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,(isRTL?+1:-1),'D');handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey)$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,'stepBigMonths'):-$.datepicker._get(inst,'stepMonths')),'M');break;case 38:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,-7,'D');handled=event.ctrlKey||event.metaKey;break;case 39:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,(isRTL?-1:+1),'D');handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey)$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,'stepBigMonths'):+$.datepicker._get(inst,'stepMonths')),'M');break;case 40:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,+7,'D');handled=event.ctrlKey||event.metaKey;break;default:handled=false;}
else if(event.keyCode==36&&event.ctrlKey)
$.datepicker._showDatepicker(this);else{handled=false;}
if(handled){event.preventDefault();event.stopPropagation();}},_doKeyPress:function(event){var inst=$.datepicker._getInst(event.target);if($.datepicker._get(inst,'constrainInput')){var chars=$.datepicker._possibleChars($.datepicker._get(inst,'dateFormat'));var chr=String.fromCharCode(event.charCode==undefined?event.keyCode:event.charCode);return event.ctrlKey||(chr<' '||!chars||chars.indexOf(chr)>-1);}},_showDatepicker:function(input){input=input.target||input;if(input.nodeName.toLowerCase()!='input')
input=$('input',input.parentNode)[0];if($.datepicker._isDisabledDatepicker(input)||$.datepicker._lastInput==input)
return;var inst=$.datepicker._getInst(input);var beforeShow=$.datepicker._get(inst,'beforeShow');extendRemove(inst.settings,(beforeShow?beforeShow.apply(input,[input,inst]):{}));$.datepicker._hideDatepicker(null,'');$.datepicker._lastInput=input;$.datepicker._setDateFromField(inst);if($.datepicker._inDialog)
input.value='';if(!$.datepicker._pos){$.datepicker._pos=$.datepicker._findPos(input);$.datepicker._pos[1]+=input.offsetHeight;}
var isFixed=false;$(input).parents().each(function(){isFixed|=$(this).css('position')=='fixed';return!isFixed;});if(isFixed&&$.browser.opera){$.datepicker._pos[0]-=document.documentElement.scrollLeft;$.datepicker._pos[1]-=document.documentElement.scrollTop;}
var offset={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null;inst.rangeStart=null;inst.dpDiv.css({position:'absolute',display:'block',top:'-1000px'});$.datepicker._updateDatepicker(inst);offset=$.datepicker._checkOffset(inst,offset,isFixed);inst.dpDiv.css({position:($.datepicker._inDialog&&$.blockUI?'static':(isFixed?'fixed':'absolute')),display:'none',left:offset.left+'px',top:offset.top+'px'});if(!inst.inline){var showAnim=$.datepicker._get(inst,'showAnim')||'show';var duration=$.datepicker._get(inst,'duration');var postProcess=function(){$.datepicker._datepickerShowing=true;if($.browser.msie&&parseInt($.browser.version,10)<7)
$('iframe.ui-datepicker-cover').css({width:inst.dpDiv.width()+4,height:inst.dpDiv.height()+4});};if($.effects&&$.effects[showAnim])
inst.dpDiv.show(showAnim,$.datepicker._get(inst,'showOptions'),duration,postProcess);else
inst.dpDiv[showAnim](duration,postProcess);if(duration=='')
postProcess();if(inst.input[0].type!='hidden')
inst.input[0].focus();$.datepicker._curInst=inst;}},_updateDatepicker:function(inst){var dims={width:inst.dpDiv.width()+4,height:inst.dpDiv.height()+4};var self=this;inst.dpDiv.empty().append(this._generateHTML(inst)).find('iframe.ui-datepicker-cover').css({width:dims.width,height:dims.height}).end().find('button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a').bind('mouseout',function(){$(this).removeClass('ui-state-hover');if(this.className.indexOf('ui-datepicker-prev')!=-1)$(this).removeClass('ui-datepicker-prev-hover');if(this.className.indexOf('ui-datepicker-next')!=-1)$(this).removeClass('ui-datepicker-next-hover');}).bind('mouseover',function(){if(!self._isDisabledDatepicker(inst.inline?inst.dpDiv.parent()[0]:inst.input[0])){$(this).parents('.ui-datepicker-calendar').find('a').removeClass('ui-state-hover');$(this).addClass('ui-state-hover');if(this.className.indexOf('ui-datepicker-prev')!=-1)$(this).addClass('ui-datepicker-prev-hover');if(this.className.indexOf('ui-datepicker-next')!=-1)$(this).addClass('ui-datepicker-next-hover');}}).end().find('.'+this._dayOverClass+' a').trigger('mouseover').end();var numMonths=this._getNumberOfMonths(inst);var cols=numMonths[1];var width=17;if(cols>1){inst.dpDiv.addClass('ui-datepicker-multi-'+cols).css('width',(width*cols)+'em');}else{inst.dpDiv.removeClass('ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4').width('');}
inst.dpDiv[(numMonths[0]!=1||numMonths[1]!=1?'add':'remove')+'Class']('ui-datepicker-multi');inst.dpDiv[(this._get(inst,'isRTL')?'add':'remove')+'Class']('ui-datepicker-rtl');if(inst.input&&inst.input[0].type!='hidden'&&inst==$.datepicker._curInst)
$(inst.input[0]).focus();},_checkOffset:function(inst,offset,isFixed){var dpWidth=inst.dpDiv.outerWidth();var dpHeight=inst.dpDiv.outerHeight();var inputWidth=inst.input?inst.input.outerWidth():0;var inputHeight=inst.input?inst.input.outerHeight():0;var viewWidth=(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)+$(document).scrollLeft();var viewHeight=(window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)+$(document).scrollTop();offset.left-=(this._get(inst,'isRTL')?(dpWidth-inputWidth):0);offset.left-=(isFixed&&offset.left==inst.input.offset().left)?$(document).scrollLeft():0;offset.top-=(isFixed&&offset.top==(inst.input.offset().top+inputHeight))?$(document).scrollTop():0;offset.left-=(offset.left+dpWidth>viewWidth&&viewWidth>dpWidth)?Math.abs(offset.left+dpWidth-viewWidth):0;offset.top-=(offset.top+dpHeight>viewHeight&&viewHeight>dpHeight)?Math.abs(offset.top+dpHeight+inputHeight*2-viewHeight):0;return offset;},_findPos:function(obj){while(obj&&(obj.type=='hidden'||obj.nodeType!=1)){obj=obj.nextSibling;}
var position=$(obj).offset();return[position.left,position.top];},_hideDatepicker:function(input,duration){var inst=this._curInst;if(!inst||(input&&inst!=$.data(input,PROP_NAME)))
return;if(inst.stayOpen)
this._selectDate('#'+inst.id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear));inst.stayOpen=false;if(this._datepickerShowing){duration=(duration!=null?duration:this._get(inst,'duration'));var showAnim=this._get(inst,'showAnim');var postProcess=function(){$.datepicker._tidyDialog(inst);};if(duration!=''&&$.effects&&$.effects[showAnim])
inst.dpDiv.hide(showAnim,$.datepicker._get(inst,'showOptions'),duration,postProcess);else
inst.dpDiv[(duration==''?'hide':(showAnim=='slideDown'?'slideUp':(showAnim=='fadeIn'?'fadeOut':'hide')))](duration,postProcess);if(duration=='')
this._tidyDialog(inst);var onClose=this._get(inst,'onClose');if(onClose)
onClose.apply((inst.input?inst.input[0]:null),[(inst.input?inst.input.val():''),inst]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:'absolute',left:'0',top:'-100px'});if($.blockUI){$.unblockUI();$('body').append(this.dpDiv);}}
this._inDialog=false;}
this._curInst=null;},_tidyDialog:function(inst){inst.dpDiv.removeClass(this._dialogClass).unbind('.ui-datepicker-calendar');},_checkExternalClick:function(event){if(!$.datepicker._curInst)
return;var $target=$(event.target);if(($target.parents('#'+$.datepicker._mainDivId).length==0)&&!$target.hasClass($.datepicker.markerClassName)&&!$target.hasClass($.datepicker._triggerClass)&&$.datepicker._datepickerShowing&&!($.datepicker._inDialog&&$.blockUI))
$.datepicker._hideDatepicker(null,'');},_adjustDate:function(id,offset,period){var target=$(id);var inst=this._getInst(target[0]);if(this._isDisabledDatepicker(target[0])){return;}
this._adjustInstDate(inst,offset+
(period=='M'?this._get(inst,'showCurrentAtPos'):0),period);this._updateDatepicker(inst);},_gotoToday:function(id){var target=$(id);var inst=this._getInst(target[0]);if(this._get(inst,'gotoCurrent')&&inst.currentDay){inst.selectedDay=inst.currentDay;inst.drawMonth=inst.selectedMonth=inst.currentMonth;inst.drawYear=inst.selectedYear=inst.currentYear;}
else{var date=new Date();inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();}
this._notifyChange(inst);this._adjustDate(target);},_selectMonthYear:function(id,select,period){var target=$(id);var inst=this._getInst(target[0]);inst._selectingMonthYear=false;inst['selected'+(period=='M'?'Month':'Year')]=inst['draw'+(period=='M'?'Month':'Year')]=parseInt(select.options[select.selectedIndex].value,10);this._notifyChange(inst);this._adjustDate(target);},_clickMonthYear:function(id){var target=$(id);var inst=this._getInst(target[0]);if(inst.input&&inst._selectingMonthYear&&!$.browser.msie)
inst.input[0].focus();inst._selectingMonthYear=!inst._selectingMonthYear;},_selectDay:function(id,month,year,td){var target=$(id);if($(td).hasClass(this._unselectableClass)||this._isDisabledDatepicker(target[0])){return;}
var inst=this._getInst(target[0]);inst.selectedDay=inst.currentDay=$('a',td).html();inst.selectedMonth=inst.currentMonth=month;inst.selectedYear=inst.currentYear=year;if(inst.stayOpen){inst.endDay=inst.endMonth=inst.endYear=null;}
this._selectDate(id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear));if(inst.stayOpen){inst.rangeStart=this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay));this._updateDatepicker(inst);}
var input=$(id);if(!$.browser.msie){input.change();}
else if(typeof(FireIeDateValidation)!='undefined'){FireIeDateValidation();}},_clearDate:function(id){var target=$(id);var inst=this._getInst(target[0]);inst.stayOpen=false;inst.endDay=inst.endMonth=inst.endYear=inst.rangeStart=null;this._selectDate(target,'');},_selectDate:function(id,dateStr){var target=$(id);var inst=this._getInst(target[0]);dateStr=(dateStr!=null?dateStr:this._formatDate(inst));if(inst.input)
inst.input.val(dateStr);this._updateAlternate(inst);var onSelect=this._get(inst,'onSelect');if(onSelect)
onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst]);else if(inst.input)
inst.input.trigger('change');if(inst.inline)
this._updateDatepicker(inst);else if(!inst.stayOpen){this._hideDatepicker(null,this._get(inst,'duration'));this._lastInput=inst.input[0];if(typeof(inst.input[0])!='object')
inst.input[0].focus();this._lastInput=null;}},_updateAlternate:function(inst){var altField=this._get(inst,'altField');if(altField){var altFormat=this._get(inst,'altFormat')||this._get(inst,'dateFormat');var date=this._getDate(inst);dateStr=this.formatDate(altFormat,date,this._getFormatConfig(inst));$(altField).each(function(){$(this).val(dateStr);});}},noWeekends:function(date){var day=date.getDay();return[(day>0&&day<6),''];},iso8601Week:function(date){var checkDate=new Date(date.getFullYear(),date.getMonth(),date.getDate());var firstMon=new Date(checkDate.getFullYear(),1-1,4);var firstDay=firstMon.getDay()||7;firstMon.setDate(firstMon.getDate()+1-firstDay);if(firstDay<4&&checkDate<firstMon){checkDate.setDate(checkDate.getDate()-3);return $.datepicker.iso8601Week(checkDate);}else if(checkDate>new Date(checkDate.getFullYear(),12-1,28)){firstDay=new Date(checkDate.getFullYear()+1,1-1,4).getDay()||7;if(firstDay>4&&(checkDate.getDay()||7)<firstDay-3){return 1;}}
return Math.floor(((checkDate-firstMon)/86400000)/7)+1;},parseDate:function(format,value,settings){if(format==null||value==null)
throw'Invalid arguments';value=(typeof value=='object'?value.toString():value+'');if(value=='')
return null;var shortYearCutoff=(settings?settings.shortYearCutoff:null)||this._defaults.shortYearCutoff;var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var year=-1;var month=-1;var day=-1;var doy=-1;var literal=false;var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);if(matches)
iFormat++;return matches;};var getNumber=function(match){lookAhead(match);var origSize=(match=='@'?14:(match=='y'?4:(match=='o'?3:2)));var size=origSize;var num=0;while(size>0&&iValue<value.length&&value.charAt(iValue)>='0'&&value.charAt(iValue)<='9'){num=num*10+parseInt(value.charAt(iValue++),10);size--;}
if(size==origSize)
throw'Missing number at position '+iValue;return num;};var getName=function(match,shortNames,longNames){var names=(lookAhead(match)?longNames:shortNames);var size=0;for(var j=0;j<names.length;j++)
size=Math.max(size,names[j].length);var name='';var iInit=iValue;while(size>0&&iValue<value.length){name+=value.charAt(iValue++);for(var i=0;i<names.length;i++)
if(name==names[i])
return i+1;size--;}
throw'Unknown name at position '+iInit;};var checkLiteral=function(){if(value.charAt(iValue)!=format.charAt(iFormat))
throw'Unexpected literal at position '+iValue;iValue++;};var iValue=0;for(var iFormat=0;iFormat<format.length;iFormat++){if(literal)
if(format.charAt(iFormat)=="'"&&!lookAhead("'"))
literal=false;else
checkLiteral();else
switch(format.charAt(iFormat)){case'd':day=getNumber('d');break;case'D':getName('D',dayNamesShort,dayNames);break;case'o':doy=getNumber('o');break;case'm':month=getNumber('m');break;case'M':month=getName('M',monthNamesShort,monthNames);break;case'y':year=getNumber('y');break;case'@':var date=new Date(getNumber('@'));year=date.getFullYear();month=date.getMonth()+1;day=date.getDate();break;case"'":if(lookAhead("'"))
checkLiteral();else
literal=true;break;default:checkLiteral();}}
if(year==-1)
year=new Date().getFullYear();else if(year<100)
year+=new Date().getFullYear()-new Date().getFullYear()%100+
(year<=shortYearCutoff?0:-100);if(doy>-1){month=1;day=doy;do{var dim=this._getDaysInMonth(year,month-1);if(day<=dim)
break;month++;day-=dim;}while(true);}
var date=this._daylightSavingAdjust(new Date(year,month-1,day));if(date.getFullYear()!=year||date.getMonth()+1!=month||date.getDate()!=day)
throw'Invalid date';return date;},ATOM:'yy-mm-dd',COOKIE:'D, dd M yy',ISO_8601:'yy-mm-dd',RFC_822:'D, d M y',RFC_850:'DD, dd-M-y',RFC_1036:'D, d M y',RFC_1123:'D, d M yy',RFC_2822:'D, d M yy',RSS:'D, d M y',TIMESTAMP:'@',W3C:'yy-mm-dd',formatDate:function(format,date,settings){if(!date)
return'';var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);if(matches)
iFormat++;return matches;};var formatNumber=function(match,value,len){var num=''+value;if(lookAhead(match))
while(num.length<len)
num='0'+num;return num;};var formatName=function(match,value,shortNames,longNames){return(lookAhead(match)?longNames[value]:shortNames[value]);};var output='';var literal=false;if(date)
for(var iFormat=0;iFormat<format.length;iFormat++){if(literal)
if(format.charAt(iFormat)=="'"&&!lookAhead("'"))
literal=false;else
output+=format.charAt(iFormat);else
switch(format.charAt(iFormat)){case'd':output+=formatNumber('d',date.getDate(),2);break;case'D':output+=formatName('D',date.getDay(),dayNamesShort,dayNames);break;case'o':var doy=date.getDate();for(var m=date.getMonth()-1;m>=0;m--)
doy+=this._getDaysInMonth(date.getFullYear(),m);output+=formatNumber('o',doy,3);break;case'm':output+=formatNumber('m',date.getMonth()+1,2);break;case'M':output+=formatName('M',date.getMonth(),monthNamesShort,monthNames);break;case'y':output+=(lookAhead('y')?date.getFullYear():(date.getYear()%100<10?'0':'')+date.getYear()%100);break;case'@':output+=date.getTime();break;case"'":if(lookAhead("'"))
output+="'";else
literal=true;break;default:output+=format.charAt(iFormat);}}
return output;},_possibleChars:function(format){var chars='';var literal=false;for(var iFormat=0;iFormat<format.length;iFormat++)
if(literal)
if(format.charAt(iFormat)=="'"&&!lookAhead("'"))
literal=false;else
chars+=format.charAt(iFormat);else
switch(format.charAt(iFormat)){case'd':case'm':case'y':case'@':chars+='0123456789';break;case'D':case'M':return null;case"'":if(lookAhead("'"))
chars+="'";else
literal=true;break;default:chars+=format.charAt(iFormat);}
return chars;},_get:function(inst,name){return inst.settings[name]!==undefined?inst.settings[name]:this._defaults[name];},_setDateFromField:function(inst){var dateFormat=this._get(inst,'dateFormat');var dates=inst.input?inst.input.val():null;inst.endDay=inst.endMonth=inst.endYear=null;var date=defaultDate=this._getDefaultDate(inst);var settings=this._getFormatConfig(inst);try{date=this.parseDate(dateFormat,dates,settings)||defaultDate;}catch(event){this.log(event);date=defaultDate;}
inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();inst.currentDay=(dates?date.getDate():0);inst.currentMonth=(dates?date.getMonth():0);inst.currentYear=(dates?date.getFullYear():0);this._adjustInstDate(inst);},_getDefaultDate:function(inst){var date=this._determineDate(this._get(inst,'defaultDate'),new Date());var minDate=this._getMinMaxDate(inst,'min',true);var maxDate=this._getMinMaxDate(inst,'max');date=(minDate&&date<minDate?minDate:date);date=(maxDate&&date>maxDate?maxDate:date);return date;},_determineDate:function(date,defaultDate){var offsetNumeric=function(offset){var date=new Date();date.setDate(date.getDate()+offset);return date;};var offsetString=function(offset,getDaysInMonth){var date=new Date();var year=date.getFullYear();var month=date.getMonth();var day=date.getDate();var pattern=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g;var matches=pattern.exec(offset);while(matches){switch(matches[2]||'d'){case'd':case'D':day+=parseInt(matches[1],10);break;case'w':case'W':day+=parseInt(matches[1],10)*7;break;case'm':case'M':month+=parseInt(matches[1],10);day=Math.min(day,getDaysInMonth(year,month));break;case'y':case'Y':year+=parseInt(matches[1],10);day=Math.min(day,getDaysInMonth(year,month));break;}
matches=pattern.exec(offset);}
return new Date(year,month,day);};date=(date==null?defaultDate:(typeof date=='string'?offsetString(date,this._getDaysInMonth):(typeof date=='number'?(isNaN(date)?defaultDate:offsetNumeric(date)):date)));date=(date&&date.toString()=='Invalid Date'?defaultDate:date);if(date){date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0);}
return this._daylightSavingAdjust(date);},_daylightSavingAdjust:function(date){if(!date)return null;date.setHours(date.getHours()>12?date.getHours()+2:0);return date;},_setDate:function(inst,date,endDate){var clear=!(date);var origMonth=inst.selectedMonth;var origYear=inst.selectedYear;date=this._determineDate(date,new Date());inst.selectedDay=inst.currentDay=date.getDate();inst.drawMonth=inst.selectedMonth=inst.currentMonth=date.getMonth();inst.drawYear=inst.selectedYear=inst.currentYear=date.getFullYear();if(origMonth!=inst.selectedMonth||origYear!=inst.selectedYear)
this._notifyChange(inst);this._adjustInstDate(inst);if(inst.input){inst.input.val(clear?'':this._formatDate(inst));}},_getDate:function(inst){var startDate=(!inst.currentYear||(inst.input&&inst.input.val()=='')?null:this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return startDate;},_generateHTML:function(inst){var today=new Date();today=this._daylightSavingAdjust(new Date(today.getFullYear(),today.getMonth(),today.getDate()));var isRTL=this._get(inst,'isRTL');var showButtonPanel=this._get(inst,'showButtonPanel');var hideIfNoPrevNext=this._get(inst,'hideIfNoPrevNext');var navigationAsDateFormat=this._get(inst,'navigationAsDateFormat');var numMonths=this._getNumberOfMonths(inst);var showCurrentAtPos=this._get(inst,'showCurrentAtPos');var stepMonths=this._get(inst,'stepMonths');var stepBigMonths=this._get(inst,'stepBigMonths');var isMultiMonth=(numMonths[0]!=1||numMonths[1]!=1);var currentDate=this._daylightSavingAdjust((!inst.currentDay?new Date(9999,9,9):new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));var minDate=this._getMinMaxDate(inst,'min',true);var maxDate=this._getMinMaxDate(inst,'max');var drawMonth=inst.drawMonth-showCurrentAtPos;var drawYear=inst.drawYear;if(drawMonth<0){drawMonth+=12;drawYear--;}
if(maxDate){var maxDraw=this._daylightSavingAdjust(new Date(maxDate.getFullYear(),maxDate.getMonth()-numMonths[1]+1,maxDate.getDate()));maxDraw=(minDate&&maxDraw<minDate?minDate:maxDraw);while(this._daylightSavingAdjust(new Date(drawYear,drawMonth,1))>maxDraw){drawMonth--;if(drawMonth<0){drawMonth=11;drawYear--;}}}
inst.drawMonth=drawMonth;inst.drawYear=drawYear;var prevText=this._get(inst,'prevText');prevText=(!navigationAsDateFormat?prevText:this.formatDate(prevText,this._daylightSavingAdjust(new Date(drawYear,drawMonth-stepMonths,1)),this._getFormatConfig(inst)));var prev=(this._canAdjustMonth(inst,-1,drawYear,drawMonth)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery.datepicker._adjustDate(\'#'+inst.id+'\', -'+stepMonths+', \'M\');"'+' title="'+prevText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'e':'w')+'">'+prevText+'</span></a>':(hideIfNoPrevNext?'':'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+prevText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'e':'w')+'">'+prevText+'</span></a>'));var nextText=this._get(inst,'nextText');nextText=(!navigationAsDateFormat?nextText:this.formatDate(nextText,this._daylightSavingAdjust(new Date(drawYear,drawMonth+stepMonths,1)),this._getFormatConfig(inst)));var next=(this._canAdjustMonth(inst,+1,drawYear,drawMonth)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery.datepicker._adjustDate(\'#'+inst.id+'\', +'+stepMonths+', \'M\');"'+' title="'+nextText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'w':'e')+'">'+nextText+'</span></a>':(hideIfNoPrevNext?'':'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+nextText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'w':'e')+'">'+nextText+'</span></a>'));var currentText=this._get(inst,'currentText');var gotoDate=(this._get(inst,'gotoCurrent')&&inst.currentDay?currentDate:today);currentText=(!navigationAsDateFormat?currentText:this.formatDate(currentText,gotoDate,this._getFormatConfig(inst)));var controls=(!inst.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery.datepicker._hideDatepicker();">'+this._get(inst,'closeText')+'</button>':'');var buttonPanel=(showButtonPanel)?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(isRTL?controls:'')+
(this._isInRange(inst,gotoDate)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery.datepicker._gotoToday(\'#'+inst.id+'\');"'+'>'+currentText+'</button>':'')+(isRTL?'':controls)+'</div>':'';var firstDay=parseInt(this._get(inst,'firstDay'),10);firstDay=(isNaN(firstDay)?0:firstDay);var dayNames=this._get(inst,'dayNames');var dayNamesShort=this._get(inst,'dayNamesShort');var dayNamesMin=this._get(inst,'dayNamesMin');var monthNames=this._get(inst,'monthNames');var monthNamesShort=this._get(inst,'monthNamesShort');var beforeShowDay=this._get(inst,'beforeShowDay');var showOtherMonths=this._get(inst,'showOtherMonths');var calculateWeek=this._get(inst,'calculateWeek')||this.iso8601Week;var endDate=inst.endDay?this._daylightSavingAdjust(new Date(inst.endYear,inst.endMonth,inst.endDay)):currentDate;var defaultDate=this._getDefaultDate(inst);var html='';for(var row=0;row<numMonths[0];row++){var group='';for(var col=0;col<numMonths[1];col++){var selectedDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,inst.selectedDay));var cornerClass=' ui-corner-all';var calender='';if(isMultiMonth){calender+='<div class="ui-datepicker-group ui-datepicker-group-';switch(col){case 0:calender+='first';cornerClass=' ui-corner-'+(isRTL?'right':'left');break;case numMonths[1]-1:calender+='last';cornerClass=' ui-corner-'+(isRTL?'left':'right');break;default:calender+='middle';cornerClass='';break;}
calender+='">';}
calender+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+cornerClass+'">'+
(/all|left/.test(cornerClass)&&row==0?(isRTL?next:prev):'')+
(/all|right/.test(cornerClass)&&row==0?(isRTL?prev:next):'')+
this._generateMonthYearHeader(inst,drawMonth,drawYear,minDate,maxDate,selectedDate,row>0||col>0,monthNames,monthNamesShort)+'</div><table class="ui-datepicker-calendar"><thead>'+'<tr>';var thead='';for(var dow=0;dow<7;dow++){var day=(dow+firstDay)%7;thead+='<th'+((dow+firstDay+6)%7>=5?' class="ui-datepicker-week-end"':'')+'>'+'<span title="'+dayNames[day]+'">'+dayNamesMin[day]+'</span></th>';}
calender+=thead+'</tr></thead><tbody>';var daysInMonth=this._getDaysInMonth(drawYear,drawMonth);if(drawYear==inst.selectedYear&&drawMonth==inst.selectedMonth)
inst.selectedDay=Math.min(inst.selectedDay,daysInMonth);var leadDays=(this._getFirstDayOfMonth(drawYear,drawMonth)-firstDay+7)%7;var numRows=(isMultiMonth?6:Math.ceil((leadDays+daysInMonth)/7));var printDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,1-leadDays));for(var dRow=0;dRow<numRows;dRow++){calender+='<tr>';var tbody='';for(var dow=0;dow<7;dow++){var daySettings=(beforeShowDay?beforeShowDay.apply((inst.input?inst.input[0]:null),[printDate]):[true,'']);var otherMonth=(printDate.getMonth()!=drawMonth);var unselectable=otherMonth||!daySettings[0]||(minDate&&printDate<minDate)||(maxDate&&printDate>maxDate);tbody+='<td class="'+
((dow+firstDay+6)%7>=5?' ui-datepicker-week-end':'')+
(otherMonth?' ui-datepicker-other-month':'')+
((printDate.getTime()==selectedDate.getTime()&&drawMonth==inst.selectedMonth&&inst._keyEvent)||(defaultDate.getTime()==printDate.getTime()&&defaultDate.getTime()==selectedDate.getTime())?' '+this._dayOverClass:'')+
(unselectable?' '+this._unselectableClass+' ui-state-disabled':'')+
(otherMonth&&!showOtherMonths?'':' '+daySettings[1]+
(printDate.getTime()>=currentDate.getTime()&&printDate.getTime()<=endDate.getTime()?' '+this._currentClass:'')+
(printDate.getTime()==today.getTime()?' ui-datepicker-today':''))+'"'+
((!otherMonth||showOtherMonths)&&daySettings[2]?' title="'+daySettings[2]+'"':'')+
(unselectable?'':' onclick="DP_jQuery.datepicker._selectDay(\'#'+
inst.id+'\','+drawMonth+','+drawYear+', this);return false;"')+'>'+
(otherMonth?(showOtherMonths?printDate.getDate():'&#xa0;'):(unselectable?'<span class="ui-state-default">'+printDate.getDate()+'</span>':'<a class="ui-state-default'+
(printDate.getTime()==today.getTime()?' ui-state-highlight':'')+
(printDate.getTime()>=currentDate.getTime()&&printDate.getTime()<=endDate.getTime()?' ui-state-active':'')+'" href="#">'+printDate.getDate()+'</a>'))+'</td>';printDate.setDate(printDate.getDate()+1);printDate=this._daylightSavingAdjust(printDate);}
calender+=tbody+'</tr>';}
drawMonth++;if(drawMonth>11){drawMonth=0;drawYear++;}
calender+='</tbody></table>'+(isMultiMonth?'</div>'+
((numMonths[0]>0&&col==numMonths[1]-1)?'<div class="ui-datepicker-row-break"></div>':''):'');group+=calender;}
html+=group;}
html+=buttonPanel+($.browser.msie&&parseInt($.browser.version,10)<7&&!inst.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':'');inst._keyEvent=false;return html;},_generateMonthYearHeader:function(inst,drawMonth,drawYear,minDate,maxDate,selectedDate,secondary,monthNames,monthNamesShort){minDate=(inst.rangeStart&&minDate&&selectedDate<minDate?selectedDate:minDate);var changeMonth=this._get(inst,'changeMonth');var changeYear=this._get(inst,'changeYear');var showMonthAfterYear=this._get(inst,'showMonthAfterYear');var html='<div class="ui-datepicker-title">';var monthHtml='';if(secondary||!changeMonth)
monthHtml+='<span class="ui-datepicker-month">'+monthNames[drawMonth]+'</span> ';else{var inMinYear=(minDate&&minDate.getFullYear()==drawYear);var inMaxYear=(maxDate&&maxDate.getFullYear()==drawYear);monthHtml+='<select class="ui-datepicker-month" '+'onchange="DP_jQuery.datepicker._selectMonthYear(\'#'+inst.id+'\', this, \'M\');" '+'onclick="DP_jQuery.datepicker._clickMonthYear(\'#'+inst.id+'\');"'+'>';for(var month=0;month<12;month++){if((!inMinYear||month>=minDate.getMonth())&&(!inMaxYear||month<=maxDate.getMonth()))
monthHtml+='<option value="'+month+'"'+
(month==drawMonth?' selected="selected"':'')+'>'+monthNamesShort[month]+'</option>';}
monthHtml+='</select>';}
if(!showMonthAfterYear)
html+=monthHtml+((secondary||changeMonth||changeYear)&&(!(changeMonth&&changeYear))?'&#xa0;':'');if(secondary||!changeYear)
html+='<span class="ui-datepicker-year">'+drawYear+'</span>';else{var years=this._get(inst,'yearRange').split(':');var year=0;var endYear=0;if(years.length!=2){year=drawYear-10;endYear=drawYear+10;}else if(years[0].charAt(0)=='+'||years[0].charAt(0)=='-'){year=drawYear+parseInt(years[0],10);endYear=drawYear+parseInt(years[1],10);}else{year=parseInt(years[0],10);endYear=parseInt(years[1],10);}
year=(minDate?Math.max(year,minDate.getFullYear()):year);endYear=(maxDate?Math.min(endYear,maxDate.getFullYear()):endYear);html+='<select class="ui-datepicker-year" '+'onchange="DP_jQuery.datepicker._selectMonthYear(\'#'+inst.id+'\', this, \'Y\');" '+'onclick="DP_jQuery.datepicker._clickMonthYear(\'#'+inst.id+'\');"'+'>';for(;year<=endYear;year++){html+='<option value="'+year+'"'+
(year==drawYear?' selected="selected"':'')+'>'+year+'</option>';}
html+='</select>';}
if(showMonthAfterYear)
html+=(secondary||changeMonth||changeYear?'&#xa0;':'')+monthHtml;html+='</div>';return html;},_adjustInstDate:function(inst,offset,period){var year=inst.drawYear+(period=='Y'?offset:0);var month=inst.drawMonth+(period=='M'?offset:0);var day=Math.min(inst.selectedDay,this._getDaysInMonth(year,month))+
(period=='D'?offset:0);var date=this._daylightSavingAdjust(new Date(year,month,day));var minDate=this._getMinMaxDate(inst,'min',true);var maxDate=this._getMinMaxDate(inst,'max');date=(minDate&&date<minDate?minDate:date);date=(maxDate&&date>maxDate?maxDate:date);inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();if(period=='M'||period=='Y')
this._notifyChange(inst);},_notifyChange:function(inst){var onChange=this._get(inst,'onChangeMonthYear');if(onChange)
onChange.apply((inst.input?inst.input[0]:null),[inst.selectedYear,inst.selectedMonth+1,inst]);},_getNumberOfMonths:function(inst){var numMonths=this._get(inst,'numberOfMonths');return(numMonths==null?[1,1]:(typeof numMonths=='number'?[1,numMonths]:numMonths));},_getMinMaxDate:function(inst,minMax,checkRange){var date=this._determineDate(this._get(inst,minMax+'Date'),null);return(!checkRange||!inst.rangeStart?date:(!date||inst.rangeStart>date?inst.rangeStart:date));},_getDaysInMonth:function(year,month){return 32-new Date(year,month,32).getDate();},_getFirstDayOfMonth:function(year,month){return new Date(year,month,1).getDay();},_canAdjustMonth:function(inst,offset,curYear,curMonth){var numMonths=this._getNumberOfMonths(inst);var date=this._daylightSavingAdjust(new Date(curYear,curMonth+(offset<0?offset:numMonths[1]),1));if(offset<0)
date.setDate(this._getDaysInMonth(date.getFullYear(),date.getMonth()));return this._isInRange(inst,date);},_isInRange:function(inst,date){var newMinDate=(!inst.rangeStart?null:this._daylightSavingAdjust(new Date(inst.selectedYear,inst.selectedMonth,inst.selectedDay)));newMinDate=(newMinDate&&inst.rangeStart<newMinDate?inst.rangeStart:newMinDate);var minDate=newMinDate||this._getMinMaxDate(inst,'min');var maxDate=this._getMinMaxDate(inst,'max');return((!minDate||date>=minDate)&&(!maxDate||date<=maxDate));},_getFormatConfig:function(inst){var shortYearCutoff=this._get(inst,'shortYearCutoff');shortYearCutoff=(typeof shortYearCutoff!='string'?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));return{shortYearCutoff:shortYearCutoff,dayNamesShort:this._get(inst,'dayNamesShort'),dayNames:this._get(inst,'dayNames'),monthNamesShort:this._get(inst,'monthNamesShort'),monthNames:this._get(inst,'monthNames')};},_formatDate:function(inst,day,month,year){if(!day){inst.currentDay=inst.selectedDay;inst.currentMonth=inst.selectedMonth;inst.currentYear=inst.selectedYear;}
var date=(day?(typeof day=='object'?day:this._daylightSavingAdjust(new Date(year,month,day))):this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return this.formatDate(this._get(inst,'dateFormat'),date,this._getFormatConfig(inst));}});function extendRemove(target,props){$.extend(target,props);for(var name in props)
if(props[name]==null||props[name]==undefined)
target[name]=props[name];return target;};function isArray(a){return(a&&(($.browser.safari&&typeof a=='object'&&a.length)||(a.constructor&&a.constructor.toString().match(/\Array\(\)/))));};$.fn.datepicker=function(options){if(!$.datepicker.initialized){$(document).mousedown($.datepicker._checkExternalClick).find('body').append($.datepicker.dpDiv);$.datepicker.initialized=true;}
var otherArgs=Array.prototype.slice.call(arguments,1);if(typeof options=='string'&&(options=='isDisabled'||options=='getDate'))
return $.datepicker['_'+options+'Datepicker'].apply($.datepicker,[this[0]].concat(otherArgs));if(options=='option'&&arguments.length==2&&typeof arguments[1]=='string')
return $.datepicker['_'+options+'Datepicker'].apply($.datepicker,[this[0]].concat(otherArgs));return this.each(function(){typeof options=='string'?$.datepicker['_'+options+'Datepicker'].apply($.datepicker,[this].concat(otherArgs)):$.datepicker._attachDatepicker(this,options);});};$.datepicker=new Datepicker();$.datepicker.initialized=false;$.datepicker.uuid=new Date().getTime();$.datepicker.version="1.7.2";window.DP_jQuery=$;})(jQuery);(function($){$.fn.timePicker=function(options){var settings=$.extend({},$.fn.timePicker.defaults,options);return this.each(function(){$.timePicker(this,settings);});};$.timePicker=function(elm,settings){var e=$(elm)[0];return e.timePicker||(e.timePicker=new jQuery._timePicker(e,settings));};$._timePicker=function(elm,settings){var tpOver=false;var keyDown=false;var startTime=timeToDate(settings.startTime,settings);var endTime=timeToDate(settings.endTime,settings);$(elm).attr('autocomplete','OFF');var times=[];var time=new Date(startTime);while(time<=endTime){times[times.length]=formatTime(time,settings);time=new Date(time.setMinutes(time.getMinutes()+settings.step));}
var $tpDiv=$('<div class="time-picker'+(settings.show24Hours?'':' time-picker-12hours')+'"></div>');var $tpList=$('<ul></ul>');for(var i=0;i<times.length;i++){$tpList.append("<li>"+times[i]+"</li>");}
$tpDiv.append($tpList);var elmOffset=$(elm).offset();$tpDiv.appendTo('body').css({'top':elmOffset.top,'left':elmOffset.left}).hide();$tpDiv.mouseover(function(){tpOver=true;}).mouseout(function(){tpOver=false;});$("li",$tpList).mouseover(function(){if(!keyDown){$("li.selected",$tpDiv).removeClass("selected");$(this).addClass("selected");}}).mousedown(function(){tpOver=true;}).click(function(){setTimeVal(elm,this,$tpDiv,settings);tpOver=false;});var showPicker=function(){if($tpDiv.is(":visible")){return false;}
$("li",$tpDiv).removeClass("selected");$tpDiv.show();var time=elm.value?timeStringToDate(elm.value,settings):startTime;var startMin=startTime.getHours()*60+startTime.getMinutes();var min=(time.getHours()*60+time.getMinutes())-startMin;var steps=Math.round(min/settings.step);var roundTime=normaliseTime(new Date(0,0,0,0,(steps*settings.step+startMin),0));roundTime=(startTime<roundTime&&roundTime<=endTime)?roundTime:startTime;var $matchedTime=$("li:contains("+formatTime(roundTime,settings)+")",$tpDiv);if($matchedTime.length){$matchedTime.addClass("selected");$tpDiv[0].scrollTop=$matchedTime[0].offsetTop;}
return true;};$(elm).focus(showPicker).click(showPicker);$(elm).blur(function(){if(!tpOver){$tpDiv.hide();}});var event=($.browser.opera||$.browser.mozilla)?'keypress':'keydown';$(elm)[event](function(e){var $selected;keyDown=true;var top=$tpDiv[0].scrollTop;switch(e.keyCode){case 38:if(showPicker()){return false;};$selected=$("li.selected",$tpList);var prev=$selected.prev().addClass("selected")[0];if(prev){$selected.removeClass("selected");if(prev.offsetTop<top){$tpDiv[0].scrollTop=top-prev.offsetHeight;}}
else{$selected.removeClass("selected");prev=$("li:last",$tpList).addClass("selected")[0];$tpDiv[0].scrollTop=prev.offsetTop-prev.offsetHeight;}
return false;break;case 40:if(showPicker()){return false;};$selected=$("li.selected",$tpList);var next=$selected.next().addClass("selected")[0];if(next){$selected.removeClass("selected");if(next.offsetTop+next.offsetHeight>top+$tpDiv[0].offsetHeight){$tpDiv[0].scrollTop=top+next.offsetHeight;}}
else{$selected.removeClass("selected");next=$("li:first",$tpList).addClass("selected")[0];$tpDiv[0].scrollTop=0;}
return false;break;case 13:if($tpDiv.is(":visible")){var sel=$("li.selected",$tpList)[0];setTimeVal(elm,sel,$tpDiv,settings);}
return false;break;case 27:$tpDiv.hide();return false;break;}
return true;});$(elm).keyup(function(e){keyDown=false;});this.getTime=function(){return timeStringToDate(elm.value,settings);};this.setTime=function(time){elm.value=formatTime(normaliseTime(time),settings);$(elm).change();};};$.fn.timePicker.defaults={step:10,startTime:new Date(0,0,0,0,0,0),endTime:new Date(0,0,0,23,30,0),separator:':',show24Hours:true};function setTimeVal(elm,sel,$tpDiv,settings){elm.value=$(sel).text();var tempInput=$(elm);if(!$.browser.msie){tempInput.change();}
else if(FireIeTimeValidation!='undefined'){FireIeTimeValidation();}
if(!$.browser.msie){elm.focus();}
else{if(tempInput.hasClass('customTimeField'))
{Scandlines.timepicker.updateTimeField(tempInput);}}
$tpDiv.hide();}
function formatTime(time,settings){var h=time.getHours();var hours=settings.show24Hours?h:(((h+11)%12)+1);var minutes=time.getMinutes();return formatNumber(hours)+settings.separator+formatNumber(minutes)+(settings.show24Hours?'':((h<12)?' AM':' PM'));}
function formatNumber(value){return(value<10?'0':'')+value;}
function timeToDate(input,settings){return(typeof input=='object')?normaliseTime(input):timeStringToDate(input,settings);}
function timeStringToDate(input,settings){if(input){var array=input.split(settings.separator);var hours=parseFloat(array[0]);var minutes=parseFloat(array[1]);if(!settings.show24Hours){if(hours===12&&input.substr('AM')!==-1){hours=0;}
else if(hours!==12&&input.indexOf('PM')!==-1){hours+=12;}}
var time=new Date(0,0,0,hours,minutes,0);return normaliseTime(time);}
return null;}
function normaliseTime(time){time.setFullYear(2001);time.setMonth(0);time.setDate(0);return time;}})(jQuery);﻿
var tb_pathToImage="/gfx/scandlines/loadingAnimation.gif";jQuery(document).ready(function(){tb_init('a.thickbox, area.thickbox, input.thickbox');imgLoader=new Image();imgLoader.src=tb_pathToImage;});function tb_init(domChunk){jQuery(domChunk).click(function(){var t=this.title||this.name||null;var a=this.href||this.alt;var g=this.rel||false;tb_show(t,a,g);this.blur();return false;});}
function tb_show(caption,url,imageGroup){try{if(typeof document.body.style.maxHeight==="undefined"){jQuery("html").css("overflow","hidden");if(document.getElementById("TB_HideSelect")===null){jQuery("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");jQuery("#TB_overlay").click(tb_remove);}}else{if(document.getElementById("TB_overlay")===null){jQuery("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");jQuery("#TB_overlay").click(tb_remove);}}
if(tb_detectMacXFF()){jQuery("#TB_overlay").addClass("TB_overlayMacFFBGHack");}else{jQuery("#TB_overlay").addClass("TB_overlayBG");}
if(caption===null){caption="";}
jQuery("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");jQuery('#TB_load').show();var baseURL;if(url.indexOf("?")!==-1){baseURL=url.substr(0,url.indexOf("?"));}else{baseURL=url;}
var urlString=/\.jpgjQuery|\.jpegjQuery|\.pngjQuery|\.gifjQuery|\.bmpjQuery/;var urlType=baseURL.toLowerCase().match(urlString);if(urlType=='.jpg'||urlType=='.jpeg'||urlType=='.png'||urlType=='.gif'||urlType=='.bmp'){TB_PrevCaption="";TB_PrevURL="";TB_PrevHTML="";TB_NextCaption="";TB_NextURL="";TB_NextHTML="";TB_imageCount="";TB_FoundURL=false;if(imageGroup){TB_TempArray=jQuery("a[@rel="+imageGroup+"]").get();for(TB_Counter=0;((TB_Counter<TB_TempArray.length)&&(TB_NextHTML===""));TB_Counter++){var urlTypeTemp=TB_TempArray[TB_Counter].href.toLowerCase().match(urlString);if(!(TB_TempArray[TB_Counter].href==url)){if(TB_FoundURL){TB_NextCaption=TB_TempArray[TB_Counter].title;TB_NextURL=TB_TempArray[TB_Counter].href;TB_NextHTML="<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>";}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>";}}else{TB_FoundURL=true;TB_imageCount="Image "+(TB_Counter+1)+" of "+(TB_TempArray.length);}}}
imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;var pagesize=tb_getPageSize();var x=pagesize[0]-150;var y=pagesize[1]-150;var imageWidth=imgPreloader.width;var imageHeight=imgPreloader.height;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x;if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y;}}else if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x;}}
TB_WIDTH=imageWidth+30;TB_HEIGHT=imageHeight+60;jQuery("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a>"+"<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>"+TB_imageCount+TB_PrevHTML+TB_NextHTML+"</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>");jQuery("#TB_closeWindowButton").click(tb_remove);if(!(TB_PrevHTML==="")){function goPrev(){if(jQuery(document).unbind("click",goPrev)){jQuery(document).unbind("click",goPrev);}
jQuery("#TB_window").remove();jQuery("body").append("<div id='TB_window'></div>");tb_show(TB_PrevCaption,TB_PrevURL,imageGroup);return false;}
jQuery("#TB_prev").click(goPrev);}
if(!(TB_NextHTML==="")){function goNext(){jQuery("#TB_window").remove();jQuery("body").append("<div id='TB_window'></div>");tb_show(TB_NextCaption,TB_NextURL,imageGroup);return false;}
jQuery("#TB_next").click(goNext);}
document.onkeydown=function(e){if(e==null){keycode=event.keyCode;}else{keycode=e.which;}
if(keycode==27){tb_remove();}else if(keycode==190){if(!(TB_NextHTML=="")){document.onkeydown="";goNext();}}else if(keycode==188){if(!(TB_PrevHTML=="")){document.onkeydown="";goPrev();}}};tb_position();jQuery("#TB_load").remove();jQuery("#TB_ImageOff").click(tb_remove);jQuery("#TB_window").css({display:"block"});};imgPreloader.src=url;}else{var queryString=url.replace(/^[^\?]+\??/,'');var params=tb_parseQuery(queryString);TB_WIDTH=(params['width']*1)+30||630;TB_HEIGHT=(params['height']*1)+40||440;ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;if(url.indexOf('TB_iframe')!=-1){urlNoQuery=url.split('TB_');jQuery("#TB_iframeContent").remove();if(params['modal']!="true"){jQuery("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>");}else{jQuery("#TB_overlay").unbind();jQuery("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;'> </iframe>");}}else{if(jQuery("#TB_window").css("display")!="block"){if(params['modal']!="true"){jQuery("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>close</a> or Esc Key</div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>");}else{jQuery("#TB_overlay").unbind();jQuery("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>");}}else{jQuery("#TB_ajaxContent")[0].style.width=ajaxContentW+"px";jQuery("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";jQuery("#TB_ajaxContent")[0].scrollTop=0;jQuery("#TB_ajaxWindowTitle").html(caption);}}
jQuery("#TB_closeWindowButton").click(tb_remove);if(url.indexOf('TB_inline')!=-1){jQuery("#TB_ajaxContent").append(jQuery('#'+params['inlineId']).children());jQuery("#TB_window").unload(function(){jQuery('#'+params['inlineId']).append(jQuery("#TB_ajaxContent").children());});tb_position();jQuery("#TB_load").remove();jQuery("#TB_window").css({display:"block"});}else if(url.indexOf('TB_iframe')!=-1){tb_position();if(jQuery.browser.safari){jQuery("#TB_load").remove();jQuery("#TB_window").css({display:"block"});}}else{jQuery("#TB_ajaxContent").load(url+="&random="+(new Date().getTime()),function(){tb_position();jQuery("#TB_load").remove();tb_init("#TB_ajaxContent a.thickbox");jQuery("#TB_window").css({display:"block"});});}}
if(!params['modal']){document.onkeyup=function(e){if(e==null){keycode=event.keyCode;}else{keycode=e.which;}
if(keycode==27){tb_remove();}};}}catch(e){}}
function tb_showIframe(){jQuery("#TB_load").remove();jQuery("#TB_window").css({display:"block"});}
function tb_remove(){jQuery("#TB_imageOff").unbind("click");jQuery("#TB_closeWindowButton").unbind("click");jQuery("#TB_window").fadeOut("fast",function(){jQuery('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();});jQuery("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){jQuery("body","html").css({height:"auto",width:"auto"});jQuery("html").css("overflow","");}
document.onkeydown="";document.onkeyup="";return false;}
function tb_position(){jQuery("#TB_window").css({marginLeft:'-'+parseInt((TB_WIDTH/2),10)+'px',width:TB_WIDTH+'px'});if(!(jQuery.browser.msie&&jQuery.browser.version<7)){jQuery("#TB_window").css({marginTop:'-'+parseInt((TB_HEIGHT/2),10)+'px'});}
else{jQuery("#TB_window").css({top:parseInt((TB_HEIGHT/2+20),10)+'px'});}}
function tb_parseQuery(query){var Params={};if(!query){return Params;}
var Pairs=query.split(/[;&]/);for(var i=0;i<Pairs.length;i++){var KeyVal=Pairs[i].split('=');if(!KeyVal||KeyVal.length!=2){continue;}
var key=unescape(KeyVal[0]);var val=unescape(KeyVal[1]);val=val.replace(/\+/g,' ');Params[key]=val;}
return Params;}
function tb_getPageSize(){var de=document.documentElement;var w=window.innerWidth||self.innerWidth||(de&&de.clientWidth)||document.body.clientWidth;var h=window.innerHeight||self.innerHeight||(de&&de.clientHeight)||document.body.clientHeight;arrayPageSize=[w,h];return arrayPageSize;}
function tb_detectMacXFF(){var userAgent=navigator.userAgent.toLowerCase();if(userAgent.indexOf('mac')!=-1&&userAgent.indexOf('firefox')!=-1){return true;}}﻿;var SitecoreTranslator={Bordershop:{GetBookingNotificationSucceedTitle:function(){return SitecoreTranslator.Utility.getPhrase('uiLblBookingNotificationSucceedTitle');},GetBookingNotificationSucceedText:function(){return SitecoreTranslator.Utility.getPhrase('uiLblBookingNotificationSucceedText');},GetBookingNotificationErrorTitle:function(){return SitecoreTranslator.Utility.getPhrase('uiLblBookingNotificationErrorTitle');},GetBookingNotificationErrorText:function(){return SitecoreTranslator.Utility.getPhrase('uiLblBookingNotificationErrorText');},GetBookingFirstNotificationTitle:function(){return SitecoreTranslator.Utility.getPhrase('uiLblBasketFirstNotificationTitle');},GetBookingFirstNotificationText:function(){return SitecoreTranslator.Utility.getPhrase('uiLblBasketFirstNotificationText');},GetBookingIncorrectAmountMessageTitle:function(){return SitecoreTranslator.Utility.getPhrase('uiLblBasketIncorrectAmountTitle');},GetBookingIncorrectAmountMessageText:function(){return SitecoreTranslator.Utility.getPhrase('uiLblBasketIncorrectAmountText');},GetBasketMultipleLinkTitle:function(){return SitecoreTranslator.Utility.getPhrase('uiLblBasketMultipleLinkTitle');},GetBasketLinkTitle:function(){return SitecoreTranslator.Utility.getPhrase('uiLblBasketLinkTitle');}},Utility:{getPhrase:function(spanIdPostfix){return jQuery("span[id*='"+spanIdPostfix+"']").html();}}};﻿jQuery(document).ready(function(){if(jQuery('#uiFilledBasket').length&&jQuery('#uiEmptyBasket').length){Basket.Booking.init();}});var Basket={Preorder:{stepSubmitAttempted:false},Booking:{handlers:{bookedProductsAmount:'/layouts/bordershop/BookingHandlers/BookedProductAmount.ashx',bookProduct:'/layouts/bordershop/BookingHandlers/BookProduct.ashx'},init:function(){if(jQuery('#uiFilledBasket')||jQuery('#uiEmptyBasket')){Basket.Booking.getBasketContent(function(msg){Basket.Booking.defineBasketLinkState(parseInt(msg));jQuery('#uiBasketProductsCount').get(0).innerHTML=msg;});}},defineBasketLinkState:function(productsCount){if(productsCount>0){jQuery('div[id=uiFilledBasket]').show();jQuery('div[id=uiEmptyBasket]').hide();}
else{jQuery('div[id=uiFilledBasket]').hide();jQuery('div[id=uiEmptyBasket]').show();}
if(productsCount>1){jQuery('a[id*=uiLnkPreorderFirstStep]').get(0).innerHTML=SitecoreTranslator.Bordershop.GetBasketMultipleLinkTitle();}
else{jQuery('a[id*=uiLnkPreorderFirstStep]').get(0).innerHTML=SitecoreTranslator.Bordershop.GetBasketLinkTitle();}
jQuery('#mainNavigation .basketContainer').show();},bookProduct:function(productId,productName,quantity,preorderControl){if(Basket.Booking.validateAmount(quantity)){if(jQuery('#uiEmptyBasket').is(':visible')){jAlert(SitecoreTranslator.Bordershop.GetBookingFirstNotificationText(),SitecoreTranslator.Bordershop.GetBookingFirstNotificationTitle(),function(r){Basket.Booking.makeBookingRequest(productId,productName,quantity);Basket.Booking.updateProductPreorderTools(preorderControl);});}
else{Basket.Booking.makeBookingRequest(productId,productName,quantity);Basket.Booking.updateProductPreorderTools(preorderControl);}}
else{jAlert(SitecoreTranslator.Bordershop.GetBookingIncorrectAmountMessageText(),SitecoreTranslator.Bordershop.GetBookingIncorrectAmountMessageTitle());}},makeBookingRequest:function(productId,productName,quantity){Basket.Booking.sendBookingRequest(productId,productName,quantity,function(msg){Basket.Booking.updateLink();},function(){jAlert(SitecoreTranslator.Bordershop.GetBookingNotificationErrorText(),SitecoreTranslator.Bordershop.GetBookingNotificationErrorTitle());});},updateProductPreorderTools:function(button){var preorderBlock=jQuery(button).parents('.preorder');preorderBlock.children('.buttonWrapper').hide();preorderBlock.children('input[type="text"]').hide();preorderBlock.children('.preorderLink').show();},updateBasketCount:function(){Basket.Booking.getBasketContent(function(msg){Basket.Booking.defineBasketLinkState(parseInt(msg));jQuery('#uiBasketProductsCount').get(0).innerHTML=msg;});},updateLink:function(){Basket.Booking.getBasketContent(function(msg){Basket.Booking.defineBasketLinkState(parseInt(msg));jQuery('#uiBasketProductsCount').get(0).innerHTML=msg;});},validateAmount:function(amount){return amount.match('^[0-9]{1,3}$');},getBasketContent:function(succeedCallback,failCallback){jQuery.ajax({type:"POST",url:Basket.Booking.handlers.bookedProductsAmount,data:{},dataType:"text",success:function(msg){if(succeedCallback){succeedCallback(msg);}},error:function(){if(failCallback){failCallback();}}});},sendBookingRequest:function(productId,productName,quantity,succeedCallback,failCallback){jQuery.ajax({type:"POST",url:Basket.Booking.handlers.bookProduct,data:{offerId:productId,amount:quantity},contentType:"application/x-www-form-urlencoded; charset=utf-8",dataType:"text",success:function(msg){if(succeedCallback){pageTracker._trackEvent('Product','Preorder',productName,quantity);succeedCallback(msg);}},error:function(){if(failCallback){failCallback();}}});}}}﻿;var Scandlines={init:function(){Scandlines.search.init();if(jQuery('.dateField').length){Scandlines.datepicker.init();}
if(jQuery('.timeField').length){Scandlines.timepicker.init();}
if(jQuery('#rotatingOfferBox').length){Scandlines.productOffers.prepare();}
if(jQuery('.categoryDetails').length){Scandlines.categoryDetails.init();}
if(jQuery('.reductionBlock').length){Scandlines.saveup.init();}
if(jQuery('.vehicleTypes input').length){Scandlines.routeBookingForm.init();}
if(jQuery('.pdfForm').length){Scandlines.pdfForm.init();}
if(jQuery("li[id*='uiSubCategory']").length){Scandlines.expandedCategoryCookie.expand();}
if(jQuery('.vote input[type="radio"]').length){Scandlines.quickPoll.fixGroupNames();Scandlines.quickPoll.addClickHandlers();}
if(jQuery('#scandlinesMap').length){Scandlines.map.init('frontpage');}
if(jQuery('.routeOverviewMap').length){Scandlines.map.init('routesOverview');}
if(jQuery('#brobizz').length){Scandlines.brobizz.init();}
if(jQuery('#pbs').length){Scandlines.pbs.init();}
if(jQuery('ul.doubleField').length){Scandlines.autobizz.init();}
if(jQuery('#orderScandlinesCard').length){Scandlines.card.init();}
var accordionVars={active:false,header:'h3',autoheight:false};if(jQuery('#faq').length){jQuery('#faq').accordion(accordionVars);}
if(jQuery('#pressArchive').length){jQuery('#pressArchive').accordion(accordionVars);}
if(jQuery('.subContent .teaserBox').length){if(jQuery('.bordershop').length){jQuery('.subContent').css('background','url(/gfx/scandlines/teaser-column-bg.png) 0 0 repeat-x');}
else{jQuery('.subContent').css('background','url(/gfx/scandlines/teaser-column-blue-bg.png) 0 0 repeat-x');}}
jQuery('.offer').click(function(event){if((jQuery(event.target).parent().attr('class')=='seeAll')||(jQuery(event.target).parent().attr('class')=='preorderLink')){window.location=jQuery(event.target).attr('href');}
else{if((jQuery(event.target).attr('type')!='text')&&(jQuery(event.target).attr('type')!='button')){window.location=jQuery(this).find('a.toProductPage.active').attr('href');}}});Scandlines.icons.init();Scandlines.links.init();},search:{init:function(){jQuery('#header .searchBox input[type="text"]').keypress(function(e){if(e.keyCode==13){Scandlines.search.doSearch();return false;}})},doSearch:function(){var valueToSearch=jQuery('input[id*="uiTxtSearchPhrase"]').val();if(valueToSearch){var searchLocation=jQuery('span#searchPageUrl').text();var searchPhrase=jQuery('span#searchPhrase').text();searchLocation=searchLocation+'?'+searchPhrase+'='+valueToSearch;window.location=searchLocation;}
return false;}},icons:{init:function(){if(jQuery('.customTimeField').length){jQuery('input.routeBookingField.dateField').parent().prepend('<a href="#" class="showDatepicker"></a>');jQuery('input.customTimeField.timeField').parent().prepend('<a href="#" class="showTimepicker"></a>');jQuery('a.showDatepicker, a.showTimepicker').click(function(){jQuery(this).parent().find('input').focus();return false;});$('input.customTimeField.timeField').change(function(){Scandlines.timepicker.updateTimeField(jQuery(this))});}}},popups:{init:function(){jQuery('#popup_container.warning').remove();jQuery('body').append('<div id="popup_container" class="warning" style="display: none;"><h1 id="popup_title">'+jQuery('#dangerousCargoWarningTitle').text()+'</h1><div id="popup_content" class="alert"><div id="popup_message">'+jQuery('#dangerousCargoWarningText').text()+'</div></div>');jQuery('span.dangerousCargoWarning').mouseover(function(e){var mouseX=0;var mouseY=0;mouseX=e.pageX;mouseY=e.pageY;jQuery('#popup_container.warning').css({'left':(mouseX+10)+'px','top':(mouseY-10)+'px','position':'absolute'});jQuery('#popup_container.warning').show('fast');});jQuery('span.dangerousCargoWarning').mouseout(function(){jQuery('#popup_container.warning').hide('fast');});}},saveup:{init:function(){jQuery('.reductionBlock').each(function(){priceWidth=jQuery(this).prev('.priceBlock').width();saveWidth=jQuery(this).width();if(priceWidth<saveWidth){jQuery(this).width(priceWidth);}})}},pdfForm:{init:function(){jQuery('input.clearFields').click(function(){jQuery('.pdfForm input[type="text"]').val('');return false;})},clearForm:function(){jQuery('input.brochureField').each(function(){this.value='';});jQuery('span.brochureCheckBox input').each(function(){this.checked=false;});ResetValidators();}},routeBookingForm:{init:function(){jQuery('.vehicleTypes input').click(function(){if(typeof(RouteBookingValidation.FireTypeOfVehicleValidation)!='undefined'){RouteBookingValidation.FireTypeOfVehicleValidation();}});},initFormClearing:function(){var clearMessageText=jQuery('span[id=clearMessageText]').text();var clearMessageTitle=jQuery('span[id=clearMessageTitle]').text();jAlert(clearMessageText,clearMessageTitle,function(r){Scandlines.routeBookingForm.clearForm();});},clearForm:function(){jQuery('input.routeBookingField').each(function(){this.value='';});jQuery('textarea.routeBookingField').each(function(){this.value='';});jQuery('span.routeBookingCheckBox input').each(function(){this.checked=false;});jQuery('.vehicleTypes input').each(function(){this.checked=false;});jQuery('select.routeBookingSelect').each(function(){this.selectedIndex=0;});ResetValidators();}},timepicker:{init:function(){jQuery('.timeField').timePicker();},updateTimeField:function(sourceInput){Scandlines.timepicker.updateTime(sourceInput);},updateTime:function(sourceInput){sourceInput.parent().find('input.txt').val(sourceInput.val());}},datepicker:{init:function(){var lang=GetCurrentLanguage();switch(lang.toLowerCase()){case'en':{jQuery.datepicker.setDefaults({dayNamesMin:['Mo','Tu','We','Th','Fr','Sa','Su'],firstDay:1,monthNames:['January','February','March','April','May','June','July','August','September','October','November','December']});break;}
case'da':case'da-dk':{jQuery.datepicker.setDefaults({dayNamesMin:['Ma','Ti','On','To','Fr','Lø','Sø'],firstDay:1,monthNames:['Januar','Februar','Marts','April','Maj','Juni','Juli','August','September','Oktober','November','December']});break;}
case'de':case'de-de':{jQuery.datepicker.setDefaults({dayNamesMin:['Mo','Di','Mi','Do','Fr','Sa','So'],firstDay:1,monthNames:['Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember']});break;}}
if(!jQuery('input.fullRange')||!jQuery('input.fullRange').length){jQuery.datepicker.setDefaults({minDate:"0"});}
else{var minYear=1915;var currDate=new Date();var currYear=currDate.getFullYear();k=currYear-minYear;jQuery.datepicker.setDefaults({changeMonth:true,changeYear:true,yearRange:'-'+k+':+10'});}
jQuery(".dateField").datepicker({dateFormat:'dd.mm.yy',onSelect:function(){}});}},links:{init:function(){jQuery('a[rel="external"]').click(function(){window.open(jQuery(this).attr('href'));return false;});}},autobizz:{init:function(){jQuery('ul.doubleField input[type="text"]').keydown(function(e){if(jQuery(this).hasClass('short')){if((((jQuery(this).val().length)+1)>jQuery(this).attr('maxlength'))&&!isEditKey(e.which)){jQuery(this).parents('.doubleField').find('input[class!="short"]').focus();}}});}},pbs:{init:function(){if(jQuery('span.showPbs').find('input').is(':checked')){jQuery('#pbs').slideDown("slow");}
jQuery('span.showPbs').find('input').click(function(){if(jQuery(this).is(':checked')){jQuery('#pbs').slideDown("slow");}});jQuery('span.hidePbs').find('input').click(function(){if(jQuery(this).is(':checked')){jQuery('#pbs').slideUp("slow");}});}},card:{init:function(){if(jQuery('span.showOrderScandlinesCard').find('input').is(':checked')){jQuery('#orderScandlinesCard').slideDown("slow");}
jQuery('span.showOrderScandlinesCard').find('input').click(function(){if(jQuery(this).is(':checked')){jQuery('#orderScandlinesCard').slideDown("slow",function(){});}});jQuery('span.hideOrderScandlinesCard').find('input').click(function(){if(jQuery(this).is(':checked')){jQuery('#orderScandlinesCard').slideUp("slow",function(){});}});jQuery('a.addExtraCard').click(function(){if(!jQuery('#addExtraCard').is(':visible')){jQuery('#addExtraCard').slideDown("slow",function(){});}
return false;});jQuery('a.removeExtraCard').click(function(){jConfirm('Kortet og de oplysninger, du har skrevet slettes fra aftalen','Slet kort og indtastede informationer?',function(r){if(r){jQuery('#addExtraCard').slideUp("slow",function(){});}});return false;});}},brobizz:{init:function(){if(jQuery('span.showBrobizz').find('input').is(':checked')){jQuery('#brobizz').slideDown("slow",function(){});}
jQuery('span.showBrobizz').find('input').click(function(){if(jQuery(this).is(':checked')){jQuery('#brobizz').slideDown("slow",function(){});}});jQuery('span.hideBrobizz').find('input').click(function(){if(jQuery(this).is(':checked')){jQuery('#brobizz').slideUp("slow",function(){});}});}},map:{routesAmount:8,currentRoute:2,changeInterval:4000,init:function(sign){if(sign=='frontpage'){jQuery('.route div').css({opacity:'0'});jQuery('#route1 div').css({opacity:'1'});setInterval('Scandlines.map.nextRoute()',Scandlines.map.changeInterval);}
else{$('.routeOverviewMap area').hover(function(){routeId=$(this).attr('class');if(routeId!=$('.route:visible').attr('id')){$('.route').hide('fast');$('#'+routeId).show('fast');}
return false;});}},nextRoute:function(){jQuery('.route div').animate({opacity:'0'},'slow');jQuery('#route'+Scandlines.map.currentRoute+' div').animate({opacity:'1'},"slow");Scandlines.map.currentRoute++;if(Scandlines.map.currentRoute>Scandlines.map.routesAmount){Scandlines.map.currentRoute=1;}}},footer:{setFooter:function(){var footer=jQuery('#footer');var wrapper=jQuery('#wrapper');var footerHeight=footer.height();wrapper.css('padding-bottom',footerHeight);}},productOffers:{itemWidth:452,showInterval:6000,itemAmount:0,currentItem:0,list:null,listItem:null,fadeEffectLayer:null,prepare:function(){list=jQuery('#rotatingOfferBox ul');listItem=jQuery('#rotatingOfferBox ul li');fadeEffectLayer=jQuery('#effectLayer');fadeEffectLayer.hide();listWidth=listItem.length*Scandlines.productOffers.itemWidth;Scandlines.productOffers.itemAmount=listItem.length;list.width(listWidth);listItem.show();setInterval('Scandlines.productOffers.rotating()',Scandlines.productOffers.showInterval);},rotating:function(){fadeEffectLayer.fadeIn('slow',function(){list.css('left','-'+(Scandlines.productOffers.currentItem*Scandlines.productOffers.itemWidth)+'px');});jQuery('#rotatingOfferBox ul li a.toProductPage').removeClass('active');if(Scandlines.productOffers.currentItem==Scandlines.productOffers.itemAmount-1){jQuery(listItem.eq(0)).find('a.toProductPage').addClass("active");}
else{jQuery(listItem.eq(Scandlines.productOffers.currentItem+1)).find('a.toProductPage').addClass("active");}
fadeEffectLayer.fadeOut('slow');Scandlines.productOffers.currentItem++;if(Scandlines.productOffers.currentItem==Scandlines.productOffers.itemAmount){Scandlines.productOffers.currentItem=0;}}},categoryDetails:{currencyCookieKey:"currency",init:function(){jQuery('.optionsPanel select').change(function(){var currency=jQuery('.optionsPanel select option:selected').val();Scandlines.categoryDetails.switchCurrency(currency);return false;});},showAll:function(link){jQuery('.optionsPanel .showAll').addClass('active');},showOffers:function(link){jQuery('.optionsPanel .showOffers').addClass('active');},switchCurrency:function(currencyToSwitch){if(currencyToSwitch=='euro'){createCookie(Scandlines.categoryDetails.currencyCookieKey,'euro');jQuery('span.dkkProductPrice').removeClass('active');}
else{jQuery('span.euroProductPrice').removeClass('active');createCookie(Scandlines.categoryDetails.currencyCookieKey,'dkk');}
jQuery('span.'+currencyToSwitch+'ProductPrice').addClass('active');}},expandedCategoryCookie:{cookieKey:'expandednSubCategories',add:function(section){var expandedSections=readCookie(Scandlines.expandedCategoryCookie.cookieKey);if(expandedSections&&expandedSections.indexOf(section.attr('id'))!=-1){return;}
if(!expandedSections){expandedSections='|'+section.attr('id');}
else{expandedSections+='|'+section.attr('id');}
createCookie(Scandlines.expandedCategoryCookie.cookieKey,expandedSections);},remove:function(section){var expandedSections=readCookie(Scandlines.expandedCategoryCookie.cookieKey);if(expandedSections){expandedSections=expandedSections.replace('|'+section.attr('id'),'');createCookie(Scandlines.expandedCategoryCookie.cookieKey,expandedSections);}},expand:function(){var expandedSections=readCookie(Scandlines.expandedCategoryCookie.cookieKey);if(expandedSections){var ids=expandedSections.split('|');for(var i=0;i<ids.length;i++){if(ids[i]&&ids[i]!='null'){jQuery("li[id="+ids[i]+"]").each(function(){jQuery(this).find('h4 a').click();});}}}}},quickPoll:{fixGroupNames:function(){jQuery('.vote input[type="radio"]').each(function(){jQuery(this).attr('name',function(){return'PollVote';});jQuery(this).removeAttr('checked');});jQuery('.vote input[type="radio"]:first').click();},addClickHandlers:function(){jQuery("input[id*='uiHfSelectedOptionID']").attr('value',jQuery('.vote input[type="radio"]:first').next('input').attr('value'));jQuery('.vote input[type="radio"]').click(function(){jQuery("input[id*='uiHfSelectedOptionID']").attr('value',jQuery(this).next('input').attr('value'));});}}}
jQuery(document).ready(function(){Scandlines.init();});function createCookie(name,value,minutes){if(minutes){var date=new Date();date.setTime(date.getTime()+(minutes*60*1000));var expires="; expires="+date.toGMTString();}
else{var expires="";}
document.cookie=name+"="+value+expires+"; path=/";}
function readCookie(name){var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(nameEQ)==0)return c.substring(nameEQ.length,c.length);}
return null;}
function isInteger(s)
{var i;if(isEmpty(s))
if(isInteger.arguments.length==1)return 0;else return(isInteger.arguments[1]==true);for(i=0;i<s.length;i++)
{var c=s.charAt(i);if(!isDigit(c))return false;}
return true;}
function isEmpty(s)
{return((s==null)||(s.length==0))}
function isDigit(c)
{return((c>="0")&&(c<="9"))}
function isEditKey(keyCode)
{if((keyCode>=8)&&(keyCode<=46))
{if((keyCode==8)||(keyCode==46)||(keyCode==9)||((keyCode>36)&&(keyCode<41)))
{return true;}}
return false;}
function limitChars(text,limit)
{var textValue=text.val();var textLength=textValue.length;var enterAmount=0;for(var i=0;i<textLength;i++)
{if(textValue.charCodeAt(i)==10||textValue.charCodeAt(i)==13)
{enterAmount++;}}
textLength+=enterAmount;if(textLength>limit)
{text.val(textValue.substr(0,limit-enterAmount));return false;}
return true;}
function GetCurrentLanguage(){var queryLanguageParameter='sc_lang=';var cookieLanguageParameter='#lang=';var siteDomain=location.hostname;var domainZone=siteDomain.substr(siteDomain.lastIndexOf('.')+1);var defaultLanguages={'dk':'da-DK','de':'de-DE','com':'en'};if(self.location.href.indexOf('sc_lang=')>0)
{var startIndex=self.location.href.indexOf(queryLanguageParameter)+queryLanguageParameter.length;var endIndex;if(self.location.href.indexOf('&',startIndex)>0)
{endIndex=self.location.href.indexOf('&',startIndex);}
else
{endIndex=startIndex+self.location.href.length-startIndex;}
return self.location.href.substring(startIndex,endIndex);}
else if(document.cookie)
{var match=document.cookie.match(/(bordershop|scandlinesdk|scandlinesde)#lang=(en|da-DK|de-DE)/);if(match)
{return match[2];}
return'da-DK';}
else
{return defaultLanguages[domainZone];}}
function ResetValidators(){if(typeof(Page_Validators)!='undefined'){for(var i=0;i<Page_Validators.length;i++){if(Page_Validators[i]){var jQueryValidator=jQuery(Page_Validators[i]);jQueryValidator.hide();jQueryValidator.parents('.error').removeClass('error');}}}}
﻿var phoneNumber='^[+]{0,1}[- 0-9\\)\\(]{6,50}$';var mailRegex='^([a-zA-Z0-9_\\.\\-\\+])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$';var requiredFieldRegex='^.{1,}$';var postCodeRegex='^[0-9]{4,8}$';var numberRegex='^[0-9]*$';var dateRegex='^(0[1-9]|[12][0-9]|3[01])[.](0[1-9]|1[012])[.](19|20)[0-9]{2}$';var timeRegex='^([0-1][0-9]|2[0-4]):([0-5][0-9])(\\s(AM|am|PM|pm)){0,1}$';function ValidateDate(source,value){return FireValidatorWithHighlighting(source,value,dateRegex);}
function ValidateTime(source,value){return FireValidatorWithHighlighting(source,value,timeRegex);}
function ValidateRequiredField(source,value){return FireValidatorWithHighlighting(source,value,requiredFieldRegex);}
function ValidateNumber(source,value){return FireValidatorWithHighlighting(source,value,numberRegex);}
function ValidateMailAddress(source,value){return FireValidatorWithHighlighting(source,value,mailRegex);}
function ValidatePhoneNumber(source,value){return FireValidatorWithHighlighting(source,value,phoneNumber);}
function ValidatePostalCode(source,value){return FireValidatorWithHighlighting(source,value,postCodeRegex);}
function ValidateSelectList(source,value){var selectList=document.getElementById(source.controltovalidate);var succeed=selectList.selectedIndex>0;UpdateErrorHighlighting(succeed,selectList);value.IsValid=succeed;return succeed;}
function FireValidatorWithHighlighting(source,value,validationRegex){var succeed=ValidateWithRegex(value,validationRegex);UpdateErrorHighlighting(succeed,document.getElementById(source.controltovalidate));return succeed;}
function UpdateErrorHighlighting(succeed,sourceNode){if(!succeed){if(jQuery(sourceNode).parents('li').length){jQuery(sourceNode).parents('li').addClass('error');}
else{if(jQuery(sourceNode).parents('dd').length){jQuery(sourceNode).parents('dd').addClass('error');}
else if(jQuery(sourceNode).parents('td').length){jQuery(sourceNode).parents('td').addClass('error');}}}
else{if(jQuery(sourceNode).parents('li').length){jQuery(sourceNode).parents('li').removeClass('error');}
else{if(jQuery(sourceNode).parents('dd').length){jQuery(sourceNode).parents('dd').removeClass('error');}
else if(jQuery(sourceNode).parents('td').length){jQuery(sourceNode).parents('td').removeClass('error');}}}}
function ValidateWithRegex(value,regex){var trimmed=Trim(value.Value);if(trimmed&&trimmed.match(regex)){value.IsValid=true;return true;}
value.IsValid=false;return false;}
function Trim(str){return str.replace(/^\s+|\s+$/g,'');}﻿var brobizzAccountRegex='^[0-9]+$';var cprFirstRegex='^[0-9]{6}$';var cprSecondRegex='^[0-9]{4}$';var registerNumberRegex='^[0-9]{1,4}$';var accountNumberRegex='^[0-9]{1,10}$';function ValidateBroBizzAccountNumber(source,value){return FireValidatorWithHighlighting(source,value,brobizzAccountRegex);}
function ValidateBroBizzAccount(source,value){var createNewBroBizz=jQuery('input[id*=uiRbWantsToCreateNewAccount]');var attachExistingAccountOption=jQuery('input[id*=uiRbHasExistingAccounts]');if(attachExistingAccountOption.is(':checked')||createNewBroBizz.is(':checked')){if(attachExistingAccountOption.is(':checked')){var broBizzList=jQuery('ul[id=uiExistingBroBizzAccountsList]');var broBizzInput=jQuery('input[id*=uiTxtAccountNumber]');if(broBizzList.find('li.real').length){value.IsValid=true;return true;}
value.IsValid=false;return false;}
value.IsValid=true;return true;}
else{value.IsValid=false;return false;}}
function ValidateCreditCardOrderInfo(source,value){var orderCard=jQuery('input[id*=uiRbOrderCard]');var rejectOrder=jQuery('input[id*=uiRbRejectCardOrder]');if(orderCard.is(':checked')||rejectOrder.is(':checked')){value.IsValid=true;return true;}
value.IsValid=false;return false;}
function ValidateCardType(source,value){var dummyElement=jQuery(document.getElementById(source.controltovalidate));var standardCard=dummyElement.prev('span').children('input[id*=uiRbStandardCardType]');var businessCard=dummyElement.parent('li').prev('li').find('input[id*=uiRbBusinessCardType]');value.IsValid=standardCard.is(':checked')||businessCard.is(':checked');return value.IsValid;}
function ValidatePbsRequiredCheckbox(source,value){return ValidateCheckboxIsChecked(jQuery('input[id*=uiCbAcceptPbs]'),source,value);}
function ValidateContactInfoRequiredCheckbox(source,value){return ValidateCheckboxIsChecked(jQuery('input[id*=uiCbAcceptTerms]'),source,value);}
function ValidateCprNumberFirst(source,value){return FireValidatorWithHighlighting(source,value,cprFirstRegex);}
function ValidateCprNumberSecond(source,value){return FireValidatorWithHighlighting(source,value,cprSecondRegex);}
function ValidateBankRegisterNumber(source,value){return FireValidatorWithHighlighting(source,value,registerNumberRegex);}
function ValidateAccountNumber(source,value){return FireValidatorWithHighlighting(source,value,accountNumberRegex);}
function ValidatePaymentMethodData(source,value){var factureOption=jQuery('input[id*=uiRbAcceptFacture]');var pbsOption=jQuery('input[id*=uiRbAcceptPbs]');value.IsValid=factureOption.is(':checked')||pbsOption.is(':checked');UpdateErrorHighlighting(value.IsValid,pbsOption.get(0));return value.IsValid;}
function ValidateCheckboxIsChecked(checkBoxJQuery,source,value){value.IsValid=checkBoxJQuery.is(':checked');UpdateErrorHighlighting(value.IsValid,checkBoxJQuery.get(0));return value.IsValid;}﻿var numberRegex='^[0-9]+$';function ValidateNumber(source,value){return FireValidatorWithHighlighting(source,value,numberRegex);}
﻿;var RouteBookingValidation={ValidateVehicleTypeIsSelected:function(source,value){var selected=false;jQuery('.vehicleTypes input').each(function(){if(this.checked){selected=true;}});value.IsValid=selected;return selected;},FireIeDateValidation:function(){ValidatorValidate(jQuery('span[id*=uiCvDepartureDateRequired]').get(0));ValidatorValidate(jQuery('span[id*=uiCvCorrectDepartureDateRequired]').get(0));ValidatorUpdateIsValid();},FireIeTimeValidation:function(){ValidatorValidate(jQuery('span[id*=uiCvDepartureTimeRequired]').get(0));ValidatorValidate(jQuery('span[id*=uiCvCorrectDepartureTimeRequired]').get(0));ValidatorUpdateIsValid();},FireTypeOfVehicleValidation:function(){ValidatorValidate(jQuery('span[id*=uiCvVehicleTypeSelectedRequired]').get(0));ValidatorUpdateIsValid();}};﻿var TicketData=function(){var RouteCode='-1';var WayType=-1;var DepartureDate=new Date();}
function TicketSearch(){this.Formats={dateFormat:'^(0[1-9]|[12][0-9]|3[01])[.](0[1-9]|1[012])[.](19|20)[0-9]{2}$',defaultLanguage:'da'};this.UrlParameters={bookingBaseUrl:'https://booking.scandlines.dk/index.html',ticketFinderBaseUrl:'http://ticketfinder.scandlines.dk/ticketfinder.aspx',deBaseUrl:'https://www.scandlines.de/APPS/coastpax/pages/bookingpage.aspx',routeCode:'route_code',routeCodeDe:'routecode',culture:'culture',departures:'departures',routeCodeShortened:'rc',radioOneWay:'radioOneWay',oneWayFlag:'OneWayFlag',outSchedule:'out_schedule',homeSchedule:'home_schedule',day:'day',month:'month',year:'year',hour:'hour',minute:'minute',productCode:'product_code',productCodeValue:'C6P9',language:'lang'};}
jQuery.extend(TicketSearch.prototype,{GetTicketData:function(){var ticketData=new TicketData();ticketData.WayType=this.GetWayTypeSelected();ticketData.RouteCode=this.GetSelectedRouteCode();if(ticketData.RouteCode!='-1'){ticketData.RouteCode+=ticketData.WayType==1?':RET':'';}
var dateSelected=this.GetDateSelected();if(dateSelected!=null){ticketData.DepartureDate=dateSelected;}
else{ticketData.DepartureDate=new Date();}
return ticketData;},GetWayTypeSelected:function(){var wayType=-1;if(this.IsDeSite()){wayType=0;}
else{var twoWay=jQuery('input[id=uiRbtnTwoWay]');var oneWay=jQuery('input[id=uiRbtnOneWay]');if(twoWay&&twoWay.is(':checked')){wayType=0;}
else if(oneWay&&oneWay.is(':checked')){wayType=1;}}
return wayType;},IsDeSite:function(){return window.location.href.toLowerCase().indexOf('scandlines.de')>0;},GetDateSelected:function(){var departureDate=null;var datePicker=jQuery('input[id=uiTxtDepartureDate]');if(datePicker.val()&&datePicker.val().match(this.Formats.dateFormat)){var dateParts=datePicker.val().split('.');var departureDate=new Date();departureDate.setFullYear(dateParts[2],dateParts[1]-1,dateParts[0]);}
return departureDate;},OnRouteSelected:function(){var routeCode=this.GetSelectedRouteCode();var dateSelectorContainer=jQuery('div[id=uiDepartureDate]');if(this.isYieldMgmRoute(routeCode)){if(dateSelectorContainer.is(':hidden')){dateSelectorContainer.show();}}
else{dateSelectorContainer.hide();}},GetSelectedRouteCode:function(){var routeSelector=jQuery('select[id=uiDllRouteSelector]');return routeSelector.find('option:selected').attr('value');},OnSearchQuerySubmitted:function(){var ticketData=this.GetTicketData();var url;if(this.CheckValidity(ticketData)){if(this.IsDeSite()){window.open(this.UrlParameters.deBaseUrl+this.GetDeQuery(ticketData));}
else if(this.mustSubmitToYieldMgm(ticketData)){url=this.UrlParameters.ticketFinderBaseUrl;window.open(url+this.GetQuery(ticketData));}else if(this.isBalticRoute(ticketData)){window.open(this.UrlParameters.deBaseUrl+this.GetDeQuery(ticketData));}else{ticketData.DepartureDate.setHours(ticketData.DepartureDate.getHours()+4);url=this.UrlParameters.bookingBaseUrl;window.open(url+this.GetQuery(ticketData));}}},CheckValidity:function(ticketData){if(ticketData.RouteCode=='-1'){alert(jQuery('span[id=chooseRouteMessage]').text());return false;}
if(ticketData.WayType==-1){alert(jQuery('span[id=chooseWayTypeMessage]').text());return false;}
return true;},GetDeQuery:function(ticketData){var query='?';ticketData.RouteCode=ticketData.RouteCode.replace('-','');query+=this.GetQueryParameter(this.UrlParameters.routeCodeDe,ticketData.RouteCode);ticketData.DepartureDate.setHours(ticketData.DepartureDate.getHours()+24);var departure=ticketData.DepartureDate.getFullYear().toString()+this.FormatDatePart((ticketData.DepartureDate.getMonth()+1)).toString()+this.FormatDatePart(ticketData.DepartureDate.getDate()-1).toString()+this.FormatDatePart(ticketData.DepartureDate.getHours()).toString()+this.FormatDatePart(ticketData.DepartureDate.getMinutes()).toString();query+=this.GetQueryParameter(this.UrlParameters.departures,departure);query+=this.GetQueryParameter(this.UrlParameters.culture,GetCurrentLanguage().substring(0,2));return query;},FormatDatePart:function(number){return(number<10)?"0"+number:number;},GetQuery:function(ticketData){var out_schedule=Math.round(ticketData.DepartureDate.getTime()/1000);var home_schedule=Math.round(ticketData.DepartureDate.getTime()/1000);var query='?';query+=this.GetQueryParameter(this.UrlParameters.language,GetCurrentLanguage().substring(0,2));query+=this.GetQueryParameter(this.UrlParameters.oneWayFlag,ticketData.WayType==1?'ON':'OFF');query+=this.GetQueryParameter(this.UrlParameters.routeCode,ticketData.RouteCode);query+=this.GetQueryParameter(this.UrlParameters.outSchedule,out_schedule);query+=this.GetQueryParameter(this.UrlParameters.homeSchedule,home_schedule);query+=this.GetQueryParameter(this.UrlParameters.productCode,this.UrlParameters.productCodeValue);query+=this.GetQueryParameter(this.UrlParameters.day,ticketData.DepartureDate.getDate());query+=this.GetQueryParameter(this.UrlParameters.month,ticketData.DepartureDate.getMonth()+1);query+=this.GetQueryParameter(this.UrlParameters.year,ticketData.DepartureDate.getFullYear());query+=this.GetQueryParameter(this.UrlParameters.hour,ticketData.DepartureDate.getHours());query+=this.GetQueryParameter(this.UrlParameters.minute,ticketData.DepartureDate.getMinutes());query+=this.GetQueryParameter(this.UrlParameters.routeCodeShortened,ticketData.RouteCode.indexOf(':RET')>0?ticketData.RouteCode.replace(':RET',''):ticketData.RouteCode);query+=this.GetQueryParameter(this.UrlParameters.radioOneWay,ticketData.WayType);return query;},GetQueryParameter:function(key,value){return key+"="+String(value)+"&";},mustSubmitToYieldMgm:function(ticketData){if(this.isYieldMgmRoute(ticketData.RouteCode)&&this.inDateRangeForYield(ticketData.DepartureDate)&&(ticketData.WayType==0))
return true;return false;},isYieldMgmRoute:function(routeCode){return this.inArray(new Array("GED-ROS","ROS-GED"),routeCode);},isBalticRoute:function(routeCode){return this.inArray(new Array("VEN-NYN","NYN-VEN","ROS-VEN","VEN-ROS"),routeCode);},inArray:function(arr,val){for(i in arr)if(arr[i]==val)return true;return false;},inDateRangeForYield:function(d){var startDate=this.makeDate("04.05.2009");var endDate=this.makeDate("20.12.2009");var actualDate=d;return((actualDate>=startDate)&&(actualDate<=endDate));},makeDate:function(d){d=d.split(".");date=new Date();date.setUTCFullYear(d[2],d[1]-1,d[0]);date.setUTCHours(0);date.setUTCMinutes(0,0,0);return date;}});var ticketSearch=new TicketSearch();﻿function submitForm(){var formSend=document.createElement('form');var parent=document.getElementsByTagName('BODY')[0];formSend.id='formsend';formSend.action=$('#submitURL').val();formSend.method="post";formSend.appendChild(jQuery('input[name=startURL]').get(0).cloneNode(true));formSend.appendChild(jQuery('input[name=loginURL]').get(0).cloneNode(true));formSend.appendChild(jQuery('input[name=useSecure]').get(0).cloneNode(true));formSend.appendChild(jQuery('input[name=jse]').get(0).cloneNode(true));formSend.appendChild(jQuery('input[name=orgId]').get(0).cloneNode(true));formSend.appendChild(jQuery('input[name=portalId]').get(0).cloneNode(true));formSend.appendChild(jQuery('input[name=loginType]').get(0).cloneNode(true));formSend.appendChild(jQuery('input[name=action]').get(0).cloneNode(true));var un=document.createElement('input');un.type="hidden";un.id="un";un.name="un";un.value=$('#uname').val();formSend.appendChild(un);var pw=document.createElement('input');pw.type="hidden";pw.id="pw";pw.name="pw";pw.value=$('#upass').val();formSend.appendChild(pw);parent.appendChild(formSend);jQuery('#formsend').submit();}
function ValidateUserName(){var name=jQuery("#uname").val();if(name.length==0){jQuery("span[class=hiddenError nameValidator]").attr("style","display:block");return false;}
else{jQuery("span[class=hiddenError nameValidator]").attr("style","display:none")}
return true;}
function ValidatePassword(){var pass=jQuery("#upass").val();if(pass.length==0){jQuery("span[class=hiddenError passwordValidator]").attr("style","display:block")
return false;}
else{jQuery("span[class=hiddenError passwordValidator]").attr("style","display:none")}
return true;}
function validateLoginForm(){return ValidateUserName()&&ValidatePassword();}
var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),hasClass:function(C,B){return RegExp("(?:^|\\s)"+B+"(?=\\s|$)").test(C.className)},quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textDecoration:function(G,F){if(!F){F=this.getStyle(G)}var C={underline:null,overline:null,"line-through":null};for(var B=G;B.parentNode&&B.parentNode.nodeType==1;){var E=true;for(var D in C){if(!k(C,D)||C[D]){continue}if(F.get("textDecoration").indexOf(D)!=-1){C[D]=F.get("color")}E=false}if(E){break}F=this.getStyle(B=B.parentNode)}return C},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var B={inline:1,"inline-block":1,"run-in":1};return function(E,C,D){if(B[C.get("display")]){return E}if(!D.previousSibling){E=E.replace(/^\s+/,"")}if(!D.nextSibling){E=E.replace(/\s+$/,"")}return E}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(C){var B=this.face=C.face;this.glyphs=C.glyphs;this.w=C.w;this.baseSize=parseInt(B["units-per-em"],10);this.family=B["font-family"].toLowerCase();this.weight=B["font-weight"];this.style=B["font-style"]||"normal";this.viewBox=(function(){var E=B.bbox.split(/\s+/);var D={minX:parseInt(E[0],10),minY:parseInt(E[1],10),maxX:parseInt(E[2],10),maxY:parseInt(E[3],10)};D.width=D.maxX-D.minX;D.height=D.maxY-D.minY;D.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return D})();this.ascent=-parseInt(B.ascent,10);this.descent=-parseInt(B.descent,10);this.height=-this.ascent+this.descent}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>I&&L>I)?M<L:M>L:(M<I&&L<I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this)}function E(F){C(this)}function C(F){setTimeout(function(){m.replace(F,d.get(F).options,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return!!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var B={},D,F;for(var E=0,C=arguments.length;D=arguments[E],E<C;++E){for(F in D){if(k(D,F)){B[F]=D[F]}}}return B}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(C,J){var B=n.getStyle(v(C,J)).extend(J);var D=c(C,B),E,H,G,F,I;for(E=C.firstChild;E;E=G){H=E.nodeType;G=E.nextSibling;if(H==3){if(F){F.appendData(E.data);C.removeChild(E)}else{F=E}if(G){continue}}if(F){C.replaceChild(o(D,n.whiteSpace(F.data,B,F),B,J,E,C),F);F=null}if(H==1&&E.firstChild){if(n.hasClass(E,"cufon")){z[J.engine](D,null,B,J,E,C)}else{arguments.callee(E,J)}}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={enableTextDecoration:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textShadow:"none"};var p={words:/[^\S\u00a0]+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode((".cufon-canvas{text-indent:0;}@media screen,projection{.cufon-canvas{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}.cufon-canvas .cufon-alt{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?".cufon-canvas canvas{position:relative;}":".cufon-canvas canvas{position:absolute;}")+"}@media print{.cufon-canvas{padding:0;}.cufon-canvas canvas{display:none;}.cufon-canvas .cufon-alt{display:inline;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(ah,H,Z,D,L,ai){var n=(H===null);if(n){H=L.alt}var J=ah.viewBox;var p=Z.getSize("fontSize",ah.baseSize);var X=Z.get("letterSpacing");X=(X=="normal")?0:p.convertFrom(parseInt(X,10));var K=0,Y=0,W=0,F=0;var I=D.textShadow,U=[];if(I){for(var ag=I.length;ag--;){var O=I[ag];var T=p.convertFrom(parseFloat(O.offX));var R=p.convertFrom(parseFloat(O.offY));U[ag]=[T,R];if(R<K){K=R}if(T>Y){Y=T}if(R>W){W=R}if(T<F){F=T}}}var al=Cufon.CSS.textTransform(H,Z).split(""),B;var o=ah.glyphs,E,r,ac;var h=0,v,N=[];for(var ag=0,ae=0,ab=al.length;ag<ab;++ag){E=o[B=al[ag]]||ah.missingGlyph;if(!E){continue}if(r){h-=ac=r[B]||0;N[ae-1]-=ac}h+=v=N[ae++]=~~(E.w||ah.w)+X;r=E.k}if(v===undefined){return null}Y+=J.width-v;F+=J.minX;var C,q;if(n){C=L;q=L.firstChild}else{C=document.createElement("span");C.className="cufon cufon-canvas";C.alt=H;q=document.createElement("canvas");C.appendChild(q);if(D.printable){var ad=document.createElement("span");ad.className="cufon-alt";ad.appendChild(document.createTextNode(H));C.appendChild(ad)}}var am=C.style;var Q=q.style;var m=p.convert(J.height);var ak=Math.ceil(m);var V=ak/m;var P=V*Cufon.CSS.fontStretch(Z.get("fontStretch"));var S=h*P;var aa=Math.ceil(p.convert(S+Y-F));var t=Math.ceil(p.convert(J.height-K+W));q.width=aa;q.height=t;Q.width=aa+"px";Q.height=t+"px";K+=J.minY;Q.top=Math.round(p.convert(K-ah.ascent))+"px";Q.left=Math.round(p.convert(F))+"px";var A=Math.ceil(p.convert(S))+"px";if(a){am.width=A;am.height=p.convert(ah.height)+"px"}else{am.paddingLeft=A;am.paddingBottom=(p.convert(ah.height)-1)+"px"}var aj=q.getContext("2d"),M=m/J.height;aj.scale(M,M*V);aj.translate(-F,-K);aj.lineWidth=ah.face["underline-thickness"];aj.save();function s(i,g){aj.strokeStyle=g;aj.beginPath();aj.moveTo(0,i);aj.lineTo(h,i);aj.stroke()}var u=D.enableTextDecoration?Cufon.CSS.textDecoration(ai,Z):{};if(u.underline){s(-ah.face["underline-position"],u.underline)}if(u.overline){s(ah.ascent,u.overline)}function af(){aj.scale(P,1);for(var x=0,k=0,g=al.length;x<g;++x){var y=o[al[x]]||ah.missingGlyph;if(!y){continue}if(y.d){aj.beginPath();if(y.code){c(y.code,aj)}else{y.code=d("m"+y.d,aj)}aj.fill()}aj.translate(N[k++],0)}aj.restore()}if(I){for(var ag=I.length;ag--;){var O=I[ag];aj.save();aj.fillStyle=O.color;aj.translate.apply(aj,U[ag]);af()}}var z=D.textGradient;if(z){var G=z.stops,w=aj.createLinearGradient(0,J.minY,0,J.maxY);for(var ag=0,ab=G.length;ag<ab;++ag){w.addColorStop.apply(w,G[ag])}aj.fillStyle=w}else{aj.fillStyle=Z.get("color")}af();if(u["line-through"]){s(-ah.descent,u["line-through"])}return C}})());Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var g=(document.documentMode||0)<8;document.write(('<style type="text/css">.cufon-vml-canvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}.cufon-vml-canvas{position:absolute;text-align:left;}.cufon-vml{display:inline-block;position:relative;vertical-align:'+(g?"middle":"text-bottom")+";}.cufon-vml .cufon-alt{position:absolute;left:-10000in;font-size:1px;}a .cufon-vml{cursor:pointer}}@media print{.cufon-vml *{display:none;}.cufon-vml .cufon-alt{display:inline;}}</style>").replace(/;/g,"!important;"));function c(h,i){return a(h,/(?:em|ex|%)$|^[a-z-]+$/i.test(i)?"1em":i)}function a(k,l){if(/px$/i.test(l)){return parseFloat(l)}var j=k.style.left,i=k.runtimeStyle.left;k.runtimeStyle.left=k.currentStyle.left;k.style.left=l.replace("%","em");var h=k.style.pixelLeft;k.style.left=j;k.runtimeStyle.left=i;return h}var f={};function d(o){var p=o.id;if(!f[p]){var m=o.stops,n=document.createElement("cvml:fill"),h=[];n.type="gradient";n.angle=180;n.focus="0";n.method="sigma";n.color=m[0][1];for(var l=1,i=m.length-1;l<i;++l){h.push(m[l][0]*100+"% "+m[l][1])}n.colors=h.join(",");n.color2=m[i][1];f[p]=n}return f[p]}return function(aj,K,ad,G,O,ak,ab){var o=(K===null);if(o){K=O.alt}var M=aj.viewBox;var q=ad.computedFontSize||(ad.computedFontSize=new Cufon.CSS.Size(c(ak,ad.get("fontSize"))+"px",aj.baseSize));var aa=ad.computedLSpacing;if(aa==undefined){aa=ad.get("letterSpacing");ad.computedLSpacing=aa=(aa=="normal")?0:~~q.convertFrom(a(ak,aa))}var C,r;if(o){C=O;r=O.firstChild}else{C=document.createElement("span");C.className="cufon cufon-vml";C.alt=K;r=document.createElement("span");r.className="cufon-vml-canvas";C.appendChild(r);if(G.printable){var ag=document.createElement("span");ag.className="cufon-alt";ag.appendChild(document.createTextNode(K));C.appendChild(ag)}if(!ab){C.appendChild(document.createElement("cvml:shape"))}}var ap=C.style;var V=r.style;var m=q.convert(M.height),am=Math.ceil(m);var Z=am/m;var T=Z*Cufon.CSS.fontStretch(ad.get("fontStretch"));var Y=M.minX,X=M.minY;V.height=am;V.top=Math.round(q.convert(X-aj.ascent));V.left=Math.round(q.convert(Y));ap.height=q.convert(aj.height)+"px";var v=G.enableTextDecoration?Cufon.CSS.textDecoration(ak,ad):{};var J=ad.get("color");var ao=Cufon.CSS.textTransform(K,ad).split(""),B;var p=aj.glyphs,H,s,af;var h=0,P=[],W=0,x;var z,L=G.textShadow;for(var ai=0,ah=0,ae=ao.length;ai<ae;++ai){H=p[B=ao[ai]]||aj.missingGlyph;if(!H){continue}if(s){h-=af=s[B]||0;P[ah-1]-=af}h+=x=P[ah++]=~~(H.w||aj.w)+aa;s=H.k}if(x===undefined){return null}var A=-Y+h+(M.width-x);var an=q.convert(A*T),ac=Math.round(an);var S=A+","+M.height,n;var N="r"+S+"ns";var y=G.textGradient&&d(G.textGradient);for(ai=0,ah=0;ai<ae;++ai){H=p[ao[ai]]||aj.missingGlyph;if(!H){continue}if(o){z=r.childNodes[ah];while(z.firstChild){z.removeChild(z.firstChild)}}else{z=document.createElement("cvml:shape");r.appendChild(z)}z.stroked="f";z.coordsize=S;z.coordorigin=n=(Y-W)+","+X;z.path=(H.d?"m"+H.d+"xe":"")+"m"+n+N;z.fillcolor=J;if(y){z.appendChild(y.cloneNode(false))}var al=z.style;al.width=ac;al.height=am;if(L){var u=L[0],t=L[1];var F=Cufon.CSS.color(u.color),D;var R=document.createElement("cvml:shadow");R.on="t";R.color=F.color;R.offset=u.offX+","+u.offY;if(t){D=Cufon.CSS.color(t.color);R.type="double";R.color2=D.color;R.offset2=t.offX+","+t.offY}R.opacity=F.opacity||(D&&D.opacity)||1;z.appendChild(R)}W+=P[ah++]}var Q=z.nextSibling,w,E;if(G.forceHitArea){if(!Q){Q=document.createElement("cvml:rect");Q.stroked="f";Q.className="cufon-vml-cover";w=document.createElement("cvml:fill");w.opacity=0;Q.appendChild(w);r.appendChild(Q)}E=Q.style;E.width=ac;E.height=am}else{if(Q){r.removeChild(Q)}}ap.width=Math.max(Math.ceil(q.convert(h*T)),0);if(g){var U=ad.computedYAdjust;if(U===undefined){var I=ad.get("lineHeight");if(I=="normal"){I="1em"}else{if(!isNaN(I)){I+="em"}}ad.computedYAdjust=U=0.5*(a(ak,I)-parseFloat(ap.height))}if(U){ap.marginTop=Math.ceil(U)+"px";ap.marginBottom=U+"px"}}return C}})());Cufon.registerFont({"w":556,"face":{"font-family":"frutiger bold","font-weight":700,"font-stretch":"normal","units-per-em":"1000","panose-1":"2 11 7 3 3 5 4 2 2 4","ascent":"750","descent":"-250","x-height":"12","bbox":"-15 -935 990 250","underline-thickness":"50","underline-position":"-50","stemh":"98","stemv":"140","unicode-range":"U+0020-U+00FC"},"glyphs":{" ":{"w":278},"!":{"d":"137,-205r-19,-493r154,0r-21,493r-114,0xm125,0r0,-140r140,0r0,140r-140,0","w":389},"\"":{"d":"271,-448r0,-250r122,0r0,250r-122,0xm88,-448r0,-250r122,0r0,250r-122,0","w":481},"#":{"d":"494,-285r0,80r-92,0r-29,205r-88,0r29,-205r-102,0r-30,205r-88,0r29,-205r-90,0r0,-80r101,0r17,-128r-88,0r0,-80r100,0r28,-205r89,0r-28,205r102,0r28,-205r88,0r-28,205r81,0r0,80r-93,0r-17,128r81,0xm342,-413r-102,0r-17,128r102,0"},"$":{"d":"259,-434r0,-156v-31,14,-55,40,-55,87v0,32,22,52,55,69xm306,-265r0,153v33,-14,58,-39,58,-76v0,-37,-24,-60,-58,-77xm259,-782r47,0r0,72v59,0,113,8,163,25r-13,115v-47,-19,-98,-33,-150,-29r0,185v88,35,204,71,204,215v0,131,-89,193,-204,207r0,82r-47,0r0,-79v-78,4,-119,-9,-190,-26r13,-126v54,28,112,48,177,41r0,-187v-90,-35,-201,-71,-201,-210v0,-137,94,-198,201,-211r0,-74"},"%":{"d":"729,-68v53,0,62,-61,62,-104v0,-43,-9,-104,-62,-104v-53,0,-64,61,-64,104v0,43,11,104,64,104xm729,12v-107,0,-168,-68,-168,-184v0,-116,61,-184,168,-184v107,0,166,68,166,184v0,116,-59,184,-166,184xm274,-342v-107,0,-168,-68,-168,-184v0,-116,61,-184,168,-184v107,0,166,68,166,184v0,116,-59,184,-166,184xm274,-422v53,0,62,-61,62,-104v0,-43,-9,-104,-62,-104v-53,0,-64,61,-64,104v0,43,11,104,64,104xm245,22r432,-742r82,0r-432,742r-82,0","w":1000},"&":{"d":"434,-134r-155,-173v-46,24,-85,57,-85,112v0,113,173,132,240,61xm310,-439v35,-18,91,-60,91,-101v0,-49,-37,-72,-77,-72v-40,0,-80,23,-80,74v0,39,39,72,66,99xm388,-367r128,140v34,-39,42,-98,44,-152r122,0v-4,89,-33,172,-89,239r125,140r-172,0r-47,-62v-128,136,-439,79,-439,-129v0,-84,36,-145,147,-192v-54,-51,-97,-88,-97,-168v0,-106,114,-159,212,-159v98,0,201,45,201,158v0,96,-59,141,-135,185","w":722},"(":{"d":"199,-756r127,0v-86,137,-145,263,-145,448v0,171,59,312,145,448r-127,0v-100,-136,-160,-277,-160,-448v0,-185,60,-311,160,-448","w":333},")":{"d":"133,140r-126,0v85,-136,145,-277,145,-448v0,-185,-60,-311,-145,-448r126,0v99,137,161,263,161,448v0,171,-62,312,-161,448","w":333},"*":{"d":"484,-506r-139,31r96,107r-92,66r-71,-124r-76,124r-91,-66r98,-107r-137,-31r33,-104r133,57r-16,-145r114,0r-17,144r133,-56"},"+":{"d":"248,-305r0,-201r104,0r0,201r202,0r0,104r-202,0r0,201r-104,0r0,-201r-202,0r0,-104r202,0","w":600},",":{"d":"23,110r64,-250r145,0r-91,250r-118,0","w":278},"-":{"d":"298,-214r-263,0r0,-110r263,0r0,110","w":333},".":{"d":"69,0r0,-140r140,0r0,140r-140,0","w":278},"\/":{"d":"21,12r244,-722r104,0r-244,722r-104,0","w":389},"0":{"d":"277,-92v105,0,104,-167,104,-255v0,-90,0,-259,-104,-259v-102,0,-102,169,-102,259v0,88,-1,255,102,255xm277,12v-215,0,-242,-213,-242,-359v0,-175,53,-363,242,-363v204,0,244,201,244,363v0,162,-42,359,-244,359"},"1":{"d":"79,-534r204,-164r124,0r0,698r-140,0r0,-539r-118,96"},"2":{"d":"505,0r-464,0r0,-117v65,-63,302,-261,302,-389v0,-64,-57,-94,-114,-94v-59,0,-115,26,-161,56r-11,-116v63,-32,136,-50,207,-50v133,0,219,67,219,204v0,148,-149,284,-263,396r285,0r0,110"},"3":{"d":"45,-11r8,-119v48,19,100,32,155,32v58,0,147,-28,147,-99v0,-106,-109,-114,-222,-109r0,-110v106,6,219,-11,219,-92v0,-70,-57,-92,-120,-92v-55,0,-108,13,-157,37r-8,-112v56,-22,123,-35,195,-35v86,0,230,30,230,179v0,97,-63,137,-130,169v89,12,133,81,133,166v0,166,-151,208,-267,208v-61,0,-131,-8,-183,-23"},"4":{"d":"142,-249r175,0r0,-303r-2,0xm16,-145r0,-113r261,-440r174,0r0,449r89,0r0,104r-89,0r0,145r-134,0r0,-145r-301,0"},"5":{"d":"490,-698r0,104r-269,0r-3,149v16,-3,37,-7,64,-7v98,0,225,46,225,227v0,131,-92,237,-272,237v-54,0,-117,-9,-163,-20r3,-125v86,47,295,64,292,-88v-3,-136,-172,-137,-285,-102r7,-375r401,0"},"6":{"d":"478,-685r-18,113v-37,-16,-75,-28,-122,-28v-120,-1,-167,117,-164,218v33,-48,76,-70,135,-70v132,0,204,84,204,213v0,151,-74,251,-232,251v-194,0,-237,-161,-237,-325v0,-189,61,-397,287,-397v51,0,99,8,147,25xm278,-348v-68,0,-94,62,-94,132v0,66,28,124,97,124v65,0,92,-63,92,-125v0,-68,-28,-131,-95,-131"},"7":{"d":"50,-588r0,-110r450,0r0,116r-248,582r-152,0r259,-588r-309,0"},"8":{"d":"35,-189v0,-80,48,-130,128,-175v-70,-31,-116,-89,-116,-162v0,-125,95,-184,222,-184v123,0,234,51,234,168v1,64,-41,135,-116,168v92,43,134,103,134,183v0,141,-102,203,-240,203v-136,0,-246,-59,-246,-201xm181,-522v0,60,62,87,110,105v39,-14,78,-58,78,-101v0,-52,-33,-88,-86,-88v-51,0,-102,28,-102,84xm175,-191v0,58,50,99,106,99v56,0,100,-35,100,-93v0,-69,-59,-102,-117,-121v-50,24,-89,56,-89,115"},"9":{"d":"79,-13r18,-113v37,16,75,28,122,28v120,1,167,-117,164,-218v-33,49,-76,70,-135,70v-132,0,-204,-84,-204,-213v0,-151,74,-251,232,-251v194,0,237,161,237,325v0,189,-61,397,-287,397v-51,0,-99,-8,-147,-25xm279,-350v68,0,94,-62,94,-132v0,-66,-28,-124,-97,-124v-65,0,-92,63,-92,125v0,68,28,131,95,131"},":":{"d":"69,-375r0,-140r140,0r0,140r-140,0xm69,0r0,-140r140,0r0,140r-140,0","w":278},";":{"d":"23,110r64,-250r145,0r-91,250r-118,0xm69,-375r0,-140r140,0r0,140r-140,0","w":278},"<":{"d":"554,-94r0,102r-508,-218r0,-86r508,-218r0,102r-373,159","w":600},"=":{"d":"554,-414r0,104r-508,0r0,-104r508,0xm554,-196r0,104r-508,0r0,-104r508,0","w":600},">":{"d":"46,-94r373,-159r-373,-159r0,-102r508,218r0,86r-508,218r0,-102","w":600},"?":{"d":"61,-566r-11,-111v166,-56,426,-59,426,146v0,140,-182,196,-170,327r-123,0v0,-95,37,-147,73,-188v37,-41,74,-71,74,-123v0,-130,-184,-96,-269,-51xm175,0r0,-140r140,0r0,140r-140,0","w":500},"@":{"d":"415,-446v-66,0,-112,68,-112,128v0,47,28,82,75,82v64,0,111,-67,111,-130v0,-47,-29,-80,-74,-80xm631,-143r85,0v-184,267,-679,188,-679,-206v0,-199,163,-361,387,-361v161,0,339,89,339,294v0,205,-186,278,-252,278v-31,0,-50,-22,-56,-52v-81,105,-256,34,-256,-113v0,-132,92,-241,206,-241v48,0,88,22,116,64r12,-48r84,0r-62,277v0,9,4,15,15,15v50,0,113,-53,113,-177v0,-163,-141,-205,-259,-205v-167,0,-283,127,-283,269v0,155,109,269,259,269v79,0,168,-10,231,-63","w":800},"A":{"d":"459,-270r-101,-288r-2,0r-101,288r204,0xm9,0r272,-698r158,0r274,698r-155,0r-60,-160r-283,0r-61,160r-145,0","w":722},"B":{"d":"221,-312r0,202v99,1,210,8,210,-97v0,-116,-106,-105,-210,-105xm221,-588r0,172v88,1,189,7,189,-85v0,-101,-100,-85,-189,-87xm81,0r0,-698r244,0v90,0,225,26,225,179v0,86,-61,138,-139,158v95,9,160,73,160,159v0,176,-158,202,-246,202r-244,0","w":611},"C":{"d":"583,-127r6,117v-51,12,-106,22,-159,22v-226,0,-383,-113,-383,-349v0,-239,146,-373,383,-373v46,0,107,9,158,29r-10,118v-53,-30,-101,-37,-151,-37v-144,0,-234,110,-234,253v0,142,88,249,237,249v55,0,120,-12,153,-29","w":611},"D":{"d":"81,0r0,-698v321,-9,594,-5,594,349v0,277,-189,349,-403,349r-191,0xm221,-588r0,478r78,0v117,0,230,-87,230,-239v0,-152,-113,-239,-230,-239r-78,0","w":722},"E":{"d":"81,0r0,-698r412,0r0,110r-272,0r0,172r249,0r0,110r-249,0r0,196r274,0r0,110r-414,0"},"F":{"d":"81,0r0,-698r388,0r0,110r-248,0r0,172r236,0r0,110r-236,0r0,306r-140,0","w":500,"k":{"A":31,"\u00c6":31,"\u00c4":31,"\u00c5":31,",":129,".":129}},"G":{"d":"635,-681r-9,118v-54,-25,-124,-37,-180,-37v-163,0,-253,110,-253,253v0,174,142,287,329,239r0,-182r-148,0r0,-110r282,0r0,376v-74,20,-151,36,-226,36v-226,0,-383,-113,-383,-349v0,-239,146,-373,383,-373v81,0,145,11,205,29","w":722},"H":{"d":"81,0r0,-698r140,0r0,282r280,0r0,-282r140,0r0,698r-140,0r0,-306r-280,0r0,306r-140,0","w":722},"I":{"d":"69,0r0,-698r140,0r0,698r-140,0","w":278},"J":{"d":"22,-1r0,-121v19,7,39,12,67,12v91,0,91,-73,91,-123r0,-465r140,0r0,532v0,74,-48,178,-191,178v-38,0,-68,-3,-107,-13","w":389},"K":{"d":"81,0r0,-698r140,0r0,300r252,-300r172,0r-287,329r299,369r-183,0r-251,-324r-2,0r0,324r-140,0","w":667},"L":{"d":"81,0r0,-698r140,0r0,588r271,0r0,110r-411,0","w":500,"k":{"T":92,"V":92,"W":55,"y":37,"Y":111}},"M":{"d":"81,0r0,-698r224,0r166,529r2,0r166,-529r224,0r0,698r-134,0r0,-576r-2,0r-188,576r-134,0r-188,-576r-2,576r-134,0","w":944},"N":{"d":"74,0r0,-698r172,0r266,522r2,0r0,-522r134,0r0,698r-171,0r-267,-522r-2,0r0,522r-134,0","w":722},"O":{"d":"47,-351v0,-214,120,-359,342,-359v219,0,342,148,342,359v0,211,-121,363,-342,363v-224,0,-342,-149,-342,-363xm193,-351v0,126,53,253,196,253v143,0,196,-127,196,-253v0,-123,-57,-249,-196,-249v-139,0,-196,126,-196,249","w":778},"P":{"d":"209,-588r0,213v96,4,182,-5,182,-104v0,-99,-84,-114,-182,-109xm69,0r0,-698v227,-3,468,-20,468,211v0,184,-144,231,-328,222r0,265r-140,0","k":{"A":74,"\u00c6":74,"\u00c4":74,"\u00c5":74,",":169,".":169}},"Q":{"d":"713,132r-169,0r-122,-122v-242,19,-375,-137,-375,-361v0,-214,120,-359,342,-359v219,0,342,148,342,359v0,150,-61,271,-176,326xm193,-351v0,126,53,253,196,253v143,0,196,-127,196,-253v0,-123,-57,-249,-196,-249v-139,0,-196,126,-196,249","w":778},"R":{"d":"209,-588r0,188v93,0,194,7,194,-97v0,-100,-103,-91,-194,-91xm69,0r0,-698r151,0v150,0,329,-5,329,189v0,85,-60,147,-144,164v38,3,61,41,74,72r112,273r-156,0r-84,-218v-20,-68,-60,-76,-142,-72r0,290r-140,0","w":611,"k":{"T":18,"V":18,"W":18,"Y":37}},"S":{"d":"469,-685r-13,115v-44,-19,-93,-30,-142,-30v-48,0,-110,21,-110,97v0,121,306,70,306,304v0,221,-259,241,-441,184r13,-126v48,26,103,43,158,43v53,0,124,-27,124,-90v0,-133,-306,-78,-306,-309v0,-222,234,-242,411,-188"},"T":{"d":"208,0r0,-588r-200,0r0,-110r540,0r0,110r-200,0r0,588r-140,0","k":{"\u00fc":92,"\u00f6":111,"\u00e8":111,"\u00e5":111,"\u00e4":111,"w":111,"y":111,"A":80,"\u00c6":80,"\u00c4":80,"\u00c5":80,",":111,".":111,"c":111,"e":111,"\u00e9":111,"o":111,"\u00f8":111,"-":117,"a":111,"\u00e6":111,"r":92,"s":111,"u":92,":":71,";":83}},"U":{"d":"76,-252r0,-446r140,0r0,403v0,119,38,197,145,197v107,0,145,-78,145,-197r0,-403r140,0r0,446v0,187,-106,264,-285,264v-179,0,-285,-77,-285,-264","w":722},"V":{"d":"250,0r-240,-698r150,0r179,548r2,0r177,-548r139,0r-235,698r-172,0","w":667,"k":{"\u00f6":55,"\u00e8":55,"\u00e5":55,"\u00e4":55,"y":18,"A":74,"\u00c6":74,"\u00c4":74,"\u00c5":74,",":129,".":129,"e":55,"\u00e9":55,"o":55,"\u00f8":55,"-":55,"a":55,"\u00e6":55,"r":37,"u":37,"\u00fc":37,":":34,";":46,"i":-10}},"W":{"d":"195,0r-185,-698r147,0r130,558r2,0r119,-558r190,0r123,558r2,0r131,-558r136,0r-182,698r-180,0r-126,-558r-2,0r-124,558r-181,0","w":1000,"k":{"\u00fc":18,"\u00f6":18,"\u00e4":37,"A":37,"\u00c6":37,"\u00c4":37,"\u00c5":37,",":74,".":74,"e":18,"\u00e9":18,"\u00e8":18,"o":18,"\u00f8":18,"-":28,"a":37,"\u00e6":37,"\u00e5":37,"r":18,"u":18,":":6,";":18}},"X":{"d":"10,0r229,-363r-208,-335r162,0r146,249r149,-249r150,0r-210,335r229,363r-165,0r-161,-272r-163,272r-158,0","w":667},"Y":{"d":"266,0r0,-276r-255,-422r164,0r165,293r168,-293r148,0r-250,422r0,276r-140,0","w":667,"k":{"\u00fc":74,"\u00f6":92,"v":55,"A":98,"\u00c6":98,"\u00c4":98,"\u00c5":98,",":111,".":111,"e":92,"\u00e9":92,"\u00e8":92,"o":92,"\u00f8":92,"q":92,"-":111,"a":92,"\u00e6":92,"\u00e4":92,"\u00e5":92,"u":74,":":92,";":92,"i":9,"p":74}},"Z":{"d":"36,0r0,-114r328,-474r-315,0r0,-110r464,0r0,114r-331,474r338,0r0,110r-484,0"},"[":{"d":"72,140r0,-896r224,0r0,98r-96,0r0,700r96,0r0,98r-224,0","w":333},"\\":{"d":"264,12r-244,-722r104,0r244,722r-104,0","w":389},"]":{"d":"37,-756r224,0r0,896r-224,0r0,-98r96,0r0,-700r-96,0r0,-98","w":333},"^":{"d":"170,-313r-104,0r187,-385r94,0r187,385r-104,0r-130,-280","w":600},"_":{"d":"0,75r500,0r0,50r-500,0r0,-50","w":500},"a":{"d":"36,-141v0,-168,168,-183,335,-177v0,-83,-37,-111,-116,-111v-57,0,-114,22,-159,56r-4,-115v52,-24,122,-39,179,-39v183,0,222,97,222,283v0,52,1,91,2,129v1,39,3,75,6,115r-118,0v-7,-27,-1,-65,-8,-77v-71,139,-339,111,-339,-64xm164,-149v0,44,37,63,85,63v81,1,126,-70,122,-152v-92,0,-207,-10,-207,89"},"b":{"d":"204,-259v0,73,29,167,118,167v88,0,113,-96,113,-167v0,-69,-24,-164,-111,-164v-86,0,-120,92,-120,164xm69,0r0,-750r134,0r0,301r2,0v37,-49,84,-78,154,-78v158,0,216,126,216,268v0,141,-58,271,-216,271v-59,0,-118,-23,-160,-75r0,63r-130,0","w":611},"c":{"d":"415,-510r-12,106v-24,-11,-50,-19,-91,-19v-83,0,-136,66,-136,163v0,95,45,168,139,168v38,0,80,-14,103,-24r6,111v-39,12,-79,17,-134,17v-169,0,-254,-115,-254,-272v0,-149,88,-267,249,-267v54,0,93,6,130,17","w":444},"d":{"d":"176,-259v0,71,25,167,113,167v89,0,118,-94,118,-167v0,-72,-34,-164,-120,-164v-87,0,-111,95,-111,164xm412,0v-2,-18,4,-44,-2,-58v-40,50,-95,70,-158,70v-158,0,-216,-130,-216,-271v0,-142,58,-268,216,-268v69,0,113,26,156,72r0,-295r134,0r0,750r-130,0","w":611},"e":{"d":"164,-308r228,0v-4,-65,-34,-121,-109,-121v-75,0,-113,52,-119,121xm482,-138r0,109v-49,27,-105,41,-177,41v-170,0,-269,-98,-269,-267v0,-149,79,-272,239,-272v191,0,245,131,245,311r-356,0v6,83,64,130,147,130v65,0,121,-24,171,-52"},"f":{"d":"118,0r0,-417r-99,0r0,-98r99,0v-11,-143,30,-247,164,-247v34,0,72,5,98,11r-11,111v-12,-7,-29,-18,-58,-18v-68,2,-59,76,-59,143r117,0r0,98r-117,0r0,417r-134,0","w":389,"k":{"f":18,"\u00df":18}},"g":{"d":"290,-104v84,0,118,-73,118,-159v0,-88,-34,-160,-112,-160v-91,0,-120,84,-120,163v0,70,37,156,114,156xm414,-515r128,0r0,465v0,140,-56,272,-272,272v-53,0,-114,-8,-178,-35r11,-114v41,22,108,45,150,45v146,2,160,-116,153,-200v-25,44,-85,82,-160,82v-152,0,-210,-122,-210,-260v0,-124,64,-267,218,-267v70,0,120,27,160,82r0,-70","w":611},"h":{"d":"69,0r0,-750r134,0r0,305r2,0v34,-50,92,-82,162,-82v122,0,175,86,175,202r0,325r-134,0r0,-275v0,-63,-1,-148,-87,-148v-97,0,-118,105,-118,171r0,252r-134,0","w":611},"i":{"d":"72,0r0,-515r134,0r0,515r-134,0xm72,-609r0,-128r134,0r0,128r-134,0","w":278},"j":{"d":"-15,214r5,-96v72,-4,82,-18,82,-98r0,-535r134,0r0,553v0,73,-21,184,-155,184v-22,0,-49,-3,-66,-8xm72,-609r0,-128r134,0r0,128r-134,0","w":278},"k":{"d":"72,0r0,-750r134,0r0,441r2,0r160,-206r158,0r-192,230r216,285r-170,0r-172,-250r-2,0r0,250r-134,0"},"l":{"d":"72,0r0,-750r134,0r0,750r-134,0","w":278},"m":{"d":"67,0r0,-515r125,0v2,23,-4,53,2,72v42,-63,103,-84,153,-84v72,0,123,27,152,91v31,-62,98,-91,161,-91v127,0,163,87,163,202r0,325r-134,0r0,-307v0,-48,0,-116,-77,-116v-89,0,-100,106,-100,173r0,250r-134,0r0,-307v0,-48,0,-116,-77,-116v-89,0,-100,106,-100,173r0,250r-134,0","w":889},"n":{"d":"69,0r0,-515r127,0v2,22,-4,52,2,70v42,-59,99,-82,169,-82v122,0,175,86,175,202r0,325r-134,0r0,-275v0,-63,-1,-148,-87,-148v-97,0,-118,105,-118,171r0,252r-134,0","w":611},"o":{"d":"36,-254v0,-170,117,-273,269,-273v153,0,270,103,270,273v0,148,-99,266,-270,266v-170,0,-269,-118,-269,-266xm176,-270v0,85,27,178,129,178v103,0,130,-92,130,-178v0,-79,-42,-153,-130,-153v-87,0,-129,76,-129,153","w":611},"p":{"d":"69,210r0,-725r128,0v2,23,-4,54,2,73v30,-50,81,-85,160,-85v158,0,216,126,216,268v0,141,-58,271,-219,271v-58,0,-103,-18,-153,-71r0,269r-134,0xm324,-423v-86,0,-120,92,-120,164v0,73,29,167,118,167v88,0,113,-96,113,-167v0,-69,-24,-164,-111,-164","w":611},"q":{"d":"408,210r0,-269r-2,0v-47,57,-94,71,-151,71v-161,0,-219,-130,-219,-271v0,-142,58,-268,219,-268v78,0,123,35,159,85r0,-73r128,0r0,725r-134,0xm287,-423v-87,0,-111,95,-111,164v0,71,25,167,113,167v89,0,118,-94,118,-167v0,-72,-34,-164,-120,-164","w":611},"r":{"d":"72,0r0,-515r119,0v2,38,-4,84,2,117v6,-58,82,-153,182,-125r0,135v-12,-7,-36,-11,-60,-11v-109,0,-109,136,-109,210r0,189r-134,0","w":389,"k":{",":92,".":92,"c":18,"d":18,"e":18,"\u00e9":18,"\u00e8":18,"n":-18,"o":18,"\u00f8":18,"\u00f6":18,"q":18,"-":55}},"s":{"d":"384,-508r-9,101v-41,-14,-71,-22,-120,-22v-36,0,-79,13,-79,57v0,82,233,30,233,216v0,176,-216,191,-368,146r8,-110v42,21,86,34,132,34v34,0,88,-13,88,-63v0,-101,-233,-32,-233,-218v0,-166,213,-181,348,-141","w":444},"t":{"d":"113,-155r0,-262r-99,0r0,-98r99,0r0,-103r134,-43r0,146r119,0r0,98r-119,0r0,240v0,44,12,85,63,85v24,0,47,-5,61,-14r4,106v-28,8,-59,12,-99,12v-105,0,-163,-65,-163,-167","w":389},"u":{"d":"542,-515r0,515r-127,0v-2,-22,4,-52,-2,-70v-41,50,-99,82,-169,82v-122,0,-175,-86,-175,-202r0,-325r134,0r0,275v0,63,1,148,87,148v97,0,118,-105,118,-171r0,-252r134,0","w":611},"v":{"d":"203,0r-191,-515r144,0r128,375r2,0r124,-375r134,0r-190,515r-151,0","k":{",":74,".":74}},"w":{"d":"185,0r-174,-515r142,0r114,381r2,0r104,-381r156,0r112,381r2,0r107,-381r128,0r-158,515r-158,0r-112,-393r-2,0r-110,393r-153,0","w":889,"k":{",":55,".":55}},"x":{"d":"186,-270r-159,-245r158,0r101,168r99,-168r142,0r-154,245r174,270r-160,0r-115,-192r-116,192r-147,0"},"y":{"d":"159,-515r124,376r2,0r124,-376r136,0r-193,511v-43,114,-74,226,-214,226v-32,0,-64,-5,-95,-14r9,-99v17,6,36,9,69,9v54,0,87,-37,87,-92r-197,-541r148,0","k":{",":92,".":92}},"z":{"d":"47,-411r0,-104r408,0r0,110r-256,301r265,0r0,104r-428,0r0,-109r261,-302r-250,0","w":500},"{":{"d":"18,-265r0,-86v37,0,82,-22,82,-93r0,-177v7,-122,103,-144,223,-135r0,80r-45,0v-44,0,-50,28,-50,73r0,173v1,97,-73,113,-112,123v43,4,112,20,112,128r0,166v0,46,6,73,50,73r45,0r0,80v-122,9,-223,-15,-223,-135r0,-170v0,-77,-45,-100,-82,-100","w":333},"|":{"d":"59,-750r104,0r0,1000r-104,0r0,-1000","w":222},"}":{"d":"315,-351r0,86v-37,0,-82,23,-82,100r0,170v-5,122,-101,144,-223,135r0,-80r45,0v44,0,50,-27,50,-73r0,-166v-1,-111,73,-120,112,-130v-43,-4,-112,-27,-112,-121r0,-173v0,-45,-6,-73,-50,-73r-45,0r0,-80v122,-8,223,13,223,135r0,177v0,71,45,93,82,93","w":333},"~":{"d":"416,-166v-91,1,-137,-69,-225,-70v-46,0,-70,37,-86,72r-36,-88v22,-42,58,-88,121,-88v95,0,140,70,222,70v35,0,60,-37,83,-72r36,88v-25,42,-63,88,-115,88","w":600},"'":{"d":"78,-448r0,-250r122,0r0,250r-122,0","w":278},"`":{"d":"166,-731r83,146r-83,0r-137,-146r137,0","w":278},"\u00c6":{"d":"503,-270r-23,-324r-2,0r-173,324r198,0xm9,0r382,-698r499,0r0,110r-271,0r14,172r235,0r0,110r-223,0r16,196r233,0r0,110r-369,0r-12,-160r-268,0r-86,160r-150,0","w":944},"\u00d8":{"d":"228,-194r281,-362v-30,-27,-70,-44,-120,-44v-197,1,-235,253,-161,406xm546,-509r-282,363v30,30,71,48,125,48v201,0,237,-262,157,-411xm641,-727r45,37r-54,70v65,64,99,158,99,269v0,211,-121,363,-342,363v-83,0,-151,-20,-204,-57r-57,74r-45,-36r59,-76v-63,-62,-95,-156,-95,-268v0,-214,120,-359,342,-359v79,0,145,19,198,53","w":778},"\u00e6":{"d":"499,-308r226,0v0,-63,-31,-121,-105,-121v-79,0,-121,54,-121,121xm818,-138r0,109v-118,62,-314,63,-393,-52v-39,64,-119,93,-192,93v-98,0,-197,-41,-197,-153v0,-169,173,-182,335,-177v0,-73,-29,-112,-119,-112v-57,0,-114,23,-159,57r-4,-115v114,-45,273,-72,358,26v39,-41,94,-65,176,-65v183,0,230,152,230,311r-354,0v0,84,66,130,148,130v65,0,121,-24,171,-52xm164,-141v0,30,28,55,76,55v96,0,131,-50,131,-152v-97,-2,-207,-4,-207,97","w":889},"\u00f8":{"d":"194,-168r190,-228v-19,-16,-46,-27,-79,-27v-125,1,-153,149,-111,255xm417,-354r-193,232v20,19,46,30,81,30v132,-1,151,-160,112,-262xm513,-550r40,33r-54,65v48,47,76,114,76,198v0,148,-99,266,-270,266v-62,0,-114,-16,-157,-43r-55,66r-41,-33r56,-67v-47,-47,-72,-114,-72,-189v0,-232,241,-338,423,-231","w":611},"\u00df":{"d":"206,0r-134,0r0,-505v0,-151,82,-257,246,-257v111,0,227,62,227,184v0,92,-49,151,-133,179v100,13,169,90,169,184v0,168,-157,252,-321,210r4,-104v17,6,39,11,70,11v38,0,107,-17,107,-131v0,-90,-73,-113,-157,-113r0,-104v74,0,121,-33,121,-109v0,-56,-28,-103,-89,-103v-78,0,-110,74,-110,142r0,516","w":611},"\u00c4":{"d":"459,-270r-101,-288r-2,0r-101,288r204,0xm9,0r272,-698r158,0r274,698r-155,0r-60,-160r-283,0r-61,160r-145,0xm406,-883r116,0r0,116r-116,0r0,-116xm316,-767r-116,0r0,-116r116,0r0,116","w":722},"\u00c5":{"d":"459,-270r-101,-288r-2,0r-101,288r204,0xm9,0r272,-698r158,0r274,698r-155,0r-60,-160r-283,0r-61,160r-145,0xm255,-828v0,-58,49,-107,107,-107v59,0,106,49,106,107v0,59,-47,106,-106,106v-58,0,-107,-47,-107,-106xm309,-828v0,29,23,52,53,52v29,0,52,-23,52,-52v0,-30,-23,-53,-52,-53v-30,0,-53,23,-53,53","w":722},"\u00c9":{"d":"81,0r0,-698r412,0r0,110r-272,0r0,172r249,0r0,110r-249,0r0,196r274,0r0,110r-414,0xm196,-743r83,-146r137,0r-137,146r-83,0"},"\u00c8":{"d":"81,0r0,-698r412,0r0,110r-272,0r0,172r249,0r0,110r-249,0r0,196r274,0r0,110r-414,0xm277,-889r83,146r-83,0r-137,-146r137,0"},"\u00d6":{"d":"47,-351v0,-214,120,-359,342,-359v219,0,342,148,342,359v0,211,-121,363,-342,363v-224,0,-342,-149,-342,-363xm193,-351v0,126,53,253,196,253v143,0,196,-127,196,-253v0,-123,-57,-249,-196,-249v-139,0,-196,126,-196,249xm434,-883r116,0r0,116r-116,0r0,-116xm344,-767r-116,0r0,-116r116,0r0,116","w":778},"\u00dc":{"d":"76,-252r0,-446r140,0r0,403v0,119,38,197,145,197v107,0,145,-78,145,-197r0,-403r140,0r0,446v0,187,-106,264,-285,264v-179,0,-285,-77,-285,-264xm406,-883r116,0r0,116r-116,0r0,-116xm316,-767r-116,0r0,-116r116,0r0,116","w":722},"\u00e4":{"d":"36,-141v0,-168,168,-183,335,-177v0,-83,-37,-111,-116,-111v-57,0,-114,22,-159,56r-4,-115v52,-24,122,-39,179,-39v183,0,222,97,222,283v0,52,1,91,2,129v1,39,3,75,6,115r-118,0v-7,-27,-1,-65,-8,-77v-71,139,-339,111,-339,-64xm164,-149v0,44,37,63,85,63v81,1,126,-70,122,-152v-92,0,-207,-10,-207,89xm323,-725r116,0r0,116r-116,0r0,-116xm233,-609r-116,0r0,-116r116,0r0,116"},"\u00e5":{"d":"36,-141v0,-168,168,-183,335,-177v0,-83,-37,-111,-116,-111v-57,0,-114,22,-159,56r-4,-115v52,-24,122,-39,179,-39v183,0,222,97,222,283v0,52,1,91,2,129v1,39,3,75,6,115r-118,0v-7,-27,-1,-65,-8,-77v-71,139,-339,111,-339,-64xm164,-149v0,44,37,63,85,63v81,1,126,-70,122,-152v-92,0,-207,-10,-207,89xm172,-685v0,-58,49,-107,107,-107v59,0,106,49,106,107v0,59,-47,106,-106,106v-58,0,-107,-47,-107,-106xm226,-685v0,29,23,52,53,52v29,0,52,-23,52,-52v0,-30,-23,-53,-52,-53v-30,0,-53,23,-53,53"},"\u00e9":{"d":"164,-308r228,0v-4,-65,-34,-121,-109,-121v-75,0,-113,52,-119,121xm482,-138r0,109v-49,27,-105,41,-177,41v-170,0,-269,-98,-269,-267v0,-149,79,-272,239,-272v191,0,245,131,245,311r-356,0v6,83,64,130,147,130v65,0,121,-24,171,-52xm204,-585r83,-146r137,0r-137,146r-83,0"},"\u00e8":{"d":"164,-308r228,0v-4,-65,-34,-121,-109,-121v-75,0,-113,52,-119,121xm482,-138r0,109v-49,27,-105,41,-177,41v-170,0,-269,-98,-269,-267v0,-149,79,-272,239,-272v191,0,245,131,245,311r-356,0v6,83,64,130,147,130v65,0,121,-24,171,-52xm260,-731r83,146r-83,0r-137,-146r137,0"},"\u00f6":{"d":"36,-254v0,-170,117,-273,269,-273v153,0,270,103,270,273v0,148,-99,266,-270,266v-170,0,-269,-118,-269,-266xm176,-270v0,85,27,178,129,178v103,0,130,-92,130,-178v0,-79,-42,-153,-130,-153v-87,0,-129,76,-129,153xm351,-725r116,0r0,116r-116,0r0,-116xm261,-609r-116,0r0,-116r116,0r0,116","w":611},"\u00fc":{"d":"542,-515r0,515r-127,0v-2,-22,4,-52,-2,-70v-41,50,-99,82,-169,82v-122,0,-175,-86,-175,-202r0,-325r134,0r0,275v0,63,1,148,87,148v97,0,118,-105,118,-171r0,-252r134,0xm351,-725r116,0r0,116r-116,0r0,-116xm261,-609r-116,0r0,-116r116,0r0,116","w":611},"\u00a0":{"w":278}}});Cufon.registerFont({"w":556,"face":{"font-family":"frutiger normal","font-weight":400,"font-stretch":"normal","units-per-em":"1000","panose-1":"2 11 6 2 2 2 4 2 2 4","ascent":"750","descent":"-250","x-height":"12","bbox":"-25 -935 998 250","underline-thickness":"50","underline-position":"-50","stemh":"76","stemv":"94","unicode-range":"U+0020-U+00FC"},"glyphs":{" ":{"w":278},"!":{"d":"251,-698r-13,502r-86,0r-13,-502r112,0xm139,0r0,-112r112,0r0,112r-112,0","w":389},"\"":{"d":"309,-453r0,-245r88,0r0,245r-88,0xm159,-453r0,-245r88,0r0,245r-88,0"},"#":{"d":"94,0r29,-208r-95,0r0,-76r106,0r18,-130r-96,0r0,-76r107,0r29,-208r76,0r-29,208r118,0r29,-208r76,0r-29,208r95,0r0,76r-106,0r-18,130r95,0r0,76r-106,0r-29,208r-76,0r29,-208r-118,0r-29,208r-76,0xm328,-284r18,-130r-118,0r-18,130r118,0"},"$":{"d":"247,-435r0,-179v-43,16,-66,41,-66,91v0,42,34,68,66,88xm305,-290r0,203v42,-13,70,-57,70,-102v0,-55,-30,-80,-70,-101xm247,106r0,-94v-64,1,-115,-9,-164,-29r12,-96v40,28,87,38,152,37r0,-243v-86,-41,-172,-90,-172,-201v0,-101,76,-171,172,-186r0,-100r58,0r0,96v49,1,97,9,143,25r-14,92v-37,-21,-77,-30,-129,-29r0,217v84,45,176,93,176,210v0,108,-70,184,-176,201r0,100r-58,0"},"%":{"d":"260,-310v-115,0,-150,-99,-150,-200v0,-107,28,-200,150,-200v121,0,150,94,150,200v0,101,-35,200,-150,200xm260,-380v60,0,62,-89,62,-130v0,-45,4,-130,-62,-130v-62,0,-62,88,-62,130v0,41,2,130,62,130xm740,-58v60,0,62,-89,62,-130v0,-45,4,-130,-62,-130v-62,0,-62,88,-62,130v0,41,2,130,62,130xm740,12v-115,0,-150,-99,-150,-200v0,-107,28,-200,150,-200v121,0,150,94,150,200v0,101,-35,200,-150,200xm247,22r433,-742r72,0r-433,742r-72,0","w":1000},"&":{"d":"554,-377r94,0v-9,113,-40,178,-80,239r122,138r-125,0r-57,-68v-50,57,-111,80,-200,80v-138,0,-225,-78,-225,-195v0,-106,62,-166,156,-204v-37,-45,-72,-92,-72,-159v0,-112,82,-164,182,-164v91,0,173,48,173,158v0,89,-79,149,-153,182r142,162v27,-43,38,-89,43,-169xm189,-190v0,77,65,126,137,126v65,0,107,-42,129,-67r-168,-197v-53,36,-98,69,-98,138xm261,-544v0,47,32,85,62,118v42,-20,105,-63,105,-122v0,-64,-35,-86,-83,-86v-46,0,-84,30,-84,90","w":722},"(":{"d":"319,140r-90,0v-91,-136,-164,-280,-164,-448v0,-171,74,-309,164,-448r90,0v-77,137,-154,287,-154,448v0,161,74,312,154,448","w":333},")":{"d":"14,-756r90,0v91,136,164,280,164,448v0,171,-74,309,-164,448r-90,0v77,-137,154,-287,154,-448v0,-161,-74,-312,-154,-448","w":333},"*":{"d":"359,-310r-81,-138r-82,138r-74,-50r110,-123r-160,-33r28,-85r151,62r-16,-159r91,0r-15,159r146,-62r27,85r-157,33r107,123"},"+":{"d":"47,-209r0,-88r209,0r0,-209r88,0r0,209r209,0r0,88r-209,0r0,209r-88,0r0,-209r-209,0","w":600},",":{"d":"20,133r63,-245r112,0r-85,245r-90,0","w":278},"-":{"d":"38,-231r0,-76r257,0r0,76r-257,0","w":333},".":{"d":"83,0r0,-112r112,0r0,112r-112,0","w":278},"\/":{"d":"-25,12r240,-722r88,0r-240,722r-88,0","w":278},"0":{"d":"41,-349v0,-153,44,-361,237,-361v193,0,237,208,237,361v0,153,-44,361,-237,361v-193,0,-237,-208,-237,-361xm147,-349v0,87,11,279,131,279v120,0,131,-192,131,-279v0,-88,-16,-279,-131,-279v-115,0,-131,191,-131,279"},"1":{"d":"269,0r0,-583r-107,92r-53,-67r171,-140r89,0r0,698r-100,0"},"2":{"d":"50,0r0,-107r125,-112v77,-72,201,-185,201,-298v0,-65,-58,-111,-134,-111v-62,0,-122,24,-160,45r-10,-86v161,-80,410,-48,410,158v0,116,-125,240,-202,317v-39,39,-89,81,-123,112r335,0r0,82r-442,0"},"3":{"d":"145,-322r0,-82v106,4,225,-6,229,-114v6,-144,-208,-121,-292,-72r-6,-89v157,-60,404,-42,404,159v0,91,-74,141,-150,161v93,19,156,74,156,173v1,219,-266,221,-435,171r6,-93v92,53,323,68,323,-81v0,-126,-113,-138,-235,-133"},"4":{"d":"344,-241r0,-375r-2,0r-218,375r220,0xm344,0r0,-159r-325,0r0,-82r282,-457r143,0r0,457r88,0r0,82r-88,0r0,159r-100,0"},"5":{"d":"478,-698r0,82r-290,0r-6,187v19,-5,50,-10,90,-10v123,0,226,92,226,216v0,153,-122,235,-267,235v-76,0,-125,-14,-150,-23r3,-94v104,65,309,44,308,-103v0,-100,-75,-149,-169,-149v-60,0,-98,10,-135,26r6,-367r384,0"},"6":{"d":"146,-374v48,-44,96,-65,155,-65v135,0,210,95,210,220v0,144,-97,231,-224,231v-195,0,-235,-176,-235,-335v0,-189,62,-387,283,-387v48,0,119,11,144,22r-14,89v-36,-19,-79,-29,-124,-29v-130,0,-193,120,-195,254xm405,-217v0,-65,-38,-140,-117,-140v-83,0,-130,62,-130,140v0,66,41,147,123,147v84,0,124,-72,124,-147"},"7":{"d":"491,-698r0,82r-258,616r-110,0r266,-616r-340,0r0,-82r442,0"},"8":{"d":"276,12v-118,0,-238,-66,-238,-195v0,-95,68,-152,148,-186v-102,-36,-131,-108,-131,-174v0,-89,84,-167,226,-167v138,0,216,80,216,157v0,78,-32,130,-126,180v84,29,147,92,147,185v0,140,-111,200,-242,200xm412,-180v2,-98,-77,-114,-152,-150v-57,40,-116,59,-116,141v0,150,265,162,268,9xm155,-529v0,48,50,81,144,127v82,-63,92,-90,92,-138v0,-66,-68,-88,-118,-88v-46,0,-118,33,-118,99"},"9":{"d":"410,-324v-48,44,-96,65,-155,65v-135,0,-210,-95,-210,-220v0,-144,97,-231,224,-231v195,0,235,176,235,335v0,189,-62,387,-283,387v-48,0,-119,-11,-144,-22r14,-89v36,19,79,29,124,29v130,0,193,-120,195,-254xm151,-481v0,65,38,140,117,140v83,0,130,-62,130,-140v0,-66,-41,-147,-123,-147v-84,0,-124,72,-124,147"},":":{"d":"195,-510r0,112r-112,0r0,-112r112,0xm83,0r0,-112r112,0r0,112r-112,0","w":278},";":{"d":"20,133r63,-245r112,0r-85,245r-90,0xm195,-510r0,112r-112,0r0,-112r112,0","w":278},"<":{"d":"554,-514r0,88r-394,173r394,173r0,88r-508,-223r0,-76","w":600},"=":{"d":"47,-314r0,-88r506,0r0,88r-506,0xm47,-104r0,-88r506,0r0,88r-506,0","w":600},">":{"d":"46,8r0,-88r394,-173r-394,-173r0,-88r508,223r0,76","w":600},"?":{"d":"204,-196v-22,-150,142,-194,146,-325v4,-133,-204,-113,-269,-61r-7,-95v44,-19,99,-33,166,-33v109,0,216,63,216,182v0,105,-83,160,-137,241v-19,29,-22,52,-21,91r-94,0xm195,0r0,-112r112,0r0,112r-112,0","w":500},"@":{"d":"366,-217v74,0,128,-93,128,-163v0,-48,-34,-84,-77,-84v-79,0,-133,87,-133,156v0,53,31,91,82,91xm615,-532r-67,254v-6,23,-19,67,10,67v58,0,122,-85,122,-187v0,-156,-119,-242,-265,-242v-169,0,-283,129,-283,293v0,190,124,289,293,289v84,0,165,-34,217,-89r76,0v-65,100,-176,159,-297,159v-206,0,-371,-132,-371,-361v0,-218,166,-361,366,-361v176,0,334,120,334,297v0,190,-161,278,-237,278v-33,0,-53,-24,-60,-56v-27,28,-68,56,-109,56v-83,0,-148,-73,-148,-160v0,-125,85,-251,215,-251v46,0,85,19,114,66r15,-52r75,0","w":800},"A":{"d":"12,0r298,-698r105,0r295,698r-109,0r-71,-176r-342,0r-71,176r-105,0xm498,-258r-139,-346r-139,346r278,0","w":722},"B":{"d":"83,0r0,-698r189,0v145,0,245,47,245,176v0,98,-61,141,-144,168v95,8,162,70,162,168v-2,216,-241,185,-452,186xm183,-318r0,236v119,1,246,7,246,-113v0,-132,-126,-124,-246,-123xm183,-616r0,216v117,0,239,11,234,-112v-5,-123,-121,-103,-234,-104","w":611},"C":{"d":"579,-680r-8,97v-44,-26,-93,-39,-144,-39v-161,0,-268,116,-268,273v0,225,225,333,415,239r6,97v-279,90,-527,-61,-527,-339v0,-270,266,-428,526,-328","w":611},"D":{"d":"83,0r0,-698r206,0v207,0,372,128,372,343v0,234,-142,355,-372,355r-206,0xm183,-610r0,522r105,0v172,0,267,-83,267,-263v0,-163,-111,-259,-255,-259r-117,0","w":722},"E":{"d":"94,0r0,-698r391,0r0,88r-291,0r0,204r265,0r0,88r-265,0r0,230r291,0r0,88r-391,0"},"F":{"d":"83,0r0,-698r371,0r0,88r-271,0r0,204r259,0r0,88r-259,0r0,318r-100,0","w":500,"k":{"A":37,"\u00c6":37,"\u00c4":37,"\u00c5":37,",":129,".":129}},"G":{"d":"627,-675r-8,101v-49,-32,-102,-48,-192,-48v-161,0,-268,117,-268,273v0,164,118,273,263,273v69,0,87,-7,112,-12r0,-212r-147,0r0,-82r247,0r0,363v-38,13,-104,31,-213,31v-221,0,-368,-142,-368,-364v0,-215,156,-358,369,-358v102,0,147,15,205,35","w":722},"H":{"d":"94,0r0,-698r100,0r0,292r334,0r0,-292r100,0r0,698r-100,0r0,-318r-334,0r0,318r-100,0","w":722},"I":{"d":"89,0r0,-698r100,0r0,698r-100,0","w":278},"J":{"d":"21,0r0,-86v22,8,44,10,63,10v90,0,114,-51,114,-136r0,-486r100,0r0,518v0,98,-45,192,-196,192v-32,0,-60,-4,-81,-12","w":389},"K":{"d":"94,0r0,-698r100,0r0,307r298,-307r133,0r-328,330r354,368r-146,0r-311,-342r0,342r-100,0","w":667},"L":{"d":"88,0r0,-698r100,0r0,610r292,0r0,88r-392,0","w":500,"k":{"T":55,"V":74,"W":37,"y":37,"Y":92}},"M":{"d":"90,0r0,-698r165,0r219,580r215,-580r165,0r0,698r-100,0r0,-604r-2,0r-231,604r-98,0r-231,-604r-2,0r0,604r-100,0","w":944},"N":{"d":"88,0r0,-698r136,0r308,562r2,0r0,-562r100,0r0,698r-128,0r-316,-574r-2,0r0,574r-100,0","w":722},"O":{"d":"159,-349v0,139,69,273,230,273v161,0,230,-134,230,-273v0,-142,-76,-273,-230,-273v-154,0,-230,131,-230,273xm53,-349v0,-207,124,-361,336,-361v212,0,336,154,336,361v0,212,-123,361,-336,361v-213,0,-336,-149,-336,-361","w":778},"P":{"d":"183,-610r0,243v123,3,239,9,239,-123v0,-120,-122,-125,-239,-120xm83,0r0,-698r183,0v143,0,262,50,262,209v0,192,-160,220,-345,210r0,279r-100,0","k":{"A":37,"\u00c6":37,"\u00c4":37,"\u00c5":37,",":129,".":129}},"Q":{"d":"159,-349v0,139,69,273,230,273v161,0,230,-134,230,-273v0,-142,-76,-273,-230,-273v-154,0,-230,131,-230,273xm575,129r-130,-121v-243,30,-392,-127,-392,-357v0,-207,124,-361,336,-361v212,0,336,154,336,361v0,156,-67,278,-188,331r162,147r-124,0","w":778},"R":{"d":"83,0r0,-698v209,5,436,-40,442,189v2,88,-67,142,-144,161v31,12,47,26,68,70r132,278r-114,0r-107,-242v-40,-89,-87,-64,-177,-68r0,310r-100,0xm183,-610r0,212r85,0v95,0,151,-42,151,-109v0,-63,-48,-103,-140,-103r-96,0","w":611,"k":{"T":18,"V":18,"Y":18}},"S":{"d":"420,-685r-14,92v-51,-20,-79,-29,-131,-29v-56,0,-122,20,-122,93v0,134,300,103,300,333v0,203,-231,244,-398,179r10,-93v91,43,282,66,282,-80v0,-156,-300,-113,-300,-330v0,-180,210,-225,373,-165","w":500},"T":{"d":"228,0r0,-610r-217,0r0,-88r534,0r0,88r-217,0r0,610r-100,0","k":{"\u00fc":74,"\u00f6":74,"\u00e8":74,"\u00e5":74,"\u00e4":74,"w":74,"y":74,"A":55,"\u00c6":55,"\u00c4":55,"\u00c5":55,",":92,".":92,"-":74,"a":74,"\u00e6":74,"c":74,"e":74,"\u00e9":74,"i":37,"o":74,"\u00f8":74,"r":74,"s":74,"u":74,":":92,";":92}},"U":{"d":"632,-698r0,409v0,196,-99,301,-271,301v-172,0,-271,-105,-271,-301r0,-409r100,0r0,396v0,134,42,226,171,226v129,0,171,-92,171,-226r0,-396r100,0","w":722},"V":{"d":"661,-698r-267,698r-125,0r-263,-698r112,0r215,610r2,0r221,-610r105,0","w":667,"k":{"\u00f6":49,"\u00e8":37,"\u00e5":49,"\u00e4":49,"y":12,"A":37,"\u00c6":37,"\u00c4":37,"\u00c5":37,",":92,".":92,"-":37,"a":49,"\u00e6":49,"e":37,"\u00e9":37,"i":18,"o":49,"\u00f8":49,"r":30,"u":30,"\u00fc":30,":":55,";":55}},"W":{"d":"213,0r-211,-698r110,0r167,598r2,0r149,-598r142,0r151,598r2,0r167,-598r106,0r-215,698r-129,0r-152,-610r-2,0r-153,610r-134,0","w":1000,"k":{"\u00fc":12,"\u00f6":30,"\u00e4":18,"A":18,"\u00c6":18,"\u00c4":18,"\u00c5":18,",":55,".":55,"-":18,"a":18,"\u00e6":18,"\u00e5":18,"e":30,"\u00e9":30,"\u00e8":30,"o":30,"\u00f8":30,"r":12,"u":12,":":37,";":37}},"X":{"d":"8,0r257,-363r-234,-335r120,0r186,268r185,-268r114,0r-235,333r258,365r-126,0r-206,-296r-199,296r-120,0","w":667},"Y":{"d":"284,0r0,-292r-273,-406r117,0r208,313r203,-313r117,0r-272,406r0,292r-100,0","w":667,"k":{"\u00fc":79,"\u00f6":98,"v":49,"A":55,"\u00c6":55,"\u00c4":55,"\u00c5":55,",":129,".":129,"-":74,"a":74,"\u00e6":74,"\u00e4":74,"\u00e5":74,"e":74,"\u00e9":74,"\u00e8":74,"i":37,"o":98,"\u00f8":98,"u":79,":":92,";":92,"p":67,"q":86}},"Z":{"d":"32,0r0,-90r362,-520r-350,0r0,-88r465,0r0,90r-361,520r367,0r0,88r-483,0"},"[":{"d":"95,140r0,-896r189,0r0,70r-101,0r0,756r101,0r0,70r-189,0","w":333},"\\":{"d":"215,12r-240,-722r88,0r240,722r-88,0","w":278},"]":{"d":"238,-756r0,896r-189,0r0,-70r101,0r0,-756r-101,0r0,-70r189,0","w":333},"^":{"d":"60,-294r199,-404r82,0r199,404r-90,0r-150,-312r-150,312r-90,0","w":600},"_":{"d":"0,75r500,0r0,50r-500,0r0,-50","w":500},"a":{"d":"109,-394r-5,-80v47,-28,103,-48,168,-48v146,0,205,72,205,211r0,211v0,58,2,85,4,100r-88,0v-2,-21,4,-49,-2,-66v-22,31,-72,78,-158,78v-110,0,-187,-48,-187,-159v0,-128,140,-168,237,-168v37,0,63,0,100,2v0,-88,-32,-133,-126,-133v-53,0,-110,20,-148,52xm241,-64v110,0,152,-71,142,-179v-20,0,-40,-2,-60,-2v-51,0,-177,8,-177,98v0,54,52,83,95,83"},"b":{"d":"80,0r0,-750r94,0r0,310r2,0v29,-47,80,-82,169,-82v148,0,220,121,220,258v0,140,-65,276,-219,276v-93,0,-147,-49,-176,-84r0,72r-90,0xm465,-257v0,-92,-38,-189,-140,-189v-102,0,-151,97,-151,192v0,85,44,190,150,190v101,0,141,-113,141,-193","w":611},"c":{"d":"412,-502r-8,78v-36,-15,-72,-22,-102,-22v-212,3,-229,380,6,382v32,0,72,-10,101,-29r7,84v-197,77,-378,-59,-378,-246v0,-196,182,-317,374,-247","w":444},"d":{"d":"441,0v-2,-23,4,-53,-2,-72v-25,38,-83,84,-174,84v-154,0,-219,-137,-219,-276v0,-137,72,-258,220,-258v91,0,138,38,171,82r0,-310r94,0r0,750r-90,0xm146,-257v0,80,40,193,141,193v106,0,150,-105,150,-190v0,-95,-49,-192,-151,-192v-102,0,-140,96,-140,189","w":611},"e":{"d":"471,-115r0,94v-36,13,-77,33,-161,33v-181,0,-264,-110,-264,-276v0,-151,95,-258,239,-258v170,0,225,124,225,288r-364,0v0,101,79,170,168,170v62,0,134,-32,157,-51xm146,-304r264,0v0,-78,-46,-142,-127,-142v-92,0,-130,76,-137,142"},"f":{"d":"141,0r0,-434r-120,0r0,-76r120,0v-4,-147,14,-253,171,-252v24,0,44,3,63,6r-4,76v-11,-4,-29,-6,-45,-6v-102,-1,-90,84,-91,176r135,0r0,76r-135,0r0,434r-94,0","w":389,"k":{"f":18,"\u00df":18}},"g":{"d":"531,-510r0,488v0,155,-80,244,-263,244v-54,0,-101,-7,-183,-35r10,-87v72,33,115,46,184,46v115,0,174,-96,156,-225v-40,53,-106,79,-171,79v-146,0,-218,-119,-218,-251v0,-131,74,-271,228,-271v92,0,138,36,170,88r0,-76r87,0xm288,-76v88,0,149,-78,149,-173v0,-106,-49,-197,-149,-197v-95,0,-142,103,-142,190v0,96,54,180,142,180","w":611},"h":{"d":"80,0r0,-750r94,0r0,313r2,0v34,-54,93,-85,164,-85v132,0,191,82,191,219r0,303r-94,0r0,-264v0,-119,-26,-182,-108,-182v-107,0,-155,86,-155,210r0,236r-94,0","w":611},"i":{"d":"92,0r0,-510r94,0r0,510r-94,0xm192,-730r0,106r-106,0r0,-106r106,0","w":278},"j":{"d":"-16,218r3,-81v70,16,105,-21,105,-105r0,-542r94,0r0,528v0,74,-3,204,-144,204v-20,0,-45,-1,-58,-4xm192,-730r0,106r-106,0r0,-106r106,0","w":278},"k":{"d":"80,0r0,-750r94,0r0,447r205,-207r128,0r-237,226r267,284r-135,0r-228,-262r0,262r-94,0"},"l":{"d":"92,0r0,-750r94,0r0,750r-94,0","w":278},"m":{"d":"79,0r0,-510r88,0v2,23,-4,55,2,74v62,-113,256,-123,307,13v35,-73,112,-99,158,-99v130,0,177,84,177,195r0,327r-94,0r0,-304v0,-63,-15,-142,-91,-142v-180,0,-126,264,-134,446r-94,0r0,-304v0,-63,-15,-142,-91,-142v-180,0,-126,264,-134,446r-94,0","w":889},"n":{"d":"80,0r0,-510r91,0v2,26,-4,59,2,81v28,-58,96,-93,167,-93v132,0,191,82,191,219r0,303r-94,0r0,-264v0,-119,-26,-182,-108,-182v-107,0,-155,86,-155,210r0,236r-94,0","w":611},"o":{"d":"46,-255v0,-155,104,-267,260,-267v155,0,259,112,259,267v0,146,-106,267,-259,267v-154,0,-260,-121,-260,-267xm306,-446v-206,0,-220,379,0,382v219,-3,204,-382,0,-382","w":611},"p":{"d":"80,210r0,-720r90,0v2,23,-4,53,2,72v25,-38,83,-84,173,-84v148,0,220,121,220,258v0,140,-65,276,-219,276v-92,0,-139,-38,-172,-82r0,280r-94,0xm465,-257v0,-92,-38,-189,-140,-189v-102,0,-151,97,-151,192v0,85,44,190,150,190v101,0,141,-113,141,-193","w":611},"q":{"d":"531,-510r0,720r-94,0r0,-277r-2,0v-29,48,-95,79,-170,79v-154,0,-219,-137,-219,-276v0,-137,72,-258,220,-258v92,0,146,49,175,85r0,-73r90,0xm146,-257v0,80,40,193,141,193v106,0,150,-105,150,-190v0,-95,-49,-192,-151,-192v-102,0,-140,96,-140,189","w":611},"r":{"d":"80,0r0,-510r88,0v2,25,-4,58,2,79v34,-72,108,-108,195,-84r0,84v-121,-38,-191,50,-191,199r0,232r-94,0","w":389,"k":{",":92,".":92,"-":18}},"s":{"d":"37,-16r5,-84v37,24,90,36,117,36v43,0,96,-18,96,-73v0,-93,-221,-85,-221,-228v0,-152,170,-183,297,-137r-8,82v-58,-33,-189,-45,-189,36v0,104,221,74,221,237v0,164,-189,190,-318,131","w":389},"t":{"d":"351,-510r0,76r-135,0r0,279v-5,90,89,109,143,73r0,80v-21,6,-50,14,-80,14v-97,0,-157,-46,-157,-148r0,-298r-115,0r0,-76r115,0r0,-118r94,-30r0,148r135,0","w":389},"u":{"d":"531,-510r0,510r-91,0v-2,-26,4,-59,-2,-81v-28,58,-96,93,-167,93v-132,0,-191,-82,-191,-219r0,-303r94,0r0,264v0,119,26,182,108,182v107,0,155,-86,155,-210r0,-236r94,0","w":611},"v":{"d":"489,-510r-183,510r-112,0r-183,-510r103,0r138,416r2,0r141,-416r94,0","w":500,"k":{",":74,".":74}},"w":{"d":"821,-510r-164,510r-109,0r-132,-428r-2,0r-129,428r-109,0r-164,-510r103,0r117,422r2,0r130,-422r111,0r128,422r2,0r124,-422r92,0","w":833,"k":{",":55,".":55}},"x":{"d":"10,0r184,-267r-166,-243r117,0r111,182r113,-182r105,0r-164,243r180,267r-116,0r-126,-200r-126,200r-112,0","w":500},"y":{"d":"36,215r6,-77v12,4,28,8,44,8v84,0,112,-116,112,-126v0,-11,-12,-37,-18,-54r-173,-476r103,0r137,422r2,0r140,-422r95,0r-188,521v-35,98,-72,211,-196,211v-30,0,-47,-4,-64,-7","w":500,"k":{",":74,".":74}},"z":{"d":"43,0r0,-82r294,-352r-280,0r0,-76r389,0r0,82r-294,352r305,0r0,76r-414,0","w":500},"{":{"d":"314,-756r0,70r-53,0v-41,0,-50,39,-50,76r0,181v1,91,-69,111,-92,122v26,3,92,26,92,123r0,178v0,37,9,76,50,76r53,0r0,70v-110,8,-191,-9,-191,-126r0,-182v0,-68,-46,-105,-86,-105r0,-70v40,0,86,-37,86,-100r0,-187v11,-116,82,-135,191,-126","w":333},"|":{"d":"67,-750r88,0r0,1000r-88,0r0,-1000","w":222},"}":{"d":"19,140r0,-70r53,0v41,0,50,-39,50,-76r0,-181v-1,-91,69,-111,92,-122v-26,-3,-92,-26,-92,-123r0,-178v0,-37,-9,-76,-50,-76r-53,0r0,-70v110,-8,191,9,191,126r0,182v0,68,46,105,86,105r0,70v-40,0,-86,37,-86,100r0,187v-11,116,-82,135,-191,126","w":333},"~":{"d":"194,-328v66,0,156,68,213,68v40,0,65,-38,88,-73r36,70v-22,42,-58,85,-125,85v-66,0,-156,-68,-213,-68v-40,0,-65,38,-88,73r-36,-70v22,-42,58,-85,125,-85","w":600},"'":{"d":"95,-453r0,-245r88,0r0,245r-88,0","w":278},"`":{"d":"116,-725r89,144r-67,0r-131,-144r109,0","w":278},"\u00c6":{"d":"2,0r422,-698r439,0r0,88r-277,0r13,204r246,0r0,88r-241,0r14,230r255,0r0,88r-347,0r-11,-176r-297,0r-105,176r-111,0xm510,-258r-22,-370r-2,0r-220,370r244,0","w":944},"\u00d8":{"d":"214,-160r318,-412v-36,-31,-83,-50,-143,-50v-228,0,-288,300,-175,462xm94,-5r57,-74v-64,-64,-98,-158,-98,-270v0,-207,124,-361,336,-361v80,0,148,23,202,62r53,-69r36,28r-54,71v65,66,99,160,99,269v0,212,-123,361,-336,361v-81,0,-149,-21,-203,-61r-54,70xm563,-537r-317,411v35,31,83,50,143,50v236,3,284,-302,174,-461","w":778},"\u00e6":{"d":"107,-394r-5,-79v98,-65,282,-77,345,40v36,-64,105,-89,177,-89v173,0,224,139,224,288r-361,0v0,94,70,170,167,170v50,0,105,-24,141,-53r0,95v-130,60,-308,46,-368,-85v-48,176,-386,152,-386,-44v0,-141,158,-164,246,-164v54,0,87,6,106,5v2,-168,-195,-159,-286,-84xm141,-148v0,57,50,84,100,84v90,0,152,-83,152,-178v-87,-2,-252,-23,-252,94xm487,-304r261,0v0,-67,-48,-142,-125,-142v-82,0,-136,63,-136,142","w":889},"\u00f8":{"d":"179,-135r224,-273v-25,-24,-57,-38,-97,-38v-146,0,-202,194,-127,311xm429,-378r-225,275v25,24,59,39,102,39v158,-2,197,-203,123,-314xm64,6r57,-71v-48,-49,-75,-116,-75,-190v0,-155,104,-267,260,-267v59,0,112,16,153,46r53,-65r30,25r-53,65v49,48,76,116,76,196v0,146,-106,267,-259,267v-61,0,-114,-19,-155,-50r-57,69","w":611},"\u00df":{"d":"174,0r-94,0r0,-474v0,-181,65,-288,245,-288v96,0,203,65,203,196v0,85,-43,136,-117,165v95,11,149,97,149,184v0,123,-80,223,-221,223v-33,0,-63,-4,-97,-14r0,-79v102,45,218,-1,218,-126v0,-116,-78,-144,-188,-144r0,-76v94,0,156,-28,156,-130v0,-64,-40,-123,-112,-123v-113,0,-142,107,-142,197r0,489","w":611},"\u00c4":{"d":"12,0r298,-698r105,0r295,698r-109,0r-71,-176r-342,0r-71,176r-105,0xm498,-258r-139,-346r-139,346r278,0xm232,-756r0,-100r94,0r0,100r-94,0xm396,-756r0,-100r94,0r0,100r-94,0","w":722},"\u00c5":{"d":"12,0r298,-698r105,0r295,698r-109,0r-71,-176r-342,0r-71,176r-105,0xm498,-258r-139,-346r-139,346r278,0xm361,-935v55,0,102,47,102,102v0,55,-47,102,-102,102v-55,0,-102,-46,-102,-102v0,-56,46,-102,102,-102xm361,-895v-33,0,-62,29,-62,62v0,33,29,62,62,62v32,0,62,-30,62,-62v0,-33,-29,-62,-62,-62","w":722},"\u00c9":{"d":"94,0r0,-698r391,0r0,88r-291,0r0,204r265,0r0,88r-265,0r0,230r291,0r0,88r-391,0xm212,-749r89,-144r109,0r-131,144r-67,0"},"\u00c8":{"d":"94,0r0,-698r391,0r0,88r-291,0r0,204r265,0r0,88r-265,0r0,230r291,0r0,88r-391,0xm255,-893r89,144r-67,0r-131,-144r109,0"},"\u00d6":{"d":"159,-349v0,139,69,273,230,273v161,0,230,-134,230,-273v0,-142,-76,-273,-230,-273v-154,0,-230,131,-230,273xm53,-349v0,-207,124,-361,336,-361v212,0,336,154,336,361v0,212,-123,361,-336,361v-213,0,-336,-149,-336,-361xm260,-756r0,-100r94,0r0,100r-94,0xm424,-756r0,-100r94,0r0,100r-94,0","w":778},"\u00dc":{"d":"632,-698r0,409v0,196,-99,301,-271,301v-172,0,-271,-105,-271,-301r0,-409r100,0r0,396v0,134,42,226,171,226v129,0,171,-92,171,-226r0,-396r100,0xm232,-756r0,-100r94,0r0,100r-94,0xm396,-756r0,-100r94,0r0,100r-94,0","w":722},"\u00e4":{"d":"109,-394r-5,-80v47,-28,103,-48,168,-48v146,0,205,72,205,211r0,211v0,58,2,85,4,100r-88,0v-2,-21,4,-49,-2,-66v-22,31,-72,78,-158,78v-110,0,-187,-48,-187,-159v0,-128,140,-168,237,-168v37,0,63,0,100,2v0,-88,-32,-133,-126,-133v-53,0,-110,20,-148,52xm241,-64v110,0,152,-71,142,-179v-20,0,-40,-2,-60,-2v-51,0,-177,8,-177,98v0,54,52,83,95,83xm149,-588r0,-100r94,0r0,100r-94,0xm313,-588r0,-100r94,0r0,100r-94,0"},"\u00e5":{"d":"109,-394r-5,-80v47,-28,103,-48,168,-48v146,0,205,72,205,211r0,211v0,58,2,85,4,100r-88,0v-2,-21,4,-49,-2,-66v-22,31,-72,78,-158,78v-110,0,-187,-48,-187,-159v0,-128,140,-168,237,-168v37,0,63,0,100,2v0,-88,-32,-133,-126,-133v-53,0,-110,20,-148,52xm241,-64v110,0,152,-71,142,-179v-20,0,-40,-2,-60,-2v-51,0,-177,8,-177,98v0,54,52,83,95,83xm278,-767v55,0,102,47,102,102v0,55,-47,102,-102,102v-55,0,-102,-46,-102,-102v0,-56,46,-102,102,-102xm278,-727v-33,0,-62,29,-62,62v0,33,29,62,62,62v32,0,62,-30,62,-62v0,-33,-29,-62,-62,-62"},"\u00e9":{"d":"471,-115r0,94v-36,13,-77,33,-161,33v-181,0,-264,-110,-264,-276v0,-151,95,-258,239,-258v170,0,225,124,225,288r-364,0v0,101,79,170,168,170v62,0,134,-32,157,-51xm146,-304r264,0v0,-78,-46,-142,-127,-142v-92,0,-130,76,-137,142xm212,-581r89,-144r109,0r-131,144r-67,0"},"\u00e8":{"d":"471,-115r0,94v-36,13,-77,33,-161,33v-181,0,-264,-110,-264,-276v0,-151,95,-258,239,-258v170,0,225,124,225,288r-364,0v0,101,79,170,168,170v62,0,134,-32,157,-51xm146,-304r264,0v0,-78,-46,-142,-127,-142v-92,0,-130,76,-137,142xm255,-725r89,144r-67,0r-131,-144r109,0"},"\u00f6":{"d":"46,-255v0,-155,104,-267,260,-267v155,0,259,112,259,267v0,146,-106,267,-259,267v-154,0,-260,-121,-260,-267xm306,-446v-206,0,-220,379,0,382v219,-3,204,-382,0,-382xm177,-588r0,-100r94,0r0,100r-94,0xm341,-588r0,-100r94,0r0,100r-94,0","w":611},"\u00fc":{"d":"531,-510r0,510r-91,0v-2,-26,4,-59,-2,-81v-28,58,-96,93,-167,93v-132,0,-191,-82,-191,-219r0,-303r94,0r0,264v0,119,26,182,108,182v107,0,155,-86,155,-210r0,-236r94,0xm177,-588r0,-100r94,0r0,100r-94,0xm341,-588r0,-100r94,0r0,100r-94,0","w":611},"\u00a0":{"w":278}}});﻿String.format=function(){var s=arguments[0];for(var i=0;i<arguments.length-1;i++){var reg=new RegExp("\\{"+i+"\\}","gm");s=s.replace(reg,arguments[i+1]);}return s;}
String.trim=function(){return trim(this);}
function trim(str,chars){return ltrim(rtrim(str,chars),chars);}
function ltrim(str,chars){chars=chars||"\\s";return new String(str).replace(new RegExp("^["+chars+"]+","g"),"");}
function rtrim(str,chars){chars=chars||"\\s";return new String(str).replace(new RegExp("["+chars+"]+$","g"),"");}
function redirect(url){window.location=url;}
function queryString(key){hu=window.location.search.substring(1);gy=hu.split("&");for(i=0;i<gy.length;i++){ft=gy[i].split("=");if(ft[0]==key){return ft[1];}}}
function isNullEmptyOrUndefined(value){return(value==null||value=="null"||value==""||value==undefined);}
function isNullOrUndefined(value){return(value==null||value=="null"||value==undefined);}
function padDigits(n,t){if(isNullEmptyOrUndefined(n))n='';var s=''+n;while(s.length<t)s='0'+s;return s;}
var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789$-=";function encodeQuery(input){if(input==null||input=="")return"";var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;do{chr1=input.charCodeAt(i++);chr2=input.charCodeAt(i++);chr3=input.charCodeAt(i++);enc1=chr1>>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64;}else if(isNaN(chr3)){enc4=64;}output=output+keyStr.charAt(enc1)+keyStr.charAt(enc2)+keyStr.charAt(enc3)+keyStr.charAt(enc4);}while(i<input.length);return output;}function decode64(input){var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\-\=]/g,"");do{enc1=keyStr.indexOf(input.charAt(i++));enc2=keyStr.indexOf(input.charAt(i++));enc3=keyStr.indexOf(input.charAt(i++));enc4=keyStr.indexOf(input.charAt(i++));chr1=(enc1<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;output=output+String.fromCharCode(chr1);if(enc3!=64){output=output+String.fromCharCode(chr2);}if(enc4!=64){output=output+String.fromCharCode(chr3);}}while(i<input.length);return output;}
Number.prototype.formatMoney=function(c,d,t){var n=this,c=isNaN(c=Math.abs(c))?2:c,d=d==undefined?",":d,t=t==undefined?".":t,s=n<0?"-":"",i=parseInt(n=Math.abs(+n||0).toFixed(c))+"",j=(j=i.length)>3?j%3:0;return s+(j?i.substr(0,j)+t:"")+i.substr(j).replace(/(\d{3})(?=\d)/g,"$1"+t)+(c?d+Math.abs(n-i).toFixed(c).slice(2):"");};String.prototype.toBoolean=function(){switch(this.toLowerCase()){case"true":case"yes":case"1":return true;case"false":case"no":case"0":case null:return false;default:return Boolean(string);}}
Date.prototype.addHours=function(h){this.setHours(this.getHours()+h);return this;}
Date.prototype.addDays=function(d){this.setDate(this.getDate()+d);return this;}
Date.prototype.date=function(){return new Date(this.getFullYear(),this.getMonth(),this.getDate());}
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('k 2K={\'$2M\':1.2F};9 1p(o){5(o!=f&&A(o)=="X"&&A(o.w)=="2u"&&(o.w==0||m(o[0])))};9 1O(o){5(o!=f&&A(o)=="X"&&m(o.1Y)&&o.1Y==31&&!m(o.1c))};9 m(o){5(A(o)!="2N")};9 20(R){k i,j,o;k y=[];7(A(R)=="W"){R=1t 2P(\'$22\',R)}I(i=1;i<S.w;i++){o=S[i];7(1p(o)){I(j=0;j<o.w;j++){y[y.w]=R(o[j])}}x 7(1O(o)){I(j 1x o){y[y.w]=R(o[j])}}x{y[y.w]=R(o)}}5 y};9 2O(o,13){7(!m(o)||o==f){o={}}7(!m(13)||13==f){5 o}I(k p 1x 13){7(!m(o[p])){o[p]=13[p]}}5 o};21.2X.1W=9(o){k i,l;7(!(l=1Z.w)){5 G}I(i=0;i<l;i++){7(o==1Z[i]){5 H}}};k 2S=(9(){k L={};L.2T=9(o,O){7(o==f){5 f}7(1p(O)){O=20("5 $22.1M()",O);1g(o=o.17){7(o.1c&&O.1W(o.1c)){5 o}}}x{O=O.1M();1g(o=o.17){7(o.1c&&O==o.1c){5 o}}}5 f};L.2U=9(o){7(o!=f&&o.17&&o.17.1V){I(k i 1x o){7(A(o[i])=="9"){o[i]=f}}o.17.1V(o);5 H}5 G};L.2V=9(o){7(m(o.1L)){5 o.1L}5 f};L.30=9(o){7(m(o.1I)){5 o.1I}5 f};L.V=9(){k y=1t 21();k i,j,o;I(k i=0;i<S.w;i++){k o=S[i];7(o==f){7(S.w==1){5 f}y[y.w]=f}x 7(A(o)==\'W\'){7(h.1A){o=h.1A(o)}x 7(h.2f){o=h.2f[o]}7(S.w==1){5 o}y[y.w]=o}x 7(1p(o)){I(j=0;j<o.w;j++){y[y.w]=o[j]}}x 7(1O(o)){I(j 1x o){y[y.w]=o[j]}}x 7(S.w==1){5 o}x{y[y.w]=o}}5 y};L.$=L.V;5 L})();k 18=(9(){k r={};r.27=9(1d){7(A(1d)!="W"||!m(1d.1n)){5 f}k 1e=1d.1n(/^\\s*12\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*/);7(1e==f){5 1d}k 12=+1e[1]<<16|+1e[2]<<8|+1e[3];k Q="";k 24="2C";1g(12!=0){Q=24.1F(12&2J)+Q;12>>>=4}1g(Q.w<6){Q=\'0\'+Q}5"#"+Q};r.1E=9(z){7(!m(z)||z==f){5 f}7(z.2I("-")<0){5 z}k 11="";k c=f;k l=z.w;I(k i=0;i<l;i++){c=z.1F(i);11+=(c!="-")?c:z.1F(++i).1M()}5 11};r.1K=9(q,u){7(!m(q)||q==f||!1J){5 G}k 14=1t 1J("(^|\\\\s)"+u+"(\\\\s|$)");7(A(q)=="W"){5 14.1l(q)}x 7(A(q)=="X"&&q.u){5 14.1l(q.u)}5 G};r.25=9(q,u){7(A(q)!="X"||q==f||!m(q.u)){5 G}7(q.u==f||q.u==\'\'){q.u=u;5 H}7(r.1K(q,u)){5 H}q.u=q.u+" "+u;5 H};r.2a=9(q,u){7(A(q)!="X"||q==f||!m(q.u)||q.u==f){5 G}7(!r.1K(q,u)){5 G}k 14=1t 1J("(^|\\\\s+)"+u+"(\\\\s+|$)");q.u=q.u.1N(14,\' \');5 H};r.3k=9(q,u,26){7(A(q)!="X"||q==f||!m(q.u)||q.u==f){5 G}r.2a(q,u);r.25(q,26);5 H};r.1k=9(o,z){7(o==f){5 f}k p=f;k 1f=r.1E(z);7(z=="29"){p=r.1k(o,"2e");7(p==f){p=r.1k(o,"2d")}}x 7(o.1P&&m(o.1P[1f])){p=o.1P[1f]}x 7(Z.28){p=Z.28(o,f).38(z)}x 7(o.F&&m(o.F[1f])){p=o.F[1f]}7(/^\\s*12\\s*\\(/.1l(p)){p=r.27(p)}7(/^#/.1l(p)){p=p.2t()}5 p};r.19=r.1k;r.23=9(o,z,M){7(o==f||!m(o.F)||!m(z)||z==f||!m(M)){5 G}7(z=="29"){o.F["2e"]=M;o.F["2d"]=M}x 7(z=="1b"){o.F[\'-33-1b\']=M;o.F[\'-34-1b\']=M;o.F.1b=M;7(m(o.F.2c)){o.F.2c="35(1b="+M*1q+")"}}x{o.F[r.1E(z)]=M}5 H};r.3b=r.23;r.1X=3h;r.3f=9(o){7(m(o)&&o!=f&&m(o.E)&&o.E!=f&&o.E!=""){5 o.E}k E=f;1g(E==f||h.1A(E)!=f){E="3c"+(r.1X++)}7(m(o)&&o!=f&&(!m(o.E)||o.E=="")){o.E=E}5 E};5 r})();k 3m=(9(){k D={};D.V=9(e){7(!m(e)&&m(Z.2b)){e=Z.2b}5 e};D.3d=9(q,1y,1z,2x){7(q.2B){q.2B(1y,1z,2x);5 H}x 7(q.2z){q.2z("3e"+1y,1z);5 H}5 G};D.3g=9(e){e=D.V(e);7(m(e.2y)){5 e.2y}7(m(e.2A)){5 e.2A+1D.2i()}5 f};D.3a=9(e){e=D.V(e);7(m(e.2v)){5 e.2v}7(m(e.2g)){5 e.2g+1D.2w()}5 f};D.1j=9(e){e=D.V(e);7(A(e.1B)=="9"){e.1B()}7(m(e.1j)){e.1j=H}};D.1B=D.1j;D.1C=9(e){e=D.V(e);7(A(e.1C)=="9"){e.1C()}7(m(e.2m)){e.2m=G}};5 D})();k 1D=(9(){k B={};B.1U=9(){7(h.v){5 h.v}7(h.2k){k 1i=h.2k("36");7(1i!=f&&1i.w>0){5 1i[0]}}5 f};B.2w=9(){7(h.C&&m(h.C.1a)&&h.C.1a>0){5 h.C.1a}7(h.v&&m(h.v.1a)){5 h.v.1a}5 f};B.2i=9(){7(h.C&&m(h.C.15)&&h.C.15>0){5 h.C.15}7(h.v&&m(h.v.15)){5 h.v.15}5 f};B.Y=9(n){5(!m(n)||1m(n))?0:n};B.3j=9(){k T=0;k v=B.1U();7(h.C&&(!h.J||h.J=="1s")){k 2o=1h(18.19(v,\'37\'),10)||0;k 2n=1h(18.19(v,\'39\'),10)||0;T=1w.1u(v.1L+2n+2o,h.C.1r)}x{T=1w.1u(v.1r,v.3i)}7(1m(T)||T==0){T=B.Y(N.2q)}5 T};B.3n=9(){k v=B.1U();k U=(m(N.U)&&!1m(N.U))?N.U:0;7(h.C&&(!h.J||h.J=="1s")){k 2s=1h(18.19(v,\'3p\'),10)||0;k 2r=1h(18.19(v,\'3o\'),10)||0;5 1w.1u(v.1I+2s+2r,h.C.1o,h.C.2p,B.Y(N.U))}5 1w.1u(v.2p,v.1o,B.Y(N.U))};B.3l=9(){7(h.C&&(!h.J||h.J=="1s")){5 h.C.1r}x 7(h.J&&h.v){5 h.v.1r}5 B.Y(N.2q)};B.32=9(){7(!Z.2h&&h.C&&(!h.J||h.J=="1s")){5 h.C.1o}x 7(h.J&&!Z.2h&&h.v){5 h.v.1o}5 B.Y(N.U)};5 B})();k 2H=(9(){k t={};t.1G=9(a,b){7(a==b){5 0}7(a<b){5-1}5 1};t.2G=t.1G;t.1v=9(p){7(A(p)!="2u"){7(A(p)=="W"){p=2D(p.1N(/,/g,\'\'));7(1m(p)||p==f){p=0}}x{p=0}}5 p};t.1T=9(a,b){5 t.1v(a)-t.1v(b)};t.1H=9(p){7(p==f){p=""}5(""+p).2t()};t.2E=9(a,b){5 t.1G(t.1H(a),t.1H(b))};t.1S=9(p){7(A(p)=="W"){p=p.1N(/^[^\\d\\.]/,\'\')}5 t.1v(p)};t.2L=9(a,b){5 t.1T(t.1S(a),t.1S(b))};t.1Q=9(p){9 2l(11){9 1R(P){P=+P;7(P<2W){P+=2Y}x 7(P<1q){P+=2Z}5 P};k K;7(K=11.1n(/(\\d{2,4})-(\\d{1,2})-(\\d{1,2})/)){5(1R(K[1])*2j)+(K[2]*1q)+(+K[3])}7(K=11.1n(/(\\d{1,2})[\\/-](\\d{1,2})[\\/-](\\d{2,4})/)){5(1R(K[3])*2j)+(K[1]*1q)+(+K[2])}5 2R};5 2l(p)};t.2Q=9(a,b){5 t.1T(t.1Q(a),t.1Q(b))};5 t})();',62,212,'|||||return||if||function||||||null||document|||var||defined|||val|obj|css||sort|className|body|length|else|results|property|typeof|screen|documentElement|ev|id|style|false|true|for|compatMode|ret|dom|value|self|tagNames|yr|hex|func|arguments|width|innerHeight|resolve|string|object|zero|window||str|rgb|values|re|scrollLeft||parentNode|CSS|get|scrollTop|opacity|nodeName|rgbString|result|camelProperty|while|parseInt|bodies|cancelBubble|getStyle|test|isNaN|match|clientHeight|isArray|100|clientWidth|CSS1Compat|new|max|NumericConversion|Math|in|type|fn|getElementById|stopPropagation|preventDefault|Screen|hyphen2camel|charAt|AlphaNumeric|IgnoreCaseConversion|offsetHeight|RegExp|hasClass|offsetWidth|toUpperCase|replace|isObject|currentStyle|DateConversion|fixYear|CurrencyConversion|Numeric|getBody|removeChild|contains|uniqueIdNumber|constructor|this|map|Array|_|setStyle|digits|addClass|newClassName|rgb2hex|getComputedStyle|float|removeClass|event|filter|styleFloat|cssFloat|all|clientY|opera|getScrollLeft|10000|getElementsByTagName|getdate|returnValue|leftMargin|rightMargin|scrollHeight|innerWidth|bottomMargin|topMargin|toLowerCase|number|pageY|getScrollTop|capture|pageX|attachEvent|clientX|addEventListener|0123456789abcdef|parseFloat|IgnoreCase|06|Default|Sort|indexOf|0xf|Util|Currency|VERSION|undefined|setDefaultValues|Function|Date|99999999|DOM|getParentByTagName|removeNode|getOuterWidth|50|prototype|2000|1900|getOuterHeight|Object|getViewportHeight|moz|khtml|alpha|BODY|marginRight|getPropertyValue|marginLeft|getMouseY|set|ID_|add|on|createId|getMouseX|1000|scrollWidth|getDocumentWidth|replaceClass|getViewportWidth|Event|getDocumentHeight|marginBottom|marginTop'.split('|'),0,{}));(function(h){h.fn.addOption=function(){var j=function(a,f,c,g){var d=document.createElement("option");d.value=f,d.text=c;var b=a.options;var e=b.length;if(!a.cache){a.cache={};for(var i=0;i<e;i++){a.cache[b[i].value]=i}}if(typeof a.cache[f]=="undefined")a.cache[f]=e;a.options[a.cache[f]]=d;if(g){d.selected=true}};var k=arguments;if(k.length==0)return this;var l=true;var m=false;var n,o,p;if(typeof(k[0])=="object"){m=true;n=k[0]}if(k.length>=2){if(typeof(k[1])=="boolean")l=k[1];else if(typeof(k[2])=="boolean")l=k[2];if(!m){o=k[0];p=k[1]}}this.each(function(){if(this.nodeName.toLowerCase()!="select")return;if(m){for(var a in n){j(this,a,n[a],l)}}else{j(this,o,p,l)}});return this};h.fn.ajaxAddOption=function(c,g,d,b,e){if(typeof(c)!="string")return this;if(typeof(g)!="object")g={};if(typeof(d)!="boolean")d=true;this.each(function(){var f=this;h.getJSON(c,g,function(a){h(f).addOption(a,d);if(typeof b=="function"){if(typeof e=="object"){b.apply(f,e)}else{b.call(f)}}})});return this};h.fn.removeOption=function(){var d=arguments;if(d.length==0)return this;var b=typeof(d[0]);var e,i;if(b=="string"||b=="object"||b=="function"){e=d[0];if(e.constructor==Array){var j=e.length;for(var k=0;k<j;k++){this.removeOption(e[k],d[1])}return this}}else if(b=="number")i=d[0];else return this;this.each(function(){if(this.nodeName.toLowerCase()!="select")return;if(this.cache)this.cache=null;var a=false;var f=this.options;if(!!e){var c=f.length;for(var g=c-1;g>=0;g--){if(e.constructor==RegExp){if(f[g].value.match(e)){a=true}}else if(f[g].value==e){a=true}if(a&&d[1]===true)a=f[g].selected;if(a){f[g]=null}a=false}}else{if(d[1]===true){a=f[i].selected}else{a=true}if(a){this.remove(i)}}});return this};h.fn.sortOptions=function(e){var i=h(this).selectedValues();var j=typeof(e)=="undefined"?true:!!e;this.each(function(){if(this.nodeName.toLowerCase()!="select")return;var c=this.options;var g=c.length;var d=[];for(var b=0;b<g;b++){d[b]={v:c[b].value,t:c[b].text}}d.sort(function(a,f){o1t=a.t.toLowerCase(),o2t=f.t.toLowerCase();if(o1t==o2t)return 0;if(j){return o1t<o2t?-1:1}else{return o1t>o2t?-1:1}});for(var b=0;b<g;b++){c[b].text=d[b].t;c[b].value=d[b].v}}).selectOptions(i,true);return this};h.fn.selectOptions=function(g,d){var b=g;var e=typeof(g);if(e=="object"&&b.constructor==Array){var i=this;h.each(b,function(){i.selectOptions(this,d)})};var j=d||false;if(e!="string"&&e!="function"&&e!="object")return this;this.each(function(){if(this.nodeName.toLowerCase()!="select")return this;var a=this.options;var f=a.length;for(var c=0;c<f;c++){if(b.constructor==RegExp){if(a[c].value.match(b)){a[c].selected=true}else if(j){a[c].selected=false}}else{if(a[c].value==b){a[c].selected=true}else if(j){a[c].selected=false}}}});return this};h.fn.copyOptions=function(g,d){var b=d||"selected";if(h(g).size()==0)return this;this.each(function(){if(this.nodeName.toLowerCase()!="select")return this;var a=this.options;var f=a.length;for(var c=0;c<f;c++){if(b=="all"||(b=="selected"&&a[c].selected)){h(g).addOption(a[c].value,a[c].text)}}});return this};h.fn.containsOption=function(g,d){var b=false;var e=g;var i=typeof(e);var j=typeof(d);if(i!="string"&&i!="function"&&i!="object")return j=="function"?this:b;this.each(function(){if(this.nodeName.toLowerCase()!="select")return this;if(b&&j!="function")return false;var a=this.options;var f=a.length;for(var c=0;c<f;c++){if(e.constructor==RegExp){if(a[c].value.match(e)){b=true;if(j=="function")d.call(a[c],c)}}else{if(a[c].value==e){b=true;if(j=="function")d.call(a[c],c)}}}});return j=="function"?this:b};h.fn.selectedValues=function(){var a=[];this.selectedOptions().each(function(){a[a.length]=this.value});return a};h.fn.selectedTexts=function(){var a=[];this.selectedOptions().each(function(){a[a.length]=this.text});return a};h.fn.selectedOptions=function(){return this.find("option:selected")}})(jQuery);jQuery.cookie=function(name,value,options){if(typeof value!="undefined"){options=options||{};if(value===null){value="";options.expires=-1}var expires="";if(options.expires&&(typeof options.expires=="number"||options.expires.toUTCString)){var date;if(typeof options.expires=="number"){date=new Date;date.setTime(date.getTime()+options.expires*24*60*60*1e3)}else date=options.expires;expires="; expires="+date.toUTCString()}var path=options.path?"; path="+options.path:"",domain=options.domain?"; domain="+options.domain:"",secure=options.secure?"; secure":"";document.cookie=[name,"=",encodeURIComponent(value),expires,path,domain,secure].join("")}else{var cookieValue=null;if(document.cookie&&document.cookie!="")for(var cookies=document.cookie.split(";"),i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==name+"="){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break}}return cookieValue}}
jQuery(function($){$.datepicker.regional['de']={closeText:'schließen',prevText:'zurück',nextText:'Vor',currentText:'heute',monthNames:['Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],monthNamesShort:['Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],dayNames:['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],dayNamesShort:['So','Mo','Di','Mi','Do','Fr','Sa'],dayNamesMin:['So','Mo','Di','Mi','Do','Fr','Sa'],weekHeader:'Wo',dateFormat:'dd.mm.yy',firstDay:1,isRTL:false,showMonthAfterYear:false,yearSuffix:''};});jQuery(function($){$.datepicker.regional['da']={closeText:'Luk',prevText:'Forrige',nextText:'Næste',currentText:'Idag',monthNames:['Januar','Februar','Marts','April','Maj','Juni','Juli','August','September','Oktober','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Aug','Sep','Okt','Nov','Dec'],dayNames:['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],dayNamesShort:['Søn','Man','Tir','Ons','Tor','Fre','Lør'],dayNamesMin:['Sø','Ma','Ti','On','To','Fr','Lø'],weekHeader:'Uge',dateFormat:'dd-mm-yy',firstDay:1,isRTL:false,showMonthAfterYear:false,yearSuffix:''};});jQuery(function($){$.datepicker.regional['pl']={closeText:'Zamknij',prevText:'Poprzedni',nextText:'Następny',currentText:'Dziś',monthNames:['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec','Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],monthNamesShort:['Sty','Lu','Mar','Kw','Maj','Cze','Lip','Sie','Wrz','Pa','Lis','Gru'],dayNames:['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'],dayNamesShort:['Nie','Pn','Wt','Śr','Czw','Pt','So'],dayNamesMin:['N','Pn','Wt','Śr','Cz','Pt','So'],weekHeader:'Tydz',dateFormat:'yy-mm-dd',firstDay:1,isRTL:false,showMonthAfterYear:false,yearSuffix:''};});jQuery(function($){$.datepicker.regional['nl']={closeText:'Sluiten',prevText:'←',nextText:'→',currentText:'Vandaag',monthNames:['januari','februari','maart','april','mei','juni','juli','augustus','september','oktober','november','december'],monthNamesShort:['jan','feb','maa','apr','mei','jun','jul','aug','sep','okt','nov','dec'],dayNames:['zondag','maandag','dinsdag','woensdag','donderdag','vrijdag','zaterdag'],dayNamesShort:['zon','maa','din','woe','don','vri','zat'],dayNamesMin:['zo','ma','di','wo','do','vr','za'],weekHeader:'Wk',dateFormat:'dd/mm/yy',firstDay:1,isRTL:false,showMonthAfterYear:false,yearSuffix:''};});